joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46cc40
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52a2a2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
call fcn.004236b0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x150]
push ecx
push 0x7f
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x150]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x1c], 0x100
jbe 0x46ccab
mov dword [ebp - 0x18], 0x100
jmp 0x46ccb1
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
lea edx, [ebp + ecx*2 - 0x150]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x20]
jae 0x46cd8c
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
push 0
push 0
lea ecx, [ebp - 0x50]
call fcn.004072e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x20]
jae 0x46cd21
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
test eax, eax
je 0x46cd21
mov ecx, dword [ebp - 0x10]
mov dx, word [ecx]
mov word [ebp - 0x12], dx
movzx eax, word [ebp - 0x12]
push eax
push 1
lea ecx, [ebp - 0x50]
call fcn.00426f10
mov ecx, dword [ebp - 0x10]
add ecx, 2
mov dword [ebp - 0x10], ecx
jmp 0x46cceb
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push 0
push 0
lea ecx, [ebp - 0x38]
call fcn.00407040
mov byte [ebp - 4], 1
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.00478010
add esp, 8
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004593d0
mov edx, dword [ebp - 0x10]
add edx, 2
mov dword [ebp - 0x10], edx
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x38]
call fcn.00407040
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x50]
call fcn.004072e0
jmp 0x46ccbe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x46db00
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0x58
push 0
mov eax, dword [ebp - 4]
add eax, 4
push eax
call fcn.004bfe20
add esp, 0xc
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x14], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x14], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 4], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 4], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + edx + 4], 0x98badcfe
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp - 4]
mov dword [eax + edx + 4], 0x10325476
mov esp, ebp
pop ebp
ret
Function at 0x4731a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52a612
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.Poco::Task.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], vtable.Poco::Task.1.0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.00473560
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00472cb0
mov byte [ebp - 4], 1
push 0
push 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.00407040
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00482400
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.00482380
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x474a40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5297c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00417550
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.Poco::BasicBufferedStreamBuf_char__struct_std::char_traits_char___class_Poco::BufferAllocator_char__.0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x38], edx
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0x3c], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x30], edx
mov eax, dword [ecx + 0x3c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0044b6ff
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x40], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0x44], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x40]
add ecx, 4
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x40]
add eax, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
add edx, 4
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
mov dword [ecx], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x2c]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x38]
sub ecx, 1
mov edx, dword [eax + 0x3c]
sbb edx, 0
mov eax, dword [ebp - 0x10]
add ecx, dword [eax + 0x40]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x20]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x30]
mov dword [edx], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47ba70
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ac98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
push 0
push 0
lea ecx, [ebp - 0x44]
call fcn.004072e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00477ca0
add esp, 8
cmp dword [ebp - 0x30], 8
jb 0x47bada
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
jmp 0x47bae0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x14], ecx
push 0
push 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x47bb19
push 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00453f40
push 0x563ef0
lea ecx, [ebp - 0xa0]
push ecx
call fcn.004be2db
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x54]
call fcn.0046d3b0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x30], 8
jb 0x47bb43
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], edx
jmp 0x47bb49
lea eax, [ebp - 0x44]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
push 0
push 0
lea ecx, [ebp - 0x70]
call fcn.00407040
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x20], edx
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x10]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.00478210
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.00407040
lea edx, [ebp - 0x70]
push edx
mov ecx, dword [ebp + 8]
call fcn.00416490
mov eax, dword [ebp - 0x1c]
or eax, 1
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x70]
call fcn.00407040
mov byte [ebp - 4], 0
movzx ecx, byte [ebp - 0x48]
test ecx, ecx
je 0x47bbff
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.004ba0bc
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.004072e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x47bc30
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52acaa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push 0
push 0
lea ecx, [ebp - 0x38]
call fcn.004072e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00477ca0
add esp, 8
cmp dword [ebp - 0x24], 8
jb 0x47bc90
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
jmp 0x47bc96
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x14], ecx
push 0
push 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jbe 0x47bcb6
mov dword [ebp - 0x18], 1
jmp 0x47bcbd
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0x18]
mov byte [ebp - 0xd], al
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x38]
call fcn.004072e0
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x47bcf0
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52accc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0
push 0
lea ecx, [ebp - 0x2c]
call fcn.004072e0
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
push 0
push 0
lea ecx, [ebp - 0x44]
call fcn.004072e0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00477ca0
add esp, 8
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00477ca0
add esp, 8
cmp dword [ebp - 0x30], 8
jb 0x47bd81
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x14], edx
jmp 0x47bd87
lea eax, [ebp - 0x44]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x18], 8
jb 0x47bd9b
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], edx
jmp 0x47bda1
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x47be0a
push str.cannot_set_environment_variable:
lea ecx, [ebp - 0x64]
call fcn.00406b80
mov byte [ebp - 4], 2
mov eax, dword [0x5523c8]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x64]
call fcn.00406d70
push 0
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x90]
call fcn.00454570
push 0x572e5c
lea eax, [ebp - 0x90]
push eax
call fcn.004be2db
mov byte [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x64]
call fcn.00407040
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.004072e0
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004072e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x47c3f0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx ecx, word [ebp - 0x2c]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0xa
ja case.0x47c41b.4
mov edx, dword [ebp - 8]
jmp dword [edx*4 + 0x47c508]
push str.IA32
mov ecx, dword [ebp + 8]
call fcn.00406b80
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
jmp 0x47c501
push str.MIPS
mov ecx, dword [ebp + 8]
call fcn.00406b80
mov ecx, dword [ebp - 4]
or ecx, 1
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
jmp 0x47c501
push str.ALPHA
mov ecx, dword [ebp + 8]
call fcn.00406b80
mov edx, dword [ebp - 4]
or edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
jmp 0x47c501
push 0x535a5c
mov ecx, dword [ebp + 8]
call fcn.00406b80
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
jmp 0x47c501
push str.IA64
mov ecx, dword [ebp + 8]
call fcn.00406b80
mov ecx, dword [ebp - 4]
or ecx, 1
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
jmp 0x47c501
push str.IA64_32
mov ecx, dword [ebp + 8]
call fcn.00406b80
mov edx, dword [ebp - 4]
or edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
jmp 0x47c501
push str.AMD64
mov ecx, dword [ebp + 8]
call fcn.00406b80
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
jmp 0x47c501
push str.Unknown
mov ecx, dword [ebp + 8]
call fcn.00406b80
mov ecx, dword [ebp - 4]
or ecx, 1
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x47c540
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ad2f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x47c5c7
push str.Cannot_get_computer_name
lea ecx, [ebp - 0x44]
call fcn.00406b80
mov dword [ebp - 4], 0
push 0
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x90]
call fcn.00454570
push 0x572e5c
lea eax, [ebp - 0x90]
push eax
call fcn.004be2db
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.00407040
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0
push 0
lea ecx, [ebp - 0x2c]
call fcn.00407040
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x64]
push edx
call fcn.00478380
add esp, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.00407040
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00416490
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00407040
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x47c660
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov word [ecx + 4], ax
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0x288
mov edx, dword [ebp - 0x10]
push edx
call fcn.0044b6ff
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x6f
jne 0x47c6d3
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004ba0bc
add esp, 4
mov edx, dword [ebp - 0x10]
push edx
call fcn.0044b6ff
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
jmp 0x47c6de
cmp dword [ebp - 0x14], 0
je 0x47c6de
jmp 0x47c75e
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x47c74c
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov byte [ebp - 1], 0
cmp dword [ebp - 8], 0
je 0x47c74c
movzx ecx, byte [ebp - 1]
test ecx, ecx
jne 0x47c74c
mov edx, dword [ebp - 8]
cmp dword [edx + 0x1a0], 6
jne 0x47c742
mov eax, dword [ebp - 8]
cmp dword [eax + 0x190], 6
jne 0x47c742
mov byte [ebp - 1], 1
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x190]
push edx
mov eax, dword [ebp - 8]
add eax, 0x194
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004bdc00
add esp, 0xc
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 8], eax
jmp 0x47c6f9
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
push edx
call fcn.004ba0bc
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x4805d0
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x68
push 0xffffffffffffffff
push 0x52b0df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
mov eax, dword [ebp + 0x70]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0
je 0x480676
push 0
mov ecx, dword [ebp + 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x480667
mov edx, dword [ebp + 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.cannot_kill_process
lea ecx, [ebp + 0x30]
call fcn.00406b80
mov dword [ebp - 4], 0
push 0
lea eax, [ebp + 0x30]
push eax
lea ecx, [ebp - 0x38]
call fcn.00454570
push 0x572e5c
lea ecx, [ebp - 0x38]
push ecx
call fcn.004be2db
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp + 0x30]
call fcn.00407040
mov edx, dword [ebp + 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x480768
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x60], eax
cmp dword [ebp + 0x60], 5
je 0x480693
cmp dword [ebp + 0x60], 0x490
je 0x4806dc
jmp 0x48071f
push str.cannot_kill_process
lea ecx, [ebp + 0x18]
call fcn.00406b80
mov dword [ebp - 4], 1
push 0
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x90]
call fcn.004553e0
push 0x564130
lea ecx, [ebp - 0x90]
push ecx
call fcn.004be2db
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp + 0x18]
call fcn.00407040
push str.cannot_kill_process
lea ecx, [ebp + 0x48]
call fcn.00406b80
mov dword [ebp - 4], 2
push 0
lea edx, [ebp + 0x48]
push edx
lea ecx, [ebp - 0x64]
call fcn.00453f40
push 0x563ef0
lea eax, [ebp - 0x64]
push eax
call fcn.004be2db
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp + 0x48]
call fcn.00407040
push str.cannot_kill_process
lea ecx, [ebp]
call fcn.00406b80
mov dword [ebp - 4], 3
push 0
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0xbc]
call fcn.00454570
push 0x572e5c
lea edx, [ebp - 0xbc]
push edx
call fcn.004be2db
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp]
call fcn.00407040
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
add ebp, 0x68
mov esp, ebp
pop ebp
ret
Function at 0x4958b0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b850
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.004823d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.Poco::PipeImpl.0
mov dword [ebp - 0x1c], 0xc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0xc
push edx
mov eax, dword [ebp - 0x10]
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x495956
push str.anonymous_pipe
lea ecx, [ebp - 0x34]
call fcn.00406b80
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x60]
call fcn.004572d0
push 0x564534
lea edx, [ebp - 0x60]
push edx
call fcn.004be2db
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.00407040
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4964a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b92e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x18]
push ecx
push 0
call fcn.004c32fd
add esp, 0x18
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0xc], 0
jne 0x49653b
push str.cannot_create_thread
lea ecx, [ebp - 0x2c]
call fcn.00406b80
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x70]
call fcn.00454570
push 0x572e5c
lea ecx, [ebp - 0x70]
push ecx
call fcn.004be2db
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00407040
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x14], 0
je 0x4965a5
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x4965a5
push str.cannot_set_thread_priority
lea ecx, [ebp - 0x44]
call fcn.00406b80
mov dword [ebp - 4], 1
push 0
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.00454570
push 0x572e5c
lea edx, [ebp - 0x9c]
push edx
call fcn.004be2db
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.00407040
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x496c20
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528a18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0xffffffff
jne 0x496c94
push str.cannot_allocate_thread_context_key
lea ecx, [ebp - 0x28]
call fcn.00406b80
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x54]
call fcn.00454570
push 0x572e5c
lea ecx, [ebp - 0x54]
push ecx
call fcn.004be2db
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00407040
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4ae060
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d261
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x14], 0x10
jb 0x4ae0be
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
jmp 0x4ae0c4
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x3c]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4ae126
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x70]
call fcn.004ad340
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp + 8]
call fcn.004ad560
mov ecx, dword [ebp - 0x1c]
or ecx, 1
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.004ad6a0
mov eax, dword [ebp + 8]
jmp 0x4ae166
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.004ae8e0
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004ae680
push eax
call fcn.004ae690
add esp, 8
push 0
lea ecx, [ebp - 0x9c]
call fcn.004a3340
push 0x5699c8
lea edx, [ebp - 0x9c]
push edx
call fcn.004be2db
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret