joyce8/EMBER2024-capa huggingface dataset:
Function at 0x495ae0
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [ecx + 4]
xor eax, eax
mov edx, 0x5a4d
cmp dx, word [ecx]
cmove eax, ecx
mov eax, dword [eax + 0x3c]
add eax, ecx
xor ecx, ecx
cmp dword [eax], 0x4550
cmove ecx, eax
mov eax, dword [esp + 4]
cmp eax, dword [ecx + 0x74]
jbe 0x495b19
mov ecx, dword [esp + 8]
xor eax, eax
mov edx, dword [eax + 4]
mov dword [ecx], edx
mov eax, dword [eax]
ret 8
add eax, 0xf
mov edx, dword [ecx + eax*8 + 4]
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 8]
mov dword [ecx], edx
mov eax, dword [eax]
ret 8

Function at 0x496b40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x55d836
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x586220]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x24]
mov dword [esi], eax
mov dword [esi + 0x1c], 0xf
mov dword [esi + 0x18], 0
mov byte [esi + 8], 0
mov dword [esi + 4], 0x41f328
mov dword [esp + 0x1c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov edi, dword [esp + 0x28]
mov ecx, eax
mov byte [esp + 0x1c], 1
cmp byte [ecx + 0xc], 0
mov edx, dword [edi + 0xc]
mov ebx, dword [ecx + 4]
jne 0x496bc5
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov edx, eax
add edx, ebx
mov ecx, edx
lea ebx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x496bd0
sub ecx, ebx
push ecx
push edx
lea ecx, [esi + 8]
call fcn.004422b0
mov eax, dword [edi + 4]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 8]
mov dword [esi + 0x24], eax
mov eax, dword [edi]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x2c], eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8

Function at 0x4998c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
add ecx, 4
cmp dword [ecx + 0x14], 0x10
jb 0x4998cb
mov ecx, dword [ecx]
push ecx
call dword [0x57e0e4]
cmp eax, 0xffffffff
je 0x4998de
test al, 0x10
je 0x4998de
mov al, 1
ret
xor al, al
ret

Function at 0x4998f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
add ecx, 4
cmp dword [ecx + 0x14], 0x10
jb 0x4998fb
mov ecx, dword [ecx]
push ecx
call dword [0x57e0e4]
cmp eax, 0xffffffff
je 0x49990e
test al, 0x10
jne 0x49990e
mov al, 1
ret
xor al, al
ret
Function at 0x499df0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x55de26
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x586220]
xor eax, esp
mov dword [esp + 0x248], eax
push esi
mov eax, dword [0x586220]
xor eax, esp
push eax
lea eax, [esp + 0x254]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x499eca
lea eax, [esp + 0x148]
push eax
push 0x104
call dword [0x57e288]
cmp byte [esp + 0x148], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x499e6a
xor ecx, ecx
jmp 0x499e7d
lea ecx, [esp + 0x148]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x499e74
sub ecx, edx
push ecx
lea eax, [esp + 0x14c]
push eax
lea ecx, [esp + 0x30]
call fcn.004422b0
mov dword [esp + 0x24], 0x420b30
lea eax, [esp + 0x24]
mov dword [esp + 0x25c], 0
push eax
mov ecx, esi
call fcn.00497680
cmp dword [esp + 0x3c], 0x10
mov dword [esp + 0x24], 0x41f328
jb 0x499f72
push dword [esp + 0x28]
jmp 0x499f6a
cmp dword [esi + 0x18], 0x10
lea eax, [esi + 4]
mov dword [esp + 0x40], 0
jb 0x499edd
mov eax, dword [eax]
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x48]
push ecx
push 0x104
push eax
call dword [0x57e0e8]
cmp byte [esp + 0x44], 0
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
jne 0x499f13
xor ecx, ecx
jmp 0x499f29
lea ecx, [esp + 0x44]
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x499f20
sub ecx, edx
push ecx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x14]
call fcn.004422b0
mov dword [esp + 8], 0x420b30
lea eax, [esp + 8]
mov dword [esp + 0x25c], 1
push eax
mov ecx, esi
call fcn.00497680
cmp dword [esp + 0x20], 0x10
mov dword [esp + 8], 0x41f328
jb 0x499f72
push dword [esp + 0xc]
call fcn.00534995
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.00535482
add esp, 0x258
ret

Function at 0x49a0a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x55de9b
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x586220]
xor eax, esp
mov dword [esp + 0x124], eax
push esi
mov eax, dword [0x586220]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x24]
push eax
push 0x104
call dword [0x57e288]
cmp byte [esp + 0x24], 0
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
jne 0x49a10a
xor ecx, ecx
jmp 0x49a11a
lea ecx, [esp + 0x24]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49a111
sub ecx, edx
push ecx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.004422b0
mov dword [esp + 8], 0x420b30
lea eax, [esp + 8]
mov dword [esp + 0x138], 0
push eax
mov ecx, esi
call fcn.00497680
cmp dword [esp + 0x20], 0x10
mov dword [esp + 8], 0x41f328
jb 0x49a163
push dword [esp + 0xc]
call fcn.00534995
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00535482
add esp, 0x134
ret
Function at 0x49d720
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x55e33d
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x586220]
xor eax, esp
mov dword [esp + 0x12c], eax
push esi
push edi
mov eax, dword [0x586220]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x14c]
mov ecx, esi
mov dword [esp + 0x144], 0
mov dword [esp + 0x2c], esi
mov dword [esp + 0xc], 0
call fcn.00498e90
cmp dword [esi + 0x18], 0x10
mov dword [esp + 0x144], 0
mov dword [esp + 0xc], 1
mov dword [esi + 0x14], 0
jb 0x49d7a3
mov eax, dword [esi + 4]
jmp 0x49d7a6
lea eax, [esi + 4]
mov byte [eax], 0
lea eax, [esp + 0x30]
push 0x105
push eax
call dword [0x57e254]
cmp byte [esp + 0x30], 0
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
jne 0x49d7d9
xor ecx, ecx
jmp 0x49d7e9
lea ecx, [esp + 0x30]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49d7e0
sub ecx, edx
push ecx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
call fcn.004422b0
mov dword [esp + 0x10], 0x41f328
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x14c], 1
push eax
lea ecx, [esi + 4]
call fcn.00441ec0
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0x10], 0x41f328
jb 0x49d837
push dword [esp + 0x14]
call fcn.00534995
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.00535482
add esp, 0x13c
ret

Function at 0x49da00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x55e3a4
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x586220]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 8], edi
push dword [esp + 0x1c]
call fcn.0053529a
mov dword [edi], 0x420c8c
mov byte [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x2c], 0xf
mov dword [edi + 0x28], 0
mov byte [edi + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [edi + 0x14], 0x41f328
mov dword [edi + 0x48], 0xf
mov dword [edi + 0x44], 0
mov byte [edi + 0x34], 0
mov dword [edi + 0x30], 0x41f328
mov dword [edi + 0x64], 0xf
mov dword [edi + 0x60], 0
mov byte [edi + 0x50], 0
mov dword [edi + 0x4c], 0x41f328
mov dword [edi + 0x80], 0xf
mov dword [edi + 0x7c], 0
mov byte [edi + 0x6c], 0
mov dword [edi + 0x68], 0x41f328
push dword [esp + 0x1c]
mov ecx, edi
mov byte [esp + 0x18], 4
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
call fcn.0049e870
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret 4
Function at 0x49dcf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x55e47c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x586220]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
call fcn.005352bd
mov dword [edi], 0x420c8c
mov byte [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x2c], 0xf
mov dword [edi + 0x28], 0
mov byte [edi + 0x18], 0
mov dword [esp + 0x34], 0
mov dword [edi + 0x14], 0x41f328
mov dword [edi + 0x48], 0xf
mov dword [edi + 0x44], 0
mov byte [edi + 0x34], 0
mov dword [edi + 0x30], 0x41f328
mov dword [edi + 0x64], 0xf
mov dword [edi + 0x60], 0
mov byte [edi + 0x50], 0
mov dword [edi + 0x4c], 0x41f328
mov dword [edi + 0x80], 0xf
mov dword [edi + 0x7c], 0
mov byte [edi + 0x6c], 0
mov dword [edi + 0x68], 0x41f328
lea eax, [esp + 0x10]
mov byte [esp + 0x34], 4
push eax
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
call fcn.0049fe70
add esp, 4
push eax
lea ecx, [edi + 0x68]
mov byte [esp + 0x38], 5
call fcn.00497680
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0x10], 0x41f328
jb 0x49ddef
push dword [esp + 0x14]
call fcn.00534995
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x2c
ret

Function at 0x49e870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55e4b6
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x586220]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [esp + 0x20]
lea ecx, [ebx + 0x14]
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
lea eax, [edi + 0x14]
push eax
call fcn.00497680
lea eax, [edi + 0x30]
push eax
lea ecx, [ebx + 0x30]
call fcn.00497680
lea eax, [edi + 0x4c]
push eax
lea ecx, [ebx + 0x4c]
call fcn.00497680
lea eax, [edi + 0x68]
push eax
lea ecx, [ebx + 0x68]
call fcn.00497680
mov al, byte [edi + 0xc]
mov byte [ebx + 0xc], al
test al, al
je 0x49e99b
push 0x1c
call fcn.00534944
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], 0
test esi, esi
je 0x49e930
mov eax, dword [edi + 0x84]
test eax, eax
je 0x49e908
add eax, 4
jmp 0x49e90a
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esi + 4]
mov dword [ecx + 0x14], 0xf
push 0
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004420d0
mov dword [esi], 0x41f328
jmp 0x49e932
xor esi, esi
push 0x1c
mov dword [esp + 0x1c], 0xffffffff
mov dword [ebx + 0x84], esi
call fcn.00534944
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], 1
test esi, esi
je 0x49e993
mov eax, dword [edi + 0x88]
test eax, eax
je 0x49e96b
add eax, 4
jmp 0x49e96d
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esi + 4]
mov dword [ecx + 0x14], 0xf
push 0
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004420d0
mov dword [esi], 0x41f328
jmp 0x49e995
xor esi, esi
mov dword [ebx + 0x88], esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x4a1260
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x55e836
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x586220]
xor eax, esp
mov dword [esp + 0xcc], eax
push esi
push edi
mov eax, dword [0x586220]
xor eax, esp
push eax
lea eax, [esp + 0xdc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 0
mov eax, dword [esp + 0xec]
mov edi, dword [esp + 0xf0]
mov dword [esp + 0x44], eax
mov dword [esi + 0x1c], 0xffffffff
jne 0x4a12c1
xor al, al
jmp 0x4a14b5
call fcn.004998f0
test al, al
je 0x4a12ba
lea eax, [esp + 0xa0]
mov ecx, esi
push eax
call fcn.004992e0
cmp dword [esi + 0x18], 0x10
lea eax, [esi + 4]
mov dword [esp + 0xe4], 0
jb 0x4a12ef
mov eax, dword [eax]
push eax
lea ecx, [esp + 0xc0]
call fcn.0043aa00
mov eax, dword [esp + 0x44]
mov byte [esp + 0xe4], 1
cmp dword [eax + 0x14], 0
je 0x4a13af
push 0x41f4cc
lea ecx, [esp + 0x10]
call fcn.0043aa00
push dword [esp + 0x44]
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe8], 2
push ecx
mov ecx, eax
call fcn.00498f80
mov byte [esp + 0xe4], 3
test eax, eax
je 0x4a1349
add eax, 4
jmp 0x4a134b
xor eax, eax
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xcc]
call fcn.00441ec0
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x28], 0x41f328
jb 0x4a1377
push dword [esp + 0x2c]
call fcn.00534995
add esp, 4
cmp dword [esp + 0x24], 0x10
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
mov byte [esp + 0xe4], 1
mov dword [esp + 0xc], 0x41f328
jb 0x4a13af
push dword [esp + 0x10]
call fcn.00534995
add esp, 4
push 0x40
lea eax, [esp + 0x64]
mov dword [esp + 0x60], 0x44
push 0
push eax
call fcn.00535f30
add esp, 0xc
xorps xmm0, xmm0
cmp dword [edi + 0x14], 0
movdqu xmmword [esp + 0x4c], xmm0
jne 0x4a13f0
cmp dword [esp + 0xb8], 0x10
lea ecx, [esp + 0xa4]
cmovae ecx, dword [esp + 0xa4]
jmp 0x4a13fb
cmp dword [edi + 0x18], 0x10
lea ecx, [edi + 4]
jb 0x4a13fb
mov ecx, dword [ecx]
cmp dword [esp + 0xd4], 0x10
lea edx, [esp + 0x4c]
push edx
lea edx, [esp + 0x60]
push edx
push ecx
push 0
push 8
push 0
push 0
push 0
lea eax, [esp + 0xe0]
cmovae eax, dword [esp + 0xe0]
push 0
push eax
call dword [0x57e104]
test eax, eax
jne 0x4a143a
mov byte [esp + 0x4b], al
jmp 0x4a1458
mov eax, dword [esp + 0x54]
push dword [esp + 0x4c]
mov dword [esi + 0x1c], eax
mov esi, dword [0x57e22c]
call esi
push dword [esp + 0x50]
call esi
mov byte [esp + 0x4b], 1
cmp dword [esp + 0xd4], 0x10
mov dword [esp + 0xbc], 0x41f328
jb 0x4a147c
push dword [esp + 0xc0]
call fcn.00534995
add esp, 4
lea ecx, [esp + 0xa0]
mov dword [esp + 0xd4], 0xf
mov dword [esp + 0xd0], 0
mov byte [esp + 0xc0], 0
mov dword [esp + 0xe4], 0xffffffff
call fcn.00498f30
mov al, byte [esp + 0x4b]
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xcc]
xor ecx, esp
call fcn.00535482
add esp, 0xdc
ret 8
Function at 0x4a1670
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
push 0x420d5c
mov esi, ecx
call dword [0x57e0f8]
mov edi, dword [0x57e0c4]
push 0x420d68
push eax
mov dword [esi + 4], eax
call edi
mov dword [esi + 0x2c], eax
test eax, eax
jne 0x4a169c
pop edi
xor al, al
pop esi
ret
push 0x420d84
call dword [0x57e0f8]
mov dword [esi], eax
test eax, eax
je 0x4a1697
push 0x420d94
push eax
call edi
mov dword [esi + 0x14], eax
test eax, eax
je 0x4a1697
push 0x420db0
push dword [esi]
call edi
mov dword [esi + 0x18], eax
test eax, eax
je 0x4a1697
push 0x420dc0
push dword [esi]
call edi
mov dword [esi + 0x1c], eax
test eax, eax
je 0x4a1697
push 0x420dd0
push dword [esi]
call edi
mov dword [esi + 0x20], eax
test eax, eax
je 0x4a1697
push 0x420de0
push dword [esi]
call edi
mov dword [esi + 0x24], eax
test eax, eax
je 0x4a1697
push 0x420df0
push dword [esi]
call edi
push 0x420e00
push dword [esi]
mov dword [esi + 0x28], eax
call edi
mov dword [esi + 0x30], eax
mov al, 1
pop edi
pop esi
ret
Function at 0x4a17f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x55e8ec
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x586220]
xor eax, esp
mov dword [esp + 0x1a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x586220]
xor eax, esp
push eax
lea eax, [esp + 0x1b8]
mov dword fs:[0], eax
mov edi, ecx
xor bl, bl
cmp dword [edi + 0x14], 0
mov byte [esp + 0x17], bl
jne 0x4a1840
xor al, al
jmp 0x4a19fd
mov eax, dword [edi + 0x20]
cmp dword [eax], 0
je 0x4a1839
mov eax, dword [eax + 0x14]
push 0
push 2
call eax
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4a1839
push 0x128
lea eax, [esp + 0x90]
push 0
push eax
call fcn.00535f30
add esp, 0xc
mov dword [esp + 0x8c], 0x128
call dword [0x57e2bc]
mov esi, eax
lea ecx, [esp + 0x8c]
mov eax, dword [edi + 0x20]
push ecx
push ebp
mov dword [esp + 0x20], esi
mov eax, dword [eax + 0x18]
call eax
test eax, eax
je 0x4a19f4
push 1
lea eax, [esp + 0x74]
mov ecx, edi
push eax
call fcn.004996b0
mov ecx, dword [esp + 0x84]
mov ebx, dword [0x57e310]
mov dword [esp + 0x1c0], 0
test ecx, ecx
je 0x4a18e0
cmp dword [esp + 0x88], 0x10
lea eax, [esp + 0x74]
push ecx
cmovae eax, dword [esp + 0x78]
push eax
call ebx
mov edi, edi
cmp esi, dword [esp + 0x94]
je 0x4a19c3
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x58]
call fcn.00498e30
mov ecx, dword [esp + 0x68]
mov byte [esp + 0x1c0], 1
test ecx, ecx
je 0x4a1920
cmp dword [esp + 0x6c], 0x10
lea eax, [esp + 0x58]
push ecx
cmovae eax, dword [esp + 0x5c]
push eax
call ebx
push 1
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x78]
call fcn.004996b0
mov byte [esp + 0x1c0], 2
test eax, eax
je 0x4a1941
lea esi, [eax + 4]
jmp 0x4a1943
xor esi, esi
push 1
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x5c]
call fcn.004996b0
mov byte [esp + 0x1c0], 3
test eax, eax
je 0x4a1964
lea ecx, [eax + 4]
jmp 0x4a1966
xor ecx, ecx
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x4a1971
mov esi, dword [esi]
push eax
push esi
push dword [ecx + 0x10]
push 0
call fcn.00447fe0
test eax, eax
mov byte [esp + 0x1c0], 2
lea ecx, [esp + 0x38]
sete bl
call fcn.00498f30
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c0], 1
call fcn.00498f30
mov byte [esp + 0x1c0], 0
lea ecx, [esp + 0x54]
test bl, bl
jne 0x4a1a25
call fcn.00498f30
mov ebx, dword [0x57e310]
mov esi, dword [esp + 0x18]
mov eax, dword [edi + 0x20]
lea ecx, [esp + 0x8c]
push ecx
push ebp
mov eax, dword [eax + 0x1c]
call eax
test eax, eax
jne 0x4a18e0
mov bl, byte [esp + 0x17]
lea ecx, [esp + 0x70]
mov dword [esp + 0x1c0], 0xffffffff
call fcn.00498f30
push ebp
call dword [0x57e22c]
mov al, bl
mov ecx, dword [esp + 0x1b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.00535482
add esp, 0x1b0
ret
mov eax, dword [esp + 0x94]
mov bl, 1
mov dword [edi + 0x1c], eax
call fcn.00498f30
jmp 0x4a19e0
Function at 0x4a1ae0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x55e928
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x586220]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x586220]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 0
mov edi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x80]
mov dword [esi + 0x1c], 0xffffffff
jne 0x4a1b32
xor al, al
jmp 0x4a1c12
call fcn.004998f0
test al, al
je 0x4a1b2b
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
call fcn.004992e0
cmp dword [edi + 0x14], 0
mov dword [esp + 0x74], 0
jne 0x4a1b59
xor edi, edi
jmp 0x4a1b64
add edi, 4
cmp dword [edi + 0x14], 0x10
jb 0x4a1b64
mov edi, dword [edi]
push 0x3c
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00535f30
lea eax, [esi + 4]
mov dword [esp + 0x1c], 0x3c
add esp, 0xc
mov dword [esp + 0x18], 0
cmp dword [eax + 0x14], 0x10
mov dword [esp + 0x14], 0x440
jb 0x4a1b98
mov eax, dword [eax]
cmp dword [ebx + 0x14], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
jne 0x4a1bb6
cmp dword [esp + 0x64], 0x10
lea eax, [esp + 0x50]
cmovae eax, dword [esp + 0x50]
jmp 0x4a1bc1
cmp dword [ebx + 0x18], 0x10
lea eax, [ebx + 4]
jb 0x4a1bc1
mov eax, dword [eax]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x30], 1
call dword [0x57e2e0]
test eax, eax
jne 0x4a1be0
xor bl, bl
jmp 0x4a1bff
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x4a1bf3
push dword [esp + 0x48]
call eax
mov dword [esi + 0x1c], eax
push dword [esp + 0x48]
call dword [0x57e22c]
mov bl, 1
lea ecx, [esp + 0x4c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00498f30
mov al, bl
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00535482
add esp, 0x68
ret 8
Function at 0x4a3040
Capabilities:
Delete file

Disassembly:
add ecx, 8
cmp dword [ecx + 0x14], 0x10
jb 0x4a304b
mov ecx, dword [ecx]
push ecx
call dword [0x57e124]
test eax, eax
setne al
ret

Function at 0x4a4c20
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x55eeee
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x586220]
xor eax, esp
mov dword [esp + 0x190], eax
mov eax, dword [0x586220]
xor eax, esp
push eax
lea eax, [esp + 0x198]
mov dword fs:[0], eax
mov eax, dword [0x58d2c4]
test al, 1
jne 0x4a4cb0
or eax, 1
mov dword [0x58d2c4], eax
push 0x190
lea eax, [esp + 8]
mov dword [esp + 0x1a4], 0
push 0
push eax
mov dword [0x58d2c0], 0xffffffff
call fcn.00535f30
add esp, 0xc
lea eax, [esp + 4]
push eax
push 2
call dword [0x57e380]
push 0x567a90
mov dword [0x58d2c0], eax
call fcn.00534ac5
add esp, 4
mov eax, 0x58d2c0
mov ecx, dword [esp + 0x198]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.00535482
add esp, 0x1a0
ret
Function at 0x4aaa00
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x55f05b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x586220]
xor eax, esp
mov dword [esp + 8], eax
push esi
push edi
mov eax, dword [0x586220]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0xe9c], 0
lea esi, [edi + 0xe9c]
jne 0x4aab19
mov dword [esp + 0x10], 0
call fcn.004ab670
push eax
lea ecx, [esp + 0x14]
call fcn.004a2900
cmp byte [esi], 0
mov dword [esp + 0x20], 0
jne 0x4aab08
cmp dword [edi + 0xea0], 0
jne 0x4aaaa4
push 4
call fcn.00534944
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x20], 1
test eax, eax
je 0x4aaa9c
mov ecx, eax
mov dword [eax], 0
call fcn.004a28e0
jmp 0x4aaa9e
xor eax, eax
mov dword [edi + 0xea0], eax
mov dword [esp + 0xc], esi
mov ecx, edi
mov byte [esp + 0x20], 2
mov byte [0x583534], 0xf0
call fcn.004bef00
test al, al
jne 0x4aaad7
lea ecx, [esp + 0x10]
mov byte [esi], 1
mov dword [esp + 0x20], 0xffffffff
call fcn.004a2940
xor al, al
jmp 0x4aab1b
mov ecx, edi
mov dword [esp + 0x20], 2
call fcn.004aace0
call fcn.004ca3c0
test al, al
jne 0x4aaaf7
push 1
call dword [0x57e144]
push 0
call fcn.004c9340
mov ecx, eax
call fcn.004ca2d0
mov byte [esi], 1
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.004a2940
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00535482
add esp, 0x18
ret

Function at 0x4b9a70
Capabilities:
Read file via mapping

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, ecx
push dword [esp + 0xc]
call fcn.004b9ab0
mov ecx, dword [esi + 0x18]
cmp ecx, 0xffffffff
je 0x4b9aa6
push 0
push 0
push 0
push 6
push ecx
call dword [0x57e154]
test eax, eax
jne 0x4b9aa1
xor al, al
pop esi
ret 8
mov dword [esi + 0x14], eax
mov al, 1
pop esi
ret 8