joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465880
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp esi, dword [esp + 0xc]
je 0x465994
push ebx
push ebp
push edi
mov edi, dword [esp + 0x1c]
add esi, 0x60
lea ebp, [edi + 4]
lea ebx, [edi + 0x1c]
nop
mov eax, dword [edi]
mov dword [esi - 0x60], eax
lea eax, [esi - 0x5c]
cmp eax, ebp
je 0x4658c3
cmp dword [ebp + 0x14], 0xf
mov eax, ebp
jbe 0x4658b7
mov eax, dword [ebp]
push dword [ebp + 0x10]
lea ecx, [esi - 0x5c]
push eax
call fcn.0043f1c0
lea eax, [esi - 0x44]
cmp eax, ebx
je 0x4658e0
cmp dword [ebx + 0x14], 0xf
mov eax, ebx
jbe 0x4658d4
mov eax, dword [ebx]
push dword [ebx + 0x10]
lea ecx, [esi - 0x44]
push eax
call fcn.0043f1c0
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x3c]
mov dword [esi - 0x28], eax
mov dword [esi - 0x24], ecx
mov eax, dword [edi + 0x40]
mov ecx, dword [edi + 0x44]
mov dword [esi - 0x20], eax
mov dword [esi - 0x1c], ecx
movzx eax, byte [edi + 0x48]
mov byte [esi - 0x18], al
mov eax, dword [edi + 0x4c]
mov dword [esi - 0x14], eax
mov eax, dword [edi + 0x50]
mov dword [esi - 0x10], eax
mov eax, dword [edi + 0x54]
mov dword [esi - 0xc], eax
cmp byte [esi - 8], 0
mov al, byte [edi + 0x58]
je 0x46595d
mov ecx, dword [esi]
test al, al
je 0x465942
cmp ecx, dword [edi + 0x60]
je 0x46596f
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x465936
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [edi + 0x60]
mov dword [esi], ecx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x46596f
test ecx, ecx
je 0x465957
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x465957
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov byte [esi - 8], 0
jmp 0x46596f
test al, al
je 0x46596f
mov ecx, dword [edi + 0x60]
mov dword [esi], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esi - 8], 1
mov eax, dword [edi + 0x68]
mov ecx, dword [edi + 0x6c]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov eax, dword [edi + 0x70]
mov dword [esi + 0x10], eax
add esi, 0x78
lea eax, [esi - 0x60]
cmp eax, dword [esp + 0x18]
jne 0x4658a0
pop edi
pop ebp
pop ebx
pop esi
ret
Function at 0x474e80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61a546
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x6ec7c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x48]
push str.CTreeCtrlEx::PreTranslateMessage
call fcn.00562ae0
cmp dword [ebx + 4], 0x100
mov dword [ebp - 4], 0
jne 0x474fb7
push 0
push 0
push 0x110f
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call fcn.00603c3d
test eax, eax
je 0x474f2d
mov eax, dword [ebx + 8]
cmp eax, 0xd
je 0x474f0c
cmp eax, 0x2e
je 0x474f0c
cmp eax, 0x1b
je 0x474f0c
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je 0x474f2d
mov eax, dword [ebx + 8]
push ebx
mov dword [esi + 0xa0], eax
call dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov esi, 1
jmp 0x474fc1
cmp dword [ebx + 8], 0x20
jne 0x474fb7
push 0
push 9
push 0x110a
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
je 0x474fb7
push edi
mov ecx, esi
call fcn.00474230
test al, al
je 0x474f6b
push edi
mov ecx, esi
call fcn.00474360
mov byte [ebp - 0x4c], 1
test al, al
je 0x474f6f
mov byte [ebp - 0x4c], 0
cmp dword [esi + 0x98], 0
je 0x474fb7
cmp dword [esi + 0xb0], 0
je 0x474fb7
push edi
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call fcn.00473e30
push dword [ebp - 0x4c]
mov byte [ebp - 4], 1
push esi
push eax
push dword [esi + 0x98]
mov eax, dword [esi + 0xb0]
call eax
add esp, 0x10
lea ecx, [ebp - 0x50]
call dword [0x63f5a8]
mov esi, 1
jmp 0x474fc1
push ebx
mov ecx, esi
call fcn.00603a63
mov esi, eax
lea ecx, [ebp - 0x48]
call fcn.005630c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00604ed9
mov esp, ebp
pop ebp
ret 4
Function at 0x47b400
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x618e8d
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x6ec7c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x48]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
push str.CCustomManager::GetResource
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x54], esi
call fcn.00562ae0
mov dword [ebx], 0
mov dword [esi], 0
cmp byte [0x6fd5dc], 0
mov dword [ebp - 4], 0
jne 0x47b46e
call fcn.0047c190
mov esi, dword [0x6fd5d8]
test esi, esi
je 0x47b48c
push dword [ebp - 0x4c]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x47b4a5
mov edi, dword [ebp - 0x50]
call fcn.006038a7
push dword [ebp - 0x4c]
push edi
mov esi, dword [eax + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x47b4bc
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
push esi
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x54]
mov dword [ecx], eax
lea ecx, [ebp - 0x48]
call fcn.005630c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00604ed9
mov esp, ebp
pop ebp
ret
Function at 0x4816b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61bc01
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x6ec7c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x4c]
mov edi, dword [ebp + 0x10]
push str.CWSConnectivity::IsPathExists
mov dword [ebp - 0x58], eax
call fcn.00562ae0
mov eax, dword [edi]
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
je 0x481808
mov esi, dword [ebp + 0xc]
mov ecx, ebx
push esi
push edi
call fcn.0047f2d0
test al, al
je 0x481808
push dword [ebp - 0x58]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call dword [0x63ea9c]
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 2
push eax
mov ecx, 0x6ff6dc
call fcn.004c3d30
push 0x642690
call dword [0x63dc28]
add esp, 4
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 3
lea edx, [ebp - 0x8c]
push edx
push dword [ebp - 0x50]
cmp esi, 2
jne 0x48176b
mov ecx, dword [ebx + 0xc]
jmp 0x48176e
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 4]
add ecx, 4
add ecx, dword [eax + 8]
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x481830
push 0
push 0x6432a8
lea ecx, [ebp - 0x50]
call dword [0x63ea84]
mov esi, eax
lea ecx, [esi + 1]
push ecx
lea ecx, [ebp - 0x50]
call dword [0x63f4ec]
movzx edi, ax
lea ecx, [ebp - 0x50]
push esi
lea eax, [ebp - 0x54]
push eax
call dword [0x63ea74]
push str.Computer
mov ecx, eax
call dword [0x63ea8c]
test eax, eax
jne 0x4817e6
add edi, 0x6432ac
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jne 0x4817e6
lea ecx, [ebp - 0x54]
call dword [0x63f5a8]
mov byte [ebp - 4], 4
jmp 0x481834
lea ecx, [ebp - 0x54]
call dword [0x63f5a8]
push dword [ebp - 0x64]
mov byte [ebp - 4], 5
call dword [0x63dc38]
add esp, 4
lea ecx, [ebp - 0x50]
call dword [0x63f5a8]
lea ecx, [ebp - 0x4c]
call fcn.005630c0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00604ed9
mov esp, ebp
pop ebp
ret 0xc
mov byte [ebp - 4], 6
push dword [ebp - 0x64]
call dword [0x63dc38]
add esp, 4
lea ecx, [ebp - 0x50]
call dword [0x63f5a8]
lea ecx, [ebp - 0x4c]
call fcn.005630c0
mov al, 1
jmp 0x481812
Function at 0x521950
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x6ec7c0]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
mov esi, ecx
push 0x3bc
push 0
lea eax, [esi + 0x80]
push eax
call fcn.0060ddfb
push 0x110
lea eax, [esp + 0x18]
mov dword [esi + 0x43c], 0
push 0
push eax
mov dword [esi + 0x440], 1
mov dword [esi + 0x444], 1
mov dword [esi + 0x484], 0
mov dword [esi + 0x488], 1
mov dword [esi + 0x448], 0
mov dword [esi + 0x468], 0
mov dword [esi + 0x480], 0
mov dword [esi + 0x450], 0
mov dword [esi + 0x48c], 0
mov dword [esp + 0x1c], 0x114
call fcn.0060ddfb
add esp, 0x18
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x14], 2
jne 0x521a33
cmp dword [esp + 8], 5
jb 0x521a33
mov dword [esi + 0x44c], 1
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00604ed9
add esp, 0x118
ret
mov ecx, dword [esp + 0x118]
mov dword [esi + 0x44c], 0
pop esi
xor ecx, esp
call fcn.00604ed9
add esp, 0x118
ret

Function at 0x5238b0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_KillTimer]
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xac]
test eax, eax
je 0x5238d5
push eax
push dword [esi + 0x20]
call ebx
mov dword [esi + 0xac], 0
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x5238ef
push eax
push dword [esi + 0x20]
call ebx
mov dword [esi + 0xb0], 0
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x523909
push eax
push dword [esi + 0x20]
call ebx
mov dword [esi + 0xa8], 0
push 0
mov ecx, esi
mov dword [esi + 0xc8], 0
call fcn.00603979
push 0
push dword [esi + 0xd8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
ret

Function at 0x523a50
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 0xd8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
pop esi
jmp fcn.00603b29

Function at 0x5240a0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 0xd8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
pop esi
jmp fcn.00603b23
Function at 0x524c1e
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4b8
push ebx
push esi
push edi
mov eax, 0x6b
mov word [ebp - 0x2b0], ax
mov ecx, 0x65
mov word [ebp - 0x2ae], cx
mov edx, 0x72
mov word [ebp - 0x2ac], dx
mov eax, 0x6e
mov word [ebp - 0x2aa], ax
mov ecx, 0x65
mov word [ebp - 0x2a8], cx
mov edx, 0x6c
mov word [ebp - 0x2a6], dx
mov eax, 0x33
mov word [ebp - 0x2a4], ax
mov ecx, 0x32
mov word [ebp - 0x2a2], cx
mov edx, 0x2e
mov word [ebp - 0x2a0], dx
mov eax, 0x64
mov word [ebp - 0x29e], ax
invalid
invalid
mov ecx, 0x6c
mov word [ebp - 0x29c], cx
mov edx, 0x6c
mov word [ebp - 0x29a], dx
xor eax, eax
mov word [ebp - 0x298], ax
mov dword [ebp - 0x1b0], 0
mov byte [ebp - 0x198], 0x47
mov byte [ebp - 0x197], 0x65
mov byte [ebp - 0x196], 0x74
mov byte [ebp - 0x195], 0x4d
mov byte [ebp - 0x194], 0x6f

Function at 0x524cf0
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov byte [ebp - 0x193], 0x64
mov byte [ebp - 0x192], 0x75
mov byte [ebp - 0x191], 0x6c
mov byte [ebp - 0x190], 0x65
mov byte [ebp - 0x18f], 0x48
mov byte [ebp - 0x18e], 0x61
mov byte [ebp - 0x18d], 0x6e
mov byte [ebp - 0x18c], 0x64
mov byte [ebp - 0x18b], 0x6c
mov byte [ebp - 0x18a], 0x65
mov byte [ebp - 0x189], 0x45
mov byte [ebp - 0x188], 0x78
mov byte [ebp - 0x187], 0x57
mov byte [ebp - 0x186], 0
mov ecx, dword [ebp - 0x4b0]
mov dword [ebp - 0x1b4], ecx
mov edx, dword fs:[0x18]
mov dword [ebp - 0x434], edx
mov eax, dword [ebp - 0x434]
dec dword [ebx - 0x7276cfb8]
cmp bl, 0xff
dec dword [ebx - 0x47f6b]
dec dword [ecx - 0x3676b]
inc dword [ebx - 0x36743]
inc dword [eax]
Function at 0x589270
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x639286
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x6ec7c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x114]
push 0x104
push eax
mov dword [ebp - 0x160], esi
call dword [sym.imp.WS2_32.dll_gethostname]
xorps xmm0, xmm0
mov dword [ebp - 0x11c], 0
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x118], 0
movups xmmword [ebp - 0x12c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5892e1
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.004143c0
lea eax, [ebp - 0x12c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x144]
push eax
call dword [0x63d218]
push eax
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 1
push eax
call dword [0x63d27c]
add esp, 0x10
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 2
jbe 0x589339
mov eax, dword [eax]
push str.server
push str.BackupServer
push str.BackupNetwork
push eax
mov ecx, edi
call fcn.00586ac0
push eax
call fcn.00575b50
mov ecx, dword [ebp - 0x148]
add esp, 4
mov dword [esi], eax
cmp ecx, 0xf
jbe 0x589397
mov edx, dword [ebp - 0x15c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x58938d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x58938d
call dword [0x63e2e0]
push ecx
push edx
call fcn.00604b8c
add esp, 8
mov ecx, dword [ebp - 0x130]
cmp ecx, 7
jbe 0x5893d3
mov edx, dword [ebp - 0x144]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x5893c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58941c
push ecx
push edx
call fcn.00604b8c
add esp, 8
mov ecx, dword [ebp - 0x118]
xor eax, eax
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 7
mov word [ebp - 0x144], ax
cmp ecx, 0xf
jbe 0x58942c
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x589422
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x589422
call dword [0x63e2e0]
push ecx
push edx
call fcn.00604b8c
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00604ed9
mov esp, ebp
pop ebp
ret 4
Function at 0x5aac10
Capabilities:
Get common file path
Initialize winsock library
Link many functions at runtime

Disassembly:
sub esp, 0x198
mov eax, dword [0x6ec7c0]
xor eax, esp
mov dword [esp + 0x194], eax
test byte [esp + 0x19c], 2
je 0x5aac71
lea eax, [esp + 4]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x5aac57
mov eax, dword [esp + 4]
cmp al, 2
jne 0x5aac51
shr eax, 8
cmp al, 2
je 0x5aac71
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00604ed9
add esp, 0x198
ret
push ebp
push esi
push edi
push str.kernel32
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
jne 0x5aac98
mov dword [0x700dfc], esi
jmp 0x5aadbb
push ebx
push 0x6831c4
push edi
call ebp
push 0x6831d4
push str.iphlpapi.dll
mov ebx, eax
call dword [0x63e384]
add esp, 8
test eax, eax
je 0x5aace2
test ebx, ebx
je 0x5aacd0
push 8
push 0
push str.iphlpapi.dll
call ebx
mov esi, eax
jmp 0x5aad9f
push str.iphlpapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
jmp 0x5aad9f
test ebx, ebx
je 0x5aad07
push str.AddDllDirectory
push edi
call ebp
test eax, eax
je 0x5aad07
push 0x800
push 0
push str.iphlpapi.dll
call ebx
mov esi, eax
jmp 0x5aad9f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [esp + 0x10], eax
test eax, eax
je 0x5aad9f
lea ecx, [eax + 0xd]
push ecx
call dword [0x6ec2c8]
mov edi, eax
add esp, 4
test edi, edi
je 0x5aad95
push dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x5aad95
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5aad44
sub ecx, edx
mov eax, 0x5c
mov edx, edi
mov word [ecx + edi], ax
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x5aad60
sub edx, ecx
mov ecx, str.iphlpapi.dll
sub edx, ecx
add edx, edi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x5aad72
test ebx, ebx
je 0x5aad8c
push 8
push 0
push edi
call ebx
jmp 0x5aad93
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
push edi
call dword [0x6ec2cc]
add esp, 4
mov dword [0x700dfc], esi
pop ebx
test esi, esi
je 0x5aadbb
push str.if_nametoindex
push esi
call ebp
test eax, eax
je 0x5aadbb
mov dword [0x700dec], eax
push str.ws2_32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
je 0x5aadf3
push str.FreeAddrInfoExW
push esi
call ebp
push str.GetAddrInfoExCancel
push esi
mov dword [0x700df0], eax
call ebp
push str.GetAddrInfoExW
push esi
mov dword [0x700df4], eax
call ebp
mov dword [0x700df8], eax
push 3
push 2
push 0
push 0
push 6
call fcn.005f3210
push 3
push 2
push 0
test al, al
push 2
push 6
setne byte [0x701235]
call fcn.005f3210
add esp, 0x28
test al, al
setne byte [0x701234]
push 0x701238
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov ecx, dword [esp + 0x1a0]
xor eax, eax
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00604ed9
add esp, 0x198
ret
Function at 0x5b0cc0
Capabilities:
Convert ip address from string

Disassembly:
sub esp, 0x18
mov eax, dword [0x6ec7c0]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x20]
lea eax, [esp + 4]
push eax
push esi
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x5b0d08
lea eax, [esp + 8]
push eax
push esi
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
pop esi
setg al
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00604ed9
add esp, 0x18
ret
mov ecx, dword [esp + 0x18]
mov al, 1
pop esi
xor ecx, esp
call fcn.00604ed9
add esp, 0x18
ret

Function at 0x5b0e70
Capabilities:
Create udp socket

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x5b0eae
mov eax, dword [esi + 0x7c]
cmp byte [eax + 0x114], 0
jne 0x5b0e9f
push 0
call fcn.005b0e70
add esp, 4
test al, al
mov eax, dword [esi + 0x7c]
setne cl
inc cl
mov byte [eax + 0x114], cl
mov eax, dword [esi + 0x7c]
pop esi
cmp byte [eax + 0x114], 2
sete al
ret
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x5b0ec3
xor al, al
pop esi
ret
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov al, 1
pop esi
ret
Function at 0x5b1c10
Capabilities:
Convert ip address from string
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6c
mov eax, dword [0x6ec7c0]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x70]
push ebp
mov ebp, dword [esp + 0x78]
push edi
xor edi, edi
mov dword [esp + 8], eax
cmp byte [eax + 0x6e7], 0
je 0x5b1de9
cmp byte [ebp + 0x18], 0
push ebx
lea ebx, [ebp + 0x18]
je 0x5b1de8
push esi
mov esi, dword [sym.imp.WS2_32.dll_inet_pton]
lea eax, [esp + 0x34]
push eax
push ebx
push 2
call esi
test eax, eax
jg 0x5b1de7
lea eax, [esp + 0x38]
push eax
push ebx
push 0x17
call esi
test eax, eax
jg 0x5b1de7
push dword [ebp + 0x14]
cmp byte [ebx], 0
mov eax, str._none_
mov esi, dword [ebp]
mov ebp, dword [esp + 0x14]
cmovne eax, ebx
push eax
push str.Host__s:_d_was_resolved.
push ebp
call fcn.005a7500
lea eax, [esp + 0x24]
push 0x400
push eax
call fcn.005968e0
lea eax, [esp + 0x3c]
push 0x400
push eax
call fcn.005968e0
add esp, 0x20
test esi, esi
je 0x5b1d5b
lea edx, [edi + 0x10]
mov ecx, dword [esi + 4]
cmp ecx, 0x17
je 0x5b1cd2
cmp ecx, 2
jne 0x5b1d50
xor eax, eax
mov byte [esp + 0x48], 0
cmp ecx, 2
lea ebx, [esp + 0x14]
cmovne eax, edx
add ebx, eax
sub ecx, 2
je 0x5b1d01
sub ecx, 0x15
jne 0x5b1d16
push 0x2e
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esi + 0x18]
add eax, 8
push eax
push 0x17
jmp 0x5b1d11
push 0x2e
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esi + 0x18]
add eax, 4
push eax
push 2
call sub.WS2_32.dll_inet_ntop
push ebx
call fcn.00596900
add esp, 4
test eax, eax
je 0x5b1d35
push 2
push 0x682b50
push ebx
call fcn.005968a0
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x5b1d7b
lea eax, [esp + 0x48]
push eax
push ebx
call fcn.00596840
mov edi, eax
add esp, 8
test edi, edi
jne 0x5b1d7b
lea edx, [eax + 0x10]
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x5b1cc1
lea eax, [esp + 0x24]
push eax
call fcn.00596900
add esp, 4
test eax, eax
je 0x5b1d8b
lea eax, [esp + 0x24]
push eax
call fcn.00596910
add esp, 4
jmp 0x5b1d90
push str.too_many_IP__cant_show
push ebp
call fcn.005a7500
add esp, 8
jmp 0x5b1dd0
mov eax, str._none_
push eax
push str.IPv6:__s
push ebp
call fcn.005a7500
lea eax, [esp + 0x20]
push eax
call fcn.00596900
add esp, 0x10
test eax, eax
je 0x5b1dbc
lea eax, [esp + 0x14]
push eax
call fcn.00596910
add esp, 4
jmp 0x5b1dc1
mov eax, str._none_
push eax
push str.IPv4:__s
push ebp
call fcn.005a7500
add esp, 0xc
lea eax, [esp + 0x14]
push eax
call fcn.005968b0
lea eax, [esp + 0x28]
push eax
call fcn.005968b0
add esp, 8
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
pop edi
pop ebp
xor ecx, esp
call fcn.00604ed9
add esp, 0x6c
ret
Function at 0x5bae10
Capabilities:
Move file

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
call fcn.00596600
push dword [esp + 0x38]
mov esi, dword [0x63e394]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x18], xmm0
call esi
push dword [esp + 0x40]
mov edi, eax
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileExA]
add esp, 0xc
mov esi, eax
push 1
push esi
push edi
call ebp
test eax, eax
jne 0x5baea5
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax + eax]
lea eax, [esp + 0x20]
push eax
call fcn.00596600
movups xmm0, xmmword [esp + 0x14]
sub esp, 0xc
mov ecx, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
call fcn.005966b0
add esp, 0x20
test edx, edx
ja 0x5baec9
jb 0x5bae97
cmp eax, 0x3e8
ja 0x5baec9
push 1
call ebx
push 1
push esi
push edi
call ebp
test eax, eax
je 0x5bae60
mov ebx, dword [0x63e240]
test edi, edi
je 0x5baeb5
push edi
call ebx
add esp, 4
test esi, esi
je 0x5baebf
push esi
call ebx
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov ebx, dword [0x63e240]
test edi, edi
je 0x5baed9
push edi
call ebx
add esp, 4
test esi, esi
je 0x5baee3
push esi
call ebx
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret
Function at 0x5d0170
Capabilities:
Query environment variable

Disassembly:
push ebx
push ebp
xor ebp, ebp
push esi
push edi
lea esi, [ebp + 1]
push esi
push ebp
call dword [0x6ec2d0]
mov edi, eax
add esp, 8
test edi, edi
je 0x5d01c7
nop word [eax + eax]
push esi
push edi
push dword [esp + 0x1c]
mov ebp, edi
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
test esi, esi
je 0x5d01df
cmp esi, ebx
je 0x5d01df
cmp esi, 0x8000
ja 0x5d01df
cmp esi, ebx
jb 0x5d01d8
push esi
push edi
call dword [0x6ec2d0]
mov edi, eax
add esp, 8
test edi, edi
jne 0x5d0190
push ebp
call dword [0x6ec2cc]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
call dword [0x6ec2cc]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x5e4000
Capabilities:
Send data
Send data on socket

Disassembly:
mov ecx, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push 0
mov byte [esp + 0x12], cl
lea ecx, [esp + 0x10]
push 3
mov eax, dword [esi + 0x18]
push ecx
mov byte [esp + 0x18], 0xff
mov byte [esp + 0x19], bl
push dword [eax + 0x1a0]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x5e404c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push esi
call fcn.005a7430
add esp, 0xc
push dword [esp + 0x14]
push ebx
push str.SENT
push esi
call fcn.005e3c20
add esp, 0x10
pop esi
pop ebx
ret