joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5bf260
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x6f6f58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
push str.null
push esi
mov dword [esp + 0x18], esi
call fcn.0065d920
xor ebx, ebx
add esp, 8
lea ecx, [esi + 0x28]
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
call fcn.005c2980
lea ecx, [esi + 0xf8]
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xf0], ebx
mov byte [esi + 0xf4], 1
call fcn.005c29e0
push 0x5c2ab0
push 0x5c2ac0
push 4
push 0x54
lea eax, [esi + 0x128]
push eax
call fcn.0065e0a5
lea edi, [esi + 0x2b8]
push str.null
push edi
mov dword [esp + 0x24], ebx
mov dword [esi + 0x278], 7
mov dword [esi + 0x284], ebx
mov dword [esi + 0x28c], ebx
mov dword [esi + 0x288], ebx
mov dword [esi + 0x290], ebx
mov dword [esi + 0x2b4], ebx
mov byte [esi + 0x294], bl
mov byte [esi + 0x2a4], bl
call fcn.0065d920
mov eax, 1
or ebp, 0xffffffff
add esp, 8
lea ecx, [esi + 0x2fc]
mov dword [edi + 0x10], ebx
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], eax
mov dword [edi + 0x30], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x34], ebp
mov dword [edi + 0x2c], ebx
call fcn.005c2a20
lea ecx, [esi + 0x324]
call fcn.005c2a50
lea eax, [esi + 0x43c]
add eax, 0x28
mov dword [eax - 0x28], ebx
mov dword [eax - 0x24], ebx
mov dword [eax - 0x20], ebx
mov dword [eax - 0xc], ebp
mov dword [eax - 8], ebp
mov byte [eax - 0x1c], bl
mov dword [eax - 4], ebx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x1c], ebp
mov dword [eax + 0x20], ebp
mov byte [eax + 0xc], bl
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x24], ebx
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x5c3b20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push esi
mov esi, ecx
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x5c3cc8
mov ecx, dword [0x77ff08]
mov eax, dword [ecx]
push ebx
push ebp
push edi
push 2
call dword [eax + 0x10]
mov edi, dword [esi + 0xac]
mov edx, dword [esi + 0xa8]
mov ecx, dword [esi + 0xb4]
mov ebx, dword [esi + 0xb0]
sub edi, 8
sub edx, 4
and edi, 0xfffffff8
inc ecx
and ecx, 0xfffffffe
test edx, edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ecx
jge 0x5c3b85
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x28]
test edi, edi
jge 0x5c3b8b
xor edi, edi
mov eax, dword [esi + 0x74]
cmp ebx, eax
jle 0x5c3b96
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x78]
cmp ecx, eax
jle 0x5c3ba1
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 0x90]
mov eax, dword [esi + 0x98]
mov ebp, dword [esi + 0x94]
add eax, ecx
mov ecx, dword [esi + 0x9c]
shl edx, 6
add ecx, ebp
mov ebp, edx
mov edx, edi
shl edx, 5
sub ebp, eax
mov ebx, edx
mov dword [esp + 0x20], ebp
sub ebx, ecx
call sub.WINMM.dll_timeGetTime
mov edx, dword [esi + 0x114]
mov ecx, dword [esp + 0x34]
sub eax, edx
cmp edi, ecx
mov dword [esp + 0x1c], eax
mov eax, edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
jae 0x5c3cba
jmp 0x5c3c00
mov ebp, dword [esp + 0x20]
mov edi, edi
mov ebx, dword [esp + 0x28]
cmp ebx, dword [esp + 0x30]
jae 0x5c3c9c
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x18], eax
jmp 0x5c3c20
mov eax, dword [esp + 0x18]
lea ecx, [ecx]
mov ecx, dword [esi + 0x74]
mov edx, dword [esi + 0x80]
imul ecx, eax
add ecx, ebx
lea eax, [edx + ecx*4]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x5c3c8c
xor edx, edx
mov edi, 0x64
div edi
mov ecx, dword [esi + 0xd0]
mov edi, dword [ecx]
push edx
push eax
call dword [edi + 0x28]
mov ecx, eax
test ecx, ecx
je 0x5c3c8c
mov di, word [ecx + 0xa]
test di, di
je 0x5c3c8c
xor edx, edx
cmp di, 1
je 0x5c3c73
mov eax, dword [esp + 0x1c]
div dword [ecx + 0xc]
movzx edi, di
xor edx, edx
div edi
mov eax, dword [ecx]
push edx
call dword [eax]
mov ecx, dword [esp + 0x3c]
mov edx, dword [eax]
push 0
push ecx
mov ecx, dword [esp + 0x18]
push ecx
push ebp
mov ecx, eax
call dword [edx + 0xc]
mov eax, dword [esp + 0x30]
add ebp, 0x40
inc ebx
cmp ebx, eax
jb 0x5c3c19
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
add eax, 2
add edi, 0x40
cmp eax, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
jb 0x5c3bfa
mov ecx, dword [0x77ff08]
mov edx, dword [ecx]
call dword [edx + 0x14]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x28
ret 4
Function at 0x5c65c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6f701e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00460d90
lea eax, [edi + 0x10]
push eax
lea ecx, [esi + 0x10]
mov dword [esp + 0x18], 0
call fcn.00460d90
lea ecx, [edi + 0x20]
push ecx
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 1
call fcn.00460d90
add edi, 0x30
push edi
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 2
call fcn.00460d90
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x5c8dd0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x6f7211
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esi], fcn.005c7160
mov byte [esi + 4], bl
mov byte [esi + 5], bl
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
lea ecx, [esi + 0x34]
mov byte [esp + 0x18], 1
mov byte [esi + 0x28], 1
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call fcn.005c6a40
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xf8], ebx
mov dword [esi + 0xfc], ebx
mov dword [esi + 0x100], ebx
mov dword [esi + 0x108], ebx
mov dword [esi + 0x10c], ebx
mov dword [esi + 0x110], ebx
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x120], ebx
mov dword [esi + 0x124], ebx
lea edi, [esi + 0x23c]
mov ecx, edi
mov byte [esp + 0x18], 7
mov dword [esi + 0x128], ebx
mov dword [esi + 0x12c], ebx
mov dword [esi + 0x130], ebx
mov dword [esi + 0x134], ebx
call fcn.005c40f0
mov dword [edi + 4], eax
mov byte [eax + 0x51], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov dword [esi + 0x248], ebx
mov dword [esi + 0x24c], ebx
mov byte [esi + 0x250], bl
mov byte [esi + 0x25c], bl
mov dword [esi + 0x260], ebx
mov dword [esi + 0x268], ebx
mov dword [esi + 0x26c], ebx
mov dword [esi + 0x270], ebx
mov dword [esi + 0x278], ebx
mov dword [esi + 0x27c], ebx
mov dword [esi + 0x280], ebx
mov byte [esp + 0x18], 0xa
mov dword [0x781c94], esi
mov ecx, esi
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
call fcn.005c7ba0
mov ecx, dword [esp + 0x10]
mov dword [0x77ff04], esi
mov byte [esi + 0x138], bl
pop edi
mov dword [esi + 0x254], 0xc8
mov dword [esi + 0x258], 0xff808080
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x5ddcb8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6f78b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
lea eax, [esp + 7]
push eax
lea ecx, [esp + 0xb]
push ecx
lea ecx, [esi + 8]
mov dword [esp + 0x1c], 0
call fcn.005ddc20
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x30], 0
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x5e1d30
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [eax + 0x14]
mov eax, dword [esi + 8]
test eax, eax
push edi
mov edi, ecx
jne 0x5e1da9
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov eax, dword [edi + 0x4c]
mov ebx, dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push ecx
push edx
push 0
push 4
push eax
call ebx
test eax, eax
mov dword [esi + 8], eax
jne 0x5e1da9
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebp
cmp eax, 5
jne 0x5e1d97
mov ecx, dword [0x77ff08]
mov edx, dword [ecx]
call dword [edx + 0xf4]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov edx, dword [edi + 0x4c]
push eax
push ecx
push 0
push 4
push edx
call ebx
test eax, eax
mov dword [esi + 8], eax
jne 0x5e1da0
call ebp
pop ebp
pop edi
pop esi
xor al, al
pop ebx
ret 4
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
ret 4
pop edi
pop esi
mov al, 1
pop ebx
ret 4
Function at 0x5eea46
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6f7e6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esi + 8]
xor eax, eax
mov dword [esi], 0x71ffec
mov dword [esp + 4], esi
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esp + 0x10], eax
mov byte [esi + 4], al
mov eax, dword [0x71facc]
push eax
call fcn.005ee790
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x5f22d0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x6f7feb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea eax, [esi + 4]
mov dword [eax], eax
mov dword [eax + 4], eax
lea ecx, [esi + 0xc]
xor eax, eax
mov dword [esi], 0x720438
mov dword [esp + 4], esi
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x20], edx
mov edx, dword [esp + 0x24]
mov dword [esi + 0x24], edx
mov dl, byte [esp + 0x28]
mov dword [esp + 0x10], eax
mov byte [esi + 0x28], dl
mov dl, byte [esp + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x18]
push 0x10
mov byte [esi + 0x29], dl
mov dword [esi + 0x30], eax
call fcn.005f2120
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18

Function at 0x5f3650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6f80b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x7204a0
xor ebx, ebx
mov dword [esp + 0x14], ebx
call fcn.006ebcf0
cmp byte [esi + 0x34], bl
je 0x5f368a
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov ecx, esi
call fcn.006ebb50
mov eax, dword [esi + 0x30]
push eax
call fcn.0065f1d2
add esp, 4
mov ecx, esi
mov dword [esi + 0x30], ebx
mov dword [esp + 0x14], 0xffffffff
call fcn.006ebbc0
mov ecx, dword [esp + 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x5f94c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x6f822b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
lea edi, [esi + 0x54]
mov ecx, edi
mov dword [esp + 0x18], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x50], ebx
call fcn.0050a9c0
mov ecx, dword [esp + 0x24]
mov dl, byte [esp + 0x28]
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 8], ebx
mov dword [esi + 0x60], eax
cmp byte [esp + 0x2c], bl
mov dword [esi + 0x64], ecx
mov byte [esi + 0x68], dl
mov dword [esi], 0xfe
je 0x5f9563
mov dword [esi + 0xc], 0x81
mov dword [esi + 8], 0xfe
mov dword [esi + 4], 0x40
jmp 0x5f9578
mov dword [esi + 0xc], 0xa1
mov dword [esi + 8], 0xf7
mov dword [esi + 4], 0xa0
mov eax, dword [esi + 8]
sub eax, dword [esi + 0xc]
inc eax
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
mov ecx, 0x100
sub ecx, eax
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x5ff6b0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x6f86b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.005fb750
lea edi, [esi + 0xc]
xor ebp, ebp
mov ecx, edi
mov dword [esp + 0x1c], ebp
mov dword [esi], 0x7205b0
call fcn.005fbd80
mov dword [edi + 4], eax
mov dword [edi + 8], ebp
lea edi, [esi + 0x18]
mov bl, 1
mov ecx, edi
mov byte [esp + 0x1c], bl
call fcn.005fbda0
mov dword [edi + 4], eax
mov byte [eax + 0x49], bl
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
lea edi, [esi + 0x24]
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.005fbda0
mov dword [edi + 4], eax
mov byte [eax + 0x49], bl
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
push 0x5febe0
push fcn.0041ec50
push 0xc
push 0x10
lea eax, [esi + 0x30]
push eax
mov byte [esp + 0x30], 3
call fcn.0065e0a5
lea edi, [esi + 0xf0]
mov ecx, edi
mov byte [esp + 0x1c], 4
call fcn.0050a9c0
mov dword [edi + 4], eax
mov byte [eax + 0x15], bl
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
mov dword [esi + 0x100], ebp
mov dword [esi + 0x104], ebp
mov dword [esi + 0x108], ebp
mov dword [esi + 0x110], ebp
mov dword [esi + 0x114], ebp
mov dword [esi + 0x118], ebp
lea ecx, [esi + 0x158]
mov byte [esp + 0x1c], 7
call fcn.005e05f0
mov ecx, dword [esp + 0x24]
pop edi
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x5ff880
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x6f8769
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x158]
mov dword [esp + 0x1c], 7
call fcn.005fb7a0
lea ecx, [esi + 0x10c]
mov byte [esp + 0x1c], 6
call fcn.005fe730
mov eax, dword [esi + 0x100]
xor ebx, ebx
cmp eax, ebx
je 0x5ff8d9
push eax
call fcn.0065d0d4
add esp, 4
mov dword [esi + 0x100], ebx
mov dword [esi + 0x104], ebx
mov dword [esi + 0x108], ebx
mov eax, dword [esi + 0xf4]
mov ecx, dword [eax]
lea edi, [esi + 0xf0]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov byte [esp + 0x28], 4
call fcn.005fd010
mov eax, dword [edi + 4]
push eax
call fcn.0065d0d4
add esp, 4
push 0x5febe0
push 0xc
push 0x10
lea ecx, [esi + 0x30]
push ecx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov byte [esp + 0x2c], 3
call fcn.0065e165
mov eax, dword [esi + 0x28]
mov ecx, dword [eax]
lea edi, [esi + 0x24]
push eax
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, edi
mov byte [esp + 0x28], 2
call fcn.005fe780
mov eax, dword [edi + 4]
push eax
call fcn.0065d0d4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
add esp, 4
lea edi, [esi + 0x18]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov byte [esp + 0x28], 1
call fcn.005fe780
mov eax, dword [edi + 4]
push eax
call fcn.0065d0d4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
lea edi, [esi + 0xc]
add esp, 4
mov ecx, edi
mov byte [esp + 0x1c], bl
call fcn.005ff170
mov eax, dword [edi + 4]
push eax
call fcn.0065d0d4
add esp, 4
mov ecx, esi
mov dword [edi + 4], ebx
mov dword [esp + 0x1c], 0xffffffff
call fcn.005fb760
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x5ffd50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6f87e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov eax, dword [edi]
mov esi, ecx
mov dword [esi], eax
mov dword [esi + 8], 0
mov eax, dword [edi + 8]
test eax, eax
mov dword [esp + 8], esi
je 0x5ffd99
mov dword [esi + 8], eax
mov ecx, dword [edi + 8]
push 0
lea edx, [esi + 0x10]
push edx
lea eax, [edi + 0x10]
push eax
call dword [ecx]
add esp, 0xc
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x30]
lea ecx, [edi + 0x38]
mov dword [esi + 0x30], edx
mov eax, dword [edi + 0x34]
push ecx
lea ecx, [esi + 0x38]
mov dword [esp + 0x18], 0
mov dword [esi + 0x34], eax
call fcn.005fd320
mov dl, byte [edi + 0x48]
mov ecx, dword [esp + 0xc]
mov byte [esi + 0x48], dl
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x6078a0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x58]
test ecx, ecx
je 0x6078c0
mov edx, dword [esp + 8]
mov dword [ecx + 0x44], edx
mov eax, dword [eax + 0x58]
push 1
add eax, 4
push eax
call fcn.00662014
mov ecx, dword [eax + 0x10]
push eax
call dword [ecx + 0x28]
add esp, 4
push 1
call fcn.0065e7bc
int3

Function at 0x607da0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
mov ebp, edi
sub ebp, ecx
cmp eax, 6
je 0x607dc0
call fcn.00607d10
mov edi, eax
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x24]
add eax, 0x18
cmp eax, ecx
jne 0x607e04
mov ax, word [esi + 0x2c]
cmp ax, 0x1000
jbe 0x607ddf
push 5
push esi
call fcn.006078a0
movzx ecx, ax
shl ecx, 1
push ecx
push esi
call fcn.00607a10
add esp, 8
cmp word [esi + 0x2c], 0x1000
jbe 0x607e04
push str.stack_overflow
push esi
call fcn.0060d590
add esp, 8
mov eax, dword [edi + 8]
mov cl, byte [eax + 6]
test cl, cl
jne 0x607ec7
push ebx
mov ebx, dword [eax + 0xc]
mov al, byte [ebx + 0x46]
test al, al
je 0x607e2d
movzx eax, byte [ebx + 0x45]
lea edx, [edi + 0x10]
push eax
call fcn.00607bd0
add esp, 4
movzx eax, byte [ebx + 0x47]
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x18]
sub ecx, edx
mov edx, eax
shl edx, 4
cmp ecx, edx
jg 0x607e4c
push eax
push esi
call fcn.00607a80
add esp, 8
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x1c]
add eax, 0x18
mov dword [esi + 0x14], eax
lea edx, [ecx + ebp + 0x10]
mov dword [eax], edx
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx]
mov dword [esi + 0xc], ecx
movzx edx, byte [ebx + 0x47]
shl edx, 4
add edx, ecx
mov dword [eax + 4], edx
mov ecx, dword [ebx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [eax + 4]
mov dword [eax + 0x14], 0
mov dword [eax + 8], 8
mov edx, dword [esi + 8]
cmp edx, ecx
jae 0x607eba
mov ecx, 0x10
jmp 0x607ea0
mov edx, dword [esi + 8]
mov dword [edx], 0
mov ebx, dword [esi + 8]
add ebx, ecx
mov dword [esi + 8], ebx
mov edi, dword [eax + 4]
mov edx, ebx
cmp edx, edi
jb 0x607ea0
mov eax, dword [eax + 4]
pop ebx
pop edi
mov dword [esi + 8], eax
pop esi
xor eax, eax
pop ebp
ret
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 8]
cmp ecx, 0x140
jg 0x607ee0
push 0x14
push esi
call fcn.00607a80
add esp, 8
mov edx, dword [esi + 0x14]
add edx, 0x18
mov dword [esi + 0x14], edx
mov eax, edx
mov edx, dword [esi + 0x1c]
lea ecx, [edx + ebp + 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 0x14]
mov ecx, dword [edx]
mov edx, dword [esi + 8]
mov dword [esi + 0xc], ecx
add edx, 0x140
mov ecx, 1
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
test byte [esi + 0x30], cl
je 0x607f22
push 0xffffffffffffffff
push 0
push esi
call fcn.00607b00
add esp, 0xc
mov eax, dword [esi + 0xc]
mov ecx, dword [eax - 8]
push esi
call dword [ecx + 0xc]
add esp, 4
shl eax, 4
mov edx, eax
mov eax, dword [esi + 8]
pop edi
pop esi
sub eax, edx
pop ebp
ret
Function at 0x60b5b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x14]
mov eax, ebp
shr eax, 5
push esi
inc eax
cmp ebp, eax
push edi
mov edi, ebp
mov ecx, ebp
jb 0x60b5eb
lea ebx, [ebx]
movzx edx, byte [ebx + ecx - 1]
mov esi, edi
shl esi, 5
add edx, esi
mov esi, edi
shr esi, 2
add edx, esi
sub ecx, eax
xor edi, edx
cmp ecx, eax
jae 0x60b5d0
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
dec ecx
and ecx, edi
mov esi, dword [edx + ecx*4]
test esi, esi
je 0x60b61e
cmp dword [esi + 0xc], ebp
jne 0x60b618
push ebp
lea eax, [esi + 0x10]
push eax
push ebx
call fcn.0065c6d0
add esp, 0xc
test eax, eax
je 0x60b633
mov esi, dword [esi]
test esi, esi
jne 0x60b601
push ebp
push ebx
mov ebx, dword [esp + 0x1c]
mov eax, edi
call fcn.0060b530
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret