joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427add
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5997b5
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x60f490]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x60f490]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov ebx, dword [ebp + 8]
lea ecx, [esp + 0x4c]
and dword [esp + 0x18], 0
call fcn.00407859
and dword [esp + 0xb8], 0
push 0
push 2
pop eax
push eax
push eax
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
jne 0x427bb4
mov byte [esp + 0x4c], 0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
mov dword [esp + 0x80], eax
lea ecx, [esp + 0x34]
call fcn.00404a8f
push eax
mov edx, str.create_udp_socket_error:
mov byte [esp + 0xbc], 1
lea ecx, [esp + 0x20]
call fcn.00404bfe
pop ecx
push eax
lea ecx, [esp + 0x54]
call fcn.00407134
push 0
push 1
lea ecx, [esp + 0x24]
call fcn.00404102
push 0
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0xc0], 0
call fcn.00404102
jmp 0x427cd3
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [esp + 0x94]
push 4
push eax
push 0x1002
push 0xffff
push edi
mov dword [esp + 0xa8], 0x40000
call esi
push 4
lea eax, [esp + 0x98]
push eax
push 0x1001
push 0xffff
push edi
call esi
mov esi, dword [esp + 0x14]
push 2
pop eax
mov word [esp + 0x98], ax
movzx eax, word [esi + 0xa4]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x9a], ax
lea eax, [esi + 0x8c]
cmp dword [eax + 0x14], 0x10
jb 0x427c26
mov eax, dword [eax]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x98]
push 0x10
push eax
push edi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x427cb4
mov byte [esp + 0x4c], 0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
mov dword [esp + 0x80], eax
lea ecx, [esp + 0x1c]
call fcn.00404a8f
push eax
mov edx, str.bind_error:
mov byte [esp + 0xbc], 2
lea ecx, [esp + 0x38]
call fcn.00404bfe
pop ecx
push eax
lea ecx, [esp + 0x54]
call fcn.00407134
push 0
push 1
lea ecx, [esp + 0x3c]
call fcn.00404102
push 0
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0xc0], 0
call fcn.00404102
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x427cd3
mov dword [esi + 0x28], edi
mov esi, 0x5e1685
push esi
mov byte [esp + 0x50], 1
call fcn.004035bd
pop ecx
push eax
push esi
lea ecx, [esp + 0x58]
call fcn.0040428c
lea eax, [esp + 0x4c]
mov ecx, ebx
push eax
call fcn.0040cfee
lea ecx, [esp + 0x4c]
call fcn.0040540b
mov eax, ebx
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00559612
mov esp, ebp
pop ebp
ret 4
Function at 0x42a24d
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x60f490]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42a2c5
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 1
push eax
push str.SeDebugPrivilege
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp + 8]
neg eax
push esi
sbb eax, eax
push esi
and eax, 2
push 0x10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
push eax
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x1c]
neg eax
sbb esi, esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 1]
jmp 0x42a2c7
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.00559612
mov esp, ebp
pop ebp
ret 4
Function at 0x42a969
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x599bef
mov eax, dword fs:[0]
push eax
sub esp, 0x670
mov eax, dword [0x60f490]
xor eax, esp
mov dword [esp + 0x668], eax
push ebx
push esi
push edi
mov eax, dword [0x60f490]
xor eax, esp
push eax
lea eax, [esp + 0x680]
mov dword fs:[0], eax
mov ebx, edx
mov dword [esp + 0x1c], ebx
mov esi, ecx
mov dword [esp + 0x18], esi
and dword [esp + 0x20], 0
lea ecx, [esp + 0x3c]
push 0x5e1685
call fcn.00403e67
xor edi, edi
xor eax, eax
mov dword [esp + 0x688], edi
mov word [esp + 0x264], ax
test ebx, ebx
je 0x42ab09
lea eax, [esp + 0x264]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x42ab09
mov eax, dword [0x5e5594]
mov ebx, edi
mov esi, dword [esp + 0x1c]
lea edi, [esp + 0x264]
mov dword [esp + 0x54], eax
mov ax, word [0x5e5598]
mov word [esp + 0x58], ax
mov dword [esp + 0x14], edi
mov ax, word [edi]
mov word [esp + 0x54], ax
lea eax, [esp + 0x5c]
push 0x104
push eax
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
xor edx, edx
test eax, eax
je 0x42aacc
lea edi, [esp + 0x5c]
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
cmp ax, dx
jne 0x42aa51
sub edi, ecx
sar edi, 1
cmp edi, 0x104
jae 0x42aac8
push edi
lea eax, [esp + 0x60]
push eax
push esi
call fcn.0055cc94
add esp, 0xc
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
je 0x42aac6
lea eax, [esi + edi*2]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x474]
push 0x5e559c
push eax
call fcn.0042b5bb
add esp, 0x10
lea edx, [esp + 0x46c]
lea ecx, [esp + 0x24]
call fcn.00417c01
push eax
lea ecx, [esp + 0x40]
call fcn.00407134
xor edi, edi
lea ecx, [esp + 0x24]
push edi
push 1
call fcn.00404102
xor edx, edx
mov edi, dword [esp + 0x14]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x42aacc
mov dword [esp + 0x14], edi
test ebx, ebx
jne 0x42aae8
cmp word [edi], dx
jne 0x42aa23
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], edx
mov byte [esi], dl
call fcn.00403ed8
xor edi, edi
push edi
jmp 0x42ab24
xor ebx, ebx
mov dword [esi + 0x14], 0xf
lea eax, [esp + 0x3c]
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], bl
call fcn.00403ed8
push ebx
push 1
lea ecx, [esp + 0x44]
call fcn.00404102
mov eax, esi
mov ecx, dword [esp + 0x680]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x668]
xor ecx, esp
call fcn.00559612
mov esp, ebp
pop ebp
ret
Function at 0x42ab55
Capabilities:
Get process image filename

Disassembly:
push 0x234
mov eax, 0x599c3f
call fcn.0055d546
mov esi, edx
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x5e1685
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x224], ebx
call fcn.00403e67
push esi
push ebx
mov dword [ebp - 4], ebx
push 0x410
mov dword [ebp - 0x224], 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x42ac06
xor eax, eax
push 0x208
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push ebx
push eax
call fcn.0055d9e0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x42abff
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x240]
call fcn.0042a969
push eax
mov ecx, edi
call fcn.00407134
push ebx
push 1
lea ecx, [ebp - 0x240]
call fcn.00404102
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
call fcn.0055d4f5
ret

Function at 0x42ac0e
Capabilities:
Enumerate processes

Disassembly:
push 0x284
mov eax, 0x599c82
call fcn.0055d546
mov dword [ebp - 0x260], ecx
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ecx]
push esi
push 2
mov dword [ecx + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x5e1685
lea ecx, [ebp - 0x2c]
mov edi, eax
call fcn.00403e67
mov byte [ebp - 4], 1
cmp edi, 0xffffffff
je 0x42ad19
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x25c], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x42ad0a
mov edx, dword [ebp - 0x254]
lea ecx, [ebp - 0x278]
call fcn.0042ab55
push eax
lea ecx, [ebp - 0x2c]
call fcn.00407134
push esi
push 1
lea ecx, [ebp - 0x278]
call fcn.00404102
lea edx, [ebp + 8]
lea ecx, [ebp - 0x290]
call fcn.00417c68
mov esi, eax
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x278]
call fcn.00417c68
mov edx, esi
mov ecx, eax
call fcn.004076ba
xor esi, esi
lea ecx, [ebp - 0x278]
push esi
push 1
mov bl, al
call fcn.00404102
push esi
push 1
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 1
call fcn.00404102
test bl, bl
je 0x42acfc
mov ecx, dword [ebp - 0x260]
lea eax, [ebp - 0x254]
push eax
call fcn.0040a6d2
lea eax, [ebp - 0x25c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x42ac6f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00404102
push esi
push 1
lea ecx, [ebp + 8]
call fcn.00404102
call fcn.0055d4f5
ret
Function at 0x42ad35
Capabilities:
Enumerate processes

Disassembly:
push 0x27c
mov eax, 0x599cca
call fcn.0055d546
mov edi, ecx
and dword [ebp - 4], 0
lea ecx, [ebp + 8]
mov eax, dword [edi]
mov edx, 0x5e1685
mov dword [edi + 4], eax
call fcn.004057c0
test al, al
jne 0x42ae1c
lea edx, [ebp + 8]
lea ecx, [ebp - 0x40]
call fcn.00417c68
push 0
push 2
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x288], 0x22c
lea eax, [ebp - 0x288]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x42ae09
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x28]
call fcn.00417c01
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00417c68
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.004076ba
test al, al
je 0x42add9
lea eax, [ebp - 0x280]
mov ecx, edi
push eax
call fcn.0040a6d2
lea eax, [ebp - 0x288]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
push 0
push 1
lea ecx, [ebp - 0x58]
mov esi, eax
call fcn.00404102
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00404102
test esi, esi
jne 0x42ad9b
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00404102
push 0
push 1
lea ecx, [ebp + 8]
call fcn.00404102
call fcn.0055d4f5
ret

Function at 0x42aef0
Capabilities:
Terminate process

Disassembly:
push esi
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret

Function at 0x42afdb
Capabilities:
Create process on windows

Disassembly:
push 0x46c
mov eax, 0x599d37
call fcn.0055d546
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
xor esi, esi
mov dword [ebp - 4], esi
push eax
call fcn.00403e41
call fcn.0041e2c6
add esp, 0x18
test al, al
je 0x42b0c3
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp + 8]
call fcn.00417baf
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00403e41
lea ecx, [ebp - 0x438]
call fcn.0041ecad
add esp, 0x18
lea ecx, [ebp - 0x438]
cmp dword [ebp - 0x424], 0x10
lea edx, [ebp - 0x420]
cmovae ecx, dword [ebp - 0x438]
call fcn.00417baf
lea eax, [ebp - 0x218]
mov dword [ebp - 0x474], 0x3c
mov dword [ebp - 0x464], eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0x45c], eax
lea eax, [ebp - 0x474]
push eax
mov dword [ebp - 0x470], esi
mov dword [ebp - 0x46c], esi
mov dword [ebp - 0x468], esi
mov dword [ebp - 0x460], esi
mov dword [ebp - 0x458], 5
mov dword [ebp - 0x454], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push esi
push 1
lea ecx, [ebp - 0x438]
call fcn.00404102
push esi
push 1
lea ecx, [ebp + 8]
call fcn.00404102
call fcn.0055d4f5
ret
Function at 0x42b0d4
Capabilities:
Create process on windows

Disassembly:
push 0xc6c
mov eax, 0x599d6f
call fcn.0055d546
sub esp, 0x18
lea eax, [ebp + 8]
xor esi, esi
mov ecx, esp
inc esi
mov dword [ebp - 4], esi
push eax
call fcn.00403e41
call fcn.0041e2c6
add esp, 0x18
xor edi, edi
test al, al
je 0x42b1da
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp + 8]
call fcn.00417baf
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp + 0x20]
lea edx, [ebp - 0xc20]
cmovae ecx, dword [ebp + 0x20]
call fcn.00417baf
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00403e41
lea ecx, [ebp - 0xc38]
call fcn.0041ecad
add esp, 0x18
lea ecx, [ebp - 0xc38]
cmp dword [ebp - 0xc24], 0x10
lea edx, [ebp - 0x420]
cmovae ecx, dword [ebp - 0xc38]
call fcn.00417baf
lea eax, [ebp - 0x218]
mov dword [ebp - 0xc74], 0x3c
mov dword [ebp - 0xc64], eax
lea eax, [ebp - 0xc20]
mov dword [ebp - 0xc60], eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0xc5c], eax
lea eax, [ebp - 0xc74]
push eax
mov dword [ebp - 0xc70], edi
mov dword [ebp - 0xc6c], edi
mov dword [ebp - 0xc68], edi
mov dword [ebp - 0xc58], 5
mov dword [ebp - 0xc54], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push edi
push esi
lea ecx, [ebp - 0xc38]
call fcn.00404102
push edi
push esi
lea ecx, [ebp + 8]
call fcn.00404102
push edi
push esi
lea ecx, [ebp + 0x20]
call fcn.00404102
call fcn.0055d4f5
ret
Function at 0x42d4e8
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x60f490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov ebx, edx
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x18]
mov esi, ecx
mov dword [ebp - 0x218], eax
push edi
mov edi, dword [ebp + 8]
test ebx, ebx
jne 0x42d522
xor eax, eax
jmp 0x42d691
lea eax, [ebp - 0x210]
push eax
push 0x5dddd4
push 1
xor eax, eax
push eax
push 0x5de0c4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x42d51b
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x214]
push edx
push 0x5de124
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jns 0x42d56b
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x42d51b
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
test esi, esi
jne 0x42d57f
push dword [0x61c01c]
jmp 0x42d580
push esi
push eax
call dword [ecx + 0x50]
mov edx, dword [ebp - 0x218]
test edx, edx
je 0x42d59b
mov eax, dword [ebp - 0x210]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x210]
xor edx, edx
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, dword [ebp - 0x21c]
test edx, edx
je 0x42d5c3
mov eax, dword [ebp - 0x210]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
test edi, edi
je 0x42d5df
push edi
push ebx
lea eax, [ebp - 0x20c]
push str._s_s
push eax
call fcn.0055ce62
add esp, 0x10
jmp 0x42d65b
push 0x5c
test esi, esi
je 0x42d5e8
push esi
jmp 0x42d5ee
push dword [0x61c01c]
call fcn.0055cbee
pop ecx
pop ecx
test eax, eax
jne 0x42d60a
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x42d55d
push eax
push ebx
lea eax, [ebp - 0x20c]
push str._s_s
push eax
call fcn.0055ce62
lea ecx, [ebp - 0x20c]
add esp, 0x10
lea edx, [ecx + 2]
xor ebx, ebx
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x42d62b
push 0x6c
sub ecx, edx
sar ecx, 1
pop eax
push 0x6e
mov word [ebp + ecx*2 - 0x212], ax
pop eax
push 0x6b
mov word [ebp + ecx*2 - 0x210], ax
pop eax
mov word [ebp + ecx*2 - 0x20e], ax
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x20c]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ecx, dword [ebp - 0x214]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0x210]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
xor eax, eax
test esi, esi
setns al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00559612
mov esp, ebp
pop ebp
ret
Function at 0x42d7b1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x60f490]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [ebp - 0x230], ebx
mov ecx, ebx
movzx eax, word [ecx + 0x5e56a0]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x212], ax
test ax, ax
jne 0x42d7d2
lea eax, [ebp - 0x22c]
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x42d80a
push 0x5e1685
mov ecx, esi
call fcn.00403e67
jmp 0x42d87f
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x22c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x42d83a
mov ecx, ebx
movzx eax, word [ecx + 0x5e56a0]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x212], ax
test ax, ax
jne 0x42d823
push dword [ebp - 0x22c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea edx, [ebp - 0x210]
lea ecx, [ebp - 0x228]
call fcn.00417c01
lea eax, [ebp - 0x228]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov ecx, esi
push eax
mov byte [esi], bl
call fcn.00403ed8
push ebx
push 1
lea ecx, [ebp - 0x228]
call fcn.00404102
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00559612
mov esp, ebp
pop ebp
ret

Function at 0x42dd9f
Capabilities:
Receive data
Receive data on socket
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [ecx + 0x130]
sub eax, dword [ecx + 0x134]
cmp eax, 0x28
jl method.AgentAppLink.virtual_0
ret
cmp byte [ecx + 0x61], 0
jne 0x42ddb4
cmp byte [ecx + 0x60], 0
je 0x42ddb4
mov byte [ecx + 0x60], 0
jmp fcn.0042ddb5
ret
Function at 0x42e7f2
Capabilities:
Connect socket

Disassembly:
push 0xdc
mov eax, 0x59a3f2
call fcn.0055d546
mov esi, ecx
mov ebx, dword [ebp + 8]
and dword [ebp - 0x6c], 0
and dword [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00407859
mov byte [ebp - 4], 1
cmp byte [esi + 0x61], 0
je 0x42e829
mov byte [ebp - 0x68], 0
jmp 0x42e8e7
lea ecx, [esi + 0x34]
lea eax, [ebp + 0x10]
cmp ecx, eax
je 0x42e83d
push 0xffffffffffffffff
push 0
push eax
call fcn.0040406e
mov ecx, dword [ebp + 0xc]
lea edi, [ebp - 0x1e]
xor eax, eax
mov word [esi + 0x4c], cx
stosd dword es:[edi], eax
push 2
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
pop eax
push ecx
mov word [ebp - 0x20], ax
call dword [sym.imp.WS2_32.dll_htons]
cmp dword [ebp + 0x24], 0x10
mov word [ebp - 0x1e], ax
lea eax, [ebp + 0x10]
cmovae eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x1c], eax
mov ecx, esi
lea eax, [ebp - 0xe8]
push eax
call fcn.0042e622
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.004086bb
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 1
call fcn.0040540b
cmp byte [ebp - 0x68], 0
je 0x42e951
lea eax, [ebp - 0xe8]
mov ecx, esi
push eax
call fcn.0042e789
lea ecx, [ebp - 0xe8]
call fcn.0040540b
push 0x10
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x30]
call dword [sym.imp.WS2_32.dll_connect]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], eax
test esi, esi
jne 0x42e8ff
mov byte [ebp - 0x68], 1
mov esi, 0x5e1685
push esi
call fcn.004035bd
pop ecx
push eax
push esi
lea ecx, [ebp - 0x64]
call fcn.0040428c
jmp 0x42e951
mov edx, eax
mov byte [ebp - 0x68], 0
lea ecx, [ebp - 0x9c]
call fcn.00404a8f
push eax
mov edx, str.connect_err._lastErr:
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x84]
call fcn.00404bfe
pop ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.00407134
push 0
push 1
lea ecx, [ebp - 0x84]
call fcn.00404102
push 0
push 1
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 1
call fcn.00404102
lea eax, [ebp - 0x68]
mov ecx, ebx
push eax
call fcn.0040cfee
lea ecx, [ebp - 0x68]
call fcn.0040540b
push 0
push 1
lea ecx, [ebp + 0x10]
call fcn.00404102
mov eax, ebx
call fcn.0055d4f5
ret 0x20
Function at 0x42fa1e
Capabilities:
Create pipe
Create process on windows
Read file on windows

Disassembly:
push 0xa8
mov eax, 0x59a467
call fcn.0055d546
mov edi, edx
mov esi, ecx
push dword [ebp + 8]
xor ebx, ebx
push ebx
push edi
call fcn.0055d9e0
add esp, 0xc
lea ecx, [ebp - 0x2c]
push esi
call fcn.00403e67
push dword [ebp + 8]
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x58], ebx
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x54], ebx
push eax
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x5c], 0xc
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], ebx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x42fa8a
or esi, 0xffffffff
jmp 0x42fbed
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42fa98
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x2c]
push ebx
sub ecx, edx
cmp dword [ebp - 0x18], 0x10
push ebx
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
push ebx
push 0xfde9
call esi
test eax, eax
jg 0x42faca
push 0xfffffffffffffffe
pop esi
jmp 0x42fbed
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
push ebx
add eax, 0xa
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x48]
call fcn.00430615
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x2c]
cmovae edx, dword [ebp - 0x2c]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x42faf9
push dword [ebp - 0x38]
sub edx, ecx
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x48]
cmovae ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x18], 0x10
push ecx
cmovae eax, dword [ebp - 0x2c]
push edx
push eax
push ebx
push 0xfde9
call esi
test eax, eax
jg 0x42fb31
push 0xfffffffffffffffd
jmp 0x42fbc3
push 0x40
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xb4], ebx
xorps xmm0, xmm0
push ebx
push eax
movdqu xmmword [ebp - 0x6c], xmm0
call fcn.0055d9e0
add esp, 0xc
mov dword [ebp - 0x88], 0x101
lea ecx, [ebp - 0x6c]
xor eax, eax
cmp dword [ebp - 0x34], 8
mov word [ebp - 0x84], ax
mov eax, dword [ebp - 0x50]
push ecx
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x74], eax
push ecx
push ebx
push ebx
push ebx
push 1
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x42fb9a
push 0xfffffffffffffffc
jmp 0x42fbc3
push 0xfa0
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], ebx
push eax
push dword [ebp + 8]
push edi
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42fbc6
push 0xfffffffffffffffb
pop esi
jmp 0x42fbe2
push dword [ebp - 0x4c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x50]
call esi
push dword [ebp - 0x6c]
call esi
push dword [ebp - 0x68]
call esi
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00430643
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00404102
mov eax, esi
call fcn.0055d4f5
ret
Function at 0x4312e8
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp byte [ecx + 0x2d], 0
jne 0x4312fd
cmp byte [ecx + 0x2c], 0
je 0x4312fd
mov byte [ecx + 0x2c], 0
jmp fcn.004312fe
ret