joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d0b0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffad8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x528], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call fcn.00405a28
xor eax, eax
push ebp
push 0x43d2f3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.004055a8
mov bl, 1
mov dword [ebp - 0x524], 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x520], eax
mov dword [ebp - 0x20], 7
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push 0
push 0
lea eax, [ebp - 0x524]
push eax
push 0
call sub.wsock32.dll_select
test eax, eax
jle 0x43d2c1
push 0
push 0x400
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wsock32.dll_recv
mov edi, eax
lea edx, [ebp - 0x420]
lea eax, [ebp - 0xc]
mov ecx, edi
call fcn.00405698
lea eax, [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00405874
mov eax, dword [ebp - 8]
call fcn.00405868
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00405868
cmp esi, eax
setg byte [ebp - 0x15]
cmp byte [ebp - 0x15], 0
je 0x43d2c5
mov eax, dword [ebp - 4]
call fcn.00405868
mov esi, eax
test esi, esi
jle 0x43d1b4
mov edi, 1
mov eax, dword [ebp - 8]
movzx eax, byte [eax + edi - 1]
mov edx, dword [ebp - 4]
cmp al, byte [edx + edi - 1]
je 0x43d1b0
mov byte [ebp - 0x15], 0
jmp 0x43d1b4
inc edi
dec esi
jne 0x43d199
cmp byte [ebp - 0x15], 0
je 0x43d2c5
mov eax, dword [ebp - 8]
call fcn.00405868
mov esi, eax
test esi, esi
jle 0x43d1ec
mov edi, 1
mov eax, dword [ebp - 8]
cmp byte [eax + edi - 1], 0x3d
jne 0x43d1e8
lea eax, [ebp - 8]
call fcn.00405a98
mov byte [eax + edi - 1], 0x20
inc edi
dec esi
jne 0x43d1d1
mov eax, dword [ebp - 8]
cmp byte [eax + 3], 0x2d
setne bl
push 0x7fffffff
mov ecx, 1
mov edx, dword [ebp - 8]
mov eax, 0x43d310
call fcn.00411c68
mov edi, eax
test edi, edi
jne 0x43d218
mov edi, 0x7ffffffe
cmp dword [ebp - 0x14], 0
je 0x43d29a
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0
jne 0x43d29a
lea eax, [ebp - 0xc]
push eax
mov ecx, edi
sub ecx, 5
mov edx, 5
mov eax, dword [ebp - 8]
call fcn.00405aa0
mov edx, dword [ebp - 0xc]
mov eax, 0x43d31c
call fcn.0041200c
test al, al
je 0x43d29a
push 0x7fffffff
lea eax, [ebp - 0x528]
push eax
mov ecx, 0x7fffffff
mov edx, 5
mov eax, dword [ebp - 0xc]
call fcn.00405aa0
lea eax, [ebp - 0x528]
mov edx, 0x43d32c
call fcn.00405874
mov edx, dword [ebp - 0x528]
mov ecx, 1
mov eax, 0x43d338
call fcn.00411ccc
test eax, eax
jle 0x43d29a
mov eax, dword [ebp - 0x14]
mov byte [eax], 1
lea ecx, [edi + 1]
lea eax, [ebp - 8]
mov edx, 1
call fcn.00405ae0
test bl, bl
jne 0x43d2c5
mov eax, dword [ebp - 8]
call fcn.00405868
cmp eax, 4
jge 0x43d1ec
jmp 0x43d2c5
mov byte [ebp - 0x15], 0
test bl, bl
je 0x43d0f1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d2fa
lea eax, [ebp - 0x528]
call fcn.004055a8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004055cc
ret
Function at 0x43d3e8
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call fcn.00405a28
mov eax, dword [ebp - 8]
call fcn.00405a28
mov eax, dword [ebp + 8]
call fcn.00405a28
xor eax, eax
push ebp
push 0x43d5fe
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00405a38
push eax
call sub.kernel32.dll_CreateFileA_1
mov edi, eax
cmp edi, 0xffffffff
setne byte [ebp - 0x11]
cmp byte [ebp - 0x11], 0
je 0x43d5ce
push 0
push edi
call sub.kernel32.dll_GetFileSize_1
mov ebx, eax
test ebx, ebx
jbe 0x43d5c8
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x1d], 1
test ebx, ebx
jbe 0x43d5b8
cmp ebx, 0x39
jbe 0x43d48b
mov esi, 0x39
jmp 0x43d48d
mov esi, ebx
push 0
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x56]
push eax
push edi
call sub.kernel32.dll_ReadFile_1
test eax, eax
je 0x43d4a7
cmp esi, dword [ebp - 0x18]
je 0x43d4c3
cmp byte [ebp - 0x1d], 0
jne 0x43d4ba
mov edx, 0x43d61c
mov eax, dword [ebp - 0x10]
call fcn.0043ca5c
mov byte [ebp - 0x11], 0
jmp 0x43d5b8
lea ecx, [ebp - 0x5c]
mov edx, 4
mov eax, dword [ebp - 4]
call fcn.00411a40
mov eax, dword [ebp - 0x5c]
mov edx, 0x43d628
call fcn.00411b94
test al, al
je 0x43d4f3
lea eax, [ebp - 0xc]
mov edx, 0x43d638
call fcn.00405640
jmp 0x43d500
lea eax, [ebp - 0xc]
mov edx, 0x43d64c
call fcn.00405640
cmp byte [ebp - 0x1d], 0
je 0x43d563
push 0x43d670
push dword [ebp - 0xc]
push 0x43d6ac
push 0x43d6b8
push dword [ebp - 8]
push 0x43d6c8
push 0x43d61c
push 0x43d6d4
push 0x43d61c
push 0x43d700
push 0x43d72c
push dword [ebp - 8]
push 0x43d6c8
push 0x43d61c
push 0x43d61c
lea eax, [ebp - 0x60]
mov edx, 0xf
call fcn.0040593c
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x10]
call fcn.0043ca5c
lea ecx, [ebp - 0x64]
lea eax, [ebp - 0x56]
mov edx, esi
call fcn.004159f8
lea eax, [ebp - 0x64]
mov edx, 0x43d61c
call fcn.00405874
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x10]
call fcn.0043ca5c
sub ebx, esi
mov byte [ebp - 0x1d], 0
mov eax, dword [ebp - 0x1c]
sub eax, ebx
imul eax, eax, 0x3e8
xor edx, edx
div dword [ebp - 0x1c]
mov edx, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x18]
test ebx, ebx
ja 0x43d47f
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
push edi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d605
lea eax, [ebp - 0x64]
mov edx, 3
call fcn.004055cc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004055cc
lea eax, [ebp + 8]
call fcn.004055a8
ret
Function at 0x43dfb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405a28
xor eax, eax
push ebp
push 0x43e0a6
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 8]
push eax
mov cl, 0x20
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00412b74
mov eax, dword [ebp - 8]
mov edx, 0x43e0c0
call fcn.004059d0
jne 0x43e068
push 0x7fffffff
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x43e0cc
call fcn.00411ccc
mov esi, eax
test esi, esi
jle 0x43e08b
push 0x7fffffff
lea ecx, [esi + 0xa]
mov edx, dword [ebp - 4]
mov eax, 0x43e0e0
call fcn.00411c68
test eax, eax
jle 0x43e08b
lea edx, [ebp - 4]
mov ecx, 0x7fffffff
xchg edx, eax
call fcn.00405ae0
lea ecx, [esi + 9]
lea eax, [ebp - 4]
mov edx, 1
call fcn.00405ae0
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405a38
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
mov bl, 1
jmp 0x43e08b
lea eax, [ebp - 0xc]
push eax
mov cl, 0x20
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00412b74
mov eax, dword [ebp - 0xc]
mov edx, 0x43e0ec
call fcn.004059d0
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e0ad
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004055cc
ret

Function at 0x43e0f0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffae4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x151c], edx
mov dword [ebp - 0x1518], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x43e259
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov dword [ebp - 0x1514], 1
mov dword [ebp - 0x1510], esi
mov eax, dword [0x5bc3a4]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 0x1514]
push eax
push 0
call sub.wsock32.dll_select
test eax, eax
jle 0x43e233
push 0
push 0x1400
lea eax, [ebp - 0x140d]
push eax
push esi
call sub.wsock32.dll_recv
mov ecx, eax
lea edx, [ebp - 0x140d]
lea eax, [ebp - 4]
call fcn.00405698
lea eax, [ebp - 0x1518]
push eax
mov cl, 0x20
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00412b74
mov eax, dword [ebp - 0x1518]
mov edx, 0x43e270
call fcn.004059d0
jne 0x43e229
push 0x7fffffff
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x43e27c
call fcn.00411c68
test eax, eax
jle 0x43e219
lea ecx, [eax + 3]
lea eax, [ebp - 4]
mov edx, 1
call fcn.00405ae0
lea eax, [ebp - 0x151c]
push eax
mov cl, 0x20
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00412b74
mov eax, dword [ebp - 0x151c]
call fcn.00405868
cmp eax, 3
jne 0x43e209
mov eax, dword [ebp - 4]
call fcn.0043dfb0
mov ebx, eax
jmp 0x43e233
mov eax, dword [ebp + 8]
push eax
mov eax, esi
call fcn.0043e0f0
pop ecx
mov ebx, eax
jmp 0x43e233
mov eax, dword [ebp + 8]
push eax
mov eax, esi
call fcn.0043e0f0
pop ecx
mov ebx, eax
jmp 0x43e233
mov eax, dword [ebp - 4]
call fcn.0043dfb0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e260
lea eax, [ebp - 0x151c]
mov edx, 2
call fcn.004055cc
lea eax, [ebp - 4]
call fcn.004055a8
ret
Function at 0x43e284
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call fcn.00405a28
mov eax, dword [ebp - 8]
call fcn.00405a28
mov eax, dword [ebp + 8]
call fcn.00405a28
xor eax, eax
push ebp
push 0x43e414
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00405a38
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
setne bl
test bl, bl
je 0x43e3e9
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetFileSize_1
mov edi, eax
test edi, edi
jbe 0x43e3e0
mov dword [ebp - 0x1c], edi
push 0x43e430
push dword [ebp + 8]
push 0x43e488
push dword [ebp - 8]
push 0x43e4a0
push 0x43e4ac
push 0x43e4b8
push 0x43e4ac
push 0x43e4ac
lea eax, [ebp - 0x20]
mov edx, 9
call fcn.0040593c
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
call fcn.0043ca5c
lea eax, [ebp - 0xc]
mov edx, 0x400
call fcn.00405cc8
jmp 0x43e3c8
cmp edi, 0x400
jbe 0x43e36a
mov esi, 0x400
jmp 0x43e36c
mov esi, edi
lea eax, [ebp - 0xc]
mov edx, esi
call fcn.00405cc8
push 0
lea eax, [ebp - 0x18]
push eax
push esi
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_ReadFile_1
test eax, eax
je 0x43e393
cmp esi, dword [ebp - 0x18]
je 0x43e397
xor ebx, ebx
jmp 0x43e3d0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.0043ca5c
mov ebx, eax
sub edi, esi
mov eax, dword [ebp - 0x1c]
sub eax, edi
imul eax, eax, 0x3e8
xor edx, edx
div dword [ebp - 0x1c]
mov edx, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x18]
test bl, bl
je 0x43e3d0
test edi, edi
ja 0x43e35b
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e41b
lea eax, [ebp - 0x20]
call fcn.004055a8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004055cc
lea eax, [ebp + 8]
call fcn.004055a8
ret
Function at 0x43ed80
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe5c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1a4], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.00405a28
mov eax, dword [ebp - 4]
call fcn.00405a28
mov eax, dword [ebp - 0xc]
call fcn.00405a28
mov eax, dword [ebp + 0x34]
call fcn.00405a28
mov eax, dword [ebp + 0x30]
call fcn.00405a28
mov eax, dword [ebp + 0x2c]
call fcn.004071b4
mov eax, dword [ebp + 0x28]
call fcn.004071b4
mov eax, dword [ebp + 0x24]
call fcn.004071b4
mov eax, dword [ebp + 0x20]
call fcn.004078a8
mov eax, dword [ebp + 0x1c]
call fcn.00405a28
mov eax, dword [ebp + 0x18]
call fcn.00405a28
mov eax, dword [ebp + 0x14]
call fcn.00405a28
mov eax, dword [ebp + 8]
call fcn.004078a8
xor eax, eax
push ebp
push 0x43ef92
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x1a0]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x43ef2f
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x20]
push 0
push 0x3e8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, 0x43efac
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp dword [ebp - 8], 0
je 0x43ee62
push ebp
call fcn.0043e648
pop ecx
mov ebx, eax
jmp 0x43ef18
cmp dword [ebp - 0xc], 0
je 0x43ef18
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x1c], 0
jne 0x43eee9
lea eax, [ebp - 0xc]
call fcn.0043a9fc
mov esi, eax
test esi, esi
jle 0x43ee94
push ebp
mov al, 1
call fcn.0043cb70
pop ecx
mov dword [ebp - 0x10], eax
dec esi
jne 0x43ee85
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
lea eax, [ebp - 0xc]
call fcn.0043a9fc
mov esi, eax
test esi, esi
jle 0x43ef18
mov edi, 1
push ebp
lea eax, [ebp - 0x1a4]
push eax
mov cl, 0x2c
mov edx, edi
mov eax, dword [ebp - 0xc]
call fcn.00412b74
mov eax, dword [ebp - 0x1a4]
call fcn.0043d738
pop ecx
or bl, al
mov edx, dword [ebp - 0x10]
imul edx, edi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
inc edi
dec esi
jne 0x43eeb1
jmp 0x43ef18
push ebp
xor eax, eax
call fcn.0043cb70
pop ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
push ebp
mov eax, dword [ebp - 0xc]
call fcn.0043d738
pop ecx
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
call sub.wsock32.dll_WSACleanup
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
je 0x43ef2f
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ef99
lea eax, [ebp - 0x1a4]
call fcn.004055a8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004055cc
lea eax, [ebp + 8]
call fcn.00407834
lea eax, [ebp + 0x14]
mov edx, 3
call fcn.004055cc
lea eax, [ebp + 0x20]
call fcn.00407834
lea eax, [ebp + 0x24]
mov edx, dword [0x40a2b0]
mov ecx, 3
call fcn.00406480
lea eax, [ebp + 0x30]
mov edx, 2
call fcn.004055cc
ret
Function at 0x43f148
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405a28
xor eax, eax
push ebp
push 0x43f20f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0042cbe4
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.00405640
cmp dword [ebp - 4], 0
je 0x43f1f2
mov eax, dword [ebp - 4]
call fcn.00405868
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
jne 0x43f1b2
mov eax, dword [ebp - 4]
call fcn.00405868
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.00405ae0
mov eax, dword [ebp - 4]
call fcn.00405a38
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
jne 0x43f1ee
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0043f148
pop ecx
test al, al
je 0x43f1ea
push 0
mov eax, dword [ebp - 4]
call fcn.00405a38
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x43f1ee
xor ebx, ebx
jmp 0x43f1f4
mov bl, 1
jmp 0x43f1f4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f216
lea eax, [ebp - 8]
mov edx, 2
call fcn.004055cc
ret
Function at 0x440dc0
Capabilities:
Accept command line arguments
Create process on windows
Create process suspended
Read file via mapping
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], eax
xor eax, eax
push ebp
push 0x440ee0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x64]
mov edx, 0x44
call fcn.0040907c
mov dword [ebp - 0x64], 0x44
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
call sub.kernel32.dll_GetCommandLineA_1
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x440eb8
lea edx, [ebp - 0x20]
lea eax, [ebp - 0xc]
call fcn.0042d4e4
lea eax, [ebp - 0x7c]
push eax
mov cl, 0x30
mov edx, 1
mov eax, dword [ebp - 0x6c]
call fcn.00412738
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
mov edx, 0x440ef8
call fcn.004058c0
mov eax, dword [ebp - 0x78]
call fcn.00405a38
push eax
push 0x58
push 0
push 4
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov esi, eax
push 0
push 0
push 0
push 0xf001f
push esi
call sub.kernel32.dll_MapViewOfFile
mov ebx, eax
test ebx, ebx
je 0x440eaf
call sub.kernel32.dll_GetCurrentProcessId
mov dword [ebx], eax
push 2
push 0
push 0
lea eax, [ebx + 4]
push eax
mov eax, dword [ebp - 0x74]
push eax
push esi
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_DuplicateHandle
lea edx, [ebx + 8]
mov eax, 0x5bc460
mov ecx, 0x50
call fcn.00403304
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_ResumeThread
push 2
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440ee7
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.004055cc
ret
Function at 0x448a94
Capabilities:
Create pipe
Create thread

Disassembly:
push 0
push 0
push 0x5bcc44
push 0x5bcc40
call sub.kernel32.dll_CreatePipe
test eax, eax
je 0x448af8
push 0x5bcc38
push 0
push 0
push 0x448a38
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5bcc3c], eax
cmp dword [0x5bcc3c], 0
je 0x448af8
push 0
push 0
push 0
mov ecx, 0x448b04
mov edx, dword [0x5bcc3c]
mov eax, dword [0x5bcc38]
call fcn.0042d8b8
push 2
mov eax, dword [0x5bcc3c]
push eax
call sub.kernel32.dll_SetThreadPriority
ret

Function at 0x448b08
Capabilities:
Resume thread
Terminate thread
Write file on windows

Disassembly:
add esp, 0xffffffc4
cmp dword [0x5bcc38], 0xffffffff
je 0x448bc5
mov eax, dword [0x5bcc3c]
push eax
call sub.kernel32.dll_ResumeThread
xor eax, eax
call fcn.0042df9c
test al, al
jne 0x448b72
lea eax, [esp + 4]
mov edx, 0x38
call fcn.0040907c
push 0
lea eax, [esp + 4]
push eax
push 0x38
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x5bcc44]
push eax
call sub.kernel32.dll_WriteFile_1
mov eax, dword [0x5bcc44]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0x1f4
mov eax, dword [0x5bcc3c]
push eax
call sub.kernel32.dll_WaitForSingleObject
jmp 0x448b7d
mov eax, dword [0x5bcc44]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0
mov eax, dword [0x5bcc3c]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
je 0x448b9b
push 0
mov eax, dword [0x5bcc3c]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [0x5bcc3c]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [0x5bcc40]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0
push 0
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [0x5bcc38]
call fcn.0042d8b8
add esp, 0x3c
ret
Function at 0x44964c
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
push 0x1001
push 0x800
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x449682
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00405818
jmp 0x449689
mov eax, ebx
call fcn.004055a8
add esp, 0x108
pop ebx
ret

Function at 0x449978
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
xor edx, edx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x68], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x449a72
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x449a80
push 0x449a98
call sub.kernel32.dll_GetModuleHandleA_2
push eax
call sub.kernel32.dll_GetProcAddress_1
test eax, eax
je 0x4499bf
mov dword [ebp - 0x60], 0x40
lea edx, [ebp - 0x60]
push edx
call eax
jmp 0x4499e5
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
push 0
push 0x100000
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
add eax, 0x80000
adc edx, 0
call fcn.00406970
push edx
push eax
lea ecx, [ebp - 0x64]
mov dl, 0x30
mov eax, 1
call fcn.004126ec
push dword [ebp - 0x64]
push 0x449ab0
push 0
push 0x100000
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
add eax, 0x80000
adc edx, 0
call fcn.00406970
push edx
push eax
lea ecx, [ebp - 0x68]
mov dl, 0x30
mov eax, 1
call fcn.004126ec
push dword [ebp - 0x68]
push 0x449abc
mov eax, ebx
mov edx, 4
call fcn.0040593c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449a79
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.004055cc
ret
Function at 0x449dc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x449efb
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea eax, [ebp - 4]
call fcn.004055a8
xor eax, eax
push ebp
push 0x449ed6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov ecx, ebx
mov edx, esi
call fcn.00405698
mov edx, edi
lea eax, [ebp - 8]
mov ecx, ebx
call fcn.00405698
mov eax, dword [ebp - 4]
call fcn.00405868
cmp ebx, eax
jne 0x449ecc
mov eax, dword [ebp - 8]
call fcn.00405868
cmp ebx, eax
jne 0x449ecc
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004059d0
je 0x449ecc
lea eax, [ebp - 0x10]
push eax
push 0x40
push ebx
push esi
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x449ecc
mov edx, esi
mov eax, edi
mov ecx, ebx
call fcn.00403304
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x10]
push eax
push ebx
push esi
call sub.kernel32.dll_VirtualProtect
mov eax, dword [0x5ce9c8]
call fcn.00406e74
mov ebx, eax
lea eax, [ebx + 1]
push eax
mov eax, 0x5ce9c8
mov ecx, 1
mov edx, dword [0x449d9c]
call fcn.00407030
add esp, 4
lea edi, [ebx + ebx*2]
mov eax, dword [0x5ce9c8]
mov dword [eax + edi*4], esi
mov eax, dword [0x5ce9c8]
lea eax, [eax + edi*4 + 4]
mov edx, dword [ebp - 4]
call fcn.004055fc
mov eax, dword [0x5ce9c8]
lea eax, [eax + edi*4 + 8]
mov edx, dword [ebp - 8]
call fcn.004055fc
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x449ee0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449f02
lea eax, [ebp - 8]
mov edx, 2
call fcn.004055cc
ret