Create Interactive Tour

Windows Analysis Report
nc64.exe

Overview

General Information

Sample Name:nc64.exe
Analysis ID:796100
MD5:523613a7b9dfa398cbd5ebd2dd0f4f38
SHA1:3e92f697d642d68bb766cc93e3130b36b2da2bab
SHA256:3e59379f585ebf0becb6b4e06d0fbbf806de28a4bb256e837b4555f1b4245571
Infos:

Detection

Netcat
Score:52
Range:0 - 100
Whitelisted:false
Confidence:100%

Signatures

Multi AV Scanner detection for submitted file
Yara detected Netcat
Found large amount of non-executed APIs
Program does not show much activity (idle)
Contains functionality to open a port and listen for incoming connection (possibly a backdoor)
Detected potential crypto function
Found potential string decryption / allocating functions

Classification

RansomwareSpreadingPhishingBankerTrojan / BotAdwareSpywareExploiterEvaderMinercleansuspiciousmalicious
  • System is w7x64
  • nc64.exe (PID: 1144 cmdline: C:\Users\user\Desktop\nc64.exe MD5: 523613A7B9DFA398CBD5EBD2DD0F4F38)
  • cleanup
No configs have been found
SourceRuleDescriptionAuthorStrings
nc64.exeJoeSecurity_NetcatYara detected NetcatJoe Security
    SourceRuleDescriptionAuthorStrings
    00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpJoeSecurity_NetcatYara detected NetcatJoe Security
      00000001.00000000.943077974.0000000000409000.00000002.00000001.01000000.00000003.sdmpJoeSecurity_NetcatYara detected NetcatJoe Security
        Process Memory Space: nc64.exe PID: 1144JoeSecurity_NetcatYara detected NetcatJoe Security
          No Sigma rule has matched
          No Snort rule has matched

          Click to jump to signature section

          Show All Signature Results

          AV Detection

          barindex
          Source: nc64.exeReversingLabs: Detection: 31%
          Source: nc64.exeVirustotal: Detection: 35%Perma Link
          Source: nc64.exeStatic PE information: certificate valid

          Spreading

          barindex
          Source: Yara matchFile source: nc64.exe, type: SAMPLE
          Source: Yara matchFile source: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmp, type: MEMORY
          Source: Yara matchFile source: 00000001.00000000.943077974.0000000000409000.00000002.00000001.01000000.00000003.sdmp, type: MEMORY
          Source: Yara matchFile source: Process Memory Space: nc64.exe PID: 1144, type: MEMORYSTR
          Source: C:\Users\user\Desktop\nc64.exeCode function: 1_2_0040425F _errno,listen,getsockname,inet_ntoa,htons,recvfrom,connect,accept,shutdown,closesocket,getsockname,inet_ntoa,htons,inet_ntoa,_errno,_errno,shutdown,closesocket,1_2_0040425F
          Source: nc64.exeString found in binary or memory: http://crl.globalsign.net/ObjectSign.crl0
          Source: nc64.exeString found in binary or memory: http://crl.globalsign.net/Root.crl0
          Source: nc64.exeString found in binary or memory: http://crl.globalsign.net/Timestamping1.crl0
          Source: nc64.exeString found in binary or memory: http://crl.globalsign.net/primobject.crl0N
          Source: nc64.exeString found in binary or memory: http://crl.globalsign.net/root.crl0
          Source: nc64.exeString found in binary or memory: http://eternallybored.org/misc/netcat/
          Source: nc64.exeString found in binary or memory: http://secure.globalsign.net/cacert/ObjectSign.crt09
          Source: nc64.exeString found in binary or memory: http://secure.globalsign.net/cacert/PrimObject.crt0
          Source: nc64.exeString found in binary or memory: http://www.globalsign.net/repository/0
          Source: nc64.exeString found in binary or memory: http://www.globalsign.net/repository/03
          Source: nc64.exeString found in binary or memory: http://www.globalsign.net/repository09
          Source: C:\Users\user\Desktop\nc64.exeCode function: 1_2_004011B01_2_004011B0
          Source: C:\Users\user\Desktop\nc64.exeCode function: String function: 004034EB appears 186 times
          Source: C:\Users\user\Desktop\nc64.exeCode function: String function: 004035DB appears 145 times
          Source: nc64.exeReversingLabs: Detection: 31%
          Source: nc64.exeVirustotal: Detection: 35%
          Source: nc64.exeStatic PE information: Section: .text IMAGE_SCN_CNT_CODE, IMAGE_SCN_ALIGN_1BYTES, IMAGE_SCN_ALIGN_4BYTES, IMAGE_SCN_ALIGN_8BYTES, IMAGE_SCN_ALIGN_16BYTES, IMAGE_SCN_ALIGN_32BYTES, IMAGE_SCN_ALIGN_64BYTES, IMAGE_SCN_ALIGN_256BYTES, IMAGE_SCN_ALIGN_1024BYTES, IMAGE_SCN_ALIGN_2048BYTES, IMAGE_SCN_ALIGN_4096BYTES, IMAGE_SCN_ALIGN_8192BYTES, IMAGE_SCN_ALIGN_MASK, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ
          Source: C:\Users\user\Desktop\nc64.exeKey opened: HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Safer\CodeIdentifiersJump to behavior
          Source: classification engineClassification label: mal52.spre.winEXE@1/0@0/0
          Source: nc64.exeStatic PE information: certificate valid
          Source: C:\Users\user\Desktop\nc64.exeAPI coverage: 6.2 %
          Source: all processesThread injection, dropped files, key value created, disk infection and DNS query: no activity detected
          Source: all processesThread injection, dropped files, key value created, disk infection and DNS query: no activity detected
          Source: C:\Users\user\Desktop\nc64.exeCode function: 1_2_004011B0 Sleep,Sleep,SetUnhandledExceptionFilter,GetModuleHandleA,GetModuleHandleA,GetProcAddress,_acmdln,__initenv,GetStartupInfoA,GetModuleHandleA,GetModuleHandleA,LoadLibraryA,GetModuleHandleA,1_2_004011B0
          Source: C:\Users\user\Desktop\nc64.exeCode function: 1_2_00406C60 RtlCaptureContext,SetUnhandledExceptionFilter,UnhandledExceptionFilter,GetCurrentProcess,TerminateProcess,1_2_00406C60
          Source: C:\Users\user\Desktop\nc64.exeCode function: 1_2_00406B60 GetSystemTimeAsFileTime,GetCurrentProcessId,GetCurrentThreadId,GetTickCount,QueryPerformanceCounter,1_2_00406B60
          Source: C:\Users\user\Desktop\nc64.exeCode function: 1_2_0040425F _errno,listen,getsockname,inet_ntoa,htons,recvfrom,connect,accept,shutdown,closesocket,getsockname,inet_ntoa,htons,inet_ntoa,_errno,_errno,shutdown,closesocket,1_2_0040425F
          Source: C:\Users\user\Desktop\nc64.exeCode function: 1_2_00403EC7 _errno,WSASetLastError,socket,socket,_dup,setsockopt,htons,bind,_errno,inet_ntoa,_sleep,_errno,inet_ntoa,htons,connect,WSASetLastError,_errno,WSAGetLastError,shutdown,closesocket,_errno,WSASetLastError,1_2_00403EC7
          Initial AccessExecutionPersistencePrivilege EscalationDefense EvasionCredential AccessDiscoveryLateral MovementCollectionExfiltrationCommand and ControlNetwork EffectsRemote Service EffectsImpact
          Valid AccountsWindows Management InstrumentationPath InterceptionPath Interception1
          Deobfuscate/Decode Files or Information
          OS Credential Dumping1
          System Time Discovery
          Remote Services1
          Archive Collected Data
          Exfiltration Over Other Network Medium1
          Encrypted Channel
          Eavesdrop on Insecure Network CommunicationRemotely Track Device Without AuthorizationModify System Partition
          Default AccountsScheduled Task/JobBoot or Logon Initialization ScriptsBoot or Logon Initialization Scripts1
          Obfuscated Files or Information
          LSASS Memory2
          System Information Discovery
          Remote Desktop ProtocolData from Removable MediaExfiltration Over Bluetooth1
          Ingress Tool Transfer
          Exploit SS7 to Redirect Phone Calls/SMSRemotely Wipe Data Without AuthorizationDevice Lockout
          Hide Legend

          Legend:

          • Process
          • Signature
          • Created File
          • DNS/IP Info
          • Is Dropped
          • Is Windows Process
          • Number of created Registry Values
          • Number of created Files
          • Visual Basic
          • Delphi
          • Java
          • .Net C# or VB.NET
          • C, C++ or other language
          • Is malicious
          • Internet
          behaviorgraph top1 signatures2 2 Behavior Graph ID: 796100 Sample: nc64.exe Startdate: 01/02/2023 Architecture: WINDOWS Score: 52 7 Multi AV Scanner detection for submitted file 2->7 9 Yara detected Netcat 2->9 5 nc64.exe 2->5         started        process3

          This section contains all screenshots as thumbnails, including those not shown in the slideshow.


          windows-stand
          SourceDetectionScannerLabelLink
          nc64.exe32%ReversingLabsWin64.Hacktool.NetCat
          nc64.exe36%VirustotalBrowse
          No Antivirus matches
          No Antivirus matches
          No Antivirus matches
          SourceDetectionScannerLabelLink
          http://secure.globalsign.net/cacert/PrimObject.crt00%URL Reputationsafe
          http://secure.globalsign.net/cacert/ObjectSign.crt090%URL Reputationsafe
          http://www.globalsign.net/repository090%URL Reputationsafe
          http://www.globalsign.net/repository/00%URL Reputationsafe
          http://www.globalsign.net/repository/030%URL Reputationsafe
          No contacted domains info
          NameSourceMaliciousAntivirus DetectionReputation
          http://secure.globalsign.net/cacert/PrimObject.crt0nc64.exefalse
          • URL Reputation: safe
          unknown
          http://secure.globalsign.net/cacert/ObjectSign.crt09nc64.exefalse
          • URL Reputation: safe
          unknown
          http://www.globalsign.net/repository09nc64.exefalse
          • URL Reputation: safe
          unknown
          http://eternallybored.org/misc/netcat/nc64.exefalse
            high
            http://www.globalsign.net/repository/0nc64.exefalse
            • URL Reputation: safe
            unknown
            http://www.globalsign.net/repository/03nc64.exefalse
            • URL Reputation: safe
            unknown
            No contacted IP infos
            Joe Sandbox Version:36.0.0 Rainbow Opal
            Analysis ID:796100
            Start date and time:2023-02-01 16:35:34 +01:00
            Joe Sandbox Product:CloudBasic
            Overall analysis duration:0h 6m 11s
            Hypervisor based Inspection enabled:false
            Report type:full
            Cookbook file name:default.jbs
            Analysis system description:Windows 7 x64 SP1 with Office 2010 SP1 (IE 11, FF52, Chrome 57, Adobe Reader DC 15, Flash 25.0.0.127, Java 8 Update 121, .NET 4.6.2)
            Number of analysed new started processes analysed:4
            Number of new started drivers analysed:0
            Number of existing processes analysed:0
            Number of existing drivers analysed:0
            Number of injected processes analysed:0
            Technologies:
            • HCA enabled
            • EGA enabled
            • HDC enabled
            • AMSI enabled
            Analysis Mode:default
            Analysis stop reason:Timeout
            Sample file name:nc64.exe
            Detection:MAL
            Classification:mal52.spre.winEXE@1/0@0/0
            EGA Information:
            • Successful, ratio: 100%
            HDC Information:
            • Successful, ratio: 95.4% (good quality ratio 64.8%)
            • Quality average: 42.1%
            • Quality standard deviation: 41.3%
            HCA Information:
            • Successful, ratio: 100%
            • Number of executed functions: 3
            • Number of non-executed functions: 29
            Cookbook Comments:
            • Found application associated with file extension: .exe
            • Exclude process from analysis (whitelisted): dllhost.exe, conhost.exe, svchost.exe
            • Excluded IPs from analysis (whitelisted): 93.184.221.240, 209.197.3.8
            • Excluded domains from analysis (whitelisted): wu.ec.azureedge.net, bg.apr-52dd2-0503.edgecastdns.net, cs11.wpc.v0cdn.net, hlb.apr-52dd2-0.edgecastdns.net, ctldl.windowsupdate.com, cds.d2s7q6s2.hwcdn.net, wu-bg-shim.trafficmanager.net, wu.azureedge.net
            • Not all processes where analyzed, report is missing behavior information
            No simulations
            No context
            No context
            No context
            No context
            No context
            No created / dropped files found
            File type:PE32+ executable (console) x86-64 (stripped to external PDB), for MS Windows
            Entropy (8bit):6.15395147872826
            TrID:
            • Win64 Executable (generic) (12005/4) 74.80%
            • Generic Win/DOS Executable (2004/3) 12.49%
            • DOS Executable Generic (2002/1) 12.47%
            • VXD Driver (31/22) 0.19%
            • Autodesk FLIC Image File (extensions: flc, fli, cel) (7/3) 0.04%
            File name:nc64.exe
            File size:45272
            MD5:523613a7b9dfa398cbd5ebd2dd0f4f38
            SHA1:3e92f697d642d68bb766cc93e3130b36b2da2bab
            SHA256:3e59379f585ebf0becb6b4e06d0fbbf806de28a4bb256e837b4555f1b4245571
            SHA512:2ca42e21ebc26233c3822851d9fc82f950186820e10d3601c92b648415eb720f0e1a3a6d9d296497a3393a939a9424c47b1e5eaedfd864f96e3ab8986f6b35b5
            SSDEEP:768:gaGHu/aKUAvRCXA/e6PfVVCJrxg/KKjMozd6jSemG0nf2Fcc5C+qLaVp:CuSzAvRCxmNVCgi+IjNmDO15C+qLaVp
            TLSH:52134B7BF21684FED117C6BCA6D65871A4F4BC500A71606E63E68A373F39EB05BB8101
            File Content Preview:MZ......................@...............................................!..L.!This program cannot be run in DOS mode....$.......PE..d.....sN........../......f...,................@.....................................9......... ............................
            Icon Hash:aab2e3e39383aa00
            Entrypoint:0x401710
            Entrypoint Section:.text
            Digitally signed:true
            Imagebase:0x400000
            Subsystem:windows cui
            Image File Characteristics:RELOCS_STRIPPED, EXECUTABLE_IMAGE, LINE_NUMS_STRIPPED, LOCAL_SYMS_STRIPPED, LARGE_ADDRESS_AWARE, DEBUG_STRIPPED
            DLL Characteristics:
            Time Stamp:0x4E73D1B2 [Fri Sep 16 22:46:10 2011 UTC]
            TLS Callbacks:
            CLR (.Net) Version:
            OS Version Major:4
            OS Version Minor:0
            File Version Major:4
            File Version Minor:0
            Subsystem Version Major:4
            Subsystem Version Minor:0
            Import Hash:567531f08180ab3963b70889578118a3
            Signature Valid:true
            Signature Issuer:CN=GlobalSign ObjectSign CA, OU=ObjectSign CA, O=GlobalSign nv-sa, C=BE
            Signature Validation Error:The operation completed successfully
            Error Number:0
            Not Before, Not After
            • 6/10/2011 7:37:33 AM 6/10/2012 6:56:30 AM
            Subject Chain
            • CN=Jernej Simoncic, C=SI
            Version:3
            Thumbprint MD5:3325943A6BCF2EB101C1CD5474EC7CB1
            Thumbprint SHA-1:ABAC542F13EE0FC3C70B1920FBAA7B3B592915AD
            Thumbprint SHA-256:D135329B2B4E5543CB847E6F0BD7168F137C47EDAD0AC09D0066D79824757F15
            Serial:010000000001307A27872D
            Instruction
            dec eax
            sub esp, 28h
            mov dword ptr [00009A22h], 00000000h
            call 00007F684CB95952h
            dec eax
            add esp, 28h
            jmp 00007F684CB8FF99h
            nop
            nop
            nop
            nop
            push ebp
            dec eax
            mov ebp, esp
            dec eax
            mov dword ptr [ebp+10h], ecx
            mov dword ptr [ebp+18h], edx
            jmp 00007F684CB9052Ch
            dec eax
            mov eax, dword ptr [ebp+10h]
            movzx eax, byte ptr [eax]
            movsx eax, al
            cmp eax, dword ptr [ebp+18h]
            jne 00007F684CB90518h
            dec eax
            mov eax, dword ptr [ebp+10h]
            jmp 00007F684CB90527h
            dec eax
            add dword ptr [ebp+10h], 01h
            dec eax
            mov eax, dword ptr [ebp+10h]
            movzx eax, byte ptr [eax]
            test al, al
            jne 00007F684CB904EDh
            mov eax, 00000000h
            leave
            ret
            push ebp
            dec eax
            mov ebp, esp
            push esi
            push ebx
            dec eax
            sub esp, 20h
            dec eax
            mov dword ptr [ebp+10h], ecx
            mov eax, dword ptr [000098EBh]
            mov dword ptr [ebp-14h], eax
            mov eax, dword ptr [000098E6h]
            mov dword ptr [ebp-1Ch], eax
            mov eax, dword ptr [000098B9h]
            mov dword ptr [ebp-18h], eax
            jmp 00007F684CB90637h
            mov eax, dword ptr [ebp-1Ch]
            mov edx, dword ptr [ebp-18h]
            mov ecx, edx
            sub ecx, eax
            mov eax, dword ptr [ebp-14h]
            mov edx, dword ptr [ebp-1Ch]
            mov ebx, edx
            sub ebx, eax
            mov eax, ebx
            cmp ecx, eax
            jng 00007F684CB905A5h
            mov eax, dword ptr [ebp-14h]
            mov edx, dword ptr [ebp-1Ch]
            mov esi, edx
            sub esi, eax
            mov eax, esi
            mov dword ptr [ebp-20h], eax
            mov ebx, 00000000h
            jmp 00007F684CB9057Eh
            mov eax, ebx
            add eax, dword ptr [ebp-14h]
            dec eax
            cwde
            dec eax
            shl eax, 03h
            dec eax
            NameVirtual AddressVirtual Size Is in Section
            IMAGE_DIRECTORY_ENTRY_EXPORT0x00x0
            IMAGE_DIRECTORY_ENTRY_IMPORT0xc0000x1130.idata
            IMAGE_DIRECTORY_ENTRY_RESOURCE0x00x0
            IMAGE_DIRECTORY_ENTRY_EXCEPTION0x00x0
            IMAGE_DIRECTORY_ENTRY_SECURITY0x96000x1ad8
            IMAGE_DIRECTORY_ENTRY_BASERELOC0x00x0
            IMAGE_DIRECTORY_ENTRY_DEBUG0x00x0
            IMAGE_DIRECTORY_ENTRY_COPYRIGHT0x00x0
            IMAGE_DIRECTORY_ENTRY_GLOBALPTR0x00x0
            IMAGE_DIRECTORY_ENTRY_TLS0x00x0
            IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG0x00x0
            IMAGE_DIRECTORY_ENTRY_BOUND_IMPORT0x00x0
            IMAGE_DIRECTORY_ENTRY_IAT0xc4640x400.idata
            IMAGE_DIRECTORY_ENTRY_DELAY_IMPORT0x00x0
            IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR0x00x0
            IMAGE_DIRECTORY_ENTRY_RESERVED0x00x0
            NameVirtual AddressVirtual SizeRaw SizeXored PEZLIB ComplexityFile TypeEntropyCharacteristics
            .text0x10000x66000x6600False0.5197610294117647data5.901700911521572IMAGE_SCN_CNT_CODE, IMAGE_SCN_ALIGN_1BYTES, IMAGE_SCN_ALIGN_4BYTES, IMAGE_SCN_ALIGN_8BYTES, IMAGE_SCN_ALIGN_16BYTES, IMAGE_SCN_ALIGN_32BYTES, IMAGE_SCN_ALIGN_64BYTES, IMAGE_SCN_ALIGN_256BYTES, IMAGE_SCN_ALIGN_1024BYTES, IMAGE_SCN_ALIGN_2048BYTES, IMAGE_SCN_ALIGN_4096BYTES, IMAGE_SCN_ALIGN_8192BYTES, IMAGE_SCN_ALIGN_MASK, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ
            .data0x80000xf00x200False0.25Matlab v4 mat-file (little endian) (UNKNOWN), text, rows 63, columns 01.6180650973966408IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_ALIGN_1BYTES, IMAGE_SCN_ALIGN_4BYTES, IMAGE_SCN_ALIGN_8BYTES, IMAGE_SCN_ALIGN_16BYTES, IMAGE_SCN_ALIGN_32BYTES, IMAGE_SCN_ALIGN_64BYTES, IMAGE_SCN_ALIGN_256BYTES, IMAGE_SCN_ALIGN_1024BYTES, IMAGE_SCN_ALIGN_2048BYTES, IMAGE_SCN_ALIGN_4096BYTES, IMAGE_SCN_ALIGN_8192BYTES, IMAGE_SCN_ALIGN_MASK, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE
            .rdata0x90000x12100x1400False0.4279296875data5.0077462845443765IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_ALIGN_1BYTES, IMAGE_SCN_ALIGN_4BYTES, IMAGE_SCN_ALIGN_8BYTES, IMAGE_SCN_ALIGN_16BYTES, IMAGE_SCN_ALIGN_32BYTES, IMAGE_SCN_ALIGN_64BYTES, IMAGE_SCN_ALIGN_256BYTES, IMAGE_SCN_ALIGN_1024BYTES, IMAGE_SCN_ALIGN_2048BYTES, IMAGE_SCN_ALIGN_4096BYTES, IMAGE_SCN_ALIGN_8192BYTES, IMAGE_SCN_ALIGN_MASK, IMAGE_SCN_MEM_READ
            .bss0xb0000xc000x0False0empty0.0IMAGE_SCN_CNT_UNINITIALIZED_DATA, IMAGE_SCN_ALIGN_2BYTES, IMAGE_SCN_ALIGN_4BYTES, IMAGE_SCN_ALIGN_8BYTES, IMAGE_SCN_ALIGN_16BYTES, IMAGE_SCN_ALIGN_32BYTES, IMAGE_SCN_ALIGN_64BYTES, IMAGE_SCN_ALIGN_512BYTES, IMAGE_SCN_ALIGN_1024BYTES, IMAGE_SCN_ALIGN_2048BYTES, IMAGE_SCN_ALIGN_4096BYTES, IMAGE_SCN_ALIGN_8192BYTES, IMAGE_SCN_ALIGN_MASK, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE
            .idata0xc0000x11300x1200False0.3092447916666667data3.9140315483096777IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_ALIGN_1BYTES, IMAGE_SCN_ALIGN_2BYTES, IMAGE_SCN_ALIGN_4BYTES, IMAGE_SCN_ALIGN_16BYTES, IMAGE_SCN_ALIGN_32BYTES, IMAGE_SCN_ALIGN_64BYTES, IMAGE_SCN_ALIGN_256BYTES, IMAGE_SCN_ALIGN_512BYTES, IMAGE_SCN_ALIGN_1024BYTES, IMAGE_SCN_ALIGN_4096BYTES, IMAGE_SCN_ALIGN_8192BYTES, IMAGE_SCN_ALIGN_MASK, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE
            .CRT0xe0000x680x200False0.0703125data0.2592004782599745IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_ALIGN_8BYTES, IMAGE_SCN_ALIGN_16BYTES, IMAGE_SCN_ALIGN_32BYTES, IMAGE_SCN_ALIGN_64BYTES, IMAGE_SCN_ALIGN_2048BYTES, IMAGE_SCN_ALIGN_4096BYTES, IMAGE_SCN_ALIGN_8192BYTES, IMAGE_SCN_ALIGN_MASK, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE
            .tls0xf0000x480x200False0.052734375data0.21776995545804623IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_ALIGN_2BYTES, IMAGE_SCN_ALIGN_4BYTES, IMAGE_SCN_ALIGN_8BYTES, IMAGE_SCN_ALIGN_16BYTES, IMAGE_SCN_ALIGN_32BYTES, IMAGE_SCN_ALIGN_64BYTES, IMAGE_SCN_ALIGN_512BYTES, IMAGE_SCN_ALIGN_1024BYTES, IMAGE_SCN_ALIGN_2048BYTES, IMAGE_SCN_ALIGN_4096BYTES, IMAGE_SCN_ALIGN_8192BYTES, IMAGE_SCN_ALIGN_MASK, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE
            DLLImport
            KERNEL32.dllCloseHandle, CreatePipe, CreateProcessA, CreateThread, DeleteCriticalSection, DisconnectNamedPipe, DuplicateHandle, EnterCriticalSection, ExitThread, FreeConsole, GetCurrentProcess, GetCurrentProcessId, GetCurrentThreadId, GetLastError, GetModuleHandleA, GetProcAddress, GetStartupInfoA, GetStdHandle, GetSystemTimeAsFileTime, GetTickCount, InitializeCriticalSection, LeaveCriticalSection, LoadLibraryA, PeekNamedPipe, QueryPerformanceCounter, ReadFile, RtlAddFunctionTable, RtlCaptureContext, RtlLookupFunctionEntry, RtlVirtualUnwind, SetUnhandledExceptionFilter, Sleep, TerminateProcess, TerminateThread, TlsGetValue, UnhandledExceptionFilter, VirtualProtect, VirtualQuery, WaitForMultipleObjects, WriteFile
            msvcrt.dll_close, _dup, _itoa, _kbhit, _open, _read, _strcmpi, _strnicmp, _write
            msvcrt.dll__dllonexit, __getmainargs, __initenv, __iob_func, __lconv_init, __set_app_type, __setusermatherr, _acmdln, _amsg_exit, _cexit, _errno, _fmode, _initterm, _isatty, _lock, _onexit, _setjmp, _setmode, _sleep, _time64, _unlock, abort, atoi, calloc, exit, fflush, fprintf, fputc, free, fwrite, getenv, gets, longjmp, malloc, memcmp, memcpy, memset, rand, signal, sprintf, srand, strcat, strchr, strcmp, strcpy, strlen, strncmp, strncpy, vfprintf
            WSOCK32.dllWSACleanup, WSAGetLastError, WSASetLastError, WSAStartup, __WSAFDIsSet, accept, bind, closesocket, connect, gethostbyaddr, gethostbyname, getservbyname, getservbyport, getsockname, htons, inet_addr, inet_ntoa, listen, ntohs, recv, recvfrom, select, send, setsockopt, shutdown, socket
            Report size exceeds maximum size, please checkout the PCAP download to see all network behavior
            050100s020406080100

            Click to jump to process

            050100s0.0012MB

            Click to jump to process

            Target ID:1
            Start time:16:36:37
            Start date:01/02/2023
            Path:C:\Users\user\Desktop\nc64.exe
            Wow64 process (32bit):false
            Commandline:C:\Users\user\Desktop\nc64.exe
            Imagebase:0x400000
            File size:45272 bytes
            MD5 hash:523613A7B9DFA398CBD5EBD2DD0F4F38
            Has elevated privileges:true
            Has administrator privileges:true
            Programmed in:C, C++ or other language
            Yara matches:
            • Rule: JoeSecurity_Netcat, Description: Yara detected Netcat, Source: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmp, Author: Joe Security
            • Rule: JoeSecurity_Netcat, Description: Yara detected Netcat, Source: 00000001.00000000.943077974.0000000000409000.00000002.00000001.01000000.00000003.sdmp, Author: Joe Security
            Reputation:low

            Execution Graph

            Execution Coverage

            Dynamic/Packed Code Coverage

            Signature Coverage

            Execution Coverage:2.7%
            Dynamic/Decrypted Code Coverage:0%
            Signature Coverage:17.8%
            Total number of Nodes:180
            Total number of Limit Nodes:5
            Show Legend
            Hide Nodes/Edges
            execution_graph 6224 406300 6227 406250 6224->6227 6226 406309 6228 406264 6227->6228 6229 4062e5 _onexit 6228->6229 6230 40626f 6228->6230 6229->6226 6230->6226 6231 407501 _onexit 6276 407589 RtlCaptureContext 6288 401710 6289 406b60 5 API calls 6288->6289 6290 401723 6289->6290 6291 406190 6292 40619f 6291->6292 6293 407030 5 API calls 6292->6293 6294 4061b3 6292->6294 6293->6294 6295 406f90 6296 406fb0 EnterCriticalSection 6295->6296 6297 406fa1 6295->6297 6298 406fe3 LeaveCriticalSection 6296->6298 6301 406fc9 6296->6301 6300 406ff0 6298->6300 6299 406fcf 6302 40700d LeaveCriticalSection 6299->6302 6301->6298 6301->6299 6302->6300 6303 402c97 6304 402cb3 6303->6304 6305 402dfa _itoa 6304->6305 6308 402e44 6304->6308 6305->6308 6306 402f51 6307 402e9f _strnicmp 6307->6308 6308->6306 6308->6307 6121 407559 RtlAddFunctionTable 6122 40c534 6121->6122 6134 406c60 RtlCaptureContext 6135 406c90 6134->6135 6136 406cd1 SetUnhandledExceptionFilter UnhandledExceptionFilter GetCurrentProcess TerminateProcess 6135->6136 6136->6135 6137 406160 6138 406168 6137->6138 6139 40616d 6138->6139 6142 407030 6138->6142 6141 406185 6143 407080 6142->6143 6144 407039 6142->6144 6145 4070a0 InitializeCriticalSection 6143->6145 6146 40708a 6143->6146 6147 407050 6144->6147 6148 40703b 6144->6148 6145->6146 6146->6141 6149 406e30 3 API calls 6147->6149 6150 407045 6148->6150 6154 406e30 6148->6154 6151 407055 6149->6151 6150->6141 6151->6150 6153 407060 DeleteCriticalSection 6151->6153 6153->6150 6155 406e70 EnterCriticalSection 6154->6155 6156 406e52 6154->6156 6157 406ec4 6155->6157 6159 406e89 6155->6159 6156->6150 6158 406ea0 TlsGetValue GetLastError 6158->6159 6159->6157 6159->6158 6160 401060 6162 40109d 6160->6162 6161 4010f9 6162->6161 6163 401110 __setusermatherr 6162->6163 6164 405fe1 GetProcAddress 6165 405563 6175 405397 6165->6175 6166 405913 _close 6166->6175 6167 40593c _open 6167->6175 6168 40425f _dup 6168->6175 6169 4026fd _itoa _itoa _itoa _itoa _itoa 6169->6175 6170 403ec7 _dup 6170->6175 6171 405418 _read 6171->6175 6172 404773 _dup 6172->6175 6173 405f43 6174 404b7c 9 API calls 6174->6175 6175->6166 6175->6167 6175->6168 6175->6169 6175->6170 6175->6171 6175->6172 6175->6173 6175->6174 5971 4011b0 5972 4014a2 GetStartupInfoA 5971->5972 5973 4011df 5971->5973 5974 4014b0 5972->5974 5976 401206 5973->5976 5978 401234 5973->5978 5979 4014d2 GetModuleHandleA 5974->5979 5975 40121a Sleep 5975->5976 5977 401232 5975->5977 5976->5975 5976->5977 5977->5978 5978->5974 5992 4065d0 5978->5992 5981 4014e4 GetModuleHandleA 5979->5981 5982 4012c7 GetProcAddress 5979->5982 5981->5982 5985 4014f6 LoadLibraryA 5981->5985 5984 4012dc 5982->5984 5990 4012e5 5982->5990 5983 401295 SetUnhandledExceptionFilter 6007 406a20 5983->6007 5984->5990 5987 40150c 5985->5987 5985->5990 5987->5982 6011 405282 5990->6011 5991 401406 5993 4065f9 5992->5993 5995 406620 5992->5995 5993->5983 5994 40665e 5994->5993 5996 40666c 5994->5996 5995->5993 5995->5994 6001 4066ce 5995->6001 6000 4066a5 5996->6000 6024 406490 5996->6024 5997 40685e 5998 406430 6 API calls 5997->5998 6004 406871 5998->6004 6000->5993 6001->5993 6001->5997 6003 406728 6001->6003 6003->6001 6005 406490 6 API calls 6003->6005 6006 406490 6 API calls 6003->6006 6043 406430 6003->6043 6004->5983 6005->6001 6006->6003 6008 406a47 6007->6008 6009 406b30 RtlAddFunctionTable 6008->6009 6010 4012ae GetModuleHandleA 6008->6010 6009->6010 6010->5979 6010->5982 6012 405298 6011->6012 6063 402f70 WSAStartup 6012->6063 6014 405913 _close 6016 4052ea 6014->6016 6015 40593c _open 6015->6016 6016->6014 6016->6015 6017 405418 _read 6016->6017 6019 404b7c 9 API calls 6016->6019 6022 4026fd _itoa _itoa _itoa _itoa _itoa 6016->6022 6023 405f43 6016->6023 6065 40425f 6016->6065 6069 403ec7 6016->6069 6073 404773 6016->6073 6017->6016 6019->6016 6022->6016 6023->5991 6025 4064d1 6024->6025 6026 406505 VirtualQuery 6024->6026 6025->5996 6027 4065b1 6026->6027 6028 40651f 6026->6028 6029 406430 3 API calls 6027->6029 6028->6025 6030 406545 VirtualProtect 6028->6030 6035 4065c5 6029->6035 6031 406586 6030->6031 6031->6025 6033 406598 VirtualProtect 6031->6033 6032 4065f9 6032->5996 6033->6025 6034 40665e 6034->6032 6038 406490 3 API calls 6034->6038 6035->6032 6035->6034 6040 4066ce 6035->6040 6036 40685e 6037 406430 3 API calls 6036->6037 6042 406871 6037->6042 6038->6034 6039 406430 3 API calls 6039->6040 6040->6032 6040->6036 6040->6039 6041 406490 VirtualQuery VirtualProtect VirtualProtect 6040->6041 6041->6040 6042->5996 6044 406457 6043->6044 6045 406505 VirtualQuery 6044->6045 6048 4064d1 6044->6048 6046 4065b1 6045->6046 6047 40651f 6045->6047 6049 406430 3 API calls 6046->6049 6047->6048 6050 406545 VirtualProtect 6047->6050 6048->6001 6055 4065c5 6049->6055 6051 406586 6050->6051 6051->6048 6053 406598 VirtualProtect 6051->6053 6052 4065f9 6052->6001 6053->6048 6054 40665e 6054->6052 6058 406490 3 API calls 6054->6058 6055->6052 6055->6054 6060 4066ce 6055->6060 6056 40685e 6057 406430 3 API calls 6056->6057 6062 406871 6057->6062 6058->6054 6059 406430 3 API calls 6059->6060 6060->6052 6060->6056 6060->6059 6061 406490 VirtualQuery VirtualProtect VirtualProtect 6060->6061 6061->6060 6062->6001 6064 402fa0 6063->6064 6064->6016 6066 40428e 6065->6066 6067 403ec7 _dup 6066->6067 6068 4042b1 6067->6068 6068->6016 6070 403eef 6069->6070 6071 403f82 6070->6071 6072 403f6f _dup 6070->6072 6071->6016 6072->6071 6074 4047a7 6073->6074 6075 403ec7 _dup 6074->6075 6076 4047d1 6074->6076 6075->6076 6076->6016 6176 4016f0 6179 406b60 6176->6179 6180 406bc4 GetSystemTimeAsFileTime GetCurrentProcessId GetCurrentThreadId GetTickCount QueryPerformanceCounter 6179->6180 6181 401703 6179->6181 6180->6181 6182 406ef0 6183 406f30 6182->6183 6184 406f12 6182->6184 6183->6184 6185 406f4c EnterCriticalSection LeaveCriticalSection 6183->6185 6185->6184 6186 407471 _isatty 6187 40c664 6186->6187 6188 405ff1 LoadLibraryA 6211 407579 GetTickCount 6212 40c4fc 6211->6212

            Callgraph

            Hide Legend
            • Executed
            • Not Executed
            • Opacity -> Relevance
            • Disassembly available
            callgraph 0 Function_00406240 1 Function_00403841 41 Function_0040371E 1->41 67 Function_004035DB 1->67 70 Function_004037E0 1->70 75 Function_004034EB 1->75 2 Function_00405743 2->1 3 Function_00403E4E 2->3 9 Function_0040425F 2->9 22 Function_00404773 2->22 25 Function_0040377B 2->25 26 Function_00404B7C 2->26 2->41 47 Function_00402422 2->47 54 Function_00403BC0 2->54 58 Function_00403EC7 2->58 61 Function_00403DCA 2->61 2->67 2->75 84 Function_004026FD 2->84 3->67 4 Function_00406250 4->0 52 Function_00406230 4->52 5 Function_00407150 6 Function_00406B50 7 Function_00406151 8 Function_00407559 9->1 9->58 9->67 9->75 83 Function_004036FC 9->83 87 Function_00407380 9->87 10 Function_00406C60 11 Function_00405F60 11->67 11->75 12 Function_00406D60 13 Function_00406160 51 Function_00407030 13->51 14 Function_00401060 14->0 44 Function_00406420 14->44 15 Function_00406B60 16 Function_00405563 16->1 16->3 16->9 16->22 16->25 16->26 16->41 16->47 16->54 16->58 16->61 16->67 16->75 16->84 17 Function_0040C564 18 Function_00401769 19 Function_00402470 74 Function_00402AE4 19->74 19->75 20 Function_00402F70 21 Function_00407471 22->58 22->75 23 Function_0040C674 24 Function_00407579 26->25 63 Function_004048CC 26->63 71 Function_004074E0 26->71 26->75 107 Function_00404ABB 26->107 27 Function_00406400 28 Function_00406300 28->4 29 Function_00406200 30 Function_00401000 31 Function_00406E00 32 Function_00407501 33 Function_00405809 33->1 33->3 33->9 33->22 33->25 33->26 33->41 33->47 33->54 33->58 33->61 33->67 33->75 33->84 34 Function_00405709 34->1 34->3 34->9 34->22 34->25 34->26 34->41 34->47 34->54 34->58 34->61 34->67 34->75 34->84 35 Function_00401010 36 Function_00401710 36->15 37 Function_00407210 38 Function_00406210 39 Function_00406410 40 Function_0040C514 41->67 42 Function_0040571F 42->1 42->3 42->9 42->22 42->25 42->26 42->41 42->47 42->54 42->58 42->61 42->67 42->75 42->84 43 Function_0040581F 43->1 43->3 43->9 43->22 43->25 43->26 43->41 43->47 43->54 43->58 43->61 43->67 43->75 43->84 45 Function_00406A20 45->5 45->37 96 Function_00407290 45->96 46 Function_00406320 102 Function_004019AA 47->102 48 Function_00401730 49 Function_00406430 49->6 49->49 95 Function_00406490 49->95 50 Function_00406E30 51->50 53 Function_0040C53C 54->54 54->75 55 Function_004073C0 56 Function_004055C3 56->1 56->3 56->9 56->22 56->25 56->26 56->41 56->47 56->54 56->58 56->61 56->67 56->75 56->84 57 Function_004063C3 58->67 58->75 58->83 58->87 59 Function_004057C7 59->1 59->3 59->9 59->22 59->25 59->26 59->41 59->47 59->54 59->58 59->61 59->67 59->75 59->84 60 Function_00402FC9 62 Function_004036CA 62->67 91 Function_00407386 62->91 63->67 64 Function_004065D0 64->6 64->49 64->95 65 Function_004063D0 66 Function_004072D0 79 Function_004070F0 66->79 67->67 67->75 68 Function_0040C4DC 69 Function_004057DD 69->1 69->3 69->9 69->22 69->25 69->26 69->41 69->47 69->54 69->58 69->61 69->67 69->75 69->84 70->75 72 Function_004063E0 73 Function_00405FE1 74->75 75->60 76 Function_004016F0 76->15 77 Function_004063F0 78 Function_00406EF0 80 Function_00405FF1 81 Function_004056F3 81->1 81->3 81->9 81->22 81->25 81->26 81->41 81->47 81->54 81->58 81->61 81->67 81->75 81->84 82 Function_004057F3 82->1 82->3 82->9 82->22 82->25 82->26 82->41 82->47 82->54 82->58 82->61 82->67 82->75 82->84 84->19 84->75 85 Function_004018FE 86 Function_004055FF 86->1 86->3 86->9 86->22 86->25 86->26 86->41 86->47 86->54 86->58 86->61 86->67 86->75 86->84 88 Function_00405781 88->1 88->3 88->9 88->22 88->25 88->26 88->41 88->47 88->54 88->58 88->61 88->67 88->75 88->84 89 Function_00405282 89->1 89->3 89->9 89->20 89->22 89->25 89->26 89->31 89->41 89->47 89->54 89->58 89->61 89->67 89->75 89->84 90 Function_00405585 90->1 90->3 90->9 90->22 90->25 90->26 90->41 90->47 90->54 90->58 90->61 90->67 90->75 90->84 92 Function_00405887 92->1 92->3 92->9 92->22 92->25 92->26 92->41 92->47 92->54 92->58 92->61 92->67 92->75 92->84 93 Function_00407589 94 Function_0040568A 94->1 94->3 94->9 94->11 94->22 94->25 94->26 94->41 94->47 94->54 94->58 94->61 94->67 94->75 94->84 95->6 95->49 95->95 97 Function_00406190 97->51 98 Function_00406F90 99 Function_00402C97 99->75 100 Function_00405797 100->1 100->3 100->9 100->22 100->25 100->26 100->41 100->47 100->54 100->58 100->61 100->67 100->75 100->84 101 Function_00405598 101->1 101->3 101->9 101->22 101->25 101->26 101->41 101->47 101->54 101->58 101->61 101->67 101->75 101->84 102->18 102->48 102->85 103 Function_004011B0 103->6 103->45 103->64 103->89 104 Function_004070B0 105 Function_004073B0 106 Function_004055B5 106->1 106->3 106->9 106->22 106->25 106->26 106->41 106->47 106->54 106->58 106->61 106->67 106->75 106->84

            Executed Functions

            Control-flow Graph

            • Executed
            • Not Executed
            control_flow_graph 223 4011b0-4011d9 224 4014a2-4014a5 GetStartupInfoA 223->224 225 4011df-4011fc 223->225 228 4014b0-4014cd call 407420 224->228 226 401234-40123d 225->226 227 4011fe-401204 225->227 230 401243-40124b 226->230 231 401464-401477 call 407418 226->231 227->226 229 401206-40120f 227->229 250 4014d2-4014de GetModuleHandleA 228->250 233 40121a-401230 Sleep 229->233 230->228 234 401251-401264 230->234 241 40126a-40126c 231->241 242 40147d 231->242 238 401211-401214 233->238 239 401232 233->239 240 401480-40149d call 407420 234->240 234->241 238->233 244 401450-40145e 238->244 239->226 240->241 245 401278-401282 241->245 246 40126e-401270 241->246 242->240 244->230 244->231 247 401290-4012c1 call 4065d0 SetUnhandledExceptionFilter call 406a20 GetModuleHandleA 245->247 248 401284-40128c 245->248 246->245 247->250 253 4012c7-4012da GetProcAddress 247->253 248->247 252 4014e4-4014f0 GetModuleHandleA 250->252 250->253 252->253 257 4014f6-401506 LoadLibraryA 252->257 255 4012e5-4012f2 call 406b50 253->255 256 4012dc 253->256 263 4012f4-401300 255->263 264 40136b-40138e call 407400 255->264 256->255 257->255 260 40150c 257->260 260->253 266 401313-401319 263->266 273 401390-401392 264->273 274 4013d1-401401 call 405282 264->274 267 401302-401309 266->267 268 40131b-401326 266->268 270 40130b-40130d 267->270 271 40133c-40133e 267->271 272 40130f 268->272 270->271 270->272 276 401330-40133a 271->276 277 401340-40135f 271->277 272->266 278 401394-4013c8 call 407408 call 407400 call 4073f8 273->278 279 401406-401414 274->279 276->271 276->277 280 401440-401445 277->280 281 401365 277->281 302 4013ca-4013cd 278->302 283 401511-401533 call 407428 279->283 284 40141a-401422 279->284 280->281 281->264 294 401570-401575 283->294 295 401535-40153a 283->295 287 401424-401429 call 407410 284->287 288 40142f-40143e 284->288 287->288 300 401641 294->300 301 40157b 294->301 298 4015b0-4015b5 295->298 299 40153c-401551 call 407430 295->299 303 401662-40166d 298->303 304 4015bb 298->304 314 401680-401696 call 407430 299->314 315 401557-40155a 299->315 308 401650-401655 300->308 306 401601-401606 301->306 307 401581-401586 301->307 302->274 304->308 309 4015c1-4015c6 304->309 306->303 311 401608-40160d 306->311 307->303 312 40158c-401591 307->312 316 401657-40165c 308->316 317 40160f-40161f call 407430 308->317 309->303 313 4015cc-4015d1 309->313 311->317 318 401593-40159d 311->318 312->299 312->318 313->318 322 4015d3-4015e3 call 407430 313->322 328 401568-40156e 314->328 329 40169c-4016a9 call 406b50 314->329 315->318 323 40155c-401563 315->323 316->303 316->318 330 4016d0-4016df call 407430 317->330 331 401625-401628 317->331 320 401670 318->320 321 4015a3-4015ab 318->321 320->314 321->298 337 4016b0-4016c4 call 407430 322->337 338 4015e9-4015ec 322->338 323->328 329->328 331->318 335 40162e-401640 331->335 337->328 338->318 342 4015ee-401600 338->342
            C-Code - Quality: 49%
            			E004011B0(void* __edi, void* __esp, void* __rdi, void* __r12, void* __r13) {
            				void* __rbx;
            				void* __rsi;
            				_Unknown_base(*)()* _t30;
            				intOrPtr _t33;
            				long long _t34;
            				signed int _t43;
            				void* _t47;
            				signed int _t67;
            				signed int _t70;
            				signed int _t77;
            				void* _t79;
            				signed int _t81;
            				signed int _t83;
            				void* _t84;
            				signed int _t87;
            				void* _t89;
            				intOrPtr _t107;
            				signed long long _t108;
            				signed char* _t113;
            				void* _t114;
            				intOrPtr _t116;
            				void* _t117;
            				void* _t124;
            				signed long long _t130;
            				void* _t137;
            				void* _t144;
            				void* _t147;
            				void* _t154;
            				void* _t156;
            				void* _t157;
            				void* _t158;
            				void* _t164;
            				void* _t167;
            				void* _t168;
            				signed long long _t170;
            
            				_t172 = __r13;
            				_t169 = __r12;
            				_push(__r13);
            				_push(__r12);
            				_push(_t154);
            				_push(_t147);
            				_t157 = _t156 - 0x98;
            				_t86 = "memcpy";
            				_t137 = _t157 + 0x20;
            				_t144 = _t137;
            				memset(__edi, 0, 0xd << 0);
            				_t89 = __esp + 0xc;
            				_t79 = __edi + 0xd;
            				if("memcpy" != 0) {
            					_t124 = _t137;
            					GetStartupInfoA(??);
            				}
            				_t107 =  *[gs:0x30];
            				_t116 =  *((intOrPtr*)(_t107 + 8));
            				asm("lock dec eax");
            				_t81 = 0;
            				if(_t107 == 0) {
            					L7:
            					if( *0x40bbc8 == 1) {
            						goto L39;
            					} else {
            						goto L8;
            					}
            				} else {
            					sil = 1;
            					if(_t116 != _t107) {
            						_t144 = Sleep;
            						while(1) {
            							Sleep();
            							_t114 = _t147;
            							asm("lock dec eax");
            							if(_t114 == 0) {
            								_t81 = 0;
            								goto L7;
            							}
            							__eflags = _t116 - _t114;
            							if(_t116 == _t114) {
            								_t81 = 1;
            								__eflags =  *0x40bbc8 - 1;
            								if( *0x40bbc8 != 1) {
            									L8:
            									if( *0x40bbc8 == 0) {
            										_t137 = 0x40e030;
            										_t124 = 0x40e018;
            										 *0x40bbc8 = 1;
            										L00407420();
            									} else {
            										 *0x40b028 = 1;
            									}
            									_t24 =  *0x40bbc8;
            									if( *0x40bbc8 == 1) {
            										goto L41;
            									}
            								} else {
            									L39:
            									L00407418();
            									_t24 =  *0x40bbc8;
            									__eflags =  *0x40bbc8 - 1;
            									if( *0x40bbc8 == 1) {
            										L41:
            										_t137 = 0x40e010;
            										_t124 = 0x40e000;
            										L00407420();
            										 *0x40bbc8 = 2;
            									}
            								}
            								L82:
            							} else {
            								continue;
            							}
            							goto L11;
            						}
            					}
            					goto L7;
            				}
            				L11:
            				if(_t81 == 0) {
            					_t24 = 0;
            					asm("lock dec eax");
            				}
            				_t108 =  *0x408070; // 0x406190
            				if(_t108 != 0) {
            					r8d = 0;
            					_t70 = 2;
            					_t24 =  *_t108();
            				}
            				E004065D0(_t24, _t116, _t124, _t144, _t147, _t154, _t164, _t168, _t169);
            				SetUnhandledExceptionFilter(??); // executed
            				 *0x40b030 = _t108;
            				E00406A20(_t47, _t79, _t81, _t86, _t89, 0, _t108, _t116, _t137, _t144, _t147, _t167, _t169, _t172);
            				_t117 = GetModuleHandleA; // executed
            				GetModuleHandleA(??); // executed
            				if(_t108 == 0) {
            					GetModuleHandleA();
            					__eflags = _t108;
            					if(_t108 != 0) {
            						goto L16;
            					} else {
            						GetModuleHandleA();
            						__eflags = _t108;
            						if(_t108 != 0) {
            							goto L16;
            						} else {
            							_t30 = LoadLibraryA();
            							__eflags = _t108;
            							if(_t108 == 0) {
            								goto L18;
            							} else {
            								goto L16;
            							}
            						}
            					}
            					L33:
            					 *((long long*)(_t170 + _t108)) = 0;
            					 *0x40b010 = _t170;
            					 *__imp____initenv =  *0x40b018;
            					_t33 = E00405282(_t87, _t70, _t80, _t89, __imp____initenv, _t117, _t130,  *0x40b010, _t147,  *0x40b018);
            					 *0x40b038 = _t33;
            					__eflags =  *0x40b024;
            					if( *0x40b024 == 0) {
            						L00407428();
            						_push(_t147);
            						_push(_t117);
            						_t158 = _t157 - 0x38;
            						_t110 =  *_t130;
            						_t34 =  *_t110;
            						__eflags = _t34 - 0xc0000091;
            						if(_t34 > 0xc0000091) {
            							__eflags = _t34 - 0xc0000094;
            							if(__eflags == 0) {
            								_t83 = 0;
            								goto L51;
            							} else {
            								if(__eflags > 0) {
            									__eflags = _t34 - 0xc0000095;
            									if(_t34 == 0xc0000095) {
            										goto L76;
            									} else {
            										__eflags = _t34 - 0xc0000096;
            										if(_t34 != 0xc0000096) {
            											goto L59;
            										} else {
            											goto L70;
            										}
            									}
            								} else {
            									__eflags = _t34 - 0xc0000092;
            									if(_t34 == 0xc0000092) {
            										goto L76;
            									} else {
            										__eflags = _t34 - 0xc0000093;
            										if(_t34 == 0xc0000093) {
            											goto L50;
            										} else {
            											goto L59;
            										}
            										goto L54;
            									}
            								}
            							}
            						} else {
            							__eflags = _t34 - 0xc000008d;
            							if(_t34 < 0xc000008d) {
            								__eflags = _t34 - 0xc0000008;
            								if(__eflags == 0) {
            									L76:
            									return 0xffffffff;
            								} else {
            									if(__eflags > 0) {
            										__eflags = _t34 - 0xc000001d;
            										if(_t34 == 0xc000001d) {
            											L70:
            											L00407430();
            											__eflags = _t110 - 1;
            											if(_t110 == 1) {
            												L00407430();
            												_t35 = 0xffffffff;
            												goto L54;
            											} else {
            												__eflags = _t110;
            												if(_t110 == 0) {
            													goto L59;
            												} else {
            													 *_t110();
            													return 0xffffffff;
            												}
            											}
            										} else {
            											__eflags = _t34 - 0xc000008c;
            											if(_t34 != 0xc000008c) {
            												goto L59;
            											} else {
            												goto L76;
            											}
            										}
            									} else {
            										__eflags = _t34 - 0x80000002;
            										if(_t34 == 0x80000002) {
            											goto L76;
            										} else {
            											__eflags = _t34 - 0xc0000005;
            											if(_t34 != 0xc0000005) {
            												goto L59;
            											} else {
            												L00407430();
            												__eflags = _t110 - 1;
            												if(_t110 == 1) {
            													L00407430();
            													_t35 = 0xffffffff;
            													goto L54;
            												} else {
            													__eflags = _t110;
            													if(_t110 == 0) {
            														goto L59;
            													} else {
            														 *_t110();
            														return 0xffffffff;
            													}
            												}
            											}
            										}
            									}
            								}
            							} else {
            								L50:
            								_t83 = 1;
            								L51:
            								L00407430();
            								__eflags = _t110 - 1;
            								if(_t110 == 1) {
            									L00407430();
            									__eflags = _t83;
            									_t35 = 0xffffffff;
            									if(_t83 != 0) {
            										 *((intOrPtr*)(_t158 + 0x28)) = 0xffffffff;
            										E00406B50(0xffffffff);
            										_t35 =  *((intOrPtr*)(_t158 + 0x28));
            									}
            								} else {
            									__eflags = _t110;
            									if(_t110 == 0) {
            										L59:
            										_t110 =  *0x40b030;
            										__eflags =  *0x40b030;
            										if( *0x40b030 != 0) {
            											_t158 = _t158 + 0x38;
            											goto __rax;
            										}
            										_t35 = 0;
            									} else {
            										 *_t110();
            										_t35 = 0xffffffff;
            									}
            								}
            								L54:
            								return _t35;
            							}
            						}
            					} else {
            						__eflags =  *0x40b028;
            						if( *0x40b028 == 0) {
            							L00407410();
            							_t33 =  *0x40b038;
            						}
            						return _t33;
            					}
            					goto L82;
            				} else {
            					L16:
            					_t30 = GetProcAddress();
            					if(_t108 != 0) {
            						_t30 =  *_t108();
            					}
            				}
            				L18:
            				E00406B50(_t30);
            				_t80 = "memcpy";
            				if("memcpy" != 0) {
            					_t67 = 0;
            					_t113 =  *__imp___acmdln;
            					while(1) {
            						_t77 =  *_t113 & 0x000000ff;
            						if(_t77 <= 0x20) {
            							goto L20;
            						}
            						_t67 =  ==  ? _t67 ^ 0x00000001 : _t67;
            						L22:
            						_t113 =  &(_t113[1]);
            						continue;
            						L20:
            						__eflags = _t77;
            						_t70 = _t77 & 0xffffff00 | _t77 != 0x00000000;
            						__eflags = _t67;
            						if(_t67 != 0) {
            							__eflags = _t70;
            							if(_t70 == 0) {
            								goto L26;
            							} else {
            								goto L22;
            							}
            							while(1) {
            								L26:
            								__eflags = _t70;
            								if(_t70 == 0) {
            									break;
            								}
            								_t108 =  &(_t113[1]);
            								_t70 =  *_t108 & 0x000000ff;
            								__eflags = _t70 - 0x20;
            								if(_t70 <= 0x20) {
            									continue;
            								}
            								break;
            							}
            							__eflags =  *(_t157 + 0x5c) & 0x00000001;
            							 *0x40ba30 = _t108;
            							_t43 = 0xa;
            							 *0x40ba40 = 0x400000;
            							if(( *(_t157 + 0x5c) & 0x00000001) != 0) {
            								_t43 =  *(_t157 + 0x60) & 0x0000ffff;
            							}
            							 *0x40ba38 = _t43;
            							goto L29;
            						}
            						goto L26;
            					}
            				}
            				L29:
            				_t87 =  *0x40b008;
            				_t130 = _t154 + 1 << 3;
            				L00407400();
            				_t170 = _t108;
            				__eflags = _t87;
            				if(_t87 > 0) {
            					_t84 = 0;
            					__eflags = 0;
            					do {
            						_t84 = _t84 + 1;
            						L00407408();
            						_t13 = _t108 + 1; // 0x1
            						r13d = _t13;
            						L00407400();
            						 *(_t170 + _t117) = _t108;
            						_t130 = _t108;
            						_t117 = _t117 + 8;
            						L004073F8();
            						__eflags = _t87 - _t84;
            					} while (_t87 > _t84);
            					_t108 = _t87 << 3;
            					__eflags = _t108;
            				}
            				goto L33;
            			}






































            0x004011b0
            0x004011b0
            0x004011b0
            0x004011b9
            0x004011bb
            0x004011bd
            0x004011bf
            0x004011c6
            0x004011cc
            0x004011d3
            0x004011d6
            0x004011d6
            0x004011d6
            0x004011d9
            0x004014a2
            0x004014a5
            0x004014a5
            0x004011df
            0x004011e8
            0x004011ee
            0x004011f7
            0x004011fc
            0x00401234
            0x0040123d
            0x00000000
            0x00000000
            0x00000000
            0x00000000
            0x004011fe
            0x00401201
            0x00401204
            0x00401206
            0x0040121a
            0x0040121f
            0x00401221
            0x00401224
            0x00401230
            0x00401232
            0x00401232
            0x00401232
            0x00401211
            0x00401214
            0x00401456
            0x0040145b
            0x0040145e
            0x00401243
            0x0040124b
            0x004014b0
            0x004014b7
            0x004014be
            0x004014c8
            0x00401251
            0x00401251
            0x00401251
            0x0040125b
            0x00401264
            0x00000000
            0x00000000
            0x00401464
            0x00401464
            0x00401469
            0x0040146e
            0x00401474
            0x00401477
            0x00401480
            0x00401480
            0x00401487
            0x0040148e
            0x00401493
            0x00401493
            0x00401477
            0x00000000
            0x00000000
            0x00000000
            0x00000000
            0x00000000
            0x00401214
            0x0040121a
            0x00000000
            0x00401204
            0x0040126a
            0x0040126c
            0x0040126e
            0x00401270
            0x00401270
            0x00401278
            0x00401282
            0x00401284
            0x00401287
            0x0040128e
            0x0040128e
            0x00401290
            0x0040129c
            0x004012a2
            0x004012a9
            0x004012b5
            0x004012bc
            0x004012c1
            0x004014d9
            0x004014db
            0x004014de
            0x00000000
            0x004014e4
            0x004014eb
            0x004014ed
            0x004014f0
            0x00000000
            0x004014f6
            0x004014fd
            0x00401503
            0x00401506
            0x00000000
            0x0040150c
            0x00000000
            0x0040150c
            0x00401506
            0x004014f0
            0x004013d1
            0x004013d1
            0x004013e9
            0x004013f0
            0x00401401
            0x0040140c
            0x00401412
            0x00401414
            0x00401513
            0x00401520
            0x00401521
            0x00401525
            0x00401529
            0x0040152c
            0x0040152e
            0x00401533
            0x00401570
            0x00401575
            0x00401641
            0x00000000
            0x0040157b
            0x0040157b
            0x00401601
            0x00401606
            0x00000000
            0x00401608
            0x00401608
            0x0040160d
            0x00000000
            0x00000000
            0x00000000
            0x00000000
            0x0040160d
            0x00401581
            0x00401581
            0x00401586
            0x00000000
            0x0040158c
            0x0040158c
            0x00401591
            0x00000000
            0x00000000
            0x00000000
            0x00000000
            0x00000000
            0x00401591
            0x00401586
            0x0040157b
            0x00401535
            0x00401535
            0x0040153a
            0x004015b0
            0x004015b5
            0x00401662
            0x0040166d
            0x004015bb
            0x004015bb
            0x00401650
            0x00401655
            0x0040160f
            0x00401616
            0x0040161b
            0x0040161f
            0x004016da
            0x004016df
            0x00000000
            0x00401625
            0x00401625
            0x00401628
            0x00000000
            0x0040162e
            0x00401633
            0x00401640
            0x00401640
            0x00401628
            0x00401657
            0x00401657
            0x0040165c
            0x00000000
            0x00000000
            0x00000000
            0x00000000
            0x0040165c
            0x004015c1
            0x004015c1
            0x004015c6
            0x00000000
            0x004015cc
            0x004015cc
            0x004015d1
            0x00000000
            0x004015d3
            0x004015da
            0x004015df
            0x004015e3
            0x004016ba
            0x004016bf
            0x00000000
            0x004015e9
            0x004015e9
            0x004015ec
            0x00000000
            0x004015ee
            0x004015f3
            0x00401600
            0x00401600
            0x004015ec
            0x004015e3
            0x004015d1
            0x004015c6
            0x004015bb
            0x0040153c
            0x0040153c
            0x0040153c
            0x00401541
            0x00401548
            0x0040154d
            0x00401551
            0x0040168a
            0x0040168f
            0x00401691
            0x00401696
            0x0040169c
            0x004016a0
            0x004016a5
            0x004016a5
            0x00401557
            0x00401557
            0x0040155a
            0x00401593
            0x00401593
            0x0040159a
            0x0040159d
            0x004015a3
            0x004015ac
            0x004015ac
            0x00401670
            0x0040155c
            0x00401561
            0x00401563
            0x00401563
            0x0040155a
            0x00401568
            0x0040156e
            0x0040156e
            0x0040153a
            0x0040141a
            0x00401420
            0x00401422
            0x00401424
            0x00401429
            0x00401429
            0x0040143e
            0x0040143e
            0x00000000
            0x004012c7
            0x004012c7
            0x004012d1
            0x004012da
            0x004012e3
            0x004012e3
            0x004012da
            0x004012e5
            0x004012e5
            0x004012ea
            0x004012f2
            0x004012fb
            0x004012fd
            0x00401313
            0x00401313
            0x00401319
            0x00000000
            0x00000000
            0x00401323
            0x0040130f
            0x0040130f
            0x00000000
            0x00401302
            0x00401302
            0x00401304
            0x00401307
            0x00401309
            0x0040130b
            0x0040130d
            0x00000000
            0x00000000
            0x00000000
            0x00000000
            0x0040133c
            0x0040133c
            0x0040133c
            0x0040133e
            0x00000000
            0x00000000
            0x00401330
            0x00401334
            0x00401337
            0x0040133a
            0x00000000
            0x00000000
            0x00000000
            0x0040133a
            0x00401340
            0x0040134c
            0x00401353
            0x00401358
            0x0040135f
            0x00401440
            0x00401440
            0x00401365
            0x00000000
            0x00401365
            0x00000000
            0x00401309
            0x00401313
            0x0040136b
            0x0040136b
            0x00401377
            0x0040137b
            0x00401380
            0x00401385
            0x0040138e
            0x00401392
            0x00401392
            0x00401394
            0x00401398
            0x0040139b
            0x004013a0
            0x004013a0
            0x004013aa
            0x004013af
            0x004013ba
            0x004013bd
            0x004013c1
            0x004013c6
            0x004013c6
            0x004013cd
            0x004013cd
            0x004013cd
            0x00000000

            APIs
            Strings
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: AddressExceptionFilterHandleInfoModuleProcSleepStartupUnhandled
            • String ID: _set_invalid_parameter_handler$msvcr70.dll$msvcr80.dll$msvcrt.dll
            • API String ID: 2266094942-642542254
            • Opcode ID: 95dc1078c6b56ec889f4cb7aed6aafb14f038c6ae12b3afb6600c93c28382f31
            • Instruction ID: 5b6e076c5045b8a0079544a8a1ac6406c7196364995176b67122be39bdec3849
            • Opcode Fuzzy Hash: 95dc1078c6b56ec889f4cb7aed6aafb14f038c6ae12b3afb6600c93c28382f31
            • Instruction Fuzzy Hash: 8FC1A17160560086EB259B25AC9036A3361EB89798F88453BDF1DBB3F1DF3CD885878D
            Uniqueness

            Uniqueness Score: -1.00%

            Control-flow Graph

            • Executed
            • Not Executed
            control_flow_graph 0 405282-405395 call 406e00 call 402f70 call 40371e * 7 call 407400 22 40539b-40539f 0->22 23 4053a5-405439 call 40371e * 2 call 4074e8 call 407490 _read 22->23 24 4058bb-4058d6 call 402422 22->24 73 405447-40545b call 40377b 23->73 74 40543b-405442 call 4035db 23->74 29 405533-405539 24->29 30 4058dc-4058e6 24->30 35 40589a-4058b5 call 4035db 29->35 36 40553f-40555d 29->36 32 405907-405911 30->32 33 4058e8-405903 call 4073a0 call 4074f8 call 40371e 30->33 38 405930-40593a 32->38 39 405913-405926 _close 32->39 33->32 35->24 36->35 42 40593c-405964 _open 38->42 43 40598d-4059a3 38->43 39->38 49 405966-405977 call 4035db 42->49 50 40597c-405986 call 40371e 42->50 45 4059a5-4059ca call 403841 43->45 46 4059ce-4059d3 43->46 45->46 57 4059f2-4059f7 46->57 58 4059d5-4059e2 46->58 49->50 50->43 64 405a08-405a21 57->64 65 4059f9-405a02 57->65 58->57 63 4059e4-4059ee 58->63 63->57 71 405a27-405a43 64->71 72 405b3e-405b43 64->72 65->64 77 405a92-405abe call 40425f 71->77 78 405a45-405a6e call 403bc0 71->78 75 405b51-405b67 72->75 76 405b45-405b4c call 4035db 72->76 95 405471-405479 73->95 96 40545d-40546b 73->96 74->73 84 405b75-405b8f 75->84 85 405b69-405b70 call 4035db 75->85 76->75 93 405ac0-405aca 77->93 94 405b32-405b39 call 4035db 77->94 78->77 92 405a70-405a8d call 4035db 78->92 90 405b91 84->90 91 405b9a-405ba2 84->91 85->84 90->91 97 405edb-405ef1 91->97 92->77 102 405adc-405ae6 93->102 103 405acc-405ad7 call 4026fd 93->103 94->72 104 40547b-405497 call 4073f8 95->104 105 40549c-4054ba call 4074f0 95->105 96->95 98 405ba7-405bdb call 4074f0 97->98 99 405ef7-405f11 97->99 125 405c0b-405c34 call 403bc0 98->125 126 405bdd-405bfa call 403bc0 98->126 123 405f30-405f3d 99->123 124 405f13-405f2b call 4034eb 99->124 108 405af7-405b02 102->108 109 405ae8-405af5 call 404b7c 102->109 103->102 104->105 119 4054bc 105->119 120 4054bf-4054dd call 4074f0 105->120 116 405b21-405b25 108->116 117 405b04-405b1c call 4034eb 108->117 109->108 121 405397-405398 116->121 122 405b2b-405b2d call 407428 116->122 117->116 119->120 139 4054e2-4054f6 120->139 140 4054df 120->140 121->22 122->94 141 405f43-405f4d 123->141 142 40539a 123->142 124->123 137 405c36-405c53 call 4035db 125->137 138 405c58-405c60 125->138 126->125 143 405bfc-405c06 call 4035db 126->143 137->138 145 405c62-405c7d 138->145 146 405caf-405cb7 138->146 147 405524-405529 139->147 140->139 148 405f56-405fcb call 407428 call 4034eb * 6 call 4035db 141->148 149 405f4f-405f51 call 407428 141->149 142->22 143->125 151 405c83-405caa call 403e4e call 403dca 145->151 152 405ebe-405ec6 145->152 146->152 155 4054f8-4054fd 147->155 156 40552b-40552e 147->156 149->148 151->152 160 405cbc-405cc1 152->160 161 405ecc-405ed5 152->161 158 405504-40550d 155->158 159 4054ff-405502 155->159 156->24 164 405520 158->164 165 40550f-40551d 158->165 159->164 166 405cc3-405ccd 160->166 167 405ce6-405d26 call 403bc0 call 403ec7 160->167 161->97 164->147 165->164 166->167 171 405ccf-405cde call 4074c0 166->171 184 405d57-405d5f 167->184 185 405d28-405d32 167->185 171->167 180 405ce0 171->180 180->167 188 405d65-405dad call 4034eb 184->188 189 405dec-405dfb 184->189 185->184 187 405d34-405d3e 185->187 187->184 193 405d40-405d51 call 404773 187->193 203 405dbf-405dc9 188->203 204 405daf-405dba call 4026fd 188->204 191 405e1a-405e4e call 4034eb 189->191 192 405dfd-405e08 189->192 202 405e53-405e88 191->202 192->191 196 405e0a-405e18 192->196 193->184 196->191 196->202 217 405e8a-405e92 202->217 218 405e9b-405ea5 202->218 203->202 206 405dcf-405dd9 203->206 204->203 206->202 209 405ddb-405dea call 404b7c 206->209 209->202 217->218 219 405ea7-405eb7 call 403dca 218->219 220 405eb9 218->220 219->152 220->152
            C-Code - Quality: 23%
            			E00405282(signed int __ecx, void* __edx, void* __edi, void* __esp, long long __rax, signed long long __rbx, void* __rcx, signed long long __rdx, void* __rsi, void* __r8, signed int _a8, void* _a16) {
            				void* _v32;
            				void* _v40;
            				void* _v48;
            				signed int _v50;
            				signed short _v52;
            				signed int _v54;
            				signed int _v56;
            				signed long long _v64;
            				signed int _v68;
            				long long _v80;
            				signed int _v82;
            				long long _v120;
            				signed int _t123;
            				signed int _t147;
            				signed int _t148;
            				void* _t163;
            				signed int _t166;
            				signed int _t173;
            				signed int _t175;
            				signed int _t177;
            				signed int _t206;
            				intOrPtr _t212;
            				signed int _t226;
            				void* _t294;
            				signed int _t295;
            				signed int _t296;
            				void* _t297;
            				signed int _t298;
            				void* _t299;
            				long long _t336;
            				signed int* _t338;
            				signed long long _t339;
            				signed int* _t340;
            				signed long long _t344;
            				signed long long _t347;
            				signed long long _t348;
            				intOrPtr _t351;
            				signed long long _t355;
            				signed long long _t358;
            				signed long long _t361;
            				signed int _t367;
            				signed long long _t369;
            				signed int _t376;
            				signed int* _t377;
            				signed long long _t381;
            				intOrPtr* _t383;
            				long long _t384;
            				long long* _t387;
            				signed long long _t407;
            				long long _t417;
            				long long _t420;
            				char* _t421;
            				char* _t422;
            				long long _t471;
            				void* _t473;
            				void* _t483;
            
            				_t473 = __rsi;
            				_t466 = __rdx;
            				_t418 = __rbx;
            				_t336 = __rax;
            				_t299 = __esp;
            				_t294 = __edi;
            				_a8 = __ecx;
            				_a16 = __rdx;
            				E00406E00(__rbx, __rdx, __rsi);
            				_v32 = 0;
            				_v80 = 0;
            				_v40 = 0;
            				_v48 = 0;
            				_v50 = 0;
            				_v52 = 0;
            				_v82 = 0;
            				_v54 = 0;
            				_v56 = 0;
            				_v64 = 0;
            				_v68 = 0;
            				E00402F70();
            				E0040371E(0x10, _t336, _t466, __rbx);
            				 *0x40b098 = _t336;
            				E0040371E(0x10, _t336, _t466, __rsi);
            				 *0x40b0a0 = _t336;
            				E0040371E(0x2000, _t336, _t466);
            				 *0x40bba8 = _t336;
            				E0040371E(0x2000, _t336, _t466);
            				 *0x40ba90 = _t336;
            				E0040371E(0x208, _t336, _t466);
            				 *0x40bba0 = _t336;
            				E0040371E(0x208, _t336, _t466);
            				 *0x40ba88 = _t336;
            				E0040371E(0x4a, _t336, _t466);
            				 *0x40b0b8 = _t336;
            				L00407400();
            				 *0x40bbb0 = _t336;
            				 *((char*)( *0x40bbb0)) = 1;
            				_t338 = __imp___errno;
            				 *_t338();
            				 *_t338 = 0;
            				 *0x408028 = 4;
            				goto L3;
            				do {
            					do {
            						L3:
            						if(_a8 != 1) {
            							goto L25;
            						} else {
            							_t383 = _a16;
            							E0040371E(0x400, _t383, _t466);
            							_a16 = _t383;
            							_t384 = _a16;
            							 *_t384 =  *_t383;
            							E0040371E(0x2000, _t384, _t466);
            							_t420 = _t384;
            							 *((long long*)(_a16 + 8)) = _t420;
            							_t387 = __imp____iob_func;
            							 *_t387();
            							_t19 = _t387 + 0x60; // 0x60
            							_t483 = _t19;
            							r8d = 0xa;
            							L004074E8(); // executed
            							_t212 =  *__imp____iob_func();
            							L00407490();
            							r8d = 0x2000;
            							_t471 = _t420;
            							L00407368(); // executed
            							 *0x40b07c = _t212;
            							_t301 =  *0x40b07c;
            							if( *0x40b07c == 0) {
            								E004035DB(0, _t301, _t420, "wrong", _t471, _t481, _t483);
            							}
            							_t297 = E0040377B( *0x40b07c, _t420);
            							if(_t297 != 0) {
            								 *0x40b07c =  *0x40b07c - _t297;
            							}
            							if( *0x40b07c != 0) {
            								L004073F8();
            							}
            							L004074F0();
            							_t421 =  *((intOrPtr*)(_a16 + 8));
            							if(_t421 != 0) {
            								 *_t421 = 0;
            							}
            							L004074F0();
            							_t422 =  *((intOrPtr*)(_a16 + 8));
            							if(_t422 != 0) {
            								 *_t422 = 0;
            							}
            							_t418 =  *((intOrPtr*)(_a16 + 8)) + 1;
            							_t298 = 2;
            							while(( *_t418 & 0x000000ff) != 0) {
            								__eflags = ( *_t418 & 0x000000ff) - 0x20;
            								if(( *_t418 & 0x000000ff) != 0x20) {
            									_t24 = _t418 - 1; // -2
            									__eflags =  *_t24 & 0x000000ff;
            									if(( *_t24 & 0x000000ff) == 0) {
            										 *((_t298 << 3) + _a16) = _t418;
            										_t298 = _t298 + 1;
            										__eflags = _t298;
            									}
            								} else {
            									 *_t418 = 0;
            								}
            								_t418 = _t418 + 1;
            								__eflags = _t418;
            							}
            							_a8 = _t298;
            							while(1) {
            								L25:
            								_t339 = _a16;
            								_t480 = "ade:g:G:hi:lLno:p:rs:tcuvw:z";
            								_t466 = _t339;
            								_t260 = _a8;
            								_t295 = E00402422(_a8, _t339, "ade:g:G:hi:lLno:p:rs:tcuvw:z");
            								if(_t295 == 0xffffffff) {
            									break;
            								}
            								_t27 = _t473 - 0x47; // -71
            								__eflags = _t27 - 0x33;
            								if(__eflags > 0) {
            									_t340 = __imp___errno;
            									 *_t340();
            									 *_t340 = 0;
            									E004035DB(_t260, __eflags, _t418, "nc -h for help", _t466, "ade:g:G:hi:lLno:p:rs:tcuvw:z", _t483);
            									continue;
            								}
            								_t466 =  *((intOrPtr*)(0x409b50 + _t339 * 4));
            								goto __rax;
            							}
            							if(( *0x40b0d6 & 0x0000ffff) != 0) {
            								L004073A0();
            								L004074F8();
            								_t261 = 0x10000;
            								E0040371E(0x10000, _t339, _t466);
            								_v64 = _t339;
            							}
            							_t344 =  *0x40b0e8;
            							if(_t344 != 0) {
            								_t261 = 0;
            								L00407358();
            								 *0x40b0d4 = 0;
            								 *0x40b074 = 0;
            							}
            							_t123 =  *0x40b0d4 & 0x0000ffff;
            							if(_t123 != 0) {
            								_t344 =  *0x40b0c0;
            								r8d = 0x1b4;
            								L00407370();
            								 *0x40b074 = _t123;
            								_t312 =  *0x40b074;
            								if( *0x40b074 <= 0) {
            									_t344 =  *0x40b0c0;
            									_t466 = _t344;
            									E004035DB(_t260, _t312, _t418, "can\'t open %s", _t344, _t480, _t483);
            								}
            								_t261 = 0x64;
            								E0040371E(0x64, _t344, _t466);
            								 *0x40b0c0 = _t344;
            							}
            							_t347 =  *((intOrPtr*)((_t344 << 3) + _a16));
            							if(_t347 != 0) {
            								_t417 =  *((intOrPtr*)((_t347 << 3) + _a16));
            								E00403841( *0x40b0d2 & 0xffff, _t417, _t466, _t483);
            								_v32 = _t417;
            							}
            							if(_v32 != 0 && _v32 + 0x1c0 != 0) {
            								_v48 = _v32 + 0x1c0;
            							}
            							if(_v48 != 0) {
            								 *0x40b048 =  *0x40b048 + 1;
            							}
            							_t348 = __imp___errno;
            							 *_t348();
            							 *_t348 = 0;
            							if(( *0x40b0d0 & 0x0000ffff) == 0) {
            								L55:
            								_t329 = _v48;
            								if(_v48 == 0) {
            									E004035DB(_t260, _t329, _t418, "no destination", _t466, _t480, _t483);
            								}
            								_t351 =  *((intOrPtr*)((_t348 << 3) + _a16));
            								_t330 = _t351;
            								if(_t351 == 0) {
            									E004035DB(_t260, _t330, _t418, "no port[s] to connect to", _t466, _t480, _t483);
            								}
            								_t355 =  *((intOrPtr*)((_t351 + 1 << 3) + _a16));
            								if(_t355 != 0) {
            									 *0x40802c = 0;
            								}
            								_v52 = _v50 & 0x0000ffff;
            								while(1) {
            									_t358 =  *((_t355 << 3) + _a16);
            									if(_t358 == 0) {
            										goto L97;
            									}
            									_v82 = 0;
            									_v54 = _v82 & 0x0000ffff;
            									_t361 =  *((intOrPtr*)((_t358 << 3) + _a16));
            									L004074F0();
            									_t418 = _t361;
            									__eflags = _t418;
            									if(_t418 != 0) {
            										 *_t418 = 0;
            										_t418 = _t418 + 1;
            										_v54 = E00403BC0(0, _t418);
            										__eflags = _v54;
            										if(__eflags == 0) {
            											_t466 = _t418;
            											E004035DB(_t261, __eflags, _t418, "invalid port %s", _t418, _t481, _t483);
            										}
            									}
            									_t355 =  *((intOrPtr*)((_t361 << 3) + _a16));
            									_t427 = _t355;
            									_v82 = E00403BC0(0, _t355);
            									__eflags = _v82;
            									if(_v82 == 0) {
            										_t376 = (_t355 << 3) + _a16;
            										__eflags = _t376;
            										_t355 =  *_t376;
            										_t466 = _t355;
            										_t427 = "invalid port %s";
            										E004035DB(_t261, _t376, _t418, "invalid port %s", _t355, _t481, _t483);
            									}
            									__eflags = (_v54 & 0x0000ffff) - _v82;
            									if((_v54 & 0x0000ffff) <= _v82) {
            										_v56 = _v82 & 0x0000ffff;
            									} else {
            										 *0x40802c = 0;
            										_v56 = _v54 & 0x0000ffff;
            										__eflags =  *0x40b0d6 & 0x0000ffff;
            										if(( *0x40b0d6 & 0x0000ffff) != 0) {
            											_t261 = _v54 & 0x0000ffff;
            											r8d = _v54 & 0x0000ffff;
            											E00403E4E(_v82 & 0x0000ffff, _v64, _v64);
            											_t355 = _v64;
            											_t427 = _t355;
            											_v56 = E00403DCA(_t296, _t355, _t355);
            										}
            									}
            									while(1) {
            										__eflags = (_v82 & 0x0000ffff) - _v56;
            										if((_v82 & 0x0000ffff) > _v56) {
            											break;
            										}
            										__eflags = _v50;
            										if(_v50 == 0) {
            											_t175 =  *0x40b0d6 & 0x0000ffff;
            											__eflags = _t175;
            											if(_t175 != 0) {
            												L004074C0();
            												_v52 = _t175;
            												__eflags = _v52 - 0x1fff;
            												if(_v52 <= 0x1fff) {
            													_t82 =  &_v52;
            													 *_t82 = _v52 + 0x2000;
            													__eflags =  *_t82;
            												}
            											}
            										}
            										_t261 = 0;
            										_v56 = E00403BC0(_v56 & 0x0000ffff, _t427);
            										_t364 = _v48;
            										r9d = _v52 & 0x0000ffff;
            										_t481 = _v40;
            										 *0x408010 = E00403EC7(_v56 & 0x0000ffff, _v48, _t466, _v40, _t483);
            										_t147 =  *0x408010; // 0xffffffff
            										__eflags = _t147;
            										if(_t147 > 0) {
            											__eflags =  *0x40b0e0 & 0x0000ffff;
            											if(( *0x40b0e0 & 0x0000ffff) != 0) {
            												__eflags =  *0x40b0d8 & 0x0000ffff;
            												if(( *0x40b0d8 & 0x0000ffff) != 0) {
            													_t173 =  *0x408010; // 0xffffffff
            													_t466 = _v48;
            													_t261 = _t173;
            													 *0x408010 = E00404773(_t173, _t364, _v48);
            												}
            											}
            										}
            										_t148 =  *0x408010; // 0xffffffff
            										__eflags = _t148;
            										if(_t148 <= 0) {
            											_t296 = 1;
            											__eflags =  *0x40802c & 0x0000ffff;
            											if(( *0x40802c & 0x0000ffff) != 0) {
            												L88:
            												_t367 = _v32 + 0x100;
            												__eflags = _t367;
            												_t368 = _v32;
            												_v120 =  *0x40b0b8;
            												r9d = _v56 & 0x0000ffff;
            												_t481 = _t367;
            												_t466 = _v32;
            												E004034EB("%s [%s] %d (%s)", _v32, _t367, _t483);
            												goto L89;
            											}
            											__eflags = ( *0x40b0da & 0x0000ffff) - 1;
            											if(( *0x40b0da & 0x0000ffff) > 1) {
            												goto L88;
            											}
            											_t368 = __imp__WSAGetLastError;
            											_t163 =  *__imp__WSAGetLastError();
            											__eflags = _t163 - 0x274d;
            											if(_t163 == 0x274d) {
            												goto L89;
            											}
            											goto L88;
            										} else {
            											_t296 = 0;
            											_v120 =  *0x40b0b8;
            											r9d = _v56 & 0x0000ffff;
            											_t481 = _v32 + 0x100;
            											_t466 = _v32;
            											E004034EB("%s [%s] %d (%s) open", _v32, _v32 + 0x100, _t483);
            											_t368 =  *0x40b0e8;
            											__eflags = _t368;
            											if(_t368 != 0) {
            												E004026FD(_t261, _t368, _t368, _t481);
            											}
            											__eflags =  *0x40b0e0 & 0x0000ffff;
            											if(( *0x40b0e0 & 0x0000ffff) == 0) {
            												_t368 =  *0x40b0e8;
            												__eflags = _t368;
            												if(_t368 == 0) {
            													_t166 =  *0x408010; // 0xffffffff
            													_t261 = _t166;
            													_t296 = E00404B7C(_t166, _t294, _t299, _t481, _t483);
            												}
            											}
            											L89:
            											_t369 = __imp__shutdown;
            											 *_t369();
            											_t427 = _t369;
            											_t355 = __imp__closesocket;
            											 *_t355();
            											__eflags =  *0x40b0cc;
            											if( *0x40b0cc != 0) {
            												_t261 =  *0x40b0cc;
            												_t355 = __imp___sleep;
            												 *_t355();
            											}
            											__eflags =  *0x40b0d6 & 0x0000ffff;
            											if(( *0x40b0d6 & 0x0000ffff) == 0) {
            												_t101 =  &_v56;
            												 *_t101 = _v56 - 1;
            												__eflags =  *_t101;
            											} else {
            												_t355 = _v64;
            												_t427 = _t355;
            												_v56 = E00403DCA(_t296, _t355, _t355);
            											}
            											continue;
            										}
            									}
            									_t177 =  *0x40b048 + 1;
            									__eflags = _t177;
            									 *0x40b048 = _t177;
            								}
            								goto L97;
            							} else {
            								_v56 = 0;
            								_t381 =  *((intOrPtr*)((_t348 << 3) + _a16));
            								if(_t381 != 0) {
            									_t407 =  *((intOrPtr*)((_t381 << 3) + _a16));
            									_v56 = E00403BC0(0, _t407);
            									if(_v56 == 0) {
            										_t466 =  *((intOrPtr*)((_t407 << 3) + _a16));
            										E004035DB(_t260, (_t407 << 3) + _a16, _t418, "invalid port %s",  *((intOrPtr*)((_t407 << 3) + _a16)), _t480, _t483);
            									}
            								}
            								_t348 = _v48;
            								r9d = _v50 & 0x0000ffff;
            								_t481 = _v40;
            								 *0x408010 = E0040425F(_v56 & 0x0000ffff, _t348, _v40, _t483);
            								_t206 =  *0x408010; // 0xffffffff
            								if(_t206 <= 0) {
            									L54:
            									E004035DB(_t260, _t328, _t418, "no connection", _t466, _t481, _t483);
            									goto L55;
            								} else {
            									goto L46;
            								}
            							}
            						}
            						L46:
            						_t382 =  *0x40b0e8;
            						if( *0x40b0e8 != 0) {
            							E004026FD(_t260, _t382, _t382, _t481);
            						}
            						_t348 =  *0x40b0e8;
            						if(_t348 == 0) {
            							_t226 =  *0x408010; // 0xffffffff
            							_t295 = E00404B7C(_t226, _t294, _t299, _t481, _t483);
            						}
            						if(( *0x40b0da & 0x0000ffff) > 1) {
            							r8d =  *0x40b080;
            							E004034EB(" sent %d, rcvd %d", _t466, _t481, _t483);
            						}
            						_t328 = _v68 - 1;
            					} while (_v68 == 1);
            					_t260 = _t295;
            					L00407428();
            					goto L54;
            					L97:
            					_t377 = __imp___errno;
            					 *_t377();
            					 *_t377 = 0;
            					if(( *0x40b0da & 0x0000ffff) > 1) {
            						r8d =  *0x40b080;
            						E004034EB("sent %d, rcvd %d", _t466, _t481, _t483);
            					}
            					 *__imp__WSACleanup();
            				} while (_v68 == 1);
            				_t335 =  *0x40802c & 0x0000ffff;
            				if(( *0x40802c & 0x0000ffff) != 0) {
            					L00407428();
            				}
            				L00407428();
            				 *0x40b0da = 1;
            				E004034EB("[v1.12 NT http://eternallybored.org/misc/netcat/]\nconnect to somewhere:\tnc [-options] hostname port[s] [ports] ... \nlisten for inbound:\tnc -l -p port [options] [hostname] [port]\noptions:", _t466, _t481, _t483);
            				E004034EB("\t-d\t\tdetach from console, background mode\n", _t466, _t481, _t483);
            				E004034EB("\t-e prog\t\tinbound program to exec [dangerous!!]", _t466, _t481, _t483);
            				E004034EB("\t-g gateway\tsource-routing hop point[s], up to 8\n\t-G num\t\tsource-routing pointer: 4, 8, 12, ...\n\t-h\t\tthis cruft\n\t-i secs\t\tdelay interval for lines sent, ports scanned\n\t-l\t\tlisten mode, for inbound connects\n\t-L\t\tlisten harder, re-listen on socket close\n\t-n\t\tnumeric-only IP addresses, no DNS\n\t-o file\t\thex dump of traffic\n\t-p port\t\tlocal port number\n\t-r\t\trandomize local and remote ports\n\t-s addr\t\tlocal source address", _t466, _t481, _t483);
            				E004034EB("\t-t\t\tanswer TELNET negotiation", _t466, _t481, _t483);
            				E004034EB("\t-c\t\tsend CRLF instead of just LF\n\t-u\t\tUDP mode\n\t-v\t\tverbose [use twice to be more verbose]\n\t-w secs\t\ttimeout for connects and final net reads\n\t-z\t\tzero-I/O mode [used for scanning]", _t466, _t481, _t483);
            				E004035DB(0, _t335, _t418, "port numbers can be individual or ranges: m-n [inclusive]", _t466, _t481, _t483);
            				return 0;
            			}



























































            0x00405282
            0x00405282
            0x00405282
            0x00405282
            0x00405282
            0x00405282
            0x0040528c
            0x0040528f
            0x00405293
            0x00405298
            0x004052a0
            0x004052a8
            0x004052b0
            0x004052b8
            0x004052be
            0x004052c4
            0x004052ca
            0x004052d0
            0x004052d6
            0x004052de
            0x004052e5
            0x004052ef
            0x004052f4
            0x00405300
            0x00405305
            0x00405311
            0x00405316
            0x00405322
            0x00405327
            0x00405333
            0x00405338
            0x00405344
            0x00405349
            0x00405355
            0x0040535a
            0x00405366
            0x0040536b
            0x00405379
            0x0040537c
            0x00405383
            0x00405385
            0x0040538b
            0x00405395
            0x0040539b
            0x0040539b
            0x0040539b
            0x0040539f
            0x00000000
            0x004053a5
            0x004053a5
            0x004053b1
            0x004053b6
            0x004053ba
            0x004053be
            0x004053c6
            0x004053cb
            0x004053d6
            0x004053d9
            0x004053e0
            0x004053e2
            0x004053ed
            0x004053f0
            0x004053fe
            0x0040540a
            0x00405413
            0x00405418
            0x0040541e
            0x00405426
            0x0040542b
            0x00405437
            0x00405439
            0x00405442
            0x00405442
            0x00405457
            0x0040545b
            0x0040546b
            0x0040546b
            0x00405479
            0x00405497
            0x00405497
            0x004054af
            0x004054b4
            0x004054ba
            0x004054bc
            0x004054bc
            0x004054d2
            0x004054d7
            0x004054dd
            0x004054df
            0x004054df
            0x004054ed
            0x004054f1
            0x00405524
            0x004054fb
            0x004054fd
            0x00405504
            0x0040550b
            0x0040550d
            0x0040551a
            0x0040551d
            0x0040551d
            0x0040551d
            0x004054ff
            0x004054ff
            0x004054ff
            0x00405520
            0x00405520
            0x00405520
            0x0040552b
            0x004058bb
            0x004058bb
            0x004058bb
            0x004058bf
            0x004058c6
            0x004058c9
            0x004058d1
            0x004058d6
            0x00000000
            0x00000000
            0x00405533
            0x00405536
            0x00405539
            0x0040589a
            0x004058a1
            0x004058a3
            0x004058b0
            0x00000000
            0x004058b0
            0x00405553
            0x00405561
            0x00405561
            0x004058e6
            0x004058ed
            0x004058f4
            0x004058f9
            0x004058fe
            0x00405903
            0x00405903
            0x00405907
            0x00405911
            0x00405913
            0x00405918
            0x0040591d
            0x00405926
            0x00405926
            0x00405930
            0x0040593a
            0x0040593c
            0x00405943
            0x00405951
            0x00405956
            0x00405962
            0x00405964
            0x00405966
            0x0040596d
            0x00405977
            0x00405977
            0x0040597c
            0x00405981
            0x00405986
            0x00405986
            0x0040599d
            0x004059a3
            0x004059bf
            0x004059c5
            0x004059ca
            0x004059ca
            0x004059d3
            0x004059ee
            0x004059ee
            0x004059f7
            0x00405a02
            0x00405a02
            0x00405a08
            0x00405a0f
            0x00405a11
            0x00405a21
            0x00405b3e
            0x00405b3e
            0x00405b43
            0x00405b4c
            0x00405b4c
            0x00405b61
            0x00405b64
            0x00405b67
            0x00405b70
            0x00405b70
            0x00405b89
            0x00405b8f
            0x00405b91
            0x00405b91
            0x00405b9e
            0x00405edb
            0x00405eeb
            0x00405ef1
            0x00000000
            0x00000000
            0x00405ba7
            0x00405bb1
            0x00405bc5
            0x00405bd0
            0x00405bd5
            0x00405bd8
            0x00405bdb
            0x00405bdd
            0x00405be0
            0x00405bf1
            0x00405bf5
            0x00405bfa
            0x00405bfc
            0x00405c06
            0x00405c06
            0x00405bfa
            0x00405c1b
            0x00405c23
            0x00405c2b
            0x00405c2f
            0x00405c34
            0x00405c42
            0x00405c42
            0x00405c46
            0x00405c49
            0x00405c4c
            0x00405c53
            0x00405c53
            0x00405c5c
            0x00405c60
            0x00405cb3
            0x00405c62
            0x00405c62
            0x00405c6f
            0x00405c7a
            0x00405c7d
            0x00405c83
            0x00405c8f
            0x00405c95
            0x00405c9a
            0x00405c9e
            0x00405ca6
            0x00405ca6
            0x00405c7d
            0x00405ebe
            0x00405ec2
            0x00405ec6
            0x00000000
            0x00000000
            0x00405cbc
            0x00405cc1
            0x00405cc3
            0x00405cca
            0x00405ccd
            0x00405ccf
            0x00405cd4
            0x00405cd8
            0x00405cde
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405cde
            0x00405ccd
            0x00405cec
            0x00405cf6
            0x00405d06
            0x00405d0a
            0x00405d0d
            0x00405d18
            0x00405d1e
            0x00405d24
            0x00405d26
            0x00405d2f
            0x00405d32
            0x00405d3b
            0x00405d3e
            0x00405d40
            0x00405d46
            0x00405d4a
            0x00405d51
            0x00405d51
            0x00405d3e
            0x00405d32
            0x00405d57
            0x00405d5d
            0x00405d5f
            0x00405dec
            0x00405df8
            0x00405dfb
            0x00405e1a
            0x00405e2c
            0x00405e2c
            0x00405e35
            0x00405e39
            0x00405e3e
            0x00405e41
            0x00405e44
            0x00405e4e
            0x00000000
            0x00405e4e
            0x00405e04
            0x00405e08
            0x00000000
            0x00000000
            0x00405e0a
            0x00405e11
            0x00405e13
            0x00405e18
            0x00000000
            0x00000000
            0x00000000
            0x00405d65
            0x00405d65
            0x00405d89
            0x00405d8e
            0x00405d91
            0x00405d94
            0x00405d9e
            0x00405da3
            0x00405daa
            0x00405dad
            0x00405dba
            0x00405dba
            0x00405dc6
            0x00405dc9
            0x00405dcf
            0x00405dd6
            0x00405dd9
            0x00405ddb
            0x00405de1
            0x00405de8
            0x00405de8
            0x00405dd9
            0x00405e53
            0x00405e63
            0x00405e6a
            0x00405e74
            0x00405e77
            0x00405e7e
            0x00405e86
            0x00405e88
            0x00405e90
            0x00405e92
            0x00405e99
            0x00405e99
            0x00405ea2
            0x00405ea5
            0x00405eb9
            0x00405eb9
            0x00405eb9
            0x00405ea7
            0x00405ea7
            0x00405eab
            0x00405eb3
            0x00405eb3
            0x00000000
            0x00405ea5
            0x00405d5f
            0x00405ed2
            0x00405ed2
            0x00405ed5
            0x00405ed5
            0x00000000
            0x00405a27
            0x00405a27
            0x00405a3d
            0x00405a43
            0x00405a55
            0x00405a65
            0x00405a6e
            0x00405a83
            0x00405a8d
            0x00405a8d
            0x00405a6e
            0x00405a9e
            0x00405aa2
            0x00405aa5
            0x00405ab0
            0x00405ab6
            0x00405abe
            0x00405b32
            0x00405b39
            0x00000000
            0x00000000
            0x00000000
            0x00000000
            0x00405abe
            0x00405a21
            0x00405ac0
            0x00405ac0
            0x00405aca
            0x00405ad7
            0x00405ad7
            0x00405adc
            0x00405ae6
            0x00405ae8
            0x00405af5
            0x00405af5
            0x00405b02
            0x00405b10
            0x00405b1c
            0x00405b1c
            0x00405b21
            0x00405b21
            0x00405b2b
            0x00405b2d
            0x00000000
            0x00405ef7
            0x00405ef7
            0x00405efe
            0x00405f00
            0x00405f11
            0x00405f1f
            0x00405f2b
            0x00405f2b
            0x00405f37
            0x00405f39
            0x00405f4a
            0x00405f4d
            0x00405f51
            0x00405f51
            0x00405f5b
            0x00405f68
            0x00405f78
            0x00405f84
            0x00405f90
            0x00405f9c
            0x00405fa8
            0x00405fb4
            0x00405fc0
            0x00405fcb

            APIs
            Strings
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: Startup_close_open_read
            • String ID: sent %d, rcvd %d$%s [%s] %d (%s)$%s [%s] %d (%s) open$Cmd line: $ade:g:G:hi:lLno:p:rs:tcuvw:z$can't open %s$invalid port %s$nc -h for help$no connection$no destination$no port[s] to connect to$sent %d, rcvd %d$wrong
            • API String ID: 4055665335-2008981751
            • Opcode ID: 9c19e91a0597be84dd939bf69b1af8a9804bd9bd547b64a0fcf72bda4b7b3b0d
            • Instruction ID: aa6d466d49ba75014a6fd088382988284f4421623f444755cc5968d3db34c99a
            • Opcode Fuzzy Hash: 9c19e91a0597be84dd939bf69b1af8a9804bd9bd547b64a0fcf72bda4b7b3b0d
            • Instruction Fuzzy Hash: 0B425EA5B10B1089EB10DF66E89136A37A0FB44B88F44442AEF5D677E5EB3CC941C79C
            Uniqueness

            Uniqueness Score: -1.00%

            Control-flow Graph

            • Executed
            • Not Executed
            control_flow_graph 346 402f70-402f9e WSAStartup 347 402fa0-402fa9 346->347 348 402fc6 346->348 349 402fba-402fc4 347->349 350 402fab-402fb8 347->350 351 402fc7-402fc8 348->351 349->351 350->349 350->351
            APIs
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: Startup
            • String ID:
            • API String ID: 724789610-0
            • Opcode ID: fd50942647596e9adff19615f9acac6174bf98626788d581ad528cc4b900d8f1
            • Instruction ID: d979e13f101af2de71beeaa6dfad1e31789a9e17aa052920b34001e835b19141
            • Opcode Fuzzy Hash: fd50942647596e9adff19615f9acac6174bf98626788d581ad528cc4b900d8f1
            • Instruction Fuzzy Hash: A3F08261B11126DCF7115764D9453F83374A745748F5040A2EE88A67D8D67CCD86DB14
            Uniqueness

            Uniqueness Score: -1.00%

            Non-executed Functions

            Strings
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: _dup
            • String ID: UDP listen needs -p arg$] %d ...$any$connect to [%s] from %s [%s] %d$invalid connection to [%s] from %s [%s] %d$listening on [$local getsockname failed$local listen fuxored$post-rcv getsockname failed
            • API String ID: 4290338715-1417769188
            • Opcode ID: 9814f324597a2c128c250115492104a44e538bf979e0cc934165edc76680b334
            • Instruction ID: fae62bbe820c3f8e4ccf25578a5d57cd35fb67886a86de2ca3ddb9177e1a32ff
            • Opcode Fuzzy Hash: 9814f324597a2c128c250115492104a44e538bf979e0cc934165edc76680b334
            • Instruction Fuzzy Hash: B2D12EA571160489EB50DFA6E8913A937A0E788BC8F44812ADF1DA77A5EF3CC940C758
            Uniqueness

            Uniqueness Score: -1.00%

            APIs
            Strings
            • Can't grab %s:%d with bind, xrefs: 00404108
            • Can't get socket, xrefs: 00403F59
            • retrying local %s:%d, xrefs: 004040A8
            • Warning: source routing unavailable on this machine, ignoring, xrefs: 0040416C
            • nnetfd reuseaddr failed, xrefs: 00403FBA
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: _dup
            • String ID: Can't get socket$Can't grab %s:%d with bind$Warning: source routing unavailable on this machine, ignoring$nnetfd reuseaddr failed$retrying local %s:%d
            • API String ID: 4290338715-1629468623
            • Opcode ID: 95de1cbe713bd5b086f9e09bb79259fde098b71a9abc675131fe53aecc5c68b4
            • Instruction ID: 796a5e7de7e8b4d4d34cb24cf692fcf8d0d9c0bba1063527440a6a88acc77b97
            • Opcode Fuzzy Hash: 95de1cbe713bd5b086f9e09bb79259fde098b71a9abc675131fe53aecc5c68b4
            • Instruction Fuzzy Hash: 4EA1ECA1710605CAEB509F6AEC8436937A0E788B98F14822ADF5DA77B4DF3DC941C74C
            Uniqueness

            Uniqueness Score: -1.00%

            APIs
            • RtlCaptureContext.KERNEL32 ref: 00406C74
            • SetUnhandledExceptionFilter.KERNEL32 ref: 00406D12
            • UnhandledExceptionFilter.KERNEL32 ref: 00406D1F
            • GetCurrentProcess.KERNEL32 ref: 00406D25
            • TerminateProcess.KERNEL32 ref: 00406D33
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: ExceptionFilterProcessUnhandled$CaptureContextCurrentTerminate
            • String ID:
            • API String ID: 4227532867-0
            • Opcode ID: 922a79e8f92ef13e376e9addc228e49b43fb90e935189d6fa9032d16f4bdae9e
            • Instruction ID: 806709c38d932ebe020d2be2581943bc65d06b3b3ce8ab5b5d62cd5fcd632005
            • Opcode Fuzzy Hash: 922a79e8f92ef13e376e9addc228e49b43fb90e935189d6fa9032d16f4bdae9e
            • Instruction Fuzzy Hash: C62104B5616F04E9EB009B61FC8039933A4F748788F54012ADB8E23B65EF3CD244878C
            Uniqueness

            Uniqueness Score: -1.00%

            APIs
            • GetSystemTimeAsFileTime.KERNEL32 ref: 00406BC9
            • GetCurrentProcessId.KERNEL32 ref: 00406BD4
            • GetCurrentThreadId.KERNEL32 ref: 00406BDC
            • GetTickCount.KERNEL32 ref: 00406BE6
            • QueryPerformanceCounter.KERNEL32 ref: 00406BF5
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: CurrentTime$CountCounterFilePerformanceProcessQuerySystemThreadTick
            • String ID:
            • API String ID: 1445889803-0
            • Opcode ID: 67c04eecbba078a7038835ea3813aebdbee4ae9d6fcb65bb677d228f3e40501e
            • Instruction ID: 028d8ec5365a5601458f3b91cb52c4a4b563417e76bb7ab21696fc452bac0917
            • Opcode Fuzzy Hash: 67c04eecbba078a7038835ea3813aebdbee4ae9d6fcb65bb677d228f3e40501e
            • Instruction Fuzzy Hash: AD116A76218F5082E7109B11F94031AB3A4F789BA0F591229EFDE53BA8CF7CD414C704
            Uniqueness

            Uniqueness Score: -1.00%

            Control-flow Graph

            • Executed
            • Not Executed
            control_flow_graph 494 4055ff-405608 495 405616-405620 494->495 496 40560a-405611 call 4035db 494->496 498 405622-40562c call 40371e 495->498 499 405633-405655 call 403841 495->499 496->495 498->499 504 405676-405685 499->504 505 405657-405673 499->505 506 4058bb-4058d6 call 402422 504->506 505->504 509 405533-405539 506->509 510 4058dc-4058e6 506->510 513 40589a-4058b5 call 4035db 509->513 514 40553f-40555d 509->514 511 405907-405911 510->511 512 4058e8-405903 call 4073a0 call 4074f8 call 40371e 510->512 516 405930-40593a 511->516 517 405913-405926 _close 511->517 512->511 513->506 514->513 520 40593c-405964 _open 516->520 521 40598d-4059a3 516->521 517->516 526 405966-405977 call 4035db 520->526 527 40597c-405986 call 40371e 520->527 522 4059a5-4059ca call 403841 521->522 523 4059ce-4059d3 521->523 522->523 532 4059f2-4059f7 523->532 533 4059d5-4059e2 523->533 526->527 527->521 539 405a08-405a21 532->539 540 4059f9-405a02 532->540 533->532 538 4059e4-4059ee 533->538 538->532 543 405a27-405a43 539->543 544 405b3e-405b43 539->544 540->539 547 405a92-405abe call 40425f 543->547 548 405a45-405a6e call 403bc0 543->548 545 405b51-405b67 544->545 546 405b45-405b4c call 4035db 544->546 552 405b75-405b8f 545->552 553 405b69-405b70 call 4035db 545->553 546->545 560 405ac0-405aca 547->560 561 405b32-405b39 call 4035db 547->561 548->547 559 405a70-405a8d call 4035db 548->559 557 405b91 552->557 558 405b9a-405ba2 552->558 553->552 557->558 562 405edb-405ef1 558->562 559->547 567 405adc-405ae6 560->567 568 405acc-405ad7 call 4026fd 560->568 561->544 563 405ba7-405bdb call 4074f0 562->563 564 405ef7-405f11 562->564 583 405c0b-405c34 call 403bc0 563->583 584 405bdd-405bfa call 403bc0 563->584 581 405f30-405f3d 564->581 582 405f13-405f2b call 4034eb 564->582 571 405af7-405b02 567->571 572 405ae8-405af5 call 404b7c 567->572 568->567 576 405b21-405b25 571->576 577 405b04-405b1c call 4034eb 571->577 572->571 579 405397-405398 576->579 580 405b2b-405b2d call 407428 576->580 577->576 588 40539b-40539f 579->588 580->561 597 405f43-405f4d 581->597 598 40539a 581->598 582->581 595 405c36-405c53 call 4035db 583->595 596 405c58-405c60 583->596 584->583 600 405bfc-405c06 call 4035db 584->600 588->506 593 4053a5-4053d9 call 40371e * 2 588->593 625 4053e2-4053fe call 4074e8 593->625 595->596 602 405c62-405c7d 596->602 603 405caf-405cb7 596->603 604 405f56-405fcb call 407428 call 4034eb * 6 call 4035db 597->604 605 405f4f-405f51 call 407428 597->605 598->588 600->583 608 405c83-405caa call 403e4e call 403dca 602->608 609 405ebe-405ec6 602->609 603->609 605->604 608->609 614 405cbc-405cc1 609->614 615 405ecc-405ed5 609->615 619 405cc3-405ccd 614->619 620 405ce6-405d26 call 403bc0 call 403ec7 614->620 615->562 619->620 624 405ccf-405cde call 4074c0 619->624 641 405d57-405d5f 620->641 642 405d28-405d32 620->642 624->620 636 405ce0 624->636 632 405403-405413 call 407490 625->632 648 405418-405439 _read 632->648 636->620 646 405d65-405dad call 4034eb 641->646 647 405dec-405dfb 641->647 642->641 645 405d34-405d3e 642->645 645->641 652 405d40-405d51 call 404773 645->652 666 405dbf-405dc9 646->666 667 405daf-405dba call 4026fd 646->667 650 405e1a-405e4e call 4034eb 647->650 651 405dfd-405e08 647->651 654 405447-40545b call 40377b 648->654 655 40543b-405442 call 4035db 648->655 665 405e53-405e88 650->665 651->650 657 405e0a-405e18 651->657 652->641 675 405471-405479 654->675 676 40545d-40546b 654->676 655->654 657->650 657->665 688 405e8a-405e92 665->688 689 405e9b-405ea5 665->689 666->665 669 405dcf-405dd9 666->669 667->666 669->665 673 405ddb-405dea call 404b7c 669->673 673->665 680 40547b-405497 call 4073f8 675->680 681 40549c-4054ba call 4074f0 675->681 676->675 680->681 690 4054bc 681->690 691 4054bf-4054dd call 4074f0 681->691 688->689 692 405ea7-405eb7 call 403dca 689->692 693 405eb9 689->693 690->691 698 4054e2-4054f6 691->698 699 4054df 691->699 692->609 693->609 700 405524-405529 698->700 699->698 701 4054f8-4054fd 700->701 702 40552b-40552e 700->702 703 405504-40550d 701->703 704 4054ff-405502 701->704 702->506 705 405520 703->705 706 40550f-40551d 703->706 704->705 705->700 706->705
            C-Code - Quality: 20%
            			E004055FF(void* __ecx, void* __edx, void* __edi, void* __esp, signed long long __rbx, signed long long __rdx, void* __rsi, void* __r8, void* __r9, signed int _a16, long long _a24, long long _a32) {
            				void* _v24;
            				signed int _v32;
            				void* _v40;
            				signed int _v42;
            				signed short _v44;
            				signed int _v46;
            				signed int _v48;
            				signed long long _v56;
            				intOrPtr _v60;
            				signed int _v74;
            				long long _v88;
            				signed int _t111;
            				signed int _t135;
            				signed int _t136;
            				void* _t151;
            				signed int _t154;
            				signed int _t161;
            				signed int _t163;
            				signed int _t165;
            				signed int _t194;
            				intOrPtr _t200;
            				signed int _t214;
            				void* _t277;
            				signed int _t278;
            				signed int _t279;
            				void* _t280;
            				signed int _t281;
            				void* _t282;
            				signed int _t320;
            				long long _t321;
            				signed long long _t322;
            				signed int* _t323;
            				signed long long _t327;
            				signed long long _t330;
            				signed long long _t331;
            				intOrPtr _t334;
            				signed long long _t338;
            				signed long long _t341;
            				signed long long _t344;
            				signed int _t350;
            				signed long long _t352;
            				signed int _t359;
            				signed int* _t360;
            				signed long long _t364;
            				intOrPtr* _t366;
            				long long _t367;
            				long long* _t370;
            				signed long long _t390;
            				long long _t400;
            				long long _t405;
            				char* _t406;
            				char* _t407;
            				long long _t457;
            				signed int _t460;
            				void* _t462;
            
            				_t473 = __r9;
            				_t462 = __rsi;
            				_t452 = __rdx;
            				_t403 = __rbx;
            				_t282 = __esp;
            				_t277 = __edi;
            				if( *0x40b078 > 8) {
            					E004035DB(_t240, __eflags, __rbx, "too many -g hops", __rdx, _t470, __r9);
            				}
            				_t320 =  *0x40b0a8;
            				__eflags = _t320;
            				if(_t320 == 0) {
            					E0040371E(0x50, _t320, _t452);
            					 *0x40b0a8 = _t320;
            				}
            				_t321 =  *0x40b040;
            				E00403841( *0x40b0d2 & 0xffff, _t321, _t452, _t473);
            				_v88 = _t321;
            				__eflags = _v88;
            				if(__eflags != 0) {
            					_t460 =  *0x40b078 << 3;
            					__eflags = _t460;
            					 *((long long*)( *0x40b0a8 + _t460)) = _v88;
            				}
            				 *0x40b078 =  *0x40b078 + 1;
            				while(1) {
            					L31:
            					_t322 = _a24;
            					_t470 = "ade:g:G:hi:lLno:p:rs:tcuvw:z";
            					_t452 = _t322;
            					_t240 = _a16;
            					_t278 = E00402422(_a16, _t322, "ade:g:G:hi:lLno:p:rs:tcuvw:z");
            					if(_t278 != 0xffffffff) {
            						break;
            					}
            					if(( *0x40b0d6 & 0x0000ffff) != 0) {
            						L004073A0();
            						L004074F8();
            						_t242 = 0x10000;
            						E0040371E(0x10000, _t322, _t452);
            						_v56 = _t322;
            					}
            					_t327 =  *0x40b0e8;
            					if(_t327 != 0) {
            						_t242 = 0;
            						L00407358();
            						 *0x40b0d4 = 0;
            						 *0x40b074 = 0;
            					}
            					_t111 =  *0x40b0d4 & 0x0000ffff;
            					if(_t111 != 0) {
            						_t327 =  *0x40b0c0;
            						r8d = 0x1b4;
            						L00407370();
            						 *0x40b074 = _t111;
            						_t296 =  *0x40b074;
            						if( *0x40b074 <= 0) {
            							_t327 =  *0x40b0c0;
            							_t452 = _t327;
            							E004035DB(_t240, _t296, _t403, "can\'t open %s", _t327, _t470, _t473);
            						}
            						_t242 = 0x64;
            						E0040371E(0x64, _t327, _t452);
            						 *0x40b0c0 = _t327;
            					}
            					_t330 =  *((intOrPtr*)((_t327 << 3) + _a24));
            					if(_t330 != 0) {
            						_t400 =  *((intOrPtr*)((_t330 << 3) + _a24));
            						E00403841( *0x40b0d2 & 0xffff, _t400, _t452, _t473);
            						_v24 = _t400;
            					}
            					if(_v24 != 0 && _v24 + 0x1c0 != 0) {
            						_v40 = _v24 + 0x1c0;
            					}
            					if(_v40 != 0) {
            						 *0x40b048 =  *0x40b048 + 1;
            					}
            					_t331 = __imp___errno;
            					 *_t331();
            					 *_t331 = 0;
            					if(( *0x40b0d0 & 0x0000ffff) == 0) {
            						L61:
            						_t313 = _v40;
            						if(_v40 == 0) {
            							E004035DB(_t240, _t313, _t403, "no destination", _t452, _t470, _t473);
            						}
            						_t334 =  *((intOrPtr*)((_t331 << 3) + _a24));
            						_t314 = _t334;
            						if(_t334 == 0) {
            							E004035DB(_t240, _t314, _t403, "no port[s] to connect to", _t452, _t470, _t473);
            						}
            						_t338 =  *((intOrPtr*)((_t334 + 1 << 3) + _a24));
            						if(_t338 != 0) {
            							 *0x40802c = 0;
            						}
            						_v44 = _v42 & 0x0000ffff;
            						while(1) {
            							_t341 =  *((_t338 << 3) + _a24);
            							if(_t341 == 0) {
            								break;
            							}
            							_v74 = 0;
            							_v46 = _v74 & 0x0000ffff;
            							_t344 =  *((intOrPtr*)((_t341 << 3) + _a24));
            							L004074F0();
            							_t403 = _t344;
            							__eflags = _t403;
            							if(_t403 != 0) {
            								 *_t403 = 0;
            								_t403 = _t403 + 1;
            								_v46 = E00403BC0(0, _t403);
            								__eflags = _v46;
            								if(__eflags == 0) {
            									_t452 = _t403;
            									E004035DB(_t242, __eflags, _t403, "invalid port %s", _t403, _t471, _t473);
            								}
            							}
            							_t338 =  *((intOrPtr*)((_t344 << 3) + _a24));
            							_t413 = _t338;
            							_v74 = E00403BC0(0, _t338);
            							__eflags = _v74;
            							if(_v74 == 0) {
            								_t359 = (_t338 << 3) + _a24;
            								__eflags = _t359;
            								_t338 =  *_t359;
            								_t452 = _t338;
            								_t413 = "invalid port %s";
            								E004035DB(_t242, _t359, _t403, "invalid port %s", _t338, _t471, _t473);
            							}
            							__eflags = (_v46 & 0x0000ffff) - _v74;
            							if((_v46 & 0x0000ffff) <= _v74) {
            								_v48 = _v74 & 0x0000ffff;
            							} else {
            								 *0x40802c = 0;
            								_v48 = _v46 & 0x0000ffff;
            								__eflags =  *0x40b0d6 & 0x0000ffff;
            								if(( *0x40b0d6 & 0x0000ffff) != 0) {
            									_t242 = _v46 & 0x0000ffff;
            									r8d = _v46 & 0x0000ffff;
            									E00403E4E(_v74 & 0x0000ffff, _v56, _v56);
            									_t338 = _v56;
            									_t413 = _t338;
            									_v48 = E00403DCA(_t279, _t338, _t338);
            								}
            							}
            							while(1) {
            								__eflags = (_v74 & 0x0000ffff) - _v48;
            								if((_v74 & 0x0000ffff) > _v48) {
            									break;
            								}
            								__eflags = _v42;
            								if(_v42 == 0) {
            									_t163 =  *0x40b0d6 & 0x0000ffff;
            									__eflags = _t163;
            									if(_t163 != 0) {
            										L004074C0();
            										_v44 = _t163;
            										__eflags = _v44 - 0x1fff;
            										if(_v44 <= 0x1fff) {
            											_t73 =  &_v44;
            											 *_t73 = _v44 + 0x2000;
            											__eflags =  *_t73;
            										}
            									}
            								}
            								_t242 = 0;
            								_v48 = E00403BC0(_v48 & 0x0000ffff, _t413);
            								_t347 = _v40;
            								r9d = _v44 & 0x0000ffff;
            								_t471 = _v32;
            								 *0x408010 = E00403EC7(_v48 & 0x0000ffff, _v40, _t452, _v32, _t473);
            								_t135 =  *0x408010; // 0xffffffff
            								__eflags = _t135;
            								if(_t135 > 0) {
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) != 0) {
            										__eflags =  *0x40b0d8 & 0x0000ffff;
            										if(( *0x40b0d8 & 0x0000ffff) != 0) {
            											_t161 =  *0x408010; // 0xffffffff
            											_t452 = _v40;
            											_t242 = _t161;
            											 *0x408010 = E00404773(_t161, _t347, _v40);
            										}
            									}
            								}
            								_t136 =  *0x408010; // 0xffffffff
            								__eflags = _t136;
            								if(_t136 <= 0) {
            									_t279 = 1;
            									__eflags =  *0x40802c & 0x0000ffff;
            									if(( *0x40802c & 0x0000ffff) != 0) {
            										L94:
            										_t350 = _v24 + 0x100;
            										__eflags = _t350;
            										_t351 = _v24;
            										_a32 =  *0x40b0b8;
            										r9d = _v48 & 0x0000ffff;
            										_t471 = _t350;
            										_t452 = _v24;
            										E004034EB("%s [%s] %d (%s)", _v24, _t350, _t473);
            										goto L95;
            									}
            									__eflags = ( *0x40b0da & 0x0000ffff) - 1;
            									if(( *0x40b0da & 0x0000ffff) > 1) {
            										goto L94;
            									}
            									_t351 = __imp__WSAGetLastError;
            									_t151 =  *__imp__WSAGetLastError();
            									__eflags = _t151 - 0x274d;
            									if(_t151 == 0x274d) {
            										goto L95;
            									}
            									goto L94;
            								} else {
            									_t279 = 0;
            									_a32 =  *0x40b0b8;
            									r9d = _v48 & 0x0000ffff;
            									_t471 = _v24 + 0x100;
            									_t452 = _v24;
            									E004034EB("%s [%s] %d (%s) open", _v24, _v24 + 0x100, _t473);
            									_t351 =  *0x40b0e8;
            									__eflags = _t351;
            									if(_t351 != 0) {
            										E004026FD(_t242, _t351, _t351, _t471);
            									}
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) == 0) {
            										_t351 =  *0x40b0e8;
            										__eflags = _t351;
            										if(_t351 == 0) {
            											_t154 =  *0x408010; // 0xffffffff
            											_t242 = _t154;
            											_t279 = E00404B7C(_t154, _t277, _t282, _t471, _t473);
            										}
            									}
            									L95:
            									_t352 = __imp__shutdown;
            									 *_t352();
            									_t413 = _t352;
            									_t338 = __imp__closesocket;
            									 *_t338();
            									__eflags =  *0x40b0cc;
            									if( *0x40b0cc != 0) {
            										_t242 =  *0x40b0cc;
            										_t338 = __imp___sleep;
            										 *_t338();
            									}
            									__eflags =  *0x40b0d6 & 0x0000ffff;
            									if(( *0x40b0d6 & 0x0000ffff) == 0) {
            										_t92 =  &_v48;
            										 *_t92 = _v48 - 1;
            										__eflags =  *_t92;
            									} else {
            										_t338 = _v56;
            										_t413 = _t338;
            										_v48 = E00403DCA(_t279, _t338, _t338);
            									}
            									continue;
            								}
            							}
            							_t165 =  *0x40b048 + 1;
            							__eflags = _t165;
            							 *0x40b048 = _t165;
            						}
            						_t360 = __imp___errno;
            						 *_t360();
            						 *_t360 = 0;
            						if(( *0x40b0da & 0x0000ffff) > 1) {
            							r8d =  *0x40b080;
            							E004034EB("sent %d, rcvd %d", _t452, _t471, _t473);
            						}
            						 *__imp__WSACleanup();
            						if(_v60 == 1) {
            							goto L3;
            						} else {
            							_t319 =  *0x40802c & 0x0000ffff;
            							if(( *0x40802c & 0x0000ffff) != 0) {
            								L00407428();
            							}
            							L00407428();
            							 *0x40b0da = 1;
            							E004034EB("[v1.12 NT http://eternallybored.org/misc/netcat/]\nconnect to somewhere:\tnc [-options] hostname port[s] [ports] ... \nlisten for inbound:\tnc -l -p port [options] [hostname] [port]\noptions:", _t452, _t471, _t473);
            							E004034EB("\t-d\t\tdetach from console, background mode\n", _t452, _t471, _t473);
            							E004034EB("\t-e prog\t\tinbound program to exec [dangerous!!]", _t452, _t471, _t473);
            							E004034EB("\t-g gateway\tsource-routing hop point[s], up to 8\n\t-G num\t\tsource-routing pointer: 4, 8, 12, ...\n\t-h\t\tthis cruft\n\t-i secs\t\tdelay interval for lines sent, ports scanned\n\t-l\t\tlisten mode, for inbound connects\n\t-L\t\tlisten harder, re-listen on socket close\n\t-n\t\tnumeric-only IP addresses, no DNS\n\t-o file\t\thex dump of traffic\n\t-p port\t\tlocal port number\n\t-r\t\trandomize local and remote ports\n\t-s addr\t\tlocal source address", _t452, _t471, _t473);
            							E004034EB("\t-t\t\tanswer TELNET negotiation", _t452, _t471, _t473);
            							E004034EB("\t-c\t\tsend CRLF instead of just LF\n\t-u\t\tUDP mode\n\t-v\t\tverbose [use twice to be more verbose]\n\t-w secs\t\ttimeout for connects and final net reads\n\t-z\t\tzero-I/O mode [used for scanning]", _t452, _t471, _t473);
            							E004035DB(0, _t319, _t403, "port numbers can be individual or ranges: m-n [inclusive]", _t452, _t471, _t473);
            							return 0;
            						}
            					} else {
            						_v48 = 0;
            						_t364 =  *((intOrPtr*)((_t331 << 3) + _a24));
            						if(_t364 != 0) {
            							_t390 =  *((intOrPtr*)((_t364 << 3) + _a24));
            							_v48 = E00403BC0(0, _t390);
            							if(_v48 == 0) {
            								_t452 =  *((intOrPtr*)((_t390 << 3) + _a24));
            								E004035DB(_t240, (_t390 << 3) + _a24, _t403, "invalid port %s",  *((intOrPtr*)((_t390 << 3) + _a24)), _t470, _t473);
            							}
            						}
            						_t331 = _v40;
            						r9d = _v42 & 0x0000ffff;
            						_t471 = _v32;
            						 *0x408010 = E0040425F(_v48 & 0x0000ffff, _t331, _v32, _t473);
            						_t194 =  *0x408010; // 0xffffffff
            						if(_t194 <= 0) {
            							L60:
            							E004035DB(_t240, _t312, _t403, "no connection", _t452, _t471, _t473);
            							goto L61;
            						} else {
            							_t365 =  *0x40b0e8;
            							if( *0x40b0e8 != 0) {
            								E004026FD(_t240, _t365, _t365, _t471);
            							}
            							_t331 =  *0x40b0e8;
            							if(_t331 == 0) {
            								_t214 =  *0x408010; // 0xffffffff
            								_t278 = E00404B7C(_t214, _t277, _t282, _t471, _t473);
            							}
            							if(( *0x40b0da & 0x0000ffff) > 1) {
            								r8d =  *0x40b080;
            								E004034EB(" sent %d, rcvd %d", _t452, _t471, _t473);
            							}
            							_t312 = _v60 - 1;
            							if(_v60 == 1) {
            								L3:
            								if(_a16 == 1) {
            									_t366 = _a24;
            									E0040371E(0x400, _t366, _t452);
            									_a24 = _t366;
            									_t367 = _a24;
            									 *_t367 =  *_t366;
            									E0040371E(0x2000, _t367, _t452);
            									_t405 = _t367;
            									 *((long long*)(_a24 + 8)) = _t405;
            									_t370 = __imp____iob_func;
            									 *_t370();
            									_t6 = _t370 + 0x60; // 0x60
            									_t473 = _t6;
            									r8d = 0xa;
            									L004074E8(); // executed
            									_t200 =  *__imp____iob_func();
            									L00407490();
            									r8d = 0x2000;
            									_t457 = _t405;
            									L00407368(); // executed
            									 *0x40b07c = _t200;
            									_t285 =  *0x40b07c;
            									if( *0x40b07c == 0) {
            										E004035DB(0, _t285, _t405, "wrong", _t457, _t471, _t473);
            									}
            									_t280 = E0040377B( *0x40b07c, _t405);
            									if(_t280 != 0) {
            										 *0x40b07c =  *0x40b07c - _t280;
            									}
            									if( *0x40b07c != 0) {
            										L004073F8();
            									}
            									L004074F0();
            									_t406 =  *((intOrPtr*)(_a24 + 8));
            									if(_t406 != 0) {
            										 *_t406 = 0;
            									}
            									L004074F0();
            									_t407 =  *((intOrPtr*)(_a24 + 8));
            									if(_t407 != 0) {
            										 *_t407 = 0;
            									}
            									_t403 =  *((intOrPtr*)(_a24 + 8)) + 1;
            									_t281 = 2;
            									while(( *_t403 & 0x000000ff) != 0) {
            										__eflags = ( *_t403 & 0x000000ff) - 0x20;
            										if(( *_t403 & 0x000000ff) != 0x20) {
            											_t11 = _t403 - 1; // -2
            											__eflags =  *_t11 & 0x000000ff;
            											if(( *_t11 & 0x000000ff) == 0) {
            												 *((_t281 << 3) + _a24) = _t403;
            												_t281 = _t281 + 1;
            												__eflags = _t281;
            											}
            										} else {
            											 *_t403 = 0;
            										}
            										_t403 = _t403 + 1;
            										__eflags = _t403;
            									}
            									_a16 = _t281;
            								}
            								continue;
            							} else {
            								_t240 = _t278;
            								L00407428();
            								goto L60;
            							}
            						}
            					}
            				}
            				_t14 = _t462 - 0x47; // -71
            				__eflags = _t14 - 0x33;
            				if(__eflags > 0) {
            					_t323 = __imp___errno;
            					 *_t323();
            					 *_t323 = 0;
            					E004035DB(_t240, __eflags, _t403, "nc -h for help", _t452, "ade:g:G:hi:lLno:p:rs:tcuvw:z", _t473);
            					goto L31;
            				}
            				_t452 =  *((intOrPtr*)(0x409b50 + _t322 * 4));
            				goto __rax;
            			}


























































            0x004055ff
            0x004055ff
            0x004055ff
            0x004055ff
            0x004055ff
            0x004055ff
            0x00405608
            0x00405611
            0x00405611
            0x00405616
            0x0040561d
            0x00405620
            0x00405627
            0x0040562c
            0x0040562c
            0x0040563d
            0x00405647
            0x0040564c
            0x00405650
            0x00405655
            0x00405667
            0x00405667
            0x00405673
            0x00405673
            0x0040567f
            0x004058bb
            0x004058bb
            0x004058bb
            0x004058bf
            0x004058c6
            0x004058c9
            0x004058d1
            0x004058d6
            0x00000000
            0x00000000
            0x004058e6
            0x004058ed
            0x004058f4
            0x004058f9
            0x004058fe
            0x00405903
            0x00405903
            0x00405907
            0x00405911
            0x00405913
            0x00405918
            0x0040591d
            0x00405926
            0x00405926
            0x00405930
            0x0040593a
            0x0040593c
            0x00405943
            0x00405951
            0x00405956
            0x00405962
            0x00405964
            0x00405966
            0x0040596d
            0x00405977
            0x00405977
            0x0040597c
            0x00405981
            0x00405986
            0x00405986
            0x0040599d
            0x004059a3
            0x004059bf
            0x004059c5
            0x004059ca
            0x004059ca
            0x004059d3
            0x004059ee
            0x004059ee
            0x004059f7
            0x00405a02
            0x00405a02
            0x00405a08
            0x00405a0f
            0x00405a11
            0x00405a21
            0x00405b3e
            0x00405b3e
            0x00405b43
            0x00405b4c
            0x00405b4c
            0x00405b61
            0x00405b64
            0x00405b67
            0x00405b70
            0x00405b70
            0x00405b89
            0x00405b8f
            0x00405b91
            0x00405b91
            0x00405b9e
            0x00405edb
            0x00405eeb
            0x00405ef1
            0x00000000
            0x00000000
            0x00405ba7
            0x00405bb1
            0x00405bc5
            0x00405bd0
            0x00405bd5
            0x00405bd8
            0x00405bdb
            0x00405bdd
            0x00405be0
            0x00405bf1
            0x00405bf5
            0x00405bfa
            0x00405bfc
            0x00405c06
            0x00405c06
            0x00405bfa
            0x00405c1b
            0x00405c23
            0x00405c2b
            0x00405c2f
            0x00405c34
            0x00405c42
            0x00405c42
            0x00405c46
            0x00405c49
            0x00405c4c
            0x00405c53
            0x00405c53
            0x00405c5c
            0x00405c60
            0x00405cb3
            0x00405c62
            0x00405c62
            0x00405c6f
            0x00405c7a
            0x00405c7d
            0x00405c83
            0x00405c8f
            0x00405c95
            0x00405c9a
            0x00405c9e
            0x00405ca6
            0x00405ca6
            0x00405c7d
            0x00405ebe
            0x00405ec2
            0x00405ec6
            0x00000000
            0x00000000
            0x00405cbc
            0x00405cc1
            0x00405cc3
            0x00405cca
            0x00405ccd
            0x00405ccf
            0x00405cd4
            0x00405cd8
            0x00405cde
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405cde
            0x00405ccd
            0x00405cec
            0x00405cf6
            0x00405d06
            0x00405d0a
            0x00405d0d
            0x00405d18
            0x00405d1e
            0x00405d24
            0x00405d26
            0x00405d2f
            0x00405d32
            0x00405d3b
            0x00405d3e
            0x00405d40
            0x00405d46
            0x00405d4a
            0x00405d51
            0x00405d51
            0x00405d3e
            0x00405d32
            0x00405d57
            0x00405d5d
            0x00405d5f
            0x00405dec
            0x00405df8
            0x00405dfb
            0x00405e1a
            0x00405e2c
            0x00405e2c
            0x00405e35
            0x00405e39
            0x00405e3e
            0x00405e41
            0x00405e44
            0x00405e4e
            0x00000000
            0x00405e4e
            0x00405e04
            0x00405e08
            0x00000000
            0x00000000
            0x00405e0a
            0x00405e11
            0x00405e13
            0x00405e18
            0x00000000
            0x00000000
            0x00000000
            0x00405d65
            0x00405d65
            0x00405d89
            0x00405d8e
            0x00405d91
            0x00405d94
            0x00405d9e
            0x00405da3
            0x00405daa
            0x00405dad
            0x00405dba
            0x00405dba
            0x00405dc6
            0x00405dc9
            0x00405dcf
            0x00405dd6
            0x00405dd9
            0x00405ddb
            0x00405de1
            0x00405de8
            0x00405de8
            0x00405dd9
            0x00405e53
            0x00405e63
            0x00405e6a
            0x00405e74
            0x00405e77
            0x00405e7e
            0x00405e86
            0x00405e88
            0x00405e90
            0x00405e92
            0x00405e99
            0x00405e99
            0x00405ea2
            0x00405ea5
            0x00405eb9
            0x00405eb9
            0x00405eb9
            0x00405ea7
            0x00405ea7
            0x00405eab
            0x00405eb3
            0x00405eb3
            0x00000000
            0x00405ea5
            0x00405d5f
            0x00405ed2
            0x00405ed2
            0x00405ed5
            0x00405ed5
            0x00405ef7
            0x00405efe
            0x00405f00
            0x00405f11
            0x00405f1f
            0x00405f2b
            0x00405f2b
            0x00405f37
            0x00405f3d
            0x00000000
            0x00405f43
            0x00405f4a
            0x00405f4d
            0x00405f51
            0x00405f51
            0x00405f5b
            0x00405f68
            0x00405f78
            0x00405f84
            0x00405f90
            0x00405f9c
            0x00405fa8
            0x00405fb4
            0x00405fc0
            0x00405fcb
            0x00405fcb
            0x00405a27
            0x00405a27
            0x00405a3d
            0x00405a43
            0x00405a55
            0x00405a65
            0x00405a6e
            0x00405a83
            0x00405a8d
            0x00405a8d
            0x00405a6e
            0x00405a9e
            0x00405aa2
            0x00405aa5
            0x00405ab0
            0x00405ab6
            0x00405abe
            0x00405b32
            0x00405b39
            0x00000000
            0x00405ac0
            0x00405ac0
            0x00405aca
            0x00405ad7
            0x00405ad7
            0x00405adc
            0x00405ae6
            0x00405ae8
            0x00405af5
            0x00405af5
            0x00405b02
            0x00405b10
            0x00405b1c
            0x00405b1c
            0x00405b21
            0x00405b25
            0x0040539b
            0x0040539f
            0x004053a5
            0x004053b1
            0x004053b6
            0x004053ba
            0x004053be
            0x004053c6
            0x004053cb
            0x004053d6
            0x004053d9
            0x004053e0
            0x004053e2
            0x004053ed
            0x004053f0
            0x004053fe
            0x0040540a
            0x00405413
            0x00405418
            0x0040541e
            0x00405426
            0x0040542b
            0x00405437
            0x00405439
            0x00405442
            0x00405442
            0x00405457
            0x0040545b
            0x0040546b
            0x0040546b
            0x00405479
            0x00405497
            0x00405497
            0x004054af
            0x004054b4
            0x004054ba
            0x004054bc
            0x004054bc
            0x004054d2
            0x004054d7
            0x004054dd
            0x004054df
            0x004054df
            0x004054ed
            0x004054f1
            0x00405524
            0x004054fb
            0x004054fd
            0x00405504
            0x0040550b
            0x0040550d
            0x0040551a
            0x0040551d
            0x0040551d
            0x0040551d
            0x004054ff
            0x004054ff
            0x004054ff
            0x00405520
            0x00405520
            0x00405520
            0x0040552b
            0x0040552b
            0x00000000
            0x00405b2b
            0x00405b2b
            0x00405b2d
            0x00000000
            0x00405b2d
            0x00405b25
            0x00405abe
            0x00405a21
            0x00405533
            0x00405536
            0x00405539
            0x0040589a
            0x004058a1
            0x004058a3
            0x004058b0
            0x00000000
            0x004058b0
            0x00405553
            0x00405561

            APIs
            Strings
            • ade:g:G:hi:lLno:p:rs:tcuvw:z, xrefs: 004058BF
            • no destination, xrefs: 00405B45
            • -ddetach from console, background mode, xrefs: 00405F7D
            • port numbers can be individual or ranges: m-n [inclusive], xrefs: 00405FB9
            • [v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:, xrefs: 00405F71
            • too many -g hops, xrefs: 0040560A
            • -g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum, xrefs: 00405F95
            • sent %d, rcvd %d, xrefs: 00405B15
            • sent %d, rcvd %d, xrefs: 00405F24
            • -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning], xrefs: 00405FAD
            • no port[s] to connect to, xrefs: 00405B69
            • no connection, xrefs: 00405B32
            • invalid port %s, xrefs: 00405A86
            • -e proginbound program to exec [dangerous!!], xrefs: 00405F89
            • -tanswer TELNET negotiation, xrefs: 00405FA1
            • can't open %s, xrefs: 00405970
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: _close_open
            • String ID: -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning]$-ddetach from console, background mode$-e proginbound program to exec [dangerous!!]$-g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum$-tanswer TELNET negotiation$ sent %d, rcvd %d$[v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:$ade:g:G:hi:lLno:p:rs:tcuvw:z$can't open %s$invalid port %s$no connection$no destination$no port[s] to connect to$port numbers can be individual or ranges: m-n [inclusive]$sent %d, rcvd %d$too many -g hops
            • API String ID: 3007559463-909044548
            • Opcode ID: 87ca6f6635c9188b87a7fbc92b53bcf131d77999c7084ea5157d1f83321a5bb5
            • Instruction ID: 8e437f1b80d787de8f8b3079899cb673138f008f2ce05e725b2ae541dc826503
            • Opcode Fuzzy Hash: 87ca6f6635c9188b87a7fbc92b53bcf131d77999c7084ea5157d1f83321a5bb5
            • Instruction Fuzzy Hash: 87B12BA1B00A0486EB10EF26E89136A37A0E744798F44442AEB5DA77E5EF3CD945C79C
            Uniqueness

            Uniqueness Score: -1.00%

            Control-flow Graph

            • Executed
            • Not Executed
            control_flow_graph 707 40568a-4056d2 call 405f60 call 4074b0 713 4058b7-4058b8 707->713 714 4056d8-4056ee call 4035db 707->714 716 4058bb-4058d6 call 402422 713->716 714->716 720 405533-405539 716->720 721 4058dc-4058e6 716->721 724 40589a-4058b5 call 4035db 720->724 725 40553f-40555d 720->725 722 405907-405911 721->722 723 4058e8-405903 call 4073a0 call 4074f8 call 40371e 721->723 727 405930-40593a 722->727 728 405913-405926 _close 722->728 723->722 724->716 725->724 731 40593c-405964 _open 727->731 732 40598d-4059a3 727->732 728->727 737 405966-405977 call 4035db 731->737 738 40597c-405986 call 40371e 731->738 733 4059a5-4059ca call 403841 732->733 734 4059ce-4059d3 732->734 733->734 743 4059f2-4059f7 734->743 744 4059d5-4059e2 734->744 737->738 738->732 750 405a08-405a21 743->750 751 4059f9-405a02 743->751 744->743 749 4059e4-4059ee 744->749 749->743 754 405a27-405a43 750->754 755 405b3e-405b43 750->755 751->750 758 405a92-405abe call 40425f 754->758 759 405a45-405a6e call 403bc0 754->759 756 405b51-405b67 755->756 757 405b45-405b4c call 4035db 755->757 763 405b75-405b8f 756->763 764 405b69-405b70 call 4035db 756->764 757->756 771 405ac0-405aca 758->771 772 405b32-405b39 call 4035db 758->772 759->758 770 405a70-405a8d call 4035db 759->770 768 405b91 763->768 769 405b9a-405ba2 763->769 764->763 768->769 773 405edb-405ef1 769->773 770->758 778 405adc-405ae6 771->778 779 405acc-405ad7 call 4026fd 771->779 772->755 774 405ba7-405bdb call 4074f0 773->774 775 405ef7-405f11 773->775 794 405c0b-405c34 call 403bc0 774->794 795 405bdd-405bfa call 403bc0 774->795 792 405f30-405f3d 775->792 793 405f13-405f2b call 4034eb 775->793 782 405af7-405b02 778->782 783 405ae8-405af5 call 404b7c 778->783 779->778 787 405b21-405b25 782->787 788 405b04-405b1c call 4034eb 782->788 783->782 790 405397-405398 787->790 791 405b2b-405b2d call 407428 787->791 788->787 799 40539b-40539f 790->799 791->772 808 405f43-405f4d 792->808 809 40539a 792->809 793->792 806 405c36-405c53 call 4035db 794->806 807 405c58-405c60 794->807 795->794 811 405bfc-405c06 call 4035db 795->811 799->716 804 4053a5-4053d9 call 40371e * 2 799->804 836 4053e2-4053fe call 4074e8 804->836 806->807 813 405c62-405c7d 807->813 814 405caf-405cb7 807->814 815 405f56-405fcb call 407428 call 4034eb * 6 call 4035db 808->815 816 405f4f-405f51 call 407428 808->816 809->799 811->794 819 405c83-405caa call 403e4e call 403dca 813->819 820 405ebe-405ec6 813->820 814->820 816->815 819->820 825 405cbc-405cc1 820->825 826 405ecc-405ed5 820->826 830 405cc3-405ccd 825->830 831 405ce6-405d26 call 403bc0 call 403ec7 825->831 826->773 830->831 835 405ccf-405cde call 4074c0 830->835 852 405d57-405d5f 831->852 853 405d28-405d32 831->853 835->831 847 405ce0 835->847 843 405403-405413 call 407490 836->843 859 405418-405439 _read 843->859 847->831 857 405d65-405dad call 4034eb 852->857 858 405dec-405dfb 852->858 853->852 856 405d34-405d3e 853->856 856->852 863 405d40-405d51 call 404773 856->863 877 405dbf-405dc9 857->877 878 405daf-405dba call 4026fd 857->878 861 405e1a-405e4e call 4034eb 858->861 862 405dfd-405e08 858->862 865 405447-40545b call 40377b 859->865 866 40543b-405442 call 4035db 859->866 876 405e53-405e88 861->876 862->861 868 405e0a-405e18 862->868 863->852 886 405471-405479 865->886 887 40545d-40546b 865->887 866->865 868->861 868->876 899 405e8a-405e92 876->899 900 405e9b-405ea5 876->900 877->876 880 405dcf-405dd9 877->880 878->877 880->876 884 405ddb-405dea call 404b7c 880->884 884->876 891 40547b-405497 call 4073f8 886->891 892 40549c-4054ba call 4074f0 886->892 887->886 891->892 901 4054bc 892->901 902 4054bf-4054dd call 4074f0 892->902 899->900 903 405ea7-405eb7 call 403dca 900->903 904 405eb9 900->904 901->902 909 4054e2-4054f6 902->909 910 4054df 902->910 903->820 904->820 911 405524-405529 909->911 910->909 912 4054f8-4054fd 911->912 913 40552b-40552e 911->913 914 405504-40550d 912->914 915 4054ff-405502 912->915 913->716 916 405520 914->916 917 40550f-40551d 914->917 915->916 916->911 917->916
            C-Code - Quality: 17%
            			E0040568A(void* __ecx, void* __edx, void* __edi, void* __esp, signed long long __rbx, void* __rsi, void* __r8, void* __r9, signed int _a16, long long _a24, long long _a32) {
            				void* _v24;
            				signed int _v32;
            				void* _v40;
            				signed int _v42;
            				signed short _v44;
            				signed int _v46;
            				signed int _v48;
            				signed long long _v56;
            				intOrPtr _v60;
            				signed int _v74;
            				signed int _t94;
            				signed int _t106;
            				signed int _t130;
            				signed int _t131;
            				void* _t146;
            				signed int _t149;
            				signed int _t156;
            				signed int _t158;
            				signed int _t160;
            				signed int _t189;
            				intOrPtr _t195;
            				signed int _t209;
            				void* _t269;
            				signed int _t270;
            				signed int _t271;
            				void* _t272;
            				signed int _t273;
            				void* _t274;
            				signed int* _t312;
            				signed long long _t314;
            				signed int* _t315;
            				signed long long _t320;
            				signed long long _t323;
            				signed long long _t324;
            				intOrPtr _t327;
            				signed long long _t331;
            				signed long long _t334;
            				signed long long _t337;
            				signed int _t343;
            				signed long long _t345;
            				signed int _t352;
            				signed int* _t353;
            				signed long long _t357;
            				intOrPtr* _t359;
            				long long _t360;
            				long long* _t363;
            				signed long long _t383;
            				long long _t393;
            				long long _t396;
            				char* _t397;
            				char* _t398;
            				long long _t450;
            				void* _t452;
            
            				_t463 = __r9;
            				_t452 = __rsi;
            				_t394 = __rbx;
            				_t274 = __esp;
            				_t269 = __edi;
            				_t312 = __imp___errno;
            				_t94 =  *_t312();
            				 *_t312 = 0;
            				L105();
            				L004074B0();
            				 *0x40b0cc = _t94 & 0x0000ffff;
            				 *0x40b0cc =  *0x40b0cc * 0x3e8;
            				if( *0x40b0cc == 0) {
            					E004035DB(_t235, __eflags, __rbx, "invalid interval time %s",  *0x40b040, _t460, __r9);
            				}
            				while(1) {
            					L27:
            					_t314 = _a24;
            					_t460 = "ade:g:G:hi:lLno:p:rs:tcuvw:z";
            					_t443 = _t314;
            					_t235 = _a16;
            					_t270 = E00402422(_a16, _t314, "ade:g:G:hi:lLno:p:rs:tcuvw:z");
            					if(_t270 != 0xffffffff) {
            						break;
            					}
            					if(( *0x40b0d6 & 0x0000ffff) != 0) {
            						L004073A0();
            						L004074F8();
            						_t236 = 0x10000;
            						E0040371E(0x10000, _t314, _t443);
            						_v56 = _t314;
            					}
            					_t320 =  *0x40b0e8;
            					if(_t320 != 0) {
            						_t236 = 0;
            						L00407358();
            						 *0x40b0d4 = 0;
            						 *0x40b074 = 0;
            					}
            					_t106 =  *0x40b0d4 & 0x0000ffff;
            					if(_t106 != 0) {
            						_t320 =  *0x40b0c0;
            						r8d = 0x1b4;
            						L00407370();
            						 *0x40b074 = _t106;
            						_t288 =  *0x40b074;
            						if( *0x40b074 <= 0) {
            							_t320 =  *0x40b0c0;
            							_t443 = _t320;
            							E004035DB(_t235, _t288, _t394, "can\'t open %s", _t320, _t460, _t463);
            						}
            						_t236 = 0x64;
            						E0040371E(0x64, _t320, _t443);
            						 *0x40b0c0 = _t320;
            					}
            					_t323 =  *((intOrPtr*)((_t320 << 3) + _a24));
            					if(_t323 != 0) {
            						_t393 =  *((intOrPtr*)((_t323 << 3) + _a24));
            						E00403841( *0x40b0d2 & 0xffff, _t393, _t443, _t463);
            						_v24 = _t393;
            					}
            					if(_v24 != 0 && _v24 + 0x1c0 != 0) {
            						_v40 = _v24 + 0x1c0;
            					}
            					if(_v40 != 0) {
            						 *0x40b048 =  *0x40b048 + 1;
            					}
            					_t324 = __imp___errno;
            					 *_t324();
            					 *_t324 = 0;
            					if(( *0x40b0d0 & 0x0000ffff) == 0) {
            						L57:
            						_t305 = _v40;
            						if(_v40 == 0) {
            							E004035DB(_t235, _t305, _t394, "no destination", _t443, _t460, _t463);
            						}
            						_t327 =  *((intOrPtr*)((_t324 << 3) + _a24));
            						_t306 = _t327;
            						if(_t327 == 0) {
            							E004035DB(_t235, _t306, _t394, "no port[s] to connect to", _t443, _t460, _t463);
            						}
            						_t331 =  *((intOrPtr*)((_t327 + 1 << 3) + _a24));
            						if(_t331 != 0) {
            							 *0x40802c = 0;
            						}
            						_v44 = _v42 & 0x0000ffff;
            						while(1) {
            							_t334 =  *((_t331 << 3) + _a24);
            							if(_t334 == 0) {
            								break;
            							}
            							_v74 = 0;
            							_v46 = _v74 & 0x0000ffff;
            							_t337 =  *((intOrPtr*)((_t334 << 3) + _a24));
            							L004074F0();
            							_t394 = _t337;
            							__eflags = _t394;
            							if(_t394 != 0) {
            								 *_t394 = 0;
            								_t394 = _t394 + 1;
            								_v46 = E00403BC0(0, _t394);
            								__eflags = _v46;
            								if(__eflags == 0) {
            									_t443 = _t394;
            									E004035DB(_t236, __eflags, _t394, "invalid port %s", _t394, _t461, _t463);
            								}
            							}
            							_t331 =  *((intOrPtr*)((_t337 << 3) + _a24));
            							_t404 = _t331;
            							_v74 = E00403BC0(0, _t331);
            							__eflags = _v74;
            							if(_v74 == 0) {
            								_t352 = (_t331 << 3) + _a24;
            								__eflags = _t352;
            								_t331 =  *_t352;
            								_t443 = _t331;
            								_t404 = "invalid port %s";
            								E004035DB(_t236, _t352, _t394, "invalid port %s", _t331, _t461, _t463);
            							}
            							__eflags = (_v46 & 0x0000ffff) - _v74;
            							if((_v46 & 0x0000ffff) <= _v74) {
            								_v48 = _v74 & 0x0000ffff;
            							} else {
            								 *0x40802c = 0;
            								_v48 = _v46 & 0x0000ffff;
            								__eflags =  *0x40b0d6 & 0x0000ffff;
            								if(( *0x40b0d6 & 0x0000ffff) != 0) {
            									_t236 = _v46 & 0x0000ffff;
            									r8d = _v46 & 0x0000ffff;
            									E00403E4E(_v74 & 0x0000ffff, _v56, _v56);
            									_t331 = _v56;
            									_t404 = _t331;
            									_v48 = E00403DCA(_t271, _t331, _t331);
            								}
            							}
            							while(1) {
            								__eflags = (_v74 & 0x0000ffff) - _v48;
            								if((_v74 & 0x0000ffff) > _v48) {
            									break;
            								}
            								__eflags = _v42;
            								if(_v42 == 0) {
            									_t158 =  *0x40b0d6 & 0x0000ffff;
            									__eflags = _t158;
            									if(_t158 != 0) {
            										L004074C0();
            										_v44 = _t158;
            										__eflags = _v44 - 0x1fff;
            										if(_v44 <= 0x1fff) {
            											_t69 =  &_v44;
            											 *_t69 = _v44 + 0x2000;
            											__eflags =  *_t69;
            										}
            									}
            								}
            								_t236 = 0;
            								_v48 = E00403BC0(_v48 & 0x0000ffff, _t404);
            								_t340 = _v40;
            								r9d = _v44 & 0x0000ffff;
            								_t461 = _v32;
            								 *0x408010 = E00403EC7(_v48 & 0x0000ffff, _v40, _t443, _v32, _t463);
            								_t130 =  *0x408010; // 0xffffffff
            								__eflags = _t130;
            								if(_t130 > 0) {
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) != 0) {
            										__eflags =  *0x40b0d8 & 0x0000ffff;
            										if(( *0x40b0d8 & 0x0000ffff) != 0) {
            											_t156 =  *0x408010; // 0xffffffff
            											_t443 = _v40;
            											_t236 = _t156;
            											 *0x408010 = E00404773(_t156, _t340, _v40);
            										}
            									}
            								}
            								_t131 =  *0x408010; // 0xffffffff
            								__eflags = _t131;
            								if(_t131 <= 0) {
            									_t271 = 1;
            									__eflags =  *0x40802c & 0x0000ffff;
            									if(( *0x40802c & 0x0000ffff) != 0) {
            										L90:
            										_t343 = _v24 + 0x100;
            										__eflags = _t343;
            										_t344 = _v24;
            										_a32 =  *0x40b0b8;
            										r9d = _v48 & 0x0000ffff;
            										_t461 = _t343;
            										_t443 = _v24;
            										E004034EB("%s [%s] %d (%s)", _v24, _t343, _t463);
            										goto L91;
            									}
            									__eflags = ( *0x40b0da & 0x0000ffff) - 1;
            									if(( *0x40b0da & 0x0000ffff) > 1) {
            										goto L90;
            									}
            									_t344 = __imp__WSAGetLastError;
            									_t146 =  *__imp__WSAGetLastError();
            									__eflags = _t146 - 0x274d;
            									if(_t146 == 0x274d) {
            										goto L91;
            									}
            									goto L90;
            								} else {
            									_t271 = 0;
            									_a32 =  *0x40b0b8;
            									r9d = _v48 & 0x0000ffff;
            									_t461 = _v24 + 0x100;
            									_t443 = _v24;
            									E004034EB("%s [%s] %d (%s) open", _v24, _v24 + 0x100, _t463);
            									_t344 =  *0x40b0e8;
            									__eflags = _t344;
            									if(_t344 != 0) {
            										E004026FD(_t236, _t344, _t344, _t461);
            									}
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) == 0) {
            										_t344 =  *0x40b0e8;
            										__eflags = _t344;
            										if(_t344 == 0) {
            											_t149 =  *0x408010; // 0xffffffff
            											_t236 = _t149;
            											_t271 = E00404B7C(_t149, _t269, _t274, _t461, _t463);
            										}
            									}
            									L91:
            									_t345 = __imp__shutdown;
            									 *_t345();
            									_t404 = _t345;
            									_t331 = __imp__closesocket;
            									 *_t331();
            									__eflags =  *0x40b0cc;
            									if( *0x40b0cc != 0) {
            										_t236 =  *0x40b0cc;
            										_t331 = __imp___sleep;
            										 *_t331();
            									}
            									__eflags =  *0x40b0d6 & 0x0000ffff;
            									if(( *0x40b0d6 & 0x0000ffff) == 0) {
            										_t88 =  &_v48;
            										 *_t88 = _v48 - 1;
            										__eflags =  *_t88;
            									} else {
            										_t331 = _v56;
            										_t404 = _t331;
            										_v48 = E00403DCA(_t271, _t331, _t331);
            									}
            									continue;
            								}
            							}
            							_t160 =  *0x40b048 + 1;
            							__eflags = _t160;
            							 *0x40b048 = _t160;
            						}
            						_t353 = __imp___errno;
            						 *_t353();
            						 *_t353 = 0;
            						if(( *0x40b0da & 0x0000ffff) > 1) {
            							r8d =  *0x40b080;
            							E004034EB("sent %d, rcvd %d", _t443, _t461, _t463);
            						}
            						 *__imp__WSACleanup();
            						if(_v60 == 1) {
            							goto L3;
            						} else {
            							_t311 =  *0x40802c & 0x0000ffff;
            							if(( *0x40802c & 0x0000ffff) != 0) {
            								L00407428();
            							}
            							L00407428();
            							 *0x40b0da = 1;
            							E004034EB("[v1.12 NT http://eternallybored.org/misc/netcat/]\nconnect to somewhere:\tnc [-options] hostname port[s] [ports] ... \nlisten for inbound:\tnc -l -p port [options] [hostname] [port]\noptions:", _t443, _t461, _t463);
            							E004034EB("\t-d\t\tdetach from console, background mode\n", _t443, _t461, _t463);
            							E004034EB("\t-e prog\t\tinbound program to exec [dangerous!!]", _t443, _t461, _t463);
            							E004034EB("\t-g gateway\tsource-routing hop point[s], up to 8\n\t-G num\t\tsource-routing pointer: 4, 8, 12, ...\n\t-h\t\tthis cruft\n\t-i secs\t\tdelay interval for lines sent, ports scanned\n\t-l\t\tlisten mode, for inbound connects\n\t-L\t\tlisten harder, re-listen on socket close\n\t-n\t\tnumeric-only IP addresses, no DNS\n\t-o file\t\thex dump of traffic\n\t-p port\t\tlocal port number\n\t-r\t\trandomize local and remote ports\n\t-s addr\t\tlocal source address", _t443, _t461, _t463);
            							E004034EB("\t-t\t\tanswer TELNET negotiation", _t443, _t461, _t463);
            							E004034EB("\t-c\t\tsend CRLF instead of just LF\n\t-u\t\tUDP mode\n\t-v\t\tverbose [use twice to be more verbose]\n\t-w secs\t\ttimeout for connects and final net reads\n\t-z\t\tzero-I/O mode [used for scanning]", _t443, _t461, _t463);
            							E004035DB(0, _t311, _t394, "port numbers can be individual or ranges: m-n [inclusive]", _t443, _t461, _t463);
            							return 0;
            						}
            					} else {
            						_v48 = 0;
            						_t357 =  *((intOrPtr*)((_t324 << 3) + _a24));
            						if(_t357 != 0) {
            							_t383 =  *((intOrPtr*)((_t357 << 3) + _a24));
            							_v48 = E00403BC0(0, _t383);
            							if(_v48 == 0) {
            								_t443 =  *((intOrPtr*)((_t383 << 3) + _a24));
            								E004035DB(_t235, (_t383 << 3) + _a24, _t394, "invalid port %s",  *((intOrPtr*)((_t383 << 3) + _a24)), _t460, _t463);
            							}
            						}
            						_t324 = _v40;
            						r9d = _v42 & 0x0000ffff;
            						_t461 = _v32;
            						 *0x408010 = E0040425F(_v48 & 0x0000ffff, _t324, _v32, _t463);
            						_t189 =  *0x408010; // 0xffffffff
            						if(_t189 <= 0) {
            							L56:
            							E004035DB(_t235, _t304, _t394, "no connection", _t443, _t461, _t463);
            							goto L57;
            						} else {
            							_t358 =  *0x40b0e8;
            							if( *0x40b0e8 != 0) {
            								E004026FD(_t235, _t358, _t358, _t461);
            							}
            							_t324 =  *0x40b0e8;
            							if(_t324 == 0) {
            								_t209 =  *0x408010; // 0xffffffff
            								_t270 = E00404B7C(_t209, _t269, _t274, _t461, _t463);
            							}
            							if(( *0x40b0da & 0x0000ffff) > 1) {
            								r8d =  *0x40b080;
            								E004034EB(" sent %d, rcvd %d", _t443, _t461, _t463);
            							}
            							_t304 = _v60 - 1;
            							if(_v60 == 1) {
            								L3:
            								if(_a16 == 1) {
            									_t359 = _a24;
            									E0040371E(0x400, _t359, _t443);
            									_a24 = _t359;
            									_t360 = _a24;
            									 *_t360 =  *_t359;
            									E0040371E(0x2000, _t360, _t443);
            									_t396 = _t360;
            									 *((long long*)(_a24 + 8)) = _t396;
            									_t363 = __imp____iob_func;
            									 *_t363();
            									_t6 = _t363 + 0x60; // 0x60
            									_t463 = _t6;
            									r8d = 0xa;
            									L004074E8(); // executed
            									_t195 =  *__imp____iob_func();
            									L00407490();
            									r8d = 0x2000;
            									_t450 = _t396;
            									L00407368(); // executed
            									 *0x40b07c = _t195;
            									_t277 =  *0x40b07c;
            									if( *0x40b07c == 0) {
            										E004035DB(0, _t277, _t396, "wrong", _t450, _t461, _t463);
            									}
            									_t272 = E0040377B( *0x40b07c, _t396);
            									if(_t272 != 0) {
            										 *0x40b07c =  *0x40b07c - _t272;
            									}
            									if( *0x40b07c != 0) {
            										L004073F8();
            									}
            									L004074F0();
            									_t397 =  *((intOrPtr*)(_a24 + 8));
            									if(_t397 != 0) {
            										 *_t397 = 0;
            									}
            									L004074F0();
            									_t398 =  *((intOrPtr*)(_a24 + 8));
            									if(_t398 != 0) {
            										 *_t398 = 0;
            									}
            									_t394 =  *((intOrPtr*)(_a24 + 8)) + 1;
            									_t273 = 2;
            									while(( *_t394 & 0x000000ff) != 0) {
            										__eflags = ( *_t394 & 0x000000ff) - 0x20;
            										if(( *_t394 & 0x000000ff) != 0x20) {
            											_t11 = _t394 - 1; // -2
            											__eflags =  *_t11 & 0x000000ff;
            											if(( *_t11 & 0x000000ff) == 0) {
            												 *((_t273 << 3) + _a24) = _t394;
            												_t273 = _t273 + 1;
            												__eflags = _t273;
            											}
            										} else {
            											 *_t394 = 0;
            										}
            										_t394 = _t394 + 1;
            										__eflags = _t394;
            									}
            									_a16 = _t273;
            								}
            								continue;
            							} else {
            								_t235 = _t270;
            								L00407428();
            								goto L56;
            							}
            						}
            					}
            				}
            				_t14 = _t452 - 0x47; // -71
            				__eflags = _t14 - 0x33;
            				if(__eflags > 0) {
            					_t315 = __imp___errno;
            					 *_t315();
            					 *_t315 = 0;
            					E004035DB(_t235, __eflags, _t394, "nc -h for help", _t443, "ade:g:G:hi:lLno:p:rs:tcuvw:z", _t463);
            					goto L27;
            				}
            				goto __rax;
            			}
























































            0x0040568a
            0x0040568a
            0x0040568a
            0x0040568a
            0x0040568a
            0x0040568a
            0x00405691
            0x00405693
            0x00405699
            0x004056a8
            0x004056b2
            0x004056c4
            0x004056d2
            0x004056e9
            0x004056e9
            0x004058bb
            0x004058bb
            0x004058bb
            0x004058bf
            0x004058c6
            0x004058c9
            0x004058d1
            0x004058d6
            0x00000000
            0x00000000
            0x004058e6
            0x004058ed
            0x004058f4
            0x004058f9
            0x004058fe
            0x00405903
            0x00405903
            0x00405907
            0x00405911
            0x00405913
            0x00405918
            0x0040591d
            0x00405926
            0x00405926
            0x00405930
            0x0040593a
            0x0040593c
            0x00405943
            0x00405951
            0x00405956
            0x00405962
            0x00405964
            0x00405966
            0x0040596d
            0x00405977
            0x00405977
            0x0040597c
            0x00405981
            0x00405986
            0x00405986
            0x0040599d
            0x004059a3
            0x004059bf
            0x004059c5
            0x004059ca
            0x004059ca
            0x004059d3
            0x004059ee
            0x004059ee
            0x004059f7
            0x00405a02
            0x00405a02
            0x00405a08
            0x00405a0f
            0x00405a11
            0x00405a21
            0x00405b3e
            0x00405b3e
            0x00405b43
            0x00405b4c
            0x00405b4c
            0x00405b61
            0x00405b64
            0x00405b67
            0x00405b70
            0x00405b70
            0x00405b89
            0x00405b8f
            0x00405b91
            0x00405b91
            0x00405b9e
            0x00405edb
            0x00405eeb
            0x00405ef1
            0x00000000
            0x00000000
            0x00405ba7
            0x00405bb1
            0x00405bc5
            0x00405bd0
            0x00405bd5
            0x00405bd8
            0x00405bdb
            0x00405bdd
            0x00405be0
            0x00405bf1
            0x00405bf5
            0x00405bfa
            0x00405bfc
            0x00405c06
            0x00405c06
            0x00405bfa
            0x00405c1b
            0x00405c23
            0x00405c2b
            0x00405c2f
            0x00405c34
            0x00405c42
            0x00405c42
            0x00405c46
            0x00405c49
            0x00405c4c
            0x00405c53
            0x00405c53
            0x00405c5c
            0x00405c60
            0x00405cb3
            0x00405c62
            0x00405c62
            0x00405c6f
            0x00405c7a
            0x00405c7d
            0x00405c83
            0x00405c8f
            0x00405c95
            0x00405c9a
            0x00405c9e
            0x00405ca6
            0x00405ca6
            0x00405c7d
            0x00405ebe
            0x00405ec2
            0x00405ec6
            0x00000000
            0x00000000
            0x00405cbc
            0x00405cc1
            0x00405cc3
            0x00405cca
            0x00405ccd
            0x00405ccf
            0x00405cd4
            0x00405cd8
            0x00405cde
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405cde
            0x00405ccd
            0x00405cec
            0x00405cf6
            0x00405d06
            0x00405d0a
            0x00405d0d
            0x00405d18
            0x00405d1e
            0x00405d24
            0x00405d26
            0x00405d2f
            0x00405d32
            0x00405d3b
            0x00405d3e
            0x00405d40
            0x00405d46
            0x00405d4a
            0x00405d51
            0x00405d51
            0x00405d3e
            0x00405d32
            0x00405d57
            0x00405d5d
            0x00405d5f
            0x00405dec
            0x00405df8
            0x00405dfb
            0x00405e1a
            0x00405e2c
            0x00405e2c
            0x00405e35
            0x00405e39
            0x00405e3e
            0x00405e41
            0x00405e44
            0x00405e4e
            0x00000000
            0x00405e4e
            0x00405e04
            0x00405e08
            0x00000000
            0x00000000
            0x00405e0a
            0x00405e11
            0x00405e13
            0x00405e18
            0x00000000
            0x00000000
            0x00000000
            0x00405d65
            0x00405d65
            0x00405d89
            0x00405d8e
            0x00405d91
            0x00405d94
            0x00405d9e
            0x00405da3
            0x00405daa
            0x00405dad
            0x00405dba
            0x00405dba
            0x00405dc6
            0x00405dc9
            0x00405dcf
            0x00405dd6
            0x00405dd9
            0x00405ddb
            0x00405de1
            0x00405de8
            0x00405de8
            0x00405dd9
            0x00405e53
            0x00405e63
            0x00405e6a
            0x00405e74
            0x00405e77
            0x00405e7e
            0x00405e86
            0x00405e88
            0x00405e90
            0x00405e92
            0x00405e99
            0x00405e99
            0x00405ea2
            0x00405ea5
            0x00405eb9
            0x00405eb9
            0x00405eb9
            0x00405ea7
            0x00405ea7
            0x00405eab
            0x00405eb3
            0x00405eb3
            0x00000000
            0x00405ea5
            0x00405d5f
            0x00405ed2
            0x00405ed2
            0x00405ed5
            0x00405ed5
            0x00405ef7
            0x00405efe
            0x00405f00
            0x00405f11
            0x00405f1f
            0x00405f2b
            0x00405f2b
            0x00405f37
            0x00405f3d
            0x00000000
            0x00405f43
            0x00405f4a
            0x00405f4d
            0x00405f51
            0x00405f51
            0x00405f5b
            0x00405f68
            0x00405f78
            0x00405f84
            0x00405f90
            0x00405f9c
            0x00405fa8
            0x00405fb4
            0x00405fc0
            0x00405fcb
            0x00405fcb
            0x00405a27
            0x00405a27
            0x00405a3d
            0x00405a43
            0x00405a55
            0x00405a65
            0x00405a6e
            0x00405a83
            0x00405a8d
            0x00405a8d
            0x00405a6e
            0x00405a9e
            0x00405aa2
            0x00405aa5
            0x00405ab0
            0x00405ab6
            0x00405abe
            0x00405b32
            0x00405b39
            0x00000000
            0x00405ac0
            0x00405ac0
            0x00405aca
            0x00405ad7
            0x00405ad7
            0x00405adc
            0x00405ae6
            0x00405ae8
            0x00405af5
            0x00405af5
            0x00405b02
            0x00405b10
            0x00405b1c
            0x00405b1c
            0x00405b21
            0x00405b25
            0x0040539b
            0x0040539f
            0x004053a5
            0x004053b1
            0x004053b6
            0x004053ba
            0x004053be
            0x004053c6
            0x004053cb
            0x004053d6
            0x004053d9
            0x004053e0
            0x004053e2
            0x004053ed
            0x004053f0
            0x004053fe
            0x0040540a
            0x00405413
            0x00405418
            0x0040541e
            0x00405426
            0x0040542b
            0x00405437
            0x00405439
            0x00405442
            0x00405442
            0x00405457
            0x0040545b
            0x0040546b
            0x0040546b
            0x00405479
            0x00405497
            0x00405497
            0x004054af
            0x004054b4
            0x004054ba
            0x004054bc
            0x004054bc
            0x004054d2
            0x004054d7
            0x004054dd
            0x004054df
            0x004054df
            0x004054ed
            0x004054f1
            0x00405524
            0x004054fb
            0x004054fd
            0x00405504
            0x0040550b
            0x0040550d
            0x0040551a
            0x0040551d
            0x0040551d
            0x0040551d
            0x004054ff
            0x004054ff
            0x004054ff
            0x00405520
            0x00405520
            0x00405520
            0x0040552b
            0x0040552b
            0x00000000
            0x00405b2b
            0x00405b2b
            0x00405b2d
            0x00000000
            0x00405b2d
            0x00405b25
            0x00405abe
            0x00405a21
            0x00405533
            0x00405536
            0x00405539
            0x0040589a
            0x004058a1
            0x004058a3
            0x004058b0
            0x00000000
            0x004058b0
            0x00405561

            APIs
            Strings
            • ade:g:G:hi:lLno:p:rs:tcuvw:z, xrefs: 004058BF
            • no destination, xrefs: 00405B45
            • -ddetach from console, background mode, xrefs: 00405F7D
            • port numbers can be individual or ranges: m-n [inclusive], xrefs: 00405FB9
            • [v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:, xrefs: 00405F71
            • -g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum, xrefs: 00405F95
            • sent %d, rcvd %d, xrefs: 00405B15
            • sent %d, rcvd %d, xrefs: 00405F24
            • -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning], xrefs: 00405FAD
            • invalid interval time %s, xrefs: 004056E2
            • no port[s] to connect to, xrefs: 00405B69
            • no connection, xrefs: 00405B32
            • invalid port %s, xrefs: 00405A86
            • -e proginbound program to exec [dangerous!!], xrefs: 00405F89
            • -tanswer TELNET negotiation, xrefs: 00405FA1
            • can't open %s, xrefs: 00405970
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: _close_open
            • String ID: -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning]$-ddetach from console, background mode$-e proginbound program to exec [dangerous!!]$-g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum$-tanswer TELNET negotiation$ sent %d, rcvd %d$[v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:$ade:g:G:hi:lLno:p:rs:tcuvw:z$can't open %s$invalid interval time %s$invalid port %s$no connection$no destination$no port[s] to connect to$port numbers can be individual or ranges: m-n [inclusive]$sent %d, rcvd %d
            • API String ID: 3007559463-4285341050
            • Opcode ID: 7db0b8ca37dfe16f10ebca187822d17eefff9d87851ab826b924773274c8b7cc
            • Instruction ID: fc8d50b5f30da4e9a3539b8203064f8c1c5d40110fba828f126db5dd2a13a262
            • Opcode Fuzzy Hash: 7db0b8ca37dfe16f10ebca187822d17eefff9d87851ab826b924773274c8b7cc
            • Instruction Fuzzy Hash: 09B121A1711A0486EB10DF26E89136A37A0FB44788F44442AEB5DB73E1EF3CD945C79C
            Uniqueness

            Uniqueness Score: -1.00%

            Control-flow Graph

            • Executed
            • Not Executed
            control_flow_graph 918 40581f-40583c call 4074b0 921 405854-405885 call 40371e * 2 918->921 922 40583e-40584f call 4035db 918->922 928 4058bb-4058d6 call 402422 921->928 922->921 931 405533-405539 928->931 932 4058dc-4058e6 928->932 935 40589a-4058b5 call 4035db 931->935 936 40553f-40555d 931->936 933 405907-405911 932->933 934 4058e8-405903 call 4073a0 call 4074f8 call 40371e 932->934 938 405930-40593a 933->938 939 405913-405926 _close 933->939 934->933 935->928 936->935 942 40593c-405964 _open 938->942 943 40598d-4059a3 938->943 939->938 948 405966-405977 call 4035db 942->948 949 40597c-405986 call 40371e 942->949 944 4059a5-4059ca call 403841 943->944 945 4059ce-4059d3 943->945 944->945 954 4059f2-4059f7 945->954 955 4059d5-4059e2 945->955 948->949 949->943 961 405a08-405a21 954->961 962 4059f9-405a02 954->962 955->954 960 4059e4-4059ee 955->960 960->954 965 405a27-405a43 961->965 966 405b3e-405b43 961->966 962->961 969 405a92-405abe call 40425f 965->969 970 405a45-405a6e call 403bc0 965->970 967 405b51-405b67 966->967 968 405b45-405b4c call 4035db 966->968 974 405b75-405b8f 967->974 975 405b69-405b70 call 4035db 967->975 968->967 982 405ac0-405aca 969->982 983 405b32-405b39 call 4035db 969->983 970->969 981 405a70-405a8d call 4035db 970->981 979 405b91 974->979 980 405b9a-405ba2 974->980 975->974 979->980 984 405edb-405ef1 980->984 981->969 989 405adc-405ae6 982->989 990 405acc-405ad7 call 4026fd 982->990 983->966 985 405ba7-405bdb call 4074f0 984->985 986 405ef7-405f11 984->986 1005 405c0b-405c34 call 403bc0 985->1005 1006 405bdd-405bfa call 403bc0 985->1006 1003 405f30-405f3d 986->1003 1004 405f13-405f2b call 4034eb 986->1004 993 405af7-405b02 989->993 994 405ae8-405af5 call 404b7c 989->994 990->989 998 405b21-405b25 993->998 999 405b04-405b1c call 4034eb 993->999 994->993 1001 405397-405398 998->1001 1002 405b2b-405b2d call 407428 998->1002 999->998 1010 40539b-40539f 1001->1010 1002->983 1019 405f43-405f4d 1003->1019 1020 40539a 1003->1020 1004->1003 1017 405c36-405c53 call 4035db 1005->1017 1018 405c58-405c60 1005->1018 1006->1005 1022 405bfc-405c06 call 4035db 1006->1022 1010->928 1015 4053a5-4053d9 call 40371e * 2 1010->1015 1047 4053e2-4053fe call 4074e8 1015->1047 1017->1018 1024 405c62-405c7d 1018->1024 1025 405caf-405cb7 1018->1025 1026 405f56-405fcb call 407428 call 4034eb * 6 call 4035db 1019->1026 1027 405f4f-405f51 call 407428 1019->1027 1020->1010 1022->1005 1030 405c83-405caa call 403e4e call 403dca 1024->1030 1031 405ebe-405ec6 1024->1031 1025->1031 1027->1026 1030->1031 1036 405cbc-405cc1 1031->1036 1037 405ecc-405ed5 1031->1037 1041 405cc3-405ccd 1036->1041 1042 405ce6-405d26 call 403bc0 call 403ec7 1036->1042 1037->984 1041->1042 1046 405ccf-405cde call 4074c0 1041->1046 1063 405d57-405d5f 1042->1063 1064 405d28-405d32 1042->1064 1046->1042 1058 405ce0 1046->1058 1054 405403-405413 call 407490 1047->1054 1070 405418-405439 _read 1054->1070 1058->1042 1068 405d65-405dad call 4034eb 1063->1068 1069 405dec-405dfb 1063->1069 1064->1063 1067 405d34-405d3e 1064->1067 1067->1063 1074 405d40-405d51 call 404773 1067->1074 1088 405dbf-405dc9 1068->1088 1089 405daf-405dba call 4026fd 1068->1089 1072 405e1a-405e4e call 4034eb 1069->1072 1073 405dfd-405e08 1069->1073 1076 405447-40545b call 40377b 1070->1076 1077 40543b-405442 call 4035db 1070->1077 1087 405e53-405e88 1072->1087 1073->1072 1079 405e0a-405e18 1073->1079 1074->1063 1097 405471-405479 1076->1097 1098 40545d-40546b 1076->1098 1077->1076 1079->1072 1079->1087 1110 405e8a-405e92 1087->1110 1111 405e9b-405ea5 1087->1111 1088->1087 1091 405dcf-405dd9 1088->1091 1089->1088 1091->1087 1095 405ddb-405dea call 404b7c 1091->1095 1095->1087 1102 40547b-405497 call 4073f8 1097->1102 1103 40549c-4054ba call 4074f0 1097->1103 1098->1097 1102->1103 1112 4054bc 1103->1112 1113 4054bf-4054dd call 4074f0 1103->1113 1110->1111 1114 405ea7-405eb7 call 403dca 1111->1114 1115 405eb9 1111->1115 1112->1113 1120 4054e2-4054f6 1113->1120 1121 4054df 1113->1121 1114->1031 1115->1031 1122 405524-405529 1120->1122 1121->1120 1123 4054f8-4054fd 1122->1123 1124 40552b-40552e 1122->1124 1125 405504-40550d 1123->1125 1126 4054ff-405502 1123->1126 1124->928 1127 405520 1125->1127 1128 40550f-40551d 1125->1128 1126->1127 1127->1122 1128->1127
            C-Code - Quality: 20%
            			E0040581F(intOrPtr __eax, void* __ecx, void* __edx, void* __edi, void* __esp, signed long long __rbx, void* __rsi, void* __r8, void* __r9, signed int _a16, long long _a24, long long _a32) {
            				void* _v24;
            				signed int _v32;
            				void* _v40;
            				signed int _v42;
            				signed short _v44;
            				signed int _v46;
            				signed int _v48;
            				signed long long _v56;
            				intOrPtr _v60;
            				signed int _v74;
            				signed int _t105;
            				signed int _t129;
            				signed int _t130;
            				void* _t145;
            				signed int _t148;
            				signed int _t155;
            				signed int _t157;
            				signed int _t159;
            				signed int _t188;
            				intOrPtr _t194;
            				signed int _t208;
            				void* _t271;
            				signed int _t272;
            				signed int _t273;
            				void* _t274;
            				signed int _t275;
            				void* _t276;
            				signed long long _t314;
            				signed long long _t316;
            				signed int* _t317;
            				signed long long _t321;
            				signed long long _t324;
            				signed long long _t325;
            				intOrPtr _t328;
            				signed long long _t332;
            				signed long long _t335;
            				signed long long _t338;
            				signed int _t344;
            				signed long long _t346;
            				signed int _t353;
            				signed int* _t354;
            				signed long long _t358;
            				intOrPtr* _t360;
            				long long _t361;
            				long long* _t364;
            				signed long long _t384;
            				long long _t394;
            				long long _t397;
            				char* _t398;
            				char* _t399;
            				long long _t450;
            				void* _t452;
            
            				_t463 = __r9;
            				_t452 = __rsi;
            				_t395 = __rbx;
            				_t276 = __esp;
            				_t271 = __edi;
            				_t314 =  *0x40b040;
            				L004074B0();
            				 *0x40b0dc = __eax;
            				if( *0x40b0dc == 0) {
            					_t314 =  *0x40b040;
            					_t444 = _t314;
            					E004035DB(_t236, __eflags, __rbx, "invalid wait-time %s", _t314, _t460, __r9);
            				}
            				E0040371E(8, _t314, _t444);
            				 *0x40b088 = _t314;
            				E0040371E(8, _t314, _t444);
            				 *0x40b090 = _t314;
            				 *( *0x40b088) =  *0x40b0dc;
            				while(1) {
            					L27:
            					_t316 = _a24;
            					_t460 = "ade:g:G:hi:lLno:p:rs:tcuvw:z";
            					_t444 = _t316;
            					_t236 = _a16;
            					_t272 = E00402422(_a16, _t316, "ade:g:G:hi:lLno:p:rs:tcuvw:z");
            					if(_t272 != 0xffffffff) {
            						break;
            					}
            					if(( *0x40b0d6 & 0x0000ffff) != 0) {
            						L004073A0();
            						L004074F8();
            						_t237 = 0x10000;
            						E0040371E(0x10000, _t316, _t444);
            						_v56 = _t316;
            					}
            					_t321 =  *0x40b0e8;
            					if(_t321 != 0) {
            						_t237 = 0;
            						L00407358();
            						 *0x40b0d4 = 0;
            						 *0x40b074 = 0;
            					}
            					_t105 =  *0x40b0d4 & 0x0000ffff;
            					if(_t105 != 0) {
            						_t321 =  *0x40b0c0;
            						r8d = 0x1b4;
            						L00407370();
            						 *0x40b074 = _t105;
            						_t290 =  *0x40b074;
            						if( *0x40b074 <= 0) {
            							_t321 =  *0x40b0c0;
            							_t444 = _t321;
            							E004035DB(_t236, _t290, _t395, "can\'t open %s", _t321, _t460, _t463);
            						}
            						_t237 = 0x64;
            						E0040371E(0x64, _t321, _t444);
            						 *0x40b0c0 = _t321;
            					}
            					_t324 =  *((intOrPtr*)((_t321 << 3) + _a24));
            					if(_t324 != 0) {
            						_t394 =  *((intOrPtr*)((_t324 << 3) + _a24));
            						E00403841( *0x40b0d2 & 0xffff, _t394, _t444, _t463);
            						_v24 = _t394;
            					}
            					if(_v24 != 0 && _v24 + 0x1c0 != 0) {
            						_v40 = _v24 + 0x1c0;
            					}
            					if(_v40 != 0) {
            						 *0x40b048 =  *0x40b048 + 1;
            					}
            					_t325 = __imp___errno;
            					 *_t325();
            					 *_t325 = 0;
            					if(( *0x40b0d0 & 0x0000ffff) == 0) {
            						L57:
            						_t307 = _v40;
            						if(_v40 == 0) {
            							E004035DB(_t236, _t307, _t395, "no destination", _t444, _t460, _t463);
            						}
            						_t328 =  *((intOrPtr*)((_t325 << 3) + _a24));
            						_t308 = _t328;
            						if(_t328 == 0) {
            							E004035DB(_t236, _t308, _t395, "no port[s] to connect to", _t444, _t460, _t463);
            						}
            						_t332 =  *((intOrPtr*)((_t328 + 1 << 3) + _a24));
            						if(_t332 != 0) {
            							 *0x40802c = 0;
            						}
            						_v44 = _v42 & 0x0000ffff;
            						while(1) {
            							_t335 =  *((_t332 << 3) + _a24);
            							if(_t335 == 0) {
            								break;
            							}
            							_v74 = 0;
            							_v46 = _v74 & 0x0000ffff;
            							_t338 =  *((intOrPtr*)((_t335 << 3) + _a24));
            							L004074F0();
            							_t395 = _t338;
            							__eflags = _t395;
            							if(_t395 != 0) {
            								 *_t395 = 0;
            								_t395 = _t395 + 1;
            								_v46 = E00403BC0(0, _t395);
            								__eflags = _v46;
            								if(__eflags == 0) {
            									_t444 = _t395;
            									E004035DB(_t237, __eflags, _t395, "invalid port %s", _t395, _t461, _t463);
            								}
            							}
            							_t332 =  *((intOrPtr*)((_t338 << 3) + _a24));
            							_t405 = _t332;
            							_v74 = E00403BC0(0, _t332);
            							__eflags = _v74;
            							if(_v74 == 0) {
            								_t353 = (_t332 << 3) + _a24;
            								__eflags = _t353;
            								_t332 =  *_t353;
            								_t444 = _t332;
            								_t405 = "invalid port %s";
            								E004035DB(_t237, _t353, _t395, "invalid port %s", _t332, _t461, _t463);
            							}
            							__eflags = (_v46 & 0x0000ffff) - _v74;
            							if((_v46 & 0x0000ffff) <= _v74) {
            								_v48 = _v74 & 0x0000ffff;
            							} else {
            								 *0x40802c = 0;
            								_v48 = _v46 & 0x0000ffff;
            								__eflags =  *0x40b0d6 & 0x0000ffff;
            								if(( *0x40b0d6 & 0x0000ffff) != 0) {
            									_t237 = _v46 & 0x0000ffff;
            									r8d = _v46 & 0x0000ffff;
            									E00403E4E(_v74 & 0x0000ffff, _v56, _v56);
            									_t332 = _v56;
            									_t405 = _t332;
            									_v48 = E00403DCA(_t273, _t332, _t332);
            								}
            							}
            							while(1) {
            								__eflags = (_v74 & 0x0000ffff) - _v48;
            								if((_v74 & 0x0000ffff) > _v48) {
            									break;
            								}
            								__eflags = _v42;
            								if(_v42 == 0) {
            									_t157 =  *0x40b0d6 & 0x0000ffff;
            									__eflags = _t157;
            									if(_t157 != 0) {
            										L004074C0();
            										_v44 = _t157;
            										__eflags = _v44 - 0x1fff;
            										if(_v44 <= 0x1fff) {
            											_t69 =  &_v44;
            											 *_t69 = _v44 + 0x2000;
            											__eflags =  *_t69;
            										}
            									}
            								}
            								_t237 = 0;
            								_v48 = E00403BC0(_v48 & 0x0000ffff, _t405);
            								_t341 = _v40;
            								r9d = _v44 & 0x0000ffff;
            								_t461 = _v32;
            								 *0x408010 = E00403EC7(_v48 & 0x0000ffff, _v40, _t444, _v32, _t463);
            								_t129 =  *0x408010; // 0xffffffff
            								__eflags = _t129;
            								if(_t129 > 0) {
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) != 0) {
            										__eflags =  *0x40b0d8 & 0x0000ffff;
            										if(( *0x40b0d8 & 0x0000ffff) != 0) {
            											_t155 =  *0x408010; // 0xffffffff
            											_t444 = _v40;
            											_t237 = _t155;
            											 *0x408010 = E00404773(_t155, _t341, _v40);
            										}
            									}
            								}
            								_t130 =  *0x408010; // 0xffffffff
            								__eflags = _t130;
            								if(_t130 <= 0) {
            									_t273 = 1;
            									__eflags =  *0x40802c & 0x0000ffff;
            									if(( *0x40802c & 0x0000ffff) != 0) {
            										L90:
            										_t344 = _v24 + 0x100;
            										__eflags = _t344;
            										_t345 = _v24;
            										_a32 =  *0x40b0b8;
            										r9d = _v48 & 0x0000ffff;
            										_t461 = _t344;
            										_t444 = _v24;
            										E004034EB("%s [%s] %d (%s)", _v24, _t344, _t463);
            										goto L91;
            									}
            									__eflags = ( *0x40b0da & 0x0000ffff) - 1;
            									if(( *0x40b0da & 0x0000ffff) > 1) {
            										goto L90;
            									}
            									_t345 = __imp__WSAGetLastError;
            									_t145 =  *__imp__WSAGetLastError();
            									__eflags = _t145 - 0x274d;
            									if(_t145 == 0x274d) {
            										goto L91;
            									}
            									goto L90;
            								} else {
            									_t273 = 0;
            									_a32 =  *0x40b0b8;
            									r9d = _v48 & 0x0000ffff;
            									_t461 = _v24 + 0x100;
            									_t444 = _v24;
            									E004034EB("%s [%s] %d (%s) open", _v24, _v24 + 0x100, _t463);
            									_t345 =  *0x40b0e8;
            									__eflags = _t345;
            									if(_t345 != 0) {
            										E004026FD(_t237, _t345, _t345, _t461);
            									}
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) == 0) {
            										_t345 =  *0x40b0e8;
            										__eflags = _t345;
            										if(_t345 == 0) {
            											_t148 =  *0x408010; // 0xffffffff
            											_t237 = _t148;
            											_t273 = E00404B7C(_t148, _t271, _t276, _t461, _t463);
            										}
            									}
            									L91:
            									_t346 = __imp__shutdown;
            									 *_t346();
            									_t405 = _t346;
            									_t332 = __imp__closesocket;
            									 *_t332();
            									__eflags =  *0x40b0cc;
            									if( *0x40b0cc != 0) {
            										_t237 =  *0x40b0cc;
            										_t332 = __imp___sleep;
            										 *_t332();
            									}
            									__eflags =  *0x40b0d6 & 0x0000ffff;
            									if(( *0x40b0d6 & 0x0000ffff) == 0) {
            										_t88 =  &_v48;
            										 *_t88 = _v48 - 1;
            										__eflags =  *_t88;
            									} else {
            										_t332 = _v56;
            										_t405 = _t332;
            										_v48 = E00403DCA(_t273, _t332, _t332);
            									}
            									continue;
            								}
            							}
            							_t159 =  *0x40b048 + 1;
            							__eflags = _t159;
            							 *0x40b048 = _t159;
            						}
            						_t354 = __imp___errno;
            						 *_t354();
            						 *_t354 = 0;
            						if(( *0x40b0da & 0x0000ffff) > 1) {
            							r8d =  *0x40b080;
            							E004034EB("sent %d, rcvd %d", _t444, _t461, _t463);
            						}
            						 *__imp__WSACleanup();
            						if(_v60 == 1) {
            							goto L3;
            						} else {
            							_t313 =  *0x40802c & 0x0000ffff;
            							if(( *0x40802c & 0x0000ffff) != 0) {
            								L00407428();
            							}
            							L00407428();
            							 *0x40b0da = 1;
            							E004034EB("[v1.12 NT http://eternallybored.org/misc/netcat/]\nconnect to somewhere:\tnc [-options] hostname port[s] [ports] ... \nlisten for inbound:\tnc -l -p port [options] [hostname] [port]\noptions:", _t444, _t461, _t463);
            							E004034EB("\t-d\t\tdetach from console, background mode\n", _t444, _t461, _t463);
            							E004034EB("\t-e prog\t\tinbound program to exec [dangerous!!]", _t444, _t461, _t463);
            							E004034EB("\t-g gateway\tsource-routing hop point[s], up to 8\n\t-G num\t\tsource-routing pointer: 4, 8, 12, ...\n\t-h\t\tthis cruft\n\t-i secs\t\tdelay interval for lines sent, ports scanned\n\t-l\t\tlisten mode, for inbound connects\n\t-L\t\tlisten harder, re-listen on socket close\n\t-n\t\tnumeric-only IP addresses, no DNS\n\t-o file\t\thex dump of traffic\n\t-p port\t\tlocal port number\n\t-r\t\trandomize local and remote ports\n\t-s addr\t\tlocal source address", _t444, _t461, _t463);
            							E004034EB("\t-t\t\tanswer TELNET negotiation", _t444, _t461, _t463);
            							E004034EB("\t-c\t\tsend CRLF instead of just LF\n\t-u\t\tUDP mode\n\t-v\t\tverbose [use twice to be more verbose]\n\t-w secs\t\ttimeout for connects and final net reads\n\t-z\t\tzero-I/O mode [used for scanning]", _t444, _t461, _t463);
            							E004035DB(0, _t313, _t395, "port numbers can be individual or ranges: m-n [inclusive]", _t444, _t461, _t463);
            							return 0;
            						}
            					} else {
            						_v48 = 0;
            						_t358 =  *((intOrPtr*)((_t325 << 3) + _a24));
            						if(_t358 != 0) {
            							_t384 =  *((intOrPtr*)((_t358 << 3) + _a24));
            							_v48 = E00403BC0(0, _t384);
            							if(_v48 == 0) {
            								_t444 =  *((intOrPtr*)((_t384 << 3) + _a24));
            								E004035DB(_t236, (_t384 << 3) + _a24, _t395, "invalid port %s",  *((intOrPtr*)((_t384 << 3) + _a24)), _t460, _t463);
            							}
            						}
            						_t325 = _v40;
            						r9d = _v42 & 0x0000ffff;
            						_t461 = _v32;
            						 *0x408010 = E0040425F(_v48 & 0x0000ffff, _t325, _v32, _t463);
            						_t188 =  *0x408010; // 0xffffffff
            						if(_t188 <= 0) {
            							L56:
            							E004035DB(_t236, _t306, _t395, "no connection", _t444, _t461, _t463);
            							goto L57;
            						} else {
            							_t359 =  *0x40b0e8;
            							if( *0x40b0e8 != 0) {
            								E004026FD(_t236, _t359, _t359, _t461);
            							}
            							_t325 =  *0x40b0e8;
            							if(_t325 == 0) {
            								_t208 =  *0x408010; // 0xffffffff
            								_t272 = E00404B7C(_t208, _t271, _t276, _t461, _t463);
            							}
            							if(( *0x40b0da & 0x0000ffff) > 1) {
            								r8d =  *0x40b080;
            								E004034EB(" sent %d, rcvd %d", _t444, _t461, _t463);
            							}
            							_t306 = _v60 - 1;
            							if(_v60 == 1) {
            								L3:
            								if(_a16 == 1) {
            									_t360 = _a24;
            									E0040371E(0x400, _t360, _t444);
            									_a24 = _t360;
            									_t361 = _a24;
            									 *_t361 =  *_t360;
            									E0040371E(0x2000, _t361, _t444);
            									_t397 = _t361;
            									 *((long long*)(_a24 + 8)) = _t397;
            									_t364 = __imp____iob_func;
            									 *_t364();
            									_t6 = _t364 + 0x60; // 0x60
            									_t463 = _t6;
            									r8d = 0xa;
            									L004074E8(); // executed
            									_t194 =  *__imp____iob_func();
            									L00407490();
            									r8d = 0x2000;
            									_t450 = _t397;
            									L00407368(); // executed
            									 *0x40b07c = _t194;
            									_t279 =  *0x40b07c;
            									if( *0x40b07c == 0) {
            										E004035DB(0, _t279, _t397, "wrong", _t450, _t461, _t463);
            									}
            									_t274 = E0040377B( *0x40b07c, _t397);
            									if(_t274 != 0) {
            										 *0x40b07c =  *0x40b07c - _t274;
            									}
            									if( *0x40b07c != 0) {
            										L004073F8();
            									}
            									L004074F0();
            									_t398 =  *((intOrPtr*)(_a24 + 8));
            									if(_t398 != 0) {
            										 *_t398 = 0;
            									}
            									L004074F0();
            									_t399 =  *((intOrPtr*)(_a24 + 8));
            									if(_t399 != 0) {
            										 *_t399 = 0;
            									}
            									_t395 =  *((intOrPtr*)(_a24 + 8)) + 1;
            									_t275 = 2;
            									while(( *_t395 & 0x000000ff) != 0) {
            										__eflags = ( *_t395 & 0x000000ff) - 0x20;
            										if(( *_t395 & 0x000000ff) != 0x20) {
            											_t11 = _t395 - 1; // -2
            											__eflags =  *_t11 & 0x000000ff;
            											if(( *_t11 & 0x000000ff) == 0) {
            												 *((_t275 << 3) + _a24) = _t395;
            												_t275 = _t275 + 1;
            												__eflags = _t275;
            											}
            										} else {
            											 *_t395 = 0;
            										}
            										_t395 = _t395 + 1;
            										__eflags = _t395;
            									}
            									_a16 = _t275;
            								}
            								continue;
            							} else {
            								_t236 = _t272;
            								L00407428();
            								goto L56;
            							}
            						}
            					}
            				}
            				_t14 = _t452 - 0x47; // -71
            				__eflags = _t14 - 0x33;
            				if(__eflags > 0) {
            					_t317 = __imp___errno;
            					 *_t317();
            					 *_t317 = 0;
            					E004035DB(_t236, __eflags, _t395, "nc -h for help", _t444, "ade:g:G:hi:lLno:p:rs:tcuvw:z", _t463);
            					goto L27;
            				}
            				goto __rax;
            			}























































            0x0040581f
            0x0040581f
            0x0040581f
            0x0040581f
            0x0040581f
            0x0040581f
            0x00405829
            0x0040582e
            0x0040583c
            0x0040583e
            0x00405845
            0x0040584f
            0x0040584f
            0x00405859
            0x0040585e
            0x0040586a
            0x0040586f
            0x00405883
            0x004058bb
            0x004058bb
            0x004058bb
            0x004058bf
            0x004058c6
            0x004058c9
            0x004058d1
            0x004058d6
            0x00000000
            0x00000000
            0x004058e6
            0x004058ed
            0x004058f4
            0x004058f9
            0x004058fe
            0x00405903
            0x00405903
            0x00405907
            0x00405911
            0x00405913
            0x00405918
            0x0040591d
            0x00405926
            0x00405926
            0x00405930
            0x0040593a
            0x0040593c
            0x00405943
            0x00405951
            0x00405956
            0x00405962
            0x00405964
            0x00405966
            0x0040596d
            0x00405977
            0x00405977
            0x0040597c
            0x00405981
            0x00405986
            0x00405986
            0x0040599d
            0x004059a3
            0x004059bf
            0x004059c5
            0x004059ca
            0x004059ca
            0x004059d3
            0x004059ee
            0x004059ee
            0x004059f7
            0x00405a02
            0x00405a02
            0x00405a08
            0x00405a0f
            0x00405a11
            0x00405a21
            0x00405b3e
            0x00405b3e
            0x00405b43
            0x00405b4c
            0x00405b4c
            0x00405b61
            0x00405b64
            0x00405b67
            0x00405b70
            0x00405b70
            0x00405b89
            0x00405b8f
            0x00405b91
            0x00405b91
            0x00405b9e
            0x00405edb
            0x00405eeb
            0x00405ef1
            0x00000000
            0x00000000
            0x00405ba7
            0x00405bb1
            0x00405bc5
            0x00405bd0
            0x00405bd5
            0x00405bd8
            0x00405bdb
            0x00405bdd
            0x00405be0
            0x00405bf1
            0x00405bf5
            0x00405bfa
            0x00405bfc
            0x00405c06
            0x00405c06
            0x00405bfa
            0x00405c1b
            0x00405c23
            0x00405c2b
            0x00405c2f
            0x00405c34
            0x00405c42
            0x00405c42
            0x00405c46
            0x00405c49
            0x00405c4c
            0x00405c53
            0x00405c53
            0x00405c5c
            0x00405c60
            0x00405cb3
            0x00405c62
            0x00405c62
            0x00405c6f
            0x00405c7a
            0x00405c7d
            0x00405c83
            0x00405c8f
            0x00405c95
            0x00405c9a
            0x00405c9e
            0x00405ca6
            0x00405ca6
            0x00405c7d
            0x00405ebe
            0x00405ec2
            0x00405ec6
            0x00000000
            0x00000000
            0x00405cbc
            0x00405cc1
            0x00405cc3
            0x00405cca
            0x00405ccd
            0x00405ccf
            0x00405cd4
            0x00405cd8
            0x00405cde
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405cde
            0x00405ccd
            0x00405cec
            0x00405cf6
            0x00405d06
            0x00405d0a
            0x00405d0d
            0x00405d18
            0x00405d1e
            0x00405d24
            0x00405d26
            0x00405d2f
            0x00405d32
            0x00405d3b
            0x00405d3e
            0x00405d40
            0x00405d46
            0x00405d4a
            0x00405d51
            0x00405d51
            0x00405d3e
            0x00405d32
            0x00405d57
            0x00405d5d
            0x00405d5f
            0x00405dec
            0x00405df8
            0x00405dfb
            0x00405e1a
            0x00405e2c
            0x00405e2c
            0x00405e35
            0x00405e39
            0x00405e3e
            0x00405e41
            0x00405e44
            0x00405e4e
            0x00000000
            0x00405e4e
            0x00405e04
            0x00405e08
            0x00000000
            0x00000000
            0x00405e0a
            0x00405e11
            0x00405e13
            0x00405e18
            0x00000000
            0x00000000
            0x00000000
            0x00405d65
            0x00405d65
            0x00405d89
            0x00405d8e
            0x00405d91
            0x00405d94
            0x00405d9e
            0x00405da3
            0x00405daa
            0x00405dad
            0x00405dba
            0x00405dba
            0x00405dc6
            0x00405dc9
            0x00405dcf
            0x00405dd6
            0x00405dd9
            0x00405ddb
            0x00405de1
            0x00405de8
            0x00405de8
            0x00405dd9
            0x00405e53
            0x00405e63
            0x00405e6a
            0x00405e74
            0x00405e77
            0x00405e7e
            0x00405e86
            0x00405e88
            0x00405e90
            0x00405e92
            0x00405e99
            0x00405e99
            0x00405ea2
            0x00405ea5
            0x00405eb9
            0x00405eb9
            0x00405eb9
            0x00405ea7
            0x00405ea7
            0x00405eab
            0x00405eb3
            0x00405eb3
            0x00000000
            0x00405ea5
            0x00405d5f
            0x00405ed2
            0x00405ed2
            0x00405ed5
            0x00405ed5
            0x00405ef7
            0x00405efe
            0x00405f00
            0x00405f11
            0x00405f1f
            0x00405f2b
            0x00405f2b
            0x00405f37
            0x00405f3d
            0x00000000
            0x00405f43
            0x00405f4a
            0x00405f4d
            0x00405f51
            0x00405f51
            0x00405f5b
            0x00405f68
            0x00405f78
            0x00405f84
            0x00405f90
            0x00405f9c
            0x00405fa8
            0x00405fb4
            0x00405fc0
            0x00405fcb
            0x00405fcb
            0x00405a27
            0x00405a27
            0x00405a3d
            0x00405a43
            0x00405a55
            0x00405a65
            0x00405a6e
            0x00405a83
            0x00405a8d
            0x00405a8d
            0x00405a6e
            0x00405a9e
            0x00405aa2
            0x00405aa5
            0x00405ab0
            0x00405ab6
            0x00405abe
            0x00405b32
            0x00405b39
            0x00000000
            0x00405ac0
            0x00405ac0
            0x00405aca
            0x00405ad7
            0x00405ad7
            0x00405adc
            0x00405ae6
            0x00405ae8
            0x00405af5
            0x00405af5
            0x00405b02
            0x00405b10
            0x00405b1c
            0x00405b1c
            0x00405b21
            0x00405b25
            0x0040539b
            0x0040539f
            0x004053a5
            0x004053b1
            0x004053b6
            0x004053ba
            0x004053be
            0x004053c6
            0x004053cb
            0x004053d6
            0x004053d9
            0x004053e0
            0x004053e2
            0x004053ed
            0x004053f0
            0x004053fe
            0x0040540a
            0x00405413
            0x00405418
            0x0040541e
            0x00405426
            0x0040542b
            0x00405437
            0x00405439
            0x00405442
            0x00405442
            0x00405457
            0x0040545b
            0x0040546b
            0x0040546b
            0x00405479
            0x00405497
            0x00405497
            0x004054af
            0x004054b4
            0x004054ba
            0x004054bc
            0x004054bc
            0x004054d2
            0x004054d7
            0x004054dd
            0x004054df
            0x004054df
            0x004054ed
            0x004054f1
            0x00405524
            0x004054fb
            0x004054fd
            0x00405504
            0x0040550b
            0x0040550d
            0x0040551a
            0x0040551d
            0x0040551d
            0x0040551d
            0x004054ff
            0x004054ff
            0x004054ff
            0x00405520
            0x00405520
            0x00405520
            0x0040552b
            0x0040552b
            0x00000000
            0x00405b2b
            0x00405b2b
            0x00405b2d
            0x00000000
            0x00405b2d
            0x00405b25
            0x00405abe
            0x00405a21
            0x00405533
            0x00405536
            0x00405539
            0x0040589a
            0x004058a1
            0x004058a3
            0x004058b0
            0x00000000
            0x004058b0
            0x00405561

            APIs
            Strings
            • ade:g:G:hi:lLno:p:rs:tcuvw:z, xrefs: 004058BF
            • no destination, xrefs: 00405B45
            • -ddetach from console, background mode, xrefs: 00405F7D
            • port numbers can be individual or ranges: m-n [inclusive], xrefs: 00405FB9
            • [v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:, xrefs: 00405F71
            • -g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum, xrefs: 00405F95
            • sent %d, rcvd %d, xrefs: 00405B15
            • sent %d, rcvd %d, xrefs: 00405F24
            • -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning], xrefs: 00405FAD
            • no port[s] to connect to, xrefs: 00405B69
            • invalid wait-time %s, xrefs: 00405848
            • no connection, xrefs: 00405B32
            • invalid port %s, xrefs: 00405A86
            • -e proginbound program to exec [dangerous!!], xrefs: 00405F89
            • -tanswer TELNET negotiation, xrefs: 00405FA1
            • can't open %s, xrefs: 00405970
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: _close_open
            • String ID: -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning]$-ddetach from console, background mode$-e proginbound program to exec [dangerous!!]$-g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum$-tanswer TELNET negotiation$ sent %d, rcvd %d$[v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:$ade:g:G:hi:lLno:p:rs:tcuvw:z$can't open %s$invalid port %s$invalid wait-time %s$no connection$no destination$no port[s] to connect to$port numbers can be individual or ranges: m-n [inclusive]$sent %d, rcvd %d
            • API String ID: 3007559463-633440223
            • Opcode ID: 76f88a5d1358f924b7e8d9898098cb5b8bac9a8561e16428d76b4f049ea4efc6
            • Instruction ID: 05b4733661cf0231066567cd4c170bdb3769fcc207079a19a1e9e71d0c46e157
            • Opcode Fuzzy Hash: 76f88a5d1358f924b7e8d9898098cb5b8bac9a8561e16428d76b4f049ea4efc6
            • Instruction Fuzzy Hash: 4AB11DA1700A0486EB10EF26E89136A37A0F744798F44442AEB5DB77E5EF3CD945C79C
            Uniqueness

            Uniqueness Score: -1.00%

            Control-flow Graph

            • Executed
            • Not Executed
            control_flow_graph 1129 4055c3-4055d6 call 4074b0 1132 4055d8-4055df 1129->1132 1133 4055ec-4055fa call 4035db 1129->1133 1132->1133 1135 4055e1-4055e7 1132->1135 1136 4058bb-4058d6 call 402422 1133->1136 1135->1136 1140 405533-405539 1136->1140 1141 4058dc-4058e6 1136->1141 1144 40589a-4058b5 call 4035db 1140->1144 1145 40553f-40555d 1140->1145 1142 405907-405911 1141->1142 1143 4058e8-405903 call 4073a0 call 4074f8 call 40371e 1141->1143 1147 405930-40593a 1142->1147 1148 405913-405926 _close 1142->1148 1143->1142 1144->1136 1145->1144 1151 40593c-405964 _open 1147->1151 1152 40598d-4059a3 1147->1152 1148->1147 1157 405966-405977 call 4035db 1151->1157 1158 40597c-405986 call 40371e 1151->1158 1153 4059a5-4059ca call 403841 1152->1153 1154 4059ce-4059d3 1152->1154 1153->1154 1163 4059f2-4059f7 1154->1163 1164 4059d5-4059e2 1154->1164 1157->1158 1158->1152 1170 405a08-405a21 1163->1170 1171 4059f9-405a02 1163->1171 1164->1163 1169 4059e4-4059ee 1164->1169 1169->1163 1174 405a27-405a43 1170->1174 1175 405b3e-405b43 1170->1175 1171->1170 1178 405a92-405abe call 40425f 1174->1178 1179 405a45-405a6e call 403bc0 1174->1179 1176 405b51-405b67 1175->1176 1177 405b45-405b4c call 4035db 1175->1177 1183 405b75-405b8f 1176->1183 1184 405b69-405b70 call 4035db 1176->1184 1177->1176 1191 405ac0-405aca 1178->1191 1192 405b32-405b39 call 4035db 1178->1192 1179->1178 1190 405a70-405a8d call 4035db 1179->1190 1188 405b91 1183->1188 1189 405b9a-405ba2 1183->1189 1184->1183 1188->1189 1193 405edb-405ef1 1189->1193 1190->1178 1198 405adc-405ae6 1191->1198 1199 405acc-405ad7 call 4026fd 1191->1199 1192->1175 1194 405ba7-405bdb call 4074f0 1193->1194 1195 405ef7-405f11 1193->1195 1214 405c0b-405c34 call 403bc0 1194->1214 1215 405bdd-405bfa call 403bc0 1194->1215 1212 405f30-405f3d 1195->1212 1213 405f13-405f2b call 4034eb 1195->1213 1202 405af7-405b02 1198->1202 1203 405ae8-405af5 call 404b7c 1198->1203 1199->1198 1207 405b21-405b25 1202->1207 1208 405b04-405b1c call 4034eb 1202->1208 1203->1202 1210 405397-405398 1207->1210 1211 405b2b-405b2d call 407428 1207->1211 1208->1207 1219 40539b-40539f 1210->1219 1211->1192 1228 405f43-405f4d 1212->1228 1229 40539a 1212->1229 1213->1212 1226 405c36-405c53 call 4035db 1214->1226 1227 405c58-405c60 1214->1227 1215->1214 1231 405bfc-405c06 call 4035db 1215->1231 1219->1136 1224 4053a5-4053d9 call 40371e * 2 1219->1224 1256 4053e2-4053fe call 4074e8 1224->1256 1226->1227 1233 405c62-405c7d 1227->1233 1234 405caf-405cb7 1227->1234 1235 405f56-405fcb call 407428 call 4034eb * 6 call 4035db 1228->1235 1236 405f4f-405f51 call 407428 1228->1236 1229->1219 1231->1214 1239 405c83-405caa call 403e4e call 403dca 1233->1239 1240 405ebe-405ec6 1233->1240 1234->1240 1236->1235 1239->1240 1245 405cbc-405cc1 1240->1245 1246 405ecc-405ed5 1240->1246 1250 405cc3-405ccd 1245->1250 1251 405ce6-405d26 call 403bc0 call 403ec7 1245->1251 1246->1193 1250->1251 1255 405ccf-405cde call 4074c0 1250->1255 1272 405d57-405d5f 1251->1272 1273 405d28-405d32 1251->1273 1255->1251 1267 405ce0 1255->1267 1263 405403-405413 call 407490 1256->1263 1279 405418-405439 _read 1263->1279 1267->1251 1277 405d65-405dad call 4034eb 1272->1277 1278 405dec-405dfb 1272->1278 1273->1272 1276 405d34-405d3e 1273->1276 1276->1272 1283 405d40-405d51 call 404773 1276->1283 1297 405dbf-405dc9 1277->1297 1298 405daf-405dba call 4026fd 1277->1298 1281 405e1a-405e4e call 4034eb 1278->1281 1282 405dfd-405e08 1278->1282 1285 405447-40545b call 40377b 1279->1285 1286 40543b-405442 call 4035db 1279->1286 1296 405e53-405e88 1281->1296 1282->1281 1288 405e0a-405e18 1282->1288 1283->1272 1306 405471-405479 1285->1306 1307 40545d-40546b 1285->1307 1286->1285 1288->1281 1288->1296 1319 405e8a-405e92 1296->1319 1320 405e9b-405ea5 1296->1320 1297->1296 1300 405dcf-405dd9 1297->1300 1298->1297 1300->1296 1304 405ddb-405dea call 404b7c 1300->1304 1304->1296 1311 40547b-405497 call 4073f8 1306->1311 1312 40549c-4054ba call 4074f0 1306->1312 1307->1306 1311->1312 1321 4054bc 1312->1321 1322 4054bf-4054dd call 4074f0 1312->1322 1319->1320 1323 405ea7-405eb7 call 403dca 1320->1323 1324 405eb9 1320->1324 1321->1322 1329 4054e2-4054f6 1322->1329 1330 4054df 1322->1330 1323->1240 1324->1240 1331 405524-405529 1329->1331 1330->1329 1332 4054f8-4054fd 1331->1332 1333 40552b-40552e 1331->1333 1334 405504-40550d 1332->1334 1335 4054ff-405502 1332->1335 1333->1136 1336 405520 1334->1336 1337 40550f-40551d 1334->1337 1335->1336 1336->1331 1337->1336
            C-Code - Quality: 19%
            			E004055C3(signed int __eax, void* __edx, void* __edi, void* __esp, signed long long __rbx, void* __rsi, void* __r9, signed int _a16, long long _a24, long long _a32) {
            				void* _v24;
            				signed int _v32;
            				void* _v40;
            				signed int _v42;
            				signed short _v44;
            				signed int _v46;
            				signed int _v48;
            				signed long long _v56;
            				intOrPtr _v60;
            				signed int _v74;
            				signed int _t104;
            				signed int _t128;
            				signed int _t129;
            				void* _t144;
            				signed int _t147;
            				signed int _t154;
            				signed int _t156;
            				signed int _t158;
            				signed int _t187;
            				intOrPtr _t193;
            				signed int _t207;
            				void* _t267;
            				signed int _t269;
            				void* _t270;
            				signed int _t271;
            				void* _t272;
            				signed long long _t311;
            				signed int* _t312;
            				signed long long _t316;
            				signed long long _t319;
            				signed long long _t320;
            				intOrPtr _t323;
            				signed long long _t327;
            				signed long long _t330;
            				signed long long _t333;
            				signed int _t339;
            				signed long long _t341;
            				signed int _t348;
            				signed int* _t349;
            				signed long long _t353;
            				intOrPtr* _t355;
            				long long _t356;
            				long long* _t359;
            				signed long long _t379;
            				long long _t389;
            				signed long long _t390;
            				long long _t392;
            				char* _t393;
            				char* _t394;
            				long long _t444;
            				void* _t446;
            				void* _t456;
            
            				_t456 = __r9;
            				_t446 = __rsi;
            				_t390 = __rbx;
            				_t272 = __esp;
            				_t267 = __edi;
            				L004074B0();
            				_t268 = __eax;
            				if(__eax == 0) {
            					L26:
            					E004035DB(_t232, __eflags, _t390, "invalid hop pointer %d, must be multiple of 4 <= 28", _t439, _t453, _t456);
            					goto L28;
            				} else {
            					__eflags = (__eax & 0x0000001c) - __eax;
            					if(__eflags != 0) {
            						goto L26;
            					}
            					 *0x408028 = __eax;
            					while(1) {
            						L28:
            						_t311 = _a24;
            						_t453 = "ade:g:G:hi:lLno:p:rs:tcuvw:z";
            						_t439 = _t311;
            						_t232 = _a16;
            						_t268 = E00402422(_a16, _t311, "ade:g:G:hi:lLno:p:rs:tcuvw:z");
            						if(_t268 != 0xffffffff) {
            							break;
            						}
            						if(( *0x40b0d6 & 0x0000ffff) != 0) {
            							L004073A0();
            							L004074F8();
            							_t233 = 0x10000;
            							E0040371E(0x10000, _t311, _t439);
            							_v56 = _t311;
            						}
            						_t316 =  *0x40b0e8;
            						if(_t316 != 0) {
            							_t233 = 0;
            							L00407358();
            							 *0x40b0d4 = 0;
            							 *0x40b074 = 0;
            						}
            						_t104 =  *0x40b0d4 & 0x0000ffff;
            						if(_t104 != 0) {
            							_t316 =  *0x40b0c0;
            							r8d = 0x1b4;
            							L00407370();
            							 *0x40b074 = _t104;
            							_t286 =  *0x40b074;
            							if( *0x40b074 <= 0) {
            								_t316 =  *0x40b0c0;
            								_t439 = _t316;
            								E004035DB(_t232, _t286, _t390, "can\'t open %s", _t316, _t453, _t456);
            							}
            							_t233 = 0x64;
            							E0040371E(0x64, _t316, _t439);
            							 *0x40b0c0 = _t316;
            						}
            						_t319 =  *((intOrPtr*)((_t316 << 3) + _a24));
            						if(_t319 != 0) {
            							_t389 =  *((intOrPtr*)((_t319 << 3) + _a24));
            							E00403841( *0x40b0d2 & 0xffff, _t389, _t439, _t456);
            							_v24 = _t389;
            						}
            						if(_v24 != 0 && _v24 + 0x1c0 != 0) {
            							_v40 = _v24 + 0x1c0;
            						}
            						if(_v40 != 0) {
            							 *0x40b048 =  *0x40b048 + 1;
            						}
            						_t320 = __imp___errno;
            						 *_t320();
            						 *_t320 = 0;
            						if(( *0x40b0d0 & 0x0000ffff) == 0) {
            							L58:
            							_t303 = _v40;
            							if(_v40 == 0) {
            								E004035DB(_t232, _t303, _t390, "no destination", _t439, _t453, _t456);
            							}
            							_t323 =  *((intOrPtr*)((_t320 << 3) + _a24));
            							_t304 = _t323;
            							if(_t323 == 0) {
            								E004035DB(_t232, _t304, _t390, "no port[s] to connect to", _t439, _t453, _t456);
            							}
            							_t327 =  *((intOrPtr*)((_t323 + 1 << 3) + _a24));
            							if(_t327 != 0) {
            								 *0x40802c = 0;
            							}
            							_v44 = _v42 & 0x0000ffff;
            							while(1) {
            								_t330 =  *((_t327 << 3) + _a24);
            								if(_t330 == 0) {
            									break;
            								}
            								_v74 = 0;
            								_v46 = _v74 & 0x0000ffff;
            								_t333 =  *((intOrPtr*)((_t330 << 3) + _a24));
            								L004074F0();
            								_t390 = _t333;
            								__eflags = _t390;
            								if(_t390 != 0) {
            									 *_t390 = 0;
            									_t390 = _t390 + 1;
            									_v46 = E00403BC0(0, _t390);
            									__eflags = _v46;
            									if(__eflags == 0) {
            										_t439 = _t390;
            										E004035DB(_t233, __eflags, _t390, "invalid port %s", _t390, _t454, _t456);
            									}
            								}
            								_t327 =  *((intOrPtr*)((_t333 << 3) + _a24));
            								_t400 = _t327;
            								_v74 = E00403BC0(0, _t327);
            								__eflags = _v74;
            								if(_v74 == 0) {
            									_t348 = (_t327 << 3) + _a24;
            									__eflags = _t348;
            									_t327 =  *_t348;
            									_t439 = _t327;
            									_t400 = "invalid port %s";
            									E004035DB(_t233, _t348, _t390, "invalid port %s", _t327, _t454, _t456);
            								}
            								__eflags = (_v46 & 0x0000ffff) - _v74;
            								if((_v46 & 0x0000ffff) <= _v74) {
            									_v48 = _v74 & 0x0000ffff;
            								} else {
            									 *0x40802c = 0;
            									_v48 = _v46 & 0x0000ffff;
            									__eflags =  *0x40b0d6 & 0x0000ffff;
            									if(( *0x40b0d6 & 0x0000ffff) != 0) {
            										_t233 = _v46 & 0x0000ffff;
            										r8d = _v46 & 0x0000ffff;
            										E00403E4E(_v74 & 0x0000ffff, _v56, _v56);
            										_t327 = _v56;
            										_t400 = _t327;
            										_v48 = E00403DCA(_t269, _t327, _t327);
            									}
            								}
            								while(1) {
            									__eflags = (_v74 & 0x0000ffff) - _v48;
            									if((_v74 & 0x0000ffff) > _v48) {
            										break;
            									}
            									__eflags = _v42;
            									if(_v42 == 0) {
            										_t156 =  *0x40b0d6 & 0x0000ffff;
            										__eflags = _t156;
            										if(_t156 != 0) {
            											L004074C0();
            											_v44 = _t156;
            											__eflags = _v44 - 0x1fff;
            											if(_v44 <= 0x1fff) {
            												_t69 =  &_v44;
            												 *_t69 = _v44 + 0x2000;
            												__eflags =  *_t69;
            											}
            										}
            									}
            									_t233 = 0;
            									_v48 = E00403BC0(_v48 & 0x0000ffff, _t400);
            									_t336 = _v40;
            									r9d = _v44 & 0x0000ffff;
            									_t454 = _v32;
            									 *0x408010 = E00403EC7(_v48 & 0x0000ffff, _v40, _t439, _v32, _t456);
            									_t128 =  *0x408010; // 0xffffffff
            									__eflags = _t128;
            									if(_t128 > 0) {
            										__eflags =  *0x40b0e0 & 0x0000ffff;
            										if(( *0x40b0e0 & 0x0000ffff) != 0) {
            											__eflags =  *0x40b0d8 & 0x0000ffff;
            											if(( *0x40b0d8 & 0x0000ffff) != 0) {
            												_t154 =  *0x408010; // 0xffffffff
            												_t439 = _v40;
            												_t233 = _t154;
            												 *0x408010 = E00404773(_t154, _t336, _v40);
            											}
            										}
            									}
            									_t129 =  *0x408010; // 0xffffffff
            									__eflags = _t129;
            									if(_t129 <= 0) {
            										_t269 = 1;
            										__eflags =  *0x40802c & 0x0000ffff;
            										if(( *0x40802c & 0x0000ffff) != 0) {
            											L91:
            											_t339 = _v24 + 0x100;
            											__eflags = _t339;
            											_t340 = _v24;
            											_a32 =  *0x40b0b8;
            											r9d = _v48 & 0x0000ffff;
            											_t454 = _t339;
            											_t439 = _v24;
            											E004034EB("%s [%s] %d (%s)", _v24, _t339, _t456);
            											goto L92;
            										}
            										__eflags = ( *0x40b0da & 0x0000ffff) - 1;
            										if(( *0x40b0da & 0x0000ffff) > 1) {
            											goto L91;
            										}
            										_t340 = __imp__WSAGetLastError;
            										_t144 =  *__imp__WSAGetLastError();
            										__eflags = _t144 - 0x274d;
            										if(_t144 == 0x274d) {
            											goto L92;
            										}
            										goto L91;
            									} else {
            										_t269 = 0;
            										_a32 =  *0x40b0b8;
            										r9d = _v48 & 0x0000ffff;
            										_t454 = _v24 + 0x100;
            										_t439 = _v24;
            										E004034EB("%s [%s] %d (%s) open", _v24, _v24 + 0x100, _t456);
            										_t340 =  *0x40b0e8;
            										__eflags = _t340;
            										if(_t340 != 0) {
            											E004026FD(_t233, _t340, _t340, _t454);
            										}
            										__eflags =  *0x40b0e0 & 0x0000ffff;
            										if(( *0x40b0e0 & 0x0000ffff) == 0) {
            											_t340 =  *0x40b0e8;
            											__eflags = _t340;
            											if(_t340 == 0) {
            												_t147 =  *0x408010; // 0xffffffff
            												_t233 = _t147;
            												_t269 = E00404B7C(_t147, _t267, _t272, _t454, _t456);
            											}
            										}
            										L92:
            										_t341 = __imp__shutdown;
            										 *_t341();
            										_t400 = _t341;
            										_t327 = __imp__closesocket;
            										 *_t327();
            										__eflags =  *0x40b0cc;
            										if( *0x40b0cc != 0) {
            											_t233 =  *0x40b0cc;
            											_t327 = __imp___sleep;
            											 *_t327();
            										}
            										__eflags =  *0x40b0d6 & 0x0000ffff;
            										if(( *0x40b0d6 & 0x0000ffff) == 0) {
            											_t88 =  &_v48;
            											 *_t88 = _v48 - 1;
            											__eflags =  *_t88;
            										} else {
            											_t327 = _v56;
            											_t400 = _t327;
            											_v48 = E00403DCA(_t269, _t327, _t327);
            										}
            										continue;
            									}
            								}
            								_t158 =  *0x40b048 + 1;
            								__eflags = _t158;
            								 *0x40b048 = _t158;
            							}
            							_t349 = __imp___errno;
            							 *_t349();
            							 *_t349 = 0;
            							if(( *0x40b0da & 0x0000ffff) > 1) {
            								r8d =  *0x40b080;
            								E004034EB("sent %d, rcvd %d", _t439, _t454, _t456);
            							}
            							 *__imp__WSACleanup();
            							if(_v60 == 1) {
            								goto L3;
            							} else {
            								_t309 =  *0x40802c & 0x0000ffff;
            								if(( *0x40802c & 0x0000ffff) != 0) {
            									L00407428();
            								}
            								L00407428();
            								 *0x40b0da = 1;
            								E004034EB("[v1.12 NT http://eternallybored.org/misc/netcat/]\nconnect to somewhere:\tnc [-options] hostname port[s] [ports] ... \nlisten for inbound:\tnc -l -p port [options] [hostname] [port]\noptions:", _t439, _t454, _t456);
            								E004034EB("\t-d\t\tdetach from console, background mode\n", _t439, _t454, _t456);
            								E004034EB("\t-e prog\t\tinbound program to exec [dangerous!!]", _t439, _t454, _t456);
            								E004034EB("\t-g gateway\tsource-routing hop point[s], up to 8\n\t-G num\t\tsource-routing pointer: 4, 8, 12, ...\n\t-h\t\tthis cruft\n\t-i secs\t\tdelay interval for lines sent, ports scanned\n\t-l\t\tlisten mode, for inbound connects\n\t-L\t\tlisten harder, re-listen on socket close\n\t-n\t\tnumeric-only IP addresses, no DNS\n\t-o file\t\thex dump of traffic\n\t-p port\t\tlocal port number\n\t-r\t\trandomize local and remote ports\n\t-s addr\t\tlocal source address", _t439, _t454, _t456);
            								E004034EB("\t-t\t\tanswer TELNET negotiation", _t439, _t454, _t456);
            								E004034EB("\t-c\t\tsend CRLF instead of just LF\n\t-u\t\tUDP mode\n\t-v\t\tverbose [use twice to be more verbose]\n\t-w secs\t\ttimeout for connects and final net reads\n\t-z\t\tzero-I/O mode [used for scanning]", _t439, _t454, _t456);
            								E004035DB(0, _t309, _t390, "port numbers can be individual or ranges: m-n [inclusive]", _t439, _t454, _t456);
            								return 0;
            							}
            						} else {
            							_v48 = 0;
            							_t353 =  *((intOrPtr*)((_t320 << 3) + _a24));
            							if(_t353 != 0) {
            								_t379 =  *((intOrPtr*)((_t353 << 3) + _a24));
            								_v48 = E00403BC0(0, _t379);
            								if(_v48 == 0) {
            									_t439 =  *((intOrPtr*)((_t379 << 3) + _a24));
            									E004035DB(_t232, (_t379 << 3) + _a24, _t390, "invalid port %s",  *((intOrPtr*)((_t379 << 3) + _a24)), _t453, _t456);
            								}
            							}
            							_t320 = _v40;
            							r9d = _v42 & 0x0000ffff;
            							_t454 = _v32;
            							 *0x408010 = E0040425F(_v48 & 0x0000ffff, _t320, _v32, _t456);
            							_t187 =  *0x408010; // 0xffffffff
            							if(_t187 <= 0) {
            								L57:
            								E004035DB(_t232, _t302, _t390, "no connection", _t439, _t454, _t456);
            								goto L58;
            							} else {
            								_t354 =  *0x40b0e8;
            								if( *0x40b0e8 != 0) {
            									E004026FD(_t232, _t354, _t354, _t454);
            								}
            								_t320 =  *0x40b0e8;
            								if(_t320 == 0) {
            									_t207 =  *0x408010; // 0xffffffff
            									_t268 = E00404B7C(_t207, _t267, _t272, _t454, _t456);
            								}
            								if(( *0x40b0da & 0x0000ffff) > 1) {
            									r8d =  *0x40b080;
            									E004034EB(" sent %d, rcvd %d", _t439, _t454, _t456);
            								}
            								_t302 = _v60 - 1;
            								if(_v60 == 1) {
            									L3:
            									if(_a16 == 1) {
            										_t355 = _a24;
            										E0040371E(0x400, _t355, _t439);
            										_a24 = _t355;
            										_t356 = _a24;
            										 *_t356 =  *_t355;
            										E0040371E(0x2000, _t356, _t439);
            										_t392 = _t356;
            										 *((long long*)(_a24 + 8)) = _t392;
            										_t359 = __imp____iob_func;
            										 *_t359();
            										_t6 = _t359 + 0x60; // 0x60
            										_t456 = _t6;
            										r8d = 0xa;
            										L004074E8(); // executed
            										_t193 =  *__imp____iob_func();
            										L00407490();
            										r8d = 0x2000;
            										_t444 = _t392;
            										L00407368(); // executed
            										 *0x40b07c = _t193;
            										_t275 =  *0x40b07c;
            										if( *0x40b07c == 0) {
            											E004035DB(0, _t275, _t392, "wrong", _t444, _t454, _t456);
            										}
            										_t270 = E0040377B( *0x40b07c, _t392);
            										if(_t270 != 0) {
            											 *0x40b07c =  *0x40b07c - _t270;
            										}
            										if( *0x40b07c != 0) {
            											L004073F8();
            										}
            										L004074F0();
            										_t393 =  *((intOrPtr*)(_a24 + 8));
            										if(_t393 != 0) {
            											 *_t393 = 0;
            										}
            										L004074F0();
            										_t394 =  *((intOrPtr*)(_a24 + 8));
            										if(_t394 != 0) {
            											 *_t394 = 0;
            										}
            										_t390 =  *((intOrPtr*)(_a24 + 8)) + 1;
            										_t271 = 2;
            										while(( *_t390 & 0x000000ff) != 0) {
            											__eflags = ( *_t390 & 0x000000ff) - 0x20;
            											if(( *_t390 & 0x000000ff) != 0x20) {
            												_t11 = _t390 - 1; // -2
            												__eflags =  *_t11 & 0x000000ff;
            												if(( *_t11 & 0x000000ff) == 0) {
            													 *((_t271 << 3) + _a24) = _t390;
            													_t271 = _t271 + 1;
            													__eflags = _t271;
            												}
            											} else {
            												 *_t390 = 0;
            											}
            											_t390 = _t390 + 1;
            											__eflags = _t390;
            										}
            										_a16 = _t271;
            									}
            									continue;
            								} else {
            									_t232 = _t268;
            									L00407428();
            									goto L57;
            								}
            							}
            						}
            					}
            					_t14 = _t446 - 0x47; // -71
            					__eflags = _t14 - 0x33;
            					if(__eflags > 0) {
            						_t312 = __imp___errno;
            						 *_t312();
            						 *_t312 = 0;
            						E004035DB(_t232, __eflags, _t390, "nc -h for help", _t439, "ade:g:G:hi:lLno:p:rs:tcuvw:z", _t456);
            						goto L28;
            					}
            					_t439 =  *((intOrPtr*)(0x409b50 + _t311 * 4));
            					goto __rax;
            				}
            			}























































            0x004055c3
            0x004055c3
            0x004055c3
            0x004055c3
            0x004055c3
            0x004055cd
            0x004055d2
            0x004055d6
            0x004055ec
            0x004055f5
            0x00000000
            0x004055d8
            0x004055dd
            0x004055df
            0x00000000
            0x00000000
            0x004055e1
            0x004058bb
            0x004058bb
            0x004058bb
            0x004058bf
            0x004058c6
            0x004058c9
            0x004058d1
            0x004058d6
            0x00000000
            0x00000000
            0x004058e6
            0x004058ed
            0x004058f4
            0x004058f9
            0x004058fe
            0x00405903
            0x00405903
            0x00405907
            0x00405911
            0x00405913
            0x00405918
            0x0040591d
            0x00405926
            0x00405926
            0x00405930
            0x0040593a
            0x0040593c
            0x00405943
            0x00405951
            0x00405956
            0x00405962
            0x00405964
            0x00405966
            0x0040596d
            0x00405977
            0x00405977
            0x0040597c
            0x00405981
            0x00405986
            0x00405986
            0x0040599d
            0x004059a3
            0x004059bf
            0x004059c5
            0x004059ca
            0x004059ca
            0x004059d3
            0x004059ee
            0x004059ee
            0x004059f7
            0x00405a02
            0x00405a02
            0x00405a08
            0x00405a0f
            0x00405a11
            0x00405a21
            0x00405b3e
            0x00405b3e
            0x00405b43
            0x00405b4c
            0x00405b4c
            0x00405b61
            0x00405b64
            0x00405b67
            0x00405b70
            0x00405b70
            0x00405b89
            0x00405b8f
            0x00405b91
            0x00405b91
            0x00405b9e
            0x00405edb
            0x00405eeb
            0x00405ef1
            0x00000000
            0x00000000
            0x00405ba7
            0x00405bb1
            0x00405bc5
            0x00405bd0
            0x00405bd5
            0x00405bd8
            0x00405bdb
            0x00405bdd
            0x00405be0
            0x00405bf1
            0x00405bf5
            0x00405bfa
            0x00405bfc
            0x00405c06
            0x00405c06
            0x00405bfa
            0x00405c1b
            0x00405c23
            0x00405c2b
            0x00405c2f
            0x00405c34
            0x00405c42
            0x00405c42
            0x00405c46
            0x00405c49
            0x00405c4c
            0x00405c53
            0x00405c53
            0x00405c5c
            0x00405c60
            0x00405cb3
            0x00405c62
            0x00405c62
            0x00405c6f
            0x00405c7a
            0x00405c7d
            0x00405c83
            0x00405c8f
            0x00405c95
            0x00405c9a
            0x00405c9e
            0x00405ca6
            0x00405ca6
            0x00405c7d
            0x00405ebe
            0x00405ec2
            0x00405ec6
            0x00000000
            0x00000000
            0x00405cbc
            0x00405cc1
            0x00405cc3
            0x00405cca
            0x00405ccd
            0x00405ccf
            0x00405cd4
            0x00405cd8
            0x00405cde
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405cde
            0x00405ccd
            0x00405cec
            0x00405cf6
            0x00405d06
            0x00405d0a
            0x00405d0d
            0x00405d18
            0x00405d1e
            0x00405d24
            0x00405d26
            0x00405d2f
            0x00405d32
            0x00405d3b
            0x00405d3e
            0x00405d40
            0x00405d46
            0x00405d4a
            0x00405d51
            0x00405d51
            0x00405d3e
            0x00405d32
            0x00405d57
            0x00405d5d
            0x00405d5f
            0x00405dec
            0x00405df8
            0x00405dfb
            0x00405e1a
            0x00405e2c
            0x00405e2c
            0x00405e35
            0x00405e39
            0x00405e3e
            0x00405e41
            0x00405e44
            0x00405e4e
            0x00000000
            0x00405e4e
            0x00405e04
            0x00405e08
            0x00000000
            0x00000000
            0x00405e0a
            0x00405e11
            0x00405e13
            0x00405e18
            0x00000000
            0x00000000
            0x00000000
            0x00405d65
            0x00405d65
            0x00405d89
            0x00405d8e
            0x00405d91
            0x00405d94
            0x00405d9e
            0x00405da3
            0x00405daa
            0x00405dad
            0x00405dba
            0x00405dba
            0x00405dc6
            0x00405dc9
            0x00405dcf
            0x00405dd6
            0x00405dd9
            0x00405ddb
            0x00405de1
            0x00405de8
            0x00405de8
            0x00405dd9
            0x00405e53
            0x00405e63
            0x00405e6a
            0x00405e74
            0x00405e77
            0x00405e7e
            0x00405e86
            0x00405e88
            0x00405e90
            0x00405e92
            0x00405e99
            0x00405e99
            0x00405ea2
            0x00405ea5
            0x00405eb9
            0x00405eb9
            0x00405eb9
            0x00405ea7
            0x00405ea7
            0x00405eab
            0x00405eb3
            0x00405eb3
            0x00000000
            0x00405ea5
            0x00405d5f
            0x00405ed2
            0x00405ed2
            0x00405ed5
            0x00405ed5
            0x00405ef7
            0x00405efe
            0x00405f00
            0x00405f11
            0x00405f1f
            0x00405f2b
            0x00405f2b
            0x00405f37
            0x00405f3d
            0x00000000
            0x00405f43
            0x00405f4a
            0x00405f4d
            0x00405f51
            0x00405f51
            0x00405f5b
            0x00405f68
            0x00405f78
            0x00405f84
            0x00405f90
            0x00405f9c
            0x00405fa8
            0x00405fb4
            0x00405fc0
            0x00405fcb
            0x00405fcb
            0x00405a27
            0x00405a27
            0x00405a3d
            0x00405a43
            0x00405a55
            0x00405a65
            0x00405a6e
            0x00405a83
            0x00405a8d
            0x00405a8d
            0x00405a6e
            0x00405a9e
            0x00405aa2
            0x00405aa5
            0x00405ab0
            0x00405ab6
            0x00405abe
            0x00405b32
            0x00405b39
            0x00000000
            0x00405ac0
            0x00405ac0
            0x00405aca
            0x00405ad7
            0x00405ad7
            0x00405adc
            0x00405ae6
            0x00405ae8
            0x00405af5
            0x00405af5
            0x00405b02
            0x00405b10
            0x00405b1c
            0x00405b1c
            0x00405b21
            0x00405b25
            0x0040539b
            0x0040539f
            0x004053a5
            0x004053b1
            0x004053b6
            0x004053ba
            0x004053be
            0x004053c6
            0x004053cb
            0x004053d6
            0x004053d9
            0x004053e0
            0x004053e2
            0x004053ed
            0x004053f0
            0x004053fe
            0x0040540a
            0x00405413
            0x00405418
            0x0040541e
            0x00405426
            0x0040542b
            0x00405437
            0x00405439
            0x00405442
            0x00405442
            0x00405457
            0x0040545b
            0x0040546b
            0x0040546b
            0x00405479
            0x00405497
            0x00405497
            0x004054af
            0x004054b4
            0x004054ba
            0x004054bc
            0x004054bc
            0x004054d2
            0x004054d7
            0x004054dd
            0x004054df
            0x004054df
            0x004054ed
            0x004054f1
            0x00405524
            0x004054fb
            0x004054fd
            0x00405504
            0x0040550b
            0x0040550d
            0x0040551a
            0x0040551d
            0x0040551d
            0x0040551d
            0x004054ff
            0x004054ff
            0x004054ff
            0x00405520
            0x00405520
            0x00405520
            0x0040552b
            0x0040552b
            0x00000000
            0x00405b2b
            0x00405b2b
            0x00405b2d
            0x00000000
            0x00405b2d
            0x00405b25
            0x00405abe
            0x00405a21
            0x00405533
            0x00405536
            0x00405539
            0x0040589a
            0x004058a1
            0x004058a3
            0x004058b0
            0x00000000
            0x004058b0
            0x00405553
            0x00405561
            0x00405561

            APIs
            Strings
            • ade:g:G:hi:lLno:p:rs:tcuvw:z, xrefs: 004058BF
            • no destination, xrefs: 00405B45
            • -ddetach from console, background mode, xrefs: 00405F7D
            • port numbers can be individual or ranges: m-n [inclusive], xrefs: 00405FB9
            • invalid hop pointer %d, must be multiple of 4 <= 28, xrefs: 004055EE
            • [v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:, xrefs: 00405F71
            • -g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum, xrefs: 00405F95
            • sent %d, rcvd %d, xrefs: 00405B15
            • sent %d, rcvd %d, xrefs: 00405F24
            • -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning], xrefs: 00405FAD
            • no port[s] to connect to, xrefs: 00405B69
            • no connection, xrefs: 00405B32
            • invalid port %s, xrefs: 00405A86
            • -e proginbound program to exec [dangerous!!], xrefs: 00405F89
            • -tanswer TELNET negotiation, xrefs: 00405FA1
            • can't open %s, xrefs: 00405970
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: _close_open
            • String ID: -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning]$-ddetach from console, background mode$-e proginbound program to exec [dangerous!!]$-g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum$-tanswer TELNET negotiation$ sent %d, rcvd %d$[v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:$ade:g:G:hi:lLno:p:rs:tcuvw:z$can't open %s$invalid hop pointer %d, must be multiple of 4 <= 28$invalid port %s$no connection$no destination$no port[s] to connect to$port numbers can be individual or ranges: m-n [inclusive]$sent %d, rcvd %d
            • API String ID: 3007559463-3941223175
            • Opcode ID: fe10ccebe754170c8a62fe9969b43f30d820fffeb18aaa36aa2d431ed5819ef3
            • Instruction ID: b395948c6c4bd3e0e78c5d0e51a79d20c3281f9b485f8eef4a6e79a4afb90c63
            • Opcode Fuzzy Hash: fe10ccebe754170c8a62fe9969b43f30d820fffeb18aaa36aa2d431ed5819ef3
            • Instruction Fuzzy Hash: ECB13EA1B00A1486EB10DF25E89136A37A0F744798F44442AEB5DB73E5EF3CD945C79C
            Uniqueness

            Uniqueness Score: -1.00%

            Control-flow Graph

            • Executed
            • Not Executed
            control_flow_graph 1338 405743-405760 call 403bc0 1341 405766-40577c call 4035db 1338->1341 1342 4058ba 1338->1342 1344 4058bb-4058d6 call 402422 1341->1344 1342->1344 1348 405533-405539 1344->1348 1349 4058dc-4058e6 1344->1349 1352 40589a-4058b5 call 4035db 1348->1352 1353 40553f-40555d 1348->1353 1350 405907-405911 1349->1350 1351 4058e8-405903 call 4073a0 call 4074f8 call 40371e 1349->1351 1355 405930-40593a 1350->1355 1356 405913-405926 _close 1350->1356 1351->1350 1352->1344 1353->1352 1359 40593c-405964 _open 1355->1359 1360 40598d-4059a3 1355->1360 1356->1355 1365 405966-405977 call 4035db 1359->1365 1366 40597c-405986 call 40371e 1359->1366 1361 4059a5-4059ca call 403841 1360->1361 1362 4059ce-4059d3 1360->1362 1361->1362 1371 4059f2-4059f7 1362->1371 1372 4059d5-4059e2 1362->1372 1365->1366 1366->1360 1378 405a08-405a21 1371->1378 1379 4059f9-405a02 1371->1379 1372->1371 1377 4059e4-4059ee 1372->1377 1377->1371 1382 405a27-405a43 1378->1382 1383 405b3e-405b43 1378->1383 1379->1378 1386 405a92-405abe call 40425f 1382->1386 1387 405a45-405a6e call 403bc0 1382->1387 1384 405b51-405b67 1383->1384 1385 405b45-405b4c call 4035db 1383->1385 1391 405b75-405b8f 1384->1391 1392 405b69-405b70 call 4035db 1384->1392 1385->1384 1399 405ac0-405aca 1386->1399 1400 405b32-405b39 call 4035db 1386->1400 1387->1386 1398 405a70-405a8d call 4035db 1387->1398 1396 405b91 1391->1396 1397 405b9a-405ba2 1391->1397 1392->1391 1396->1397 1401 405edb-405ef1 1397->1401 1398->1386 1406 405adc-405ae6 1399->1406 1407 405acc-405ad7 call 4026fd 1399->1407 1400->1383 1402 405ba7-405bdb call 4074f0 1401->1402 1403 405ef7-405f11 1401->1403 1422 405c0b-405c34 call 403bc0 1402->1422 1423 405bdd-405bfa call 403bc0 1402->1423 1420 405f30-405f3d 1403->1420 1421 405f13-405f2b call 4034eb 1403->1421 1410 405af7-405b02 1406->1410 1411 405ae8-405af5 call 404b7c 1406->1411 1407->1406 1415 405b21-405b25 1410->1415 1416 405b04-405b1c call 4034eb 1410->1416 1411->1410 1418 405397-405398 1415->1418 1419 405b2b-405b2d call 407428 1415->1419 1416->1415 1427 40539b-40539f 1418->1427 1419->1400 1436 405f43-405f4d 1420->1436 1437 40539a 1420->1437 1421->1420 1434 405c36-405c53 call 4035db 1422->1434 1435 405c58-405c60 1422->1435 1423->1422 1439 405bfc-405c06 call 4035db 1423->1439 1427->1344 1432 4053a5-4053d9 call 40371e * 2 1427->1432 1464 4053e2-4053fe call 4074e8 1432->1464 1434->1435 1441 405c62-405c7d 1435->1441 1442 405caf-405cb7 1435->1442 1443 405f56-405fcb call 407428 call 4034eb * 6 call 4035db 1436->1443 1444 405f4f-405f51 call 407428 1436->1444 1437->1427 1439->1422 1447 405c83-405caa call 403e4e call 403dca 1441->1447 1448 405ebe-405ec6 1441->1448 1442->1448 1444->1443 1447->1448 1453 405cbc-405cc1 1448->1453 1454 405ecc-405ed5 1448->1454 1458 405cc3-405ccd 1453->1458 1459 405ce6-405d26 call 403bc0 call 403ec7 1453->1459 1454->1401 1458->1459 1463 405ccf-405cde call 4074c0 1458->1463 1480 405d57-405d5f 1459->1480 1481 405d28-405d32 1459->1481 1463->1459 1475 405ce0 1463->1475 1471 405403-405413 call 407490 1464->1471 1487 405418-405439 _read 1471->1487 1475->1459 1485 405d65-405dad call 4034eb 1480->1485 1486 405dec-405dfb 1480->1486 1481->1480 1484 405d34-405d3e 1481->1484 1484->1480 1491 405d40-405d51 call 404773 1484->1491 1505 405dbf-405dc9 1485->1505 1506 405daf-405dba call 4026fd 1485->1506 1489 405e1a-405e4e call 4034eb 1486->1489 1490 405dfd-405e08 1486->1490 1493 405447-40545b call 40377b 1487->1493 1494 40543b-405442 call 4035db 1487->1494 1504 405e53-405e88 1489->1504 1490->1489 1496 405e0a-405e18 1490->1496 1491->1480 1514 405471-405479 1493->1514 1515 40545d-40546b 1493->1515 1494->1493 1496->1489 1496->1504 1527 405e8a-405e92 1504->1527 1528 405e9b-405ea5 1504->1528 1505->1504 1508 405dcf-405dd9 1505->1508 1506->1505 1508->1504 1512 405ddb-405dea call 404b7c 1508->1512 1512->1504 1519 40547b-405497 call 4073f8 1514->1519 1520 40549c-4054ba call 4074f0 1514->1520 1515->1514 1519->1520 1529 4054bc 1520->1529 1530 4054bf-4054dd call 4074f0 1520->1530 1527->1528 1531 405ea7-405eb7 call 403dca 1528->1531 1532 405eb9 1528->1532 1529->1530 1537 4054e2-4054f6 1530->1537 1538 4054df 1530->1538 1531->1448 1532->1448 1539 405524-405529 1537->1539 1538->1537 1540 4054f8-4054fd 1539->1540 1541 40552b-40552e 1539->1541 1542 405504-40550d 1540->1542 1543 4054ff-405502 1540->1543 1541->1344 1544 405520 1542->1544 1545 40550f-40551d 1542->1545 1543->1544 1544->1539 1545->1544
            C-Code - Quality: 19%
            			E00405743(void* __ecx, void* __edi, void* __esp, signed long long __rbx, signed long long __rdx, void* __rsi, void* __r8, void* __r9, signed int _a16, long long _a24, long long _a32) {
            				void* _v24;
            				signed int _v32;
            				void* _v40;
            				signed int _v42;
            				signed short _v44;
            				signed int _v46;
            				signed int _v48;
            				signed long long _v56;
            				intOrPtr _v60;
            				signed int _v74;
            				signed int _t104;
            				signed int _t128;
            				signed int _t129;
            				void* _t144;
            				signed int _t147;
            				signed int _t154;
            				signed int _t156;
            				signed int _t158;
            				signed int _t187;
            				intOrPtr _t193;
            				signed int _t207;
            				void* _t267;
            				signed int _t268;
            				signed int _t269;
            				void* _t270;
            				signed int _t271;
            				void* _t272;
            				signed long long _t311;
            				signed int* _t312;
            				signed long long _t317;
            				signed long long _t320;
            				signed long long _t321;
            				intOrPtr _t324;
            				signed long long _t328;
            				signed long long _t331;
            				signed long long _t334;
            				signed int _t340;
            				signed long long _t342;
            				signed int _t349;
            				signed int* _t350;
            				signed long long _t354;
            				intOrPtr* _t356;
            				long long _t357;
            				long long* _t360;
            				signed long long _t380;
            				long long _t390;
            				long long _t393;
            				char* _t394;
            				char* _t395;
            				long long _t447;
            				void* _t449;
            
            				_t460 = __r9;
            				_t449 = __rsi;
            				_t440 = __rdx;
            				_t391 = __rbx;
            				_t272 = __esp;
            				_t267 = __edi;
            				_v42 = E00403BC0(0,  *0x40b040);
            				if(_v42 == 0) {
            					E004035DB(_t233, __eflags, __rbx, "invalid local port %s",  *0x40b040, _t457, __r9);
            				}
            				while(1) {
            					L27:
            					_t311 = _a24;
            					_t457 = "ade:g:G:hi:lLno:p:rs:tcuvw:z";
            					_t440 = _t311;
            					_t233 = _a16;
            					_t268 = E00402422(_a16, _t311, "ade:g:G:hi:lLno:p:rs:tcuvw:z");
            					if(_t268 != 0xffffffff) {
            						break;
            					}
            					if(( *0x40b0d6 & 0x0000ffff) != 0) {
            						L004073A0();
            						L004074F8();
            						_t234 = 0x10000;
            						E0040371E(0x10000, _t311, _t440);
            						_v56 = _t311;
            					}
            					_t317 =  *0x40b0e8;
            					if(_t317 != 0) {
            						_t234 = 0;
            						L00407358();
            						 *0x40b0d4 = 0;
            						 *0x40b074 = 0;
            					}
            					_t104 =  *0x40b0d4 & 0x0000ffff;
            					if(_t104 != 0) {
            						_t317 =  *0x40b0c0;
            						r8d = 0x1b4;
            						L00407370();
            						 *0x40b074 = _t104;
            						_t286 =  *0x40b074;
            						if( *0x40b074 <= 0) {
            							_t317 =  *0x40b0c0;
            							_t440 = _t317;
            							E004035DB(_t233, _t286, _t391, "can\'t open %s", _t317, _t457, _t460);
            						}
            						_t234 = 0x64;
            						E0040371E(0x64, _t317, _t440);
            						 *0x40b0c0 = _t317;
            					}
            					_t320 =  *((intOrPtr*)((_t317 << 3) + _a24));
            					if(_t320 != 0) {
            						_t390 =  *((intOrPtr*)((_t320 << 3) + _a24));
            						E00403841( *0x40b0d2 & 0xffff, _t390, _t440, _t460);
            						_v24 = _t390;
            					}
            					if(_v24 != 0 && _v24 + 0x1c0 != 0) {
            						_v40 = _v24 + 0x1c0;
            					}
            					if(_v40 != 0) {
            						 *0x40b048 =  *0x40b048 + 1;
            					}
            					_t321 = __imp___errno;
            					 *_t321();
            					 *_t321 = 0;
            					if(( *0x40b0d0 & 0x0000ffff) == 0) {
            						L57:
            						_t303 = _v40;
            						if(_v40 == 0) {
            							E004035DB(_t233, _t303, _t391, "no destination", _t440, _t457, _t460);
            						}
            						_t324 =  *((intOrPtr*)((_t321 << 3) + _a24));
            						_t304 = _t324;
            						if(_t324 == 0) {
            							E004035DB(_t233, _t304, _t391, "no port[s] to connect to", _t440, _t457, _t460);
            						}
            						_t328 =  *((intOrPtr*)((_t324 + 1 << 3) + _a24));
            						if(_t328 != 0) {
            							 *0x40802c = 0;
            						}
            						_v44 = _v42 & 0x0000ffff;
            						while(1) {
            							_t331 =  *((_t328 << 3) + _a24);
            							if(_t331 == 0) {
            								break;
            							}
            							_v74 = 0;
            							_v46 = _v74 & 0x0000ffff;
            							_t334 =  *((intOrPtr*)((_t331 << 3) + _a24));
            							L004074F0();
            							_t391 = _t334;
            							__eflags = _t391;
            							if(_t391 != 0) {
            								 *_t391 = 0;
            								_t391 = _t391 + 1;
            								_v46 = E00403BC0(0, _t391);
            								__eflags = _v46;
            								if(__eflags == 0) {
            									_t440 = _t391;
            									E004035DB(_t234, __eflags, _t391, "invalid port %s", _t391, _t458, _t460);
            								}
            							}
            							_t328 =  *((intOrPtr*)((_t334 << 3) + _a24));
            							_t401 = _t328;
            							_v74 = E00403BC0(0, _t328);
            							__eflags = _v74;
            							if(_v74 == 0) {
            								_t349 = (_t328 << 3) + _a24;
            								__eflags = _t349;
            								_t328 =  *_t349;
            								_t440 = _t328;
            								_t401 = "invalid port %s";
            								E004035DB(_t234, _t349, _t391, "invalid port %s", _t328, _t458, _t460);
            							}
            							__eflags = (_v46 & 0x0000ffff) - _v74;
            							if((_v46 & 0x0000ffff) <= _v74) {
            								_v48 = _v74 & 0x0000ffff;
            							} else {
            								 *0x40802c = 0;
            								_v48 = _v46 & 0x0000ffff;
            								__eflags =  *0x40b0d6 & 0x0000ffff;
            								if(( *0x40b0d6 & 0x0000ffff) != 0) {
            									_t234 = _v46 & 0x0000ffff;
            									r8d = _v46 & 0x0000ffff;
            									E00403E4E(_v74 & 0x0000ffff, _v56, _v56);
            									_t328 = _v56;
            									_t401 = _t328;
            									_v48 = E00403DCA(_t269, _t328, _t328);
            								}
            							}
            							while(1) {
            								__eflags = (_v74 & 0x0000ffff) - _v48;
            								if((_v74 & 0x0000ffff) > _v48) {
            									break;
            								}
            								__eflags = _v42;
            								if(_v42 == 0) {
            									_t156 =  *0x40b0d6 & 0x0000ffff;
            									__eflags = _t156;
            									if(_t156 != 0) {
            										L004074C0();
            										_v44 = _t156;
            										__eflags = _v44 - 0x1fff;
            										if(_v44 <= 0x1fff) {
            											_t71 =  &_v44;
            											 *_t71 = _v44 + 0x2000;
            											__eflags =  *_t71;
            										}
            									}
            								}
            								_t234 = 0;
            								_v48 = E00403BC0(_v48 & 0x0000ffff, _t401);
            								_t337 = _v40;
            								r9d = _v44 & 0x0000ffff;
            								_t458 = _v32;
            								 *0x408010 = E00403EC7(_v48 & 0x0000ffff, _v40, _t440, _v32, _t460);
            								_t128 =  *0x408010; // 0xffffffff
            								__eflags = _t128;
            								if(_t128 > 0) {
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) != 0) {
            										__eflags =  *0x40b0d8 & 0x0000ffff;
            										if(( *0x40b0d8 & 0x0000ffff) != 0) {
            											_t154 =  *0x408010; // 0xffffffff
            											_t440 = _v40;
            											_t234 = _t154;
            											 *0x408010 = E00404773(_t154, _t337, _v40);
            										}
            									}
            								}
            								_t129 =  *0x408010; // 0xffffffff
            								__eflags = _t129;
            								if(_t129 <= 0) {
            									_t269 = 1;
            									__eflags =  *0x40802c & 0x0000ffff;
            									if(( *0x40802c & 0x0000ffff) != 0) {
            										L90:
            										_t340 = _v24 + 0x100;
            										__eflags = _t340;
            										_t341 = _v24;
            										_a32 =  *0x40b0b8;
            										r9d = _v48 & 0x0000ffff;
            										_t458 = _t340;
            										_t440 = _v24;
            										E004034EB("%s [%s] %d (%s)", _v24, _t340, _t460);
            										goto L91;
            									}
            									__eflags = ( *0x40b0da & 0x0000ffff) - 1;
            									if(( *0x40b0da & 0x0000ffff) > 1) {
            										goto L90;
            									}
            									_t341 = __imp__WSAGetLastError;
            									_t144 =  *__imp__WSAGetLastError();
            									__eflags = _t144 - 0x274d;
            									if(_t144 == 0x274d) {
            										goto L91;
            									}
            									goto L90;
            								} else {
            									_t269 = 0;
            									_a32 =  *0x40b0b8;
            									r9d = _v48 & 0x0000ffff;
            									_t458 = _v24 + 0x100;
            									_t440 = _v24;
            									E004034EB("%s [%s] %d (%s) open", _v24, _v24 + 0x100, _t460);
            									_t341 =  *0x40b0e8;
            									__eflags = _t341;
            									if(_t341 != 0) {
            										E004026FD(_t234, _t341, _t341, _t458);
            									}
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) == 0) {
            										_t341 =  *0x40b0e8;
            										__eflags = _t341;
            										if(_t341 == 0) {
            											_t147 =  *0x408010; // 0xffffffff
            											_t234 = _t147;
            											_t269 = E00404B7C(_t147, _t267, _t272, _t458, _t460);
            										}
            									}
            									L91:
            									_t342 = __imp__shutdown;
            									 *_t342();
            									_t401 = _t342;
            									_t328 = __imp__closesocket;
            									 *_t328();
            									__eflags =  *0x40b0cc;
            									if( *0x40b0cc != 0) {
            										_t234 =  *0x40b0cc;
            										_t328 = __imp___sleep;
            										 *_t328();
            									}
            									__eflags =  *0x40b0d6 & 0x0000ffff;
            									if(( *0x40b0d6 & 0x0000ffff) == 0) {
            										_t90 =  &_v48;
            										 *_t90 = _v48 - 1;
            										__eflags =  *_t90;
            									} else {
            										_t328 = _v56;
            										_t401 = _t328;
            										_v48 = E00403DCA(_t269, _t328, _t328);
            									}
            									continue;
            								}
            							}
            							_t158 =  *0x40b048 + 1;
            							__eflags = _t158;
            							 *0x40b048 = _t158;
            						}
            						_t350 = __imp___errno;
            						 *_t350();
            						 *_t350 = 0;
            						if(( *0x40b0da & 0x0000ffff) > 1) {
            							r8d =  *0x40b080;
            							E004034EB("sent %d, rcvd %d", _t440, _t458, _t460);
            						}
            						 *__imp__WSACleanup();
            						if(_v60 == 1) {
            							goto L3;
            						} else {
            							_t309 =  *0x40802c & 0x0000ffff;
            							if(( *0x40802c & 0x0000ffff) != 0) {
            								L00407428();
            							}
            							L00407428();
            							 *0x40b0da = 1;
            							E004034EB("[v1.12 NT http://eternallybored.org/misc/netcat/]\nconnect to somewhere:\tnc [-options] hostname port[s] [ports] ... \nlisten for inbound:\tnc -l -p port [options] [hostname] [port]\noptions:", _t440, _t458, _t460);
            							E004034EB("\t-d\t\tdetach from console, background mode\n", _t440, _t458, _t460);
            							E004034EB("\t-e prog\t\tinbound program to exec [dangerous!!]", _t440, _t458, _t460);
            							E004034EB("\t-g gateway\tsource-routing hop point[s], up to 8\n\t-G num\t\tsource-routing pointer: 4, 8, 12, ...\n\t-h\t\tthis cruft\n\t-i secs\t\tdelay interval for lines sent, ports scanned\n\t-l\t\tlisten mode, for inbound connects\n\t-L\t\tlisten harder, re-listen on socket close\n\t-n\t\tnumeric-only IP addresses, no DNS\n\t-o file\t\thex dump of traffic\n\t-p port\t\tlocal port number\n\t-r\t\trandomize local and remote ports\n\t-s addr\t\tlocal source address", _t440, _t458, _t460);
            							E004034EB("\t-t\t\tanswer TELNET negotiation", _t440, _t458, _t460);
            							E004034EB("\t-c\t\tsend CRLF instead of just LF\n\t-u\t\tUDP mode\n\t-v\t\tverbose [use twice to be more verbose]\n\t-w secs\t\ttimeout for connects and final net reads\n\t-z\t\tzero-I/O mode [used for scanning]", _t440, _t458, _t460);
            							E004035DB(0, _t309, _t391, "port numbers can be individual or ranges: m-n [inclusive]", _t440, _t458, _t460);
            							return 0;
            						}
            					} else {
            						_v48 = 0;
            						_t354 =  *((intOrPtr*)((_t321 << 3) + _a24));
            						if(_t354 != 0) {
            							_t380 =  *((intOrPtr*)((_t354 << 3) + _a24));
            							_v48 = E00403BC0(0, _t380);
            							if(_v48 == 0) {
            								_t440 =  *((intOrPtr*)((_t380 << 3) + _a24));
            								E004035DB(_t233, (_t380 << 3) + _a24, _t391, "invalid port %s",  *((intOrPtr*)((_t380 << 3) + _a24)), _t457, _t460);
            							}
            						}
            						_t321 = _v40;
            						r9d = _v42 & 0x0000ffff;
            						_t458 = _v32;
            						 *0x408010 = E0040425F(_v48 & 0x0000ffff, _t321, _v32, _t460);
            						_t187 =  *0x408010; // 0xffffffff
            						if(_t187 <= 0) {
            							L56:
            							E004035DB(_t233, _t302, _t391, "no connection", _t440, _t458, _t460);
            							goto L57;
            						} else {
            							_t355 =  *0x40b0e8;
            							if( *0x40b0e8 != 0) {
            								E004026FD(_t233, _t355, _t355, _t458);
            							}
            							_t321 =  *0x40b0e8;
            							if(_t321 == 0) {
            								_t207 =  *0x408010; // 0xffffffff
            								_t268 = E00404B7C(_t207, _t267, _t272, _t458, _t460);
            							}
            							if(( *0x40b0da & 0x0000ffff) > 1) {
            								r8d =  *0x40b080;
            								E004034EB(" sent %d, rcvd %d", _t440, _t458, _t460);
            							}
            							_t302 = _v60 - 1;
            							if(_v60 == 1) {
            								L3:
            								if(_a16 == 1) {
            									_t356 = _a24;
            									E0040371E(0x400, _t356, _t440);
            									_a24 = _t356;
            									_t357 = _a24;
            									 *_t357 =  *_t356;
            									E0040371E(0x2000, _t357, _t440);
            									_t393 = _t357;
            									 *((long long*)(_a24 + 8)) = _t393;
            									_t360 = __imp____iob_func;
            									 *_t360();
            									_t8 = _t360 + 0x60; // 0x60
            									_t460 = _t8;
            									r8d = 0xa;
            									L004074E8(); // executed
            									_t193 =  *__imp____iob_func();
            									L00407490();
            									r8d = 0x2000;
            									_t447 = _t393;
            									L00407368(); // executed
            									 *0x40b07c = _t193;
            									_t275 =  *0x40b07c;
            									if( *0x40b07c == 0) {
            										E004035DB(0, _t275, _t393, "wrong", _t447, _t458, _t460);
            									}
            									_t270 = E0040377B( *0x40b07c, _t393);
            									if(_t270 != 0) {
            										 *0x40b07c =  *0x40b07c - _t270;
            									}
            									if( *0x40b07c != 0) {
            										L004073F8();
            									}
            									L004074F0();
            									_t394 =  *((intOrPtr*)(_a24 + 8));
            									if(_t394 != 0) {
            										 *_t394 = 0;
            									}
            									L004074F0();
            									_t395 =  *((intOrPtr*)(_a24 + 8));
            									if(_t395 != 0) {
            										 *_t395 = 0;
            									}
            									_t391 =  *((intOrPtr*)(_a24 + 8)) + 1;
            									_t271 = 2;
            									while(( *_t391 & 0x000000ff) != 0) {
            										__eflags = ( *_t391 & 0x000000ff) - 0x20;
            										if(( *_t391 & 0x000000ff) != 0x20) {
            											_t13 = _t391 - 1; // -2
            											__eflags =  *_t13 & 0x000000ff;
            											if(( *_t13 & 0x000000ff) == 0) {
            												 *((_t271 << 3) + _a24) = _t391;
            												_t271 = _t271 + 1;
            												__eflags = _t271;
            											}
            										} else {
            											 *_t391 = 0;
            										}
            										_t391 = _t391 + 1;
            										__eflags = _t391;
            									}
            									_a16 = _t271;
            								}
            								continue;
            							} else {
            								_t233 = _t268;
            								L00407428();
            								goto L56;
            							}
            						}
            					}
            				}
            				_t16 = _t449 - 0x47; // -71
            				__eflags = _t16 - 0x33;
            				if(__eflags > 0) {
            					_t312 = __imp___errno;
            					 *_t312();
            					 *_t312 = 0;
            					E004035DB(_t233, __eflags, _t391, "nc -h for help", _t440, "ade:g:G:hi:lLno:p:rs:tcuvw:z", _t460);
            					goto L27;
            				}
            				goto __rax;
            			}






















































            0x00405743
            0x00405743
            0x00405743
            0x00405743
            0x00405743
            0x00405743
            0x00405757
            0x00405760
            0x00405777
            0x00405777
            0x004058bb
            0x004058bb
            0x004058bb
            0x004058bf
            0x004058c6
            0x004058c9
            0x004058d1
            0x004058d6
            0x00000000
            0x00000000
            0x004058e6
            0x004058ed
            0x004058f4
            0x004058f9
            0x004058fe
            0x00405903
            0x00405903
            0x00405907
            0x00405911
            0x00405913
            0x00405918
            0x0040591d
            0x00405926
            0x00405926
            0x00405930
            0x0040593a
            0x0040593c
            0x00405943
            0x00405951
            0x00405956
            0x00405962
            0x00405964
            0x00405966
            0x0040596d
            0x00405977
            0x00405977
            0x0040597c
            0x00405981
            0x00405986
            0x00405986
            0x0040599d
            0x004059a3
            0x004059bf
            0x004059c5
            0x004059ca
            0x004059ca
            0x004059d3
            0x004059ee
            0x004059ee
            0x004059f7
            0x00405a02
            0x00405a02
            0x00405a08
            0x00405a0f
            0x00405a11
            0x00405a21
            0x00405b3e
            0x00405b3e
            0x00405b43
            0x00405b4c
            0x00405b4c
            0x00405b61
            0x00405b64
            0x00405b67
            0x00405b70
            0x00405b70
            0x00405b89
            0x00405b8f
            0x00405b91
            0x00405b91
            0x00405b9e
            0x00405edb
            0x00405eeb
            0x00405ef1
            0x00000000
            0x00000000
            0x00405ba7
            0x00405bb1
            0x00405bc5
            0x00405bd0
            0x00405bd5
            0x00405bd8
            0x00405bdb
            0x00405bdd
            0x00405be0
            0x00405bf1
            0x00405bf5
            0x00405bfa
            0x00405bfc
            0x00405c06
            0x00405c06
            0x00405bfa
            0x00405c1b
            0x00405c23
            0x00405c2b
            0x00405c2f
            0x00405c34
            0x00405c42
            0x00405c42
            0x00405c46
            0x00405c49
            0x00405c4c
            0x00405c53
            0x00405c53
            0x00405c5c
            0x00405c60
            0x00405cb3
            0x00405c62
            0x00405c62
            0x00405c6f
            0x00405c7a
            0x00405c7d
            0x00405c83
            0x00405c8f
            0x00405c95
            0x00405c9a
            0x00405c9e
            0x00405ca6
            0x00405ca6
            0x00405c7d
            0x00405ebe
            0x00405ec2
            0x00405ec6
            0x00000000
            0x00000000
            0x00405cbc
            0x00405cc1
            0x00405cc3
            0x00405cca
            0x00405ccd
            0x00405ccf
            0x00405cd4
            0x00405cd8
            0x00405cde
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405cde
            0x00405ccd
            0x00405cec
            0x00405cf6
            0x00405d06
            0x00405d0a
            0x00405d0d
            0x00405d18
            0x00405d1e
            0x00405d24
            0x00405d26
            0x00405d2f
            0x00405d32
            0x00405d3b
            0x00405d3e
            0x00405d40
            0x00405d46
            0x00405d4a
            0x00405d51
            0x00405d51
            0x00405d3e
            0x00405d32
            0x00405d57
            0x00405d5d
            0x00405d5f
            0x00405dec
            0x00405df8
            0x00405dfb
            0x00405e1a
            0x00405e2c
            0x00405e2c
            0x00405e35
            0x00405e39
            0x00405e3e
            0x00405e41
            0x00405e44
            0x00405e4e
            0x00000000
            0x00405e4e
            0x00405e04
            0x00405e08
            0x00000000
            0x00000000
            0x00405e0a
            0x00405e11
            0x00405e13
            0x00405e18
            0x00000000
            0x00000000
            0x00000000
            0x00405d65
            0x00405d65
            0x00405d89
            0x00405d8e
            0x00405d91
            0x00405d94
            0x00405d9e
            0x00405da3
            0x00405daa
            0x00405dad
            0x00405dba
            0x00405dba
            0x00405dc6
            0x00405dc9
            0x00405dcf
            0x00405dd6
            0x00405dd9
            0x00405ddb
            0x00405de1
            0x00405de8
            0x00405de8
            0x00405dd9
            0x00405e53
            0x00405e63
            0x00405e6a
            0x00405e74
            0x00405e77
            0x00405e7e
            0x00405e86
            0x00405e88
            0x00405e90
            0x00405e92
            0x00405e99
            0x00405e99
            0x00405ea2
            0x00405ea5
            0x00405eb9
            0x00405eb9
            0x00405eb9
            0x00405ea7
            0x00405ea7
            0x00405eab
            0x00405eb3
            0x00405eb3
            0x00000000
            0x00405ea5
            0x00405d5f
            0x00405ed2
            0x00405ed2
            0x00405ed5
            0x00405ed5
            0x00405ef7
            0x00405efe
            0x00405f00
            0x00405f11
            0x00405f1f
            0x00405f2b
            0x00405f2b
            0x00405f37
            0x00405f3d
            0x00000000
            0x00405f43
            0x00405f4a
            0x00405f4d
            0x00405f51
            0x00405f51
            0x00405f5b
            0x00405f68
            0x00405f78
            0x00405f84
            0x00405f90
            0x00405f9c
            0x00405fa8
            0x00405fb4
            0x00405fc0
            0x00405fcb
            0x00405fcb
            0x00405a27
            0x00405a27
            0x00405a3d
            0x00405a43
            0x00405a55
            0x00405a65
            0x00405a6e
            0x00405a83
            0x00405a8d
            0x00405a8d
            0x00405a6e
            0x00405a9e
            0x00405aa2
            0x00405aa5
            0x00405ab0
            0x00405ab6
            0x00405abe
            0x00405b32
            0x00405b39
            0x00000000
            0x00405ac0
            0x00405ac0
            0x00405aca
            0x00405ad7
            0x00405ad7
            0x00405adc
            0x00405ae6
            0x00405ae8
            0x00405af5
            0x00405af5
            0x00405b02
            0x00405b10
            0x00405b1c
            0x00405b1c
            0x00405b21
            0x00405b25
            0x0040539b
            0x0040539f
            0x004053a5
            0x004053b1
            0x004053b6
            0x004053ba
            0x004053be
            0x004053c6
            0x004053cb
            0x004053d6
            0x004053d9
            0x004053e0
            0x004053e2
            0x004053ed
            0x004053f0
            0x004053fe
            0x0040540a
            0x00405413
            0x00405418
            0x0040541e
            0x00405426
            0x0040542b
            0x00405437
            0x00405439
            0x00405442
            0x00405442
            0x00405457
            0x0040545b
            0x0040546b
            0x0040546b
            0x00405479
            0x00405497
            0x00405497
            0x004054af
            0x004054b4
            0x004054ba
            0x004054bc
            0x004054bc
            0x004054d2
            0x004054d7
            0x004054dd
            0x004054df
            0x004054df
            0x004054ed
            0x004054f1
            0x00405524
            0x004054fb
            0x004054fd
            0x00405504
            0x0040550b
            0x0040550d
            0x0040551a
            0x0040551d
            0x0040551d
            0x0040551d
            0x004054ff
            0x004054ff
            0x004054ff
            0x00405520
            0x00405520
            0x00405520
            0x0040552b
            0x0040552b
            0x00000000
            0x00405b2b
            0x00405b2b
            0x00405b2d
            0x00000000
            0x00405b2d
            0x00405b25
            0x00405abe
            0x00405a21
            0x00405533
            0x00405536
            0x00405539
            0x0040589a
            0x004058a1
            0x004058a3
            0x004058b0
            0x00000000
            0x004058b0
            0x00405561

            APIs
            Strings
            • ade:g:G:hi:lLno:p:rs:tcuvw:z, xrefs: 004058BF
            • no destination, xrefs: 00405B45
            • -ddetach from console, background mode, xrefs: 00405F7D
            • port numbers can be individual or ranges: m-n [inclusive], xrefs: 00405FB9
            • [v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:, xrefs: 00405F71
            • -g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum, xrefs: 00405F95
            • sent %d, rcvd %d, xrefs: 00405B15
            • sent %d, rcvd %d, xrefs: 00405F24
            • -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning], xrefs: 00405FAD
            • invalid local port %s, xrefs: 00405770
            • no port[s] to connect to, xrefs: 00405B69
            • no connection, xrefs: 00405B32
            • invalid port %s, xrefs: 00405A86
            • -e proginbound program to exec [dangerous!!], xrefs: 00405F89
            • -tanswer TELNET negotiation, xrefs: 00405FA1
            • can't open %s, xrefs: 00405970
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: _close_open
            • String ID: -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning]$-ddetach from console, background mode$-e proginbound program to exec [dangerous!!]$-g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum$-tanswer TELNET negotiation$ sent %d, rcvd %d$[v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:$ade:g:G:hi:lLno:p:rs:tcuvw:z$can't open %s$invalid local port %s$invalid port %s$no connection$no destination$no port[s] to connect to$port numbers can be individual or ranges: m-n [inclusive]$sent %d, rcvd %d
            • API String ID: 3007559463-1475400292
            • Opcode ID: 6dc5251d790861df4746517fb317d590a2c5f166a036c983b1c2d4eae0398727
            • Instruction ID: 412349e23a80563349d223d5c2fc72623315a500cee4f8d9f13a9d5feb982282
            • Opcode Fuzzy Hash: 6dc5251d790861df4746517fb317d590a2c5f166a036c983b1c2d4eae0398727
            • Instruction Fuzzy Hash: AEB13DA1B10A0486EB10EF26E89136A37A0FB44788F44442AEB5D777E1EF3CD945C79C
            Uniqueness

            Uniqueness Score: -1.00%

            Control-flow Graph

            • Executed
            • Not Executed
            control_flow_graph 1546 405563-405580 call 4035db 1549 4058bb-4058d6 call 402422 1546->1549 1552 405533-405539 1549->1552 1553 4058dc-4058e6 1549->1553 1556 40589a-4058b5 call 4035db 1552->1556 1557 40553f-40555d 1552->1557 1554 405907-405911 1553->1554 1555 4058e8-405903 call 4073a0 call 4074f8 call 40371e 1553->1555 1559 405930-40593a 1554->1559 1560 405913-405926 _close 1554->1560 1555->1554 1556->1549 1557->1556 1563 40593c-405964 _open 1559->1563 1564 40598d-4059a3 1559->1564 1560->1559 1569 405966-405977 call 4035db 1563->1569 1570 40597c-405986 call 40371e 1563->1570 1565 4059a5-4059ca call 403841 1564->1565 1566 4059ce-4059d3 1564->1566 1565->1566 1575 4059f2-4059f7 1566->1575 1576 4059d5-4059e2 1566->1576 1569->1570 1570->1564 1582 405a08-405a21 1575->1582 1583 4059f9-405a02 1575->1583 1576->1575 1581 4059e4-4059ee 1576->1581 1581->1575 1586 405a27-405a43 1582->1586 1587 405b3e-405b43 1582->1587 1583->1582 1590 405a92-405abe call 40425f 1586->1590 1591 405a45-405a6e call 403bc0 1586->1591 1588 405b51-405b67 1587->1588 1589 405b45-405b4c call 4035db 1587->1589 1595 405b75-405b8f 1588->1595 1596 405b69-405b70 call 4035db 1588->1596 1589->1588 1603 405ac0-405aca 1590->1603 1604 405b32-405b39 call 4035db 1590->1604 1591->1590 1602 405a70-405a8d call 4035db 1591->1602 1600 405b91 1595->1600 1601 405b9a-405ba2 1595->1601 1596->1595 1600->1601 1605 405edb-405ef1 1601->1605 1602->1590 1610 405adc-405ae6 1603->1610 1611 405acc-405ad7 call 4026fd 1603->1611 1604->1587 1606 405ba7-405bdb call 4074f0 1605->1606 1607 405ef7-405f11 1605->1607 1626 405c0b-405c34 call 403bc0 1606->1626 1627 405bdd-405bfa call 403bc0 1606->1627 1624 405f30-405f3d 1607->1624 1625 405f13-405f2b call 4034eb 1607->1625 1614 405af7-405b02 1610->1614 1615 405ae8-405af5 call 404b7c 1610->1615 1611->1610 1619 405b21-405b25 1614->1619 1620 405b04-405b1c call 4034eb 1614->1620 1615->1614 1622 405397-405398 1619->1622 1623 405b2b-405b2d call 407428 1619->1623 1620->1619 1631 40539b-40539f 1622->1631 1623->1604 1640 405f43-405f4d 1624->1640 1641 40539a 1624->1641 1625->1624 1638 405c36-405c53 call 4035db 1626->1638 1639 405c58-405c60 1626->1639 1627->1626 1643 405bfc-405c06 call 4035db 1627->1643 1631->1549 1636 4053a5-4053d9 call 40371e * 2 1631->1636 1668 4053e2-4053fe call 4074e8 1636->1668 1638->1639 1645 405c62-405c7d 1639->1645 1646 405caf-405cb7 1639->1646 1647 405f56-405fcb call 407428 call 4034eb * 6 call 4035db 1640->1647 1648 405f4f-405f51 call 407428 1640->1648 1641->1631 1643->1626 1651 405c83-405caa call 403e4e call 403dca 1645->1651 1652 405ebe-405ec6 1645->1652 1646->1652 1648->1647 1651->1652 1657 405cbc-405cc1 1652->1657 1658 405ecc-405ed5 1652->1658 1662 405cc3-405ccd 1657->1662 1663 405ce6-405d26 call 403bc0 call 403ec7 1657->1663 1658->1605 1662->1663 1667 405ccf-405cde call 4074c0 1662->1667 1684 405d57-405d5f 1663->1684 1685 405d28-405d32 1663->1685 1667->1663 1679 405ce0 1667->1679 1675 405403-405413 call 407490 1668->1675 1691 405418-405439 _read 1675->1691 1679->1663 1689 405d65-405dad call 4034eb 1684->1689 1690 405dec-405dfb 1684->1690 1685->1684 1688 405d34-405d3e 1685->1688 1688->1684 1695 405d40-405d51 call 404773 1688->1695 1709 405dbf-405dc9 1689->1709 1710 405daf-405dba call 4026fd 1689->1710 1693 405e1a-405e4e call 4034eb 1690->1693 1694 405dfd-405e08 1690->1694 1697 405447-40545b call 40377b 1691->1697 1698 40543b-405442 call 4035db 1691->1698 1708 405e53-405e88 1693->1708 1694->1693 1700 405e0a-405e18 1694->1700 1695->1684 1718 405471-405479 1697->1718 1719 40545d-40546b 1697->1719 1698->1697 1700->1693 1700->1708 1731 405e8a-405e92 1708->1731 1732 405e9b-405ea5 1708->1732 1709->1708 1712 405dcf-405dd9 1709->1712 1710->1709 1712->1708 1716 405ddb-405dea call 404b7c 1712->1716 1716->1708 1723 40547b-405497 call 4073f8 1718->1723 1724 40549c-4054ba call 4074f0 1718->1724 1719->1718 1723->1724 1733 4054bc 1724->1733 1734 4054bf-4054dd call 4074f0 1724->1734 1731->1732 1735 405ea7-405eb7 call 403dca 1732->1735 1736 405eb9 1732->1736 1733->1734 1741 4054e2-4054f6 1734->1741 1742 4054df 1734->1742 1735->1652 1736->1652 1743 405524-405529 1741->1743 1742->1741 1744 4054f8-4054fd 1743->1744 1745 40552b-40552e 1743->1745 1746 405504-40550d 1744->1746 1747 4054ff-405502 1744->1747 1745->1549 1748 405520 1746->1748 1749 40550f-40551d 1746->1749 1747->1748 1748->1743 1749->1748
            C-Code - Quality: 18%
            			E00405563(void* __ecx, void* __edx, void* __edi, void* __esp, void* __eflags, signed long long __rbx, void* __rdx, void* __rsi, void* __r8, void* __r9, signed int _a16, long long _a24, long long _a32) {
            				void* _v24;
            				signed int _v32;
            				void* _v40;
            				signed int _v42;
            				signed short _v44;
            				signed int _v46;
            				signed int _v48;
            				signed long long _v56;
            				intOrPtr _v60;
            				signed int _v74;
            				signed int _t103;
            				signed int _t127;
            				signed int _t128;
            				void* _t143;
            				signed int _t146;
            				signed int _t153;
            				signed int _t155;
            				signed int _t157;
            				signed int _t186;
            				signed int _t192;
            				signed int _t206;
            				signed int _t241;
            				void* _t266;
            				signed int _t267;
            				signed int _t268;
            				signed int _t269;
            				signed int _t270;
            				void* _t271;
            				signed long long _t301;
            				signed int* _t302;
            				signed long long _t306;
            				signed long long _t309;
            				signed long long _t310;
            				intOrPtr _t313;
            				signed long long _t317;
            				signed long long _t320;
            				signed long long _t323;
            				signed int _t329;
            				signed long long _t331;
            				signed int _t338;
            				signed int* _t339;
            				signed long long _t343;
            				intOrPtr* _t345;
            				long long _t346;
            				long long* _t349;
            				signed long long _t369;
            				long long _t379;
            				long long _t382;
            				char* _t383;
            				char* _t384;
            				long long _t434;
            				void* _t436;
            
            				_t447 = __r9;
            				_t436 = __rsi;
            				_t380 = __rbx;
            				_t271 = __esp;
            				_t266 = __edi;
            				E004035DB(__ecx, __eflags, __rbx, "all-A-records NIY", __rdx, __r8, __r9);
            				 *0x40b0c8 = ( *0x40b0c8 & 0x0000ffff) + 1;
            				while(1) {
            					L25:
            					_t301 = _a24;
            					_t444 = "ade:g:G:hi:lLno:p:rs:tcuvw:z";
            					_t429 = _t301;
            					_t232 = _a16;
            					_t267 = E00402422(_a16, _t301, "ade:g:G:hi:lLno:p:rs:tcuvw:z");
            					if(_t267 != 0xffffffff) {
            						break;
            					}
            					if(( *0x40b0d6 & 0x0000ffff) != 0) {
            						L004073A0();
            						L004074F8();
            						_t233 = 0x10000;
            						E0040371E(0x10000, _t301, _t429);
            						_v56 = _t301;
            					}
            					_t306 =  *0x40b0e8;
            					if(_t306 != 0) {
            						_t233 = 0;
            						L00407358();
            						 *0x40b0d4 = 0;
            						 *0x40b074 = 0;
            					}
            					_t103 =  *0x40b0d4 & 0x0000ffff;
            					if(_t103 != 0) {
            						_t306 =  *0x40b0c0;
            						r8d = 0x1b4;
            						L00407370();
            						 *0x40b074 = _t103;
            						_t277 =  *0x40b074;
            						if( *0x40b074 <= 0) {
            							_t306 =  *0x40b0c0;
            							_t429 = _t306;
            							E004035DB(_t232, _t277, _t380, "can\'t open %s", _t306, _t444, _t447);
            						}
            						_t233 = 0x64;
            						E0040371E(0x64, _t306, _t429);
            						 *0x40b0c0 = _t306;
            					}
            					_t309 =  *((intOrPtr*)((_t306 << 3) + _a24));
            					if(_t309 != 0) {
            						_t379 =  *((intOrPtr*)((_t309 << 3) + _a24));
            						E00403841( *0x40b0d2 & 0xffff, _t379, _t429, _t447);
            						_v24 = _t379;
            					}
            					if(_v24 != 0 && _v24 + 0x1c0 != 0) {
            						_v40 = _v24 + 0x1c0;
            					}
            					if(_v40 != 0) {
            						 *0x40b048 =  *0x40b048 + 1;
            					}
            					_t310 = __imp___errno;
            					 *_t310();
            					 *_t310 = 0;
            					if(( *0x40b0d0 & 0x0000ffff) == 0) {
            						L55:
            						_t294 = _v40;
            						if(_v40 == 0) {
            							E004035DB(_t232, _t294, _t380, "no destination", _t429, _t444, _t447);
            						}
            						_t313 =  *((intOrPtr*)((_t310 << 3) + _a24));
            						_t295 = _t313;
            						if(_t313 == 0) {
            							E004035DB(_t232, _t295, _t380, "no port[s] to connect to", _t429, _t444, _t447);
            						}
            						_t317 =  *((intOrPtr*)((_t313 + 1 << 3) + _a24));
            						if(_t317 != 0) {
            							 *0x40802c = 0;
            						}
            						_v44 = _v42 & 0x0000ffff;
            						while(1) {
            							_t320 =  *((_t317 << 3) + _a24);
            							if(_t320 == 0) {
            								break;
            							}
            							_v74 = 0;
            							_v46 = _v74 & 0x0000ffff;
            							_t323 =  *((intOrPtr*)((_t320 << 3) + _a24));
            							L004074F0();
            							_t380 = _t323;
            							__eflags = _t380;
            							if(_t380 != 0) {
            								 *_t380 = 0;
            								_t380 = _t380 + 1;
            								_v46 = E00403BC0(0, _t380);
            								__eflags = _v46;
            								if(__eflags == 0) {
            									_t429 = _t380;
            									E004035DB(_t233, __eflags, _t380, "invalid port %s", _t380, _t445, _t447);
            								}
            							}
            							_t317 =  *((intOrPtr*)((_t323 << 3) + _a24));
            							_t389 = _t317;
            							_v74 = E00403BC0(0, _t317);
            							__eflags = _v74;
            							if(_v74 == 0) {
            								_t338 = (_t317 << 3) + _a24;
            								__eflags = _t338;
            								_t317 =  *_t338;
            								_t429 = _t317;
            								_t389 = "invalid port %s";
            								E004035DB(_t233, _t338, _t380, "invalid port %s", _t317, _t445, _t447);
            							}
            							__eflags = (_v46 & 0x0000ffff) - _v74;
            							if((_v46 & 0x0000ffff) <= _v74) {
            								_v48 = _v74 & 0x0000ffff;
            							} else {
            								 *0x40802c = 0;
            								_v48 = _v46 & 0x0000ffff;
            								__eflags =  *0x40b0d6 & 0x0000ffff;
            								if(( *0x40b0d6 & 0x0000ffff) != 0) {
            									_t233 = _v46 & 0x0000ffff;
            									r8d = _v46 & 0x0000ffff;
            									E00403E4E(_v74 & 0x0000ffff, _v56, _v56);
            									_t317 = _v56;
            									_t389 = _t317;
            									_v48 = E00403DCA(_t268, _t317, _t317);
            								}
            							}
            							while(1) {
            								__eflags = (_v74 & 0x0000ffff) - _v48;
            								if((_v74 & 0x0000ffff) > _v48) {
            									break;
            								}
            								__eflags = _v42;
            								if(_v42 == 0) {
            									_t155 =  *0x40b0d6 & 0x0000ffff;
            									__eflags = _t155;
            									if(_t155 != 0) {
            										L004074C0();
            										_v44 = _t155;
            										__eflags = _v44 - 0x1fff;
            										if(_v44 <= 0x1fff) {
            											_t69 =  &_v44;
            											 *_t69 = _v44 + 0x2000;
            											__eflags =  *_t69;
            										}
            									}
            								}
            								_t233 = 0;
            								_v48 = E00403BC0(_v48 & 0x0000ffff, _t389);
            								_t326 = _v40;
            								r9d = _v44 & 0x0000ffff;
            								_t445 = _v32;
            								 *0x408010 = E00403EC7(_v48 & 0x0000ffff, _v40, _t429, _v32, _t447);
            								_t127 =  *0x408010; // 0xffffffff
            								__eflags = _t127;
            								if(_t127 > 0) {
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) != 0) {
            										__eflags =  *0x40b0d8 & 0x0000ffff;
            										if(( *0x40b0d8 & 0x0000ffff) != 0) {
            											_t153 =  *0x408010; // 0xffffffff
            											_t429 = _v40;
            											_t233 = _t153;
            											 *0x408010 = E00404773(_t153, _t326, _v40);
            										}
            									}
            								}
            								_t128 =  *0x408010; // 0xffffffff
            								__eflags = _t128;
            								if(_t128 <= 0) {
            									_t268 = 1;
            									__eflags =  *0x40802c & 0x0000ffff;
            									if(( *0x40802c & 0x0000ffff) != 0) {
            										L88:
            										_t329 = _v24 + 0x100;
            										__eflags = _t329;
            										_t330 = _v24;
            										_a32 =  *0x40b0b8;
            										r9d = _v48 & 0x0000ffff;
            										_t445 = _t329;
            										_t429 = _v24;
            										E004034EB("%s [%s] %d (%s)", _v24, _t329, _t447);
            										goto L89;
            									}
            									__eflags = ( *0x40b0da & 0x0000ffff) - 1;
            									if(( *0x40b0da & 0x0000ffff) > 1) {
            										goto L88;
            									}
            									_t330 = __imp__WSAGetLastError;
            									_t143 =  *__imp__WSAGetLastError();
            									__eflags = _t143 - 0x274d;
            									if(_t143 == 0x274d) {
            										goto L89;
            									}
            									goto L88;
            								} else {
            									_t268 = 0;
            									_a32 =  *0x40b0b8;
            									r9d = _v48 & 0x0000ffff;
            									_t445 = _v24 + 0x100;
            									_t429 = _v24;
            									E004034EB("%s [%s] %d (%s) open", _v24, _v24 + 0x100, _t447);
            									_t330 =  *0x40b0e8;
            									__eflags = _t330;
            									if(_t330 != 0) {
            										E004026FD(_t233, _t330, _t330, _t445);
            									}
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) == 0) {
            										_t330 =  *0x40b0e8;
            										__eflags = _t330;
            										if(_t330 == 0) {
            											_t146 =  *0x408010; // 0xffffffff
            											_t233 = _t146;
            											_t268 = E00404B7C(_t146, _t266, _t271, _t445, _t447);
            										}
            									}
            									L89:
            									_t331 = __imp__shutdown;
            									 *_t331();
            									_t389 = _t331;
            									_t317 = __imp__closesocket;
            									 *_t317();
            									__eflags =  *0x40b0cc;
            									if( *0x40b0cc != 0) {
            										_t233 =  *0x40b0cc;
            										_t317 = __imp___sleep;
            										 *_t317();
            									}
            									__eflags =  *0x40b0d6 & 0x0000ffff;
            									if(( *0x40b0d6 & 0x0000ffff) == 0) {
            										_t88 =  &_v48;
            										 *_t88 = _v48 - 1;
            										__eflags =  *_t88;
            									} else {
            										_t317 = _v56;
            										_t389 = _t317;
            										_v48 = E00403DCA(_t268, _t317, _t317);
            									}
            									continue;
            								}
            							}
            							_t157 =  *0x40b048 + 1;
            							__eflags = _t157;
            							 *0x40b048 = _t157;
            						}
            						_t339 = __imp___errno;
            						 *_t339();
            						 *_t339 = 0;
            						if(( *0x40b0da & 0x0000ffff) > 1) {
            							r8d =  *0x40b080;
            							E004034EB("sent %d, rcvd %d", _t429, _t445, _t447);
            						}
            						 *__imp__WSACleanup();
            						if(_v60 == 1) {
            							goto L3;
            						} else {
            							_t300 =  *0x40802c & 0x0000ffff;
            							if(( *0x40802c & 0x0000ffff) != 0) {
            								L00407428();
            							}
            							L00407428();
            							 *0x40b0da = 1;
            							E004034EB("[v1.12 NT http://eternallybored.org/misc/netcat/]\nconnect to somewhere:\tnc [-options] hostname port[s] [ports] ... \nlisten for inbound:\tnc -l -p port [options] [hostname] [port]\noptions:", _t429, _t445, _t447);
            							E004034EB("\t-d\t\tdetach from console, background mode\n", _t429, _t445, _t447);
            							E004034EB("\t-e prog\t\tinbound program to exec [dangerous!!]", _t429, _t445, _t447);
            							E004034EB("\t-g gateway\tsource-routing hop point[s], up to 8\n\t-G num\t\tsource-routing pointer: 4, 8, 12, ...\n\t-h\t\tthis cruft\n\t-i secs\t\tdelay interval for lines sent, ports scanned\n\t-l\t\tlisten mode, for inbound connects\n\t-L\t\tlisten harder, re-listen on socket close\n\t-n\t\tnumeric-only IP addresses, no DNS\n\t-o file\t\thex dump of traffic\n\t-p port\t\tlocal port number\n\t-r\t\trandomize local and remote ports\n\t-s addr\t\tlocal source address", _t429, _t445, _t447);
            							E004034EB("\t-t\t\tanswer TELNET negotiation", _t429, _t445, _t447);
            							E004034EB("\t-c\t\tsend CRLF instead of just LF\n\t-u\t\tUDP mode\n\t-v\t\tverbose [use twice to be more verbose]\n\t-w secs\t\ttimeout for connects and final net reads\n\t-z\t\tzero-I/O mode [used for scanning]", _t429, _t445, _t447);
            							E004035DB(0, _t300, _t380, "port numbers can be individual or ranges: m-n [inclusive]", _t429, _t445, _t447);
            							return 0;
            						}
            					} else {
            						_v48 = 0;
            						_t343 =  *((intOrPtr*)((_t310 << 3) + _a24));
            						if(_t343 != 0) {
            							_t369 =  *((intOrPtr*)((_t343 << 3) + _a24));
            							_v48 = E00403BC0(0, _t369);
            							if(_v48 == 0) {
            								_t429 =  *((intOrPtr*)((_t369 << 3) + _a24));
            								E004035DB(_t232, (_t369 << 3) + _a24, _t380, "invalid port %s",  *((intOrPtr*)((_t369 << 3) + _a24)), _t444, _t447);
            							}
            						}
            						_t310 = _v40;
            						r9d = _v42 & 0x0000ffff;
            						_t445 = _v32;
            						 *0x408010 = E0040425F(_v48 & 0x0000ffff, _t310, _v32, _t447);
            						_t186 =  *0x408010; // 0xffffffff
            						if(_t186 <= 0) {
            							L54:
            							E004035DB(_t232, _t293, _t380, "no connection", _t429, _t445, _t447);
            							goto L55;
            						} else {
            							_t344 =  *0x40b0e8;
            							if( *0x40b0e8 != 0) {
            								E004026FD(_t232, _t344, _t344, _t445);
            							}
            							_t310 =  *0x40b0e8;
            							if(_t310 == 0) {
            								_t206 =  *0x408010; // 0xffffffff
            								_t267 = E00404B7C(_t206, _t266, _t271, _t445, _t447);
            							}
            							if(( *0x40b0da & 0x0000ffff) > 1) {
            								r8d =  *0x40b080;
            								E004034EB(" sent %d, rcvd %d", _t429, _t445, _t447);
            							}
            							_t293 = _v60 - 1;
            							if(_v60 == 1) {
            								L3:
            								__eflags = _a16 - 1;
            								if(__eflags == 0) {
            									_t345 = _a24;
            									E0040371E(0x400, _t345, _t429);
            									_a24 = _t345;
            									_t346 = _a24;
            									 *_t346 =  *_t345;
            									E0040371E(0x2000, _t346, _t429);
            									_t382 = _t346;
            									 *((long long*)(_a24 + 8)) = _t382;
            									_t349 = __imp____iob_func;
            									 *_t349();
            									_t6 = _t349 + 0x60; // 0x60
            									_t447 = _t6;
            									r8d = 0xa;
            									L004074E8(); // executed
            									_t192 =  *__imp____iob_func();
            									L00407490();
            									r8d = 0x2000;
            									_t434 = _t382;
            									L00407368(); // executed
            									 *0x40b07c = _t192;
            									__eflags =  *0x40b07c;
            									if(__eflags == 0) {
            										E004035DB(0, __eflags, _t382, "wrong", _t434, _t445, _t447);
            									}
            									_t269 = E0040377B( *0x40b07c, _t382);
            									__eflags = _t269;
            									if(_t269 != 0) {
            										_t241 =  *0x40b07c - _t269;
            										__eflags = _t241;
            										 *0x40b07c = _t241;
            									}
            									__eflags =  *0x40b07c;
            									if( *0x40b07c != 0) {
            										L004073F8();
            									}
            									L004074F0();
            									_t383 =  *((intOrPtr*)(_a24 + 8));
            									__eflags = _t383;
            									if(_t383 != 0) {
            										 *_t383 = 0;
            									}
            									L004074F0();
            									_t384 =  *((intOrPtr*)(_a24 + 8));
            									__eflags = _t384;
            									if(_t384 != 0) {
            										 *_t384 = 0;
            									}
            									_t380 =  *((intOrPtr*)(_a24 + 8)) + 1;
            									_t270 = 2;
            									while(1) {
            										__eflags =  *_t380 & 0x000000ff;
            										if(__eflags == 0) {
            											break;
            										}
            										__eflags = ( *_t380 & 0x000000ff) - 0x20;
            										if(( *_t380 & 0x000000ff) != 0x20) {
            											_t11 = _t380 - 1; // -2
            											__eflags =  *_t11 & 0x000000ff;
            											if(( *_t11 & 0x000000ff) == 0) {
            												 *((_t270 << 3) + _a24) = _t380;
            												_t270 = _t270 + 1;
            												__eflags = _t270;
            											}
            										} else {
            											 *_t380 = 0;
            										}
            										_t380 = _t380 + 1;
            										__eflags = _t380;
            									}
            									_a16 = _t270;
            								}
            								continue;
            							} else {
            								_t232 = _t267;
            								L00407428();
            								goto L54;
            							}
            						}
            					}
            				}
            				_t14 = _t436 - 0x47; // -71
            				__eflags = _t14 - 0x33;
            				if(__eflags > 0) {
            					_t302 = __imp___errno;
            					 *_t302();
            					 *_t302 = 0;
            					E004035DB(_t232, __eflags, _t380, "nc -h for help", _t429, "ade:g:G:hi:lLno:p:rs:tcuvw:z", _t447);
            					goto L25;
            				}
            				_t429 =  *((intOrPtr*)(0x409b50 + _t301 * 4));
            				goto __rax;
            			}























































            0x00405563
            0x00405563
            0x00405563
            0x00405563
            0x00405563
            0x0040556a
            0x00405579
            0x004058bb
            0x004058bb
            0x004058bb
            0x004058bf
            0x004058c6
            0x004058c9
            0x004058d1
            0x004058d6
            0x00000000
            0x00000000
            0x004058e6
            0x004058ed
            0x004058f4
            0x004058f9
            0x004058fe
            0x00405903
            0x00405903
            0x00405907
            0x00405911
            0x00405913
            0x00405918
            0x0040591d
            0x00405926
            0x00405926
            0x00405930
            0x0040593a
            0x0040593c
            0x00405943
            0x00405951
            0x00405956
            0x00405962
            0x00405964
            0x00405966
            0x0040596d
            0x00405977
            0x00405977
            0x0040597c
            0x00405981
            0x00405986
            0x00405986
            0x0040599d
            0x004059a3
            0x004059bf
            0x004059c5
            0x004059ca
            0x004059ca
            0x004059d3
            0x004059ee
            0x004059ee
            0x004059f7
            0x00405a02
            0x00405a02
            0x00405a08
            0x00405a0f
            0x00405a11
            0x00405a21
            0x00405b3e
            0x00405b3e
            0x00405b43
            0x00405b4c
            0x00405b4c
            0x00405b61
            0x00405b64
            0x00405b67
            0x00405b70
            0x00405b70
            0x00405b89
            0x00405b8f
            0x00405b91
            0x00405b91
            0x00405b9e
            0x00405edb
            0x00405eeb
            0x00405ef1
            0x00000000
            0x00000000
            0x00405ba7
            0x00405bb1
            0x00405bc5
            0x00405bd0
            0x00405bd5
            0x00405bd8
            0x00405bdb
            0x00405bdd
            0x00405be0
            0x00405bf1
            0x00405bf5
            0x00405bfa
            0x00405bfc
            0x00405c06
            0x00405c06
            0x00405bfa
            0x00405c1b
            0x00405c23
            0x00405c2b
            0x00405c2f
            0x00405c34
            0x00405c42
            0x00405c42
            0x00405c46
            0x00405c49
            0x00405c4c
            0x00405c53
            0x00405c53
            0x00405c5c
            0x00405c60
            0x00405cb3
            0x00405c62
            0x00405c62
            0x00405c6f
            0x00405c7a
            0x00405c7d
            0x00405c83
            0x00405c8f
            0x00405c95
            0x00405c9a
            0x00405c9e
            0x00405ca6
            0x00405ca6
            0x00405c7d
            0x00405ebe
            0x00405ec2
            0x00405ec6
            0x00000000
            0x00000000
            0x00405cbc
            0x00405cc1
            0x00405cc3
            0x00405cca
            0x00405ccd
            0x00405ccf
            0x00405cd4
            0x00405cd8
            0x00405cde
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405cde
            0x00405ccd
            0x00405cec
            0x00405cf6
            0x00405d06
            0x00405d0a
            0x00405d0d
            0x00405d18
            0x00405d1e
            0x00405d24
            0x00405d26
            0x00405d2f
            0x00405d32
            0x00405d3b
            0x00405d3e
            0x00405d40
            0x00405d46
            0x00405d4a
            0x00405d51
            0x00405d51
            0x00405d3e
            0x00405d32
            0x00405d57
            0x00405d5d
            0x00405d5f
            0x00405dec
            0x00405df8
            0x00405dfb
            0x00405e1a
            0x00405e2c
            0x00405e2c
            0x00405e35
            0x00405e39
            0x00405e3e
            0x00405e41
            0x00405e44
            0x00405e4e
            0x00000000
            0x00405e4e
            0x00405e04
            0x00405e08
            0x00000000
            0x00000000
            0x00405e0a
            0x00405e11
            0x00405e13
            0x00405e18
            0x00000000
            0x00000000
            0x00000000
            0x00405d65
            0x00405d65
            0x00405d89
            0x00405d8e
            0x00405d91
            0x00405d94
            0x00405d9e
            0x00405da3
            0x00405daa
            0x00405dad
            0x00405dba
            0x00405dba
            0x00405dc6
            0x00405dc9
            0x00405dcf
            0x00405dd6
            0x00405dd9
            0x00405ddb
            0x00405de1
            0x00405de8
            0x00405de8
            0x00405dd9
            0x00405e53
            0x00405e63
            0x00405e6a
            0x00405e74
            0x00405e77
            0x00405e7e
            0x00405e86
            0x00405e88
            0x00405e90
            0x00405e92
            0x00405e99
            0x00405e99
            0x00405ea2
            0x00405ea5
            0x00405eb9
            0x00405eb9
            0x00405eb9
            0x00405ea7
            0x00405ea7
            0x00405eab
            0x00405eb3
            0x00405eb3
            0x00000000
            0x00405ea5
            0x00405d5f
            0x00405ed2
            0x00405ed2
            0x00405ed5
            0x00405ed5
            0x00405ef7
            0x00405efe
            0x00405f00
            0x00405f11
            0x00405f1f
            0x00405f2b
            0x00405f2b
            0x00405f37
            0x00405f3d
            0x00000000
            0x00405f43
            0x00405f4a
            0x00405f4d
            0x00405f51
            0x00405f51
            0x00405f5b
            0x00405f68
            0x00405f78
            0x00405f84
            0x00405f90
            0x00405f9c
            0x00405fa8
            0x00405fb4
            0x00405fc0
            0x00405fcb
            0x00405fcb
            0x00405a27
            0x00405a27
            0x00405a3d
            0x00405a43
            0x00405a55
            0x00405a65
            0x00405a6e
            0x00405a83
            0x00405a8d
            0x00405a8d
            0x00405a6e
            0x00405a9e
            0x00405aa2
            0x00405aa5
            0x00405ab0
            0x00405ab6
            0x00405abe
            0x00405b32
            0x00405b39
            0x00000000
            0x00405ac0
            0x00405ac0
            0x00405aca
            0x00405ad7
            0x00405ad7
            0x00405adc
            0x00405ae6
            0x00405ae8
            0x00405af5
            0x00405af5
            0x00405b02
            0x00405b10
            0x00405b1c
            0x00405b1c
            0x00405b21
            0x00405b25
            0x0040539b
            0x0040539b
            0x0040539f
            0x004053a5
            0x004053b1
            0x004053b6
            0x004053ba
            0x004053be
            0x004053c6
            0x004053cb
            0x004053d6
            0x004053d9
            0x004053e0
            0x004053e2
            0x004053ed
            0x004053f0
            0x004053fe
            0x0040540a
            0x00405413
            0x00405418
            0x0040541e
            0x00405426
            0x0040542b
            0x00405437
            0x00405439
            0x00405442
            0x00405442
            0x00405457
            0x00405459
            0x0040545b
            0x00405467
            0x00405467
            0x0040546b
            0x0040546b
            0x00405477
            0x00405479
            0x00405497
            0x00405497
            0x004054af
            0x004054b4
            0x004054b7
            0x004054ba
            0x004054bc
            0x004054bc
            0x004054d2
            0x004054d7
            0x004054da
            0x004054dd
            0x004054df
            0x004054df
            0x004054ed
            0x004054f1
            0x00405524
            0x00405527
            0x00405529
            0x00000000
            0x00000000
            0x004054fb
            0x004054fd
            0x00405504
            0x0040550b
            0x0040550d
            0x0040551a
            0x0040551d
            0x0040551d
            0x0040551d
            0x004054ff
            0x004054ff
            0x004054ff
            0x00405520
            0x00405520
            0x00405520
            0x0040552b
            0x0040552b
            0x00000000
            0x00405b2b
            0x00405b2b
            0x00405b2d
            0x00000000
            0x00405b2d
            0x00405b25
            0x00405abe
            0x00405a21
            0x00405533
            0x00405536
            0x00405539
            0x0040589a
            0x004058a1
            0x004058a3
            0x004058b0
            0x00000000
            0x004058b0
            0x00405553
            0x00405561

            APIs
            Strings
            • ade:g:G:hi:lLno:p:rs:tcuvw:z, xrefs: 004058BF
            • no destination, xrefs: 00405B45
            • -ddetach from console, background mode, xrefs: 00405F7D
            • port numbers can be individual or ranges: m-n [inclusive], xrefs: 00405FB9
            • all-A-records NIY, xrefs: 00405563
            • [v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:, xrefs: 00405F71
            • -g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum, xrefs: 00405F95
            • sent %d, rcvd %d, xrefs: 00405B15
            • sent %d, rcvd %d, xrefs: 00405F24
            • -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning], xrefs: 00405FAD
            • no port[s] to connect to, xrefs: 00405B69
            • no connection, xrefs: 00405B32
            • invalid port %s, xrefs: 00405A86
            • -e proginbound program to exec [dangerous!!], xrefs: 00405F89
            • -tanswer TELNET negotiation, xrefs: 00405FA1
            • can't open %s, xrefs: 00405970
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: _close_itoa_open
            • String ID: -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning]$-ddetach from console, background mode$-e proginbound program to exec [dangerous!!]$-g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum$-tanswer TELNET negotiation$ sent %d, rcvd %d$[v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:$ade:g:G:hi:lLno:p:rs:tcuvw:z$all-A-records NIY$can't open %s$invalid port %s$no connection$no destination$no port[s] to connect to$port numbers can be individual or ranges: m-n [inclusive]$sent %d, rcvd %d
            • API String ID: 357769857-2323755471
            • Opcode ID: 02a9b6737114b9787cf83e46bd712633344938b826b37088b88542a449b2d82e
            • Instruction ID: 7cabb3e495677b6ded4950639222f7885a430f654292a11837caf2832b9c2118
            • Opcode Fuzzy Hash: 02a9b6737114b9787cf83e46bd712633344938b826b37088b88542a449b2d82e
            • Instruction Fuzzy Hash: EEA13FA1B10A1486EB10DF26E89136A37A0FB44798F44442AEB5DB73E1EF3CD945C79C
            Uniqueness

            Uniqueness Score: -1.00%

            Control-flow Graph

            • Executed
            • Not Executed
            control_flow_graph 1750 405797-4057c2 call 403841 1753 4058bb-4058d6 call 402422 1750->1753 1756 405533-405539 1753->1756 1757 4058dc-4058e6 1753->1757 1760 40589a-4058b5 call 4035db 1756->1760 1761 40553f-40555d 1756->1761 1758 405907-405911 1757->1758 1759 4058e8-405903 call 4073a0 call 4074f8 call 40371e 1757->1759 1763 405930-40593a 1758->1763 1764 405913-405926 _close 1758->1764 1759->1758 1760->1753 1761->1760 1767 40593c-405964 _open 1763->1767 1768 40598d-4059a3 1763->1768 1764->1763 1773 405966-405977 call 4035db 1767->1773 1774 40597c-405986 call 40371e 1767->1774 1769 4059a5-4059ca call 403841 1768->1769 1770 4059ce-4059d3 1768->1770 1769->1770 1779 4059f2-4059f7 1770->1779 1780 4059d5-4059e2 1770->1780 1773->1774 1774->1768 1786 405a08-405a21 1779->1786 1787 4059f9-405a02 1779->1787 1780->1779 1785 4059e4-4059ee 1780->1785 1785->1779 1790 405a27-405a43 1786->1790 1791 405b3e-405b43 1786->1791 1787->1786 1794 405a92-405abe call 40425f 1790->1794 1795 405a45-405a6e call 403bc0 1790->1795 1792 405b51-405b67 1791->1792 1793 405b45-405b4c call 4035db 1791->1793 1799 405b75-405b8f 1792->1799 1800 405b69-405b70 call 4035db 1792->1800 1793->1792 1807 405ac0-405aca 1794->1807 1808 405b32-405b39 call 4035db 1794->1808 1795->1794 1806 405a70-405a8d call 4035db 1795->1806 1804 405b91 1799->1804 1805 405b9a-405ba2 1799->1805 1800->1799 1804->1805 1809 405edb-405ef1 1805->1809 1806->1794 1814 405adc-405ae6 1807->1814 1815 405acc-405ad7 call 4026fd 1807->1815 1808->1791 1810 405ba7-405bdb call 4074f0 1809->1810 1811 405ef7-405f11 1809->1811 1830 405c0b-405c34 call 403bc0 1810->1830 1831 405bdd-405bfa call 403bc0 1810->1831 1828 405f30-405f3d 1811->1828 1829 405f13-405f2b call 4034eb 1811->1829 1818 405af7-405b02 1814->1818 1819 405ae8-405af5 call 404b7c 1814->1819 1815->1814 1823 405b21-405b25 1818->1823 1824 405b04-405b1c call 4034eb 1818->1824 1819->1818 1826 405397-405398 1823->1826 1827 405b2b-405b2d call 407428 1823->1827 1824->1823 1835 40539b-40539f 1826->1835 1827->1808 1844 405f43-405f4d 1828->1844 1845 40539a 1828->1845 1829->1828 1842 405c36-405c53 call 4035db 1830->1842 1843 405c58-405c60 1830->1843 1831->1830 1847 405bfc-405c06 call 4035db 1831->1847 1835->1753 1840 4053a5-4053d9 call 40371e * 2 1835->1840 1872 4053e2-4053fe call 4074e8 1840->1872 1842->1843 1849 405c62-405c7d 1843->1849 1850 405caf-405cb7 1843->1850 1851 405f56-405fcb call 407428 call 4034eb * 6 call 4035db 1844->1851 1852 405f4f-405f51 call 407428 1844->1852 1845->1835 1847->1830 1855 405c83-405caa call 403e4e call 403dca 1849->1855 1856 405ebe-405ec6 1849->1856 1850->1856 1852->1851 1855->1856 1861 405cbc-405cc1 1856->1861 1862 405ecc-405ed5 1856->1862 1866 405cc3-405ccd 1861->1866 1867 405ce6-405d26 call 403bc0 call 403ec7 1861->1867 1862->1809 1866->1867 1871 405ccf-405cde call 4074c0 1866->1871 1888 405d57-405d5f 1867->1888 1889 405d28-405d32 1867->1889 1871->1867 1883 405ce0 1871->1883 1879 405403-405413 call 407490 1872->1879 1895 405418-405439 _read 1879->1895 1883->1867 1893 405d65-405dad call 4034eb 1888->1893 1894 405dec-405dfb 1888->1894 1889->1888 1892 405d34-405d3e 1889->1892 1892->1888 1899 405d40-405d51 call 404773 1892->1899 1913 405dbf-405dc9 1893->1913 1914 405daf-405dba call 4026fd 1893->1914 1897 405e1a-405e4e call 4034eb 1894->1897 1898 405dfd-405e08 1894->1898 1901 405447-40545b call 40377b 1895->1901 1902 40543b-405442 call 4035db 1895->1902 1912 405e53-405e88 1897->1912 1898->1897 1904 405e0a-405e18 1898->1904 1899->1888 1922 405471-405479 1901->1922 1923 40545d-40546b 1901->1923 1902->1901 1904->1897 1904->1912 1935 405e8a-405e92 1912->1935 1936 405e9b-405ea5 1912->1936 1913->1912 1916 405dcf-405dd9 1913->1916 1914->1913 1916->1912 1920 405ddb-405dea call 404b7c 1916->1920 1920->1912 1927 40547b-405497 call 4073f8 1922->1927 1928 40549c-4054ba call 4074f0 1922->1928 1923->1922 1927->1928 1937 4054bc 1928->1937 1938 4054bf-4054dd call 4074f0 1928->1938 1935->1936 1939 405ea7-405eb7 call 403dca 1936->1939 1940 405eb9 1936->1940 1937->1938 1945 4054e2-4054f6 1938->1945 1946 4054df 1938->1946 1939->1856 1940->1856 1947 405524-405529 1945->1947 1946->1945 1948 4054f8-4054fd 1947->1948 1949 40552b-40552e 1947->1949 1950 405504-40550d 1948->1950 1951 4054ff-405502 1948->1951 1949->1753 1952 405520 1950->1952 1953 40550f-40551d 1950->1953 1951->1952 1952->1947 1953->1952
            C-Code - Quality: 19%
            			E00405797(void* __ecx, void* __edi, void* __esp, signed long long __rbx, void* __rdx, void* __rsi, void* __r9, signed int _a16, long long _a24, long long _a32) {
            				void* _v24;
            				void* _v32;
            				void* _v40;
            				signed int _v42;
            				signed short _v44;
            				signed int _v46;
            				signed int _v48;
            				signed long long _v56;
            				intOrPtr _v60;
            				long long _v72;
            				signed int _v74;
            				signed int _t105;
            				signed int _t129;
            				signed int _t130;
            				void* _t145;
            				signed int _t148;
            				signed int _t155;
            				signed int _t157;
            				signed int _t159;
            				signed int _t188;
            				signed int _t194;
            				signed int _t208;
            				signed int _t243;
            				void* _t268;
            				signed int _t269;
            				signed int _t270;
            				signed int _t271;
            				signed int _t272;
            				void* _t273;
            				long long _t302;
            				signed long long _t305;
            				signed int* _t306;
            				signed long long _t310;
            				signed long long _t313;
            				signed long long _t314;
            				intOrPtr _t317;
            				signed long long _t321;
            				signed long long _t324;
            				signed long long _t327;
            				signed int _t333;
            				signed long long _t335;
            				signed int _t342;
            				signed int* _t343;
            				signed long long _t347;
            				intOrPtr* _t349;
            				long long _t350;
            				long long* _t353;
            				signed long long _t373;
            				long long _t383;
            				signed long long _t384;
            				long long _t386;
            				char* _t387;
            				char* _t388;
            				long long _t438;
            				void* _t440;
            
            				_t450 = __r9;
            				_t440 = __rsi;
            				_t384 = __rbx;
            				_t273 = __esp;
            				_t268 = __edi;
            				_t302 =  *0x40b040;
            				E00403841( *0x40b0d2 & 0xffff, _t302, __rdx, __r9);
            				_v72 = _t302;
            				_v32 = _v72 + 0x1c0;
            				while(1) {
            					L25:
            					_t305 = _a24;
            					_t447 = "ade:g:G:hi:lLno:p:rs:tcuvw:z";
            					_t433 = _t305;
            					_t234 = _a16;
            					_t269 = E00402422(_a16, _t305, "ade:g:G:hi:lLno:p:rs:tcuvw:z");
            					if(_t269 != 0xffffffff) {
            						break;
            					}
            					if(( *0x40b0d6 & 0x0000ffff) != 0) {
            						L004073A0();
            						L004074F8();
            						_t235 = 0x10000;
            						E0040371E(0x10000, _t305, _t433);
            						_v56 = _t305;
            					}
            					_t310 =  *0x40b0e8;
            					if(_t310 != 0) {
            						_t235 = 0;
            						L00407358();
            						 *0x40b0d4 = 0;
            						 *0x40b074 = 0;
            					}
            					_t105 =  *0x40b0d4 & 0x0000ffff;
            					if(_t105 != 0) {
            						_t310 =  *0x40b0c0;
            						r8d = 0x1b4;
            						L00407370();
            						 *0x40b074 = _t105;
            						_t278 =  *0x40b074;
            						if( *0x40b074 <= 0) {
            							_t310 =  *0x40b0c0;
            							_t433 = _t310;
            							E004035DB(_t234, _t278, _t384, "can\'t open %s", _t310, _t447, _t450);
            						}
            						_t235 = 0x64;
            						E0040371E(0x64, _t310, _t433);
            						 *0x40b0c0 = _t310;
            					}
            					_t313 =  *((intOrPtr*)((_t310 << 3) + _a24));
            					if(_t313 != 0) {
            						_t383 =  *((intOrPtr*)((_t313 << 3) + _a24));
            						E00403841( *0x40b0d2 & 0xffff, _t383, _t433, _t450);
            						_v24 = _t383;
            					}
            					if(_v24 != 0 && _v24 + 0x1c0 != 0) {
            						_v40 = _v24 + 0x1c0;
            					}
            					if(_v40 != 0) {
            						 *0x40b048 =  *0x40b048 + 1;
            					}
            					_t314 = __imp___errno;
            					 *_t314();
            					 *_t314 = 0;
            					if(( *0x40b0d0 & 0x0000ffff) == 0) {
            						L55:
            						_t295 = _v40;
            						if(_v40 == 0) {
            							E004035DB(_t234, _t295, _t384, "no destination", _t433, _t447, _t450);
            						}
            						_t317 =  *((intOrPtr*)((_t314 << 3) + _a24));
            						_t296 = _t317;
            						if(_t317 == 0) {
            							E004035DB(_t234, _t296, _t384, "no port[s] to connect to", _t433, _t447, _t450);
            						}
            						_t321 =  *((intOrPtr*)((_t317 + 1 << 3) + _a24));
            						if(_t321 != 0) {
            							 *0x40802c = 0;
            						}
            						_v44 = _v42 & 0x0000ffff;
            						while(1) {
            							_t324 =  *((_t321 << 3) + _a24);
            							if(_t324 == 0) {
            								break;
            							}
            							_v74 = 0;
            							_v46 = _v74 & 0x0000ffff;
            							_t327 =  *((intOrPtr*)((_t324 << 3) + _a24));
            							L004074F0();
            							_t384 = _t327;
            							__eflags = _t384;
            							if(_t384 != 0) {
            								 *_t384 = 0;
            								_t384 = _t384 + 1;
            								_v46 = E00403BC0(0, _t384);
            								__eflags = _v46;
            								if(__eflags == 0) {
            									_t433 = _t384;
            									E004035DB(_t235, __eflags, _t384, "invalid port %s", _t384, _t448, _t450);
            								}
            							}
            							_t321 =  *((intOrPtr*)((_t327 << 3) + _a24));
            							_t393 = _t321;
            							_v74 = E00403BC0(0, _t321);
            							__eflags = _v74;
            							if(_v74 == 0) {
            								_t342 = (_t321 << 3) + _a24;
            								__eflags = _t342;
            								_t321 =  *_t342;
            								_t433 = _t321;
            								_t393 = "invalid port %s";
            								E004035DB(_t235, _t342, _t384, "invalid port %s", _t321, _t448, _t450);
            							}
            							__eflags = (_v46 & 0x0000ffff) - _v74;
            							if((_v46 & 0x0000ffff) <= _v74) {
            								_v48 = _v74 & 0x0000ffff;
            							} else {
            								 *0x40802c = 0;
            								_v48 = _v46 & 0x0000ffff;
            								__eflags =  *0x40b0d6 & 0x0000ffff;
            								if(( *0x40b0d6 & 0x0000ffff) != 0) {
            									_t235 = _v46 & 0x0000ffff;
            									r8d = _v46 & 0x0000ffff;
            									E00403E4E(_v74 & 0x0000ffff, _v56, _v56);
            									_t321 = _v56;
            									_t393 = _t321;
            									_v48 = E00403DCA(_t270, _t321, _t321);
            								}
            							}
            							while(1) {
            								__eflags = (_v74 & 0x0000ffff) - _v48;
            								if((_v74 & 0x0000ffff) > _v48) {
            									break;
            								}
            								__eflags = _v42;
            								if(_v42 == 0) {
            									_t157 =  *0x40b0d6 & 0x0000ffff;
            									__eflags = _t157;
            									if(_t157 != 0) {
            										L004074C0();
            										_v44 = _t157;
            										__eflags = _v44 - 0x1fff;
            										if(_v44 <= 0x1fff) {
            											_t72 =  &_v44;
            											 *_t72 = _v44 + 0x2000;
            											__eflags =  *_t72;
            										}
            									}
            								}
            								_t235 = 0;
            								_v48 = E00403BC0(_v48 & 0x0000ffff, _t393);
            								_t330 = _v40;
            								r9d = _v44 & 0x0000ffff;
            								_t448 = _v32;
            								 *0x408010 = E00403EC7(_v48 & 0x0000ffff, _v40, _t433, _v32, _t450);
            								_t129 =  *0x408010; // 0xffffffff
            								__eflags = _t129;
            								if(_t129 > 0) {
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) != 0) {
            										__eflags =  *0x40b0d8 & 0x0000ffff;
            										if(( *0x40b0d8 & 0x0000ffff) != 0) {
            											_t155 =  *0x408010; // 0xffffffff
            											_t433 = _v40;
            											_t235 = _t155;
            											 *0x408010 = E00404773(_t155, _t330, _v40);
            										}
            									}
            								}
            								_t130 =  *0x408010; // 0xffffffff
            								__eflags = _t130;
            								if(_t130 <= 0) {
            									_t270 = 1;
            									__eflags =  *0x40802c & 0x0000ffff;
            									if(( *0x40802c & 0x0000ffff) != 0) {
            										L88:
            										_t333 = _v24 + 0x100;
            										__eflags = _t333;
            										_t334 = _v24;
            										_a32 =  *0x40b0b8;
            										r9d = _v48 & 0x0000ffff;
            										_t448 = _t333;
            										_t433 = _v24;
            										E004034EB("%s [%s] %d (%s)", _v24, _t333, _t450);
            										goto L89;
            									}
            									__eflags = ( *0x40b0da & 0x0000ffff) - 1;
            									if(( *0x40b0da & 0x0000ffff) > 1) {
            										goto L88;
            									}
            									_t334 = __imp__WSAGetLastError;
            									_t145 =  *__imp__WSAGetLastError();
            									__eflags = _t145 - 0x274d;
            									if(_t145 == 0x274d) {
            										goto L89;
            									}
            									goto L88;
            								} else {
            									_t270 = 0;
            									_a32 =  *0x40b0b8;
            									r9d = _v48 & 0x0000ffff;
            									_t448 = _v24 + 0x100;
            									_t433 = _v24;
            									E004034EB("%s [%s] %d (%s) open", _v24, _v24 + 0x100, _t450);
            									_t334 =  *0x40b0e8;
            									__eflags = _t334;
            									if(_t334 != 0) {
            										E004026FD(_t235, _t334, _t334, _t448);
            									}
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) == 0) {
            										_t334 =  *0x40b0e8;
            										__eflags = _t334;
            										if(_t334 == 0) {
            											_t148 =  *0x408010; // 0xffffffff
            											_t235 = _t148;
            											_t270 = E00404B7C(_t148, _t268, _t273, _t448, _t450);
            										}
            									}
            									L89:
            									_t335 = __imp__shutdown;
            									 *_t335();
            									_t393 = _t335;
            									_t321 = __imp__closesocket;
            									 *_t321();
            									__eflags =  *0x40b0cc;
            									if( *0x40b0cc != 0) {
            										_t235 =  *0x40b0cc;
            										_t321 = __imp___sleep;
            										 *_t321();
            									}
            									__eflags =  *0x40b0d6 & 0x0000ffff;
            									if(( *0x40b0d6 & 0x0000ffff) == 0) {
            										_t91 =  &_v48;
            										 *_t91 = _v48 - 1;
            										__eflags =  *_t91;
            									} else {
            										_t321 = _v56;
            										_t393 = _t321;
            										_v48 = E00403DCA(_t270, _t321, _t321);
            									}
            									continue;
            								}
            							}
            							_t159 =  *0x40b048 + 1;
            							__eflags = _t159;
            							 *0x40b048 = _t159;
            						}
            						_t343 = __imp___errno;
            						 *_t343();
            						 *_t343 = 0;
            						if(( *0x40b0da & 0x0000ffff) > 1) {
            							r8d =  *0x40b080;
            							E004034EB("sent %d, rcvd %d", _t433, _t448, _t450);
            						}
            						 *__imp__WSACleanup();
            						if(_v60 == 1) {
            							goto L3;
            						} else {
            							_t301 =  *0x40802c & 0x0000ffff;
            							if(( *0x40802c & 0x0000ffff) != 0) {
            								L00407428();
            							}
            							L00407428();
            							 *0x40b0da = 1;
            							E004034EB("[v1.12 NT http://eternallybored.org/misc/netcat/]\nconnect to somewhere:\tnc [-options] hostname port[s] [ports] ... \nlisten for inbound:\tnc -l -p port [options] [hostname] [port]\noptions:", _t433, _t448, _t450);
            							E004034EB("\t-d\t\tdetach from console, background mode\n", _t433, _t448, _t450);
            							E004034EB("\t-e prog\t\tinbound program to exec [dangerous!!]", _t433, _t448, _t450);
            							E004034EB("\t-g gateway\tsource-routing hop point[s], up to 8\n\t-G num\t\tsource-routing pointer: 4, 8, 12, ...\n\t-h\t\tthis cruft\n\t-i secs\t\tdelay interval for lines sent, ports scanned\n\t-l\t\tlisten mode, for inbound connects\n\t-L\t\tlisten harder, re-listen on socket close\n\t-n\t\tnumeric-only IP addresses, no DNS\n\t-o file\t\thex dump of traffic\n\t-p port\t\tlocal port number\n\t-r\t\trandomize local and remote ports\n\t-s addr\t\tlocal source address", _t433, _t448, _t450);
            							E004034EB("\t-t\t\tanswer TELNET negotiation", _t433, _t448, _t450);
            							E004034EB("\t-c\t\tsend CRLF instead of just LF\n\t-u\t\tUDP mode\n\t-v\t\tverbose [use twice to be more verbose]\n\t-w secs\t\ttimeout for connects and final net reads\n\t-z\t\tzero-I/O mode [used for scanning]", _t433, _t448, _t450);
            							E004035DB(0, _t301, _t384, "port numbers can be individual or ranges: m-n [inclusive]", _t433, _t448, _t450);
            							return 0;
            						}
            					} else {
            						_v48 = 0;
            						_t347 =  *((intOrPtr*)((_t314 << 3) + _a24));
            						if(_t347 != 0) {
            							_t373 =  *((intOrPtr*)((_t347 << 3) + _a24));
            							_v48 = E00403BC0(0, _t373);
            							if(_v48 == 0) {
            								_t433 =  *((intOrPtr*)((_t373 << 3) + _a24));
            								E004035DB(_t234, (_t373 << 3) + _a24, _t384, "invalid port %s",  *((intOrPtr*)((_t373 << 3) + _a24)), _t447, _t450);
            							}
            						}
            						_t314 = _v40;
            						r9d = _v42 & 0x0000ffff;
            						_t448 = _v32;
            						 *0x408010 = E0040425F(_v48 & 0x0000ffff, _t314, _v32, _t450);
            						_t188 =  *0x408010; // 0xffffffff
            						if(_t188 <= 0) {
            							L54:
            							E004035DB(_t234, _t294, _t384, "no connection", _t433, _t448, _t450);
            							goto L55;
            						} else {
            							_t348 =  *0x40b0e8;
            							if( *0x40b0e8 != 0) {
            								E004026FD(_t234, _t348, _t348, _t448);
            							}
            							_t314 =  *0x40b0e8;
            							if(_t314 == 0) {
            								_t208 =  *0x408010; // 0xffffffff
            								_t269 = E00404B7C(_t208, _t268, _t273, _t448, _t450);
            							}
            							if(( *0x40b0da & 0x0000ffff) > 1) {
            								r8d =  *0x40b080;
            								E004034EB(" sent %d, rcvd %d", _t433, _t448, _t450);
            							}
            							_t294 = _v60 - 1;
            							if(_v60 == 1) {
            								L3:
            								__eflags = _a16 - 1;
            								if(__eflags == 0) {
            									_t349 = _a24;
            									E0040371E(0x400, _t349, _t433);
            									_a24 = _t349;
            									_t350 = _a24;
            									 *_t350 =  *_t349;
            									E0040371E(0x2000, _t350, _t433);
            									_t386 = _t350;
            									 *((long long*)(_a24 + 8)) = _t386;
            									_t353 = __imp____iob_func;
            									 *_t353();
            									_t9 = _t353 + 0x60; // 0x60
            									_t450 = _t9;
            									r8d = 0xa;
            									L004074E8(); // executed
            									_t194 =  *__imp____iob_func();
            									L00407490();
            									r8d = 0x2000;
            									_t438 = _t386;
            									L00407368(); // executed
            									 *0x40b07c = _t194;
            									__eflags =  *0x40b07c;
            									if(__eflags == 0) {
            										E004035DB(0, __eflags, _t386, "wrong", _t438, _t448, _t450);
            									}
            									_t271 = E0040377B( *0x40b07c, _t386);
            									__eflags = _t271;
            									if(_t271 != 0) {
            										_t243 =  *0x40b07c - _t271;
            										__eflags = _t243;
            										 *0x40b07c = _t243;
            									}
            									__eflags =  *0x40b07c;
            									if( *0x40b07c != 0) {
            										L004073F8();
            									}
            									L004074F0();
            									_t387 =  *((intOrPtr*)(_a24 + 8));
            									__eflags = _t387;
            									if(_t387 != 0) {
            										 *_t387 = 0;
            									}
            									L004074F0();
            									_t388 =  *((intOrPtr*)(_a24 + 8));
            									__eflags = _t388;
            									if(_t388 != 0) {
            										 *_t388 = 0;
            									}
            									_t384 =  *((intOrPtr*)(_a24 + 8)) + 1;
            									_t272 = 2;
            									while(1) {
            										__eflags =  *_t384 & 0x000000ff;
            										if(__eflags == 0) {
            											break;
            										}
            										__eflags = ( *_t384 & 0x000000ff) - 0x20;
            										if(( *_t384 & 0x000000ff) != 0x20) {
            											_t14 = _t384 - 1; // -2
            											__eflags =  *_t14 & 0x000000ff;
            											if(( *_t14 & 0x000000ff) == 0) {
            												 *((_t272 << 3) + _a24) = _t384;
            												_t272 = _t272 + 1;
            												__eflags = _t272;
            											}
            										} else {
            											 *_t384 = 0;
            										}
            										_t384 = _t384 + 1;
            										__eflags = _t384;
            									}
            									_a16 = _t272;
            								}
            								continue;
            							} else {
            								_t234 = _t269;
            								L00407428();
            								goto L54;
            							}
            						}
            					}
            				}
            				_t17 = _t440 - 0x47; // -71
            				__eflags = _t17 - 0x33;
            				if(__eflags > 0) {
            					_t306 = __imp___errno;
            					 *_t306();
            					 *_t306 = 0;
            					E004035DB(_t234, __eflags, _t384, "nc -h for help", _t433, "ade:g:G:hi:lLno:p:rs:tcuvw:z", _t450);
            					goto L25;
            				}
            				_t433 =  *((intOrPtr*)(0x409b50 + _t305 * 4));
            				goto __rax;
            			}


























































            0x00405797
            0x00405797
            0x00405797
            0x00405797
            0x00405797
            0x004057a1
            0x004057ab
            0x004057b0
            0x004057be
            0x004058bb
            0x004058bb
            0x004058bb
            0x004058bf
            0x004058c6
            0x004058c9
            0x004058d1
            0x004058d6
            0x00000000
            0x00000000
            0x004058e6
            0x004058ed
            0x004058f4
            0x004058f9
            0x004058fe
            0x00405903
            0x00405903
            0x00405907
            0x00405911
            0x00405913
            0x00405918
            0x0040591d
            0x00405926
            0x00405926
            0x00405930
            0x0040593a
            0x0040593c
            0x00405943
            0x00405951
            0x00405956
            0x00405962
            0x00405964
            0x00405966
            0x0040596d
            0x00405977
            0x00405977
            0x0040597c
            0x00405981
            0x00405986
            0x00405986
            0x0040599d
            0x004059a3
            0x004059bf
            0x004059c5
            0x004059ca
            0x004059ca
            0x004059d3
            0x004059ee
            0x004059ee
            0x004059f7
            0x00405a02
            0x00405a02
            0x00405a08
            0x00405a0f
            0x00405a11
            0x00405a21
            0x00405b3e
            0x00405b3e
            0x00405b43
            0x00405b4c
            0x00405b4c
            0x00405b61
            0x00405b64
            0x00405b67
            0x00405b70
            0x00405b70
            0x00405b89
            0x00405b8f
            0x00405b91
            0x00405b91
            0x00405b9e
            0x00405edb
            0x00405eeb
            0x00405ef1
            0x00000000
            0x00000000
            0x00405ba7
            0x00405bb1
            0x00405bc5
            0x00405bd0
            0x00405bd5
            0x00405bd8
            0x00405bdb
            0x00405bdd
            0x00405be0
            0x00405bf1
            0x00405bf5
            0x00405bfa
            0x00405bfc
            0x00405c06
            0x00405c06
            0x00405bfa
            0x00405c1b
            0x00405c23
            0x00405c2b
            0x00405c2f
            0x00405c34
            0x00405c42
            0x00405c42
            0x00405c46
            0x00405c49
            0x00405c4c
            0x00405c53
            0x00405c53
            0x00405c5c
            0x00405c60
            0x00405cb3
            0x00405c62
            0x00405c62
            0x00405c6f
            0x00405c7a
            0x00405c7d
            0x00405c83
            0x00405c8f
            0x00405c95
            0x00405c9a
            0x00405c9e
            0x00405ca6
            0x00405ca6
            0x00405c7d
            0x00405ebe
            0x00405ec2
            0x00405ec6
            0x00000000
            0x00000000
            0x00405cbc
            0x00405cc1
            0x00405cc3
            0x00405cca
            0x00405ccd
            0x00405ccf
            0x00405cd4
            0x00405cd8
            0x00405cde
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405cde
            0x00405ccd
            0x00405cec
            0x00405cf6
            0x00405d06
            0x00405d0a
            0x00405d0d
            0x00405d18
            0x00405d1e
            0x00405d24
            0x00405d26
            0x00405d2f
            0x00405d32
            0x00405d3b
            0x00405d3e
            0x00405d40
            0x00405d46
            0x00405d4a
            0x00405d51
            0x00405d51
            0x00405d3e
            0x00405d32
            0x00405d57
            0x00405d5d
            0x00405d5f
            0x00405dec
            0x00405df8
            0x00405dfb
            0x00405e1a
            0x00405e2c
            0x00405e2c
            0x00405e35
            0x00405e39
            0x00405e3e
            0x00405e41
            0x00405e44
            0x00405e4e
            0x00000000
            0x00405e4e
            0x00405e04
            0x00405e08
            0x00000000
            0x00000000
            0x00405e0a
            0x00405e11
            0x00405e13
            0x00405e18
            0x00000000
            0x00000000
            0x00000000
            0x00405d65
            0x00405d65
            0x00405d89
            0x00405d8e
            0x00405d91
            0x00405d94
            0x00405d9e
            0x00405da3
            0x00405daa
            0x00405dad
            0x00405dba
            0x00405dba
            0x00405dc6
            0x00405dc9
            0x00405dcf
            0x00405dd6
            0x00405dd9
            0x00405ddb
            0x00405de1
            0x00405de8
            0x00405de8
            0x00405dd9
            0x00405e53
            0x00405e63
            0x00405e6a
            0x00405e74
            0x00405e77
            0x00405e7e
            0x00405e86
            0x00405e88
            0x00405e90
            0x00405e92
            0x00405e99
            0x00405e99
            0x00405ea2
            0x00405ea5
            0x00405eb9
            0x00405eb9
            0x00405eb9
            0x00405ea7
            0x00405ea7
            0x00405eab
            0x00405eb3
            0x00405eb3
            0x00000000
            0x00405ea5
            0x00405d5f
            0x00405ed2
            0x00405ed2
            0x00405ed5
            0x00405ed5
            0x00405ef7
            0x00405efe
            0x00405f00
            0x00405f11
            0x00405f1f
            0x00405f2b
            0x00405f2b
            0x00405f37
            0x00405f3d
            0x00000000
            0x00405f43
            0x00405f4a
            0x00405f4d
            0x00405f51
            0x00405f51
            0x00405f5b
            0x00405f68
            0x00405f78
            0x00405f84
            0x00405f90
            0x00405f9c
            0x00405fa8
            0x00405fb4
            0x00405fc0
            0x00405fcb
            0x00405fcb
            0x00405a27
            0x00405a27
            0x00405a3d
            0x00405a43
            0x00405a55
            0x00405a65
            0x00405a6e
            0x00405a83
            0x00405a8d
            0x00405a8d
            0x00405a6e
            0x00405a9e
            0x00405aa2
            0x00405aa5
            0x00405ab0
            0x00405ab6
            0x00405abe
            0x00405b32
            0x00405b39
            0x00000000
            0x00405ac0
            0x00405ac0
            0x00405aca
            0x00405ad7
            0x00405ad7
            0x00405adc
            0x00405ae6
            0x00405ae8
            0x00405af5
            0x00405af5
            0x00405b02
            0x00405b10
            0x00405b1c
            0x00405b1c
            0x00405b21
            0x00405b25
            0x0040539b
            0x0040539b
            0x0040539f
            0x004053a5
            0x004053b1
            0x004053b6
            0x004053ba
            0x004053be
            0x004053c6
            0x004053cb
            0x004053d6
            0x004053d9
            0x004053e0
            0x004053e2
            0x004053ed
            0x004053f0
            0x004053fe
            0x0040540a
            0x00405413
            0x00405418
            0x0040541e
            0x00405426
            0x0040542b
            0x00405437
            0x00405439
            0x00405442
            0x00405442
            0x00405457
            0x00405459
            0x0040545b
            0x00405467
            0x00405467
            0x0040546b
            0x0040546b
            0x00405477
            0x00405479
            0x00405497
            0x00405497
            0x004054af
            0x004054b4
            0x004054b7
            0x004054ba
            0x004054bc
            0x004054bc
            0x004054d2
            0x004054d7
            0x004054da
            0x004054dd
            0x004054df
            0x004054df
            0x004054ed
            0x004054f1
            0x00405524
            0x00405527
            0x00405529
            0x00000000
            0x00000000
            0x004054fb
            0x004054fd
            0x00405504
            0x0040550b
            0x0040550d
            0x0040551a
            0x0040551d
            0x0040551d
            0x0040551d
            0x004054ff
            0x004054ff
            0x004054ff
            0x00405520
            0x00405520
            0x00405520
            0x0040552b
            0x0040552b
            0x00000000
            0x00405b2b
            0x00405b2b
            0x00405b2d
            0x00000000
            0x00405b2d
            0x00405b25
            0x00405abe
            0x00405a21
            0x00405533
            0x00405536
            0x00405539
            0x0040589a
            0x004058a1
            0x004058a3
            0x004058b0
            0x00000000
            0x004058b0
            0x00405553
            0x00405561

            APIs
            Strings
            • ade:g:G:hi:lLno:p:rs:tcuvw:z, xrefs: 004058BF
            • no destination, xrefs: 00405B45
            • -ddetach from console, background mode, xrefs: 00405F7D
            • port numbers can be individual or ranges: m-n [inclusive], xrefs: 00405FB9
            • [v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:, xrefs: 00405F71
            • -g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum, xrefs: 00405F95
            • sent %d, rcvd %d, xrefs: 00405B15
            • sent %d, rcvd %d, xrefs: 00405F24
            • -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning], xrefs: 00405FAD
            • no port[s] to connect to, xrefs: 00405B69
            • no connection, xrefs: 00405B32
            • invalid port %s, xrefs: 00405A86
            • -e proginbound program to exec [dangerous!!], xrefs: 00405F89
            • -tanswer TELNET negotiation, xrefs: 00405FA1
            • can't open %s, xrefs: 00405970
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: _close_itoa_open
            • String ID: -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning]$-ddetach from console, background mode$-e proginbound program to exec [dangerous!!]$-g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum$-tanswer TELNET negotiation$ sent %d, rcvd %d$[v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:$ade:g:G:hi:lLno:p:rs:tcuvw:z$can't open %s$invalid port %s$no connection$no destination$no port[s] to connect to$port numbers can be individual or ranges: m-n [inclusive]$sent %d, rcvd %d
            • API String ID: 357769857-3526283814
            • Opcode ID: 7cb95d333917b75a1f19fc3b667313b740d961bb7bbd8feef2aa009acc712494
            • Instruction ID: 88e6ff62caf1252c4ffe0d9992e833e06b6c4ec77a96bdd4dfb1b046ccbd3f98
            • Opcode Fuzzy Hash: 7cb95d333917b75a1f19fc3b667313b740d961bb7bbd8feef2aa009acc712494
            • Instruction Fuzzy Hash: 96B13DA1B01A1486EB10DF26E89136A37A0FB44788F44442AEB5DB77E5EF3CD941C79C
            Uniqueness

            Uniqueness Score: -1.00%

            Control-flow Graph

            • Executed
            • Not Executed
            control_flow_graph 1954 40571f-40573e 1955 4058bb-4058d6 call 402422 1954->1955 1958 405533-405539 1955->1958 1959 4058dc-4058e6 1955->1959 1962 40589a-4058b5 call 4035db 1958->1962 1963 40553f-40555d 1958->1963 1960 405907-405911 1959->1960 1961 4058e8-405903 call 4073a0 call 4074f8 call 40371e 1959->1961 1965 405930-40593a 1960->1965 1966 405913-405926 _close 1960->1966 1961->1960 1962->1955 1963->1962 1969 40593c-405964 _open 1965->1969 1970 40598d-4059a3 1965->1970 1966->1965 1975 405966-405977 call 4035db 1969->1975 1976 40597c-405986 call 40371e 1969->1976 1971 4059a5-4059ca call 403841 1970->1971 1972 4059ce-4059d3 1970->1972 1971->1972 1981 4059f2-4059f7 1972->1981 1982 4059d5-4059e2 1972->1982 1975->1976 1976->1970 1988 405a08-405a21 1981->1988 1989 4059f9-405a02 1981->1989 1982->1981 1987 4059e4-4059ee 1982->1987 1987->1981 1992 405a27-405a43 1988->1992 1993 405b3e-405b43 1988->1993 1989->1988 1996 405a92-405abe call 40425f 1992->1996 1997 405a45-405a6e call 403bc0 1992->1997 1994 405b51-405b67 1993->1994 1995 405b45-405b4c call 4035db 1993->1995 2001 405b75-405b8f 1994->2001 2002 405b69-405b70 call 4035db 1994->2002 1995->1994 2009 405ac0-405aca 1996->2009 2010 405b32-405b39 call 4035db 1996->2010 1997->1996 2008 405a70-405a8d call 4035db 1997->2008 2006 405b91 2001->2006 2007 405b9a-405ba2 2001->2007 2002->2001 2006->2007 2011 405edb-405ef1 2007->2011 2008->1996 2016 405adc-405ae6 2009->2016 2017 405acc-405ad7 call 4026fd 2009->2017 2010->1993 2012 405ba7-405bdb call 4074f0 2011->2012 2013 405ef7-405f11 2011->2013 2032 405c0b-405c34 call 403bc0 2012->2032 2033 405bdd-405bfa call 403bc0 2012->2033 2030 405f30-405f3d 2013->2030 2031 405f13-405f2b call 4034eb 2013->2031 2020 405af7-405b02 2016->2020 2021 405ae8-405af5 call 404b7c 2016->2021 2017->2016 2025 405b21-405b25 2020->2025 2026 405b04-405b1c call 4034eb 2020->2026 2021->2020 2028 405397-405398 2025->2028 2029 405b2b-405b2d call 407428 2025->2029 2026->2025 2037 40539b-40539f 2028->2037 2029->2010 2046 405f43-405f4d 2030->2046 2047 40539a 2030->2047 2031->2030 2044 405c36-405c53 call 4035db 2032->2044 2045 405c58-405c60 2032->2045 2033->2032 2049 405bfc-405c06 call 4035db 2033->2049 2037->1955 2042 4053a5-4053d9 call 40371e * 2 2037->2042 2074 4053e2-4053fe call 4074e8 2042->2074 2044->2045 2051 405c62-405c7d 2045->2051 2052 405caf-405cb7 2045->2052 2053 405f56-405fcb call 407428 call 4034eb * 6 call 4035db 2046->2053 2054 405f4f-405f51 call 407428 2046->2054 2047->2037 2049->2032 2057 405c83-405caa call 403e4e call 403dca 2051->2057 2058 405ebe-405ec6 2051->2058 2052->2058 2054->2053 2057->2058 2063 405cbc-405cc1 2058->2063 2064 405ecc-405ed5 2058->2064 2068 405cc3-405ccd 2063->2068 2069 405ce6-405d26 call 403bc0 call 403ec7 2063->2069 2064->2011 2068->2069 2073 405ccf-405cde call 4074c0 2068->2073 2090 405d57-405d5f 2069->2090 2091 405d28-405d32 2069->2091 2073->2069 2085 405ce0 2073->2085 2081 405403-405413 call 407490 2074->2081 2097 405418-405439 _read 2081->2097 2085->2069 2095 405d65-405dad call 4034eb 2090->2095 2096 405dec-405dfb 2090->2096 2091->2090 2094 405d34-405d3e 2091->2094 2094->2090 2101 405d40-405d51 call 404773 2094->2101 2115 405dbf-405dc9 2095->2115 2116 405daf-405dba call 4026fd 2095->2116 2099 405e1a-405e4e call 4034eb 2096->2099 2100 405dfd-405e08 2096->2100 2103 405447-40545b call 40377b 2097->2103 2104 40543b-405442 call 4035db 2097->2104 2114 405e53-405e88 2099->2114 2100->2099 2106 405e0a-405e18 2100->2106 2101->2090 2124 405471-405479 2103->2124 2125 40545d-40546b 2103->2125 2104->2103 2106->2099 2106->2114 2137 405e8a-405e92 2114->2137 2138 405e9b-405ea5 2114->2138 2115->2114 2118 405dcf-405dd9 2115->2118 2116->2115 2118->2114 2122 405ddb-405dea call 404b7c 2118->2122 2122->2114 2129 40547b-405497 call 4073f8 2124->2129 2130 40549c-4054ba call 4074f0 2124->2130 2125->2124 2129->2130 2139 4054bc 2130->2139 2140 4054bf-4054dd call 4074f0 2130->2140 2137->2138 2141 405ea7-405eb7 call 403dca 2138->2141 2142 405eb9 2138->2142 2139->2140 2147 4054e2-4054f6 2140->2147 2148 4054df 2140->2148 2141->2058 2142->2058 2149 405524-405529 2147->2149 2148->2147 2150 4054f8-4054fd 2149->2150 2151 40552b-40552e 2149->2151 2152 405504-40550d 2150->2152 2153 4054ff-405502 2150->2153 2151->1955 2154 405520 2152->2154 2155 40550f-40551d 2152->2155 2153->2154 2154->2149 2155->2154
            C-Code - Quality: 18%
            			E0040571F(void* __rsi, signed int _a16, long long _a24, long long _a32) {
            				void* _v24;
            				signed int _v32;
            				void* _v40;
            				signed int _v42;
            				signed short _v44;
            				signed int _v46;
            				signed int _v48;
            				signed long long _v56;
            				intOrPtr _v60;
            				signed int _v74;
            				signed int _t102;
            				signed int _t126;
            				signed int _t127;
            				void* _t142;
            				signed int _t145;
            				signed int _t152;
            				signed int _t154;
            				signed int _t156;
            				signed int _t185;
            				signed int _t191;
            				signed int _t205;
            				signed int _t239;
            				void* _t263;
            				signed int _t264;
            				signed int _t265;
            				signed int _t266;
            				signed int _t267;
            				void* _t268;
            				signed long long _t298;
            				signed int* _t299;
            				signed long long _t303;
            				signed long long _t306;
            				signed long long _t307;
            				intOrPtr _t310;
            				signed long long _t314;
            				signed long long _t317;
            				signed long long _t320;
            				signed int _t326;
            				signed long long _t328;
            				signed int _t335;
            				signed int* _t336;
            				signed long long _t340;
            				intOrPtr* _t342;
            				long long _t343;
            				long long* _t346;
            				signed long long _t366;
            				long long _t376;
            				signed long long _t377;
            				long long _t379;
            				char* _t380;
            				char* _t381;
            				long long _t429;
            				void* _t431;
            				void* _t441;
            
            				_t431 = __rsi;
            				 *0x40b0c0 =  *0x40b040;
            				 *0x40b0d4 = ( *0x40b0d4 & 0x0000ffff) + 1;
            				while(1) {
            					L25:
            					_t298 = _a24;
            					_t438 = "ade:g:G:hi:lLno:p:rs:tcuvw:z";
            					_t424 = _t298;
            					_t230 = _a16;
            					_t264 = E00402422(_a16, _t298, "ade:g:G:hi:lLno:p:rs:tcuvw:z");
            					if(_t264 != 0xffffffff) {
            						break;
            					}
            					if(( *0x40b0d6 & 0x0000ffff) != 0) {
            						L004073A0();
            						L004074F8();
            						_t231 = 0x10000;
            						E0040371E(0x10000, _t298, _t424);
            						_v56 = _t298;
            					}
            					_t303 =  *0x40b0e8;
            					if(_t303 != 0) {
            						_t231 = 0;
            						L00407358();
            						 *0x40b0d4 = 0;
            						 *0x40b074 = 0;
            					}
            					_t102 =  *0x40b0d4 & 0x0000ffff;
            					if(_t102 != 0) {
            						_t303 =  *0x40b0c0;
            						r8d = 0x1b4;
            						L00407370();
            						 *0x40b074 = _t102;
            						_t273 =  *0x40b074;
            						if( *0x40b074 <= 0) {
            							_t303 =  *0x40b0c0;
            							_t424 = _t303;
            							E004035DB(_t230, _t273, _t377, "can\'t open %s", _t303, _t438, _t441);
            						}
            						_t231 = 0x64;
            						E0040371E(0x64, _t303, _t424);
            						 *0x40b0c0 = _t303;
            					}
            					_t306 =  *((intOrPtr*)((_t303 << 3) + _a24));
            					if(_t306 != 0) {
            						_t376 =  *((intOrPtr*)((_t306 << 3) + _a24));
            						E00403841( *0x40b0d2 & 0xffff, _t376, _t424, _t441);
            						_v24 = _t376;
            					}
            					if(_v24 != 0 && _v24 + 0x1c0 != 0) {
            						_v40 = _v24 + 0x1c0;
            					}
            					if(_v40 != 0) {
            						 *0x40b048 =  *0x40b048 + 1;
            					}
            					_t307 = __imp___errno;
            					 *_t307();
            					 *_t307 = 0;
            					if(( *0x40b0d0 & 0x0000ffff) == 0) {
            						L55:
            						_t290 = _v40;
            						if(_v40 == 0) {
            							E004035DB(_t230, _t290, _t377, "no destination", _t424, _t438, _t441);
            						}
            						_t310 =  *((intOrPtr*)((_t307 << 3) + _a24));
            						_t291 = _t310;
            						if(_t310 == 0) {
            							E004035DB(_t230, _t291, _t377, "no port[s] to connect to", _t424, _t438, _t441);
            						}
            						_t314 =  *((intOrPtr*)((_t310 + 1 << 3) + _a24));
            						if(_t314 != 0) {
            							 *0x40802c = 0;
            						}
            						_v44 = _v42 & 0x0000ffff;
            						while(1) {
            							_t317 =  *((_t314 << 3) + _a24);
            							if(_t317 == 0) {
            								break;
            							}
            							_v74 = 0;
            							_v46 = _v74 & 0x0000ffff;
            							_t320 =  *((intOrPtr*)((_t317 << 3) + _a24));
            							L004074F0();
            							_t377 = _t320;
            							__eflags = _t377;
            							if(_t377 != 0) {
            								 *_t377 = 0;
            								_t377 = _t377 + 1;
            								_v46 = E00403BC0(0, _t377);
            								__eflags = _v46;
            								if(__eflags == 0) {
            									_t424 = _t377;
            									E004035DB(_t231, __eflags, _t377, "invalid port %s", _t377, _t439, _t441);
            								}
            							}
            							_t314 =  *((intOrPtr*)((_t320 << 3) + _a24));
            							_t385 = _t314;
            							_v74 = E00403BC0(0, _t314);
            							__eflags = _v74;
            							if(_v74 == 0) {
            								_t335 = (_t314 << 3) + _a24;
            								__eflags = _t335;
            								_t314 =  *_t335;
            								_t424 = _t314;
            								_t385 = "invalid port %s";
            								E004035DB(_t231, _t335, _t377, "invalid port %s", _t314, _t439, _t441);
            							}
            							__eflags = (_v46 & 0x0000ffff) - _v74;
            							if((_v46 & 0x0000ffff) <= _v74) {
            								_v48 = _v74 & 0x0000ffff;
            							} else {
            								 *0x40802c = 0;
            								_v48 = _v46 & 0x0000ffff;
            								__eflags =  *0x40b0d6 & 0x0000ffff;
            								if(( *0x40b0d6 & 0x0000ffff) != 0) {
            									_t231 = _v46 & 0x0000ffff;
            									r8d = _v46 & 0x0000ffff;
            									E00403E4E(_v74 & 0x0000ffff, _v56, _v56);
            									_t314 = _v56;
            									_t385 = _t314;
            									_v48 = E00403DCA(_t265, _t314, _t314);
            								}
            							}
            							while(1) {
            								__eflags = (_v74 & 0x0000ffff) - _v48;
            								if((_v74 & 0x0000ffff) > _v48) {
            									break;
            								}
            								__eflags = _v42;
            								if(_v42 == 0) {
            									_t154 =  *0x40b0d6 & 0x0000ffff;
            									__eflags = _t154;
            									if(_t154 != 0) {
            										L004074C0();
            										_v44 = _t154;
            										__eflags = _v44 - 0x1fff;
            										if(_v44 <= 0x1fff) {
            											_t69 =  &_v44;
            											 *_t69 = _v44 + 0x2000;
            											__eflags =  *_t69;
            										}
            									}
            								}
            								_t231 = 0;
            								_v48 = E00403BC0(_v48 & 0x0000ffff, _t385);
            								_t323 = _v40;
            								r9d = _v44 & 0x0000ffff;
            								_t439 = _v32;
            								 *0x408010 = E00403EC7(_v48 & 0x0000ffff, _v40, _t424, _v32, _t441);
            								_t126 =  *0x408010; // 0xffffffff
            								__eflags = _t126;
            								if(_t126 > 0) {
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) != 0) {
            										__eflags =  *0x40b0d8 & 0x0000ffff;
            										if(( *0x40b0d8 & 0x0000ffff) != 0) {
            											_t152 =  *0x408010; // 0xffffffff
            											_t424 = _v40;
            											_t231 = _t152;
            											 *0x408010 = E00404773(_t152, _t323, _v40);
            										}
            									}
            								}
            								_t127 =  *0x408010; // 0xffffffff
            								__eflags = _t127;
            								if(_t127 <= 0) {
            									_t265 = 1;
            									__eflags =  *0x40802c & 0x0000ffff;
            									if(( *0x40802c & 0x0000ffff) != 0) {
            										L88:
            										_t326 = _v24 + 0x100;
            										__eflags = _t326;
            										_t327 = _v24;
            										_a32 =  *0x40b0b8;
            										r9d = _v48 & 0x0000ffff;
            										_t439 = _t326;
            										_t424 = _v24;
            										E004034EB("%s [%s] %d (%s)", _v24, _t326, _t441);
            										goto L89;
            									}
            									__eflags = ( *0x40b0da & 0x0000ffff) - 1;
            									if(( *0x40b0da & 0x0000ffff) > 1) {
            										goto L88;
            									}
            									_t327 = __imp__WSAGetLastError;
            									_t142 =  *__imp__WSAGetLastError();
            									__eflags = _t142 - 0x274d;
            									if(_t142 == 0x274d) {
            										goto L89;
            									}
            									goto L88;
            								} else {
            									_t265 = 0;
            									_a32 =  *0x40b0b8;
            									r9d = _v48 & 0x0000ffff;
            									_t439 = _v24 + 0x100;
            									_t424 = _v24;
            									E004034EB("%s [%s] %d (%s) open", _v24, _v24 + 0x100, _t441);
            									_t327 =  *0x40b0e8;
            									__eflags = _t327;
            									if(_t327 != 0) {
            										E004026FD(_t231, _t327, _t327, _t439);
            									}
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) == 0) {
            										_t327 =  *0x40b0e8;
            										__eflags = _t327;
            										if(_t327 == 0) {
            											_t145 =  *0x408010; // 0xffffffff
            											_t231 = _t145;
            											_t265 = E00404B7C(_t145, _t263, _t268, _t439, _t441);
            										}
            									}
            									L89:
            									_t328 = __imp__shutdown;
            									 *_t328();
            									_t385 = _t328;
            									_t314 = __imp__closesocket;
            									 *_t314();
            									__eflags =  *0x40b0cc;
            									if( *0x40b0cc != 0) {
            										_t231 =  *0x40b0cc;
            										_t314 = __imp___sleep;
            										 *_t314();
            									}
            									__eflags =  *0x40b0d6 & 0x0000ffff;
            									if(( *0x40b0d6 & 0x0000ffff) == 0) {
            										_t88 =  &_v48;
            										 *_t88 = _v48 - 1;
            										__eflags =  *_t88;
            									} else {
            										_t314 = _v56;
            										_t385 = _t314;
            										_v48 = E00403DCA(_t265, _t314, _t314);
            									}
            									continue;
            								}
            							}
            							_t156 =  *0x40b048 + 1;
            							__eflags = _t156;
            							 *0x40b048 = _t156;
            						}
            						_t336 = __imp___errno;
            						 *_t336();
            						 *_t336 = 0;
            						if(( *0x40b0da & 0x0000ffff) > 1) {
            							r8d =  *0x40b080;
            							E004034EB("sent %d, rcvd %d", _t424, _t439, _t441);
            						}
            						 *__imp__WSACleanup();
            						if(_v60 == 1) {
            							goto L3;
            						} else {
            							_t296 =  *0x40802c & 0x0000ffff;
            							if(( *0x40802c & 0x0000ffff) != 0) {
            								L00407428();
            							}
            							L00407428();
            							 *0x40b0da = 1;
            							E004034EB("[v1.12 NT http://eternallybored.org/misc/netcat/]\nconnect to somewhere:\tnc [-options] hostname port[s] [ports] ... \nlisten for inbound:\tnc -l -p port [options] [hostname] [port]\noptions:", _t424, _t439, _t441);
            							E004034EB("\t-d\t\tdetach from console, background mode\n", _t424, _t439, _t441);
            							E004034EB("\t-e prog\t\tinbound program to exec [dangerous!!]", _t424, _t439, _t441);
            							E004034EB("\t-g gateway\tsource-routing hop point[s], up to 8\n\t-G num\t\tsource-routing pointer: 4, 8, 12, ...\n\t-h\t\tthis cruft\n\t-i secs\t\tdelay interval for lines sent, ports scanned\n\t-l\t\tlisten mode, for inbound connects\n\t-L\t\tlisten harder, re-listen on socket close\n\t-n\t\tnumeric-only IP addresses, no DNS\n\t-o file\t\thex dump of traffic\n\t-p port\t\tlocal port number\n\t-r\t\trandomize local and remote ports\n\t-s addr\t\tlocal source address", _t424, _t439, _t441);
            							E004034EB("\t-t\t\tanswer TELNET negotiation", _t424, _t439, _t441);
            							E004034EB("\t-c\t\tsend CRLF instead of just LF\n\t-u\t\tUDP mode\n\t-v\t\tverbose [use twice to be more verbose]\n\t-w secs\t\ttimeout for connects and final net reads\n\t-z\t\tzero-I/O mode [used for scanning]", _t424, _t439, _t441);
            							E004035DB(0, _t296, _t377, "port numbers can be individual or ranges: m-n [inclusive]", _t424, _t439, _t441);
            							return 0;
            						}
            					} else {
            						_v48 = 0;
            						_t340 =  *((intOrPtr*)((_t307 << 3) + _a24));
            						if(_t340 != 0) {
            							_t366 =  *((intOrPtr*)((_t340 << 3) + _a24));
            							_v48 = E00403BC0(0, _t366);
            							if(_v48 == 0) {
            								_t424 =  *((intOrPtr*)((_t366 << 3) + _a24));
            								E004035DB(_t230, (_t366 << 3) + _a24, _t377, "invalid port %s",  *((intOrPtr*)((_t366 << 3) + _a24)), _t438, _t441);
            							}
            						}
            						_t307 = _v40;
            						r9d = _v42 & 0x0000ffff;
            						_t439 = _v32;
            						 *0x408010 = E0040425F(_v48 & 0x0000ffff, _t307, _v32, _t441);
            						_t185 =  *0x408010; // 0xffffffff
            						if(_t185 <= 0) {
            							L54:
            							E004035DB(_t230, _t289, _t377, "no connection", _t424, _t439, _t441);
            							goto L55;
            						} else {
            							_t341 =  *0x40b0e8;
            							if( *0x40b0e8 != 0) {
            								E004026FD(_t230, _t341, _t341, _t439);
            							}
            							_t307 =  *0x40b0e8;
            							if(_t307 == 0) {
            								_t205 =  *0x408010; // 0xffffffff
            								_t264 = E00404B7C(_t205, _t263, _t268, _t439, _t441);
            							}
            							if(( *0x40b0da & 0x0000ffff) > 1) {
            								r8d =  *0x40b080;
            								E004034EB(" sent %d, rcvd %d", _t424, _t439, _t441);
            							}
            							_t289 = _v60 - 1;
            							if(_v60 == 1) {
            								L3:
            								__eflags = _a16 - 1;
            								if(__eflags == 0) {
            									_t342 = _a24;
            									E0040371E(0x400, _t342, _t424);
            									_a24 = _t342;
            									_t343 = _a24;
            									 *_t343 =  *_t342;
            									E0040371E(0x2000, _t343, _t424);
            									_t379 = _t343;
            									 *((long long*)(_a24 + 8)) = _t379;
            									_t346 = __imp____iob_func;
            									 *_t346();
            									_t6 = _t346 + 0x60; // 0x60
            									_t441 = _t6;
            									r8d = 0xa;
            									L004074E8(); // executed
            									_t191 =  *__imp____iob_func();
            									L00407490();
            									r8d = 0x2000;
            									_t429 = _t379;
            									L00407368(); // executed
            									 *0x40b07c = _t191;
            									__eflags =  *0x40b07c;
            									if(__eflags == 0) {
            										E004035DB(0, __eflags, _t379, "wrong", _t429, _t439, _t441);
            									}
            									_t266 = E0040377B( *0x40b07c, _t379);
            									__eflags = _t266;
            									if(_t266 != 0) {
            										_t239 =  *0x40b07c - _t266;
            										__eflags = _t239;
            										 *0x40b07c = _t239;
            									}
            									__eflags =  *0x40b07c;
            									if( *0x40b07c != 0) {
            										L004073F8();
            									}
            									L004074F0();
            									_t380 =  *((intOrPtr*)(_a24 + 8));
            									__eflags = _t380;
            									if(_t380 != 0) {
            										 *_t380 = 0;
            									}
            									L004074F0();
            									_t381 =  *((intOrPtr*)(_a24 + 8));
            									__eflags = _t381;
            									if(_t381 != 0) {
            										 *_t381 = 0;
            									}
            									_t377 =  *((intOrPtr*)(_a24 + 8)) + 1;
            									_t267 = 2;
            									while(1) {
            										__eflags =  *_t377 & 0x000000ff;
            										if(__eflags == 0) {
            											break;
            										}
            										__eflags = ( *_t377 & 0x000000ff) - 0x20;
            										if(( *_t377 & 0x000000ff) != 0x20) {
            											_t11 = _t377 - 1; // -2
            											__eflags =  *_t11 & 0x000000ff;
            											if(( *_t11 & 0x000000ff) == 0) {
            												 *((_t267 << 3) + _a24) = _t377;
            												_t267 = _t267 + 1;
            												__eflags = _t267;
            											}
            										} else {
            											 *_t377 = 0;
            										}
            										_t377 = _t377 + 1;
            										__eflags = _t377;
            									}
            									_a16 = _t267;
            								}
            								continue;
            							} else {
            								_t230 = _t264;
            								L00407428();
            								goto L54;
            							}
            						}
            					}
            				}
            				_t14 = _t431 - 0x47; // -71
            				__eflags = _t14 - 0x33;
            				if(__eflags > 0) {
            					_t299 = __imp___errno;
            					 *_t299();
            					 *_t299 = 0;
            					E004035DB(_t230, __eflags, _t377, "nc -h for help", _t424, "ade:g:G:hi:lLno:p:rs:tcuvw:z", _t441);
            					goto L25;
            				}
            				_t424 =  *((intOrPtr*)(0x409b50 + _t298 * 4));
            				goto __rax;
            			}

























































            0x0040571f
            0x00405726
            0x00405737
            0x004058bb
            0x004058bb
            0x004058bb
            0x004058bf
            0x004058c6
            0x004058c9
            0x004058d1
            0x004058d6
            0x00000000
            0x00000000
            0x004058e6
            0x004058ed
            0x004058f4
            0x004058f9
            0x004058fe
            0x00405903
            0x00405903
            0x00405907
            0x00405911
            0x00405913
            0x00405918
            0x0040591d
            0x00405926
            0x00405926
            0x00405930
            0x0040593a
            0x0040593c
            0x00405943
            0x00405951
            0x00405956
            0x00405962
            0x00405964
            0x00405966
            0x0040596d
            0x00405977
            0x00405977
            0x0040597c
            0x00405981
            0x00405986
            0x00405986
            0x0040599d
            0x004059a3
            0x004059bf
            0x004059c5
            0x004059ca
            0x004059ca
            0x004059d3
            0x004059ee
            0x004059ee
            0x004059f7
            0x00405a02
            0x00405a02
            0x00405a08
            0x00405a0f
            0x00405a11
            0x00405a21
            0x00405b3e
            0x00405b3e
            0x00405b43
            0x00405b4c
            0x00405b4c
            0x00405b61
            0x00405b64
            0x00405b67
            0x00405b70
            0x00405b70
            0x00405b89
            0x00405b8f
            0x00405b91
            0x00405b91
            0x00405b9e
            0x00405edb
            0x00405eeb
            0x00405ef1
            0x00000000
            0x00000000
            0x00405ba7
            0x00405bb1
            0x00405bc5
            0x00405bd0
            0x00405bd5
            0x00405bd8
            0x00405bdb
            0x00405bdd
            0x00405be0
            0x00405bf1
            0x00405bf5
            0x00405bfa
            0x00405bfc
            0x00405c06
            0x00405c06
            0x00405bfa
            0x00405c1b
            0x00405c23
            0x00405c2b
            0x00405c2f
            0x00405c34
            0x00405c42
            0x00405c42
            0x00405c46
            0x00405c49
            0x00405c4c
            0x00405c53
            0x00405c53
            0x00405c5c
            0x00405c60
            0x00405cb3
            0x00405c62
            0x00405c62
            0x00405c6f
            0x00405c7a
            0x00405c7d
            0x00405c83
            0x00405c8f
            0x00405c95
            0x00405c9a
            0x00405c9e
            0x00405ca6
            0x00405ca6
            0x00405c7d
            0x00405ebe
            0x00405ec2
            0x00405ec6
            0x00000000
            0x00000000
            0x00405cbc
            0x00405cc1
            0x00405cc3
            0x00405cca
            0x00405ccd
            0x00405ccf
            0x00405cd4
            0x00405cd8
            0x00405cde
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405cde
            0x00405ccd
            0x00405cec
            0x00405cf6
            0x00405d06
            0x00405d0a
            0x00405d0d
            0x00405d18
            0x00405d1e
            0x00405d24
            0x00405d26
            0x00405d2f
            0x00405d32
            0x00405d3b
            0x00405d3e
            0x00405d40
            0x00405d46
            0x00405d4a
            0x00405d51
            0x00405d51
            0x00405d3e
            0x00405d32
            0x00405d57
            0x00405d5d
            0x00405d5f
            0x00405dec
            0x00405df8
            0x00405dfb
            0x00405e1a
            0x00405e2c
            0x00405e2c
            0x00405e35
            0x00405e39
            0x00405e3e
            0x00405e41
            0x00405e44
            0x00405e4e
            0x00000000
            0x00405e4e
            0x00405e04
            0x00405e08
            0x00000000
            0x00000000
            0x00405e0a
            0x00405e11
            0x00405e13
            0x00405e18
            0x00000000
            0x00000000
            0x00000000
            0x00405d65
            0x00405d65
            0x00405d89
            0x00405d8e
            0x00405d91
            0x00405d94
            0x00405d9e
            0x00405da3
            0x00405daa
            0x00405dad
            0x00405dba
            0x00405dba
            0x00405dc6
            0x00405dc9
            0x00405dcf
            0x00405dd6
            0x00405dd9
            0x00405ddb
            0x00405de1
            0x00405de8
            0x00405de8
            0x00405dd9
            0x00405e53
            0x00405e63
            0x00405e6a
            0x00405e74
            0x00405e77
            0x00405e7e
            0x00405e86
            0x00405e88
            0x00405e90
            0x00405e92
            0x00405e99
            0x00405e99
            0x00405ea2
            0x00405ea5
            0x00405eb9
            0x00405eb9
            0x00405eb9
            0x00405ea7
            0x00405ea7
            0x00405eab
            0x00405eb3
            0x00405eb3
            0x00000000
            0x00405ea5
            0x00405d5f
            0x00405ed2
            0x00405ed2
            0x00405ed5
            0x00405ed5
            0x00405ef7
            0x00405efe
            0x00405f00
            0x00405f11
            0x00405f1f
            0x00405f2b
            0x00405f2b
            0x00405f37
            0x00405f3d
            0x00000000
            0x00405f43
            0x00405f4a
            0x00405f4d
            0x00405f51
            0x00405f51
            0x00405f5b
            0x00405f68
            0x00405f78
            0x00405f84
            0x00405f90
            0x00405f9c
            0x00405fa8
            0x00405fb4
            0x00405fc0
            0x00405fcb
            0x00405fcb
            0x00405a27
            0x00405a27
            0x00405a3d
            0x00405a43
            0x00405a55
            0x00405a65
            0x00405a6e
            0x00405a83
            0x00405a8d
            0x00405a8d
            0x00405a6e
            0x00405a9e
            0x00405aa2
            0x00405aa5
            0x00405ab0
            0x00405ab6
            0x00405abe
            0x00405b32
            0x00405b39
            0x00000000
            0x00405ac0
            0x00405ac0
            0x00405aca
            0x00405ad7
            0x00405ad7
            0x00405adc
            0x00405ae6
            0x00405ae8
            0x00405af5
            0x00405af5
            0x00405b02
            0x00405b10
            0x00405b1c
            0x00405b1c
            0x00405b21
            0x00405b25
            0x0040539b
            0x0040539b
            0x0040539f
            0x004053a5
            0x004053b1
            0x004053b6
            0x004053ba
            0x004053be
            0x004053c6
            0x004053cb
            0x004053d6
            0x004053d9
            0x004053e0
            0x004053e2
            0x004053ed
            0x004053f0
            0x004053fe
            0x0040540a
            0x00405413
            0x00405418
            0x0040541e
            0x00405426
            0x0040542b
            0x00405437
            0x00405439
            0x00405442
            0x00405442
            0x00405457
            0x00405459
            0x0040545b
            0x00405467
            0x00405467
            0x0040546b
            0x0040546b
            0x00405477
            0x00405479
            0x00405497
            0x00405497
            0x004054af
            0x004054b4
            0x004054b7
            0x004054ba
            0x004054bc
            0x004054bc
            0x004054d2
            0x004054d7
            0x004054da
            0x004054dd
            0x004054df
            0x004054df
            0x004054ed
            0x004054f1
            0x00405524
            0x00405527
            0x00405529
            0x00000000
            0x00000000
            0x004054fb
            0x004054fd
            0x00405504
            0x0040550b
            0x0040550d
            0x0040551a
            0x0040551d
            0x0040551d
            0x0040551d
            0x004054ff
            0x004054ff
            0x004054ff
            0x00405520
            0x00405520
            0x00405520
            0x0040552b
            0x0040552b
            0x00000000
            0x00405b2b
            0x00405b2b
            0x00405b2d
            0x00000000
            0x00405b2d
            0x00405b25
            0x00405abe
            0x00405a21
            0x00405533
            0x00405536
            0x00405539
            0x0040589a
            0x004058a1
            0x004058a3
            0x004058b0
            0x00000000
            0x004058b0
            0x00405553
            0x00405561

            APIs
            Strings
            • ade:g:G:hi:lLno:p:rs:tcuvw:z, xrefs: 004058BF
            • no destination, xrefs: 00405B45
            • -ddetach from console, background mode, xrefs: 00405F7D
            • port numbers can be individual or ranges: m-n [inclusive], xrefs: 00405FB9
            • [v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:, xrefs: 00405F71
            • -g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum, xrefs: 00405F95
            • sent %d, rcvd %d, xrefs: 00405B15
            • sent %d, rcvd %d, xrefs: 00405F24
            • -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning], xrefs: 00405FAD
            • no port[s] to connect to, xrefs: 00405B69
            • no connection, xrefs: 00405B32
            • invalid port %s, xrefs: 00405A86
            • -e proginbound program to exec [dangerous!!], xrefs: 00405F89
            • -tanswer TELNET negotiation, xrefs: 00405FA1
            • can't open %s, xrefs: 00405970
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: _close_itoa_open
            • String ID: -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning]$-ddetach from console, background mode$-e proginbound program to exec [dangerous!!]$-g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum$-tanswer TELNET negotiation$ sent %d, rcvd %d$[v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:$ade:g:G:hi:lLno:p:rs:tcuvw:z$can't open %s$invalid port %s$no connection$no destination$no port[s] to connect to$port numbers can be individual or ranges: m-n [inclusive]$sent %d, rcvd %d
            • API String ID: 357769857-3526283814
            • Opcode ID: 11986d9d1fb2c3a380ec7fd46836451cb31239c5fdd6edc82d1f490680556fde
            • Instruction ID: 97f028e474ae15dea11a3c05a44dfeb8e1187850dccbedaa3eb4596c0e0c8f79
            • Opcode Fuzzy Hash: 11986d9d1fb2c3a380ec7fd46836451cb31239c5fdd6edc82d1f490680556fde
            • Instruction Fuzzy Hash: 2CA13DA1B00A1486EB10DF26E89136A37A0FB44798F44442AEB5DB73E1EF3CD945C79C
            Uniqueness

            Uniqueness Score: -1.00%

            Control-flow Graph

            • Executed
            • Not Executed
            control_flow_graph 2156 405598-4055b0 2157 4058bb-4058d6 call 402422 2156->2157 2160 405533-405539 2157->2160 2161 4058dc-4058e6 2157->2161 2164 40589a-4058b5 call 4035db 2160->2164 2165 40553f-40555d 2160->2165 2162 405907-405911 2161->2162 2163 4058e8-405903 call 4073a0 call 4074f8 call 40371e 2161->2163 2167 405930-40593a 2162->2167 2168 405913-405926 _close 2162->2168 2163->2162 2164->2157 2165->2164 2171 40593c-405964 _open 2167->2171 2172 40598d-4059a3 2167->2172 2168->2167 2177 405966-405977 call 4035db 2171->2177 2178 40597c-405986 call 40371e 2171->2178 2173 4059a5-4059ca call 403841 2172->2173 2174 4059ce-4059d3 2172->2174 2173->2174 2183 4059f2-4059f7 2174->2183 2184 4059d5-4059e2 2174->2184 2177->2178 2178->2172 2190 405a08-405a21 2183->2190 2191 4059f9-405a02 2183->2191 2184->2183 2189 4059e4-4059ee 2184->2189 2189->2183 2194 405a27-405a43 2190->2194 2195 405b3e-405b43 2190->2195 2191->2190 2198 405a92-405abe call 40425f 2194->2198 2199 405a45-405a6e call 403bc0 2194->2199 2196 405b51-405b67 2195->2196 2197 405b45-405b4c call 4035db 2195->2197 2203 405b75-405b8f 2196->2203 2204 405b69-405b70 call 4035db 2196->2204 2197->2196 2211 405ac0-405aca 2198->2211 2212 405b32-405b39 call 4035db 2198->2212 2199->2198 2210 405a70-405a8d call 4035db 2199->2210 2208 405b91 2203->2208 2209 405b9a-405ba2 2203->2209 2204->2203 2208->2209 2213 405edb-405ef1 2209->2213 2210->2198 2218 405adc-405ae6 2211->2218 2219 405acc-405ad7 call 4026fd 2211->2219 2212->2195 2214 405ba7-405bdb call 4074f0 2213->2214 2215 405ef7-405f11 2213->2215 2234 405c0b-405c34 call 403bc0 2214->2234 2235 405bdd-405bfa call 403bc0 2214->2235 2232 405f30-405f3d 2215->2232 2233 405f13-405f2b call 4034eb 2215->2233 2222 405af7-405b02 2218->2222 2223 405ae8-405af5 call 404b7c 2218->2223 2219->2218 2227 405b21-405b25 2222->2227 2228 405b04-405b1c call 4034eb 2222->2228 2223->2222 2230 405397-405398 2227->2230 2231 405b2b-405b2d call 407428 2227->2231 2228->2227 2239 40539b-40539f 2230->2239 2231->2212 2248 405f43-405f4d 2232->2248 2249 40539a 2232->2249 2233->2232 2246 405c36-405c53 call 4035db 2234->2246 2247 405c58-405c60 2234->2247 2235->2234 2251 405bfc-405c06 call 4035db 2235->2251 2239->2157 2244 4053a5-4053d9 call 40371e * 2 2239->2244 2276 4053e2-4053fe call 4074e8 2244->2276 2246->2247 2253 405c62-405c7d 2247->2253 2254 405caf-405cb7 2247->2254 2255 405f56-405fcb call 407428 call 4034eb * 6 call 4035db 2248->2255 2256 405f4f-405f51 call 407428 2248->2256 2249->2239 2251->2234 2259 405c83-405caa call 403e4e call 403dca 2253->2259 2260 405ebe-405ec6 2253->2260 2254->2260 2256->2255 2259->2260 2265 405cbc-405cc1 2260->2265 2266 405ecc-405ed5 2260->2266 2270 405cc3-405ccd 2265->2270 2271 405ce6-405d26 call 403bc0 call 403ec7 2265->2271 2266->2213 2270->2271 2275 405ccf-405cde call 4074c0 2270->2275 2292 405d57-405d5f 2271->2292 2293 405d28-405d32 2271->2293 2275->2271 2287 405ce0 2275->2287 2283 405403-405413 call 407490 2276->2283 2299 405418-405439 _read 2283->2299 2287->2271 2297 405d65-405dad call 4034eb 2292->2297 2298 405dec-405dfb 2292->2298 2293->2292 2296 405d34-405d3e 2293->2296 2296->2292 2303 405d40-405d51 call 404773 2296->2303 2317 405dbf-405dc9 2297->2317 2318 405daf-405dba call 4026fd 2297->2318 2301 405e1a-405e4e call 4034eb 2298->2301 2302 405dfd-405e08 2298->2302 2305 405447-40545b call 40377b 2299->2305 2306 40543b-405442 call 4035db 2299->2306 2316 405e53-405e88 2301->2316 2302->2301 2308 405e0a-405e18 2302->2308 2303->2292 2326 405471-405479 2305->2326 2327 40545d-40546b 2305->2327 2306->2305 2308->2301 2308->2316 2339 405e8a-405e92 2316->2339 2340 405e9b-405ea5 2316->2340 2317->2316 2320 405dcf-405dd9 2317->2320 2318->2317 2320->2316 2324 405ddb-405dea call 404b7c 2320->2324 2324->2316 2331 40547b-405497 call 4073f8 2326->2331 2332 40549c-4054ba call 4074f0 2326->2332 2327->2326 2331->2332 2341 4054bc 2332->2341 2342 4054bf-4054dd call 4074f0 2332->2342 2339->2340 2343 405ea7-405eb7 call 403dca 2340->2343 2344 405eb9 2340->2344 2341->2342 2349 4054e2-4054f6 2342->2349 2350 4054df 2342->2350 2343->2260 2344->2260 2351 405524-405529 2349->2351 2350->2349 2352 4054f8-4054fd 2351->2352 2353 40552b-40552e 2351->2353 2354 405504-40550d 2352->2354 2355 4054ff-405502 2352->2355 2353->2157 2356 405520 2354->2356 2357 40550f-40551d 2354->2357 2355->2356 2356->2351 2357->2356
            C-Code - Quality: 18%
            			E00405598(void* __rsi, signed int _a16, long long _a24, long long _a32) {
            				void* _v24;
            				signed int _v32;
            				void* _v40;
            				signed int _v42;
            				signed short _v44;
            				signed int _v46;
            				signed int _v48;
            				signed long long _v56;
            				signed int _v60;
            				signed int _v74;
            				signed int _t103;
            				signed int _t127;
            				signed int _t128;
            				void* _t143;
            				signed int _t146;
            				signed int _t153;
            				signed int _t155;
            				signed int _t157;
            				signed int _t186;
            				signed int _t192;
            				signed int _t206;
            				signed int _t240;
            				void* _t264;
            				signed int _t265;
            				signed int _t266;
            				signed int _t267;
            				signed int _t268;
            				void* _t269;
            				signed long long _t298;
            				signed int* _t299;
            				signed long long _t303;
            				signed long long _t306;
            				signed long long _t307;
            				intOrPtr _t310;
            				signed long long _t314;
            				signed long long _t317;
            				signed long long _t320;
            				signed int _t326;
            				signed long long _t328;
            				signed int _t335;
            				signed int* _t336;
            				signed long long _t340;
            				intOrPtr* _t342;
            				long long _t343;
            				long long* _t346;
            				signed long long _t366;
            				long long _t376;
            				signed long long _t377;
            				long long _t379;
            				char* _t380;
            				char* _t381;
            				long long _t429;
            				void* _t431;
            				void* _t441;
            
            				_t431 = __rsi;
            				 *0x40b0d0 = ( *0x40b0d0 & 0x0000ffff) + 1;
            				_v60 = 1;
            				while(1) {
            					L25:
            					_t298 = _a24;
            					_t438 = "ade:g:G:hi:lLno:p:rs:tcuvw:z";
            					_t424 = _t298;
            					_t231 = _a16;
            					_t265 = E00402422(_a16, _t298, "ade:g:G:hi:lLno:p:rs:tcuvw:z");
            					if(_t265 != 0xffffffff) {
            						break;
            					}
            					if(( *0x40b0d6 & 0x0000ffff) != 0) {
            						L004073A0();
            						L004074F8();
            						_t232 = 0x10000;
            						E0040371E(0x10000, _t298, _t424);
            						_v56 = _t298;
            					}
            					_t303 =  *0x40b0e8;
            					if(_t303 != 0) {
            						_t232 = 0;
            						L00407358();
            						 *0x40b0d4 = 0;
            						 *0x40b074 = 0;
            					}
            					_t103 =  *0x40b0d4 & 0x0000ffff;
            					if(_t103 != 0) {
            						_t303 =  *0x40b0c0;
            						r8d = 0x1b4;
            						L00407370();
            						 *0x40b074 = _t103;
            						_t274 =  *0x40b074;
            						if( *0x40b074 <= 0) {
            							_t303 =  *0x40b0c0;
            							_t424 = _t303;
            							E004035DB(_t231, _t274, _t377, "can\'t open %s", _t303, _t438, _t441);
            						}
            						_t232 = 0x64;
            						E0040371E(0x64, _t303, _t424);
            						 *0x40b0c0 = _t303;
            					}
            					_t306 =  *((intOrPtr*)((_t303 << 3) + _a24));
            					if(_t306 != 0) {
            						_t376 =  *((intOrPtr*)((_t306 << 3) + _a24));
            						E00403841( *0x40b0d2 & 0xffff, _t376, _t424, _t441);
            						_v24 = _t376;
            					}
            					if(_v24 != 0 && _v24 + 0x1c0 != 0) {
            						_v40 = _v24 + 0x1c0;
            					}
            					if(_v40 != 0) {
            						 *0x40b048 =  *0x40b048 + 1;
            					}
            					_t307 = __imp___errno;
            					 *_t307();
            					 *_t307 = 0;
            					if(( *0x40b0d0 & 0x0000ffff) == 0) {
            						L55:
            						_t291 = _v40;
            						if(_v40 == 0) {
            							E004035DB(_t231, _t291, _t377, "no destination", _t424, _t438, _t441);
            						}
            						_t310 =  *((intOrPtr*)((_t307 << 3) + _a24));
            						_t292 = _t310;
            						if(_t310 == 0) {
            							E004035DB(_t231, _t292, _t377, "no port[s] to connect to", _t424, _t438, _t441);
            						}
            						_t314 =  *((intOrPtr*)((_t310 + 1 << 3) + _a24));
            						if(_t314 != 0) {
            							 *0x40802c = 0;
            						}
            						_v44 = _v42 & 0x0000ffff;
            						while(1) {
            							_t317 =  *((_t314 << 3) + _a24);
            							if(_t317 == 0) {
            								break;
            							}
            							_v74 = 0;
            							_v46 = _v74 & 0x0000ffff;
            							_t320 =  *((intOrPtr*)((_t317 << 3) + _a24));
            							L004074F0();
            							_t377 = _t320;
            							__eflags = _t377;
            							if(_t377 != 0) {
            								 *_t377 = 0;
            								_t377 = _t377 + 1;
            								_v46 = E00403BC0(0, _t377);
            								__eflags = _v46;
            								if(__eflags == 0) {
            									_t424 = _t377;
            									E004035DB(_t232, __eflags, _t377, "invalid port %s", _t377, _t439, _t441);
            								}
            							}
            							_t314 =  *((intOrPtr*)((_t320 << 3) + _a24));
            							_t385 = _t314;
            							_v74 = E00403BC0(0, _t314);
            							__eflags = _v74;
            							if(_v74 == 0) {
            								_t335 = (_t314 << 3) + _a24;
            								__eflags = _t335;
            								_t314 =  *_t335;
            								_t424 = _t314;
            								_t385 = "invalid port %s";
            								E004035DB(_t232, _t335, _t377, "invalid port %s", _t314, _t439, _t441);
            							}
            							__eflags = (_v46 & 0x0000ffff) - _v74;
            							if((_v46 & 0x0000ffff) <= _v74) {
            								_v48 = _v74 & 0x0000ffff;
            							} else {
            								 *0x40802c = 0;
            								_v48 = _v46 & 0x0000ffff;
            								__eflags =  *0x40b0d6 & 0x0000ffff;
            								if(( *0x40b0d6 & 0x0000ffff) != 0) {
            									_t232 = _v46 & 0x0000ffff;
            									r8d = _v46 & 0x0000ffff;
            									E00403E4E(_v74 & 0x0000ffff, _v56, _v56);
            									_t314 = _v56;
            									_t385 = _t314;
            									_v48 = E00403DCA(_t266, _t314, _t314);
            								}
            							}
            							while(1) {
            								__eflags = (_v74 & 0x0000ffff) - _v48;
            								if((_v74 & 0x0000ffff) > _v48) {
            									break;
            								}
            								__eflags = _v42;
            								if(_v42 == 0) {
            									_t155 =  *0x40b0d6 & 0x0000ffff;
            									__eflags = _t155;
            									if(_t155 != 0) {
            										L004074C0();
            										_v44 = _t155;
            										__eflags = _v44 - 0x1fff;
            										if(_v44 <= 0x1fff) {
            											_t70 =  &_v44;
            											 *_t70 = _v44 + 0x2000;
            											__eflags =  *_t70;
            										}
            									}
            								}
            								_t232 = 0;
            								_v48 = E00403BC0(_v48 & 0x0000ffff, _t385);
            								_t323 = _v40;
            								r9d = _v44 & 0x0000ffff;
            								_t439 = _v32;
            								 *0x408010 = E00403EC7(_v48 & 0x0000ffff, _v40, _t424, _v32, _t441);
            								_t127 =  *0x408010; // 0xffffffff
            								__eflags = _t127;
            								if(_t127 > 0) {
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) != 0) {
            										__eflags =  *0x40b0d8 & 0x0000ffff;
            										if(( *0x40b0d8 & 0x0000ffff) != 0) {
            											_t153 =  *0x408010; // 0xffffffff
            											_t424 = _v40;
            											_t232 = _t153;
            											 *0x408010 = E00404773(_t153, _t323, _v40);
            										}
            									}
            								}
            								_t128 =  *0x408010; // 0xffffffff
            								__eflags = _t128;
            								if(_t128 <= 0) {
            									_t266 = 1;
            									__eflags =  *0x40802c & 0x0000ffff;
            									if(( *0x40802c & 0x0000ffff) != 0) {
            										L88:
            										_t326 = _v24 + 0x100;
            										__eflags = _t326;
            										_t327 = _v24;
            										_a32 =  *0x40b0b8;
            										r9d = _v48 & 0x0000ffff;
            										_t439 = _t326;
            										_t424 = _v24;
            										E004034EB("%s [%s] %d (%s)", _v24, _t326, _t441);
            										goto L89;
            									}
            									__eflags = ( *0x40b0da & 0x0000ffff) - 1;
            									if(( *0x40b0da & 0x0000ffff) > 1) {
            										goto L88;
            									}
            									_t327 = __imp__WSAGetLastError;
            									_t143 =  *__imp__WSAGetLastError();
            									__eflags = _t143 - 0x274d;
            									if(_t143 == 0x274d) {
            										goto L89;
            									}
            									goto L88;
            								} else {
            									_t266 = 0;
            									_a32 =  *0x40b0b8;
            									r9d = _v48 & 0x0000ffff;
            									_t439 = _v24 + 0x100;
            									_t424 = _v24;
            									E004034EB("%s [%s] %d (%s) open", _v24, _v24 + 0x100, _t441);
            									_t327 =  *0x40b0e8;
            									__eflags = _t327;
            									if(_t327 != 0) {
            										E004026FD(_t232, _t327, _t327, _t439);
            									}
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) == 0) {
            										_t327 =  *0x40b0e8;
            										__eflags = _t327;
            										if(_t327 == 0) {
            											_t146 =  *0x408010; // 0xffffffff
            											_t232 = _t146;
            											_t266 = E00404B7C(_t146, _t264, _t269, _t439, _t441);
            										}
            									}
            									L89:
            									_t328 = __imp__shutdown;
            									 *_t328();
            									_t385 = _t328;
            									_t314 = __imp__closesocket;
            									 *_t314();
            									__eflags =  *0x40b0cc;
            									if( *0x40b0cc != 0) {
            										_t232 =  *0x40b0cc;
            										_t314 = __imp___sleep;
            										 *_t314();
            									}
            									__eflags =  *0x40b0d6 & 0x0000ffff;
            									if(( *0x40b0d6 & 0x0000ffff) == 0) {
            										_t89 =  &_v48;
            										 *_t89 = _v48 - 1;
            										__eflags =  *_t89;
            									} else {
            										_t314 = _v56;
            										_t385 = _t314;
            										_v48 = E00403DCA(_t266, _t314, _t314);
            									}
            									continue;
            								}
            							}
            							_t157 =  *0x40b048 + 1;
            							__eflags = _t157;
            							 *0x40b048 = _t157;
            						}
            						_t336 = __imp___errno;
            						 *_t336();
            						 *_t336 = 0;
            						if(( *0x40b0da & 0x0000ffff) > 1) {
            							r8d =  *0x40b080;
            							E004034EB("sent %d, rcvd %d", _t424, _t439, _t441);
            						}
            						 *__imp__WSACleanup();
            						if(_v60 == 1) {
            							goto L3;
            						} else {
            							_t297 =  *0x40802c & 0x0000ffff;
            							if(( *0x40802c & 0x0000ffff) != 0) {
            								L00407428();
            							}
            							L00407428();
            							 *0x40b0da = 1;
            							E004034EB("[v1.12 NT http://eternallybored.org/misc/netcat/]\nconnect to somewhere:\tnc [-options] hostname port[s] [ports] ... \nlisten for inbound:\tnc -l -p port [options] [hostname] [port]\noptions:", _t424, _t439, _t441);
            							E004034EB("\t-d\t\tdetach from console, background mode\n", _t424, _t439, _t441);
            							E004034EB("\t-e prog\t\tinbound program to exec [dangerous!!]", _t424, _t439, _t441);
            							E004034EB("\t-g gateway\tsource-routing hop point[s], up to 8\n\t-G num\t\tsource-routing pointer: 4, 8, 12, ...\n\t-h\t\tthis cruft\n\t-i secs\t\tdelay interval for lines sent, ports scanned\n\t-l\t\tlisten mode, for inbound connects\n\t-L\t\tlisten harder, re-listen on socket close\n\t-n\t\tnumeric-only IP addresses, no DNS\n\t-o file\t\thex dump of traffic\n\t-p port\t\tlocal port number\n\t-r\t\trandomize local and remote ports\n\t-s addr\t\tlocal source address", _t424, _t439, _t441);
            							E004034EB("\t-t\t\tanswer TELNET negotiation", _t424, _t439, _t441);
            							E004034EB("\t-c\t\tsend CRLF instead of just LF\n\t-u\t\tUDP mode\n\t-v\t\tverbose [use twice to be more verbose]\n\t-w secs\t\ttimeout for connects and final net reads\n\t-z\t\tzero-I/O mode [used for scanning]", _t424, _t439, _t441);
            							E004035DB(0, _t297, _t377, "port numbers can be individual or ranges: m-n [inclusive]", _t424, _t439, _t441);
            							return 0;
            						}
            					} else {
            						_v48 = 0;
            						_t340 =  *((intOrPtr*)((_t307 << 3) + _a24));
            						if(_t340 != 0) {
            							_t366 =  *((intOrPtr*)((_t340 << 3) + _a24));
            							_v48 = E00403BC0(0, _t366);
            							if(_v48 == 0) {
            								_t424 =  *((intOrPtr*)((_t366 << 3) + _a24));
            								E004035DB(_t231, (_t366 << 3) + _a24, _t377, "invalid port %s",  *((intOrPtr*)((_t366 << 3) + _a24)), _t438, _t441);
            							}
            						}
            						_t307 = _v40;
            						r9d = _v42 & 0x0000ffff;
            						_t439 = _v32;
            						 *0x408010 = E0040425F(_v48 & 0x0000ffff, _t307, _v32, _t441);
            						_t186 =  *0x408010; // 0xffffffff
            						if(_t186 <= 0) {
            							L54:
            							E004035DB(_t231, _t290, _t377, "no connection", _t424, _t439, _t441);
            							goto L55;
            						} else {
            							_t341 =  *0x40b0e8;
            							if( *0x40b0e8 != 0) {
            								E004026FD(_t231, _t341, _t341, _t439);
            							}
            							_t307 =  *0x40b0e8;
            							if(_t307 == 0) {
            								_t206 =  *0x408010; // 0xffffffff
            								_t265 = E00404B7C(_t206, _t264, _t269, _t439, _t441);
            							}
            							if(( *0x40b0da & 0x0000ffff) > 1) {
            								r8d =  *0x40b080;
            								E004034EB(" sent %d, rcvd %d", _t424, _t439, _t441);
            							}
            							_t290 = _v60 - 1;
            							if(_v60 == 1) {
            								L3:
            								__eflags = _a16 - 1;
            								if(__eflags == 0) {
            									_t342 = _a24;
            									E0040371E(0x400, _t342, _t424);
            									_a24 = _t342;
            									_t343 = _a24;
            									 *_t343 =  *_t342;
            									E0040371E(0x2000, _t343, _t424);
            									_t379 = _t343;
            									 *((long long*)(_a24 + 8)) = _t379;
            									_t346 = __imp____iob_func;
            									 *_t346();
            									_t7 = _t346 + 0x60; // 0x60
            									_t441 = _t7;
            									r8d = 0xa;
            									L004074E8(); // executed
            									_t192 =  *__imp____iob_func();
            									L00407490();
            									r8d = 0x2000;
            									_t429 = _t379;
            									L00407368(); // executed
            									 *0x40b07c = _t192;
            									__eflags =  *0x40b07c;
            									if(__eflags == 0) {
            										E004035DB(0, __eflags, _t379, "wrong", _t429, _t439, _t441);
            									}
            									_t267 = E0040377B( *0x40b07c, _t379);
            									__eflags = _t267;
            									if(_t267 != 0) {
            										_t240 =  *0x40b07c - _t267;
            										__eflags = _t240;
            										 *0x40b07c = _t240;
            									}
            									__eflags =  *0x40b07c;
            									if( *0x40b07c != 0) {
            										L004073F8();
            									}
            									L004074F0();
            									_t380 =  *((intOrPtr*)(_a24 + 8));
            									__eflags = _t380;
            									if(_t380 != 0) {
            										 *_t380 = 0;
            									}
            									L004074F0();
            									_t381 =  *((intOrPtr*)(_a24 + 8));
            									__eflags = _t381;
            									if(_t381 != 0) {
            										 *_t381 = 0;
            									}
            									_t377 =  *((intOrPtr*)(_a24 + 8)) + 1;
            									_t268 = 2;
            									while(1) {
            										__eflags =  *_t377 & 0x000000ff;
            										if(__eflags == 0) {
            											break;
            										}
            										__eflags = ( *_t377 & 0x000000ff) - 0x20;
            										if(( *_t377 & 0x000000ff) != 0x20) {
            											_t12 = _t377 - 1; // -2
            											__eflags =  *_t12 & 0x000000ff;
            											if(( *_t12 & 0x000000ff) == 0) {
            												 *((_t268 << 3) + _a24) = _t377;
            												_t268 = _t268 + 1;
            												__eflags = _t268;
            											}
            										} else {
            											 *_t377 = 0;
            										}
            										_t377 = _t377 + 1;
            										__eflags = _t377;
            									}
            									_a16 = _t268;
            								}
            								continue;
            							} else {
            								_t231 = _t265;
            								L00407428();
            								goto L54;
            							}
            						}
            					}
            				}
            				_t15 = _t431 - 0x47; // -71
            				__eflags = _t15 - 0x33;
            				if(__eflags > 0) {
            					_t299 = __imp___errno;
            					 *_t299();
            					 *_t299 = 0;
            					E004035DB(_t231, __eflags, _t377, "nc -h for help", _t424, "ade:g:G:hi:lLno:p:rs:tcuvw:z", _t441);
            					goto L25;
            				}
            				_t424 =  *((intOrPtr*)(0x409b50 + _t298 * 4));
            				goto __rax;
            			}

























































            0x00405598
            0x004055a2
            0x004055a9
            0x004058bb
            0x004058bb
            0x004058bb
            0x004058bf
            0x004058c6
            0x004058c9
            0x004058d1
            0x004058d6
            0x00000000
            0x00000000
            0x004058e6
            0x004058ed
            0x004058f4
            0x004058f9
            0x004058fe
            0x00405903
            0x00405903
            0x00405907
            0x00405911
            0x00405913
            0x00405918
            0x0040591d
            0x00405926
            0x00405926
            0x00405930
            0x0040593a
            0x0040593c
            0x00405943
            0x00405951
            0x00405956
            0x00405962
            0x00405964
            0x00405966
            0x0040596d
            0x00405977
            0x00405977
            0x0040597c
            0x00405981
            0x00405986
            0x00405986
            0x0040599d
            0x004059a3
            0x004059bf
            0x004059c5
            0x004059ca
            0x004059ca
            0x004059d3
            0x004059ee
            0x004059ee
            0x004059f7
            0x00405a02
            0x00405a02
            0x00405a08
            0x00405a0f
            0x00405a11
            0x00405a21
            0x00405b3e
            0x00405b3e
            0x00405b43
            0x00405b4c
            0x00405b4c
            0x00405b61
            0x00405b64
            0x00405b67
            0x00405b70
            0x00405b70
            0x00405b89
            0x00405b8f
            0x00405b91
            0x00405b91
            0x00405b9e
            0x00405edb
            0x00405eeb
            0x00405ef1
            0x00000000
            0x00000000
            0x00405ba7
            0x00405bb1
            0x00405bc5
            0x00405bd0
            0x00405bd5
            0x00405bd8
            0x00405bdb
            0x00405bdd
            0x00405be0
            0x00405bf1
            0x00405bf5
            0x00405bfa
            0x00405bfc
            0x00405c06
            0x00405c06
            0x00405bfa
            0x00405c1b
            0x00405c23
            0x00405c2b
            0x00405c2f
            0x00405c34
            0x00405c42
            0x00405c42
            0x00405c46
            0x00405c49
            0x00405c4c
            0x00405c53
            0x00405c53
            0x00405c5c
            0x00405c60
            0x00405cb3
            0x00405c62
            0x00405c62
            0x00405c6f
            0x00405c7a
            0x00405c7d
            0x00405c83
            0x00405c8f
            0x00405c95
            0x00405c9a
            0x00405c9e
            0x00405ca6
            0x00405ca6
            0x00405c7d
            0x00405ebe
            0x00405ec2
            0x00405ec6
            0x00000000
            0x00000000
            0x00405cbc
            0x00405cc1
            0x00405cc3
            0x00405cca
            0x00405ccd
            0x00405ccf
            0x00405cd4
            0x00405cd8
            0x00405cde
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405cde
            0x00405ccd
            0x00405cec
            0x00405cf6
            0x00405d06
            0x00405d0a
            0x00405d0d
            0x00405d18
            0x00405d1e
            0x00405d24
            0x00405d26
            0x00405d2f
            0x00405d32
            0x00405d3b
            0x00405d3e
            0x00405d40
            0x00405d46
            0x00405d4a
            0x00405d51
            0x00405d51
            0x00405d3e
            0x00405d32
            0x00405d57
            0x00405d5d
            0x00405d5f
            0x00405dec
            0x00405df8
            0x00405dfb
            0x00405e1a
            0x00405e2c
            0x00405e2c
            0x00405e35
            0x00405e39
            0x00405e3e
            0x00405e41
            0x00405e44
            0x00405e4e
            0x00000000
            0x00405e4e
            0x00405e04
            0x00405e08
            0x00000000
            0x00000000
            0x00405e0a
            0x00405e11
            0x00405e13
            0x00405e18
            0x00000000
            0x00000000
            0x00000000
            0x00405d65
            0x00405d65
            0x00405d89
            0x00405d8e
            0x00405d91
            0x00405d94
            0x00405d9e
            0x00405da3
            0x00405daa
            0x00405dad
            0x00405dba
            0x00405dba
            0x00405dc6
            0x00405dc9
            0x00405dcf
            0x00405dd6
            0x00405dd9
            0x00405ddb
            0x00405de1
            0x00405de8
            0x00405de8
            0x00405dd9
            0x00405e53
            0x00405e63
            0x00405e6a
            0x00405e74
            0x00405e77
            0x00405e7e
            0x00405e86
            0x00405e88
            0x00405e90
            0x00405e92
            0x00405e99
            0x00405e99
            0x00405ea2
            0x00405ea5
            0x00405eb9
            0x00405eb9
            0x00405eb9
            0x00405ea7
            0x00405ea7
            0x00405eab
            0x00405eb3
            0x00405eb3
            0x00000000
            0x00405ea5
            0x00405d5f
            0x00405ed2
            0x00405ed2
            0x00405ed5
            0x00405ed5
            0x00405ef7
            0x00405efe
            0x00405f00
            0x00405f11
            0x00405f1f
            0x00405f2b
            0x00405f2b
            0x00405f37
            0x00405f3d
            0x00000000
            0x00405f43
            0x00405f4a
            0x00405f4d
            0x00405f51
            0x00405f51
            0x00405f5b
            0x00405f68
            0x00405f78
            0x00405f84
            0x00405f90
            0x00405f9c
            0x00405fa8
            0x00405fb4
            0x00405fc0
            0x00405fcb
            0x00405fcb
            0x00405a27
            0x00405a27
            0x00405a3d
            0x00405a43
            0x00405a55
            0x00405a65
            0x00405a6e
            0x00405a83
            0x00405a8d
            0x00405a8d
            0x00405a6e
            0x00405a9e
            0x00405aa2
            0x00405aa5
            0x00405ab0
            0x00405ab6
            0x00405abe
            0x00405b32
            0x00405b39
            0x00000000
            0x00405ac0
            0x00405ac0
            0x00405aca
            0x00405ad7
            0x00405ad7
            0x00405adc
            0x00405ae6
            0x00405ae8
            0x00405af5
            0x00405af5
            0x00405b02
            0x00405b10
            0x00405b1c
            0x00405b1c
            0x00405b21
            0x00405b25
            0x0040539b
            0x0040539b
            0x0040539f
            0x004053a5
            0x004053b1
            0x004053b6
            0x004053ba
            0x004053be
            0x004053c6
            0x004053cb
            0x004053d6
            0x004053d9
            0x004053e0
            0x004053e2
            0x004053ed
            0x004053f0
            0x004053fe
            0x0040540a
            0x00405413
            0x00405418
            0x0040541e
            0x00405426
            0x0040542b
            0x00405437
            0x00405439
            0x00405442
            0x00405442
            0x00405457
            0x00405459
            0x0040545b
            0x00405467
            0x00405467
            0x0040546b
            0x0040546b
            0x00405477
            0x00405479
            0x00405497
            0x00405497
            0x004054af
            0x004054b4
            0x004054b7
            0x004054ba
            0x004054bc
            0x004054bc
            0x004054d2
            0x004054d7
            0x004054da
            0x004054dd
            0x004054df
            0x004054df
            0x004054ed
            0x004054f1
            0x00405524
            0x00405527
            0x00405529
            0x00000000
            0x00000000
            0x004054fb
            0x004054fd
            0x00405504
            0x0040550b
            0x0040550d
            0x0040551a
            0x0040551d
            0x0040551d
            0x0040551d
            0x004054ff
            0x004054ff
            0x004054ff
            0x00405520
            0x00405520
            0x00405520
            0x0040552b
            0x0040552b
            0x00000000
            0x00405b2b
            0x00405b2b
            0x00405b2d
            0x00000000
            0x00405b2d
            0x00405b25
            0x00405abe
            0x00405a21
            0x00405533
            0x00405536
            0x00405539
            0x0040589a
            0x004058a1
            0x004058a3
            0x004058b0
            0x00000000
            0x004058b0
            0x00405553
            0x00405561

            APIs
            Strings
            • ade:g:G:hi:lLno:p:rs:tcuvw:z, xrefs: 004058BF
            • no destination, xrefs: 00405B45
            • -ddetach from console, background mode, xrefs: 00405F7D
            • port numbers can be individual or ranges: m-n [inclusive], xrefs: 00405FB9
            • [v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:, xrefs: 00405F71
            • -g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum, xrefs: 00405F95
            • sent %d, rcvd %d, xrefs: 00405B15
            • sent %d, rcvd %d, xrefs: 00405F24
            • -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning], xrefs: 00405FAD
            • no port[s] to connect to, xrefs: 00405B69
            • no connection, xrefs: 00405B32
            • invalid port %s, xrefs: 00405A86
            • -e proginbound program to exec [dangerous!!], xrefs: 00405F89
            • -tanswer TELNET negotiation, xrefs: 00405FA1
            • can't open %s, xrefs: 00405970
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: _close_itoa_open
            • String ID: -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning]$-ddetach from console, background mode$-e proginbound program to exec [dangerous!!]$-g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum$-tanswer TELNET negotiation$ sent %d, rcvd %d$[v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:$ade:g:G:hi:lLno:p:rs:tcuvw:z$can't open %s$invalid port %s$no connection$no destination$no port[s] to connect to$port numbers can be individual or ranges: m-n [inclusive]$sent %d, rcvd %d
            • API String ID: 357769857-3526283814
            • Opcode ID: bd0d8fd678dcd62ff55a949ca998d91e37a2f52ad729474c2222c5deef51e314
            • Instruction ID: 2ced718abb88147c80181c75dd8c69b75c195ba48d33959a02bd4597aa9895b3
            • Opcode Fuzzy Hash: bd0d8fd678dcd62ff55a949ca998d91e37a2f52ad729474c2222c5deef51e314
            • Instruction Fuzzy Hash: E5A13EA1B00A1486EB10DF26E89136A37A0FB44798F44442AEB5DB77E1EF3CD945C79C
            Uniqueness

            Uniqueness Score: -1.00%

            C-Code - Quality: 18%
            			E00405809(void* __rsi, signed int _a16, long long _a24, long long _a32) {
            				void* _v24;
            				signed int _v32;
            				void* _v40;
            				signed int _v42;
            				signed short _v44;
            				signed int _v46;
            				signed int _v48;
            				signed long long _v56;
            				intOrPtr _v60;
            				signed int _v74;
            				signed int _t102;
            				signed int _t126;
            				signed int _t127;
            				void* _t142;
            				signed int _t145;
            				signed int _t152;
            				signed int _t154;
            				signed int _t156;
            				signed int _t185;
            				signed int _t191;
            				signed int _t205;
            				signed int _t239;
            				void* _t263;
            				signed int _t264;
            				signed int _t265;
            				signed int _t266;
            				signed int _t267;
            				void* _t268;
            				signed long long _t297;
            				signed int* _t298;
            				signed long long _t302;
            				signed long long _t305;
            				signed long long _t306;
            				intOrPtr _t309;
            				signed long long _t313;
            				signed long long _t316;
            				signed long long _t319;
            				signed int _t325;
            				signed long long _t327;
            				signed int _t334;
            				signed int* _t335;
            				signed long long _t339;
            				intOrPtr* _t341;
            				long long _t342;
            				long long* _t345;
            				signed long long _t365;
            				long long _t375;
            				signed long long _t376;
            				long long _t378;
            				char* _t379;
            				char* _t380;
            				long long _t428;
            				void* _t430;
            				void* _t440;
            
            				_t430 = __rsi;
            				 *0x40b0da = ( *0x40b0da & 0x0000ffff) + 1;
            				while(1) {
            					L25:
            					_t297 = _a24;
            					_t437 = "ade:g:G:hi:lLno:p:rs:tcuvw:z";
            					_t423 = _t297;
            					_t230 = _a16;
            					_t264 = E00402422(_a16, _t297, "ade:g:G:hi:lLno:p:rs:tcuvw:z");
            					if(_t264 != 0xffffffff) {
            						break;
            					}
            					if(( *0x40b0d6 & 0x0000ffff) != 0) {
            						L004073A0();
            						L004074F8();
            						_t231 = 0x10000;
            						E0040371E(0x10000, _t297, _t423);
            						_v56 = _t297;
            					}
            					_t302 =  *0x40b0e8;
            					if(_t302 != 0) {
            						_t231 = 0;
            						L00407358();
            						 *0x40b0d4 = 0;
            						 *0x40b074 = 0;
            					}
            					_t102 =  *0x40b0d4 & 0x0000ffff;
            					if(_t102 != 0) {
            						_t302 =  *0x40b0c0;
            						r8d = 0x1b4;
            						L00407370();
            						 *0x40b074 = _t102;
            						_t273 =  *0x40b074;
            						if( *0x40b074 <= 0) {
            							_t302 =  *0x40b0c0;
            							_t423 = _t302;
            							E004035DB(_t230, _t273, _t376, "can\'t open %s", _t302, _t437, _t440);
            						}
            						_t231 = 0x64;
            						E0040371E(0x64, _t302, _t423);
            						 *0x40b0c0 = _t302;
            					}
            					_t305 =  *((intOrPtr*)((_t302 << 3) + _a24));
            					if(_t305 != 0) {
            						_t375 =  *((intOrPtr*)((_t305 << 3) + _a24));
            						E00403841( *0x40b0d2 & 0xffff, _t375, _t423, _t440);
            						_v24 = _t375;
            					}
            					if(_v24 != 0 && _v24 + 0x1c0 != 0) {
            						_v40 = _v24 + 0x1c0;
            					}
            					if(_v40 != 0) {
            						 *0x40b048 =  *0x40b048 + 1;
            					}
            					_t306 = __imp___errno;
            					 *_t306();
            					 *_t306 = 0;
            					if(( *0x40b0d0 & 0x0000ffff) == 0) {
            						L55:
            						_t290 = _v40;
            						if(_v40 == 0) {
            							E004035DB(_t230, _t290, _t376, "no destination", _t423, _t437, _t440);
            						}
            						_t309 =  *((intOrPtr*)((_t306 << 3) + _a24));
            						_t291 = _t309;
            						if(_t309 == 0) {
            							E004035DB(_t230, _t291, _t376, "no port[s] to connect to", _t423, _t437, _t440);
            						}
            						_t313 =  *((intOrPtr*)((_t309 + 1 << 3) + _a24));
            						if(_t313 != 0) {
            							 *0x40802c = 0;
            						}
            						_v44 = _v42 & 0x0000ffff;
            						while(1) {
            							_t316 =  *((_t313 << 3) + _a24);
            							if(_t316 == 0) {
            								break;
            							}
            							_v74 = 0;
            							_v46 = _v74 & 0x0000ffff;
            							_t319 =  *((intOrPtr*)((_t316 << 3) + _a24));
            							L004074F0();
            							_t376 = _t319;
            							__eflags = _t376;
            							if(_t376 != 0) {
            								 *_t376 = 0;
            								_t376 = _t376 + 1;
            								_v46 = E00403BC0(0, _t376);
            								__eflags = _v46;
            								if(__eflags == 0) {
            									_t423 = _t376;
            									E004035DB(_t231, __eflags, _t376, "invalid port %s", _t376, _t438, _t440);
            								}
            							}
            							_t313 =  *((intOrPtr*)((_t319 << 3) + _a24));
            							_t384 = _t313;
            							_v74 = E00403BC0(0, _t313);
            							__eflags = _v74;
            							if(_v74 == 0) {
            								_t334 = (_t313 << 3) + _a24;
            								__eflags = _t334;
            								_t313 =  *_t334;
            								_t423 = _t313;
            								_t384 = "invalid port %s";
            								E004035DB(_t231, _t334, _t376, "invalid port %s", _t313, _t438, _t440);
            							}
            							__eflags = (_v46 & 0x0000ffff) - _v74;
            							if((_v46 & 0x0000ffff) <= _v74) {
            								_v48 = _v74 & 0x0000ffff;
            							} else {
            								 *0x40802c = 0;
            								_v48 = _v46 & 0x0000ffff;
            								__eflags =  *0x40b0d6 & 0x0000ffff;
            								if(( *0x40b0d6 & 0x0000ffff) != 0) {
            									_t231 = _v46 & 0x0000ffff;
            									r8d = _v46 & 0x0000ffff;
            									E00403E4E(_v74 & 0x0000ffff, _v56, _v56);
            									_t313 = _v56;
            									_t384 = _t313;
            									_v48 = E00403DCA(_t265, _t313, _t313);
            								}
            							}
            							while(1) {
            								__eflags = (_v74 & 0x0000ffff) - _v48;
            								if((_v74 & 0x0000ffff) > _v48) {
            									break;
            								}
            								__eflags = _v42;
            								if(_v42 == 0) {
            									_t154 =  *0x40b0d6 & 0x0000ffff;
            									__eflags = _t154;
            									if(_t154 != 0) {
            										L004074C0();
            										_v44 = _t154;
            										__eflags = _v44 - 0x1fff;
            										if(_v44 <= 0x1fff) {
            											_t69 =  &_v44;
            											 *_t69 = _v44 + 0x2000;
            											__eflags =  *_t69;
            										}
            									}
            								}
            								_t231 = 0;
            								_v48 = E00403BC0(_v48 & 0x0000ffff, _t384);
            								_t322 = _v40;
            								r9d = _v44 & 0x0000ffff;
            								_t438 = _v32;
            								 *0x408010 = E00403EC7(_v48 & 0x0000ffff, _v40, _t423, _v32, _t440);
            								_t126 =  *0x408010; // 0xffffffff
            								__eflags = _t126;
            								if(_t126 > 0) {
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) != 0) {
            										__eflags =  *0x40b0d8 & 0x0000ffff;
            										if(( *0x40b0d8 & 0x0000ffff) != 0) {
            											_t152 =  *0x408010; // 0xffffffff
            											_t423 = _v40;
            											_t231 = _t152;
            											 *0x408010 = E00404773(_t152, _t322, _v40);
            										}
            									}
            								}
            								_t127 =  *0x408010; // 0xffffffff
            								__eflags = _t127;
            								if(_t127 <= 0) {
            									_t265 = 1;
            									__eflags =  *0x40802c & 0x0000ffff;
            									if(( *0x40802c & 0x0000ffff) != 0) {
            										L88:
            										_t325 = _v24 + 0x100;
            										__eflags = _t325;
            										_t326 = _v24;
            										_a32 =  *0x40b0b8;
            										r9d = _v48 & 0x0000ffff;
            										_t438 = _t325;
            										_t423 = _v24;
            										E004034EB("%s [%s] %d (%s)", _v24, _t325, _t440);
            										goto L89;
            									}
            									__eflags = ( *0x40b0da & 0x0000ffff) - 1;
            									if(( *0x40b0da & 0x0000ffff) > 1) {
            										goto L88;
            									}
            									_t326 = __imp__WSAGetLastError;
            									_t142 =  *__imp__WSAGetLastError();
            									__eflags = _t142 - 0x274d;
            									if(_t142 == 0x274d) {
            										goto L89;
            									}
            									goto L88;
            								} else {
            									_t265 = 0;
            									_a32 =  *0x40b0b8;
            									r9d = _v48 & 0x0000ffff;
            									_t438 = _v24 + 0x100;
            									_t423 = _v24;
            									E004034EB("%s [%s] %d (%s) open", _v24, _v24 + 0x100, _t440);
            									_t326 =  *0x40b0e8;
            									__eflags = _t326;
            									if(_t326 != 0) {
            										E004026FD(_t231, _t326, _t326, _t438);
            									}
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) == 0) {
            										_t326 =  *0x40b0e8;
            										__eflags = _t326;
            										if(_t326 == 0) {
            											_t145 =  *0x408010; // 0xffffffff
            											_t231 = _t145;
            											_t265 = E00404B7C(_t145, _t263, _t268, _t438, _t440);
            										}
            									}
            									L89:
            									_t327 = __imp__shutdown;
            									 *_t327();
            									_t384 = _t327;
            									_t313 = __imp__closesocket;
            									 *_t313();
            									__eflags =  *0x40b0cc;
            									if( *0x40b0cc != 0) {
            										_t231 =  *0x40b0cc;
            										_t313 = __imp___sleep;
            										 *_t313();
            									}
            									__eflags =  *0x40b0d6 & 0x0000ffff;
            									if(( *0x40b0d6 & 0x0000ffff) == 0) {
            										_t88 =  &_v48;
            										 *_t88 = _v48 - 1;
            										__eflags =  *_t88;
            									} else {
            										_t313 = _v56;
            										_t384 = _t313;
            										_v48 = E00403DCA(_t265, _t313, _t313);
            									}
            									continue;
            								}
            							}
            							_t156 =  *0x40b048 + 1;
            							__eflags = _t156;
            							 *0x40b048 = _t156;
            						}
            						_t335 = __imp___errno;
            						 *_t335();
            						 *_t335 = 0;
            						if(( *0x40b0da & 0x0000ffff) > 1) {
            							r8d =  *0x40b080;
            							E004034EB("sent %d, rcvd %d", _t423, _t438, _t440);
            						}
            						 *__imp__WSACleanup();
            						if(_v60 == 1) {
            							goto L3;
            						} else {
            							_t296 =  *0x40802c & 0x0000ffff;
            							if(( *0x40802c & 0x0000ffff) != 0) {
            								L00407428();
            							}
            							L00407428();
            							 *0x40b0da = 1;
            							E004034EB("[v1.12 NT http://eternallybored.org/misc/netcat/]\nconnect to somewhere:\tnc [-options] hostname port[s] [ports] ... \nlisten for inbound:\tnc -l -p port [options] [hostname] [port]\noptions:", _t423, _t438, _t440);
            							E004034EB("\t-d\t\tdetach from console, background mode\n", _t423, _t438, _t440);
            							E004034EB("\t-e prog\t\tinbound program to exec [dangerous!!]", _t423, _t438, _t440);
            							E004034EB("\t-g gateway\tsource-routing hop point[s], up to 8\n\t-G num\t\tsource-routing pointer: 4, 8, 12, ...\n\t-h\t\tthis cruft\n\t-i secs\t\tdelay interval for lines sent, ports scanned\n\t-l\t\tlisten mode, for inbound connects\n\t-L\t\tlisten harder, re-listen on socket close\n\t-n\t\tnumeric-only IP addresses, no DNS\n\t-o file\t\thex dump of traffic\n\t-p port\t\tlocal port number\n\t-r\t\trandomize local and remote ports\n\t-s addr\t\tlocal source address", _t423, _t438, _t440);
            							E004034EB("\t-t\t\tanswer TELNET negotiation", _t423, _t438, _t440);
            							E004034EB("\t-c\t\tsend CRLF instead of just LF\n\t-u\t\tUDP mode\n\t-v\t\tverbose [use twice to be more verbose]\n\t-w secs\t\ttimeout for connects and final net reads\n\t-z\t\tzero-I/O mode [used for scanning]", _t423, _t438, _t440);
            							E004035DB(0, _t296, _t376, "port numbers can be individual or ranges: m-n [inclusive]", _t423, _t438, _t440);
            							return 0;
            						}
            					} else {
            						_v48 = 0;
            						_t339 =  *((intOrPtr*)((_t306 << 3) + _a24));
            						if(_t339 != 0) {
            							_t365 =  *((intOrPtr*)((_t339 << 3) + _a24));
            							_v48 = E00403BC0(0, _t365);
            							if(_v48 == 0) {
            								_t423 =  *((intOrPtr*)((_t365 << 3) + _a24));
            								E004035DB(_t230, (_t365 << 3) + _a24, _t376, "invalid port %s",  *((intOrPtr*)((_t365 << 3) + _a24)), _t437, _t440);
            							}
            						}
            						_t306 = _v40;
            						r9d = _v42 & 0x0000ffff;
            						_t438 = _v32;
            						 *0x408010 = E0040425F(_v48 & 0x0000ffff, _t306, _v32, _t440);
            						_t185 =  *0x408010; // 0xffffffff
            						if(_t185 <= 0) {
            							L54:
            							E004035DB(_t230, _t289, _t376, "no connection", _t423, _t438, _t440);
            							goto L55;
            						} else {
            							_t340 =  *0x40b0e8;
            							if( *0x40b0e8 != 0) {
            								E004026FD(_t230, _t340, _t340, _t438);
            							}
            							_t306 =  *0x40b0e8;
            							if(_t306 == 0) {
            								_t205 =  *0x408010; // 0xffffffff
            								_t264 = E00404B7C(_t205, _t263, _t268, _t438, _t440);
            							}
            							if(( *0x40b0da & 0x0000ffff) > 1) {
            								r8d =  *0x40b080;
            								E004034EB(" sent %d, rcvd %d", _t423, _t438, _t440);
            							}
            							_t289 = _v60 - 1;
            							if(_v60 == 1) {
            								L3:
            								__eflags = _a16 - 1;
            								if(__eflags == 0) {
            									_t341 = _a24;
            									E0040371E(0x400, _t341, _t423);
            									_a24 = _t341;
            									_t342 = _a24;
            									 *_t342 =  *_t341;
            									E0040371E(0x2000, _t342, _t423);
            									_t378 = _t342;
            									 *((long long*)(_a24 + 8)) = _t378;
            									_t345 = __imp____iob_func;
            									 *_t345();
            									_t6 = _t345 + 0x60; // 0x60
            									_t440 = _t6;
            									r8d = 0xa;
            									L004074E8(); // executed
            									_t191 =  *__imp____iob_func();
            									L00407490();
            									r8d = 0x2000;
            									_t428 = _t378;
            									L00407368(); // executed
            									 *0x40b07c = _t191;
            									__eflags =  *0x40b07c;
            									if(__eflags == 0) {
            										E004035DB(0, __eflags, _t378, "wrong", _t428, _t438, _t440);
            									}
            									_t266 = E0040377B( *0x40b07c, _t378);
            									__eflags = _t266;
            									if(_t266 != 0) {
            										_t239 =  *0x40b07c - _t266;
            										__eflags = _t239;
            										 *0x40b07c = _t239;
            									}
            									__eflags =  *0x40b07c;
            									if( *0x40b07c != 0) {
            										L004073F8();
            									}
            									L004074F0();
            									_t379 =  *((intOrPtr*)(_a24 + 8));
            									__eflags = _t379;
            									if(_t379 != 0) {
            										 *_t379 = 0;
            									}
            									L004074F0();
            									_t380 =  *((intOrPtr*)(_a24 + 8));
            									__eflags = _t380;
            									if(_t380 != 0) {
            										 *_t380 = 0;
            									}
            									_t376 =  *((intOrPtr*)(_a24 + 8)) + 1;
            									_t267 = 2;
            									while(1) {
            										__eflags =  *_t376 & 0x000000ff;
            										if(__eflags == 0) {
            											break;
            										}
            										__eflags = ( *_t376 & 0x000000ff) - 0x20;
            										if(( *_t376 & 0x000000ff) != 0x20) {
            											_t11 = _t376 - 1; // -2
            											__eflags =  *_t11 & 0x000000ff;
            											if(( *_t11 & 0x000000ff) == 0) {
            												 *((_t267 << 3) + _a24) = _t376;
            												_t267 = _t267 + 1;
            												__eflags = _t267;
            											}
            										} else {
            											 *_t376 = 0;
            										}
            										_t376 = _t376 + 1;
            										__eflags = _t376;
            									}
            									_a16 = _t267;
            								}
            								continue;
            							} else {
            								_t230 = _t264;
            								L00407428();
            								goto L54;
            							}
            						}
            					}
            				}
            				_t14 = _t430 - 0x47; // -71
            				__eflags = _t14 - 0x33;
            				if(__eflags > 0) {
            					_t298 = __imp___errno;
            					 *_t298();
            					 *_t298 = 0;
            					E004035DB(_t230, __eflags, _t376, "nc -h for help", _t423, "ade:g:G:hi:lLno:p:rs:tcuvw:z", _t440);
            					goto L25;
            				}
            				_t423 =  *((intOrPtr*)(0x409b50 + _t297 * 4));
            				goto __rax;
            			}

























































            0x00405809
            0x00405813
            0x004058bb
            0x004058bb
            0x004058bb
            0x004058bf
            0x004058c6
            0x004058c9
            0x004058d1
            0x004058d6
            0x00000000
            0x00000000
            0x004058e6
            0x004058ed
            0x004058f4
            0x004058f9
            0x004058fe
            0x00405903
            0x00405903
            0x00405907
            0x00405911
            0x00405913
            0x00405918
            0x0040591d
            0x00405926
            0x00405926
            0x00405930
            0x0040593a
            0x0040593c
            0x00405943
            0x00405951
            0x00405956
            0x00405962
            0x00405964
            0x00405966
            0x0040596d
            0x00405977
            0x00405977
            0x0040597c
            0x00405981
            0x00405986
            0x00405986
            0x0040599d
            0x004059a3
            0x004059bf
            0x004059c5
            0x004059ca
            0x004059ca
            0x004059d3
            0x004059ee
            0x004059ee
            0x004059f7
            0x00405a02
            0x00405a02
            0x00405a08
            0x00405a0f
            0x00405a11
            0x00405a21
            0x00405b3e
            0x00405b3e
            0x00405b43
            0x00405b4c
            0x00405b4c
            0x00405b61
            0x00405b64
            0x00405b67
            0x00405b70
            0x00405b70
            0x00405b89
            0x00405b8f
            0x00405b91
            0x00405b91
            0x00405b9e
            0x00405edb
            0x00405eeb
            0x00405ef1
            0x00000000
            0x00000000
            0x00405ba7
            0x00405bb1
            0x00405bc5
            0x00405bd0
            0x00405bd5
            0x00405bd8
            0x00405bdb
            0x00405bdd
            0x00405be0
            0x00405bf1
            0x00405bf5
            0x00405bfa
            0x00405bfc
            0x00405c06
            0x00405c06
            0x00405bfa
            0x00405c1b
            0x00405c23
            0x00405c2b
            0x00405c2f
            0x00405c34
            0x00405c42
            0x00405c42
            0x00405c46
            0x00405c49
            0x00405c4c
            0x00405c53
            0x00405c53
            0x00405c5c
            0x00405c60
            0x00405cb3
            0x00405c62
            0x00405c62
            0x00405c6f
            0x00405c7a
            0x00405c7d
            0x00405c83
            0x00405c8f
            0x00405c95
            0x00405c9a
            0x00405c9e
            0x00405ca6
            0x00405ca6
            0x00405c7d
            0x00405ebe
            0x00405ec2
            0x00405ec6
            0x00000000
            0x00000000
            0x00405cbc
            0x00405cc1
            0x00405cc3
            0x00405cca
            0x00405ccd
            0x00405ccf
            0x00405cd4
            0x00405cd8
            0x00405cde
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405cde
            0x00405ccd
            0x00405cec
            0x00405cf6
            0x00405d06
            0x00405d0a
            0x00405d0d
            0x00405d18
            0x00405d1e
            0x00405d24
            0x00405d26
            0x00405d2f
            0x00405d32
            0x00405d3b
            0x00405d3e
            0x00405d40
            0x00405d46
            0x00405d4a
            0x00405d51
            0x00405d51
            0x00405d3e
            0x00405d32
            0x00405d57
            0x00405d5d
            0x00405d5f
            0x00405dec
            0x00405df8
            0x00405dfb
            0x00405e1a
            0x00405e2c
            0x00405e2c
            0x00405e35
            0x00405e39
            0x00405e3e
            0x00405e41
            0x00405e44
            0x00405e4e
            0x00000000
            0x00405e4e
            0x00405e04
            0x00405e08
            0x00000000
            0x00000000
            0x00405e0a
            0x00405e11
            0x00405e13
            0x00405e18
            0x00000000
            0x00000000
            0x00000000
            0x00405d65
            0x00405d65
            0x00405d89
            0x00405d8e
            0x00405d91
            0x00405d94
            0x00405d9e
            0x00405da3
            0x00405daa
            0x00405dad
            0x00405dba
            0x00405dba
            0x00405dc6
            0x00405dc9
            0x00405dcf
            0x00405dd6
            0x00405dd9
            0x00405ddb
            0x00405de1
            0x00405de8
            0x00405de8
            0x00405dd9
            0x00405e53
            0x00405e63
            0x00405e6a
            0x00405e74
            0x00405e77
            0x00405e7e
            0x00405e86
            0x00405e88
            0x00405e90
            0x00405e92
            0x00405e99
            0x00405e99
            0x00405ea2
            0x00405ea5
            0x00405eb9
            0x00405eb9
            0x00405eb9
            0x00405ea7
            0x00405ea7
            0x00405eab
            0x00405eb3
            0x00405eb3
            0x00000000
            0x00405ea5
            0x00405d5f
            0x00405ed2
            0x00405ed2
            0x00405ed5
            0x00405ed5
            0x00405ef7
            0x00405efe
            0x00405f00
            0x00405f11
            0x00405f1f
            0x00405f2b
            0x00405f2b
            0x00405f37
            0x00405f3d
            0x00000000
            0x00405f43
            0x00405f4a
            0x00405f4d
            0x00405f51
            0x00405f51
            0x00405f5b
            0x00405f68
            0x00405f78
            0x00405f84
            0x00405f90
            0x00405f9c
            0x00405fa8
            0x00405fb4
            0x00405fc0
            0x00405fcb
            0x00405fcb
            0x00405a27
            0x00405a27
            0x00405a3d
            0x00405a43
            0x00405a55
            0x00405a65
            0x00405a6e
            0x00405a83
            0x00405a8d
            0x00405a8d
            0x00405a6e
            0x00405a9e
            0x00405aa2
            0x00405aa5
            0x00405ab0
            0x00405ab6
            0x00405abe
            0x00405b32
            0x00405b39
            0x00000000
            0x00405ac0
            0x00405ac0
            0x00405aca
            0x00405ad7
            0x00405ad7
            0x00405adc
            0x00405ae6
            0x00405ae8
            0x00405af5
            0x00405af5
            0x00405b02
            0x00405b10
            0x00405b1c
            0x00405b1c
            0x00405b21
            0x00405b25
            0x0040539b
            0x0040539b
            0x0040539f
            0x004053a5
            0x004053b1
            0x004053b6
            0x004053ba
            0x004053be
            0x004053c6
            0x004053cb
            0x004053d6
            0x004053d9
            0x004053e0
            0x004053e2
            0x004053ed
            0x004053f0
            0x004053fe
            0x0040540a
            0x00405413
            0x00405418
            0x0040541e
            0x00405426
            0x0040542b
            0x00405437
            0x00405439
            0x00405442
            0x00405442
            0x00405457
            0x00405459
            0x0040545b
            0x00405467
            0x00405467
            0x0040546b
            0x0040546b
            0x00405477
            0x00405479
            0x00405497
            0x00405497
            0x004054af
            0x004054b4
            0x004054b7
            0x004054ba
            0x004054bc
            0x004054bc
            0x004054d2
            0x004054d7
            0x004054da
            0x004054dd
            0x004054df
            0x004054df
            0x004054ed
            0x004054f1
            0x00405524
            0x00405527
            0x00405529
            0x00000000
            0x00000000
            0x004054fb
            0x004054fd
            0x00405504
            0x0040550b
            0x0040550d
            0x0040551a
            0x0040551d
            0x0040551d
            0x0040551d
            0x004054ff
            0x004054ff
            0x004054ff
            0x00405520
            0x00405520
            0x00405520
            0x0040552b
            0x0040552b
            0x00000000
            0x00405b2b
            0x00405b2b
            0x00405b2d
            0x00000000
            0x00405b2d
            0x00405b25
            0x00405abe
            0x00405a21
            0x00405533
            0x00405536
            0x00405539
            0x0040589a
            0x004058a1
            0x004058a3
            0x004058b0
            0x00000000
            0x004058b0
            0x00405553
            0x00405561

            APIs
            Strings
            • ade:g:G:hi:lLno:p:rs:tcuvw:z, xrefs: 004058BF
            • no destination, xrefs: 00405B45
            • -ddetach from console, background mode, xrefs: 00405F7D
            • port numbers can be individual or ranges: m-n [inclusive], xrefs: 00405FB9
            • [v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:, xrefs: 00405F71
            • -g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum, xrefs: 00405F95
            • sent %d, rcvd %d, xrefs: 00405B15
            • sent %d, rcvd %d, xrefs: 00405F24
            • -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning], xrefs: 00405FAD
            • no port[s] to connect to, xrefs: 00405B69
            • no connection, xrefs: 00405B32
            • invalid port %s, xrefs: 00405A86
            • -e proginbound program to exec [dangerous!!], xrefs: 00405F89
            • -tanswer TELNET negotiation, xrefs: 00405FA1
            • can't open %s, xrefs: 00405970
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: _close_itoa_open
            • String ID: -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning]$-ddetach from console, background mode$-e proginbound program to exec [dangerous!!]$-g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum$-tanswer TELNET negotiation$ sent %d, rcvd %d$[v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:$ade:g:G:hi:lLno:p:rs:tcuvw:z$can't open %s$invalid port %s$no connection$no destination$no port[s] to connect to$port numbers can be individual or ranges: m-n [inclusive]$sent %d, rcvd %d
            • API String ID: 357769857-3526283814
            • Opcode ID: 3f84420f88529ff46f892d28b501fa6cc0e7fbb3f46a61c356c1e814d1db33a9
            • Instruction ID: 5d22e836d81dc684cd68b93662e43c6f5f6a1c427a4cbc473dc87eea764dbb85
            • Opcode Fuzzy Hash: 3f84420f88529ff46f892d28b501fa6cc0e7fbb3f46a61c356c1e814d1db33a9
            • Instruction Fuzzy Hash: 05A13EA1B00A1486EB10DF26E89136A37A0FB44798F44442AEB5DB73E1EF3CD945C79C
            Uniqueness

            Uniqueness Score: -1.00%

            Control-flow Graph

            • Executed
            • Not Executed
            control_flow_graph 2560 405709-40571a 2561 4058bb-4058d6 call 402422 2560->2561 2564 405533-405539 2561->2564 2565 4058dc-4058e6 2561->2565 2568 40589a-4058b5 call 4035db 2564->2568 2569 40553f-40555d 2564->2569 2566 405907-405911 2565->2566 2567 4058e8-405903 call 4073a0 call 4074f8 call 40371e 2565->2567 2571 405930-40593a 2566->2571 2572 405913-405926 _close 2566->2572 2567->2566 2568->2561 2569->2568 2575 40593c-405964 _open 2571->2575 2576 40598d-4059a3 2571->2576 2572->2571 2581 405966-405977 call 4035db 2575->2581 2582 40597c-405986 call 40371e 2575->2582 2577 4059a5-4059ca call 403841 2576->2577 2578 4059ce-4059d3 2576->2578 2577->2578 2587 4059f2-4059f7 2578->2587 2588 4059d5-4059e2 2578->2588 2581->2582 2582->2576 2594 405a08-405a21 2587->2594 2595 4059f9-405a02 2587->2595 2588->2587 2593 4059e4-4059ee 2588->2593 2593->2587 2598 405a27-405a43 2594->2598 2599 405b3e-405b43 2594->2599 2595->2594 2602 405a92-405abe call 40425f 2598->2602 2603 405a45-405a6e call 403bc0 2598->2603 2600 405b51-405b67 2599->2600 2601 405b45-405b4c call 4035db 2599->2601 2607 405b75-405b8f 2600->2607 2608 405b69-405b70 call 4035db 2600->2608 2601->2600 2615 405ac0-405aca 2602->2615 2616 405b32-405b39 call 4035db 2602->2616 2603->2602 2614 405a70-405a8d call 4035db 2603->2614 2612 405b91 2607->2612 2613 405b9a-405ba2 2607->2613 2608->2607 2612->2613 2617 405edb-405ef1 2613->2617 2614->2602 2622 405adc-405ae6 2615->2622 2623 405acc-405ad7 call 4026fd 2615->2623 2616->2599 2618 405ba7-405bdb call 4074f0 2617->2618 2619 405ef7-405f11 2617->2619 2638 405c0b-405c34 call 403bc0 2618->2638 2639 405bdd-405bfa call 403bc0 2618->2639 2636 405f30-405f3d 2619->2636 2637 405f13-405f2b call 4034eb 2619->2637 2626 405af7-405b02 2622->2626 2627 405ae8-405af5 call 404b7c 2622->2627 2623->2622 2631 405b21-405b25 2626->2631 2632 405b04-405b1c call 4034eb 2626->2632 2627->2626 2634 405397-405398 2631->2634 2635 405b2b-405b2d call 407428 2631->2635 2632->2631 2643 40539b-40539f 2634->2643 2635->2616 2652 405f43-405f4d 2636->2652 2653 40539a 2636->2653 2637->2636 2650 405c36-405c53 call 4035db 2638->2650 2651 405c58-405c60 2638->2651 2639->2638 2655 405bfc-405c06 call 4035db 2639->2655 2643->2561 2648 4053a5-4053d9 call 40371e * 2 2643->2648 2680 4053e2-4053fe call 4074e8 2648->2680 2650->2651 2657 405c62-405c7d 2651->2657 2658 405caf-405cb7 2651->2658 2659 405f56-405fcb call 407428 call 4034eb * 6 call 4035db 2652->2659 2660 405f4f-405f51 call 407428 2652->2660 2653->2643 2655->2638 2663 405c83-405caa call 403e4e call 403dca 2657->2663 2664 405ebe-405ec6 2657->2664 2658->2664 2660->2659 2663->2664 2669 405cbc-405cc1 2664->2669 2670 405ecc-405ed5 2664->2670 2674 405cc3-405ccd 2669->2674 2675 405ce6-405d26 call 403bc0 call 403ec7 2669->2675 2670->2617 2674->2675 2679 405ccf-405cde call 4074c0 2674->2679 2696 405d57-405d5f 2675->2696 2697 405d28-405d32 2675->2697 2679->2675 2691 405ce0 2679->2691 2687 405403-405413 call 407490 2680->2687 2703 405418-405439 _read 2687->2703 2691->2675 2701 405d65-405dad call 4034eb 2696->2701 2702 405dec-405dfb 2696->2702 2697->2696 2700 405d34-405d3e 2697->2700 2700->2696 2707 405d40-405d51 call 404773 2700->2707 2721 405dbf-405dc9 2701->2721 2722 405daf-405dba call 4026fd 2701->2722 2705 405e1a-405e4e call 4034eb 2702->2705 2706 405dfd-405e08 2702->2706 2709 405447-40545b call 40377b 2703->2709 2710 40543b-405442 call 4035db 2703->2710 2720 405e53-405e88 2705->2720 2706->2705 2712 405e0a-405e18 2706->2712 2707->2696 2730 405471-405479 2709->2730 2731 40545d-40546b 2709->2731 2710->2709 2712->2705 2712->2720 2743 405e8a-405e92 2720->2743 2744 405e9b-405ea5 2720->2744 2721->2720 2724 405dcf-405dd9 2721->2724 2722->2721 2724->2720 2728 405ddb-405dea call 404b7c 2724->2728 2728->2720 2735 40547b-405497 call 4073f8 2730->2735 2736 40549c-4054ba call 4074f0 2730->2736 2731->2730 2735->2736 2745 4054bc 2736->2745 2746 4054bf-4054dd call 4074f0 2736->2746 2743->2744 2747 405ea7-405eb7 call 403dca 2744->2747 2748 405eb9 2744->2748 2745->2746 2753 4054e2-4054f6 2746->2753 2754 4054df 2746->2754 2747->2664 2748->2664 2755 405524-405529 2753->2755 2754->2753 2756 4054f8-4054fd 2755->2756 2757 40552b-40552e 2755->2757 2758 405504-40550d 2756->2758 2759 4054ff-405502 2756->2759 2757->2561 2760 405520 2758->2760 2761 40550f-40551d 2758->2761 2759->2760 2760->2755 2761->2760
            C-Code - Quality: 18%
            			E00405709(void* __rsi, signed int _a16, long long _a24, long long _a32) {
            				void* _v24;
            				signed int _v32;
            				void* _v40;
            				signed int _v42;
            				signed short _v44;
            				signed int _v46;
            				signed int _v48;
            				signed long long _v56;
            				intOrPtr _v60;
            				signed int _v74;
            				signed int _t102;
            				signed int _t126;
            				signed int _t127;
            				void* _t142;
            				signed int _t145;
            				signed int _t152;
            				signed int _t154;
            				signed int _t156;
            				signed int _t185;
            				signed int _t191;
            				signed int _t205;
            				signed int _t239;
            				void* _t263;
            				signed int _t264;
            				signed int _t265;
            				signed int _t266;
            				signed int _t267;
            				void* _t268;
            				signed long long _t297;
            				signed int* _t298;
            				signed long long _t302;
            				signed long long _t305;
            				signed long long _t306;
            				intOrPtr _t309;
            				signed long long _t313;
            				signed long long _t316;
            				signed long long _t319;
            				signed int _t325;
            				signed long long _t327;
            				signed int _t334;
            				signed int* _t335;
            				signed long long _t339;
            				intOrPtr* _t341;
            				long long _t342;
            				long long* _t345;
            				signed long long _t365;
            				long long _t375;
            				signed long long _t376;
            				long long _t378;
            				char* _t379;
            				char* _t380;
            				long long _t428;
            				void* _t430;
            				void* _t440;
            
            				_t430 = __rsi;
            				 *0x40b0d2 = ( *0x40b0d2 & 0x0000ffff) + 1;
            				while(1) {
            					L25:
            					_t297 = _a24;
            					_t437 = "ade:g:G:hi:lLno:p:rs:tcuvw:z";
            					_t423 = _t297;
            					_t230 = _a16;
            					_t264 = E00402422(_a16, _t297, "ade:g:G:hi:lLno:p:rs:tcuvw:z");
            					if(_t264 != 0xffffffff) {
            						break;
            					}
            					if(( *0x40b0d6 & 0x0000ffff) != 0) {
            						L004073A0();
            						L004074F8();
            						_t231 = 0x10000;
            						E0040371E(0x10000, _t297, _t423);
            						_v56 = _t297;
            					}
            					_t302 =  *0x40b0e8;
            					if(_t302 != 0) {
            						_t231 = 0;
            						L00407358();
            						 *0x40b0d4 = 0;
            						 *0x40b074 = 0;
            					}
            					_t102 =  *0x40b0d4 & 0x0000ffff;
            					if(_t102 != 0) {
            						_t302 =  *0x40b0c0;
            						r8d = 0x1b4;
            						L00407370();
            						 *0x40b074 = _t102;
            						_t273 =  *0x40b074;
            						if( *0x40b074 <= 0) {
            							_t302 =  *0x40b0c0;
            							_t423 = _t302;
            							E004035DB(_t230, _t273, _t376, "can\'t open %s", _t302, _t437, _t440);
            						}
            						_t231 = 0x64;
            						E0040371E(0x64, _t302, _t423);
            						 *0x40b0c0 = _t302;
            					}
            					_t305 =  *((intOrPtr*)((_t302 << 3) + _a24));
            					if(_t305 != 0) {
            						_t375 =  *((intOrPtr*)((_t305 << 3) + _a24));
            						E00403841( *0x40b0d2 & 0xffff, _t375, _t423, _t440);
            						_v24 = _t375;
            					}
            					if(_v24 != 0 && _v24 + 0x1c0 != 0) {
            						_v40 = _v24 + 0x1c0;
            					}
            					if(_v40 != 0) {
            						 *0x40b048 =  *0x40b048 + 1;
            					}
            					_t306 = __imp___errno;
            					 *_t306();
            					 *_t306 = 0;
            					if(( *0x40b0d0 & 0x0000ffff) == 0) {
            						L55:
            						_t290 = _v40;
            						if(_v40 == 0) {
            							E004035DB(_t230, _t290, _t376, "no destination", _t423, _t437, _t440);
            						}
            						_t309 =  *((intOrPtr*)((_t306 << 3) + _a24));
            						_t291 = _t309;
            						if(_t309 == 0) {
            							E004035DB(_t230, _t291, _t376, "no port[s] to connect to", _t423, _t437, _t440);
            						}
            						_t313 =  *((intOrPtr*)((_t309 + 1 << 3) + _a24));
            						if(_t313 != 0) {
            							 *0x40802c = 0;
            						}
            						_v44 = _v42 & 0x0000ffff;
            						while(1) {
            							_t316 =  *((_t313 << 3) + _a24);
            							if(_t316 == 0) {
            								break;
            							}
            							_v74 = 0;
            							_v46 = _v74 & 0x0000ffff;
            							_t319 =  *((intOrPtr*)((_t316 << 3) + _a24));
            							L004074F0();
            							_t376 = _t319;
            							__eflags = _t376;
            							if(_t376 != 0) {
            								 *_t376 = 0;
            								_t376 = _t376 + 1;
            								_v46 = E00403BC0(0, _t376);
            								__eflags = _v46;
            								if(__eflags == 0) {
            									_t423 = _t376;
            									E004035DB(_t231, __eflags, _t376, "invalid port %s", _t376, _t438, _t440);
            								}
            							}
            							_t313 =  *((intOrPtr*)((_t319 << 3) + _a24));
            							_t384 = _t313;
            							_v74 = E00403BC0(0, _t313);
            							__eflags = _v74;
            							if(_v74 == 0) {
            								_t334 = (_t313 << 3) + _a24;
            								__eflags = _t334;
            								_t313 =  *_t334;
            								_t423 = _t313;
            								_t384 = "invalid port %s";
            								E004035DB(_t231, _t334, _t376, "invalid port %s", _t313, _t438, _t440);
            							}
            							__eflags = (_v46 & 0x0000ffff) - _v74;
            							if((_v46 & 0x0000ffff) <= _v74) {
            								_v48 = _v74 & 0x0000ffff;
            							} else {
            								 *0x40802c = 0;
            								_v48 = _v46 & 0x0000ffff;
            								__eflags =  *0x40b0d6 & 0x0000ffff;
            								if(( *0x40b0d6 & 0x0000ffff) != 0) {
            									_t231 = _v46 & 0x0000ffff;
            									r8d = _v46 & 0x0000ffff;
            									E00403E4E(_v74 & 0x0000ffff, _v56, _v56);
            									_t313 = _v56;
            									_t384 = _t313;
            									_v48 = E00403DCA(_t265, _t313, _t313);
            								}
            							}
            							while(1) {
            								__eflags = (_v74 & 0x0000ffff) - _v48;
            								if((_v74 & 0x0000ffff) > _v48) {
            									break;
            								}
            								__eflags = _v42;
            								if(_v42 == 0) {
            									_t154 =  *0x40b0d6 & 0x0000ffff;
            									__eflags = _t154;
            									if(_t154 != 0) {
            										L004074C0();
            										_v44 = _t154;
            										__eflags = _v44 - 0x1fff;
            										if(_v44 <= 0x1fff) {
            											_t69 =  &_v44;
            											 *_t69 = _v44 + 0x2000;
            											__eflags =  *_t69;
            										}
            									}
            								}
            								_t231 = 0;
            								_v48 = E00403BC0(_v48 & 0x0000ffff, _t384);
            								_t322 = _v40;
            								r9d = _v44 & 0x0000ffff;
            								_t438 = _v32;
            								 *0x408010 = E00403EC7(_v48 & 0x0000ffff, _v40, _t423, _v32, _t440);
            								_t126 =  *0x408010; // 0xffffffff
            								__eflags = _t126;
            								if(_t126 > 0) {
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) != 0) {
            										__eflags =  *0x40b0d8 & 0x0000ffff;
            										if(( *0x40b0d8 & 0x0000ffff) != 0) {
            											_t152 =  *0x408010; // 0xffffffff
            											_t423 = _v40;
            											_t231 = _t152;
            											 *0x408010 = E00404773(_t152, _t322, _v40);
            										}
            									}
            								}
            								_t127 =  *0x408010; // 0xffffffff
            								__eflags = _t127;
            								if(_t127 <= 0) {
            									_t265 = 1;
            									__eflags =  *0x40802c & 0x0000ffff;
            									if(( *0x40802c & 0x0000ffff) != 0) {
            										L88:
            										_t325 = _v24 + 0x100;
            										__eflags = _t325;
            										_t326 = _v24;
            										_a32 =  *0x40b0b8;
            										r9d = _v48 & 0x0000ffff;
            										_t438 = _t325;
            										_t423 = _v24;
            										E004034EB("%s [%s] %d (%s)", _v24, _t325, _t440);
            										goto L89;
            									}
            									__eflags = ( *0x40b0da & 0x0000ffff) - 1;
            									if(( *0x40b0da & 0x0000ffff) > 1) {
            										goto L88;
            									}
            									_t326 = __imp__WSAGetLastError;
            									_t142 =  *__imp__WSAGetLastError();
            									__eflags = _t142 - 0x274d;
            									if(_t142 == 0x274d) {
            										goto L89;
            									}
            									goto L88;
            								} else {
            									_t265 = 0;
            									_a32 =  *0x40b0b8;
            									r9d = _v48 & 0x0000ffff;
            									_t438 = _v24 + 0x100;
            									_t423 = _v24;
            									E004034EB("%s [%s] %d (%s) open", _v24, _v24 + 0x100, _t440);
            									_t326 =  *0x40b0e8;
            									__eflags = _t326;
            									if(_t326 != 0) {
            										E004026FD(_t231, _t326, _t326, _t438);
            									}
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) == 0) {
            										_t326 =  *0x40b0e8;
            										__eflags = _t326;
            										if(_t326 == 0) {
            											_t145 =  *0x408010; // 0xffffffff
            											_t231 = _t145;
            											_t265 = E00404B7C(_t145, _t263, _t268, _t438, _t440);
            										}
            									}
            									L89:
            									_t327 = __imp__shutdown;
            									 *_t327();
            									_t384 = _t327;
            									_t313 = __imp__closesocket;
            									 *_t313();
            									__eflags =  *0x40b0cc;
            									if( *0x40b0cc != 0) {
            										_t231 =  *0x40b0cc;
            										_t313 = __imp___sleep;
            										 *_t313();
            									}
            									__eflags =  *0x40b0d6 & 0x0000ffff;
            									if(( *0x40b0d6 & 0x0000ffff) == 0) {
            										_t88 =  &_v48;
            										 *_t88 = _v48 - 1;
            										__eflags =  *_t88;
            									} else {
            										_t313 = _v56;
            										_t384 = _t313;
            										_v48 = E00403DCA(_t265, _t313, _t313);
            									}
            									continue;
            								}
            							}
            							_t156 =  *0x40b048 + 1;
            							__eflags = _t156;
            							 *0x40b048 = _t156;
            						}
            						_t335 = __imp___errno;
            						 *_t335();
            						 *_t335 = 0;
            						if(( *0x40b0da & 0x0000ffff) > 1) {
            							r8d =  *0x40b080;
            							E004034EB("sent %d, rcvd %d", _t423, _t438, _t440);
            						}
            						 *__imp__WSACleanup();
            						if(_v60 == 1) {
            							goto L3;
            						} else {
            							_t296 =  *0x40802c & 0x0000ffff;
            							if(( *0x40802c & 0x0000ffff) != 0) {
            								L00407428();
            							}
            							L00407428();
            							 *0x40b0da = 1;
            							E004034EB("[v1.12 NT http://eternallybored.org/misc/netcat/]\nconnect to somewhere:\tnc [-options] hostname port[s] [ports] ... \nlisten for inbound:\tnc -l -p port [options] [hostname] [port]\noptions:", _t423, _t438, _t440);
            							E004034EB("\t-d\t\tdetach from console, background mode\n", _t423, _t438, _t440);
            							E004034EB("\t-e prog\t\tinbound program to exec [dangerous!!]", _t423, _t438, _t440);
            							E004034EB("\t-g gateway\tsource-routing hop point[s], up to 8\n\t-G num\t\tsource-routing pointer: 4, 8, 12, ...\n\t-h\t\tthis cruft\n\t-i secs\t\tdelay interval for lines sent, ports scanned\n\t-l\t\tlisten mode, for inbound connects\n\t-L\t\tlisten harder, re-listen on socket close\n\t-n\t\tnumeric-only IP addresses, no DNS\n\t-o file\t\thex dump of traffic\n\t-p port\t\tlocal port number\n\t-r\t\trandomize local and remote ports\n\t-s addr\t\tlocal source address", _t423, _t438, _t440);
            							E004034EB("\t-t\t\tanswer TELNET negotiation", _t423, _t438, _t440);
            							E004034EB("\t-c\t\tsend CRLF instead of just LF\n\t-u\t\tUDP mode\n\t-v\t\tverbose [use twice to be more verbose]\n\t-w secs\t\ttimeout for connects and final net reads\n\t-z\t\tzero-I/O mode [used for scanning]", _t423, _t438, _t440);
            							E004035DB(0, _t296, _t376, "port numbers can be individual or ranges: m-n [inclusive]", _t423, _t438, _t440);
            							return 0;
            						}
            					} else {
            						_v48 = 0;
            						_t339 =  *((intOrPtr*)((_t306 << 3) + _a24));
            						if(_t339 != 0) {
            							_t365 =  *((intOrPtr*)((_t339 << 3) + _a24));
            							_v48 = E00403BC0(0, _t365);
            							if(_v48 == 0) {
            								_t423 =  *((intOrPtr*)((_t365 << 3) + _a24));
            								E004035DB(_t230, (_t365 << 3) + _a24, _t376, "invalid port %s",  *((intOrPtr*)((_t365 << 3) + _a24)), _t437, _t440);
            							}
            						}
            						_t306 = _v40;
            						r9d = _v42 & 0x0000ffff;
            						_t438 = _v32;
            						 *0x408010 = E0040425F(_v48 & 0x0000ffff, _t306, _v32, _t440);
            						_t185 =  *0x408010; // 0xffffffff
            						if(_t185 <= 0) {
            							L54:
            							E004035DB(_t230, _t289, _t376, "no connection", _t423, _t438, _t440);
            							goto L55;
            						} else {
            							_t340 =  *0x40b0e8;
            							if( *0x40b0e8 != 0) {
            								E004026FD(_t230, _t340, _t340, _t438);
            							}
            							_t306 =  *0x40b0e8;
            							if(_t306 == 0) {
            								_t205 =  *0x408010; // 0xffffffff
            								_t264 = E00404B7C(_t205, _t263, _t268, _t438, _t440);
            							}
            							if(( *0x40b0da & 0x0000ffff) > 1) {
            								r8d =  *0x40b080;
            								E004034EB(" sent %d, rcvd %d", _t423, _t438, _t440);
            							}
            							_t289 = _v60 - 1;
            							if(_v60 == 1) {
            								L3:
            								__eflags = _a16 - 1;
            								if(__eflags == 0) {
            									_t341 = _a24;
            									E0040371E(0x400, _t341, _t423);
            									_a24 = _t341;
            									_t342 = _a24;
            									 *_t342 =  *_t341;
            									E0040371E(0x2000, _t342, _t423);
            									_t378 = _t342;
            									 *((long long*)(_a24 + 8)) = _t378;
            									_t345 = __imp____iob_func;
            									 *_t345();
            									_t6 = _t345 + 0x60; // 0x60
            									_t440 = _t6;
            									r8d = 0xa;
            									L004074E8(); // executed
            									_t191 =  *__imp____iob_func();
            									L00407490();
            									r8d = 0x2000;
            									_t428 = _t378;
            									L00407368(); // executed
            									 *0x40b07c = _t191;
            									__eflags =  *0x40b07c;
            									if(__eflags == 0) {
            										E004035DB(0, __eflags, _t378, "wrong", _t428, _t438, _t440);
            									}
            									_t266 = E0040377B( *0x40b07c, _t378);
            									__eflags = _t266;
            									if(_t266 != 0) {
            										_t239 =  *0x40b07c - _t266;
            										__eflags = _t239;
            										 *0x40b07c = _t239;
            									}
            									__eflags =  *0x40b07c;
            									if( *0x40b07c != 0) {
            										L004073F8();
            									}
            									L004074F0();
            									_t379 =  *((intOrPtr*)(_a24 + 8));
            									__eflags = _t379;
            									if(_t379 != 0) {
            										 *_t379 = 0;
            									}
            									L004074F0();
            									_t380 =  *((intOrPtr*)(_a24 + 8));
            									__eflags = _t380;
            									if(_t380 != 0) {
            										 *_t380 = 0;
            									}
            									_t376 =  *((intOrPtr*)(_a24 + 8)) + 1;
            									_t267 = 2;
            									while(1) {
            										__eflags =  *_t376 & 0x000000ff;
            										if(__eflags == 0) {
            											break;
            										}
            										__eflags = ( *_t376 & 0x000000ff) - 0x20;
            										if(( *_t376 & 0x000000ff) != 0x20) {
            											_t11 = _t376 - 1; // -2
            											__eflags =  *_t11 & 0x000000ff;
            											if(( *_t11 & 0x000000ff) == 0) {
            												 *((_t267 << 3) + _a24) = _t376;
            												_t267 = _t267 + 1;
            												__eflags = _t267;
            											}
            										} else {
            											 *_t376 = 0;
            										}
            										_t376 = _t376 + 1;
            										__eflags = _t376;
            									}
            									_a16 = _t267;
            								}
            								continue;
            							} else {
            								_t230 = _t264;
            								L00407428();
            								goto L54;
            							}
            						}
            					}
            				}
            				_t14 = _t430 - 0x47; // -71
            				__eflags = _t14 - 0x33;
            				if(__eflags > 0) {
            					_t298 = __imp___errno;
            					 *_t298();
            					 *_t298 = 0;
            					E004035DB(_t230, __eflags, _t376, "nc -h for help", _t423, "ade:g:G:hi:lLno:p:rs:tcuvw:z", _t440);
            					goto L25;
            				}
            				_t423 =  *((intOrPtr*)(0x409b50 + _t297 * 4));
            				goto __rax;
            			}

























































            0x00405709
            0x00405713
            0x004058bb
            0x004058bb
            0x004058bb
            0x004058bf
            0x004058c6
            0x004058c9
            0x004058d1
            0x004058d6
            0x00000000
            0x00000000
            0x004058e6
            0x004058ed
            0x004058f4
            0x004058f9
            0x004058fe
            0x00405903
            0x00405903
            0x00405907
            0x00405911
            0x00405913
            0x00405918
            0x0040591d
            0x00405926
            0x00405926
            0x00405930
            0x0040593a
            0x0040593c
            0x00405943
            0x00405951
            0x00405956
            0x00405962
            0x00405964
            0x00405966
            0x0040596d
            0x00405977
            0x00405977
            0x0040597c
            0x00405981
            0x00405986
            0x00405986
            0x0040599d
            0x004059a3
            0x004059bf
            0x004059c5
            0x004059ca
            0x004059ca
            0x004059d3
            0x004059ee
            0x004059ee
            0x004059f7
            0x00405a02
            0x00405a02
            0x00405a08
            0x00405a0f
            0x00405a11
            0x00405a21
            0x00405b3e
            0x00405b3e
            0x00405b43
            0x00405b4c
            0x00405b4c
            0x00405b61
            0x00405b64
            0x00405b67
            0x00405b70
            0x00405b70
            0x00405b89
            0x00405b8f
            0x00405b91
            0x00405b91
            0x00405b9e
            0x00405edb
            0x00405eeb
            0x00405ef1
            0x00000000
            0x00000000
            0x00405ba7
            0x00405bb1
            0x00405bc5
            0x00405bd0
            0x00405bd5
            0x00405bd8
            0x00405bdb
            0x00405bdd
            0x00405be0
            0x00405bf1
            0x00405bf5
            0x00405bfa
            0x00405bfc
            0x00405c06
            0x00405c06
            0x00405bfa
            0x00405c1b
            0x00405c23
            0x00405c2b
            0x00405c2f
            0x00405c34
            0x00405c42
            0x00405c42
            0x00405c46
            0x00405c49
            0x00405c4c
            0x00405c53
            0x00405c53
            0x00405c5c
            0x00405c60
            0x00405cb3
            0x00405c62
            0x00405c62
            0x00405c6f
            0x00405c7a
            0x00405c7d
            0x00405c83
            0x00405c8f
            0x00405c95
            0x00405c9a
            0x00405c9e
            0x00405ca6
            0x00405ca6
            0x00405c7d
            0x00405ebe
            0x00405ec2
            0x00405ec6
            0x00000000
            0x00000000
            0x00405cbc
            0x00405cc1
            0x00405cc3
            0x00405cca
            0x00405ccd
            0x00405ccf
            0x00405cd4
            0x00405cd8
            0x00405cde
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405cde
            0x00405ccd
            0x00405cec
            0x00405cf6
            0x00405d06
            0x00405d0a
            0x00405d0d
            0x00405d18
            0x00405d1e
            0x00405d24
            0x00405d26
            0x00405d2f
            0x00405d32
            0x00405d3b
            0x00405d3e
            0x00405d40
            0x00405d46
            0x00405d4a
            0x00405d51
            0x00405d51
            0x00405d3e
            0x00405d32
            0x00405d57
            0x00405d5d
            0x00405d5f
            0x00405dec
            0x00405df8
            0x00405dfb
            0x00405e1a
            0x00405e2c
            0x00405e2c
            0x00405e35
            0x00405e39
            0x00405e3e
            0x00405e41
            0x00405e44
            0x00405e4e
            0x00000000
            0x00405e4e
            0x00405e04
            0x00405e08
            0x00000000
            0x00000000
            0x00405e0a
            0x00405e11
            0x00405e13
            0x00405e18
            0x00000000
            0x00000000
            0x00000000
            0x00405d65
            0x00405d65
            0x00405d89
            0x00405d8e
            0x00405d91
            0x00405d94
            0x00405d9e
            0x00405da3
            0x00405daa
            0x00405dad
            0x00405dba
            0x00405dba
            0x00405dc6
            0x00405dc9
            0x00405dcf
            0x00405dd6
            0x00405dd9
            0x00405ddb
            0x00405de1
            0x00405de8
            0x00405de8
            0x00405dd9
            0x00405e53
            0x00405e63
            0x00405e6a
            0x00405e74
            0x00405e77
            0x00405e7e
            0x00405e86
            0x00405e88
            0x00405e90
            0x00405e92
            0x00405e99
            0x00405e99
            0x00405ea2
            0x00405ea5
            0x00405eb9
            0x00405eb9
            0x00405eb9
            0x00405ea7
            0x00405ea7
            0x00405eab
            0x00405eb3
            0x00405eb3
            0x00000000
            0x00405ea5
            0x00405d5f
            0x00405ed2
            0x00405ed2
            0x00405ed5
            0x00405ed5
            0x00405ef7
            0x00405efe
            0x00405f00
            0x00405f11
            0x00405f1f
            0x00405f2b
            0x00405f2b
            0x00405f37
            0x00405f3d
            0x00000000
            0x00405f43
            0x00405f4a
            0x00405f4d
            0x00405f51
            0x00405f51
            0x00405f5b
            0x00405f68
            0x00405f78
            0x00405f84
            0x00405f90
            0x00405f9c
            0x00405fa8
            0x00405fb4
            0x00405fc0
            0x00405fcb
            0x00405fcb
            0x00405a27
            0x00405a27
            0x00405a3d
            0x00405a43
            0x00405a55
            0x00405a65
            0x00405a6e
            0x00405a83
            0x00405a8d
            0x00405a8d
            0x00405a6e
            0x00405a9e
            0x00405aa2
            0x00405aa5
            0x00405ab0
            0x00405ab6
            0x00405abe
            0x00405b32
            0x00405b39
            0x00000000
            0x00405ac0
            0x00405ac0
            0x00405aca
            0x00405ad7
            0x00405ad7
            0x00405adc
            0x00405ae6
            0x00405ae8
            0x00405af5
            0x00405af5
            0x00405b02
            0x00405b10
            0x00405b1c
            0x00405b1c
            0x00405b21
            0x00405b25
            0x0040539b
            0x0040539b
            0x0040539f
            0x004053a5
            0x004053b1
            0x004053b6
            0x004053ba
            0x004053be
            0x004053c6
            0x004053cb
            0x004053d6
            0x004053d9
            0x004053e0
            0x004053e2
            0x004053ed
            0x004053f0
            0x004053fe
            0x0040540a
            0x00405413
            0x00405418
            0x0040541e
            0x00405426
            0x0040542b
            0x00405437
            0x00405439
            0x00405442
            0x00405442
            0x00405457
            0x00405459
            0x0040545b
            0x00405467
            0x00405467
            0x0040546b
            0x0040546b
            0x00405477
            0x00405479
            0x00405497
            0x00405497
            0x004054af
            0x004054b4
            0x004054b7
            0x004054ba
            0x004054bc
            0x004054bc
            0x004054d2
            0x004054d7
            0x004054da
            0x004054dd
            0x004054df
            0x004054df
            0x004054ed
            0x004054f1
            0x00405524
            0x00405527
            0x00405529
            0x00000000
            0x00000000
            0x004054fb
            0x004054fd
            0x00405504
            0x0040550b
            0x0040550d
            0x0040551a
            0x0040551d
            0x0040551d
            0x0040551d
            0x004054ff
            0x004054ff
            0x004054ff
            0x00405520
            0x00405520
            0x00405520
            0x0040552b
            0x0040552b
            0x00000000
            0x00405b2b
            0x00405b2b
            0x00405b2d
            0x00000000
            0x00405b2d
            0x00405b25
            0x00405abe
            0x00405a21
            0x00405533
            0x00405536
            0x00405539
            0x0040589a
            0x004058a1
            0x004058a3
            0x004058b0
            0x00000000
            0x004058b0
            0x00405553
            0x00405561

            APIs
            Strings
            • ade:g:G:hi:lLno:p:rs:tcuvw:z, xrefs: 004058BF
            • no destination, xrefs: 00405B45
            • -ddetach from console, background mode, xrefs: 00405F7D
            • port numbers can be individual or ranges: m-n [inclusive], xrefs: 00405FB9
            • [v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:, xrefs: 00405F71
            • -g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum, xrefs: 00405F95
            • sent %d, rcvd %d, xrefs: 00405B15
            • sent %d, rcvd %d, xrefs: 00405F24
            • -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning], xrefs: 00405FAD
            • no port[s] to connect to, xrefs: 00405B69
            • no connection, xrefs: 00405B32
            • invalid port %s, xrefs: 00405A86
            • -e proginbound program to exec [dangerous!!], xrefs: 00405F89
            • -tanswer TELNET negotiation, xrefs: 00405FA1
            • can't open %s, xrefs: 00405970
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: _close_itoa_open
            • String ID: -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning]$-ddetach from console, background mode$-e proginbound program to exec [dangerous!!]$-g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum$-tanswer TELNET negotiation$ sent %d, rcvd %d$[v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:$ade:g:G:hi:lLno:p:rs:tcuvw:z$can't open %s$invalid port %s$no connection$no destination$no port[s] to connect to$port numbers can be individual or ranges: m-n [inclusive]$sent %d, rcvd %d
            • API String ID: 357769857-3526283814
            • Opcode ID: 72d83f644af1d587b92f490ff5e22cc670de32f493b5b5125b806490678883c0
            • Instruction ID: 13f9a44ee06a4180d9e4e87645fcb9b8c050e4a90a022d1ba9c8af33fe448c17
            • Opcode Fuzzy Hash: 72d83f644af1d587b92f490ff5e22cc670de32f493b5b5125b806490678883c0
            • Instruction Fuzzy Hash: ACA13EA1B00A1486EB10DF26E89136A37A0FB44798F44442AEB5DB73E1EF3CD945C79C
            Uniqueness

            Uniqueness Score: -1.00%

            C-Code - Quality: 18%
            			E004057C7(void* __rsi, signed int _a16, long long _a24, long long _a32) {
            				void* _v24;
            				signed int _v32;
            				void* _v40;
            				signed int _v42;
            				signed short _v44;
            				signed int _v46;
            				signed int _v48;
            				signed long long _v56;
            				intOrPtr _v60;
            				signed int _v74;
            				signed int _t102;
            				signed int _t126;
            				signed int _t127;
            				void* _t142;
            				signed int _t145;
            				signed int _t152;
            				signed int _t154;
            				signed int _t156;
            				signed int _t185;
            				signed int _t191;
            				signed int _t205;
            				signed int _t239;
            				void* _t263;
            				signed int _t264;
            				signed int _t265;
            				signed int _t266;
            				signed int _t267;
            				void* _t268;
            				signed long long _t297;
            				signed int* _t298;
            				signed long long _t302;
            				signed long long _t305;
            				signed long long _t306;
            				intOrPtr _t309;
            				signed long long _t313;
            				signed long long _t316;
            				signed long long _t319;
            				signed int _t325;
            				signed long long _t327;
            				signed int _t334;
            				signed int* _t335;
            				signed long long _t339;
            				intOrPtr* _t341;
            				long long _t342;
            				long long* _t345;
            				signed long long _t365;
            				long long _t375;
            				signed long long _t376;
            				long long _t378;
            				char* _t379;
            				char* _t380;
            				long long _t428;
            				void* _t430;
            				void* _t440;
            
            				_t430 = __rsi;
            				 *0x40b0f0 = ( *0x40b0f0 & 0x0000ffff) + 1;
            				while(1) {
            					L25:
            					_t297 = _a24;
            					_t437 = "ade:g:G:hi:lLno:p:rs:tcuvw:z";
            					_t423 = _t297;
            					_t230 = _a16;
            					_t264 = E00402422(_a16, _t297, "ade:g:G:hi:lLno:p:rs:tcuvw:z");
            					if(_t264 != 0xffffffff) {
            						break;
            					}
            					if(( *0x40b0d6 & 0x0000ffff) != 0) {
            						L004073A0();
            						L004074F8();
            						_t231 = 0x10000;
            						E0040371E(0x10000, _t297, _t423);
            						_v56 = _t297;
            					}
            					_t302 =  *0x40b0e8;
            					if(_t302 != 0) {
            						_t231 = 0;
            						L00407358();
            						 *0x40b0d4 = 0;
            						 *0x40b074 = 0;
            					}
            					_t102 =  *0x40b0d4 & 0x0000ffff;
            					if(_t102 != 0) {
            						_t302 =  *0x40b0c0;
            						r8d = 0x1b4;
            						L00407370();
            						 *0x40b074 = _t102;
            						_t273 =  *0x40b074;
            						if( *0x40b074 <= 0) {
            							_t302 =  *0x40b0c0;
            							_t423 = _t302;
            							E004035DB(_t230, _t273, _t376, "can\'t open %s", _t302, _t437, _t440);
            						}
            						_t231 = 0x64;
            						E0040371E(0x64, _t302, _t423);
            						 *0x40b0c0 = _t302;
            					}
            					_t305 =  *((intOrPtr*)((_t302 << 3) + _a24));
            					if(_t305 != 0) {
            						_t375 =  *((intOrPtr*)((_t305 << 3) + _a24));
            						E00403841( *0x40b0d2 & 0xffff, _t375, _t423, _t440);
            						_v24 = _t375;
            					}
            					if(_v24 != 0 && _v24 + 0x1c0 != 0) {
            						_v40 = _v24 + 0x1c0;
            					}
            					if(_v40 != 0) {
            						 *0x40b048 =  *0x40b048 + 1;
            					}
            					_t306 = __imp___errno;
            					 *_t306();
            					 *_t306 = 0;
            					if(( *0x40b0d0 & 0x0000ffff) == 0) {
            						L55:
            						_t290 = _v40;
            						if(_v40 == 0) {
            							E004035DB(_t230, _t290, _t376, "no destination", _t423, _t437, _t440);
            						}
            						_t309 =  *((intOrPtr*)((_t306 << 3) + _a24));
            						_t291 = _t309;
            						if(_t309 == 0) {
            							E004035DB(_t230, _t291, _t376, "no port[s] to connect to", _t423, _t437, _t440);
            						}
            						_t313 =  *((intOrPtr*)((_t309 + 1 << 3) + _a24));
            						if(_t313 != 0) {
            							 *0x40802c = 0;
            						}
            						_v44 = _v42 & 0x0000ffff;
            						while(1) {
            							_t316 =  *((_t313 << 3) + _a24);
            							if(_t316 == 0) {
            								break;
            							}
            							_v74 = 0;
            							_v46 = _v74 & 0x0000ffff;
            							_t319 =  *((intOrPtr*)((_t316 << 3) + _a24));
            							L004074F0();
            							_t376 = _t319;
            							__eflags = _t376;
            							if(_t376 != 0) {
            								 *_t376 = 0;
            								_t376 = _t376 + 1;
            								_v46 = E00403BC0(0, _t376);
            								__eflags = _v46;
            								if(__eflags == 0) {
            									_t423 = _t376;
            									E004035DB(_t231, __eflags, _t376, "invalid port %s", _t376, _t438, _t440);
            								}
            							}
            							_t313 =  *((intOrPtr*)((_t319 << 3) + _a24));
            							_t384 = _t313;
            							_v74 = E00403BC0(0, _t313);
            							__eflags = _v74;
            							if(_v74 == 0) {
            								_t334 = (_t313 << 3) + _a24;
            								__eflags = _t334;
            								_t313 =  *_t334;
            								_t423 = _t313;
            								_t384 = "invalid port %s";
            								E004035DB(_t231, _t334, _t376, "invalid port %s", _t313, _t438, _t440);
            							}
            							__eflags = (_v46 & 0x0000ffff) - _v74;
            							if((_v46 & 0x0000ffff) <= _v74) {
            								_v48 = _v74 & 0x0000ffff;
            							} else {
            								 *0x40802c = 0;
            								_v48 = _v46 & 0x0000ffff;
            								__eflags =  *0x40b0d6 & 0x0000ffff;
            								if(( *0x40b0d6 & 0x0000ffff) != 0) {
            									_t231 = _v46 & 0x0000ffff;
            									r8d = _v46 & 0x0000ffff;
            									E00403E4E(_v74 & 0x0000ffff, _v56, _v56);
            									_t313 = _v56;
            									_t384 = _t313;
            									_v48 = E00403DCA(_t265, _t313, _t313);
            								}
            							}
            							while(1) {
            								__eflags = (_v74 & 0x0000ffff) - _v48;
            								if((_v74 & 0x0000ffff) > _v48) {
            									break;
            								}
            								__eflags = _v42;
            								if(_v42 == 0) {
            									_t154 =  *0x40b0d6 & 0x0000ffff;
            									__eflags = _t154;
            									if(_t154 != 0) {
            										L004074C0();
            										_v44 = _t154;
            										__eflags = _v44 - 0x1fff;
            										if(_v44 <= 0x1fff) {
            											_t69 =  &_v44;
            											 *_t69 = _v44 + 0x2000;
            											__eflags =  *_t69;
            										}
            									}
            								}
            								_t231 = 0;
            								_v48 = E00403BC0(_v48 & 0x0000ffff, _t384);
            								_t322 = _v40;
            								r9d = _v44 & 0x0000ffff;
            								_t438 = _v32;
            								 *0x408010 = E00403EC7(_v48 & 0x0000ffff, _v40, _t423, _v32, _t440);
            								_t126 =  *0x408010; // 0xffffffff
            								__eflags = _t126;
            								if(_t126 > 0) {
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) != 0) {
            										__eflags =  *0x40b0d8 & 0x0000ffff;
            										if(( *0x40b0d8 & 0x0000ffff) != 0) {
            											_t152 =  *0x408010; // 0xffffffff
            											_t423 = _v40;
            											_t231 = _t152;
            											 *0x408010 = E00404773(_t152, _t322, _v40);
            										}
            									}
            								}
            								_t127 =  *0x408010; // 0xffffffff
            								__eflags = _t127;
            								if(_t127 <= 0) {
            									_t265 = 1;
            									__eflags =  *0x40802c & 0x0000ffff;
            									if(( *0x40802c & 0x0000ffff) != 0) {
            										L88:
            										_t325 = _v24 + 0x100;
            										__eflags = _t325;
            										_t326 = _v24;
            										_a32 =  *0x40b0b8;
            										r9d = _v48 & 0x0000ffff;
            										_t438 = _t325;
            										_t423 = _v24;
            										E004034EB("%s [%s] %d (%s)", _v24, _t325, _t440);
            										goto L89;
            									}
            									__eflags = ( *0x40b0da & 0x0000ffff) - 1;
            									if(( *0x40b0da & 0x0000ffff) > 1) {
            										goto L88;
            									}
            									_t326 = __imp__WSAGetLastError;
            									_t142 =  *__imp__WSAGetLastError();
            									__eflags = _t142 - 0x274d;
            									if(_t142 == 0x274d) {
            										goto L89;
            									}
            									goto L88;
            								} else {
            									_t265 = 0;
            									_a32 =  *0x40b0b8;
            									r9d = _v48 & 0x0000ffff;
            									_t438 = _v24 + 0x100;
            									_t423 = _v24;
            									E004034EB("%s [%s] %d (%s) open", _v24, _v24 + 0x100, _t440);
            									_t326 =  *0x40b0e8;
            									__eflags = _t326;
            									if(_t326 != 0) {
            										E004026FD(_t231, _t326, _t326, _t438);
            									}
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) == 0) {
            										_t326 =  *0x40b0e8;
            										__eflags = _t326;
            										if(_t326 == 0) {
            											_t145 =  *0x408010; // 0xffffffff
            											_t231 = _t145;
            											_t265 = E00404B7C(_t145, _t263, _t268, _t438, _t440);
            										}
            									}
            									L89:
            									_t327 = __imp__shutdown;
            									 *_t327();
            									_t384 = _t327;
            									_t313 = __imp__closesocket;
            									 *_t313();
            									__eflags =  *0x40b0cc;
            									if( *0x40b0cc != 0) {
            										_t231 =  *0x40b0cc;
            										_t313 = __imp___sleep;
            										 *_t313();
            									}
            									__eflags =  *0x40b0d6 & 0x0000ffff;
            									if(( *0x40b0d6 & 0x0000ffff) == 0) {
            										_t88 =  &_v48;
            										 *_t88 = _v48 - 1;
            										__eflags =  *_t88;
            									} else {
            										_t313 = _v56;
            										_t384 = _t313;
            										_v48 = E00403DCA(_t265, _t313, _t313);
            									}
            									continue;
            								}
            							}
            							_t156 =  *0x40b048 + 1;
            							__eflags = _t156;
            							 *0x40b048 = _t156;
            						}
            						_t335 = __imp___errno;
            						 *_t335();
            						 *_t335 = 0;
            						if(( *0x40b0da & 0x0000ffff) > 1) {
            							r8d =  *0x40b080;
            							E004034EB("sent %d, rcvd %d", _t423, _t438, _t440);
            						}
            						 *__imp__WSACleanup();
            						if(_v60 == 1) {
            							goto L3;
            						} else {
            							_t296 =  *0x40802c & 0x0000ffff;
            							if(( *0x40802c & 0x0000ffff) != 0) {
            								L00407428();
            							}
            							L00407428();
            							 *0x40b0da = 1;
            							E004034EB("[v1.12 NT http://eternallybored.org/misc/netcat/]\nconnect to somewhere:\tnc [-options] hostname port[s] [ports] ... \nlisten for inbound:\tnc -l -p port [options] [hostname] [port]\noptions:", _t423, _t438, _t440);
            							E004034EB("\t-d\t\tdetach from console, background mode\n", _t423, _t438, _t440);
            							E004034EB("\t-e prog\t\tinbound program to exec [dangerous!!]", _t423, _t438, _t440);
            							E004034EB("\t-g gateway\tsource-routing hop point[s], up to 8\n\t-G num\t\tsource-routing pointer: 4, 8, 12, ...\n\t-h\t\tthis cruft\n\t-i secs\t\tdelay interval for lines sent, ports scanned\n\t-l\t\tlisten mode, for inbound connects\n\t-L\t\tlisten harder, re-listen on socket close\n\t-n\t\tnumeric-only IP addresses, no DNS\n\t-o file\t\thex dump of traffic\n\t-p port\t\tlocal port number\n\t-r\t\trandomize local and remote ports\n\t-s addr\t\tlocal source address", _t423, _t438, _t440);
            							E004034EB("\t-t\t\tanswer TELNET negotiation", _t423, _t438, _t440);
            							E004034EB("\t-c\t\tsend CRLF instead of just LF\n\t-u\t\tUDP mode\n\t-v\t\tverbose [use twice to be more verbose]\n\t-w secs\t\ttimeout for connects and final net reads\n\t-z\t\tzero-I/O mode [used for scanning]", _t423, _t438, _t440);
            							E004035DB(0, _t296, _t376, "port numbers can be individual or ranges: m-n [inclusive]", _t423, _t438, _t440);
            							return 0;
            						}
            					} else {
            						_v48 = 0;
            						_t339 =  *((intOrPtr*)((_t306 << 3) + _a24));
            						if(_t339 != 0) {
            							_t365 =  *((intOrPtr*)((_t339 << 3) + _a24));
            							_v48 = E00403BC0(0, _t365);
            							if(_v48 == 0) {
            								_t423 =  *((intOrPtr*)((_t365 << 3) + _a24));
            								E004035DB(_t230, (_t365 << 3) + _a24, _t376, "invalid port %s",  *((intOrPtr*)((_t365 << 3) + _a24)), _t437, _t440);
            							}
            						}
            						_t306 = _v40;
            						r9d = _v42 & 0x0000ffff;
            						_t438 = _v32;
            						 *0x408010 = E0040425F(_v48 & 0x0000ffff, _t306, _v32, _t440);
            						_t185 =  *0x408010; // 0xffffffff
            						if(_t185 <= 0) {
            							L54:
            							E004035DB(_t230, _t289, _t376, "no connection", _t423, _t438, _t440);
            							goto L55;
            						} else {
            							_t340 =  *0x40b0e8;
            							if( *0x40b0e8 != 0) {
            								E004026FD(_t230, _t340, _t340, _t438);
            							}
            							_t306 =  *0x40b0e8;
            							if(_t306 == 0) {
            								_t205 =  *0x408010; // 0xffffffff
            								_t264 = E00404B7C(_t205, _t263, _t268, _t438, _t440);
            							}
            							if(( *0x40b0da & 0x0000ffff) > 1) {
            								r8d =  *0x40b080;
            								E004034EB(" sent %d, rcvd %d", _t423, _t438, _t440);
            							}
            							_t289 = _v60 - 1;
            							if(_v60 == 1) {
            								L3:
            								__eflags = _a16 - 1;
            								if(__eflags == 0) {
            									_t341 = _a24;
            									E0040371E(0x400, _t341, _t423);
            									_a24 = _t341;
            									_t342 = _a24;
            									 *_t342 =  *_t341;
            									E0040371E(0x2000, _t342, _t423);
            									_t378 = _t342;
            									 *((long long*)(_a24 + 8)) = _t378;
            									_t345 = __imp____iob_func;
            									 *_t345();
            									_t6 = _t345 + 0x60; // 0x60
            									_t440 = _t6;
            									r8d = 0xa;
            									L004074E8(); // executed
            									_t191 =  *__imp____iob_func();
            									L00407490();
            									r8d = 0x2000;
            									_t428 = _t378;
            									L00407368(); // executed
            									 *0x40b07c = _t191;
            									__eflags =  *0x40b07c;
            									if(__eflags == 0) {
            										E004035DB(0, __eflags, _t378, "wrong", _t428, _t438, _t440);
            									}
            									_t266 = E0040377B( *0x40b07c, _t378);
            									__eflags = _t266;
            									if(_t266 != 0) {
            										_t239 =  *0x40b07c - _t266;
            										__eflags = _t239;
            										 *0x40b07c = _t239;
            									}
            									__eflags =  *0x40b07c;
            									if( *0x40b07c != 0) {
            										L004073F8();
            									}
            									L004074F0();
            									_t379 =  *((intOrPtr*)(_a24 + 8));
            									__eflags = _t379;
            									if(_t379 != 0) {
            										 *_t379 = 0;
            									}
            									L004074F0();
            									_t380 =  *((intOrPtr*)(_a24 + 8));
            									__eflags = _t380;
            									if(_t380 != 0) {
            										 *_t380 = 0;
            									}
            									_t376 =  *((intOrPtr*)(_a24 + 8)) + 1;
            									_t267 = 2;
            									while(1) {
            										__eflags =  *_t376 & 0x000000ff;
            										if(__eflags == 0) {
            											break;
            										}
            										__eflags = ( *_t376 & 0x000000ff) - 0x20;
            										if(( *_t376 & 0x000000ff) != 0x20) {
            											_t11 = _t376 - 1; // -2
            											__eflags =  *_t11 & 0x000000ff;
            											if(( *_t11 & 0x000000ff) == 0) {
            												 *((_t267 << 3) + _a24) = _t376;
            												_t267 = _t267 + 1;
            												__eflags = _t267;
            											}
            										} else {
            											 *_t376 = 0;
            										}
            										_t376 = _t376 + 1;
            										__eflags = _t376;
            									}
            									_a16 = _t267;
            								}
            								continue;
            							} else {
            								_t230 = _t264;
            								L00407428();
            								goto L54;
            							}
            						}
            					}
            				}
            				_t14 = _t430 - 0x47; // -71
            				__eflags = _t14 - 0x33;
            				if(__eflags > 0) {
            					_t298 = __imp___errno;
            					 *_t298();
            					 *_t298 = 0;
            					E004035DB(_t230, __eflags, _t376, "nc -h for help", _t423, "ade:g:G:hi:lLno:p:rs:tcuvw:z", _t440);
            					goto L25;
            				}
            				_t423 =  *((intOrPtr*)(0x409b50 + _t297 * 4));
            				goto __rax;
            			}

























































            0x004057c7
            0x004057d1
            0x004058bb
            0x004058bb
            0x004058bb
            0x004058bf
            0x004058c6
            0x004058c9
            0x004058d1
            0x004058d6
            0x00000000
            0x00000000
            0x004058e6
            0x004058ed
            0x004058f4
            0x004058f9
            0x004058fe
            0x00405903
            0x00405903
            0x00405907
            0x00405911
            0x00405913
            0x00405918
            0x0040591d
            0x00405926
            0x00405926
            0x00405930
            0x0040593a
            0x0040593c
            0x00405943
            0x00405951
            0x00405956
            0x00405962
            0x00405964
            0x00405966
            0x0040596d
            0x00405977
            0x00405977
            0x0040597c
            0x00405981
            0x00405986
            0x00405986
            0x0040599d
            0x004059a3
            0x004059bf
            0x004059c5
            0x004059ca
            0x004059ca
            0x004059d3
            0x004059ee
            0x004059ee
            0x004059f7
            0x00405a02
            0x00405a02
            0x00405a08
            0x00405a0f
            0x00405a11
            0x00405a21
            0x00405b3e
            0x00405b3e
            0x00405b43
            0x00405b4c
            0x00405b4c
            0x00405b61
            0x00405b64
            0x00405b67
            0x00405b70
            0x00405b70
            0x00405b89
            0x00405b8f
            0x00405b91
            0x00405b91
            0x00405b9e
            0x00405edb
            0x00405eeb
            0x00405ef1
            0x00000000
            0x00000000
            0x00405ba7
            0x00405bb1
            0x00405bc5
            0x00405bd0
            0x00405bd5
            0x00405bd8
            0x00405bdb
            0x00405bdd
            0x00405be0
            0x00405bf1
            0x00405bf5
            0x00405bfa
            0x00405bfc
            0x00405c06
            0x00405c06
            0x00405bfa
            0x00405c1b
            0x00405c23
            0x00405c2b
            0x00405c2f
            0x00405c34
            0x00405c42
            0x00405c42
            0x00405c46
            0x00405c49
            0x00405c4c
            0x00405c53
            0x00405c53
            0x00405c5c
            0x00405c60
            0x00405cb3
            0x00405c62
            0x00405c62
            0x00405c6f
            0x00405c7a
            0x00405c7d
            0x00405c83
            0x00405c8f
            0x00405c95
            0x00405c9a
            0x00405c9e
            0x00405ca6
            0x00405ca6
            0x00405c7d
            0x00405ebe
            0x00405ec2
            0x00405ec6
            0x00000000
            0x00000000
            0x00405cbc
            0x00405cc1
            0x00405cc3
            0x00405cca
            0x00405ccd
            0x00405ccf
            0x00405cd4
            0x00405cd8
            0x00405cde
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405cde
            0x00405ccd
            0x00405cec
            0x00405cf6
            0x00405d06
            0x00405d0a
            0x00405d0d
            0x00405d18
            0x00405d1e
            0x00405d24
            0x00405d26
            0x00405d2f
            0x00405d32
            0x00405d3b
            0x00405d3e
            0x00405d40
            0x00405d46
            0x00405d4a
            0x00405d51
            0x00405d51
            0x00405d3e
            0x00405d32
            0x00405d57
            0x00405d5d
            0x00405d5f
            0x00405dec
            0x00405df8
            0x00405dfb
            0x00405e1a
            0x00405e2c
            0x00405e2c
            0x00405e35
            0x00405e39
            0x00405e3e
            0x00405e41
            0x00405e44
            0x00405e4e
            0x00000000
            0x00405e4e
            0x00405e04
            0x00405e08
            0x00000000
            0x00000000
            0x00405e0a
            0x00405e11
            0x00405e13
            0x00405e18
            0x00000000
            0x00000000
            0x00000000
            0x00405d65
            0x00405d65
            0x00405d89
            0x00405d8e
            0x00405d91
            0x00405d94
            0x00405d9e
            0x00405da3
            0x00405daa
            0x00405dad
            0x00405dba
            0x00405dba
            0x00405dc6
            0x00405dc9
            0x00405dcf
            0x00405dd6
            0x00405dd9
            0x00405ddb
            0x00405de1
            0x00405de8
            0x00405de8
            0x00405dd9
            0x00405e53
            0x00405e63
            0x00405e6a
            0x00405e74
            0x00405e77
            0x00405e7e
            0x00405e86
            0x00405e88
            0x00405e90
            0x00405e92
            0x00405e99
            0x00405e99
            0x00405ea2
            0x00405ea5
            0x00405eb9
            0x00405eb9
            0x00405eb9
            0x00405ea7
            0x00405ea7
            0x00405eab
            0x00405eb3
            0x00405eb3
            0x00000000
            0x00405ea5
            0x00405d5f
            0x00405ed2
            0x00405ed2
            0x00405ed5
            0x00405ed5
            0x00405ef7
            0x00405efe
            0x00405f00
            0x00405f11
            0x00405f1f
            0x00405f2b
            0x00405f2b
            0x00405f37
            0x00405f3d
            0x00000000
            0x00405f43
            0x00405f4a
            0x00405f4d
            0x00405f51
            0x00405f51
            0x00405f5b
            0x00405f68
            0x00405f78
            0x00405f84
            0x00405f90
            0x00405f9c
            0x00405fa8
            0x00405fb4
            0x00405fc0
            0x00405fcb
            0x00405fcb
            0x00405a27
            0x00405a27
            0x00405a3d
            0x00405a43
            0x00405a55
            0x00405a65
            0x00405a6e
            0x00405a83
            0x00405a8d
            0x00405a8d
            0x00405a6e
            0x00405a9e
            0x00405aa2
            0x00405aa5
            0x00405ab0
            0x00405ab6
            0x00405abe
            0x00405b32
            0x00405b39
            0x00000000
            0x00405ac0
            0x00405ac0
            0x00405aca
            0x00405ad7
            0x00405ad7
            0x00405adc
            0x00405ae6
            0x00405ae8
            0x00405af5
            0x00405af5
            0x00405b02
            0x00405b10
            0x00405b1c
            0x00405b1c
            0x00405b21
            0x00405b25
            0x0040539b
            0x0040539b
            0x0040539f
            0x004053a5
            0x004053b1
            0x004053b6
            0x004053ba
            0x004053be
            0x004053c6
            0x004053cb
            0x004053d6
            0x004053d9
            0x004053e0
            0x004053e2
            0x004053ed
            0x004053f0
            0x004053fe
            0x0040540a
            0x00405413
            0x00405418
            0x0040541e
            0x00405426
            0x0040542b
            0x00405437
            0x00405439
            0x00405442
            0x00405442
            0x00405457
            0x00405459
            0x0040545b
            0x00405467
            0x00405467
            0x0040546b
            0x0040546b
            0x00405477
            0x00405479
            0x00405497
            0x00405497
            0x004054af
            0x004054b4
            0x004054b7
            0x004054ba
            0x004054bc
            0x004054bc
            0x004054d2
            0x004054d7
            0x004054da
            0x004054dd
            0x004054df
            0x004054df
            0x004054ed
            0x004054f1
            0x00405524
            0x00405527
            0x00405529
            0x00000000
            0x00000000
            0x004054fb
            0x004054fd
            0x00405504
            0x0040550b
            0x0040550d
            0x0040551a
            0x0040551d
            0x0040551d
            0x0040551d
            0x004054ff
            0x004054ff
            0x004054ff
            0x00405520
            0x00405520
            0x00405520
            0x0040552b
            0x0040552b
            0x00000000
            0x00405b2b
            0x00405b2b
            0x00405b2d
            0x00000000
            0x00405b2d
            0x00405b25
            0x00405abe
            0x00405a21
            0x00405533
            0x00405536
            0x00405539
            0x0040589a
            0x004058a1
            0x004058a3
            0x004058b0
            0x00000000
            0x004058b0
            0x00405553
            0x00405561

            APIs
            Strings
            • ade:g:G:hi:lLno:p:rs:tcuvw:z, xrefs: 004058BF
            • no destination, xrefs: 00405B45
            • -ddetach from console, background mode, xrefs: 00405F7D
            • port numbers can be individual or ranges: m-n [inclusive], xrefs: 00405FB9
            • [v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:, xrefs: 00405F71
            • -g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum, xrefs: 00405F95
            • sent %d, rcvd %d, xrefs: 00405B15
            • sent %d, rcvd %d, xrefs: 00405F24
            • -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning], xrefs: 00405FAD
            • no port[s] to connect to, xrefs: 00405B69
            • no connection, xrefs: 00405B32
            • invalid port %s, xrefs: 00405A86
            • -e proginbound program to exec [dangerous!!], xrefs: 00405F89
            • -tanswer TELNET negotiation, xrefs: 00405FA1
            • can't open %s, xrefs: 00405970
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: _close_itoa_open
            • String ID: -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning]$-ddetach from console, background mode$-e proginbound program to exec [dangerous!!]$-g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum$-tanswer TELNET negotiation$ sent %d, rcvd %d$[v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:$ade:g:G:hi:lLno:p:rs:tcuvw:z$can't open %s$invalid port %s$no connection$no destination$no port[s] to connect to$port numbers can be individual or ranges: m-n [inclusive]$sent %d, rcvd %d
            • API String ID: 357769857-3526283814
            • Opcode ID: 10d93a76a723074bc1ea73b591166d6d6b116f23e5057b24e29fb4e6dd497874
            • Instruction ID: c99734c4faf20deb3e312f39af979299bc276a7bb6ddd07d05680851355301fe
            • Opcode Fuzzy Hash: 10d93a76a723074bc1ea73b591166d6d6b116f23e5057b24e29fb4e6dd497874
            • Instruction Fuzzy Hash: 52A13EA1B00A1486EB10DF26E89136A37A0FB44798F44442AEB5DB77E1EF3CD945C79C
            Uniqueness

            Uniqueness Score: -1.00%

            C-Code - Quality: 18%
            			E004057DD(void* __rsi, signed int _a16, long long _a24, long long _a32) {
            				void* _v24;
            				signed int _v32;
            				void* _v40;
            				signed int _v42;
            				signed short _v44;
            				signed int _v46;
            				signed int _v48;
            				signed long long _v56;
            				intOrPtr _v60;
            				signed int _v74;
            				signed int _t102;
            				signed int _t126;
            				signed int _t127;
            				void* _t142;
            				signed int _t145;
            				signed int _t152;
            				signed int _t154;
            				signed int _t156;
            				signed int _t185;
            				signed int _t191;
            				signed int _t205;
            				signed int _t239;
            				void* _t263;
            				signed int _t264;
            				signed int _t265;
            				signed int _t266;
            				signed int _t267;
            				void* _t268;
            				signed long long _t297;
            				signed int* _t298;
            				signed long long _t302;
            				signed long long _t305;
            				signed long long _t306;
            				intOrPtr _t309;
            				signed long long _t313;
            				signed long long _t316;
            				signed long long _t319;
            				signed int _t325;
            				signed long long _t327;
            				signed int _t334;
            				signed int* _t335;
            				signed long long _t339;
            				intOrPtr* _t341;
            				long long _t342;
            				long long* _t345;
            				signed long long _t365;
            				long long _t375;
            				signed long long _t376;
            				long long _t378;
            				char* _t379;
            				char* _t380;
            				long long _t428;
            				void* _t430;
            				void* _t440;
            
            				_t430 = __rsi;
            				"fflush" = ("fflush" & 0x0000ffff) + 1;
            				while(1) {
            					L25:
            					_t297 = _a24;
            					_t437 = "ade:g:G:hi:lLno:p:rs:tcuvw:z";
            					_t423 = _t297;
            					_t230 = _a16;
            					_t264 = E00402422(_a16, _t297, "ade:g:G:hi:lLno:p:rs:tcuvw:z");
            					if(_t264 != 0xffffffff) {
            						break;
            					}
            					if(( *0x40b0d6 & 0x0000ffff) != 0) {
            						L004073A0();
            						L004074F8();
            						_t231 = 0x10000;
            						E0040371E(0x10000, _t297, _t423);
            						_v56 = _t297;
            					}
            					_t302 =  *0x40b0e8;
            					if(_t302 != 0) {
            						_t231 = 0;
            						L00407358();
            						 *0x40b0d4 = 0;
            						 *0x40b074 = 0;
            					}
            					_t102 =  *0x40b0d4 & 0x0000ffff;
            					if(_t102 != 0) {
            						_t302 =  *0x40b0c0;
            						r8d = 0x1b4;
            						L00407370();
            						 *0x40b074 = _t102;
            						_t273 =  *0x40b074;
            						if( *0x40b074 <= 0) {
            							_t302 =  *0x40b0c0;
            							_t423 = _t302;
            							E004035DB(_t230, _t273, _t376, "can\'t open %s", _t302, _t437, _t440);
            						}
            						_t231 = 0x64;
            						E0040371E(0x64, _t302, _t423);
            						 *0x40b0c0 = _t302;
            					}
            					_t305 =  *((intOrPtr*)((_t302 << 3) + _a24));
            					if(_t305 != 0) {
            						_t375 =  *((intOrPtr*)((_t305 << 3) + _a24));
            						E00403841( *0x40b0d2 & 0xffff, _t375, _t423, _t440);
            						_v24 = _t375;
            					}
            					if(_v24 != 0 && _v24 + 0x1c0 != 0) {
            						_v40 = _v24 + 0x1c0;
            					}
            					if(_v40 != 0) {
            						 *0x40b048 =  *0x40b048 + 1;
            					}
            					_t306 = __imp___errno;
            					 *_t306();
            					 *_t306 = 0;
            					if(( *0x40b0d0 & 0x0000ffff) == 0) {
            						L55:
            						_t290 = _v40;
            						if(_v40 == 0) {
            							E004035DB(_t230, _t290, _t376, "no destination", _t423, _t437, _t440);
            						}
            						_t309 =  *((intOrPtr*)((_t306 << 3) + _a24));
            						_t291 = _t309;
            						if(_t309 == 0) {
            							E004035DB(_t230, _t291, _t376, "no port[s] to connect to", _t423, _t437, _t440);
            						}
            						_t313 =  *((intOrPtr*)((_t309 + 1 << 3) + _a24));
            						if(_t313 != 0) {
            							 *0x40802c = 0;
            						}
            						_v44 = _v42 & 0x0000ffff;
            						while(1) {
            							_t316 =  *((_t313 << 3) + _a24);
            							if(_t316 == 0) {
            								break;
            							}
            							_v74 = 0;
            							_v46 = _v74 & 0x0000ffff;
            							_t319 =  *((intOrPtr*)((_t316 << 3) + _a24));
            							L004074F0();
            							_t376 = _t319;
            							__eflags = _t376;
            							if(_t376 != 0) {
            								 *_t376 = 0;
            								_t376 = _t376 + 1;
            								_v46 = E00403BC0(0, _t376);
            								__eflags = _v46;
            								if(__eflags == 0) {
            									_t423 = _t376;
            									E004035DB(_t231, __eflags, _t376, "invalid port %s", _t376, _t438, _t440);
            								}
            							}
            							_t313 =  *((intOrPtr*)((_t319 << 3) + _a24));
            							_t384 = _t313;
            							_v74 = E00403BC0(0, _t313);
            							__eflags = _v74;
            							if(_v74 == 0) {
            								_t334 = (_t313 << 3) + _a24;
            								__eflags = _t334;
            								_t313 =  *_t334;
            								_t423 = _t313;
            								_t384 = "invalid port %s";
            								E004035DB(_t231, _t334, _t376, "invalid port %s", _t313, _t438, _t440);
            							}
            							__eflags = (_v46 & 0x0000ffff) - _v74;
            							if((_v46 & 0x0000ffff) <= _v74) {
            								_v48 = _v74 & 0x0000ffff;
            							} else {
            								 *0x40802c = 0;
            								_v48 = _v46 & 0x0000ffff;
            								__eflags =  *0x40b0d6 & 0x0000ffff;
            								if(( *0x40b0d6 & 0x0000ffff) != 0) {
            									_t231 = _v46 & 0x0000ffff;
            									r8d = _v46 & 0x0000ffff;
            									E00403E4E(_v74 & 0x0000ffff, _v56, _v56);
            									_t313 = _v56;
            									_t384 = _t313;
            									_v48 = E00403DCA(_t265, _t313, _t313);
            								}
            							}
            							while(1) {
            								__eflags = (_v74 & 0x0000ffff) - _v48;
            								if((_v74 & 0x0000ffff) > _v48) {
            									break;
            								}
            								__eflags = _v42;
            								if(_v42 == 0) {
            									_t154 =  *0x40b0d6 & 0x0000ffff;
            									__eflags = _t154;
            									if(_t154 != 0) {
            										L004074C0();
            										_v44 = _t154;
            										__eflags = _v44 - 0x1fff;
            										if(_v44 <= 0x1fff) {
            											_t69 =  &_v44;
            											 *_t69 = _v44 + 0x2000;
            											__eflags =  *_t69;
            										}
            									}
            								}
            								_t231 = 0;
            								_v48 = E00403BC0(_v48 & 0x0000ffff, _t384);
            								_t322 = _v40;
            								r9d = _v44 & 0x0000ffff;
            								_t438 = _v32;
            								 *0x408010 = E00403EC7(_v48 & 0x0000ffff, _v40, _t423, _v32, _t440);
            								_t126 =  *0x408010; // 0xffffffff
            								__eflags = _t126;
            								if(_t126 > 0) {
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) != 0) {
            										__eflags =  *0x40b0d8 & 0x0000ffff;
            										if(( *0x40b0d8 & 0x0000ffff) != 0) {
            											_t152 =  *0x408010; // 0xffffffff
            											_t423 = _v40;
            											_t231 = _t152;
            											 *0x408010 = E00404773(_t152, _t322, _v40);
            										}
            									}
            								}
            								_t127 =  *0x408010; // 0xffffffff
            								__eflags = _t127;
            								if(_t127 <= 0) {
            									_t265 = 1;
            									__eflags =  *0x40802c & 0x0000ffff;
            									if(( *0x40802c & 0x0000ffff) != 0) {
            										L88:
            										_t325 = _v24 + 0x100;
            										__eflags = _t325;
            										_t326 = _v24;
            										_a32 =  *0x40b0b8;
            										r9d = _v48 & 0x0000ffff;
            										_t438 = _t325;
            										_t423 = _v24;
            										E004034EB("%s [%s] %d (%s)", _v24, _t325, _t440);
            										goto L89;
            									}
            									__eflags = ( *0x40b0da & 0x0000ffff) - 1;
            									if(( *0x40b0da & 0x0000ffff) > 1) {
            										goto L88;
            									}
            									_t326 = __imp__WSAGetLastError;
            									_t142 =  *__imp__WSAGetLastError();
            									__eflags = _t142 - 0x274d;
            									if(_t142 == 0x274d) {
            										goto L89;
            									}
            									goto L88;
            								} else {
            									_t265 = 0;
            									_a32 =  *0x40b0b8;
            									r9d = _v48 & 0x0000ffff;
            									_t438 = _v24 + 0x100;
            									_t423 = _v24;
            									E004034EB("%s [%s] %d (%s) open", _v24, _v24 + 0x100, _t440);
            									_t326 =  *0x40b0e8;
            									__eflags = _t326;
            									if(_t326 != 0) {
            										E004026FD(_t231, _t326, _t326, _t438);
            									}
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) == 0) {
            										_t326 =  *0x40b0e8;
            										__eflags = _t326;
            										if(_t326 == 0) {
            											_t145 =  *0x408010; // 0xffffffff
            											_t231 = _t145;
            											_t265 = E00404B7C(_t145, _t263, _t268, _t438, _t440);
            										}
            									}
            									L89:
            									_t327 = __imp__shutdown;
            									 *_t327();
            									_t384 = _t327;
            									_t313 = __imp__closesocket;
            									 *_t313();
            									__eflags =  *0x40b0cc;
            									if( *0x40b0cc != 0) {
            										_t231 =  *0x40b0cc;
            										_t313 = __imp___sleep;
            										 *_t313();
            									}
            									__eflags =  *0x40b0d6 & 0x0000ffff;
            									if(( *0x40b0d6 & 0x0000ffff) == 0) {
            										_t88 =  &_v48;
            										 *_t88 = _v48 - 1;
            										__eflags =  *_t88;
            									} else {
            										_t313 = _v56;
            										_t384 = _t313;
            										_v48 = E00403DCA(_t265, _t313, _t313);
            									}
            									continue;
            								}
            							}
            							_t156 =  *0x40b048 + 1;
            							__eflags = _t156;
            							 *0x40b048 = _t156;
            						}
            						_t335 = __imp___errno;
            						 *_t335();
            						 *_t335 = 0;
            						if(( *0x40b0da & 0x0000ffff) > 1) {
            							r8d =  *0x40b080;
            							E004034EB("sent %d, rcvd %d", _t423, _t438, _t440);
            						}
            						 *__imp__WSACleanup();
            						if(_v60 == 1) {
            							goto L3;
            						} else {
            							_t296 =  *0x40802c & 0x0000ffff;
            							if(( *0x40802c & 0x0000ffff) != 0) {
            								L00407428();
            							}
            							L00407428();
            							 *0x40b0da = 1;
            							E004034EB("[v1.12 NT http://eternallybored.org/misc/netcat/]\nconnect to somewhere:\tnc [-options] hostname port[s] [ports] ... \nlisten for inbound:\tnc -l -p port [options] [hostname] [port]\noptions:", _t423, _t438, _t440);
            							E004034EB("\t-d\t\tdetach from console, background mode\n", _t423, _t438, _t440);
            							E004034EB("\t-e prog\t\tinbound program to exec [dangerous!!]", _t423, _t438, _t440);
            							E004034EB("\t-g gateway\tsource-routing hop point[s], up to 8\n\t-G num\t\tsource-routing pointer: 4, 8, 12, ...\n\t-h\t\tthis cruft\n\t-i secs\t\tdelay interval for lines sent, ports scanned\n\t-l\t\tlisten mode, for inbound connects\n\t-L\t\tlisten harder, re-listen on socket close\n\t-n\t\tnumeric-only IP addresses, no DNS\n\t-o file\t\thex dump of traffic\n\t-p port\t\tlocal port number\n\t-r\t\trandomize local and remote ports\n\t-s addr\t\tlocal source address", _t423, _t438, _t440);
            							E004034EB("\t-t\t\tanswer TELNET negotiation", _t423, _t438, _t440);
            							E004034EB("\t-c\t\tsend CRLF instead of just LF\n\t-u\t\tUDP mode\n\t-v\t\tverbose [use twice to be more verbose]\n\t-w secs\t\ttimeout for connects and final net reads\n\t-z\t\tzero-I/O mode [used for scanning]", _t423, _t438, _t440);
            							E004035DB(0, _t296, _t376, "port numbers can be individual or ranges: m-n [inclusive]", _t423, _t438, _t440);
            							return 0;
            						}
            					} else {
            						_v48 = 0;
            						_t339 =  *((intOrPtr*)((_t306 << 3) + _a24));
            						if(_t339 != 0) {
            							_t365 =  *((intOrPtr*)((_t339 << 3) + _a24));
            							_v48 = E00403BC0(0, _t365);
            							if(_v48 == 0) {
            								_t423 =  *((intOrPtr*)((_t365 << 3) + _a24));
            								E004035DB(_t230, (_t365 << 3) + _a24, _t376, "invalid port %s",  *((intOrPtr*)((_t365 << 3) + _a24)), _t437, _t440);
            							}
            						}
            						_t306 = _v40;
            						r9d = _v42 & 0x0000ffff;
            						_t438 = _v32;
            						 *0x408010 = E0040425F(_v48 & 0x0000ffff, _t306, _v32, _t440);
            						_t185 =  *0x408010; // 0xffffffff
            						if(_t185 <= 0) {
            							L54:
            							E004035DB(_t230, _t289, _t376, "no connection", _t423, _t438, _t440);
            							goto L55;
            						} else {
            							_t340 =  *0x40b0e8;
            							if( *0x40b0e8 != 0) {
            								E004026FD(_t230, _t340, _t340, _t438);
            							}
            							_t306 =  *0x40b0e8;
            							if(_t306 == 0) {
            								_t205 =  *0x408010; // 0xffffffff
            								_t264 = E00404B7C(_t205, _t263, _t268, _t438, _t440);
            							}
            							if(( *0x40b0da & 0x0000ffff) > 1) {
            								r8d =  *0x40b080;
            								E004034EB(" sent %d, rcvd %d", _t423, _t438, _t440);
            							}
            							_t289 = _v60 - 1;
            							if(_v60 == 1) {
            								L3:
            								__eflags = _a16 - 1;
            								if(__eflags == 0) {
            									_t341 = _a24;
            									E0040371E(0x400, _t341, _t423);
            									_a24 = _t341;
            									_t342 = _a24;
            									 *_t342 =  *_t341;
            									E0040371E(0x2000, _t342, _t423);
            									_t378 = _t342;
            									 *((long long*)(_a24 + 8)) = _t378;
            									_t345 = __imp____iob_func;
            									 *_t345();
            									_t6 = _t345 + 0x60; // 0x60
            									_t440 = _t6;
            									r8d = 0xa;
            									L004074E8(); // executed
            									_t191 =  *__imp____iob_func();
            									L00407490();
            									r8d = 0x2000;
            									_t428 = _t378;
            									L00407368(); // executed
            									 *0x40b07c = _t191;
            									__eflags =  *0x40b07c;
            									if(__eflags == 0) {
            										E004035DB(0, __eflags, _t378, "wrong", _t428, _t438, _t440);
            									}
            									_t266 = E0040377B( *0x40b07c, _t378);
            									__eflags = _t266;
            									if(_t266 != 0) {
            										_t239 =  *0x40b07c - _t266;
            										__eflags = _t239;
            										 *0x40b07c = _t239;
            									}
            									__eflags =  *0x40b07c;
            									if( *0x40b07c != 0) {
            										L004073F8();
            									}
            									L004074F0();
            									_t379 =  *((intOrPtr*)(_a24 + 8));
            									__eflags = _t379;
            									if(_t379 != 0) {
            										 *_t379 = 0;
            									}
            									L004074F0();
            									_t380 =  *((intOrPtr*)(_a24 + 8));
            									__eflags = _t380;
            									if(_t380 != 0) {
            										 *_t380 = 0;
            									}
            									_t376 =  *((intOrPtr*)(_a24 + 8)) + 1;
            									_t267 = 2;
            									while(1) {
            										__eflags =  *_t376 & 0x000000ff;
            										if(__eflags == 0) {
            											break;
            										}
            										__eflags = ( *_t376 & 0x000000ff) - 0x20;
            										if(( *_t376 & 0x000000ff) != 0x20) {
            											_t11 = _t376 - 1; // -2
            											__eflags =  *_t11 & 0x000000ff;
            											if(( *_t11 & 0x000000ff) == 0) {
            												 *((_t267 << 3) + _a24) = _t376;
            												_t267 = _t267 + 1;
            												__eflags = _t267;
            											}
            										} else {
            											 *_t376 = 0;
            										}
            										_t376 = _t376 + 1;
            										__eflags = _t376;
            									}
            									_a16 = _t267;
            								}
            								continue;
            							} else {
            								_t230 = _t264;
            								L00407428();
            								goto L54;
            							}
            						}
            					}
            				}
            				_t14 = _t430 - 0x47; // -71
            				__eflags = _t14 - 0x33;
            				if(__eflags > 0) {
            					_t298 = __imp___errno;
            					 *_t298();
            					 *_t298 = 0;
            					E004035DB(_t230, __eflags, _t376, "nc -h for help", _t423, "ade:g:G:hi:lLno:p:rs:tcuvw:z", _t440);
            					goto L25;
            				}
            				_t423 =  *((intOrPtr*)(0x409b50 + _t297 * 4));
            				goto __rax;
            			}

























































            0x004057dd
            0x004057e7
            0x004058bb
            0x004058bb
            0x004058bb
            0x004058bf
            0x004058c6
            0x004058c9
            0x004058d1
            0x004058d6
            0x00000000
            0x00000000
            0x004058e6
            0x004058ed
            0x004058f4
            0x004058f9
            0x004058fe
            0x00405903
            0x00405903
            0x00405907
            0x00405911
            0x00405913
            0x00405918
            0x0040591d
            0x00405926
            0x00405926
            0x00405930
            0x0040593a
            0x0040593c
            0x00405943
            0x00405951
            0x00405956
            0x00405962
            0x00405964
            0x00405966
            0x0040596d
            0x00405977
            0x00405977
            0x0040597c
            0x00405981
            0x00405986
            0x00405986
            0x0040599d
            0x004059a3
            0x004059bf
            0x004059c5
            0x004059ca
            0x004059ca
            0x004059d3
            0x004059ee
            0x004059ee
            0x004059f7
            0x00405a02
            0x00405a02
            0x00405a08
            0x00405a0f
            0x00405a11
            0x00405a21
            0x00405b3e
            0x00405b3e
            0x00405b43
            0x00405b4c
            0x00405b4c
            0x00405b61
            0x00405b64
            0x00405b67
            0x00405b70
            0x00405b70
            0x00405b89
            0x00405b8f
            0x00405b91
            0x00405b91
            0x00405b9e
            0x00405edb
            0x00405eeb
            0x00405ef1
            0x00000000
            0x00000000
            0x00405ba7
            0x00405bb1
            0x00405bc5
            0x00405bd0
            0x00405bd5
            0x00405bd8
            0x00405bdb
            0x00405bdd
            0x00405be0
            0x00405bf1
            0x00405bf5
            0x00405bfa
            0x00405bfc
            0x00405c06
            0x00405c06
            0x00405bfa
            0x00405c1b
            0x00405c23
            0x00405c2b
            0x00405c2f
            0x00405c34
            0x00405c42
            0x00405c42
            0x00405c46
            0x00405c49
            0x00405c4c
            0x00405c53
            0x00405c53
            0x00405c5c
            0x00405c60
            0x00405cb3
            0x00405c62
            0x00405c62
            0x00405c6f
            0x00405c7a
            0x00405c7d
            0x00405c83
            0x00405c8f
            0x00405c95
            0x00405c9a
            0x00405c9e
            0x00405ca6
            0x00405ca6
            0x00405c7d
            0x00405ebe
            0x00405ec2
            0x00405ec6
            0x00000000
            0x00000000
            0x00405cbc
            0x00405cc1
            0x00405cc3
            0x00405cca
            0x00405ccd
            0x00405ccf
            0x00405cd4
            0x00405cd8
            0x00405cde
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405cde
            0x00405ccd
            0x00405cec
            0x00405cf6
            0x00405d06
            0x00405d0a
            0x00405d0d
            0x00405d18
            0x00405d1e
            0x00405d24
            0x00405d26
            0x00405d2f
            0x00405d32
            0x00405d3b
            0x00405d3e
            0x00405d40
            0x00405d46
            0x00405d4a
            0x00405d51
            0x00405d51
            0x00405d3e
            0x00405d32
            0x00405d57
            0x00405d5d
            0x00405d5f
            0x00405dec
            0x00405df8
            0x00405dfb
            0x00405e1a
            0x00405e2c
            0x00405e2c
            0x00405e35
            0x00405e39
            0x00405e3e
            0x00405e41
            0x00405e44
            0x00405e4e
            0x00000000
            0x00405e4e
            0x00405e04
            0x00405e08
            0x00000000
            0x00000000
            0x00405e0a
            0x00405e11
            0x00405e13
            0x00405e18
            0x00000000
            0x00000000
            0x00000000
            0x00405d65
            0x00405d65
            0x00405d89
            0x00405d8e
            0x00405d91
            0x00405d94
            0x00405d9e
            0x00405da3
            0x00405daa
            0x00405dad
            0x00405dba
            0x00405dba
            0x00405dc6
            0x00405dc9
            0x00405dcf
            0x00405dd6
            0x00405dd9
            0x00405ddb
            0x00405de1
            0x00405de8
            0x00405de8
            0x00405dd9
            0x00405e53
            0x00405e63
            0x00405e6a
            0x00405e74
            0x00405e77
            0x00405e7e
            0x00405e86
            0x00405e88
            0x00405e90
            0x00405e92
            0x00405e99
            0x00405e99
            0x00405ea2
            0x00405ea5
            0x00405eb9
            0x00405eb9
            0x00405eb9
            0x00405ea7
            0x00405ea7
            0x00405eab
            0x00405eb3
            0x00405eb3
            0x00000000
            0x00405ea5
            0x00405d5f
            0x00405ed2
            0x00405ed2
            0x00405ed5
            0x00405ed5
            0x00405ef7
            0x00405efe
            0x00405f00
            0x00405f11
            0x00405f1f
            0x00405f2b
            0x00405f2b
            0x00405f37
            0x00405f3d
            0x00000000
            0x00405f43
            0x00405f4a
            0x00405f4d
            0x00405f51
            0x00405f51
            0x00405f5b
            0x00405f68
            0x00405f78
            0x00405f84
            0x00405f90
            0x00405f9c
            0x00405fa8
            0x00405fb4
            0x00405fc0
            0x00405fcb
            0x00405fcb
            0x00405a27
            0x00405a27
            0x00405a3d
            0x00405a43
            0x00405a55
            0x00405a65
            0x00405a6e
            0x00405a83
            0x00405a8d
            0x00405a8d
            0x00405a6e
            0x00405a9e
            0x00405aa2
            0x00405aa5
            0x00405ab0
            0x00405ab6
            0x00405abe
            0x00405b32
            0x00405b39
            0x00000000
            0x00405ac0
            0x00405ac0
            0x00405aca
            0x00405ad7
            0x00405ad7
            0x00405adc
            0x00405ae6
            0x00405ae8
            0x00405af5
            0x00405af5
            0x00405b02
            0x00405b10
            0x00405b1c
            0x00405b1c
            0x00405b21
            0x00405b25
            0x0040539b
            0x0040539b
            0x0040539f
            0x004053a5
            0x004053b1
            0x004053b6
            0x004053ba
            0x004053be
            0x004053c6
            0x004053cb
            0x004053d6
            0x004053d9
            0x004053e0
            0x004053e2
            0x004053ed
            0x004053f0
            0x004053fe
            0x0040540a
            0x00405413
            0x00405418
            0x0040541e
            0x00405426
            0x0040542b
            0x00405437
            0x00405439
            0x00405442
            0x00405442
            0x00405457
            0x00405459
            0x0040545b
            0x00405467
            0x00405467
            0x0040546b
            0x0040546b
            0x00405477
            0x00405479
            0x00405497
            0x00405497
            0x004054af
            0x004054b4
            0x004054b7
            0x004054ba
            0x004054bc
            0x004054bc
            0x004054d2
            0x004054d7
            0x004054da
            0x004054dd
            0x004054df
            0x004054df
            0x004054ed
            0x004054f1
            0x00405524
            0x00405527
            0x00405529
            0x00000000
            0x00000000
            0x004054fb
            0x004054fd
            0x00405504
            0x0040550b
            0x0040550d
            0x0040551a
            0x0040551d
            0x0040551d
            0x0040551d
            0x004054ff
            0x004054ff
            0x004054ff
            0x00405520
            0x00405520
            0x00405520
            0x0040552b
            0x0040552b
            0x00000000
            0x00405b2b
            0x00405b2b
            0x00405b2d
            0x00000000
            0x00405b2d
            0x00405b25
            0x00405abe
            0x00405a21
            0x00405533
            0x00405536
            0x00405539
            0x0040589a
            0x004058a1
            0x004058a3
            0x004058b0
            0x00000000
            0x004058b0
            0x00405553
            0x00405561

            APIs
            Strings
            • ade:g:G:hi:lLno:p:rs:tcuvw:z, xrefs: 004058BF
            • no destination, xrefs: 00405B45
            • -ddetach from console, background mode, xrefs: 00405F7D
            • port numbers can be individual or ranges: m-n [inclusive], xrefs: 00405FB9
            • [v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:, xrefs: 00405F71
            • -g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum, xrefs: 00405F95
            • sent %d, rcvd %d, xrefs: 00405B15
            • sent %d, rcvd %d, xrefs: 00405F24
            • -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning], xrefs: 00405FAD
            • no port[s] to connect to, xrefs: 00405B69
            • no connection, xrefs: 00405B32
            • invalid port %s, xrefs: 00405A86
            • -e proginbound program to exec [dangerous!!], xrefs: 00405F89
            • -tanswer TELNET negotiation, xrefs: 00405FA1
            • can't open %s, xrefs: 00405970
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: _close_itoa_open
            • String ID: -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning]$-ddetach from console, background mode$-e proginbound program to exec [dangerous!!]$-g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum$-tanswer TELNET negotiation$ sent %d, rcvd %d$[v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:$ade:g:G:hi:lLno:p:rs:tcuvw:z$can't open %s$invalid port %s$no connection$no destination$no port[s] to connect to$port numbers can be individual or ranges: m-n [inclusive]$sent %d, rcvd %d
            • API String ID: 357769857-3526283814
            • Opcode ID: edcbcf9daa62a74caa35f4fc58f72260fe55109df5da429b4ccc0eb52b2585e9
            • Instruction ID: 2b9f7e0ba8bb8de98284cc66be26ed87c87f879519a41079b020130af3776ea8
            • Opcode Fuzzy Hash: edcbcf9daa62a74caa35f4fc58f72260fe55109df5da429b4ccc0eb52b2585e9
            • Instruction Fuzzy Hash: F0A13EA1B00A1486EB10DF26E89136A37A0FB44798F44442AEB5DB73E1EF3CD945C79C
            Uniqueness

            Uniqueness Score: -1.00%

            Control-flow Graph

            • Executed
            • Not Executed
            control_flow_graph 2358 4056f3-405704 2359 4058bb-4058d6 call 402422 2358->2359 2362 405533-405539 2359->2362 2363 4058dc-4058e6 2359->2363 2366 40589a-4058b5 call 4035db 2362->2366 2367 40553f-40555d 2362->2367 2364 405907-405911 2363->2364 2365 4058e8-405903 call 4073a0 call 4074f8 call 40371e 2363->2365 2369 405930-40593a 2364->2369 2370 405913-405926 _close 2364->2370 2365->2364 2366->2359 2367->2366 2373 40593c-405964 _open 2369->2373 2374 40598d-4059a3 2369->2374 2370->2369 2379 405966-405977 call 4035db 2373->2379 2380 40597c-405986 call 40371e 2373->2380 2375 4059a5-4059ca call 403841 2374->2375 2376 4059ce-4059d3 2374->2376 2375->2376 2385 4059f2-4059f7 2376->2385 2386 4059d5-4059e2 2376->2386 2379->2380 2380->2374 2392 405a08-405a21 2385->2392 2393 4059f9-405a02 2385->2393 2386->2385 2391 4059e4-4059ee 2386->2391 2391->2385 2396 405a27-405a43 2392->2396 2397 405b3e-405b43 2392->2397 2393->2392 2400 405a92-405abe call 40425f 2396->2400 2401 405a45-405a6e call 403bc0 2396->2401 2398 405b51-405b67 2397->2398 2399 405b45-405b4c call 4035db 2397->2399 2405 405b75-405b8f 2398->2405 2406 405b69-405b70 call 4035db 2398->2406 2399->2398 2413 405ac0-405aca 2400->2413 2414 405b32-405b39 call 4035db 2400->2414 2401->2400 2412 405a70-405a8d call 4035db 2401->2412 2410 405b91 2405->2410 2411 405b9a-405ba2 2405->2411 2406->2405 2410->2411 2415 405edb-405ef1 2411->2415 2412->2400 2420 405adc-405ae6 2413->2420 2421 405acc-405ad7 call 4026fd 2413->2421 2414->2397 2416 405ba7-405bdb call 4074f0 2415->2416 2417 405ef7-405f11 2415->2417 2436 405c0b-405c34 call 403bc0 2416->2436 2437 405bdd-405bfa call 403bc0 2416->2437 2434 405f30-405f3d 2417->2434 2435 405f13-405f2b call 4034eb 2417->2435 2424 405af7-405b02 2420->2424 2425 405ae8-405af5 call 404b7c 2420->2425 2421->2420 2429 405b21-405b25 2424->2429 2430 405b04-405b1c call 4034eb 2424->2430 2425->2424 2432 405397-405398 2429->2432 2433 405b2b-405b2d call 407428 2429->2433 2430->2429 2441 40539b-40539f 2432->2441 2433->2414 2450 405f43-405f4d 2434->2450 2451 40539a 2434->2451 2435->2434 2448 405c36-405c53 call 4035db 2436->2448 2449 405c58-405c60 2436->2449 2437->2436 2453 405bfc-405c06 call 4035db 2437->2453 2441->2359 2446 4053a5-4053d9 call 40371e * 2 2441->2446 2478 4053e2-4053fe call 4074e8 2446->2478 2448->2449 2455 405c62-405c7d 2449->2455 2456 405caf-405cb7 2449->2456 2457 405f56-405fcb call 407428 call 4034eb * 6 call 4035db 2450->2457 2458 405f4f-405f51 call 407428 2450->2458 2451->2441 2453->2436 2461 405c83-405caa call 403e4e call 403dca 2455->2461 2462 405ebe-405ec6 2455->2462 2456->2462 2458->2457 2461->2462 2467 405cbc-405cc1 2462->2467 2468 405ecc-405ed5 2462->2468 2472 405cc3-405ccd 2467->2472 2473 405ce6-405d26 call 403bc0 call 403ec7 2467->2473 2468->2415 2472->2473 2477 405ccf-405cde call 4074c0 2472->2477 2494 405d57-405d5f 2473->2494 2495 405d28-405d32 2473->2495 2477->2473 2489 405ce0 2477->2489 2485 405403-405413 call 407490 2478->2485 2501 405418-405439 _read 2485->2501 2489->2473 2499 405d65-405dad call 4034eb 2494->2499 2500 405dec-405dfb 2494->2500 2495->2494 2498 405d34-405d3e 2495->2498 2498->2494 2505 405d40-405d51 call 404773 2498->2505 2519 405dbf-405dc9 2499->2519 2520 405daf-405dba call 4026fd 2499->2520 2503 405e1a-405e4e call 4034eb 2500->2503 2504 405dfd-405e08 2500->2504 2507 405447-40545b call 40377b 2501->2507 2508 40543b-405442 call 4035db 2501->2508 2518 405e53-405e88 2503->2518 2504->2503 2510 405e0a-405e18 2504->2510 2505->2494 2528 405471-405479 2507->2528 2529 40545d-40546b 2507->2529 2508->2507 2510->2503 2510->2518 2541 405e8a-405e92 2518->2541 2542 405e9b-405ea5 2518->2542 2519->2518 2522 405dcf-405dd9 2519->2522 2520->2519 2522->2518 2526 405ddb-405dea call 404b7c 2522->2526 2526->2518 2533 40547b-405497 call 4073f8 2528->2533 2534 40549c-4054ba call 4074f0 2528->2534 2529->2528 2533->2534 2543 4054bc 2534->2543 2544 4054bf-4054dd call 4074f0 2534->2544 2541->2542 2545 405ea7-405eb7 call 403dca 2542->2545 2546 405eb9 2542->2546 2543->2544 2551 4054e2-4054f6 2544->2551 2552 4054df 2544->2552 2545->2462 2546->2462 2553 405524-405529 2551->2553 2552->2551 2554 4054f8-4054fd 2553->2554 2555 40552b-40552e 2553->2555 2556 405504-40550d 2554->2556 2557 4054ff-405502 2554->2557 2555->2359 2558 405520 2556->2558 2559 40550f-40551d 2556->2559 2557->2558 2558->2553 2559->2558
            C-Code - Quality: 18%
            			E004056F3(void* __rsi, signed int _a16, long long _a24, long long _a32) {
            				void* _v24;
            				signed int _v32;
            				void* _v40;
            				signed int _v42;
            				signed short _v44;
            				signed int _v46;
            				signed int _v48;
            				signed long long _v56;
            				intOrPtr _v60;
            				signed int _v74;
            				signed int _t102;
            				signed int _t126;
            				signed int _t127;
            				void* _t142;
            				signed int _t145;
            				signed int _t152;
            				signed int _t154;
            				signed int _t156;
            				signed int _t185;
            				signed int _t191;
            				signed int _t205;
            				signed int _t239;
            				void* _t263;
            				signed int _t264;
            				signed int _t265;
            				signed int _t266;
            				signed int _t267;
            				void* _t268;
            				signed long long _t297;
            				signed int* _t298;
            				signed long long _t302;
            				signed long long _t305;
            				signed long long _t306;
            				intOrPtr _t309;
            				signed long long _t313;
            				signed long long _t316;
            				signed long long _t319;
            				signed int _t325;
            				signed long long _t327;
            				signed int _t334;
            				signed int* _t335;
            				signed long long _t339;
            				intOrPtr* _t341;
            				long long _t342;
            				long long* _t345;
            				signed long long _t365;
            				long long _t375;
            				signed long long _t376;
            				long long _t378;
            				char* _t379;
            				char* _t380;
            				long long _t428;
            				void* _t430;
            				void* _t440;
            
            				_t430 = __rsi;
            				 *0x40b0d0 = ( *0x40b0d0 & 0x0000ffff) + 1;
            				while(1) {
            					L25:
            					_t297 = _a24;
            					_t437 = "ade:g:G:hi:lLno:p:rs:tcuvw:z";
            					_t423 = _t297;
            					_t230 = _a16;
            					_t264 = E00402422(_a16, _t297, "ade:g:G:hi:lLno:p:rs:tcuvw:z");
            					if(_t264 != 0xffffffff) {
            						break;
            					}
            					if(( *0x40b0d6 & 0x0000ffff) != 0) {
            						L004073A0();
            						L004074F8();
            						_t231 = 0x10000;
            						E0040371E(0x10000, _t297, _t423);
            						_v56 = _t297;
            					}
            					_t302 =  *0x40b0e8;
            					if(_t302 != 0) {
            						_t231 = 0;
            						L00407358();
            						 *0x40b0d4 = 0;
            						 *0x40b074 = 0;
            					}
            					_t102 =  *0x40b0d4 & 0x0000ffff;
            					if(_t102 != 0) {
            						_t302 =  *0x40b0c0;
            						r8d = 0x1b4;
            						L00407370();
            						 *0x40b074 = _t102;
            						_t273 =  *0x40b074;
            						if( *0x40b074 <= 0) {
            							_t302 =  *0x40b0c0;
            							_t423 = _t302;
            							E004035DB(_t230, _t273, _t376, "can\'t open %s", _t302, _t437, _t440);
            						}
            						_t231 = 0x64;
            						E0040371E(0x64, _t302, _t423);
            						 *0x40b0c0 = _t302;
            					}
            					_t305 =  *((intOrPtr*)((_t302 << 3) + _a24));
            					if(_t305 != 0) {
            						_t375 =  *((intOrPtr*)((_t305 << 3) + _a24));
            						E00403841( *0x40b0d2 & 0xffff, _t375, _t423, _t440);
            						_v24 = _t375;
            					}
            					if(_v24 != 0 && _v24 + 0x1c0 != 0) {
            						_v40 = _v24 + 0x1c0;
            					}
            					if(_v40 != 0) {
            						 *0x40b048 =  *0x40b048 + 1;
            					}
            					_t306 = __imp___errno;
            					 *_t306();
            					 *_t306 = 0;
            					if(( *0x40b0d0 & 0x0000ffff) == 0) {
            						L55:
            						_t290 = _v40;
            						if(_v40 == 0) {
            							E004035DB(_t230, _t290, _t376, "no destination", _t423, _t437, _t440);
            						}
            						_t309 =  *((intOrPtr*)((_t306 << 3) + _a24));
            						_t291 = _t309;
            						if(_t309 == 0) {
            							E004035DB(_t230, _t291, _t376, "no port[s] to connect to", _t423, _t437, _t440);
            						}
            						_t313 =  *((intOrPtr*)((_t309 + 1 << 3) + _a24));
            						if(_t313 != 0) {
            							 *0x40802c = 0;
            						}
            						_v44 = _v42 & 0x0000ffff;
            						while(1) {
            							_t316 =  *((_t313 << 3) + _a24);
            							if(_t316 == 0) {
            								break;
            							}
            							_v74 = 0;
            							_v46 = _v74 & 0x0000ffff;
            							_t319 =  *((intOrPtr*)((_t316 << 3) + _a24));
            							L004074F0();
            							_t376 = _t319;
            							__eflags = _t376;
            							if(_t376 != 0) {
            								 *_t376 = 0;
            								_t376 = _t376 + 1;
            								_v46 = E00403BC0(0, _t376);
            								__eflags = _v46;
            								if(__eflags == 0) {
            									_t423 = _t376;
            									E004035DB(_t231, __eflags, _t376, "invalid port %s", _t376, _t438, _t440);
            								}
            							}
            							_t313 =  *((intOrPtr*)((_t319 << 3) + _a24));
            							_t384 = _t313;
            							_v74 = E00403BC0(0, _t313);
            							__eflags = _v74;
            							if(_v74 == 0) {
            								_t334 = (_t313 << 3) + _a24;
            								__eflags = _t334;
            								_t313 =  *_t334;
            								_t423 = _t313;
            								_t384 = "invalid port %s";
            								E004035DB(_t231, _t334, _t376, "invalid port %s", _t313, _t438, _t440);
            							}
            							__eflags = (_v46 & 0x0000ffff) - _v74;
            							if((_v46 & 0x0000ffff) <= _v74) {
            								_v48 = _v74 & 0x0000ffff;
            							} else {
            								 *0x40802c = 0;
            								_v48 = _v46 & 0x0000ffff;
            								__eflags =  *0x40b0d6 & 0x0000ffff;
            								if(( *0x40b0d6 & 0x0000ffff) != 0) {
            									_t231 = _v46 & 0x0000ffff;
            									r8d = _v46 & 0x0000ffff;
            									E00403E4E(_v74 & 0x0000ffff, _v56, _v56);
            									_t313 = _v56;
            									_t384 = _t313;
            									_v48 = E00403DCA(_t265, _t313, _t313);
            								}
            							}
            							while(1) {
            								__eflags = (_v74 & 0x0000ffff) - _v48;
            								if((_v74 & 0x0000ffff) > _v48) {
            									break;
            								}
            								__eflags = _v42;
            								if(_v42 == 0) {
            									_t154 =  *0x40b0d6 & 0x0000ffff;
            									__eflags = _t154;
            									if(_t154 != 0) {
            										L004074C0();
            										_v44 = _t154;
            										__eflags = _v44 - 0x1fff;
            										if(_v44 <= 0x1fff) {
            											_t69 =  &_v44;
            											 *_t69 = _v44 + 0x2000;
            											__eflags =  *_t69;
            										}
            									}
            								}
            								_t231 = 0;
            								_v48 = E00403BC0(_v48 & 0x0000ffff, _t384);
            								_t322 = _v40;
            								r9d = _v44 & 0x0000ffff;
            								_t438 = _v32;
            								 *0x408010 = E00403EC7(_v48 & 0x0000ffff, _v40, _t423, _v32, _t440);
            								_t126 =  *0x408010; // 0xffffffff
            								__eflags = _t126;
            								if(_t126 > 0) {
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) != 0) {
            										__eflags =  *0x40b0d8 & 0x0000ffff;
            										if(( *0x40b0d8 & 0x0000ffff) != 0) {
            											_t152 =  *0x408010; // 0xffffffff
            											_t423 = _v40;
            											_t231 = _t152;
            											 *0x408010 = E00404773(_t152, _t322, _v40);
            										}
            									}
            								}
            								_t127 =  *0x408010; // 0xffffffff
            								__eflags = _t127;
            								if(_t127 <= 0) {
            									_t265 = 1;
            									__eflags =  *0x40802c & 0x0000ffff;
            									if(( *0x40802c & 0x0000ffff) != 0) {
            										L88:
            										_t325 = _v24 + 0x100;
            										__eflags = _t325;
            										_t326 = _v24;
            										_a32 =  *0x40b0b8;
            										r9d = _v48 & 0x0000ffff;
            										_t438 = _t325;
            										_t423 = _v24;
            										E004034EB("%s [%s] %d (%s)", _v24, _t325, _t440);
            										goto L89;
            									}
            									__eflags = ( *0x40b0da & 0x0000ffff) - 1;
            									if(( *0x40b0da & 0x0000ffff) > 1) {
            										goto L88;
            									}
            									_t326 = __imp__WSAGetLastError;
            									_t142 =  *__imp__WSAGetLastError();
            									__eflags = _t142 - 0x274d;
            									if(_t142 == 0x274d) {
            										goto L89;
            									}
            									goto L88;
            								} else {
            									_t265 = 0;
            									_a32 =  *0x40b0b8;
            									r9d = _v48 & 0x0000ffff;
            									_t438 = _v24 + 0x100;
            									_t423 = _v24;
            									E004034EB("%s [%s] %d (%s) open", _v24, _v24 + 0x100, _t440);
            									_t326 =  *0x40b0e8;
            									__eflags = _t326;
            									if(_t326 != 0) {
            										E004026FD(_t231, _t326, _t326, _t438);
            									}
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) == 0) {
            										_t326 =  *0x40b0e8;
            										__eflags = _t326;
            										if(_t326 == 0) {
            											_t145 =  *0x408010; // 0xffffffff
            											_t231 = _t145;
            											_t265 = E00404B7C(_t145, _t263, _t268, _t438, _t440);
            										}
            									}
            									L89:
            									_t327 = __imp__shutdown;
            									 *_t327();
            									_t384 = _t327;
            									_t313 = __imp__closesocket;
            									 *_t313();
            									__eflags =  *0x40b0cc;
            									if( *0x40b0cc != 0) {
            										_t231 =  *0x40b0cc;
            										_t313 = __imp___sleep;
            										 *_t313();
            									}
            									__eflags =  *0x40b0d6 & 0x0000ffff;
            									if(( *0x40b0d6 & 0x0000ffff) == 0) {
            										_t88 =  &_v48;
            										 *_t88 = _v48 - 1;
            										__eflags =  *_t88;
            									} else {
            										_t313 = _v56;
            										_t384 = _t313;
            										_v48 = E00403DCA(_t265, _t313, _t313);
            									}
            									continue;
            								}
            							}
            							_t156 =  *0x40b048 + 1;
            							__eflags = _t156;
            							 *0x40b048 = _t156;
            						}
            						_t335 = __imp___errno;
            						 *_t335();
            						 *_t335 = 0;
            						if(( *0x40b0da & 0x0000ffff) > 1) {
            							r8d =  *0x40b080;
            							E004034EB("sent %d, rcvd %d", _t423, _t438, _t440);
            						}
            						 *__imp__WSACleanup();
            						if(_v60 == 1) {
            							goto L3;
            						} else {
            							_t296 =  *0x40802c & 0x0000ffff;
            							if(( *0x40802c & 0x0000ffff) != 0) {
            								L00407428();
            							}
            							L00407428();
            							 *0x40b0da = 1;
            							E004034EB("[v1.12 NT http://eternallybored.org/misc/netcat/]\nconnect to somewhere:\tnc [-options] hostname port[s] [ports] ... \nlisten for inbound:\tnc -l -p port [options] [hostname] [port]\noptions:", _t423, _t438, _t440);
            							E004034EB("\t-d\t\tdetach from console, background mode\n", _t423, _t438, _t440);
            							E004034EB("\t-e prog\t\tinbound program to exec [dangerous!!]", _t423, _t438, _t440);
            							E004034EB("\t-g gateway\tsource-routing hop point[s], up to 8\n\t-G num\t\tsource-routing pointer: 4, 8, 12, ...\n\t-h\t\tthis cruft\n\t-i secs\t\tdelay interval for lines sent, ports scanned\n\t-l\t\tlisten mode, for inbound connects\n\t-L\t\tlisten harder, re-listen on socket close\n\t-n\t\tnumeric-only IP addresses, no DNS\n\t-o file\t\thex dump of traffic\n\t-p port\t\tlocal port number\n\t-r\t\trandomize local and remote ports\n\t-s addr\t\tlocal source address", _t423, _t438, _t440);
            							E004034EB("\t-t\t\tanswer TELNET negotiation", _t423, _t438, _t440);
            							E004034EB("\t-c\t\tsend CRLF instead of just LF\n\t-u\t\tUDP mode\n\t-v\t\tverbose [use twice to be more verbose]\n\t-w secs\t\ttimeout for connects and final net reads\n\t-z\t\tzero-I/O mode [used for scanning]", _t423, _t438, _t440);
            							E004035DB(0, _t296, _t376, "port numbers can be individual or ranges: m-n [inclusive]", _t423, _t438, _t440);
            							return 0;
            						}
            					} else {
            						_v48 = 0;
            						_t339 =  *((intOrPtr*)((_t306 << 3) + _a24));
            						if(_t339 != 0) {
            							_t365 =  *((intOrPtr*)((_t339 << 3) + _a24));
            							_v48 = E00403BC0(0, _t365);
            							if(_v48 == 0) {
            								_t423 =  *((intOrPtr*)((_t365 << 3) + _a24));
            								E004035DB(_t230, (_t365 << 3) + _a24, _t376, "invalid port %s",  *((intOrPtr*)((_t365 << 3) + _a24)), _t437, _t440);
            							}
            						}
            						_t306 = _v40;
            						r9d = _v42 & 0x0000ffff;
            						_t438 = _v32;
            						 *0x408010 = E0040425F(_v48 & 0x0000ffff, _t306, _v32, _t440);
            						_t185 =  *0x408010; // 0xffffffff
            						if(_t185 <= 0) {
            							L54:
            							E004035DB(_t230, _t289, _t376, "no connection", _t423, _t438, _t440);
            							goto L55;
            						} else {
            							_t340 =  *0x40b0e8;
            							if( *0x40b0e8 != 0) {
            								E004026FD(_t230, _t340, _t340, _t438);
            							}
            							_t306 =  *0x40b0e8;
            							if(_t306 == 0) {
            								_t205 =  *0x408010; // 0xffffffff
            								_t264 = E00404B7C(_t205, _t263, _t268, _t438, _t440);
            							}
            							if(( *0x40b0da & 0x0000ffff) > 1) {
            								r8d =  *0x40b080;
            								E004034EB(" sent %d, rcvd %d", _t423, _t438, _t440);
            							}
            							_t289 = _v60 - 1;
            							if(_v60 == 1) {
            								L3:
            								__eflags = _a16 - 1;
            								if(__eflags == 0) {
            									_t341 = _a24;
            									E0040371E(0x400, _t341, _t423);
            									_a24 = _t341;
            									_t342 = _a24;
            									 *_t342 =  *_t341;
            									E0040371E(0x2000, _t342, _t423);
            									_t378 = _t342;
            									 *((long long*)(_a24 + 8)) = _t378;
            									_t345 = __imp____iob_func;
            									 *_t345();
            									_t6 = _t345 + 0x60; // 0x60
            									_t440 = _t6;
            									r8d = 0xa;
            									L004074E8(); // executed
            									_t191 =  *__imp____iob_func();
            									L00407490();
            									r8d = 0x2000;
            									_t428 = _t378;
            									L00407368(); // executed
            									 *0x40b07c = _t191;
            									__eflags =  *0x40b07c;
            									if(__eflags == 0) {
            										E004035DB(0, __eflags, _t378, "wrong", _t428, _t438, _t440);
            									}
            									_t266 = E0040377B( *0x40b07c, _t378);
            									__eflags = _t266;
            									if(_t266 != 0) {
            										_t239 =  *0x40b07c - _t266;
            										__eflags = _t239;
            										 *0x40b07c = _t239;
            									}
            									__eflags =  *0x40b07c;
            									if( *0x40b07c != 0) {
            										L004073F8();
            									}
            									L004074F0();
            									_t379 =  *((intOrPtr*)(_a24 + 8));
            									__eflags = _t379;
            									if(_t379 != 0) {
            										 *_t379 = 0;
            									}
            									L004074F0();
            									_t380 =  *((intOrPtr*)(_a24 + 8));
            									__eflags = _t380;
            									if(_t380 != 0) {
            										 *_t380 = 0;
            									}
            									_t376 =  *((intOrPtr*)(_a24 + 8)) + 1;
            									_t267 = 2;
            									while(1) {
            										__eflags =  *_t376 & 0x000000ff;
            										if(__eflags == 0) {
            											break;
            										}
            										__eflags = ( *_t376 & 0x000000ff) - 0x20;
            										if(( *_t376 & 0x000000ff) != 0x20) {
            											_t11 = _t376 - 1; // -2
            											__eflags =  *_t11 & 0x000000ff;
            											if(( *_t11 & 0x000000ff) == 0) {
            												 *((_t267 << 3) + _a24) = _t376;
            												_t267 = _t267 + 1;
            												__eflags = _t267;
            											}
            										} else {
            											 *_t376 = 0;
            										}
            										_t376 = _t376 + 1;
            										__eflags = _t376;
            									}
            									_a16 = _t267;
            								}
            								continue;
            							} else {
            								_t230 = _t264;
            								L00407428();
            								goto L54;
            							}
            						}
            					}
            				}
            				_t14 = _t430 - 0x47; // -71
            				__eflags = _t14 - 0x33;
            				if(__eflags > 0) {
            					_t298 = __imp___errno;
            					 *_t298();
            					 *_t298 = 0;
            					E004035DB(_t230, __eflags, _t376, "nc -h for help", _t423, "ade:g:G:hi:lLno:p:rs:tcuvw:z", _t440);
            					goto L25;
            				}
            				_t423 =  *((intOrPtr*)(0x409b50 + _t297 * 4));
            				goto __rax;
            			}

























































            0x004056f3
            0x004056fd
            0x004058bb
            0x004058bb
            0x004058bb
            0x004058bf
            0x004058c6
            0x004058c9
            0x004058d1
            0x004058d6
            0x00000000
            0x00000000
            0x004058e6
            0x004058ed
            0x004058f4
            0x004058f9
            0x004058fe
            0x00405903
            0x00405903
            0x00405907
            0x00405911
            0x00405913
            0x00405918
            0x0040591d
            0x00405926
            0x00405926
            0x00405930
            0x0040593a
            0x0040593c
            0x00405943
            0x00405951
            0x00405956
            0x00405962
            0x00405964
            0x00405966
            0x0040596d
            0x00405977
            0x00405977
            0x0040597c
            0x00405981
            0x00405986
            0x00405986
            0x0040599d
            0x004059a3
            0x004059bf
            0x004059c5
            0x004059ca
            0x004059ca
            0x004059d3
            0x004059ee
            0x004059ee
            0x004059f7
            0x00405a02
            0x00405a02
            0x00405a08
            0x00405a0f
            0x00405a11
            0x00405a21
            0x00405b3e
            0x00405b3e
            0x00405b43
            0x00405b4c
            0x00405b4c
            0x00405b61
            0x00405b64
            0x00405b67
            0x00405b70
            0x00405b70
            0x00405b89
            0x00405b8f
            0x00405b91
            0x00405b91
            0x00405b9e
            0x00405edb
            0x00405eeb
            0x00405ef1
            0x00000000
            0x00000000
            0x00405ba7
            0x00405bb1
            0x00405bc5
            0x00405bd0
            0x00405bd5
            0x00405bd8
            0x00405bdb
            0x00405bdd
            0x00405be0
            0x00405bf1
            0x00405bf5
            0x00405bfa
            0x00405bfc
            0x00405c06
            0x00405c06
            0x00405bfa
            0x00405c1b
            0x00405c23
            0x00405c2b
            0x00405c2f
            0x00405c34
            0x00405c42
            0x00405c42
            0x00405c46
            0x00405c49
            0x00405c4c
            0x00405c53
            0x00405c53
            0x00405c5c
            0x00405c60
            0x00405cb3
            0x00405c62
            0x00405c62
            0x00405c6f
            0x00405c7a
            0x00405c7d
            0x00405c83
            0x00405c8f
            0x00405c95
            0x00405c9a
            0x00405c9e
            0x00405ca6
            0x00405ca6
            0x00405c7d
            0x00405ebe
            0x00405ec2
            0x00405ec6
            0x00000000
            0x00000000
            0x00405cbc
            0x00405cc1
            0x00405cc3
            0x00405cca
            0x00405ccd
            0x00405ccf
            0x00405cd4
            0x00405cd8
            0x00405cde
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405cde
            0x00405ccd
            0x00405cec
            0x00405cf6
            0x00405d06
            0x00405d0a
            0x00405d0d
            0x00405d18
            0x00405d1e
            0x00405d24
            0x00405d26
            0x00405d2f
            0x00405d32
            0x00405d3b
            0x00405d3e
            0x00405d40
            0x00405d46
            0x00405d4a
            0x00405d51
            0x00405d51
            0x00405d3e
            0x00405d32
            0x00405d57
            0x00405d5d
            0x00405d5f
            0x00405dec
            0x00405df8
            0x00405dfb
            0x00405e1a
            0x00405e2c
            0x00405e2c
            0x00405e35
            0x00405e39
            0x00405e3e
            0x00405e41
            0x00405e44
            0x00405e4e
            0x00000000
            0x00405e4e
            0x00405e04
            0x00405e08
            0x00000000
            0x00000000
            0x00405e0a
            0x00405e11
            0x00405e13
            0x00405e18
            0x00000000
            0x00000000
            0x00000000
            0x00405d65
            0x00405d65
            0x00405d89
            0x00405d8e
            0x00405d91
            0x00405d94
            0x00405d9e
            0x00405da3
            0x00405daa
            0x00405dad
            0x00405dba
            0x00405dba
            0x00405dc6
            0x00405dc9
            0x00405dcf
            0x00405dd6
            0x00405dd9
            0x00405ddb
            0x00405de1
            0x00405de8
            0x00405de8
            0x00405dd9
            0x00405e53
            0x00405e63
            0x00405e6a
            0x00405e74
            0x00405e77
            0x00405e7e
            0x00405e86
            0x00405e88
            0x00405e90
            0x00405e92
            0x00405e99
            0x00405e99
            0x00405ea2
            0x00405ea5
            0x00405eb9
            0x00405eb9
            0x00405eb9
            0x00405ea7
            0x00405ea7
            0x00405eab
            0x00405eb3
            0x00405eb3
            0x00000000
            0x00405ea5
            0x00405d5f
            0x00405ed2
            0x00405ed2
            0x00405ed5
            0x00405ed5
            0x00405ef7
            0x00405efe
            0x00405f00
            0x00405f11
            0x00405f1f
            0x00405f2b
            0x00405f2b
            0x00405f37
            0x00405f3d
            0x00000000
            0x00405f43
            0x00405f4a
            0x00405f4d
            0x00405f51
            0x00405f51
            0x00405f5b
            0x00405f68
            0x00405f78
            0x00405f84
            0x00405f90
            0x00405f9c
            0x00405fa8
            0x00405fb4
            0x00405fc0
            0x00405fcb
            0x00405fcb
            0x00405a27
            0x00405a27
            0x00405a3d
            0x00405a43
            0x00405a55
            0x00405a65
            0x00405a6e
            0x00405a83
            0x00405a8d
            0x00405a8d
            0x00405a6e
            0x00405a9e
            0x00405aa2
            0x00405aa5
            0x00405ab0
            0x00405ab6
            0x00405abe
            0x00405b32
            0x00405b39
            0x00000000
            0x00405ac0
            0x00405ac0
            0x00405aca
            0x00405ad7
            0x00405ad7
            0x00405adc
            0x00405ae6
            0x00405ae8
            0x00405af5
            0x00405af5
            0x00405b02
            0x00405b10
            0x00405b1c
            0x00405b1c
            0x00405b21
            0x00405b25
            0x0040539b
            0x0040539b
            0x0040539f
            0x004053a5
            0x004053b1
            0x004053b6
            0x004053ba
            0x004053be
            0x004053c6
            0x004053cb
            0x004053d6
            0x004053d9
            0x004053e0
            0x004053e2
            0x004053ed
            0x004053f0
            0x004053fe
            0x0040540a
            0x00405413
            0x00405418
            0x0040541e
            0x00405426
            0x0040542b
            0x00405437
            0x00405439
            0x00405442
            0x00405442
            0x00405457
            0x00405459
            0x0040545b
            0x00405467
            0x00405467
            0x0040546b
            0x0040546b
            0x00405477
            0x00405479
            0x00405497
            0x00405497
            0x004054af
            0x004054b4
            0x004054b7
            0x004054ba
            0x004054bc
            0x004054bc
            0x004054d2
            0x004054d7
            0x004054da
            0x004054dd
            0x004054df
            0x004054df
            0x004054ed
            0x004054f1
            0x00405524
            0x00405527
            0x00405529
            0x00000000
            0x00000000
            0x004054fb
            0x004054fd
            0x00405504
            0x0040550b
            0x0040550d
            0x0040551a
            0x0040551d
            0x0040551d
            0x0040551d
            0x004054ff
            0x004054ff
            0x004054ff
            0x00405520
            0x00405520
            0x00405520
            0x0040552b
            0x0040552b
            0x00000000
            0x00405b2b
            0x00405b2b
            0x00405b2d
            0x00000000
            0x00405b2d
            0x00405b25
            0x00405abe
            0x00405a21
            0x00405533
            0x00405536
            0x00405539
            0x0040589a
            0x004058a1
            0x004058a3
            0x004058b0
            0x00000000
            0x004058b0
            0x00405553
            0x00405561

            APIs
            Strings
            • ade:g:G:hi:lLno:p:rs:tcuvw:z, xrefs: 004058BF
            • no destination, xrefs: 00405B45
            • -ddetach from console, background mode, xrefs: 00405F7D
            • port numbers can be individual or ranges: m-n [inclusive], xrefs: 00405FB9
            • [v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:, xrefs: 00405F71
            • -g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum, xrefs: 00405F95
            • sent %d, rcvd %d, xrefs: 00405B15
            • sent %d, rcvd %d, xrefs: 00405F24
            • -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning], xrefs: 00405FAD
            • no port[s] to connect to, xrefs: 00405B69
            • no connection, xrefs: 00405B32
            • invalid port %s, xrefs: 00405A86
            • -e proginbound program to exec [dangerous!!], xrefs: 00405F89
            • -tanswer TELNET negotiation, xrefs: 00405FA1
            • can't open %s, xrefs: 00405970
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: _close_itoa_open
            • String ID: -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning]$-ddetach from console, background mode$-e proginbound program to exec [dangerous!!]$-g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum$-tanswer TELNET negotiation$ sent %d, rcvd %d$[v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:$ade:g:G:hi:lLno:p:rs:tcuvw:z$can't open %s$invalid port %s$no connection$no destination$no port[s] to connect to$port numbers can be individual or ranges: m-n [inclusive]$sent %d, rcvd %d
            • API String ID: 357769857-3526283814
            • Opcode ID: a0cbd94ab833b5377a21c85ccb85a5987aa83267bc165d54f244e728c7fd89e3
            • Instruction ID: b209e171abd88e54e660072998be3d337a93ca3cf228b4de89aa67daf5c472ba
            • Opcode Fuzzy Hash: a0cbd94ab833b5377a21c85ccb85a5987aa83267bc165d54f244e728c7fd89e3
            • Instruction Fuzzy Hash: 44A13EA1B00A1486EB10DF26E89136A37A0FB44798F44442AEB5DB73E1EF3CD945C79C
            Uniqueness

            Uniqueness Score: -1.00%

            C-Code - Quality: 18%
            			E004057F3(void* __rsi, signed int _a16, long long _a24, long long _a32) {
            				void* _v24;
            				signed int _v32;
            				void* _v40;
            				signed int _v42;
            				signed short _v44;
            				signed int _v46;
            				signed int _v48;
            				signed long long _v56;
            				intOrPtr _v60;
            				signed int _v74;
            				signed int _t102;
            				signed int _t126;
            				signed int _t127;
            				void* _t142;
            				signed int _t145;
            				signed int _t152;
            				signed int _t154;
            				signed int _t156;
            				signed int _t185;
            				signed int _t191;
            				signed int _t205;
            				signed int _t239;
            				void* _t263;
            				signed int _t264;
            				signed int _t265;
            				signed int _t266;
            				signed int _t267;
            				void* _t268;
            				signed long long _t297;
            				signed int* _t298;
            				signed long long _t302;
            				signed long long _t305;
            				signed long long _t306;
            				intOrPtr _t309;
            				signed long long _t313;
            				signed long long _t316;
            				signed long long _t319;
            				signed int _t325;
            				signed long long _t327;
            				signed int _t334;
            				signed int* _t335;
            				signed long long _t339;
            				intOrPtr* _t341;
            				long long _t342;
            				long long* _t345;
            				signed long long _t365;
            				long long _t375;
            				signed long long _t376;
            				long long _t378;
            				char* _t379;
            				char* _t380;
            				long long _t428;
            				void* _t430;
            				void* _t440;
            
            				_t430 = __rsi;
            				 *0x40b0d8 = ( *0x40b0d8 & 0x0000ffff) + 1;
            				while(1) {
            					L25:
            					_t297 = _a24;
            					_t437 = "ade:g:G:hi:lLno:p:rs:tcuvw:z";
            					_t423 = _t297;
            					_t230 = _a16;
            					_t264 = E00402422(_a16, _t297, "ade:g:G:hi:lLno:p:rs:tcuvw:z");
            					if(_t264 != 0xffffffff) {
            						break;
            					}
            					if(( *0x40b0d6 & 0x0000ffff) != 0) {
            						L004073A0();
            						L004074F8();
            						_t231 = 0x10000;
            						E0040371E(0x10000, _t297, _t423);
            						_v56 = _t297;
            					}
            					_t302 =  *0x40b0e8;
            					if(_t302 != 0) {
            						_t231 = 0;
            						L00407358();
            						 *0x40b0d4 = 0;
            						 *0x40b074 = 0;
            					}
            					_t102 =  *0x40b0d4 & 0x0000ffff;
            					if(_t102 != 0) {
            						_t302 =  *0x40b0c0;
            						r8d = 0x1b4;
            						L00407370();
            						 *0x40b074 = _t102;
            						_t273 =  *0x40b074;
            						if( *0x40b074 <= 0) {
            							_t302 =  *0x40b0c0;
            							_t423 = _t302;
            							E004035DB(_t230, _t273, _t376, "can\'t open %s", _t302, _t437, _t440);
            						}
            						_t231 = 0x64;
            						E0040371E(0x64, _t302, _t423);
            						 *0x40b0c0 = _t302;
            					}
            					_t305 =  *((intOrPtr*)((_t302 << 3) + _a24));
            					if(_t305 != 0) {
            						_t375 =  *((intOrPtr*)((_t305 << 3) + _a24));
            						E00403841( *0x40b0d2 & 0xffff, _t375, _t423, _t440);
            						_v24 = _t375;
            					}
            					if(_v24 != 0 && _v24 + 0x1c0 != 0) {
            						_v40 = _v24 + 0x1c0;
            					}
            					if(_v40 != 0) {
            						 *0x40b048 =  *0x40b048 + 1;
            					}
            					_t306 = __imp___errno;
            					 *_t306();
            					 *_t306 = 0;
            					if(( *0x40b0d0 & 0x0000ffff) == 0) {
            						L55:
            						_t290 = _v40;
            						if(_v40 == 0) {
            							E004035DB(_t230, _t290, _t376, "no destination", _t423, _t437, _t440);
            						}
            						_t309 =  *((intOrPtr*)((_t306 << 3) + _a24));
            						_t291 = _t309;
            						if(_t309 == 0) {
            							E004035DB(_t230, _t291, _t376, "no port[s] to connect to", _t423, _t437, _t440);
            						}
            						_t313 =  *((intOrPtr*)((_t309 + 1 << 3) + _a24));
            						if(_t313 != 0) {
            							 *0x40802c = 0;
            						}
            						_v44 = _v42 & 0x0000ffff;
            						while(1) {
            							_t316 =  *((_t313 << 3) + _a24);
            							if(_t316 == 0) {
            								break;
            							}
            							_v74 = 0;
            							_v46 = _v74 & 0x0000ffff;
            							_t319 =  *((intOrPtr*)((_t316 << 3) + _a24));
            							L004074F0();
            							_t376 = _t319;
            							__eflags = _t376;
            							if(_t376 != 0) {
            								 *_t376 = 0;
            								_t376 = _t376 + 1;
            								_v46 = E00403BC0(0, _t376);
            								__eflags = _v46;
            								if(__eflags == 0) {
            									_t423 = _t376;
            									E004035DB(_t231, __eflags, _t376, "invalid port %s", _t376, _t438, _t440);
            								}
            							}
            							_t313 =  *((intOrPtr*)((_t319 << 3) + _a24));
            							_t384 = _t313;
            							_v74 = E00403BC0(0, _t313);
            							__eflags = _v74;
            							if(_v74 == 0) {
            								_t334 = (_t313 << 3) + _a24;
            								__eflags = _t334;
            								_t313 =  *_t334;
            								_t423 = _t313;
            								_t384 = "invalid port %s";
            								E004035DB(_t231, _t334, _t376, "invalid port %s", _t313, _t438, _t440);
            							}
            							__eflags = (_v46 & 0x0000ffff) - _v74;
            							if((_v46 & 0x0000ffff) <= _v74) {
            								_v48 = _v74 & 0x0000ffff;
            							} else {
            								 *0x40802c = 0;
            								_v48 = _v46 & 0x0000ffff;
            								__eflags =  *0x40b0d6 & 0x0000ffff;
            								if(( *0x40b0d6 & 0x0000ffff) != 0) {
            									_t231 = _v46 & 0x0000ffff;
            									r8d = _v46 & 0x0000ffff;
            									E00403E4E(_v74 & 0x0000ffff, _v56, _v56);
            									_t313 = _v56;
            									_t384 = _t313;
            									_v48 = E00403DCA(_t265, _t313, _t313);
            								}
            							}
            							while(1) {
            								__eflags = (_v74 & 0x0000ffff) - _v48;
            								if((_v74 & 0x0000ffff) > _v48) {
            									break;
            								}
            								__eflags = _v42;
            								if(_v42 == 0) {
            									_t154 =  *0x40b0d6 & 0x0000ffff;
            									__eflags = _t154;
            									if(_t154 != 0) {
            										L004074C0();
            										_v44 = _t154;
            										__eflags = _v44 - 0x1fff;
            										if(_v44 <= 0x1fff) {
            											_t69 =  &_v44;
            											 *_t69 = _v44 + 0x2000;
            											__eflags =  *_t69;
            										}
            									}
            								}
            								_t231 = 0;
            								_v48 = E00403BC0(_v48 & 0x0000ffff, _t384);
            								_t322 = _v40;
            								r9d = _v44 & 0x0000ffff;
            								_t438 = _v32;
            								 *0x408010 = E00403EC7(_v48 & 0x0000ffff, _v40, _t423, _v32, _t440);
            								_t126 =  *0x408010; // 0xffffffff
            								__eflags = _t126;
            								if(_t126 > 0) {
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) != 0) {
            										__eflags =  *0x40b0d8 & 0x0000ffff;
            										if(( *0x40b0d8 & 0x0000ffff) != 0) {
            											_t152 =  *0x408010; // 0xffffffff
            											_t423 = _v40;
            											_t231 = _t152;
            											 *0x408010 = E00404773(_t152, _t322, _v40);
            										}
            									}
            								}
            								_t127 =  *0x408010; // 0xffffffff
            								__eflags = _t127;
            								if(_t127 <= 0) {
            									_t265 = 1;
            									__eflags =  *0x40802c & 0x0000ffff;
            									if(( *0x40802c & 0x0000ffff) != 0) {
            										L88:
            										_t325 = _v24 + 0x100;
            										__eflags = _t325;
            										_t326 = _v24;
            										_a32 =  *0x40b0b8;
            										r9d = _v48 & 0x0000ffff;
            										_t438 = _t325;
            										_t423 = _v24;
            										E004034EB("%s [%s] %d (%s)", _v24, _t325, _t440);
            										goto L89;
            									}
            									__eflags = ( *0x40b0da & 0x0000ffff) - 1;
            									if(( *0x40b0da & 0x0000ffff) > 1) {
            										goto L88;
            									}
            									_t326 = __imp__WSAGetLastError;
            									_t142 =  *__imp__WSAGetLastError();
            									__eflags = _t142 - 0x274d;
            									if(_t142 == 0x274d) {
            										goto L89;
            									}
            									goto L88;
            								} else {
            									_t265 = 0;
            									_a32 =  *0x40b0b8;
            									r9d = _v48 & 0x0000ffff;
            									_t438 = _v24 + 0x100;
            									_t423 = _v24;
            									E004034EB("%s [%s] %d (%s) open", _v24, _v24 + 0x100, _t440);
            									_t326 =  *0x40b0e8;
            									__eflags = _t326;
            									if(_t326 != 0) {
            										E004026FD(_t231, _t326, _t326, _t438);
            									}
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) == 0) {
            										_t326 =  *0x40b0e8;
            										__eflags = _t326;
            										if(_t326 == 0) {
            											_t145 =  *0x408010; // 0xffffffff
            											_t231 = _t145;
            											_t265 = E00404B7C(_t145, _t263, _t268, _t438, _t440);
            										}
            									}
            									L89:
            									_t327 = __imp__shutdown;
            									 *_t327();
            									_t384 = _t327;
            									_t313 = __imp__closesocket;
            									 *_t313();
            									__eflags =  *0x40b0cc;
            									if( *0x40b0cc != 0) {
            										_t231 =  *0x40b0cc;
            										_t313 = __imp___sleep;
            										 *_t313();
            									}
            									__eflags =  *0x40b0d6 & 0x0000ffff;
            									if(( *0x40b0d6 & 0x0000ffff) == 0) {
            										_t88 =  &_v48;
            										 *_t88 = _v48 - 1;
            										__eflags =  *_t88;
            									} else {
            										_t313 = _v56;
            										_t384 = _t313;
            										_v48 = E00403DCA(_t265, _t313, _t313);
            									}
            									continue;
            								}
            							}
            							_t156 =  *0x40b048 + 1;
            							__eflags = _t156;
            							 *0x40b048 = _t156;
            						}
            						_t335 = __imp___errno;
            						 *_t335();
            						 *_t335 = 0;
            						if(( *0x40b0da & 0x0000ffff) > 1) {
            							r8d =  *0x40b080;
            							E004034EB("sent %d, rcvd %d", _t423, _t438, _t440);
            						}
            						 *__imp__WSACleanup();
            						if(_v60 == 1) {
            							goto L3;
            						} else {
            							_t296 =  *0x40802c & 0x0000ffff;
            							if(( *0x40802c & 0x0000ffff) != 0) {
            								L00407428();
            							}
            							L00407428();
            							 *0x40b0da = 1;
            							E004034EB("[v1.12 NT http://eternallybored.org/misc/netcat/]\nconnect to somewhere:\tnc [-options] hostname port[s] [ports] ... \nlisten for inbound:\tnc -l -p port [options] [hostname] [port]\noptions:", _t423, _t438, _t440);
            							E004034EB("\t-d\t\tdetach from console, background mode\n", _t423, _t438, _t440);
            							E004034EB("\t-e prog\t\tinbound program to exec [dangerous!!]", _t423, _t438, _t440);
            							E004034EB("\t-g gateway\tsource-routing hop point[s], up to 8\n\t-G num\t\tsource-routing pointer: 4, 8, 12, ...\n\t-h\t\tthis cruft\n\t-i secs\t\tdelay interval for lines sent, ports scanned\n\t-l\t\tlisten mode, for inbound connects\n\t-L\t\tlisten harder, re-listen on socket close\n\t-n\t\tnumeric-only IP addresses, no DNS\n\t-o file\t\thex dump of traffic\n\t-p port\t\tlocal port number\n\t-r\t\trandomize local and remote ports\n\t-s addr\t\tlocal source address", _t423, _t438, _t440);
            							E004034EB("\t-t\t\tanswer TELNET negotiation", _t423, _t438, _t440);
            							E004034EB("\t-c\t\tsend CRLF instead of just LF\n\t-u\t\tUDP mode\n\t-v\t\tverbose [use twice to be more verbose]\n\t-w secs\t\ttimeout for connects and final net reads\n\t-z\t\tzero-I/O mode [used for scanning]", _t423, _t438, _t440);
            							E004035DB(0, _t296, _t376, "port numbers can be individual or ranges: m-n [inclusive]", _t423, _t438, _t440);
            							return 0;
            						}
            					} else {
            						_v48 = 0;
            						_t339 =  *((intOrPtr*)((_t306 << 3) + _a24));
            						if(_t339 != 0) {
            							_t365 =  *((intOrPtr*)((_t339 << 3) + _a24));
            							_v48 = E00403BC0(0, _t365);
            							if(_v48 == 0) {
            								_t423 =  *((intOrPtr*)((_t365 << 3) + _a24));
            								E004035DB(_t230, (_t365 << 3) + _a24, _t376, "invalid port %s",  *((intOrPtr*)((_t365 << 3) + _a24)), _t437, _t440);
            							}
            						}
            						_t306 = _v40;
            						r9d = _v42 & 0x0000ffff;
            						_t438 = _v32;
            						 *0x408010 = E0040425F(_v48 & 0x0000ffff, _t306, _v32, _t440);
            						_t185 =  *0x408010; // 0xffffffff
            						if(_t185 <= 0) {
            							L54:
            							E004035DB(_t230, _t289, _t376, "no connection", _t423, _t438, _t440);
            							goto L55;
            						} else {
            							_t340 =  *0x40b0e8;
            							if( *0x40b0e8 != 0) {
            								E004026FD(_t230, _t340, _t340, _t438);
            							}
            							_t306 =  *0x40b0e8;
            							if(_t306 == 0) {
            								_t205 =  *0x408010; // 0xffffffff
            								_t264 = E00404B7C(_t205, _t263, _t268, _t438, _t440);
            							}
            							if(( *0x40b0da & 0x0000ffff) > 1) {
            								r8d =  *0x40b080;
            								E004034EB(" sent %d, rcvd %d", _t423, _t438, _t440);
            							}
            							_t289 = _v60 - 1;
            							if(_v60 == 1) {
            								L3:
            								__eflags = _a16 - 1;
            								if(__eflags == 0) {
            									_t341 = _a24;
            									E0040371E(0x400, _t341, _t423);
            									_a24 = _t341;
            									_t342 = _a24;
            									 *_t342 =  *_t341;
            									E0040371E(0x2000, _t342, _t423);
            									_t378 = _t342;
            									 *((long long*)(_a24 + 8)) = _t378;
            									_t345 = __imp____iob_func;
            									 *_t345();
            									_t6 = _t345 + 0x60; // 0x60
            									_t440 = _t6;
            									r8d = 0xa;
            									L004074E8(); // executed
            									_t191 =  *__imp____iob_func();
            									L00407490();
            									r8d = 0x2000;
            									_t428 = _t378;
            									L00407368(); // executed
            									 *0x40b07c = _t191;
            									__eflags =  *0x40b07c;
            									if(__eflags == 0) {
            										E004035DB(0, __eflags, _t378, "wrong", _t428, _t438, _t440);
            									}
            									_t266 = E0040377B( *0x40b07c, _t378);
            									__eflags = _t266;
            									if(_t266 != 0) {
            										_t239 =  *0x40b07c - _t266;
            										__eflags = _t239;
            										 *0x40b07c = _t239;
            									}
            									__eflags =  *0x40b07c;
            									if( *0x40b07c != 0) {
            										L004073F8();
            									}
            									L004074F0();
            									_t379 =  *((intOrPtr*)(_a24 + 8));
            									__eflags = _t379;
            									if(_t379 != 0) {
            										 *_t379 = 0;
            									}
            									L004074F0();
            									_t380 =  *((intOrPtr*)(_a24 + 8));
            									__eflags = _t380;
            									if(_t380 != 0) {
            										 *_t380 = 0;
            									}
            									_t376 =  *((intOrPtr*)(_a24 + 8)) + 1;
            									_t267 = 2;
            									while(1) {
            										__eflags =  *_t376 & 0x000000ff;
            										if(__eflags == 0) {
            											break;
            										}
            										__eflags = ( *_t376 & 0x000000ff) - 0x20;
            										if(( *_t376 & 0x000000ff) != 0x20) {
            											_t11 = _t376 - 1; // -2
            											__eflags =  *_t11 & 0x000000ff;
            											if(( *_t11 & 0x000000ff) == 0) {
            												 *((_t267 << 3) + _a24) = _t376;
            												_t267 = _t267 + 1;
            												__eflags = _t267;
            											}
            										} else {
            											 *_t376 = 0;
            										}
            										_t376 = _t376 + 1;
            										__eflags = _t376;
            									}
            									_a16 = _t267;
            								}
            								continue;
            							} else {
            								_t230 = _t264;
            								L00407428();
            								goto L54;
            							}
            						}
            					}
            				}
            				_t14 = _t430 - 0x47; // -71
            				__eflags = _t14 - 0x33;
            				if(__eflags > 0) {
            					_t298 = __imp___errno;
            					 *_t298();
            					 *_t298 = 0;
            					E004035DB(_t230, __eflags, _t376, "nc -h for help", _t423, "ade:g:G:hi:lLno:p:rs:tcuvw:z", _t440);
            					goto L25;
            				}
            				_t423 =  *((intOrPtr*)(0x409b50 + _t297 * 4));
            				goto __rax;
            			}

























































            0x004057f3
            0x004057fd
            0x004058bb
            0x004058bb
            0x004058bb
            0x004058bf
            0x004058c6
            0x004058c9
            0x004058d1
            0x004058d6
            0x00000000
            0x00000000
            0x004058e6
            0x004058ed
            0x004058f4
            0x004058f9
            0x004058fe
            0x00405903
            0x00405903
            0x00405907
            0x00405911
            0x00405913
            0x00405918
            0x0040591d
            0x00405926
            0x00405926
            0x00405930
            0x0040593a
            0x0040593c
            0x00405943
            0x00405951
            0x00405956
            0x00405962
            0x00405964
            0x00405966
            0x0040596d
            0x00405977
            0x00405977
            0x0040597c
            0x00405981
            0x00405986
            0x00405986
            0x0040599d
            0x004059a3
            0x004059bf
            0x004059c5
            0x004059ca
            0x004059ca
            0x004059d3
            0x004059ee
            0x004059ee
            0x004059f7
            0x00405a02
            0x00405a02
            0x00405a08
            0x00405a0f
            0x00405a11
            0x00405a21
            0x00405b3e
            0x00405b3e
            0x00405b43
            0x00405b4c
            0x00405b4c
            0x00405b61
            0x00405b64
            0x00405b67
            0x00405b70
            0x00405b70
            0x00405b89
            0x00405b8f
            0x00405b91
            0x00405b91
            0x00405b9e
            0x00405edb
            0x00405eeb
            0x00405ef1
            0x00000000
            0x00000000
            0x00405ba7
            0x00405bb1
            0x00405bc5
            0x00405bd0
            0x00405bd5
            0x00405bd8
            0x00405bdb
            0x00405bdd
            0x00405be0
            0x00405bf1
            0x00405bf5
            0x00405bfa
            0x00405bfc
            0x00405c06
            0x00405c06
            0x00405bfa
            0x00405c1b
            0x00405c23
            0x00405c2b
            0x00405c2f
            0x00405c34
            0x00405c42
            0x00405c42
            0x00405c46
            0x00405c49
            0x00405c4c
            0x00405c53
            0x00405c53
            0x00405c5c
            0x00405c60
            0x00405cb3
            0x00405c62
            0x00405c62
            0x00405c6f
            0x00405c7a
            0x00405c7d
            0x00405c83
            0x00405c8f
            0x00405c95
            0x00405c9a
            0x00405c9e
            0x00405ca6
            0x00405ca6
            0x00405c7d
            0x00405ebe
            0x00405ec2
            0x00405ec6
            0x00000000
            0x00000000
            0x00405cbc
            0x00405cc1
            0x00405cc3
            0x00405cca
            0x00405ccd
            0x00405ccf
            0x00405cd4
            0x00405cd8
            0x00405cde
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405cde
            0x00405ccd
            0x00405cec
            0x00405cf6
            0x00405d06
            0x00405d0a
            0x00405d0d
            0x00405d18
            0x00405d1e
            0x00405d24
            0x00405d26
            0x00405d2f
            0x00405d32
            0x00405d3b
            0x00405d3e
            0x00405d40
            0x00405d46
            0x00405d4a
            0x00405d51
            0x00405d51
            0x00405d3e
            0x00405d32
            0x00405d57
            0x00405d5d
            0x00405d5f
            0x00405dec
            0x00405df8
            0x00405dfb
            0x00405e1a
            0x00405e2c
            0x00405e2c
            0x00405e35
            0x00405e39
            0x00405e3e
            0x00405e41
            0x00405e44
            0x00405e4e
            0x00000000
            0x00405e4e
            0x00405e04
            0x00405e08
            0x00000000
            0x00000000
            0x00405e0a
            0x00405e11
            0x00405e13
            0x00405e18
            0x00000000
            0x00000000
            0x00000000
            0x00405d65
            0x00405d65
            0x00405d89
            0x00405d8e
            0x00405d91
            0x00405d94
            0x00405d9e
            0x00405da3
            0x00405daa
            0x00405dad
            0x00405dba
            0x00405dba
            0x00405dc6
            0x00405dc9
            0x00405dcf
            0x00405dd6
            0x00405dd9
            0x00405ddb
            0x00405de1
            0x00405de8
            0x00405de8
            0x00405dd9
            0x00405e53
            0x00405e63
            0x00405e6a
            0x00405e74
            0x00405e77
            0x00405e7e
            0x00405e86
            0x00405e88
            0x00405e90
            0x00405e92
            0x00405e99
            0x00405e99
            0x00405ea2
            0x00405ea5
            0x00405eb9
            0x00405eb9
            0x00405eb9
            0x00405ea7
            0x00405ea7
            0x00405eab
            0x00405eb3
            0x00405eb3
            0x00000000
            0x00405ea5
            0x00405d5f
            0x00405ed2
            0x00405ed2
            0x00405ed5
            0x00405ed5
            0x00405ef7
            0x00405efe
            0x00405f00
            0x00405f11
            0x00405f1f
            0x00405f2b
            0x00405f2b
            0x00405f37
            0x00405f3d
            0x00000000
            0x00405f43
            0x00405f4a
            0x00405f4d
            0x00405f51
            0x00405f51
            0x00405f5b
            0x00405f68
            0x00405f78
            0x00405f84
            0x00405f90
            0x00405f9c
            0x00405fa8
            0x00405fb4
            0x00405fc0
            0x00405fcb
            0x00405fcb
            0x00405a27
            0x00405a27
            0x00405a3d
            0x00405a43
            0x00405a55
            0x00405a65
            0x00405a6e
            0x00405a83
            0x00405a8d
            0x00405a8d
            0x00405a6e
            0x00405a9e
            0x00405aa2
            0x00405aa5
            0x00405ab0
            0x00405ab6
            0x00405abe
            0x00405b32
            0x00405b39
            0x00000000
            0x00405ac0
            0x00405ac0
            0x00405aca
            0x00405ad7
            0x00405ad7
            0x00405adc
            0x00405ae6
            0x00405ae8
            0x00405af5
            0x00405af5
            0x00405b02
            0x00405b10
            0x00405b1c
            0x00405b1c
            0x00405b21
            0x00405b25
            0x0040539b
            0x0040539b
            0x0040539f
            0x004053a5
            0x004053b1
            0x004053b6
            0x004053ba
            0x004053be
            0x004053c6
            0x004053cb
            0x004053d6
            0x004053d9
            0x004053e0
            0x004053e2
            0x004053ed
            0x004053f0
            0x004053fe
            0x0040540a
            0x00405413
            0x00405418
            0x0040541e
            0x00405426
            0x0040542b
            0x00405437
            0x00405439
            0x00405442
            0x00405442
            0x00405457
            0x00405459
            0x0040545b
            0x00405467
            0x00405467
            0x0040546b
            0x0040546b
            0x00405477
            0x00405479
            0x00405497
            0x00405497
            0x004054af
            0x004054b4
            0x004054b7
            0x004054ba
            0x004054bc
            0x004054bc
            0x004054d2
            0x004054d7
            0x004054da
            0x004054dd
            0x004054df
            0x004054df
            0x004054ed
            0x004054f1
            0x00405524
            0x00405527
            0x00405529
            0x00000000
            0x00000000
            0x004054fb
            0x004054fd
            0x00405504
            0x0040550b
            0x0040550d
            0x0040551a
            0x0040551d
            0x0040551d
            0x0040551d
            0x004054ff
            0x004054ff
            0x004054ff
            0x00405520
            0x00405520
            0x00405520
            0x0040552b
            0x0040552b
            0x00000000
            0x00405b2b
            0x00405b2b
            0x00405b2d
            0x00000000
            0x00405b2d
            0x00405b25
            0x00405abe
            0x00405a21
            0x00405533
            0x00405536
            0x00405539
            0x0040589a
            0x004058a1
            0x004058a3
            0x004058b0
            0x00000000
            0x004058b0
            0x00405553
            0x00405561

            APIs
            Strings
            • ade:g:G:hi:lLno:p:rs:tcuvw:z, xrefs: 004058BF
            • no destination, xrefs: 00405B45
            • -ddetach from console, background mode, xrefs: 00405F7D
            • port numbers can be individual or ranges: m-n [inclusive], xrefs: 00405FB9
            • [v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:, xrefs: 00405F71
            • -g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum, xrefs: 00405F95
            • sent %d, rcvd %d, xrefs: 00405B15
            • sent %d, rcvd %d, xrefs: 00405F24
            • -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning], xrefs: 00405FAD
            • no port[s] to connect to, xrefs: 00405B69
            • no connection, xrefs: 00405B32
            • invalid port %s, xrefs: 00405A86
            • -e proginbound program to exec [dangerous!!], xrefs: 00405F89
            • -tanswer TELNET negotiation, xrefs: 00405FA1
            • can't open %s, xrefs: 00405970
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: _close_itoa_open
            • String ID: -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning]$-ddetach from console, background mode$-e proginbound program to exec [dangerous!!]$-g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum$-tanswer TELNET negotiation$ sent %d, rcvd %d$[v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:$ade:g:G:hi:lLno:p:rs:tcuvw:z$can't open %s$invalid port %s$no connection$no destination$no port[s] to connect to$port numbers can be individual or ranges: m-n [inclusive]$sent %d, rcvd %d
            • API String ID: 357769857-3526283814
            • Opcode ID: ca32ef9a596dc3f52f2dab401382c3e440302f7bb3ee0b3c3bd24f8a6a9251b7
            • Instruction ID: 8d424b4d7d049871720d3b4a90c17472bb77e7b16826db6d56e936f330c36256
            • Opcode Fuzzy Hash: ca32ef9a596dc3f52f2dab401382c3e440302f7bb3ee0b3c3bd24f8a6a9251b7
            • Instruction Fuzzy Hash: 5EA13EA1B00A1486EB10DF26E89136A37A0FB44798F44442AEB5DB73E1EF3CD945C79C
            Uniqueness

            Uniqueness Score: -1.00%

            C-Code - Quality: 18%
            			E00405781(void* __rsi, signed int _a16, long long _a24, long long _a32) {
            				void* _v24;
            				signed int _v32;
            				void* _v40;
            				signed int _v42;
            				signed short _v44;
            				signed int _v46;
            				signed int _v48;
            				signed long long _v56;
            				intOrPtr _v60;
            				signed int _v74;
            				signed int _t102;
            				signed int _t126;
            				signed int _t127;
            				void* _t142;
            				signed int _t145;
            				signed int _t152;
            				signed int _t154;
            				signed int _t156;
            				signed int _t185;
            				signed int _t191;
            				signed int _t205;
            				signed int _t239;
            				void* _t263;
            				signed int _t264;
            				signed int _t265;
            				signed int _t266;
            				signed int _t267;
            				void* _t268;
            				signed long long _t297;
            				signed int* _t298;
            				signed long long _t302;
            				signed long long _t305;
            				signed long long _t306;
            				intOrPtr _t309;
            				signed long long _t313;
            				signed long long _t316;
            				signed long long _t319;
            				signed int _t325;
            				signed long long _t327;
            				signed int _t334;
            				signed int* _t335;
            				signed long long _t339;
            				intOrPtr* _t341;
            				long long _t342;
            				long long* _t345;
            				signed long long _t365;
            				long long _t375;
            				signed long long _t376;
            				long long _t378;
            				char* _t379;
            				char* _t380;
            				long long _t428;
            				void* _t430;
            				void* _t440;
            
            				_t430 = __rsi;
            				 *0x40b0d6 = ( *0x40b0d6 & 0x0000ffff) + 1;
            				while(1) {
            					L25:
            					_t297 = _a24;
            					_t437 = "ade:g:G:hi:lLno:p:rs:tcuvw:z";
            					_t423 = _t297;
            					_t230 = _a16;
            					_t264 = E00402422(_a16, _t297, "ade:g:G:hi:lLno:p:rs:tcuvw:z");
            					if(_t264 != 0xffffffff) {
            						break;
            					}
            					if(( *0x40b0d6 & 0x0000ffff) != 0) {
            						L004073A0();
            						L004074F8();
            						_t231 = 0x10000;
            						E0040371E(0x10000, _t297, _t423);
            						_v56 = _t297;
            					}
            					_t302 =  *0x40b0e8;
            					if(_t302 != 0) {
            						_t231 = 0;
            						L00407358();
            						 *0x40b0d4 = 0;
            						 *0x40b074 = 0;
            					}
            					_t102 =  *0x40b0d4 & 0x0000ffff;
            					if(_t102 != 0) {
            						_t302 =  *0x40b0c0;
            						r8d = 0x1b4;
            						L00407370();
            						 *0x40b074 = _t102;
            						_t273 =  *0x40b074;
            						if( *0x40b074 <= 0) {
            							_t302 =  *0x40b0c0;
            							_t423 = _t302;
            							E004035DB(_t230, _t273, _t376, "can\'t open %s", _t302, _t437, _t440);
            						}
            						_t231 = 0x64;
            						E0040371E(0x64, _t302, _t423);
            						 *0x40b0c0 = _t302;
            					}
            					_t305 =  *((intOrPtr*)((_t302 << 3) + _a24));
            					if(_t305 != 0) {
            						_t375 =  *((intOrPtr*)((_t305 << 3) + _a24));
            						E00403841( *0x40b0d2 & 0xffff, _t375, _t423, _t440);
            						_v24 = _t375;
            					}
            					if(_v24 != 0 && _v24 + 0x1c0 != 0) {
            						_v40 = _v24 + 0x1c0;
            					}
            					if(_v40 != 0) {
            						 *0x40b048 =  *0x40b048 + 1;
            					}
            					_t306 = __imp___errno;
            					 *_t306();
            					 *_t306 = 0;
            					if(( *0x40b0d0 & 0x0000ffff) == 0) {
            						L55:
            						_t290 = _v40;
            						if(_v40 == 0) {
            							E004035DB(_t230, _t290, _t376, "no destination", _t423, _t437, _t440);
            						}
            						_t309 =  *((intOrPtr*)((_t306 << 3) + _a24));
            						_t291 = _t309;
            						if(_t309 == 0) {
            							E004035DB(_t230, _t291, _t376, "no port[s] to connect to", _t423, _t437, _t440);
            						}
            						_t313 =  *((intOrPtr*)((_t309 + 1 << 3) + _a24));
            						if(_t313 != 0) {
            							 *0x40802c = 0;
            						}
            						_v44 = _v42 & 0x0000ffff;
            						while(1) {
            							_t316 =  *((_t313 << 3) + _a24);
            							if(_t316 == 0) {
            								break;
            							}
            							_v74 = 0;
            							_v46 = _v74 & 0x0000ffff;
            							_t319 =  *((intOrPtr*)((_t316 << 3) + _a24));
            							L004074F0();
            							_t376 = _t319;
            							__eflags = _t376;
            							if(_t376 != 0) {
            								 *_t376 = 0;
            								_t376 = _t376 + 1;
            								_v46 = E00403BC0(0, _t376);
            								__eflags = _v46;
            								if(__eflags == 0) {
            									_t423 = _t376;
            									E004035DB(_t231, __eflags, _t376, "invalid port %s", _t376, _t438, _t440);
            								}
            							}
            							_t313 =  *((intOrPtr*)((_t319 << 3) + _a24));
            							_t384 = _t313;
            							_v74 = E00403BC0(0, _t313);
            							__eflags = _v74;
            							if(_v74 == 0) {
            								_t334 = (_t313 << 3) + _a24;
            								__eflags = _t334;
            								_t313 =  *_t334;
            								_t423 = _t313;
            								_t384 = "invalid port %s";
            								E004035DB(_t231, _t334, _t376, "invalid port %s", _t313, _t438, _t440);
            							}
            							__eflags = (_v46 & 0x0000ffff) - _v74;
            							if((_v46 & 0x0000ffff) <= _v74) {
            								_v48 = _v74 & 0x0000ffff;
            							} else {
            								 *0x40802c = 0;
            								_v48 = _v46 & 0x0000ffff;
            								__eflags =  *0x40b0d6 & 0x0000ffff;
            								if(( *0x40b0d6 & 0x0000ffff) != 0) {
            									_t231 = _v46 & 0x0000ffff;
            									r8d = _v46 & 0x0000ffff;
            									E00403E4E(_v74 & 0x0000ffff, _v56, _v56);
            									_t313 = _v56;
            									_t384 = _t313;
            									_v48 = E00403DCA(_t265, _t313, _t313);
            								}
            							}
            							while(1) {
            								__eflags = (_v74 & 0x0000ffff) - _v48;
            								if((_v74 & 0x0000ffff) > _v48) {
            									break;
            								}
            								__eflags = _v42;
            								if(_v42 == 0) {
            									_t154 =  *0x40b0d6 & 0x0000ffff;
            									__eflags = _t154;
            									if(_t154 != 0) {
            										L004074C0();
            										_v44 = _t154;
            										__eflags = _v44 - 0x1fff;
            										if(_v44 <= 0x1fff) {
            											_t69 =  &_v44;
            											 *_t69 = _v44 + 0x2000;
            											__eflags =  *_t69;
            										}
            									}
            								}
            								_t231 = 0;
            								_v48 = E00403BC0(_v48 & 0x0000ffff, _t384);
            								_t322 = _v40;
            								r9d = _v44 & 0x0000ffff;
            								_t438 = _v32;
            								 *0x408010 = E00403EC7(_v48 & 0x0000ffff, _v40, _t423, _v32, _t440);
            								_t126 =  *0x408010; // 0xffffffff
            								__eflags = _t126;
            								if(_t126 > 0) {
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) != 0) {
            										__eflags =  *0x40b0d8 & 0x0000ffff;
            										if(( *0x40b0d8 & 0x0000ffff) != 0) {
            											_t152 =  *0x408010; // 0xffffffff
            											_t423 = _v40;
            											_t231 = _t152;
            											 *0x408010 = E00404773(_t152, _t322, _v40);
            										}
            									}
            								}
            								_t127 =  *0x408010; // 0xffffffff
            								__eflags = _t127;
            								if(_t127 <= 0) {
            									_t265 = 1;
            									__eflags =  *0x40802c & 0x0000ffff;
            									if(( *0x40802c & 0x0000ffff) != 0) {
            										L88:
            										_t325 = _v24 + 0x100;
            										__eflags = _t325;
            										_t326 = _v24;
            										_a32 =  *0x40b0b8;
            										r9d = _v48 & 0x0000ffff;
            										_t438 = _t325;
            										_t423 = _v24;
            										E004034EB("%s [%s] %d (%s)", _v24, _t325, _t440);
            										goto L89;
            									}
            									__eflags = ( *0x40b0da & 0x0000ffff) - 1;
            									if(( *0x40b0da & 0x0000ffff) > 1) {
            										goto L88;
            									}
            									_t326 = __imp__WSAGetLastError;
            									_t142 =  *__imp__WSAGetLastError();
            									__eflags = _t142 - 0x274d;
            									if(_t142 == 0x274d) {
            										goto L89;
            									}
            									goto L88;
            								} else {
            									_t265 = 0;
            									_a32 =  *0x40b0b8;
            									r9d = _v48 & 0x0000ffff;
            									_t438 = _v24 + 0x100;
            									_t423 = _v24;
            									E004034EB("%s [%s] %d (%s) open", _v24, _v24 + 0x100, _t440);
            									_t326 =  *0x40b0e8;
            									__eflags = _t326;
            									if(_t326 != 0) {
            										E004026FD(_t231, _t326, _t326, _t438);
            									}
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) == 0) {
            										_t326 =  *0x40b0e8;
            										__eflags = _t326;
            										if(_t326 == 0) {
            											_t145 =  *0x408010; // 0xffffffff
            											_t231 = _t145;
            											_t265 = E00404B7C(_t145, _t263, _t268, _t438, _t440);
            										}
            									}
            									L89:
            									_t327 = __imp__shutdown;
            									 *_t327();
            									_t384 = _t327;
            									_t313 = __imp__closesocket;
            									 *_t313();
            									__eflags =  *0x40b0cc;
            									if( *0x40b0cc != 0) {
            										_t231 =  *0x40b0cc;
            										_t313 = __imp___sleep;
            										 *_t313();
            									}
            									__eflags =  *0x40b0d6 & 0x0000ffff;
            									if(( *0x40b0d6 & 0x0000ffff) == 0) {
            										_t88 =  &_v48;
            										 *_t88 = _v48 - 1;
            										__eflags =  *_t88;
            									} else {
            										_t313 = _v56;
            										_t384 = _t313;
            										_v48 = E00403DCA(_t265, _t313, _t313);
            									}
            									continue;
            								}
            							}
            							_t156 =  *0x40b048 + 1;
            							__eflags = _t156;
            							 *0x40b048 = _t156;
            						}
            						_t335 = __imp___errno;
            						 *_t335();
            						 *_t335 = 0;
            						if(( *0x40b0da & 0x0000ffff) > 1) {
            							r8d =  *0x40b080;
            							E004034EB("sent %d, rcvd %d", _t423, _t438, _t440);
            						}
            						 *__imp__WSACleanup();
            						if(_v60 == 1) {
            							goto L3;
            						} else {
            							_t296 =  *0x40802c & 0x0000ffff;
            							if(( *0x40802c & 0x0000ffff) != 0) {
            								L00407428();
            							}
            							L00407428();
            							 *0x40b0da = 1;
            							E004034EB("[v1.12 NT http://eternallybored.org/misc/netcat/]\nconnect to somewhere:\tnc [-options] hostname port[s] [ports] ... \nlisten for inbound:\tnc -l -p port [options] [hostname] [port]\noptions:", _t423, _t438, _t440);
            							E004034EB("\t-d\t\tdetach from console, background mode\n", _t423, _t438, _t440);
            							E004034EB("\t-e prog\t\tinbound program to exec [dangerous!!]", _t423, _t438, _t440);
            							E004034EB("\t-g gateway\tsource-routing hop point[s], up to 8\n\t-G num\t\tsource-routing pointer: 4, 8, 12, ...\n\t-h\t\tthis cruft\n\t-i secs\t\tdelay interval for lines sent, ports scanned\n\t-l\t\tlisten mode, for inbound connects\n\t-L\t\tlisten harder, re-listen on socket close\n\t-n\t\tnumeric-only IP addresses, no DNS\n\t-o file\t\thex dump of traffic\n\t-p port\t\tlocal port number\n\t-r\t\trandomize local and remote ports\n\t-s addr\t\tlocal source address", _t423, _t438, _t440);
            							E004034EB("\t-t\t\tanswer TELNET negotiation", _t423, _t438, _t440);
            							E004034EB("\t-c\t\tsend CRLF instead of just LF\n\t-u\t\tUDP mode\n\t-v\t\tverbose [use twice to be more verbose]\n\t-w secs\t\ttimeout for connects and final net reads\n\t-z\t\tzero-I/O mode [used for scanning]", _t423, _t438, _t440);
            							E004035DB(0, _t296, _t376, "port numbers can be individual or ranges: m-n [inclusive]", _t423, _t438, _t440);
            							return 0;
            						}
            					} else {
            						_v48 = 0;
            						_t339 =  *((intOrPtr*)((_t306 << 3) + _a24));
            						if(_t339 != 0) {
            							_t365 =  *((intOrPtr*)((_t339 << 3) + _a24));
            							_v48 = E00403BC0(0, _t365);
            							if(_v48 == 0) {
            								_t423 =  *((intOrPtr*)((_t365 << 3) + _a24));
            								E004035DB(_t230, (_t365 << 3) + _a24, _t376, "invalid port %s",  *((intOrPtr*)((_t365 << 3) + _a24)), _t437, _t440);
            							}
            						}
            						_t306 = _v40;
            						r9d = _v42 & 0x0000ffff;
            						_t438 = _v32;
            						 *0x408010 = E0040425F(_v48 & 0x0000ffff, _t306, _v32, _t440);
            						_t185 =  *0x408010; // 0xffffffff
            						if(_t185 <= 0) {
            							L54:
            							E004035DB(_t230, _t289, _t376, "no connection", _t423, _t438, _t440);
            							goto L55;
            						} else {
            							_t340 =  *0x40b0e8;
            							if( *0x40b0e8 != 0) {
            								E004026FD(_t230, _t340, _t340, _t438);
            							}
            							_t306 =  *0x40b0e8;
            							if(_t306 == 0) {
            								_t205 =  *0x408010; // 0xffffffff
            								_t264 = E00404B7C(_t205, _t263, _t268, _t438, _t440);
            							}
            							if(( *0x40b0da & 0x0000ffff) > 1) {
            								r8d =  *0x40b080;
            								E004034EB(" sent %d, rcvd %d", _t423, _t438, _t440);
            							}
            							_t289 = _v60 - 1;
            							if(_v60 == 1) {
            								L3:
            								__eflags = _a16 - 1;
            								if(__eflags == 0) {
            									_t341 = _a24;
            									E0040371E(0x400, _t341, _t423);
            									_a24 = _t341;
            									_t342 = _a24;
            									 *_t342 =  *_t341;
            									E0040371E(0x2000, _t342, _t423);
            									_t378 = _t342;
            									 *((long long*)(_a24 + 8)) = _t378;
            									_t345 = __imp____iob_func;
            									 *_t345();
            									_t6 = _t345 + 0x60; // 0x60
            									_t440 = _t6;
            									r8d = 0xa;
            									L004074E8(); // executed
            									_t191 =  *__imp____iob_func();
            									L00407490();
            									r8d = 0x2000;
            									_t428 = _t378;
            									L00407368(); // executed
            									 *0x40b07c = _t191;
            									__eflags =  *0x40b07c;
            									if(__eflags == 0) {
            										E004035DB(0, __eflags, _t378, "wrong", _t428, _t438, _t440);
            									}
            									_t266 = E0040377B( *0x40b07c, _t378);
            									__eflags = _t266;
            									if(_t266 != 0) {
            										_t239 =  *0x40b07c - _t266;
            										__eflags = _t239;
            										 *0x40b07c = _t239;
            									}
            									__eflags =  *0x40b07c;
            									if( *0x40b07c != 0) {
            										L004073F8();
            									}
            									L004074F0();
            									_t379 =  *((intOrPtr*)(_a24 + 8));
            									__eflags = _t379;
            									if(_t379 != 0) {
            										 *_t379 = 0;
            									}
            									L004074F0();
            									_t380 =  *((intOrPtr*)(_a24 + 8));
            									__eflags = _t380;
            									if(_t380 != 0) {
            										 *_t380 = 0;
            									}
            									_t376 =  *((intOrPtr*)(_a24 + 8)) + 1;
            									_t267 = 2;
            									while(1) {
            										__eflags =  *_t376 & 0x000000ff;
            										if(__eflags == 0) {
            											break;
            										}
            										__eflags = ( *_t376 & 0x000000ff) - 0x20;
            										if(( *_t376 & 0x000000ff) != 0x20) {
            											_t11 = _t376 - 1; // -2
            											__eflags =  *_t11 & 0x000000ff;
            											if(( *_t11 & 0x000000ff) == 0) {
            												 *((_t267 << 3) + _a24) = _t376;
            												_t267 = _t267 + 1;
            												__eflags = _t267;
            											}
            										} else {
            											 *_t376 = 0;
            										}
            										_t376 = _t376 + 1;
            										__eflags = _t376;
            									}
            									_a16 = _t267;
            								}
            								continue;
            							} else {
            								_t230 = _t264;
            								L00407428();
            								goto L54;
            							}
            						}
            					}
            				}
            				_t14 = _t430 - 0x47; // -71
            				__eflags = _t14 - 0x33;
            				if(__eflags > 0) {
            					_t298 = __imp___errno;
            					 *_t298();
            					 *_t298 = 0;
            					E004035DB(_t230, __eflags, _t376, "nc -h for help", _t423, "ade:g:G:hi:lLno:p:rs:tcuvw:z", _t440);
            					goto L25;
            				}
            				_t423 =  *((intOrPtr*)(0x409b50 + _t297 * 4));
            				goto __rax;
            			}

























































            0x00405781
            0x0040578b
            0x004058bb
            0x004058bb
            0x004058bb
            0x004058bf
            0x004058c6
            0x004058c9
            0x004058d1
            0x004058d6
            0x00000000
            0x00000000
            0x004058e6
            0x004058ed
            0x004058f4
            0x004058f9
            0x004058fe
            0x00405903
            0x00405903
            0x00405907
            0x00405911
            0x00405913
            0x00405918
            0x0040591d
            0x00405926
            0x00405926
            0x00405930
            0x0040593a
            0x0040593c
            0x00405943
            0x00405951
            0x00405956
            0x00405962
            0x00405964
            0x00405966
            0x0040596d
            0x00405977
            0x00405977
            0x0040597c
            0x00405981
            0x00405986
            0x00405986
            0x0040599d
            0x004059a3
            0x004059bf
            0x004059c5
            0x004059ca
            0x004059ca
            0x004059d3
            0x004059ee
            0x004059ee
            0x004059f7
            0x00405a02
            0x00405a02
            0x00405a08
            0x00405a0f
            0x00405a11
            0x00405a21
            0x00405b3e
            0x00405b3e
            0x00405b43
            0x00405b4c
            0x00405b4c
            0x00405b61
            0x00405b64
            0x00405b67
            0x00405b70
            0x00405b70
            0x00405b89
            0x00405b8f
            0x00405b91
            0x00405b91
            0x00405b9e
            0x00405edb
            0x00405eeb
            0x00405ef1
            0x00000000
            0x00000000
            0x00405ba7
            0x00405bb1
            0x00405bc5
            0x00405bd0
            0x00405bd5
            0x00405bd8
            0x00405bdb
            0x00405bdd
            0x00405be0
            0x00405bf1
            0x00405bf5
            0x00405bfa
            0x00405bfc
            0x00405c06
            0x00405c06
            0x00405bfa
            0x00405c1b
            0x00405c23
            0x00405c2b
            0x00405c2f
            0x00405c34
            0x00405c42
            0x00405c42
            0x00405c46
            0x00405c49
            0x00405c4c
            0x00405c53
            0x00405c53
            0x00405c5c
            0x00405c60
            0x00405cb3
            0x00405c62
            0x00405c62
            0x00405c6f
            0x00405c7a
            0x00405c7d
            0x00405c83
            0x00405c8f
            0x00405c95
            0x00405c9a
            0x00405c9e
            0x00405ca6
            0x00405ca6
            0x00405c7d
            0x00405ebe
            0x00405ec2
            0x00405ec6
            0x00000000
            0x00000000
            0x00405cbc
            0x00405cc1
            0x00405cc3
            0x00405cca
            0x00405ccd
            0x00405ccf
            0x00405cd4
            0x00405cd8
            0x00405cde
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405cde
            0x00405ccd
            0x00405cec
            0x00405cf6
            0x00405d06
            0x00405d0a
            0x00405d0d
            0x00405d18
            0x00405d1e
            0x00405d24
            0x00405d26
            0x00405d2f
            0x00405d32
            0x00405d3b
            0x00405d3e
            0x00405d40
            0x00405d46
            0x00405d4a
            0x00405d51
            0x00405d51
            0x00405d3e
            0x00405d32
            0x00405d57
            0x00405d5d
            0x00405d5f
            0x00405dec
            0x00405df8
            0x00405dfb
            0x00405e1a
            0x00405e2c
            0x00405e2c
            0x00405e35
            0x00405e39
            0x00405e3e
            0x00405e41
            0x00405e44
            0x00405e4e
            0x00000000
            0x00405e4e
            0x00405e04
            0x00405e08
            0x00000000
            0x00000000
            0x00405e0a
            0x00405e11
            0x00405e13
            0x00405e18
            0x00000000
            0x00000000
            0x00000000
            0x00405d65
            0x00405d65
            0x00405d89
            0x00405d8e
            0x00405d91
            0x00405d94
            0x00405d9e
            0x00405da3
            0x00405daa
            0x00405dad
            0x00405dba
            0x00405dba
            0x00405dc6
            0x00405dc9
            0x00405dcf
            0x00405dd6
            0x00405dd9
            0x00405ddb
            0x00405de1
            0x00405de8
            0x00405de8
            0x00405dd9
            0x00405e53
            0x00405e63
            0x00405e6a
            0x00405e74
            0x00405e77
            0x00405e7e
            0x00405e86
            0x00405e88
            0x00405e90
            0x00405e92
            0x00405e99
            0x00405e99
            0x00405ea2
            0x00405ea5
            0x00405eb9
            0x00405eb9
            0x00405eb9
            0x00405ea7
            0x00405ea7
            0x00405eab
            0x00405eb3
            0x00405eb3
            0x00000000
            0x00405ea5
            0x00405d5f
            0x00405ed2
            0x00405ed2
            0x00405ed5
            0x00405ed5
            0x00405ef7
            0x00405efe
            0x00405f00
            0x00405f11
            0x00405f1f
            0x00405f2b
            0x00405f2b
            0x00405f37
            0x00405f3d
            0x00000000
            0x00405f43
            0x00405f4a
            0x00405f4d
            0x00405f51
            0x00405f51
            0x00405f5b
            0x00405f68
            0x00405f78
            0x00405f84
            0x00405f90
            0x00405f9c
            0x00405fa8
            0x00405fb4
            0x00405fc0
            0x00405fcb
            0x00405fcb
            0x00405a27
            0x00405a27
            0x00405a3d
            0x00405a43
            0x00405a55
            0x00405a65
            0x00405a6e
            0x00405a83
            0x00405a8d
            0x00405a8d
            0x00405a6e
            0x00405a9e
            0x00405aa2
            0x00405aa5
            0x00405ab0
            0x00405ab6
            0x00405abe
            0x00405b32
            0x00405b39
            0x00000000
            0x00405ac0
            0x00405ac0
            0x00405aca
            0x00405ad7
            0x00405ad7
            0x00405adc
            0x00405ae6
            0x00405ae8
            0x00405af5
            0x00405af5
            0x00405b02
            0x00405b10
            0x00405b1c
            0x00405b1c
            0x00405b21
            0x00405b25
            0x0040539b
            0x0040539b
            0x0040539f
            0x004053a5
            0x004053b1
            0x004053b6
            0x004053ba
            0x004053be
            0x004053c6
            0x004053cb
            0x004053d6
            0x004053d9
            0x004053e0
            0x004053e2
            0x004053ed
            0x004053f0
            0x004053fe
            0x0040540a
            0x00405413
            0x00405418
            0x0040541e
            0x00405426
            0x0040542b
            0x00405437
            0x00405439
            0x00405442
            0x00405442
            0x00405457
            0x00405459
            0x0040545b
            0x00405467
            0x00405467
            0x0040546b
            0x0040546b
            0x00405477
            0x00405479
            0x00405497
            0x00405497
            0x004054af
            0x004054b4
            0x004054b7
            0x004054ba
            0x004054bc
            0x004054bc
            0x004054d2
            0x004054d7
            0x004054da
            0x004054dd
            0x004054df
            0x004054df
            0x004054ed
            0x004054f1
            0x00405524
            0x00405527
            0x00405529
            0x00000000
            0x00000000
            0x004054fb
            0x004054fd
            0x00405504
            0x0040550b
            0x0040550d
            0x0040551a
            0x0040551d
            0x0040551d
            0x0040551d
            0x004054ff
            0x004054ff
            0x004054ff
            0x00405520
            0x00405520
            0x00405520
            0x0040552b
            0x0040552b
            0x00000000
            0x00405b2b
            0x00405b2b
            0x00405b2d
            0x00000000
            0x00405b2d
            0x00405b25
            0x00405abe
            0x00405a21
            0x00405533
            0x00405536
            0x00405539
            0x0040589a
            0x004058a1
            0x004058a3
            0x004058b0
            0x00000000
            0x004058b0
            0x00405553
            0x00405561

            APIs
            Strings
            • ade:g:G:hi:lLno:p:rs:tcuvw:z, xrefs: 004058BF
            • no destination, xrefs: 00405B45
            • -ddetach from console, background mode, xrefs: 00405F7D
            • port numbers can be individual or ranges: m-n [inclusive], xrefs: 00405FB9
            • [v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:, xrefs: 00405F71
            • -g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum, xrefs: 00405F95
            • sent %d, rcvd %d, xrefs: 00405B15
            • sent %d, rcvd %d, xrefs: 00405F24
            • -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning], xrefs: 00405FAD
            • no port[s] to connect to, xrefs: 00405B69
            • no connection, xrefs: 00405B32
            • invalid port %s, xrefs: 00405A86
            • -e proginbound program to exec [dangerous!!], xrefs: 00405F89
            • -tanswer TELNET negotiation, xrefs: 00405FA1
            • can't open %s, xrefs: 00405970
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: _close_itoa_open
            • String ID: -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning]$-ddetach from console, background mode$-e proginbound program to exec [dangerous!!]$-g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum$-tanswer TELNET negotiation$ sent %d, rcvd %d$[v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:$ade:g:G:hi:lLno:p:rs:tcuvw:z$can't open %s$invalid port %s$no connection$no destination$no port[s] to connect to$port numbers can be individual or ranges: m-n [inclusive]$sent %d, rcvd %d
            • API String ID: 357769857-3526283814
            • Opcode ID: d15327f1078ff533f86da4e6fbb4fdca3da6d0c53178bc817945293cc8ea8191
            • Instruction ID: df61f6ffd2cc24baa300273d20d97d9390fc97a82d4a82d33d6cd4f6ff161ba5
            • Opcode Fuzzy Hash: d15327f1078ff533f86da4e6fbb4fdca3da6d0c53178bc817945293cc8ea8191
            • Instruction Fuzzy Hash: 5FA13EA1B00A1486EB10DF26E89136A37A0FB44798F44442AEB5DB73E1EF3CD945C79C
            Uniqueness

            Uniqueness Score: -1.00%

            C-Code - Quality: 18%
            			E00405887(void* __rsi, signed int _a16, long long _a24, long long _a32) {
            				void* _v24;
            				signed int _v32;
            				void* _v40;
            				signed int _v42;
            				signed short _v44;
            				signed int _v46;
            				signed int _v48;
            				signed long long _v56;
            				intOrPtr _v60;
            				signed int _v74;
            				signed int _t102;
            				signed int _t126;
            				signed int _t127;
            				void* _t142;
            				signed int _t145;
            				signed int _t152;
            				signed int _t154;
            				signed int _t156;
            				signed int _t185;
            				signed int _t191;
            				signed int _t205;
            				signed int _t239;
            				void* _t263;
            				signed int _t264;
            				signed int _t265;
            				signed int _t266;
            				signed int _t267;
            				void* _t268;
            				signed long long _t297;
            				signed int* _t298;
            				signed long long _t302;
            				signed long long _t305;
            				signed long long _t306;
            				intOrPtr _t309;
            				signed long long _t313;
            				signed long long _t316;
            				signed long long _t319;
            				signed int _t325;
            				signed long long _t327;
            				signed int _t334;
            				signed int* _t335;
            				signed long long _t339;
            				intOrPtr* _t341;
            				long long _t342;
            				long long* _t345;
            				signed long long _t365;
            				long long _t375;
            				signed long long _t376;
            				long long _t378;
            				char* _t379;
            				char* _t380;
            				long long _t428;
            				void* _t430;
            				void* _t440;
            
            				_t430 = __rsi;
            				 *0x40b0e0 = ( *0x40b0e0 & 0x0000ffff) + 1;
            				while(1) {
            					L25:
            					_t297 = _a24;
            					_t437 = "ade:g:G:hi:lLno:p:rs:tcuvw:z";
            					_t423 = _t297;
            					_t230 = _a16;
            					_t264 = E00402422(_a16, _t297, "ade:g:G:hi:lLno:p:rs:tcuvw:z");
            					if(_t264 != 0xffffffff) {
            						break;
            					}
            					if(( *0x40b0d6 & 0x0000ffff) != 0) {
            						L004073A0();
            						L004074F8();
            						_t231 = 0x10000;
            						E0040371E(0x10000, _t297, _t423);
            						_v56 = _t297;
            					}
            					_t302 =  *0x40b0e8;
            					if(_t302 != 0) {
            						_t231 = 0;
            						L00407358();
            						 *0x40b0d4 = 0;
            						 *0x40b074 = 0;
            					}
            					_t102 =  *0x40b0d4 & 0x0000ffff;
            					if(_t102 != 0) {
            						_t302 =  *0x40b0c0;
            						r8d = 0x1b4;
            						L00407370();
            						 *0x40b074 = _t102;
            						_t273 =  *0x40b074;
            						if( *0x40b074 <= 0) {
            							_t302 =  *0x40b0c0;
            							_t423 = _t302;
            							E004035DB(_t230, _t273, _t376, "can\'t open %s", _t302, _t437, _t440);
            						}
            						_t231 = 0x64;
            						E0040371E(0x64, _t302, _t423);
            						 *0x40b0c0 = _t302;
            					}
            					_t305 =  *((intOrPtr*)((_t302 << 3) + _a24));
            					if(_t305 != 0) {
            						_t375 =  *((intOrPtr*)((_t305 << 3) + _a24));
            						E00403841( *0x40b0d2 & 0xffff, _t375, _t423, _t440);
            						_v24 = _t375;
            					}
            					if(_v24 != 0 && _v24 + 0x1c0 != 0) {
            						_v40 = _v24 + 0x1c0;
            					}
            					if(_v40 != 0) {
            						 *0x40b048 =  *0x40b048 + 1;
            					}
            					_t306 = __imp___errno;
            					 *_t306();
            					 *_t306 = 0;
            					if(( *0x40b0d0 & 0x0000ffff) == 0) {
            						L55:
            						_t290 = _v40;
            						if(_v40 == 0) {
            							E004035DB(_t230, _t290, _t376, "no destination", _t423, _t437, _t440);
            						}
            						_t309 =  *((intOrPtr*)((_t306 << 3) + _a24));
            						_t291 = _t309;
            						if(_t309 == 0) {
            							E004035DB(_t230, _t291, _t376, "no port[s] to connect to", _t423, _t437, _t440);
            						}
            						_t313 =  *((intOrPtr*)((_t309 + 1 << 3) + _a24));
            						if(_t313 != 0) {
            							 *0x40802c = 0;
            						}
            						_v44 = _v42 & 0x0000ffff;
            						while(1) {
            							_t316 =  *((_t313 << 3) + _a24);
            							if(_t316 == 0) {
            								break;
            							}
            							_v74 = 0;
            							_v46 = _v74 & 0x0000ffff;
            							_t319 =  *((intOrPtr*)((_t316 << 3) + _a24));
            							L004074F0();
            							_t376 = _t319;
            							__eflags = _t376;
            							if(_t376 != 0) {
            								 *_t376 = 0;
            								_t376 = _t376 + 1;
            								_v46 = E00403BC0(0, _t376);
            								__eflags = _v46;
            								if(__eflags == 0) {
            									_t423 = _t376;
            									E004035DB(_t231, __eflags, _t376, "invalid port %s", _t376, _t438, _t440);
            								}
            							}
            							_t313 =  *((intOrPtr*)((_t319 << 3) + _a24));
            							_t384 = _t313;
            							_v74 = E00403BC0(0, _t313);
            							__eflags = _v74;
            							if(_v74 == 0) {
            								_t334 = (_t313 << 3) + _a24;
            								__eflags = _t334;
            								_t313 =  *_t334;
            								_t423 = _t313;
            								_t384 = "invalid port %s";
            								E004035DB(_t231, _t334, _t376, "invalid port %s", _t313, _t438, _t440);
            							}
            							__eflags = (_v46 & 0x0000ffff) - _v74;
            							if((_v46 & 0x0000ffff) <= _v74) {
            								_v48 = _v74 & 0x0000ffff;
            							} else {
            								 *0x40802c = 0;
            								_v48 = _v46 & 0x0000ffff;
            								__eflags =  *0x40b0d6 & 0x0000ffff;
            								if(( *0x40b0d6 & 0x0000ffff) != 0) {
            									_t231 = _v46 & 0x0000ffff;
            									r8d = _v46 & 0x0000ffff;
            									E00403E4E(_v74 & 0x0000ffff, _v56, _v56);
            									_t313 = _v56;
            									_t384 = _t313;
            									_v48 = E00403DCA(_t265, _t313, _t313);
            								}
            							}
            							while(1) {
            								__eflags = (_v74 & 0x0000ffff) - _v48;
            								if((_v74 & 0x0000ffff) > _v48) {
            									break;
            								}
            								__eflags = _v42;
            								if(_v42 == 0) {
            									_t154 =  *0x40b0d6 & 0x0000ffff;
            									__eflags = _t154;
            									if(_t154 != 0) {
            										L004074C0();
            										_v44 = _t154;
            										__eflags = _v44 - 0x1fff;
            										if(_v44 <= 0x1fff) {
            											_t69 =  &_v44;
            											 *_t69 = _v44 + 0x2000;
            											__eflags =  *_t69;
            										}
            									}
            								}
            								_t231 = 0;
            								_v48 = E00403BC0(_v48 & 0x0000ffff, _t384);
            								_t322 = _v40;
            								r9d = _v44 & 0x0000ffff;
            								_t438 = _v32;
            								 *0x408010 = E00403EC7(_v48 & 0x0000ffff, _v40, _t423, _v32, _t440);
            								_t126 =  *0x408010; // 0xffffffff
            								__eflags = _t126;
            								if(_t126 > 0) {
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) != 0) {
            										__eflags =  *0x40b0d8 & 0x0000ffff;
            										if(( *0x40b0d8 & 0x0000ffff) != 0) {
            											_t152 =  *0x408010; // 0xffffffff
            											_t423 = _v40;
            											_t231 = _t152;
            											 *0x408010 = E00404773(_t152, _t322, _v40);
            										}
            									}
            								}
            								_t127 =  *0x408010; // 0xffffffff
            								__eflags = _t127;
            								if(_t127 <= 0) {
            									_t265 = 1;
            									__eflags =  *0x40802c & 0x0000ffff;
            									if(( *0x40802c & 0x0000ffff) != 0) {
            										L88:
            										_t325 = _v24 + 0x100;
            										__eflags = _t325;
            										_t326 = _v24;
            										_a32 =  *0x40b0b8;
            										r9d = _v48 & 0x0000ffff;
            										_t438 = _t325;
            										_t423 = _v24;
            										E004034EB("%s [%s] %d (%s)", _v24, _t325, _t440);
            										goto L89;
            									}
            									__eflags = ( *0x40b0da & 0x0000ffff) - 1;
            									if(( *0x40b0da & 0x0000ffff) > 1) {
            										goto L88;
            									}
            									_t326 = __imp__WSAGetLastError;
            									_t142 =  *__imp__WSAGetLastError();
            									__eflags = _t142 - 0x274d;
            									if(_t142 == 0x274d) {
            										goto L89;
            									}
            									goto L88;
            								} else {
            									_t265 = 0;
            									_a32 =  *0x40b0b8;
            									r9d = _v48 & 0x0000ffff;
            									_t438 = _v24 + 0x100;
            									_t423 = _v24;
            									E004034EB("%s [%s] %d (%s) open", _v24, _v24 + 0x100, _t440);
            									_t326 =  *0x40b0e8;
            									__eflags = _t326;
            									if(_t326 != 0) {
            										E004026FD(_t231, _t326, _t326, _t438);
            									}
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) == 0) {
            										_t326 =  *0x40b0e8;
            										__eflags = _t326;
            										if(_t326 == 0) {
            											_t145 =  *0x408010; // 0xffffffff
            											_t231 = _t145;
            											_t265 = E00404B7C(_t145, _t263, _t268, _t438, _t440);
            										}
            									}
            									L89:
            									_t327 = __imp__shutdown;
            									 *_t327();
            									_t384 = _t327;
            									_t313 = __imp__closesocket;
            									 *_t313();
            									__eflags =  *0x40b0cc;
            									if( *0x40b0cc != 0) {
            										_t231 =  *0x40b0cc;
            										_t313 = __imp___sleep;
            										 *_t313();
            									}
            									__eflags =  *0x40b0d6 & 0x0000ffff;
            									if(( *0x40b0d6 & 0x0000ffff) == 0) {
            										_t88 =  &_v48;
            										 *_t88 = _v48 - 1;
            										__eflags =  *_t88;
            									} else {
            										_t313 = _v56;
            										_t384 = _t313;
            										_v48 = E00403DCA(_t265, _t313, _t313);
            									}
            									continue;
            								}
            							}
            							_t156 =  *0x40b048 + 1;
            							__eflags = _t156;
            							 *0x40b048 = _t156;
            						}
            						_t335 = __imp___errno;
            						 *_t335();
            						 *_t335 = 0;
            						if(( *0x40b0da & 0x0000ffff) > 1) {
            							r8d =  *0x40b080;
            							E004034EB("sent %d, rcvd %d", _t423, _t438, _t440);
            						}
            						 *__imp__WSACleanup();
            						if(_v60 == 1) {
            							goto L3;
            						} else {
            							_t296 =  *0x40802c & 0x0000ffff;
            							if(( *0x40802c & 0x0000ffff) != 0) {
            								L00407428();
            							}
            							L00407428();
            							 *0x40b0da = 1;
            							E004034EB("[v1.12 NT http://eternallybored.org/misc/netcat/]\nconnect to somewhere:\tnc [-options] hostname port[s] [ports] ... \nlisten for inbound:\tnc -l -p port [options] [hostname] [port]\noptions:", _t423, _t438, _t440);
            							E004034EB("\t-d\t\tdetach from console, background mode\n", _t423, _t438, _t440);
            							E004034EB("\t-e prog\t\tinbound program to exec [dangerous!!]", _t423, _t438, _t440);
            							E004034EB("\t-g gateway\tsource-routing hop point[s], up to 8\n\t-G num\t\tsource-routing pointer: 4, 8, 12, ...\n\t-h\t\tthis cruft\n\t-i secs\t\tdelay interval for lines sent, ports scanned\n\t-l\t\tlisten mode, for inbound connects\n\t-L\t\tlisten harder, re-listen on socket close\n\t-n\t\tnumeric-only IP addresses, no DNS\n\t-o file\t\thex dump of traffic\n\t-p port\t\tlocal port number\n\t-r\t\trandomize local and remote ports\n\t-s addr\t\tlocal source address", _t423, _t438, _t440);
            							E004034EB("\t-t\t\tanswer TELNET negotiation", _t423, _t438, _t440);
            							E004034EB("\t-c\t\tsend CRLF instead of just LF\n\t-u\t\tUDP mode\n\t-v\t\tverbose [use twice to be more verbose]\n\t-w secs\t\ttimeout for connects and final net reads\n\t-z\t\tzero-I/O mode [used for scanning]", _t423, _t438, _t440);
            							E004035DB(0, _t296, _t376, "port numbers can be individual or ranges: m-n [inclusive]", _t423, _t438, _t440);
            							return 0;
            						}
            					} else {
            						_v48 = 0;
            						_t339 =  *((intOrPtr*)((_t306 << 3) + _a24));
            						if(_t339 != 0) {
            							_t365 =  *((intOrPtr*)((_t339 << 3) + _a24));
            							_v48 = E00403BC0(0, _t365);
            							if(_v48 == 0) {
            								_t423 =  *((intOrPtr*)((_t365 << 3) + _a24));
            								E004035DB(_t230, (_t365 << 3) + _a24, _t376, "invalid port %s",  *((intOrPtr*)((_t365 << 3) + _a24)), _t437, _t440);
            							}
            						}
            						_t306 = _v40;
            						r9d = _v42 & 0x0000ffff;
            						_t438 = _v32;
            						 *0x408010 = E0040425F(_v48 & 0x0000ffff, _t306, _v32, _t440);
            						_t185 =  *0x408010; // 0xffffffff
            						if(_t185 <= 0) {
            							L54:
            							E004035DB(_t230, _t289, _t376, "no connection", _t423, _t438, _t440);
            							goto L55;
            						} else {
            							_t340 =  *0x40b0e8;
            							if( *0x40b0e8 != 0) {
            								E004026FD(_t230, _t340, _t340, _t438);
            							}
            							_t306 =  *0x40b0e8;
            							if(_t306 == 0) {
            								_t205 =  *0x408010; // 0xffffffff
            								_t264 = E00404B7C(_t205, _t263, _t268, _t438, _t440);
            							}
            							if(( *0x40b0da & 0x0000ffff) > 1) {
            								r8d =  *0x40b080;
            								E004034EB(" sent %d, rcvd %d", _t423, _t438, _t440);
            							}
            							_t289 = _v60 - 1;
            							if(_v60 == 1) {
            								L3:
            								__eflags = _a16 - 1;
            								if(__eflags == 0) {
            									_t341 = _a24;
            									E0040371E(0x400, _t341, _t423);
            									_a24 = _t341;
            									_t342 = _a24;
            									 *_t342 =  *_t341;
            									E0040371E(0x2000, _t342, _t423);
            									_t378 = _t342;
            									 *((long long*)(_a24 + 8)) = _t378;
            									_t345 = __imp____iob_func;
            									 *_t345();
            									_t6 = _t345 + 0x60; // 0x60
            									_t440 = _t6;
            									r8d = 0xa;
            									L004074E8(); // executed
            									_t191 =  *__imp____iob_func();
            									L00407490();
            									r8d = 0x2000;
            									_t428 = _t378;
            									L00407368(); // executed
            									 *0x40b07c = _t191;
            									__eflags =  *0x40b07c;
            									if(__eflags == 0) {
            										E004035DB(0, __eflags, _t378, "wrong", _t428, _t438, _t440);
            									}
            									_t266 = E0040377B( *0x40b07c, _t378);
            									__eflags = _t266;
            									if(_t266 != 0) {
            										_t239 =  *0x40b07c - _t266;
            										__eflags = _t239;
            										 *0x40b07c = _t239;
            									}
            									__eflags =  *0x40b07c;
            									if( *0x40b07c != 0) {
            										L004073F8();
            									}
            									L004074F0();
            									_t379 =  *((intOrPtr*)(_a24 + 8));
            									__eflags = _t379;
            									if(_t379 != 0) {
            										 *_t379 = 0;
            									}
            									L004074F0();
            									_t380 =  *((intOrPtr*)(_a24 + 8));
            									__eflags = _t380;
            									if(_t380 != 0) {
            										 *_t380 = 0;
            									}
            									_t376 =  *((intOrPtr*)(_a24 + 8)) + 1;
            									_t267 = 2;
            									while(1) {
            										__eflags =  *_t376 & 0x000000ff;
            										if(__eflags == 0) {
            											break;
            										}
            										__eflags = ( *_t376 & 0x000000ff) - 0x20;
            										if(( *_t376 & 0x000000ff) != 0x20) {
            											_t11 = _t376 - 1; // -2
            											__eflags =  *_t11 & 0x000000ff;
            											if(( *_t11 & 0x000000ff) == 0) {
            												 *((_t267 << 3) + _a24) = _t376;
            												_t267 = _t267 + 1;
            												__eflags = _t267;
            											}
            										} else {
            											 *_t376 = 0;
            										}
            										_t376 = _t376 + 1;
            										__eflags = _t376;
            									}
            									_a16 = _t267;
            								}
            								continue;
            							} else {
            								_t230 = _t264;
            								L00407428();
            								goto L54;
            							}
            						}
            					}
            				}
            				_t14 = _t430 - 0x47; // -71
            				__eflags = _t14 - 0x33;
            				if(__eflags > 0) {
            					_t298 = __imp___errno;
            					 *_t298();
            					 *_t298 = 0;
            					E004035DB(_t230, __eflags, _t376, "nc -h for help", _t423, "ade:g:G:hi:lLno:p:rs:tcuvw:z", _t440);
            					goto L25;
            				}
            				_t423 =  *((intOrPtr*)(0x409b50 + _t297 * 4));
            				goto __rax;
            			}

























































            0x00405887
            0x00405891
            0x004058bb
            0x004058bb
            0x004058bb
            0x004058bf
            0x004058c6
            0x004058c9
            0x004058d1
            0x004058d6
            0x00000000
            0x00000000
            0x004058e6
            0x004058ed
            0x004058f4
            0x004058f9
            0x004058fe
            0x00405903
            0x00405903
            0x00405907
            0x00405911
            0x00405913
            0x00405918
            0x0040591d
            0x00405926
            0x00405926
            0x00405930
            0x0040593a
            0x0040593c
            0x00405943
            0x00405951
            0x00405956
            0x00405962
            0x00405964
            0x00405966
            0x0040596d
            0x00405977
            0x00405977
            0x0040597c
            0x00405981
            0x00405986
            0x00405986
            0x0040599d
            0x004059a3
            0x004059bf
            0x004059c5
            0x004059ca
            0x004059ca
            0x004059d3
            0x004059ee
            0x004059ee
            0x004059f7
            0x00405a02
            0x00405a02
            0x00405a08
            0x00405a0f
            0x00405a11
            0x00405a21
            0x00405b3e
            0x00405b3e
            0x00405b43
            0x00405b4c
            0x00405b4c
            0x00405b61
            0x00405b64
            0x00405b67
            0x00405b70
            0x00405b70
            0x00405b89
            0x00405b8f
            0x00405b91
            0x00405b91
            0x00405b9e
            0x00405edb
            0x00405eeb
            0x00405ef1
            0x00000000
            0x00000000
            0x00405ba7
            0x00405bb1
            0x00405bc5
            0x00405bd0
            0x00405bd5
            0x00405bd8
            0x00405bdb
            0x00405bdd
            0x00405be0
            0x00405bf1
            0x00405bf5
            0x00405bfa
            0x00405bfc
            0x00405c06
            0x00405c06
            0x00405bfa
            0x00405c1b
            0x00405c23
            0x00405c2b
            0x00405c2f
            0x00405c34
            0x00405c42
            0x00405c42
            0x00405c46
            0x00405c49
            0x00405c4c
            0x00405c53
            0x00405c53
            0x00405c5c
            0x00405c60
            0x00405cb3
            0x00405c62
            0x00405c62
            0x00405c6f
            0x00405c7a
            0x00405c7d
            0x00405c83
            0x00405c8f
            0x00405c95
            0x00405c9a
            0x00405c9e
            0x00405ca6
            0x00405ca6
            0x00405c7d
            0x00405ebe
            0x00405ec2
            0x00405ec6
            0x00000000
            0x00000000
            0x00405cbc
            0x00405cc1
            0x00405cc3
            0x00405cca
            0x00405ccd
            0x00405ccf
            0x00405cd4
            0x00405cd8
            0x00405cde
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405cde
            0x00405ccd
            0x00405cec
            0x00405cf6
            0x00405d06
            0x00405d0a
            0x00405d0d
            0x00405d18
            0x00405d1e
            0x00405d24
            0x00405d26
            0x00405d2f
            0x00405d32
            0x00405d3b
            0x00405d3e
            0x00405d40
            0x00405d46
            0x00405d4a
            0x00405d51
            0x00405d51
            0x00405d3e
            0x00405d32
            0x00405d57
            0x00405d5d
            0x00405d5f
            0x00405dec
            0x00405df8
            0x00405dfb
            0x00405e1a
            0x00405e2c
            0x00405e2c
            0x00405e35
            0x00405e39
            0x00405e3e
            0x00405e41
            0x00405e44
            0x00405e4e
            0x00000000
            0x00405e4e
            0x00405e04
            0x00405e08
            0x00000000
            0x00000000
            0x00405e0a
            0x00405e11
            0x00405e13
            0x00405e18
            0x00000000
            0x00000000
            0x00000000
            0x00405d65
            0x00405d65
            0x00405d89
            0x00405d8e
            0x00405d91
            0x00405d94
            0x00405d9e
            0x00405da3
            0x00405daa
            0x00405dad
            0x00405dba
            0x00405dba
            0x00405dc6
            0x00405dc9
            0x00405dcf
            0x00405dd6
            0x00405dd9
            0x00405ddb
            0x00405de1
            0x00405de8
            0x00405de8
            0x00405dd9
            0x00405e53
            0x00405e63
            0x00405e6a
            0x00405e74
            0x00405e77
            0x00405e7e
            0x00405e86
            0x00405e88
            0x00405e90
            0x00405e92
            0x00405e99
            0x00405e99
            0x00405ea2
            0x00405ea5
            0x00405eb9
            0x00405eb9
            0x00405eb9
            0x00405ea7
            0x00405ea7
            0x00405eab
            0x00405eb3
            0x00405eb3
            0x00000000
            0x00405ea5
            0x00405d5f
            0x00405ed2
            0x00405ed2
            0x00405ed5
            0x00405ed5
            0x00405ef7
            0x00405efe
            0x00405f00
            0x00405f11
            0x00405f1f
            0x00405f2b
            0x00405f2b
            0x00405f37
            0x00405f3d
            0x00000000
            0x00405f43
            0x00405f4a
            0x00405f4d
            0x00405f51
            0x00405f51
            0x00405f5b
            0x00405f68
            0x00405f78
            0x00405f84
            0x00405f90
            0x00405f9c
            0x00405fa8
            0x00405fb4
            0x00405fc0
            0x00405fcb
            0x00405fcb
            0x00405a27
            0x00405a27
            0x00405a3d
            0x00405a43
            0x00405a55
            0x00405a65
            0x00405a6e
            0x00405a83
            0x00405a8d
            0x00405a8d
            0x00405a6e
            0x00405a9e
            0x00405aa2
            0x00405aa5
            0x00405ab0
            0x00405ab6
            0x00405abe
            0x00405b32
            0x00405b39
            0x00000000
            0x00405ac0
            0x00405ac0
            0x00405aca
            0x00405ad7
            0x00405ad7
            0x00405adc
            0x00405ae6
            0x00405ae8
            0x00405af5
            0x00405af5
            0x00405b02
            0x00405b10
            0x00405b1c
            0x00405b1c
            0x00405b21
            0x00405b25
            0x0040539b
            0x0040539b
            0x0040539f
            0x004053a5
            0x004053b1
            0x004053b6
            0x004053ba
            0x004053be
            0x004053c6
            0x004053cb
            0x004053d6
            0x004053d9
            0x004053e0
            0x004053e2
            0x004053ed
            0x004053f0
            0x004053fe
            0x0040540a
            0x00405413
            0x00405418
            0x0040541e
            0x00405426
            0x0040542b
            0x00405437
            0x00405439
            0x00405442
            0x00405442
            0x00405457
            0x00405459
            0x0040545b
            0x00405467
            0x00405467
            0x0040546b
            0x0040546b
            0x00405477
            0x00405479
            0x00405497
            0x00405497
            0x004054af
            0x004054b4
            0x004054b7
            0x004054ba
            0x004054bc
            0x004054bc
            0x004054d2
            0x004054d7
            0x004054da
            0x004054dd
            0x004054df
            0x004054df
            0x004054ed
            0x004054f1
            0x00405524
            0x00405527
            0x00405529
            0x00000000
            0x00000000
            0x004054fb
            0x004054fd
            0x00405504
            0x0040550b
            0x0040550d
            0x0040551a
            0x0040551d
            0x0040551d
            0x0040551d
            0x004054ff
            0x004054ff
            0x004054ff
            0x00405520
            0x00405520
            0x00405520
            0x0040552b
            0x0040552b
            0x00000000
            0x00405b2b
            0x00405b2b
            0x00405b2d
            0x00000000
            0x00405b2d
            0x00405b25
            0x00405abe
            0x00405a21
            0x00405533
            0x00405536
            0x00405539
            0x0040589a
            0x004058a1
            0x004058a3
            0x004058b0
            0x00000000
            0x004058b0
            0x00405553
            0x00405561

            APIs
            Strings
            • ade:g:G:hi:lLno:p:rs:tcuvw:z, xrefs: 004058BF
            • no destination, xrefs: 00405B45
            • -ddetach from console, background mode, xrefs: 00405F7D
            • port numbers can be individual or ranges: m-n [inclusive], xrefs: 00405FB9
            • [v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:, xrefs: 00405F71
            • -g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum, xrefs: 00405F95
            • sent %d, rcvd %d, xrefs: 00405B15
            • sent %d, rcvd %d, xrefs: 00405F24
            • -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning], xrefs: 00405FAD
            • no port[s] to connect to, xrefs: 00405B69
            • no connection, xrefs: 00405B32
            • invalid port %s, xrefs: 00405A86
            • -e proginbound program to exec [dangerous!!], xrefs: 00405F89
            • -tanswer TELNET negotiation, xrefs: 00405FA1
            • can't open %s, xrefs: 00405970
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: _close_itoa_open
            • String ID: -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning]$-ddetach from console, background mode$-e proginbound program to exec [dangerous!!]$-g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum$-tanswer TELNET negotiation$ sent %d, rcvd %d$[v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:$ade:g:G:hi:lLno:p:rs:tcuvw:z$can't open %s$invalid port %s$no connection$no destination$no port[s] to connect to$port numbers can be individual or ranges: m-n [inclusive]$sent %d, rcvd %d
            • API String ID: 357769857-3526283814
            • Opcode ID: 64fe301c2b49228a59aea6c5be925c66a4848b408ced80f509f267529d06ab2c
            • Instruction ID: e70857ff56071e4686d2b734595b1809ffa81c2d574203557aa85be2d0f3298e
            • Opcode Fuzzy Hash: 64fe301c2b49228a59aea6c5be925c66a4848b408ced80f509f267529d06ab2c
            • Instruction Fuzzy Hash: 88A13EA1B00A1486EB10DF26E89136A37A0FB44798F44442AEB5DB73E1EF3CD945C79C
            Uniqueness

            Uniqueness Score: -1.00%

            C-Code - Quality: 18%
            			E00405585(void* __rsi, signed int _a16, long long _a24, long long _a32) {
            				void* _v24;
            				signed int _v32;
            				void* _v40;
            				signed int _v42;
            				signed short _v44;
            				signed int _v46;
            				signed int _v48;
            				signed long long _v56;
            				intOrPtr _v60;
            				signed int _v74;
            				signed int _t100;
            				signed int _t124;
            				signed int _t125;
            				void* _t140;
            				signed int _t143;
            				signed int _t150;
            				signed int _t152;
            				signed int _t154;
            				signed int _t183;
            				signed int _t189;
            				signed int _t203;
            				signed int _t237;
            				void* _t261;
            				signed int _t262;
            				signed int _t263;
            				signed int _t264;
            				signed int _t265;
            				void* _t266;
            				signed long long _t296;
            				signed int* _t297;
            				signed long long _t301;
            				signed long long _t304;
            				signed long long _t305;
            				intOrPtr _t308;
            				signed long long _t312;
            				signed long long _t315;
            				signed long long _t318;
            				signed int _t324;
            				signed long long _t326;
            				signed int _t333;
            				signed int* _t334;
            				signed long long _t338;
            				intOrPtr* _t340;
            				long long _t341;
            				long long* _t344;
            				signed long long _t364;
            				long long _t374;
            				signed long long _t375;
            				long long _t377;
            				char* _t378;
            				char* _t379;
            				long long _t427;
            				void* _t429;
            				void* _t439;
            
            				_t429 = __rsi;
            				 *0x40b0e8 =  *0x40b040;
            				while(1) {
            					L25:
            					_t296 = _a24;
            					_t436 = "ade:g:G:hi:lLno:p:rs:tcuvw:z";
            					_t422 = _t296;
            					_t228 = _a16;
            					_t262 = E00402422(_a16, _t296, "ade:g:G:hi:lLno:p:rs:tcuvw:z");
            					if(_t262 != 0xffffffff) {
            						break;
            					}
            					if(( *0x40b0d6 & 0x0000ffff) != 0) {
            						L004073A0();
            						L004074F8();
            						_t229 = 0x10000;
            						E0040371E(0x10000, _t296, _t422);
            						_v56 = _t296;
            					}
            					_t301 =  *0x40b0e8;
            					if(_t301 != 0) {
            						_t229 = 0;
            						L00407358();
            						 *0x40b0d4 = 0;
            						 *0x40b074 = 0;
            					}
            					_t100 =  *0x40b0d4 & 0x0000ffff;
            					if(_t100 != 0) {
            						_t301 =  *0x40b0c0;
            						r8d = 0x1b4;
            						L00407370();
            						 *0x40b074 = _t100;
            						_t271 =  *0x40b074;
            						if( *0x40b074 <= 0) {
            							_t301 =  *0x40b0c0;
            							_t422 = _t301;
            							E004035DB(_t228, _t271, _t375, "can\'t open %s", _t301, _t436, _t439);
            						}
            						_t229 = 0x64;
            						E0040371E(0x64, _t301, _t422);
            						 *0x40b0c0 = _t301;
            					}
            					_t304 =  *((intOrPtr*)((_t301 << 3) + _a24));
            					if(_t304 != 0) {
            						_t374 =  *((intOrPtr*)((_t304 << 3) + _a24));
            						E00403841( *0x40b0d2 & 0xffff, _t374, _t422, _t439);
            						_v24 = _t374;
            					}
            					if(_v24 != 0 && _v24 + 0x1c0 != 0) {
            						_v40 = _v24 + 0x1c0;
            					}
            					if(_v40 != 0) {
            						 *0x40b048 =  *0x40b048 + 1;
            					}
            					_t305 = __imp___errno;
            					 *_t305();
            					 *_t305 = 0;
            					if(( *0x40b0d0 & 0x0000ffff) == 0) {
            						L55:
            						_t288 = _v40;
            						if(_v40 == 0) {
            							E004035DB(_t228, _t288, _t375, "no destination", _t422, _t436, _t439);
            						}
            						_t308 =  *((intOrPtr*)((_t305 << 3) + _a24));
            						_t289 = _t308;
            						if(_t308 == 0) {
            							E004035DB(_t228, _t289, _t375, "no port[s] to connect to", _t422, _t436, _t439);
            						}
            						_t312 =  *((intOrPtr*)((_t308 + 1 << 3) + _a24));
            						if(_t312 != 0) {
            							 *0x40802c = 0;
            						}
            						_v44 = _v42 & 0x0000ffff;
            						while(1) {
            							_t315 =  *((_t312 << 3) + _a24);
            							if(_t315 == 0) {
            								break;
            							}
            							_v74 = 0;
            							_v46 = _v74 & 0x0000ffff;
            							_t318 =  *((intOrPtr*)((_t315 << 3) + _a24));
            							L004074F0();
            							_t375 = _t318;
            							__eflags = _t375;
            							if(_t375 != 0) {
            								 *_t375 = 0;
            								_t375 = _t375 + 1;
            								_v46 = E00403BC0(0, _t375);
            								__eflags = _v46;
            								if(__eflags == 0) {
            									_t422 = _t375;
            									E004035DB(_t229, __eflags, _t375, "invalid port %s", _t375, _t437, _t439);
            								}
            							}
            							_t312 =  *((intOrPtr*)((_t318 << 3) + _a24));
            							_t383 = _t312;
            							_v74 = E00403BC0(0, _t312);
            							__eflags = _v74;
            							if(_v74 == 0) {
            								_t333 = (_t312 << 3) + _a24;
            								__eflags = _t333;
            								_t312 =  *_t333;
            								_t422 = _t312;
            								_t383 = "invalid port %s";
            								E004035DB(_t229, _t333, _t375, "invalid port %s", _t312, _t437, _t439);
            							}
            							__eflags = (_v46 & 0x0000ffff) - _v74;
            							if((_v46 & 0x0000ffff) <= _v74) {
            								_v48 = _v74 & 0x0000ffff;
            							} else {
            								 *0x40802c = 0;
            								_v48 = _v46 & 0x0000ffff;
            								__eflags =  *0x40b0d6 & 0x0000ffff;
            								if(( *0x40b0d6 & 0x0000ffff) != 0) {
            									_t229 = _v46 & 0x0000ffff;
            									r8d = _v46 & 0x0000ffff;
            									E00403E4E(_v74 & 0x0000ffff, _v56, _v56);
            									_t312 = _v56;
            									_t383 = _t312;
            									_v48 = E00403DCA(_t263, _t312, _t312);
            								}
            							}
            							while(1) {
            								__eflags = (_v74 & 0x0000ffff) - _v48;
            								if((_v74 & 0x0000ffff) > _v48) {
            									break;
            								}
            								__eflags = _v42;
            								if(_v42 == 0) {
            									_t152 =  *0x40b0d6 & 0x0000ffff;
            									__eflags = _t152;
            									if(_t152 != 0) {
            										L004074C0();
            										_v44 = _t152;
            										__eflags = _v44 - 0x1fff;
            										if(_v44 <= 0x1fff) {
            											_t69 =  &_v44;
            											 *_t69 = _v44 + 0x2000;
            											__eflags =  *_t69;
            										}
            									}
            								}
            								_t229 = 0;
            								_v48 = E00403BC0(_v48 & 0x0000ffff, _t383);
            								_t321 = _v40;
            								r9d = _v44 & 0x0000ffff;
            								_t437 = _v32;
            								 *0x408010 = E00403EC7(_v48 & 0x0000ffff, _v40, _t422, _v32, _t439);
            								_t124 =  *0x408010; // 0xffffffff
            								__eflags = _t124;
            								if(_t124 > 0) {
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) != 0) {
            										__eflags =  *0x40b0d8 & 0x0000ffff;
            										if(( *0x40b0d8 & 0x0000ffff) != 0) {
            											_t150 =  *0x408010; // 0xffffffff
            											_t422 = _v40;
            											_t229 = _t150;
            											 *0x408010 = E00404773(_t150, _t321, _v40);
            										}
            									}
            								}
            								_t125 =  *0x408010; // 0xffffffff
            								__eflags = _t125;
            								if(_t125 <= 0) {
            									_t263 = 1;
            									__eflags =  *0x40802c & 0x0000ffff;
            									if(( *0x40802c & 0x0000ffff) != 0) {
            										L88:
            										_t324 = _v24 + 0x100;
            										__eflags = _t324;
            										_t325 = _v24;
            										_a32 =  *0x40b0b8;
            										r9d = _v48 & 0x0000ffff;
            										_t437 = _t324;
            										_t422 = _v24;
            										E004034EB("%s [%s] %d (%s)", _v24, _t324, _t439);
            										goto L89;
            									}
            									__eflags = ( *0x40b0da & 0x0000ffff) - 1;
            									if(( *0x40b0da & 0x0000ffff) > 1) {
            										goto L88;
            									}
            									_t325 = __imp__WSAGetLastError;
            									_t140 =  *__imp__WSAGetLastError();
            									__eflags = _t140 - 0x274d;
            									if(_t140 == 0x274d) {
            										goto L89;
            									}
            									goto L88;
            								} else {
            									_t263 = 0;
            									_a32 =  *0x40b0b8;
            									r9d = _v48 & 0x0000ffff;
            									_t437 = _v24 + 0x100;
            									_t422 = _v24;
            									E004034EB("%s [%s] %d (%s) open", _v24, _v24 + 0x100, _t439);
            									_t325 =  *0x40b0e8;
            									__eflags = _t325;
            									if(_t325 != 0) {
            										E004026FD(_t229, _t325, _t325, _t437);
            									}
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) == 0) {
            										_t325 =  *0x40b0e8;
            										__eflags = _t325;
            										if(_t325 == 0) {
            											_t143 =  *0x408010; // 0xffffffff
            											_t229 = _t143;
            											_t263 = E00404B7C(_t143, _t261, _t266, _t437, _t439);
            										}
            									}
            									L89:
            									_t326 = __imp__shutdown;
            									 *_t326();
            									_t383 = _t326;
            									_t312 = __imp__closesocket;
            									 *_t312();
            									__eflags =  *0x40b0cc;
            									if( *0x40b0cc != 0) {
            										_t229 =  *0x40b0cc;
            										_t312 = __imp___sleep;
            										 *_t312();
            									}
            									__eflags =  *0x40b0d6 & 0x0000ffff;
            									if(( *0x40b0d6 & 0x0000ffff) == 0) {
            										_t88 =  &_v48;
            										 *_t88 = _v48 - 1;
            										__eflags =  *_t88;
            									} else {
            										_t312 = _v56;
            										_t383 = _t312;
            										_v48 = E00403DCA(_t263, _t312, _t312);
            									}
            									continue;
            								}
            							}
            							_t154 =  *0x40b048 + 1;
            							__eflags = _t154;
            							 *0x40b048 = _t154;
            						}
            						_t334 = __imp___errno;
            						 *_t334();
            						 *_t334 = 0;
            						if(( *0x40b0da & 0x0000ffff) > 1) {
            							r8d =  *0x40b080;
            							E004034EB("sent %d, rcvd %d", _t422, _t437, _t439);
            						}
            						 *__imp__WSACleanup();
            						if(_v60 == 1) {
            							goto L3;
            						} else {
            							_t294 =  *0x40802c & 0x0000ffff;
            							if(( *0x40802c & 0x0000ffff) != 0) {
            								L00407428();
            							}
            							L00407428();
            							 *0x40b0da = 1;
            							E004034EB("[v1.12 NT http://eternallybored.org/misc/netcat/]\nconnect to somewhere:\tnc [-options] hostname port[s] [ports] ... \nlisten for inbound:\tnc -l -p port [options] [hostname] [port]\noptions:", _t422, _t437, _t439);
            							E004034EB("\t-d\t\tdetach from console, background mode\n", _t422, _t437, _t439);
            							E004034EB("\t-e prog\t\tinbound program to exec [dangerous!!]", _t422, _t437, _t439);
            							E004034EB("\t-g gateway\tsource-routing hop point[s], up to 8\n\t-G num\t\tsource-routing pointer: 4, 8, 12, ...\n\t-h\t\tthis cruft\n\t-i secs\t\tdelay interval for lines sent, ports scanned\n\t-l\t\tlisten mode, for inbound connects\n\t-L\t\tlisten harder, re-listen on socket close\n\t-n\t\tnumeric-only IP addresses, no DNS\n\t-o file\t\thex dump of traffic\n\t-p port\t\tlocal port number\n\t-r\t\trandomize local and remote ports\n\t-s addr\t\tlocal source address", _t422, _t437, _t439);
            							E004034EB("\t-t\t\tanswer TELNET negotiation", _t422, _t437, _t439);
            							E004034EB("\t-c\t\tsend CRLF instead of just LF\n\t-u\t\tUDP mode\n\t-v\t\tverbose [use twice to be more verbose]\n\t-w secs\t\ttimeout for connects and final net reads\n\t-z\t\tzero-I/O mode [used for scanning]", _t422, _t437, _t439);
            							E004035DB(0, _t294, _t375, "port numbers can be individual or ranges: m-n [inclusive]", _t422, _t437, _t439);
            							return 0;
            						}
            					} else {
            						_v48 = 0;
            						_t338 =  *((intOrPtr*)((_t305 << 3) + _a24));
            						if(_t338 != 0) {
            							_t364 =  *((intOrPtr*)((_t338 << 3) + _a24));
            							_v48 = E00403BC0(0, _t364);
            							if(_v48 == 0) {
            								_t422 =  *((intOrPtr*)((_t364 << 3) + _a24));
            								E004035DB(_t228, (_t364 << 3) + _a24, _t375, "invalid port %s",  *((intOrPtr*)((_t364 << 3) + _a24)), _t436, _t439);
            							}
            						}
            						_t305 = _v40;
            						r9d = _v42 & 0x0000ffff;
            						_t437 = _v32;
            						 *0x408010 = E0040425F(_v48 & 0x0000ffff, _t305, _v32, _t439);
            						_t183 =  *0x408010; // 0xffffffff
            						if(_t183 <= 0) {
            							L54:
            							E004035DB(_t228, _t287, _t375, "no connection", _t422, _t437, _t439);
            							goto L55;
            						} else {
            							_t339 =  *0x40b0e8;
            							if( *0x40b0e8 != 0) {
            								E004026FD(_t228, _t339, _t339, _t437);
            							}
            							_t305 =  *0x40b0e8;
            							if(_t305 == 0) {
            								_t203 =  *0x408010; // 0xffffffff
            								_t262 = E00404B7C(_t203, _t261, _t266, _t437, _t439);
            							}
            							if(( *0x40b0da & 0x0000ffff) > 1) {
            								r8d =  *0x40b080;
            								E004034EB(" sent %d, rcvd %d", _t422, _t437, _t439);
            							}
            							_t287 = _v60 - 1;
            							if(_v60 == 1) {
            								L3:
            								__eflags = _a16 - 1;
            								if(__eflags == 0) {
            									_t340 = _a24;
            									E0040371E(0x400, _t340, _t422);
            									_a24 = _t340;
            									_t341 = _a24;
            									 *_t341 =  *_t340;
            									E0040371E(0x2000, _t341, _t422);
            									_t377 = _t341;
            									 *((long long*)(_a24 + 8)) = _t377;
            									_t344 = __imp____iob_func;
            									 *_t344();
            									_t6 = _t344 + 0x60; // 0x60
            									_t439 = _t6;
            									r8d = 0xa;
            									L004074E8(); // executed
            									_t189 =  *__imp____iob_func();
            									L00407490();
            									r8d = 0x2000;
            									_t427 = _t377;
            									L00407368(); // executed
            									 *0x40b07c = _t189;
            									__eflags =  *0x40b07c;
            									if(__eflags == 0) {
            										E004035DB(0, __eflags, _t377, "wrong", _t427, _t437, _t439);
            									}
            									_t264 = E0040377B( *0x40b07c, _t377);
            									__eflags = _t264;
            									if(_t264 != 0) {
            										_t237 =  *0x40b07c - _t264;
            										__eflags = _t237;
            										 *0x40b07c = _t237;
            									}
            									__eflags =  *0x40b07c;
            									if( *0x40b07c != 0) {
            										L004073F8();
            									}
            									L004074F0();
            									_t378 =  *((intOrPtr*)(_a24 + 8));
            									__eflags = _t378;
            									if(_t378 != 0) {
            										 *_t378 = 0;
            									}
            									L004074F0();
            									_t379 =  *((intOrPtr*)(_a24 + 8));
            									__eflags = _t379;
            									if(_t379 != 0) {
            										 *_t379 = 0;
            									}
            									_t375 =  *((intOrPtr*)(_a24 + 8)) + 1;
            									_t265 = 2;
            									while(1) {
            										__eflags =  *_t375 & 0x000000ff;
            										if(__eflags == 0) {
            											break;
            										}
            										__eflags = ( *_t375 & 0x000000ff) - 0x20;
            										if(( *_t375 & 0x000000ff) != 0x20) {
            											_t11 = _t375 - 1; // -2
            											__eflags =  *_t11 & 0x000000ff;
            											if(( *_t11 & 0x000000ff) == 0) {
            												 *((_t265 << 3) + _a24) = _t375;
            												_t265 = _t265 + 1;
            												__eflags = _t265;
            											}
            										} else {
            											 *_t375 = 0;
            										}
            										_t375 = _t375 + 1;
            										__eflags = _t375;
            									}
            									_a16 = _t265;
            								}
            								continue;
            							} else {
            								_t228 = _t262;
            								L00407428();
            								goto L54;
            							}
            						}
            					}
            				}
            				_t14 = _t429 - 0x47; // -71
            				__eflags = _t14 - 0x33;
            				if(__eflags > 0) {
            					_t297 = __imp___errno;
            					 *_t297();
            					 *_t297 = 0;
            					E004035DB(_t228, __eflags, _t375, "nc -h for help", _t422, "ade:g:G:hi:lLno:p:rs:tcuvw:z", _t439);
            					goto L25;
            				}
            				_t422 =  *((intOrPtr*)(0x409b50 + _t296 * 4));
            				goto __rax;
            			}

























































            0x00405585
            0x0040558c
            0x004058bb
            0x004058bb
            0x004058bb
            0x004058bf
            0x004058c6
            0x004058c9
            0x004058d1
            0x004058d6
            0x00000000
            0x00000000
            0x004058e6
            0x004058ed
            0x004058f4
            0x004058f9
            0x004058fe
            0x00405903
            0x00405903
            0x00405907
            0x00405911
            0x00405913
            0x00405918
            0x0040591d
            0x00405926
            0x00405926
            0x00405930
            0x0040593a
            0x0040593c
            0x00405943
            0x00405951
            0x00405956
            0x00405962
            0x00405964
            0x00405966
            0x0040596d
            0x00405977
            0x00405977
            0x0040597c
            0x00405981
            0x00405986
            0x00405986
            0x0040599d
            0x004059a3
            0x004059bf
            0x004059c5
            0x004059ca
            0x004059ca
            0x004059d3
            0x004059ee
            0x004059ee
            0x004059f7
            0x00405a02
            0x00405a02
            0x00405a08
            0x00405a0f
            0x00405a11
            0x00405a21
            0x00405b3e
            0x00405b3e
            0x00405b43
            0x00405b4c
            0x00405b4c
            0x00405b61
            0x00405b64
            0x00405b67
            0x00405b70
            0x00405b70
            0x00405b89
            0x00405b8f
            0x00405b91
            0x00405b91
            0x00405b9e
            0x00405edb
            0x00405eeb
            0x00405ef1
            0x00000000
            0x00000000
            0x00405ba7
            0x00405bb1
            0x00405bc5
            0x00405bd0
            0x00405bd5
            0x00405bd8
            0x00405bdb
            0x00405bdd
            0x00405be0
            0x00405bf1
            0x00405bf5
            0x00405bfa
            0x00405bfc
            0x00405c06
            0x00405c06
            0x00405bfa
            0x00405c1b
            0x00405c23
            0x00405c2b
            0x00405c2f
            0x00405c34
            0x00405c42
            0x00405c42
            0x00405c46
            0x00405c49
            0x00405c4c
            0x00405c53
            0x00405c53
            0x00405c5c
            0x00405c60
            0x00405cb3
            0x00405c62
            0x00405c62
            0x00405c6f
            0x00405c7a
            0x00405c7d
            0x00405c83
            0x00405c8f
            0x00405c95
            0x00405c9a
            0x00405c9e
            0x00405ca6
            0x00405ca6
            0x00405c7d
            0x00405ebe
            0x00405ec2
            0x00405ec6
            0x00000000
            0x00000000
            0x00405cbc
            0x00405cc1
            0x00405cc3
            0x00405cca
            0x00405ccd
            0x00405ccf
            0x00405cd4
            0x00405cd8
            0x00405cde
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405cde
            0x00405ccd
            0x00405cec
            0x00405cf6
            0x00405d06
            0x00405d0a
            0x00405d0d
            0x00405d18
            0x00405d1e
            0x00405d24
            0x00405d26
            0x00405d2f
            0x00405d32
            0x00405d3b
            0x00405d3e
            0x00405d40
            0x00405d46
            0x00405d4a
            0x00405d51
            0x00405d51
            0x00405d3e
            0x00405d32
            0x00405d57
            0x00405d5d
            0x00405d5f
            0x00405dec
            0x00405df8
            0x00405dfb
            0x00405e1a
            0x00405e2c
            0x00405e2c
            0x00405e35
            0x00405e39
            0x00405e3e
            0x00405e41
            0x00405e44
            0x00405e4e
            0x00000000
            0x00405e4e
            0x00405e04
            0x00405e08
            0x00000000
            0x00000000
            0x00405e0a
            0x00405e11
            0x00405e13
            0x00405e18
            0x00000000
            0x00000000
            0x00000000
            0x00405d65
            0x00405d65
            0x00405d89
            0x00405d8e
            0x00405d91
            0x00405d94
            0x00405d9e
            0x00405da3
            0x00405daa
            0x00405dad
            0x00405dba
            0x00405dba
            0x00405dc6
            0x00405dc9
            0x00405dcf
            0x00405dd6
            0x00405dd9
            0x00405ddb
            0x00405de1
            0x00405de8
            0x00405de8
            0x00405dd9
            0x00405e53
            0x00405e63
            0x00405e6a
            0x00405e74
            0x00405e77
            0x00405e7e
            0x00405e86
            0x00405e88
            0x00405e90
            0x00405e92
            0x00405e99
            0x00405e99
            0x00405ea2
            0x00405ea5
            0x00405eb9
            0x00405eb9
            0x00405eb9
            0x00405ea7
            0x00405ea7
            0x00405eab
            0x00405eb3
            0x00405eb3
            0x00000000
            0x00405ea5
            0x00405d5f
            0x00405ed2
            0x00405ed2
            0x00405ed5
            0x00405ed5
            0x00405ef7
            0x00405efe
            0x00405f00
            0x00405f11
            0x00405f1f
            0x00405f2b
            0x00405f2b
            0x00405f37
            0x00405f3d
            0x00000000
            0x00405f43
            0x00405f4a
            0x00405f4d
            0x00405f51
            0x00405f51
            0x00405f5b
            0x00405f68
            0x00405f78
            0x00405f84
            0x00405f90
            0x00405f9c
            0x00405fa8
            0x00405fb4
            0x00405fc0
            0x00405fcb
            0x00405fcb
            0x00405a27
            0x00405a27
            0x00405a3d
            0x00405a43
            0x00405a55
            0x00405a65
            0x00405a6e
            0x00405a83
            0x00405a8d
            0x00405a8d
            0x00405a6e
            0x00405a9e
            0x00405aa2
            0x00405aa5
            0x00405ab0
            0x00405ab6
            0x00405abe
            0x00405b32
            0x00405b39
            0x00000000
            0x00405ac0
            0x00405ac0
            0x00405aca
            0x00405ad7
            0x00405ad7
            0x00405adc
            0x00405ae6
            0x00405ae8
            0x00405af5
            0x00405af5
            0x00405b02
            0x00405b10
            0x00405b1c
            0x00405b1c
            0x00405b21
            0x00405b25
            0x0040539b
            0x0040539b
            0x0040539f
            0x004053a5
            0x004053b1
            0x004053b6
            0x004053ba
            0x004053be
            0x004053c6
            0x004053cb
            0x004053d6
            0x004053d9
            0x004053e0
            0x004053e2
            0x004053ed
            0x004053f0
            0x004053fe
            0x0040540a
            0x00405413
            0x00405418
            0x0040541e
            0x00405426
            0x0040542b
            0x00405437
            0x00405439
            0x00405442
            0x00405442
            0x00405457
            0x00405459
            0x0040545b
            0x00405467
            0x00405467
            0x0040546b
            0x0040546b
            0x00405477
            0x00405479
            0x00405497
            0x00405497
            0x004054af
            0x004054b4
            0x004054b7
            0x004054ba
            0x004054bc
            0x004054bc
            0x004054d2
            0x004054d7
            0x004054da
            0x004054dd
            0x004054df
            0x004054df
            0x004054ed
            0x004054f1
            0x00405524
            0x00405527
            0x00405529
            0x00000000
            0x00000000
            0x004054fb
            0x004054fd
            0x00405504
            0x0040550b
            0x0040550d
            0x0040551a
            0x0040551d
            0x0040551d
            0x0040551d
            0x004054ff
            0x004054ff
            0x004054ff
            0x00405520
            0x00405520
            0x00405520
            0x0040552b
            0x0040552b
            0x00000000
            0x00405b2b
            0x00405b2b
            0x00405b2d
            0x00000000
            0x00405b2d
            0x00405b25
            0x00405abe
            0x00405a21
            0x00405533
            0x00405536
            0x00405539
            0x0040589a
            0x004058a1
            0x004058a3
            0x004058b0
            0x00000000
            0x004058b0
            0x00405553
            0x00405561

            APIs
            Strings
            • ade:g:G:hi:lLno:p:rs:tcuvw:z, xrefs: 004058BF
            • no destination, xrefs: 00405B45
            • -ddetach from console, background mode, xrefs: 00405F7D
            • port numbers can be individual or ranges: m-n [inclusive], xrefs: 00405FB9
            • [v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:, xrefs: 00405F71
            • -g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum, xrefs: 00405F95
            • sent %d, rcvd %d, xrefs: 00405B15
            • sent %d, rcvd %d, xrefs: 00405F24
            • -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning], xrefs: 00405FAD
            • no port[s] to connect to, xrefs: 00405B69
            • no connection, xrefs: 00405B32
            • invalid port %s, xrefs: 00405A86
            • -e proginbound program to exec [dangerous!!], xrefs: 00405F89
            • -tanswer TELNET negotiation, xrefs: 00405FA1
            • can't open %s, xrefs: 00405970
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: _close_itoa_open
            • String ID: -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning]$-ddetach from console, background mode$-e proginbound program to exec [dangerous!!]$-g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum$-tanswer TELNET negotiation$ sent %d, rcvd %d$[v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:$ade:g:G:hi:lLno:p:rs:tcuvw:z$can't open %s$invalid port %s$no connection$no destination$no port[s] to connect to$port numbers can be individual or ranges: m-n [inclusive]$sent %d, rcvd %d
            • API String ID: 357769857-3526283814
            • Opcode ID: 1669b2e5e66dc879dd0d20d4eb66c0b91ee9dd1b7078a8f24d9b467ac99b1e07
            • Instruction ID: 91497e83ffc2b0f5ee9b8eda1886ff08df82a04189f1f93d419c6693ae7b4ba2
            • Opcode Fuzzy Hash: 1669b2e5e66dc879dd0d20d4eb66c0b91ee9dd1b7078a8f24d9b467ac99b1e07
            • Instruction Fuzzy Hash: 39A13DA1B00A1486EB10DF26E89136A37A0FB44798F44442AEB5DB73E1EF3CD945C79C
            Uniqueness

            Uniqueness Score: -1.00%

            C-Code - Quality: 18%
            			E004055B5(void* __rsi, signed int _a16, long long _a24, long long _a32) {
            				void* _v24;
            				signed int _v32;
            				void* _v40;
            				signed int _v42;
            				signed short _v44;
            				signed int _v46;
            				signed int _v48;
            				signed long long _v56;
            				intOrPtr _v60;
            				signed int _v74;
            				signed int _t101;
            				signed int _t125;
            				signed int _t126;
            				void* _t141;
            				signed int _t144;
            				signed int _t151;
            				signed int _t153;
            				signed int _t155;
            				signed int _t184;
            				signed int _t190;
            				signed int _t204;
            				signed int _t238;
            				void* _t262;
            				signed int _t263;
            				signed int _t264;
            				signed int _t265;
            				signed int _t266;
            				void* _t267;
            				signed long long _t297;
            				signed int* _t298;
            				signed long long _t302;
            				signed long long _t305;
            				signed long long _t306;
            				intOrPtr _t309;
            				signed long long _t313;
            				signed long long _t316;
            				signed long long _t319;
            				signed int _t325;
            				signed long long _t327;
            				signed int _t334;
            				signed int* _t335;
            				signed long long _t339;
            				intOrPtr* _t341;
            				long long _t342;
            				long long* _t345;
            				signed long long _t365;
            				long long _t375;
            				signed long long _t376;
            				long long _t378;
            				char* _t379;
            				char* _t380;
            				long long _t428;
            				void* _t430;
            				void* _t440;
            
            				_t430 = __rsi;
            				FreeConsole();
            				while(1) {
            					L25:
            					_t297 = _a24;
            					_t437 = "ade:g:G:hi:lLno:p:rs:tcuvw:z";
            					_t423 = _t297;
            					_t229 = _a16;
            					_t263 = E00402422(_a16, _t297, "ade:g:G:hi:lLno:p:rs:tcuvw:z");
            					if(_t263 != 0xffffffff) {
            						break;
            					}
            					if(( *0x40b0d6 & 0x0000ffff) != 0) {
            						L004073A0();
            						L004074F8();
            						_t230 = 0x10000;
            						E0040371E(0x10000, _t297, _t423);
            						_v56 = _t297;
            					}
            					_t302 =  *0x40b0e8;
            					if(_t302 != 0) {
            						_t230 = 0;
            						L00407358();
            						 *0x40b0d4 = 0;
            						 *0x40b074 = 0;
            					}
            					_t101 =  *0x40b0d4 & 0x0000ffff;
            					if(_t101 != 0) {
            						_t302 =  *0x40b0c0;
            						r8d = 0x1b4;
            						L00407370();
            						 *0x40b074 = _t101;
            						_t272 =  *0x40b074;
            						if( *0x40b074 <= 0) {
            							_t302 =  *0x40b0c0;
            							_t423 = _t302;
            							E004035DB(_t229, _t272, _t376, "can\'t open %s", _t302, _t437, _t440);
            						}
            						_t230 = 0x64;
            						E0040371E(0x64, _t302, _t423);
            						 *0x40b0c0 = _t302;
            					}
            					_t305 =  *((intOrPtr*)((_t302 << 3) + _a24));
            					if(_t305 != 0) {
            						_t375 =  *((intOrPtr*)((_t305 << 3) + _a24));
            						E00403841( *0x40b0d2 & 0xffff, _t375, _t423, _t440);
            						_v24 = _t375;
            					}
            					if(_v24 != 0 && _v24 + 0x1c0 != 0) {
            						_v40 = _v24 + 0x1c0;
            					}
            					if(_v40 != 0) {
            						 *0x40b048 =  *0x40b048 + 1;
            					}
            					_t306 = __imp___errno;
            					 *_t306();
            					 *_t306 = 0;
            					if(( *0x40b0d0 & 0x0000ffff) == 0) {
            						L55:
            						_t289 = _v40;
            						if(_v40 == 0) {
            							E004035DB(_t229, _t289, _t376, "no destination", _t423, _t437, _t440);
            						}
            						_t309 =  *((intOrPtr*)((_t306 << 3) + _a24));
            						_t290 = _t309;
            						if(_t309 == 0) {
            							E004035DB(_t229, _t290, _t376, "no port[s] to connect to", _t423, _t437, _t440);
            						}
            						_t313 =  *((intOrPtr*)((_t309 + 1 << 3) + _a24));
            						if(_t313 != 0) {
            							 *0x40802c = 0;
            						}
            						_v44 = _v42 & 0x0000ffff;
            						while(1) {
            							_t316 =  *((_t313 << 3) + _a24);
            							if(_t316 == 0) {
            								break;
            							}
            							_v74 = 0;
            							_v46 = _v74 & 0x0000ffff;
            							_t319 =  *((intOrPtr*)((_t316 << 3) + _a24));
            							L004074F0();
            							_t376 = _t319;
            							__eflags = _t376;
            							if(_t376 != 0) {
            								 *_t376 = 0;
            								_t376 = _t376 + 1;
            								_v46 = E00403BC0(0, _t376);
            								__eflags = _v46;
            								if(__eflags == 0) {
            									_t423 = _t376;
            									E004035DB(_t230, __eflags, _t376, "invalid port %s", _t376, _t438, _t440);
            								}
            							}
            							_t313 =  *((intOrPtr*)((_t319 << 3) + _a24));
            							_t384 = _t313;
            							_v74 = E00403BC0(0, _t313);
            							__eflags = _v74;
            							if(_v74 == 0) {
            								_t334 = (_t313 << 3) + _a24;
            								__eflags = _t334;
            								_t313 =  *_t334;
            								_t423 = _t313;
            								_t384 = "invalid port %s";
            								E004035DB(_t230, _t334, _t376, "invalid port %s", _t313, _t438, _t440);
            							}
            							__eflags = (_v46 & 0x0000ffff) - _v74;
            							if((_v46 & 0x0000ffff) <= _v74) {
            								_v48 = _v74 & 0x0000ffff;
            							} else {
            								 *0x40802c = 0;
            								_v48 = _v46 & 0x0000ffff;
            								__eflags =  *0x40b0d6 & 0x0000ffff;
            								if(( *0x40b0d6 & 0x0000ffff) != 0) {
            									_t230 = _v46 & 0x0000ffff;
            									r8d = _v46 & 0x0000ffff;
            									E00403E4E(_v74 & 0x0000ffff, _v56, _v56);
            									_t313 = _v56;
            									_t384 = _t313;
            									_v48 = E00403DCA(_t264, _t313, _t313);
            								}
            							}
            							while(1) {
            								__eflags = (_v74 & 0x0000ffff) - _v48;
            								if((_v74 & 0x0000ffff) > _v48) {
            									break;
            								}
            								__eflags = _v42;
            								if(_v42 == 0) {
            									_t153 =  *0x40b0d6 & 0x0000ffff;
            									__eflags = _t153;
            									if(_t153 != 0) {
            										L004074C0();
            										_v44 = _t153;
            										__eflags = _v44 - 0x1fff;
            										if(_v44 <= 0x1fff) {
            											_t69 =  &_v44;
            											 *_t69 = _v44 + 0x2000;
            											__eflags =  *_t69;
            										}
            									}
            								}
            								_t230 = 0;
            								_v48 = E00403BC0(_v48 & 0x0000ffff, _t384);
            								_t322 = _v40;
            								r9d = _v44 & 0x0000ffff;
            								_t438 = _v32;
            								 *0x408010 = E00403EC7(_v48 & 0x0000ffff, _v40, _t423, _v32, _t440);
            								_t125 =  *0x408010; // 0xffffffff
            								__eflags = _t125;
            								if(_t125 > 0) {
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) != 0) {
            										__eflags =  *0x40b0d8 & 0x0000ffff;
            										if(( *0x40b0d8 & 0x0000ffff) != 0) {
            											_t151 =  *0x408010; // 0xffffffff
            											_t423 = _v40;
            											_t230 = _t151;
            											 *0x408010 = E00404773(_t151, _t322, _v40);
            										}
            									}
            								}
            								_t126 =  *0x408010; // 0xffffffff
            								__eflags = _t126;
            								if(_t126 <= 0) {
            									_t264 = 1;
            									__eflags =  *0x40802c & 0x0000ffff;
            									if(( *0x40802c & 0x0000ffff) != 0) {
            										L88:
            										_t325 = _v24 + 0x100;
            										__eflags = _t325;
            										_t326 = _v24;
            										_a32 =  *0x40b0b8;
            										r9d = _v48 & 0x0000ffff;
            										_t438 = _t325;
            										_t423 = _v24;
            										E004034EB("%s [%s] %d (%s)", _v24, _t325, _t440);
            										goto L89;
            									}
            									__eflags = ( *0x40b0da & 0x0000ffff) - 1;
            									if(( *0x40b0da & 0x0000ffff) > 1) {
            										goto L88;
            									}
            									_t326 = __imp__WSAGetLastError;
            									_t141 =  *__imp__WSAGetLastError();
            									__eflags = _t141 - 0x274d;
            									if(_t141 == 0x274d) {
            										goto L89;
            									}
            									goto L88;
            								} else {
            									_t264 = 0;
            									_a32 =  *0x40b0b8;
            									r9d = _v48 & 0x0000ffff;
            									_t438 = _v24 + 0x100;
            									_t423 = _v24;
            									E004034EB("%s [%s] %d (%s) open", _v24, _v24 + 0x100, _t440);
            									_t326 =  *0x40b0e8;
            									__eflags = _t326;
            									if(_t326 != 0) {
            										E004026FD(_t230, _t326, _t326, _t438);
            									}
            									__eflags =  *0x40b0e0 & 0x0000ffff;
            									if(( *0x40b0e0 & 0x0000ffff) == 0) {
            										_t326 =  *0x40b0e8;
            										__eflags = _t326;
            										if(_t326 == 0) {
            											_t144 =  *0x408010; // 0xffffffff
            											_t230 = _t144;
            											_t264 = E00404B7C(_t144, _t262, _t267, _t438, _t440);
            										}
            									}
            									L89:
            									_t327 = __imp__shutdown;
            									 *_t327();
            									_t384 = _t327;
            									_t313 = __imp__closesocket;
            									 *_t313();
            									__eflags =  *0x40b0cc;
            									if( *0x40b0cc != 0) {
            										_t230 =  *0x40b0cc;
            										_t313 = __imp___sleep;
            										 *_t313();
            									}
            									__eflags =  *0x40b0d6 & 0x0000ffff;
            									if(( *0x40b0d6 & 0x0000ffff) == 0) {
            										_t88 =  &_v48;
            										 *_t88 = _v48 - 1;
            										__eflags =  *_t88;
            									} else {
            										_t313 = _v56;
            										_t384 = _t313;
            										_v48 = E00403DCA(_t264, _t313, _t313);
            									}
            									continue;
            								}
            							}
            							_t155 =  *0x40b048 + 1;
            							__eflags = _t155;
            							 *0x40b048 = _t155;
            						}
            						_t335 = __imp___errno;
            						 *_t335();
            						 *_t335 = 0;
            						if(( *0x40b0da & 0x0000ffff) > 1) {
            							r8d =  *0x40b080;
            							E004034EB("sent %d, rcvd %d", _t423, _t438, _t440);
            						}
            						 *__imp__WSACleanup();
            						if(_v60 == 1) {
            							goto L3;
            						} else {
            							_t295 =  *0x40802c & 0x0000ffff;
            							if(( *0x40802c & 0x0000ffff) != 0) {
            								L00407428();
            							}
            							L00407428();
            							 *0x40b0da = 1;
            							E004034EB("[v1.12 NT http://eternallybored.org/misc/netcat/]\nconnect to somewhere:\tnc [-options] hostname port[s] [ports] ... \nlisten for inbound:\tnc -l -p port [options] [hostname] [port]\noptions:", _t423, _t438, _t440);
            							E004034EB("\t-d\t\tdetach from console, background mode\n", _t423, _t438, _t440);
            							E004034EB("\t-e prog\t\tinbound program to exec [dangerous!!]", _t423, _t438, _t440);
            							E004034EB("\t-g gateway\tsource-routing hop point[s], up to 8\n\t-G num\t\tsource-routing pointer: 4, 8, 12, ...\n\t-h\t\tthis cruft\n\t-i secs\t\tdelay interval for lines sent, ports scanned\n\t-l\t\tlisten mode, for inbound connects\n\t-L\t\tlisten harder, re-listen on socket close\n\t-n\t\tnumeric-only IP addresses, no DNS\n\t-o file\t\thex dump of traffic\n\t-p port\t\tlocal port number\n\t-r\t\trandomize local and remote ports\n\t-s addr\t\tlocal source address", _t423, _t438, _t440);
            							E004034EB("\t-t\t\tanswer TELNET negotiation", _t423, _t438, _t440);
            							E004034EB("\t-c\t\tsend CRLF instead of just LF\n\t-u\t\tUDP mode\n\t-v\t\tverbose [use twice to be more verbose]\n\t-w secs\t\ttimeout for connects and final net reads\n\t-z\t\tzero-I/O mode [used for scanning]", _t423, _t438, _t440);
            							E004035DB(0, _t295, _t376, "port numbers can be individual or ranges: m-n [inclusive]", _t423, _t438, _t440);
            							return 0;
            						}
            					} else {
            						_v48 = 0;
            						_t339 =  *((intOrPtr*)((_t306 << 3) + _a24));
            						if(_t339 != 0) {
            							_t365 =  *((intOrPtr*)((_t339 << 3) + _a24));
            							_v48 = E00403BC0(0, _t365);
            							if(_v48 == 0) {
            								_t423 =  *((intOrPtr*)((_t365 << 3) + _a24));
            								E004035DB(_t229, (_t365 << 3) + _a24, _t376, "invalid port %s",  *((intOrPtr*)((_t365 << 3) + _a24)), _t437, _t440);
            							}
            						}
            						_t306 = _v40;
            						r9d = _v42 & 0x0000ffff;
            						_t438 = _v32;
            						 *0x408010 = E0040425F(_v48 & 0x0000ffff, _t306, _v32, _t440);
            						_t184 =  *0x408010; // 0xffffffff
            						if(_t184 <= 0) {
            							L54:
            							E004035DB(_t229, _t288, _t376, "no connection", _t423, _t438, _t440);
            							goto L55;
            						} else {
            							_t340 =  *0x40b0e8;
            							if( *0x40b0e8 != 0) {
            								E004026FD(_t229, _t340, _t340, _t438);
            							}
            							_t306 =  *0x40b0e8;
            							if(_t306 == 0) {
            								_t204 =  *0x408010; // 0xffffffff
            								_t263 = E00404B7C(_t204, _t262, _t267, _t438, _t440);
            							}
            							if(( *0x40b0da & 0x0000ffff) > 1) {
            								r8d =  *0x40b080;
            								E004034EB(" sent %d, rcvd %d", _t423, _t438, _t440);
            							}
            							_t288 = _v60 - 1;
            							if(_v60 == 1) {
            								L3:
            								__eflags = _a16 - 1;
            								if(__eflags == 0) {
            									_t341 = _a24;
            									E0040371E(0x400, _t341, _t423);
            									_a24 = _t341;
            									_t342 = _a24;
            									 *_t342 =  *_t341;
            									E0040371E(0x2000, _t342, _t423);
            									_t378 = _t342;
            									 *((long long*)(_a24 + 8)) = _t378;
            									_t345 = __imp____iob_func;
            									 *_t345();
            									_t6 = _t345 + 0x60; // 0x60
            									_t440 = _t6;
            									r8d = 0xa;
            									L004074E8(); // executed
            									_t190 =  *__imp____iob_func();
            									L00407490();
            									r8d = 0x2000;
            									_t428 = _t378;
            									L00407368(); // executed
            									 *0x40b07c = _t190;
            									__eflags =  *0x40b07c;
            									if(__eflags == 0) {
            										E004035DB(0, __eflags, _t378, "wrong", _t428, _t438, _t440);
            									}
            									_t265 = E0040377B( *0x40b07c, _t378);
            									__eflags = _t265;
            									if(_t265 != 0) {
            										_t238 =  *0x40b07c - _t265;
            										__eflags = _t238;
            										 *0x40b07c = _t238;
            									}
            									__eflags =  *0x40b07c;
            									if( *0x40b07c != 0) {
            										L004073F8();
            									}
            									L004074F0();
            									_t379 =  *((intOrPtr*)(_a24 + 8));
            									__eflags = _t379;
            									if(_t379 != 0) {
            										 *_t379 = 0;
            									}
            									L004074F0();
            									_t380 =  *((intOrPtr*)(_a24 + 8));
            									__eflags = _t380;
            									if(_t380 != 0) {
            										 *_t380 = 0;
            									}
            									_t376 =  *((intOrPtr*)(_a24 + 8)) + 1;
            									_t266 = 2;
            									while(1) {
            										__eflags =  *_t376 & 0x000000ff;
            										if(__eflags == 0) {
            											break;
            										}
            										__eflags = ( *_t376 & 0x000000ff) - 0x20;
            										if(( *_t376 & 0x000000ff) != 0x20) {
            											_t11 = _t376 - 1; // -2
            											__eflags =  *_t11 & 0x000000ff;
            											if(( *_t11 & 0x000000ff) == 0) {
            												 *((_t266 << 3) + _a24) = _t376;
            												_t266 = _t266 + 1;
            												__eflags = _t266;
            											}
            										} else {
            											 *_t376 = 0;
            										}
            										_t376 = _t376 + 1;
            										__eflags = _t376;
            									}
            									_a16 = _t266;
            								}
            								continue;
            							} else {
            								_t229 = _t263;
            								L00407428();
            								goto L54;
            							}
            						}
            					}
            				}
            				_t14 = _t430 - 0x47; // -71
            				__eflags = _t14 - 0x33;
            				if(__eflags > 0) {
            					_t298 = __imp___errno;
            					 *_t298();
            					 *_t298 = 0;
            					E004035DB(_t229, __eflags, _t376, "nc -h for help", _t423, "ade:g:G:hi:lLno:p:rs:tcuvw:z", _t440);
            					goto L25;
            				}
            				_t423 =  *((intOrPtr*)(0x409b50 + _t297 * 4));
            				goto __rax;
            			}

























































            0x004055b5
            0x004055bc
            0x004058bb
            0x004058bb
            0x004058bb
            0x004058bf
            0x004058c6
            0x004058c9
            0x004058d1
            0x004058d6
            0x00000000
            0x00000000
            0x004058e6
            0x004058ed
            0x004058f4
            0x004058f9
            0x004058fe
            0x00405903
            0x00405903
            0x00405907
            0x00405911
            0x00405913
            0x00405918
            0x0040591d
            0x00405926
            0x00405926
            0x00405930
            0x0040593a
            0x0040593c
            0x00405943
            0x00405951
            0x00405956
            0x00405962
            0x00405964
            0x00405966
            0x0040596d
            0x00405977
            0x00405977
            0x0040597c
            0x00405981
            0x00405986
            0x00405986
            0x0040599d
            0x004059a3
            0x004059bf
            0x004059c5
            0x004059ca
            0x004059ca
            0x004059d3
            0x004059ee
            0x004059ee
            0x004059f7
            0x00405a02
            0x00405a02
            0x00405a08
            0x00405a0f
            0x00405a11
            0x00405a21
            0x00405b3e
            0x00405b3e
            0x00405b43
            0x00405b4c
            0x00405b4c
            0x00405b61
            0x00405b64
            0x00405b67
            0x00405b70
            0x00405b70
            0x00405b89
            0x00405b8f
            0x00405b91
            0x00405b91
            0x00405b9e
            0x00405edb
            0x00405eeb
            0x00405ef1
            0x00000000
            0x00000000
            0x00405ba7
            0x00405bb1
            0x00405bc5
            0x00405bd0
            0x00405bd5
            0x00405bd8
            0x00405bdb
            0x00405bdd
            0x00405be0
            0x00405bf1
            0x00405bf5
            0x00405bfa
            0x00405bfc
            0x00405c06
            0x00405c06
            0x00405bfa
            0x00405c1b
            0x00405c23
            0x00405c2b
            0x00405c2f
            0x00405c34
            0x00405c42
            0x00405c42
            0x00405c46
            0x00405c49
            0x00405c4c
            0x00405c53
            0x00405c53
            0x00405c5c
            0x00405c60
            0x00405cb3
            0x00405c62
            0x00405c62
            0x00405c6f
            0x00405c7a
            0x00405c7d
            0x00405c83
            0x00405c8f
            0x00405c95
            0x00405c9a
            0x00405c9e
            0x00405ca6
            0x00405ca6
            0x00405c7d
            0x00405ebe
            0x00405ec2
            0x00405ec6
            0x00000000
            0x00000000
            0x00405cbc
            0x00405cc1
            0x00405cc3
            0x00405cca
            0x00405ccd
            0x00405ccf
            0x00405cd4
            0x00405cd8
            0x00405cde
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405ce0
            0x00405cde
            0x00405ccd
            0x00405cec
            0x00405cf6
            0x00405d06
            0x00405d0a
            0x00405d0d
            0x00405d18
            0x00405d1e
            0x00405d24
            0x00405d26
            0x00405d2f
            0x00405d32
            0x00405d3b
            0x00405d3e
            0x00405d40
            0x00405d46
            0x00405d4a
            0x00405d51
            0x00405d51
            0x00405d3e
            0x00405d32
            0x00405d57
            0x00405d5d
            0x00405d5f
            0x00405dec
            0x00405df8
            0x00405dfb
            0x00405e1a
            0x00405e2c
            0x00405e2c
            0x00405e35
            0x00405e39
            0x00405e3e
            0x00405e41
            0x00405e44
            0x00405e4e
            0x00000000
            0x00405e4e
            0x00405e04
            0x00405e08
            0x00000000
            0x00000000
            0x00405e0a
            0x00405e11
            0x00405e13
            0x00405e18
            0x00000000
            0x00000000
            0x00000000
            0x00405d65
            0x00405d65
            0x00405d89
            0x00405d8e
            0x00405d91
            0x00405d94
            0x00405d9e
            0x00405da3
            0x00405daa
            0x00405dad
            0x00405dba
            0x00405dba
            0x00405dc6
            0x00405dc9
            0x00405dcf
            0x00405dd6
            0x00405dd9
            0x00405ddb
            0x00405de1
            0x00405de8
            0x00405de8
            0x00405dd9
            0x00405e53
            0x00405e63
            0x00405e6a
            0x00405e74
            0x00405e77
            0x00405e7e
            0x00405e86
            0x00405e88
            0x00405e90
            0x00405e92
            0x00405e99
            0x00405e99
            0x00405ea2
            0x00405ea5
            0x00405eb9
            0x00405eb9
            0x00405eb9
            0x00405ea7
            0x00405ea7
            0x00405eab
            0x00405eb3
            0x00405eb3
            0x00000000
            0x00405ea5
            0x00405d5f
            0x00405ed2
            0x00405ed2
            0x00405ed5
            0x00405ed5
            0x00405ef7
            0x00405efe
            0x00405f00
            0x00405f11
            0x00405f1f
            0x00405f2b
            0x00405f2b
            0x00405f37
            0x00405f3d
            0x00000000
            0x00405f43
            0x00405f4a
            0x00405f4d
            0x00405f51
            0x00405f51
            0x00405f5b
            0x00405f68
            0x00405f78
            0x00405f84
            0x00405f90
            0x00405f9c
            0x00405fa8
            0x00405fb4
            0x00405fc0
            0x00405fcb
            0x00405fcb
            0x00405a27
            0x00405a27
            0x00405a3d
            0x00405a43
            0x00405a55
            0x00405a65
            0x00405a6e
            0x00405a83
            0x00405a8d
            0x00405a8d
            0x00405a6e
            0x00405a9e
            0x00405aa2
            0x00405aa5
            0x00405ab0
            0x00405ab6
            0x00405abe
            0x00405b32
            0x00405b39
            0x00000000
            0x00405ac0
            0x00405ac0
            0x00405aca
            0x00405ad7
            0x00405ad7
            0x00405adc
            0x00405ae6
            0x00405ae8
            0x00405af5
            0x00405af5
            0x00405b02
            0x00405b10
            0x00405b1c
            0x00405b1c
            0x00405b21
            0x00405b25
            0x0040539b
            0x0040539b
            0x0040539f
            0x004053a5
            0x004053b1
            0x004053b6
            0x004053ba
            0x004053be
            0x004053c6
            0x004053cb
            0x004053d6
            0x004053d9
            0x004053e0
            0x004053e2
            0x004053ed
            0x004053f0
            0x004053fe
            0x0040540a
            0x00405413
            0x00405418
            0x0040541e
            0x00405426
            0x0040542b
            0x00405437
            0x00405439
            0x00405442
            0x00405442
            0x00405457
            0x00405459
            0x0040545b
            0x00405467
            0x00405467
            0x0040546b
            0x0040546b
            0x00405477
            0x00405479
            0x00405497
            0x00405497
            0x004054af
            0x004054b4
            0x004054b7
            0x004054ba
            0x004054bc
            0x004054bc
            0x004054d2
            0x004054d7
            0x004054da
            0x004054dd
            0x004054df
            0x004054df
            0x004054ed
            0x004054f1
            0x00405524
            0x00405527
            0x00405529
            0x00000000
            0x00000000
            0x004054fb
            0x004054fd
            0x00405504
            0x0040550b
            0x0040550d
            0x0040551a
            0x0040551d
            0x0040551d
            0x0040551d
            0x004054ff
            0x004054ff
            0x004054ff
            0x00405520
            0x00405520
            0x00405520
            0x0040552b
            0x0040552b
            0x00000000
            0x00405b2b
            0x00405b2b
            0x00405b2d
            0x00000000
            0x00405b2d
            0x00405b25
            0x00405abe
            0x00405a21
            0x00405533
            0x00405536
            0x00405539
            0x0040589a
            0x004058a1
            0x004058a3
            0x004058b0
            0x00000000
            0x004058b0
            0x00405553
            0x00405561

            APIs
            Strings
            • ade:g:G:hi:lLno:p:rs:tcuvw:z, xrefs: 004058BF
            • no destination, xrefs: 00405B45
            • -ddetach from console, background mode, xrefs: 00405F7D
            • port numbers can be individual or ranges: m-n [inclusive], xrefs: 00405FB9
            • [v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:, xrefs: 00405F71
            • -g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum, xrefs: 00405F95
            • sent %d, rcvd %d, xrefs: 00405B15
            • sent %d, rcvd %d, xrefs: 00405F24
            • -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning], xrefs: 00405FAD
            • no port[s] to connect to, xrefs: 00405B69
            • no connection, xrefs: 00405B32
            • invalid port %s, xrefs: 00405A86
            • -e proginbound program to exec [dangerous!!], xrefs: 00405F89
            • -tanswer TELNET negotiation, xrefs: 00405FA1
            • can't open %s, xrefs: 00405970
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: _close_itoa_open
            • String ID: -csend CRLF instead of just LF-uUDP mode-vverbose [use twice to be more verbose]-w secstimeout for connects and final net reads-zzero-I/O mode [used for scanning]$-ddetach from console, background mode$-e proginbound program to exec [dangerous!!]$-g gatewaysource-routing hop point[s], up to 8-G numsource-routing pointer: 4, 8, 12, ...-hthis cruft-i secsdelay interval for lines sent, ports scanned-llisten mode, for inbound connects-Llisten harder, re-listen on socket close-nnum$-tanswer TELNET negotiation$ sent %d, rcvd %d$[v1.12 NT http://eternallybored.org/misc/netcat/]connect to somewhere:nc [-options] hostname port[s] [ports] ... listen for inbound:nc -l -p port [options] [hostname] [port]options:$ade:g:G:hi:lLno:p:rs:tcuvw:z$can't open %s$invalid port %s$no connection$no destination$no port[s] to connect to$port numbers can be individual or ranges: m-n [inclusive]$sent %d, rcvd %d
            • API String ID: 357769857-3526283814
            • Opcode ID: 3a6a0462b61e22ec1e4e1e08eede510bdf388febeacd1c22725377d6b02288f0
            • Instruction ID: 32178a147c5a87466c29771b37e4f748e23c356c5c57a27f44acaaec0d940870
            • Opcode Fuzzy Hash: 3a6a0462b61e22ec1e4e1e08eede510bdf388febeacd1c22725377d6b02288f0
            • Instruction Fuzzy Hash: A6A13FA1B00A1486EB10DF26E89136A37A0FB44798F44442AEB5D773E1EF3CD945C79C
            Uniqueness

            Uniqueness Score: -1.00%

            APIs
            Strings
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: _close$_kbhit_read
            • String ID: Preposterous Pointers: %d, %d$net timeout$select fuxored$too many output retries
            • API String ID: 219334779-2498977472
            • Opcode ID: b2d1aa071998607e9355e0f092b8a8462de7b19ae197dece79b98469ba2bc168
            • Instruction ID: cf21e2d091fa6b690a5056ef3650b023c702295b07089b35a35e04ed77456dc2
            • Opcode Fuzzy Hash: b2d1aa071998607e9355e0f092b8a8462de7b19ae197dece79b98469ba2bc168
            • Instruction Fuzzy Hash: 0E121BB5B01604CAEB10DF6AE89075A33B1F788B88F54412ADF1DA77A4DB3DD941CB48
            Uniqueness

            Uniqueness Score: -1.00%

            C-Code - Quality: 37%
            			E004048CC(intOrPtr __ecx, void* __edx, long long __rdx, intOrPtr _a8, void* _a16, intOrPtr _a24) {
            				intOrPtr _v60;
            				intOrPtr _v64;
            				intOrPtr _v68;
            				void* __rbx;
            				intOrPtr _t35;
            				intOrPtr _t56;
            				intOrPtr _t62;
            				intOrPtr _t66;
            				char* _t77;
            				void* _t80;
            				char* _t81;
            				char* _t83;
            				char* _t84;
            				char* _t85;
            				char* _t86;
            				char* _t87;
            				char* _t88;
            				char* _t94;
            				intOrPtr _t95;
            				signed char* _t97;
            				void* _t98;
            				void* _t99;
            				char* _t100;
            
            				_a8 = __ecx;
            				_a16 = __rdx;
            				_a24 = r8d;
            				_t67 =  *0x40b074;
            				if( *0x40b074 == 0) {
            					E004035DB(__ecx, _t67, _t80, "oprint called with no open fd?!", __rdx, _t98, _t99);
            				}
            				if(_a24 != 0) {
            					_t81 =  *0x40b0c0;
            					if(_a8 == 0) {
            						 *_t81 = 0x3e;
            						_v64 =  *0x40b084;
            					} else {
            						 *_t81 = 0x3c;
            						_v64 =  *0x40b080;
            					}
            					 *((char*)(_t81 + 1)) = 0x20;
            					_t97 = _a16;
            					_t35 = _a24;
            					_v60 = _t35;
            					 *((char*)( *0x40b0c0 + 0x3b)) = 0x23;
            					 *((char*)( *0x40b0c0 + 0x3c)) = 0x20;
            					while(_v60 != 0) {
            						_t62 = 0x10;
            						_v68 = 0x4e;
            						__eflags = _v60 - 0x10;
            						if(_v60 >= 0x10) {
            							L12:
            							_v60 = _v60 - _t62;
            							r8d = _v64;
            							_t94 = "%8.8x ";
            							L004074B8();
            							_v64 = _v64 + _t62;
            							_t83 =  *0x40b0c0 + 0xb;
            							_t77 =  *0x40b0c0;
            							_t100 = _t77 + 0x3d;
            							while(1) {
            								__eflags = _t62;
            								if(_t62 == 0) {
            									break;
            								}
            								r13d = ( *_t97 & 0x000000ff) >> 0x00000004 & 0x000000ff;
            								 *_t83 =  *(_t94 + "0123456789abcdef  ") & 0x000000ff;
            								_t84 = _t83 + 1;
            								r13d =  *_t97 & 0xff;
            								r13d = r13d & 0x0000000f;
            								_t77 = "0123456789abcdef  ";
            								 *_t84 =  *(_t94 + _t77) & 0x000000ff;
            								_t85 = _t84 + 1;
            								 *_t85 = 0x20;
            								_t83 = _t85 + 1;
            								__eflags = ( *_t97 & 0x000000ff) - 0x1f;
            								if(( *_t97 & 0x000000ff) <= 0x1f) {
            									L16:
            									 *_t100 = 0x2e;
            									L17:
            									_t100 = _t100 + 1;
            									_t97 =  &(_t97[1]);
            									_t62 = _t62 - 1;
            									__eflags = _t62;
            									continue;
            								}
            								__eflags = ( *_t97 & 0x000000ff) - 0x7e;
            								if(( *_t97 & 0x000000ff) > 0x7e) {
            									goto L16;
            								}
            								 *_t100 =  *_t97 & 0x000000ff;
            								goto L17;
            							}
            							 *_t100 = 0xa;
            							_t95 =  *0x40b0c0;
            							_t35 =  *0x40b074;
            							r8d = _v68;
            							_t56 = _t35;
            							L00407350();
            							__eflags = _t35;
            							if(__eflags < 0) {
            								_t35 = E004035DB(_t56, __eflags, _t83, "ofd write err", _t95, _t98, _t99);
            							}
            							continue;
            						}
            						_v68 = _v68 - 0x10 + _v60;
            						_t17 = _t77 + 0xb; // 0xb
            						_t86 =  *0x40b0c0 + _t17;
            						_t66 = 0x10 - _v60;
            						while(1) {
            							__eflags = _t66;
            							if(_t66 == 0) {
            								break;
            							}
            							 *_t86 = 0x20;
            							_t87 = _t86 + 1;
            							 *_t87 = 0x20;
            							_t88 = _t87 + 1;
            							 *_t88 = 0x20;
            							_t86 = _t88 + 1;
            							_t66 = _t66 - 1;
            							__eflags = _t66;
            						}
            						_t62 = _v60;
            						goto L12;
            					}
            					return _t35;
            				}
            				return __eax;
            			}


























            0x004048db
            0x004048de
            0x004048e2
            0x004048ec
            0x004048ee
            0x004048f7
            0x004048f7
            0x00404900
            0x00404906
            0x00404911
            0x00404921
            0x0040492a
            0x00404913
            0x00404913
            0x0040491c
            0x0040491c
            0x00404931
            0x00404934
            0x00404938
            0x0040493b
            0x00404949
            0x00404957
            0x00404aa1
            0x0040495f
            0x00404964
            0x0040496b
            0x0040496e
            0x004049c1
            0x004049c1
            0x004049d9
            0x004049dc
            0x004049df
            0x004049e4
            0x004049ee
            0x004049f2
            0x004049f9
            0x00404a6c
            0x00404a6c
            0x00404a6e
            0x00000000
            0x00000000
            0x00404a05
            0x00404a17
            0x00404a19
            0x00404a23
            0x00404a26
            0x00404a2d
            0x00404a38
            0x00404a3a
            0x00404a3e
            0x00404a41
            0x00404a48
            0x00404a4a
            0x00404a5c
            0x00404a5c
            0x00404a61
            0x00404a61
            0x00404a65
            0x00404a69
            0x00404a69
            0x00000000
            0x00404a69
            0x00404a4f
            0x00404a51
            0x00000000
            0x00000000
            0x00404a56
            0x00000000
            0x00404a56
            0x00404a70
            0x00404a78
            0x00404a7f
            0x00404a85
            0x00404a88
            0x00404a8a
            0x00404a91
            0x00404a93
            0x00404a9c
            0x00404a9c
            0x00000000
            0x00404a93
            0x00404979
            0x00404985
            0x00404992
            0x0040499d
            0x004049ba
            0x004049ba
            0x004049bc
            0x00000000
            0x00000000
            0x004049a2
            0x004049a5
            0x004049a9
            0x004049ac
            0x004049b0
            0x004049b3
            0x004049b7
            0x004049b7
            0x004049b7
            0x004049be
            0x00000000
            0x004049be
            0x00000000
            0x00404aa1
            0x00404aba

            APIs
            Strings
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: _write
            • String ID: %8.8x $0123456789abcdef $ofd write err$oprint called with no open fd?!
            • API String ID: 4149450435-2525127170
            • Opcode ID: 8d32f703b86c68e0676f0e28d192fc80949e38d902dbebd8188bc8d52a0953c0
            • Instruction ID: 753d877037e281a7939baf9683916c7999053b966fcdfa04dcdb03f4a0fd957e
            • Opcode Fuzzy Hash: 8d32f703b86c68e0676f0e28d192fc80949e38d902dbebd8188bc8d52a0953c0
            • Instruction Fuzzy Hash: 7E518DB3B456A08AEB02CB39E84039E3BA1F354748F084126EF9967799D73CC901C799
            Uniqueness

            Uniqueness Score: -1.00%

            APIs
            Strings
            • Failed to create ReadShell session thread, error = %s, xrefs: 004027CB, 00402884
            • WaitForMultipleObjects error: %s, xrefs: 00402A05
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: _itoa
            • String ID: Failed to create ReadShell session thread, error = %s$WaitForMultipleObjects error: %s
            • API String ID: 2976379300-1286572211
            • Opcode ID: 2a9cf43e09b0fceb8f74368e5b9e0c26564e1dcfd8b798480aaccd27c0ca2a2e
            • Instruction ID: 0cf69bf676a791dd5fa2397a66077d321a7da3f5f50b2f4c5f390b80d2b701dc
            • Opcode Fuzzy Hash: 2a9cf43e09b0fceb8f74368e5b9e0c26564e1dcfd8b798480aaccd27c0ca2a2e
            • Instruction Fuzzy Hash: 59A1E7B6B00B0889EB50DB6AE89135D2B70F388B98F104626CF5D677B8DF38C5458794
            Uniqueness

            Uniqueness Score: -1.00%

            APIs
            Strings
            • Failed to create shell stdin pipe, error = %s, xrefs: 004025D3
            • Failed to execute shell, xrefs: 00402655
            • Failed to create shell stdout pipe, error = %s, xrefs: 0040254D
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: _itoa
            • String ID: Failed to create shell stdin pipe, error = %s$Failed to create shell stdout pipe, error = %s$Failed to execute shell
            • API String ID: 2976379300-2392963465
            • Opcode ID: b0f55332e28ff3cb3008e544f4763bc45c2f83d5e1f8347cbdb1f26d53328cae
            • Instruction ID: 99d4967df45a7bf232336e649b03466fdce5a92ee8dc76b57760f8b5f02a6509
            • Opcode Fuzzy Hash: b0f55332e28ff3cb3008e544f4763bc45c2f83d5e1f8347cbdb1f26d53328cae
            • Instruction Fuzzy Hash: DA61E532B11B0498EF10DBA6E8A479D2770B348B98F04422ADE5D6BBE8DF7DC645C744
            Uniqueness

            Uniqueness Score: -1.00%

            C-Code - Quality: 43%
            			E00406490(int __eax, signed int __rax, long long __rbx, long long __rcx, long long __rdx, long long __rdi, long long __rsi, long long __rbp, long long __r8, signed long long __r10, long long __r12, long long __r13, long long __r14) {
            				long long _v8;
            				long long _v16;
            				long long _v24;
            				long long _v32;
            				long long _v40;
            				long long _v48;
            				long long _v56;
            				signed int _v60;
            				int _v84;
            				void* _v96;
            				char _v120;
            				long long _v160;
            				long long _v168;
            				long long _v176;
            				long long _v184;
            				long long _v192;
            				char _v196;
            				signed long long _v208;
            				int _t61;
            				long _t62;
            				signed int _t63;
            				char _t65;
            				signed int _t67;
            				signed int _t70;
            				signed int _t72;
            				signed int _t76;
            				signed int _t97;
            				signed int _t98;
            				signed int _t99;
            				signed int* _t105;
            				signed int* _t110;
            				signed char* _t113;
            				signed int* _t114;
            				signed int _t122;
            				signed long long* _t146;
            				void* _t161;
            				void* _t164;
            				intOrPtr _t165;
            				void* _t166;
            				signed int _t171;
            				signed long long _t175;
            				signed int _t177;
            				signed int _t181;
            
            				_t189 = __r14;
            				_t187 = __r13;
            				_t182 = __r12;
            				_t175 = __r10;
            				_t143 = __rbp;
            				_t61 = __eax;
            				_v56 = __rbx;
            				_v48 = __rsi;
            				_t104 = __r8;
            				_v40 = __rdi;
            				_v32 = __rbp;
            				_t138 = __rcx;
            				_v24 = __r12;
            				_v16 = __r13;
            				_t132 = __rdx;
            				_v8 = __r14;
            				if(__r8 != 0) {
            					r8d = 0x30;
            					_t62 = VirtualQuery(??, ??, ??);
            					__eflags = __rax;
            					if(__rax == 0) {
            						_t113 = "  VirtualQuery failed for %d bytes at address %p";
            						_t159 = __rcx;
            						_t63 = E00406430(_t62, _t113,  &_v120, __rdx, __rcx, __rbp, __rcx, _t164, __r10, __r12, __r13, __r14);
            						asm("o16 nop [cs:eax+eax]");
            						r8d =  *0x40b170;
            						_v192 = _t104;
            						_v184 = __rcx;
            						_v176 = __rdx;
            						_v168 = __rbp;
            						__eflags = r8d;
            						_v160 = __r12;
            						if(r8d == 0) {
            							_t105 = 0x40a210;
            							 *0x40b170 = 1;
            							_t122 = 0;
            							__eflags = 0x40a210 - 7;
            							if(0x40a210 <= 7) {
            								goto L11;
            							} else {
            								__eflags = 0x40a210 - 0xb;
            								if(0x40a210 <= 0xb) {
            									L23:
            									__eflags =  *_t105;
            									if( *_t105 != 0) {
            										goto L17;
            									} else {
            										__eflags = _t105[1];
            										if(_t105[1] != 0) {
            											goto L17;
            										} else {
            											goto L25;
            										}
            									}
            								} else {
            									_t99 =  *0x40a210; // 0x0
            									__eflags = _t99;
            									if(_t99 != 0) {
            										L17:
            										__eflags = _t105 - 0x40a210;
            										while(_t105 < 0x40a210) {
            											r8d = 4;
            											_t113 =  &(_t113[0x400000]);
            											_t65 =  *_t113 +  *_t105;
            											_t105 =  &(_t105[2]);
            											_v196 = _t65;
            											_t63 = E00406490(_t65, 0x40a210, _t105, _t113,  &_v196,  &_v196, 0x40a210, 0x400000, _t159, _t175, _t182, _t187, _t189);
            											__eflags = _t105 - 0x40a210;
            										}
            										goto L11;
            									} else {
            										_t97 =  *0x40a214; // 0x0
            										__eflags = _t97;
            										if(_t97 == 0) {
            											_t98 =  *0x40a218; // 0x0
            											__eflags = _t98;
            											if(_t98 != 0) {
            												L25:
            												__eflags = _t105[2] - 1;
            												if(_t105[2] != 1) {
            													_t114 = "  Unknown pseudo relocation protocol version %d.\n";
            													E00406430(_t63, _t114, _t122, _t132, _t138, _t143, _t159, _t164, _t175, _t182, _t187, _t189);
            													0;
            													0;
            													0;
            													_push(_t105);
            													_t67 =  *_t114;
            													__eflags = _t67 - 0xc0000091;
            													if(_t67 > 0xc0000091) {
            														__eflags = _t67 - 0xc0000094;
            														if(__eflags == 0) {
            															_t76 = 0;
            															goto L56;
            														} else {
            															if(__eflags <= 0) {
            																__eflags = _t67 - 0xc0000092;
            																if(_t67 == 0xc0000092) {
            																	goto L78;
            																} else {
            																	__eflags = _t67 - 0xc0000093;
            																	if(_t67 == 0xc0000093) {
            																		goto L55;
            																	} else {
            																		_t72 = 0;
            																		goto L64;
            																	}
            																}
            															} else {
            																__eflags = _t67 - 0xc0000095;
            																if(_t67 == 0xc0000095) {
            																	goto L78;
            																} else {
            																	__eflags = _t67 - 0xc0000096;
            																	if(_t67 == 0xc0000096) {
            																		goto L79;
            																	} else {
            																		goto L63;
            																	}
            																}
            															}
            														}
            													} else {
            														__eflags = _t67 - 0xc000008d;
            														if(_t67 < 0xc000008d) {
            															__eflags = _t67 - 0xc0000008;
            															if(__eflags == 0) {
            																goto L78;
            															} else {
            																if(__eflags > 0) {
            																	__eflags = _t67 - 0xc000001d;
            																	if(_t67 == 0xc000001d) {
            																		L79:
            																		L00407430();
            																		__eflags = 0x40a210 - 1;
            																		if(0x40a210 == 1) {
            																			L00407430();
            																			_t70 = _t67 | 0xffffffff;
            																		} else {
            																			__eflags = 0x40a210;
            																			_t70 = 1;
            																			if(0x40a210 != 0) {
            																				 *0x40a210();
            																				_t70 = 0xffffffff;
            																			}
            																		}
            																		goto L58;
            																	} else {
            																		__eflags = _t67 - 0xc000008c;
            																		if(_t67 != 0xc000008c) {
            																			goto L63;
            																		} else {
            																			goto L78;
            																		}
            																	}
            																} else {
            																	__eflags = _t67 - 0x80000002;
            																	if(_t67 == 0x80000002) {
            																		goto L78;
            																	} else {
            																		__eflags = _t67 - 0xc0000005;
            																		if(_t67 != 0xc0000005) {
            																			L63:
            																			_t72 = 0;
            																			__eflags = 0;
            																			L64:
            																			return _t72;
            																		} else {
            																			L00407430();
            																			__eflags = 0x40a210 - 1;
            																			if(0x40a210 == 1) {
            																				L00407430();
            																				_t70 = _t67 | 0xffffffff;
            																			} else {
            																				__eflags = 0x40a210;
            																				_t70 = 1;
            																				if(0x40a210 != 0) {
            																					 *0x40a210();
            																					_t70 = 0xffffffff;
            																				}
            																			}
            																			goto L58;
            																		}
            																	}
            																}
            															}
            														} else {
            															L55:
            															_t76 = 1;
            															L56:
            															L00407430();
            															__eflags = 0x40a210 - 1;
            															if(0x40a210 == 1) {
            																L00407430();
            																__eflags = _t76;
            																if(_t76 == 0) {
            																	L78:
            																	return 0xffffffff;
            																} else {
            																	_t70 = E00406B50(_t67) | 0xffffffff;
            																	goto L58;
            																}
            															} else {
            																_t70 = 0;
            																__eflags = 0x40a210;
            																if(0x40a210 != 0) {
            																	 *0x40a210();
            																	_t70 = 0xffffffff;
            																}
            																L58:
            																return _t70;
            															}
            														}
            													}
            												} else {
            													_t110 =  &(_t105[3]);
            													__eflags = _t110 - 0x40a210;
            													if(_t110 < 0x40a210) {
            														_t146 =  &_v208;
            														do {
            															r8d = _t110[2];
            															_t63 = r8b & 0xffffffff;
            															_t113 =  &(_t113[0x400000]);
            															__eflags = _t63 - 0x10;
            															_t165 =  *((intOrPtr*)(0x400000 + _t122));
            															if(__eflags == 0) {
            																r10d =  *_t113 & 0x0000ffff;
            																__eflags = r10d & 0x00008000;
            																_t160 = _t175;
            																if((r10d & 0x00008000) == 0) {
            																	goto L41;
            																} else {
            																	_t181 = (_t175 | 0xffff0000) - 0x400000;
            																	__eflags = _t181;
            																	_t175 = _t165 - _t122 + _t181;
            																	_v208 = _t175;
            																	goto L40;
            																}
            															} else {
            																if(__eflags > 0) {
            																	L32:
            																	__eflags = _t63 - 0x20;
            																	if(_t63 == 0x20) {
            																		r10d =  *_t113;
            																		__eflags = r10d & 0x80000000;
            																		_t160 = _t175;
            																		if((r10d & 0x80000000) == 0) {
            																			goto L41;
            																		} else {
            																			_t177 = (_t175 | 0x00000000) - 0x400000;
            																			__eflags = _t177;
            																			_t175 = _t165 - _t122 + _t177;
            																			_v208 = _t175;
            																			goto L47;
            																		}
            																	} else {
            																		__eflags = _t63 - 0x40;
            																		if(_t63 != 0x40) {
            																			goto L31;
            																		} else {
            																			_t171 = _t165 - _t122 - 0x400000 +  *_t113;
            																			__eflags = _t171;
            																			_v208 = _t171;
            																			goto L35;
            																		}
            																	}
            																} else {
            																	__eflags = _t63 - 8;
            																	if(_t63 == 8) {
            																		r10d =  *_t113 & 0x000000ff;
            																		__eflags = r10b & 0x00000080;
            																		_t160 = _t175;
            																		if((r10b & 0x00000080) == 0) {
            																			L41:
            																			_t166 = _t165 - _t122;
            																			_t161 = _t160 - 0x400000;
            																			__eflags = _t63 - 0x10;
            																			_t160 = _t166 + _t161;
            																			_v208 = _t166 + _t161;
            																			if(__eflags == 0) {
            																				L40:
            																				r8d = 2;
            																				_t122 = _t146;
            																				_t63 = E00406490(_t63, 0x40a210, _t110, _t113, _t122, 0x40a210, 0x400000, _t146, _t160, _t175, 0, _t187, _t189);
            																			} else {
            																				if(__eflags > 0) {
            																					__eflags = _t63 - 0x20;
            																					if(_t63 == 0x20) {
            																						L47:
            																						r8d = 4;
            																						_t122 = _t146;
            																						_t63 = E00406490(_t63, 0x40a210, _t110, _t113, _t122, 0x40a210, 0x400000, _t146, _t160, _t175, 0, _t187, _t189);
            																					} else {
            																						__eflags = _t63 - 0x40;
            																						if(_t63 == 0x40) {
            																							L35:
            																							r8d = 8;
            																							_t122 = _t146;
            																							_t63 = E00406490(_t63, 0x40a210, _t110, _t113, _t122, 0x40a210, 0x400000, _t146, _t160, _t175, 0, _t187, _t189);
            																						}
            																					}
            																				} else {
            																					__eflags = _t63 - 8;
            																					if(_t63 == 8) {
            																						goto L44;
            																					}
            																				}
            																			}
            																		} else {
            																			_t175 = _t165 - _t122 + (_t175 | 0xffffff00) - 0x400000;
            																			_v208 = _t175;
            																			L44:
            																			r8d = 1;
            																			_t122 = _t146;
            																			_t63 = E00406490(_t63, 0x40a210, _t110, _t113, _t122, 0x40a210, 0x400000, _t146, _t160, _t175, 0, _t187, _t189);
            																		}
            																	} else {
            																		L31:
            																		_t113 = "  Unknown pseudo relocation bit size %d.\n";
            																		_v208 = 0;
            																		_t63 = E00406430(_t63, _t113, _t122, 0x40a210, 0x400000, _t146, _t160, _t165, _t175, 0, _t187, _t189);
            																		goto L32;
            																	}
            																}
            															}
            															_t110 =  &(_t110[3]);
            															__eflags = 0x40a210 - _t110;
            														} while (0x40a210 > _t110);
            													}
            													goto L11;
            												}
            											} else {
            												_t105 = 0x40a21c;
            												goto L23;
            											}
            										} else {
            											goto L17;
            										}
            									}
            								}
            							}
            						} else {
            							L11:
            							return _t63;
            						}
            					} else {
            						_t61 = _v84;
            						__eflags = _t61 - 4;
            						if(_t61 != 4) {
            							__eflags = _t61 - 0x40;
            							if(_t61 == 0x40) {
            								goto L4;
            							} else {
            								r8d = 0x40;
            								VirtualProtect(??, ??, ??, ??);
            								_t61 = _v84;
            								__eflags = _t61 - 0x40;
            								r13b = _t61 != 0x40;
            								__eflags = _t61 - 4;
            								r14b = _t61 != 4;
            								L004073F8();
            								__eflags = r14b;
            								if(r14b != 0) {
            									__eflags = r13b;
            									if(r13b != 0) {
            										r8d = _v60;
            										_t61 = VirtualProtect(??, ??, ??, ??);
            									}
            								}
            							}
            						} else {
            							L4:
            							L004073F8();
            						}
            						goto L1;
            					}
            				} else {
            					L1:
            					return _t61;
            				}
            			}














































            0x00406490
            0x00406490
            0x00406490
            0x00406490
            0x00406490
            0x00406490
            0x0040649a
            0x0040649f
            0x004064a4
            0x004064a7
            0x004064ac
            0x004064b1
            0x004064b4
            0x004064bc
            0x004064c4
            0x004064c7
            0x004064cf
            0x0040650a
            0x00406510
            0x00406516
            0x00406519
            0x004065b1
            0x004065b8
            0x004065c0
            0x004065c5
            0x004065d4
            0x004065db
            0x004065e0
            0x004065e5
            0x004065ea
            0x004065ef
            0x004065f2
            0x004065f7
            0x00406627
            0x0040662e
            0x0040663b
            0x0040663e
            0x00406642
            0x00000000
            0x00406644
            0x00406644
            0x00406648
            0x004066c1
            0x004066c3
            0x004066c5
            0x00000000
            0x004066c7
            0x004066ca
            0x004066cc
            0x00000000
            0x00000000
            0x00000000
            0x00000000
            0x004066cc
            0x0040664a
            0x0040664a
            0x00406650
            0x00406652
            0x00406660
            0x00406660
            0x0040666a
            0x00406683
            0x0040668c
            0x00406691
            0x00406693
            0x00406697
            0x0040669b
            0x004066a0
            0x004066a0
            0x00000000
            0x00406654
            0x00406654
            0x0040665a
            0x0040665c
            0x004066b0
            0x004066b6
            0x004066b8
            0x004066ce
            0x004066d1
            0x004066d4
            0x00406865
            0x0040686c
            0x00406877
            0x0040687b
            0x0040687f
            0x00406880
            0x00406885
            0x00406887
            0x0040688c
            0x004068c4
            0x004068c9
            0x00406960
            0x00000000
            0x004068cf
            0x004068cf
            0x00406940
            0x00406945
            0x00000000
            0x00406947
            0x00406947
            0x0040694c
            0x00000000
            0x00406952
            0x00406952
            0x00000000
            0x00406952
            0x0040694c
            0x004068d1
            0x004068d1
            0x004068d6
            0x00000000
            0x004068dc
            0x004068dc
            0x004068e1
            0x00000000
            0x00000000
            0x00000000
            0x00000000
            0x004068e1
            0x004068d6
            0x004068cf
            0x0040688e
            0x0040688e
            0x00406893
            0x004068f0
            0x004068f5
            0x00000000
            0x004068fb
            0x004068fb
            0x00406970
            0x00406975
            0x00406990
            0x00406997
            0x0040699c
            0x004069a3
            0x00406a07
            0x00406a0c
            0x004069a5
            0x004069a5
            0x004069a8
            0x004069ad
            0x004069b8
            0x004069ba
            0x004069ba
            0x004069ad
            0x00000000
            0x00406977
            0x00406977
            0x0040697c
            0x00000000
            0x00000000
            0x00000000
            0x00000000
            0x0040697c
            0x004068fd
            0x004068fd
            0x00406902
            0x00000000
            0x00406904
            0x00406904
            0x00406909
            0x004068e7
            0x004068e7
            0x004068e7
            0x004068e9
            0x004068ee
            0x0040690b
            0x00406912
            0x00406917
            0x0040691e
            0x004069f5
            0x004069fa
            0x00406924
            0x00406924
            0x00406927
            0x0040692c
            0x00406933
            0x00406935
            0x00406935
            0x0040692c
            0x00000000
            0x0040691e
            0x00406909
            0x00406902
            0x004068fb
            0x00406895
            0x00406895
            0x00406895
            0x0040689a
            0x004068a1
            0x004068a6
            0x004068ad
            0x004069da
            0x004069df
            0x004069e1
            0x00406982
            0x0040698c
            0x004069e3
            0x004069e8
            0x00000000
            0x004069e8
            0x004068b3
            0x004068b3
            0x004068b5
            0x004068b8
            0x004069c9
            0x004069cb
            0x004069cb
            0x004068be
            0x004068c3
            0x004068c3
            0x004068ad
            0x00406893
            0x004066da
            0x004066da
            0x004066e5
            0x004066e8
            0x004066f5
            0x00406704
            0x00406707
            0x0040670d
            0x00406711
            0x00406714
            0x00406717
            0x0040671b
            0x00406780
            0x00406784
            0x0040678b
            0x0040678e
            0x00000000
            0x00406790
            0x0040679a
            0x0040679a
            0x0040679d
            0x004067a1
            0x00000000
            0x004067a1
            0x0040671d
            0x0040671d
            0x00406741
            0x00406741
            0x00406744
            0x004067f0
            0x004067f3
            0x004067fa
            0x004067fd
            0x00000000
            0x004067ff
            0x00406805
            0x00406805
            0x00406808
            0x0040680c
            0x00000000
            0x0040680c
            0x0040674a
            0x0040674a
            0x0040674d
            0x00000000
            0x0040674f
            0x00406755
            0x00406755
            0x00406758
            0x00000000
            0x00406758
            0x0040674d
            0x0040671f
            0x0040671f
            0x00406722
            0x00406824
            0x00406828
            0x0040682c
            0x0040682f
            0x004067c0
            0x004067c0
            0x004067c3
            0x004067c6
            0x004067c9
            0x004067cd
            0x004067d2
            0x004067a6
            0x004067a6
            0x004067ac
            0x004067af
            0x004067d4
            0x004067d4
            0x00406850
            0x00406853
            0x00406811
            0x00406811
            0x00406817
            0x0040681a
            0x00406855
            0x00406855
            0x00406858
            0x0040675d
            0x0040675d
            0x00406763
            0x00406766
            0x00406766
            0x00406858
            0x004067d6
            0x004067d6
            0x004067d9
            0x00000000
            0x00000000
            0x004067d9
            0x004067d4
            0x00406831
            0x0040683e
            0x00406842
            0x004067db
            0x004067db
            0x004067e1
            0x004067e4
            0x004067e4
            0x00406728
            0x00406728
            0x00406728
            0x00406733
            0x0040673c
            0x00000000
            0x0040673c
            0x00406722
            0x0040671d
            0x0040676b
            0x0040676f
            0x0040676f
            0x00406774
            0x00000000
            0x004066e8
            0x004066ba
            0x004066ba
            0x00000000
            0x004066ba
            0x00000000
            0x00000000
            0x00000000
            0x0040665c
            0x00406652
            0x00406648
            0x004065f9
            0x004065f9
            0x00406616
            0x00406616
            0x0040651f
            0x0040651f
            0x00406523
            0x00406526
            0x00406540
            0x00406543
            0x00000000
            0x00406545
            0x0040654a
            0x00406564
            0x00406566
            0x00406573
            0x00406576
            0x0040657a
            0x0040657d
            0x00406581
            0x00406586
            0x00406589
            0x0040658f
            0x00406592
            0x0040659b
            0x004065aa
            0x004065aa
            0x00406592
            0x00406589
            0x00406528
            0x00406528
            0x00406531
            0x00406531
            0x00000000
            0x00406526
            0x004064d1
            0x004064d1
            0x00406504
            0x00406504

            APIs
            Strings
            • VirtualQuery failed for %d bytes at address %p, xrefs: 004065B1
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: QueryVirtual
            • String ID: VirtualQuery failed for %d bytes at address %p
            • API String ID: 1804819252-2206166143
            • Opcode ID: 37bdc5911b218e1f3bbe607bee17ffe94384d2fcda080e89025a07e95b95bf67
            • Instruction ID: 0637fb309ef209699b267df1f0d1f578fe8f7498e289977fe83c24590cb80b55
            • Opcode Fuzzy Hash: 37bdc5911b218e1f3bbe607bee17ffe94384d2fcda080e89025a07e95b95bf67
            • Instruction Fuzzy Hash: CC314876618B9086E6209B16B84035BB774F789BC4F584026EF8A63B69CF3CD521CF08
            Uniqueness

            Uniqueness Score: -1.00%

            APIs
            Strings
            • SessionReadShellThreadFn exitted, error = %s, xrefs: 00402E38
            • exit, xrefs: 00402EAC
            Memory Dump Source
            • Source File: 00000001.00000002.1207620874.0000000000401000.00000020.00000001.01000000.00000003.sdmp, Offset: 00400000, based on PE: true
            • Associated: 00000001.00000002.1207614218.0000000000400000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207630724.0000000000408000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207637190.0000000000409000.00000002.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207644750.000000000040C000.00000004.00000001.01000000.00000003.sdmpDownload File
            • Associated: 00000001.00000002.1207651573.000000000040D000.00000008.00000001.01000000.00000003.sdmpDownload File
            Joe Sandbox IDA Plugin
            • Snapshot File: hcaresult_1_2_400000_nc64.jbxd
            Yara matches
            Similarity
            • API ID: _itoa_strnicmp
            • String ID: SessionReadShellThreadFn exitted, error = %s$exit
            • API String ID: 2283094285-2225757753
            • Opcode ID: 821976ffd4d3dd39a9abe39c8850d3ccbbf38a04894f7d84bae644aa84c5f3e6
            • Instruction ID: a910a5ee9e59e8e36ce5f91a2045ce4b3482010477b2b0533805864d1e806828
            • Opcode Fuzzy Hash: 821976ffd4d3dd39a9abe39c8850d3ccbbf38a04894f7d84bae644aa84c5f3e6
            • Instruction Fuzzy Hash: 27717872B04B5589EB10CBA9E9947AD37B0B30878CF044566DF4C67BA8DB78CA05CB58
            Uniqueness

            Uniqueness Score: -1.00%