joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d4c0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011a7d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], 0xcccccccc
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.1000bde0
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.1000bcf0
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.1000d850
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x7c
call fcn.1000b610
mov ecx, dword [ebp - 0x10]
add ecx, 0x84
call fcn.1000b610
mov ecx, dword [ebp - 0x10]
add ecx, 0x8c
call fcn.1000b610
mov ecx, dword [ebp - 0x10]
add ecx, 0x94
call fcn.1000b610
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + eax + 0x28], 0xffffffff
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + eax + 0x28], 0xffffffff
mov edx, 4
shl edx, 0
mov eax, dword [ebp - 0x10]
mov dword [eax + edx + 0x30], 0
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 0x10]
mov dword [eax + edx + 0x30], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
add esp, 0x10
cmp ebp, esp
call fcn.10118e91
mov esp, ebp
pop ebp
ret
Function at 0x100109e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x10]
not eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0x10141188
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0xc]
sub eax, 1
mov dword [ebp + 0xc], eax
cmp dword [ebp - 0x10], 0
je 0x10010a19
mov dword [ebp - 0x14], 1
jmp 0x10010a20
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
je 0x10010a57
mov ecx, dword [ebp - 4]
shr ecx, 8
mov edx, dword [ebp - 4]
and edx, 0xff
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
xor edx, eax
mov eax, dword [ebp - 0xc]
xor ecx, dword [eax + edx*4]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], edx
jmp 0x100109fb
mov eax, dword [ebp - 4]
not eax
mov esp, ebp
pop ebp
ret

Function at 0x10010a60
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
not eax
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], 0x10141188
cmp dword [ebp + 0xc], 0
je 0x10010b2f
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
sub ecx, 1
mov dword [ebp + 0xc], ecx
cmp dword [ebp - 0x14], 0
je 0x10010aa9
mov dword [ebp - 0x18], 1
jmp 0x10010ab0
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0
je 0x10010b2d
mov edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ebp - 0x19], al
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov dl, byte [ebp - 0x19]
mov byte [ebp - 0xd], dl
movzx eax, byte [ebp - 0xd]
cmp eax, 0x23
jne 0x10010b0a
cmp dword [ebp + 0xc], 2
jb 0x10010b0a
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x23
jne 0x10010b0a
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x23
jne 0x10010b0a
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
shr eax, 8
mov ecx, dword [ebp - 4]
and ecx, 0xff
movzx edx, byte [ebp - 0xd]
xor ecx, edx
mov edx, dword [ebp - 0xc]
xor eax, dword [edx + ecx*4]
mov dword [ebp - 4], eax
jmp 0x10010a8b
jmp 0x10010ba4
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [ebp - 0x1a], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov al, byte [ebp - 0x1a]
mov byte [ebp - 0xe], al
movzx ecx, byte [ebp - 0xe]
test ecx, ecx
je 0x10010ba4
movzx edx, byte [ebp - 0xe]
cmp edx, 0x23
jne 0x10010b85
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx]
cmp eax, 0x23
jne 0x10010b85
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx]
cmp eax, 0x23
jne 0x10010b85
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
shr edx, 8
mov eax, dword [ebp - 4]
and eax, 0xff
movzx ecx, byte [ebp - 0xe]
xor eax, ecx
mov ecx, dword [ebp - 0xc]
xor edx, dword [ecx + eax*4]
mov dword [ebp - 4], edx
jmp 0x10010b2f
mov eax, dword [ebp - 4]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x10010e10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100f9a14
add esp, 0x10
xor edx, edx
cmp ebp, esp
call fcn.10118e91
pop ebp
ret

Function at 0x10010e40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100f9563
add esp, 0x10
xor edx, edx
cmp ebp, esp
call fcn.10118e91
pop ebp
ret
Function at 0x10013800
Capabilities:
Check for peb ntglobalflag flag
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011aaf1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], 0xcccccccc
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.1000b610
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.1000b610
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.1000b610
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.1000b610
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.1000b610
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.1000b610
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.1000b610
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.1000c7e0
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.1000c7e0
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.1000c7e0
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.1000b610
mov ecx, dword [ebp - 0x10]
add ecx, 0x68
call fcn.1000b610
mov ecx, dword [ebp - 0x10]
add ecx, 0x70
call fcn.1000d1d0
mov ecx, dword [ebp - 0x10]
add ecx, 0x94
call fcn.1002f6f0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xbc
call fcn.1002f6f0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xc8
call fcn.1002f6f0
nop
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
add esp, 0x10
cmp ebp, esp
call fcn.10118e91
mov esp, ebp
pop ebp
ret
Function at 0x1004bb00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov esi, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.10118e91
movsx ecx, ax
and ecx, 0x8000
je 0x1004bb33
mov dword [ebp - 4], 1
jmp 0x1004bb3a
mov dword [ebp - 4], 0
movzx eax, byte [ebp - 4]
pop esi
add esp, 4
cmp ebp, esp
call fcn.10118e91
mov esp, ebp
pop ebp
ret
Function at 0x1006feb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011af78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push edi
push ecx
lea edi, [ebp - 0xa8]
mov ecx, 0x27
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], 1
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.1009b490
nop
mov edx, dword [ebp - 0x10]
add edx, 4
mov dword [ebp - 0x94], edx
push 0x40
push 0
lea eax, [ebp - 0x50]
push eax
call fcn.100f2310
add esp, 0xc
lea ecx, [ebp - 0x50]
call fcn.100702d0
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x9c]
push edx
mov ecx, dword [ebp - 0x94]
call fcn.1009b540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.10070330
nop
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0xa0], eax
push 0x40
push 0
lea ecx, [ebp - 0x90]
push ecx
call fcn.100f2310
add esp, 0xc
lea ecx, [ebp - 0x90]
call fcn.100702d0
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0xa0]
call fcn.1009b540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.10070330
nop
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.1009b350
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.1009b1a0
mov ecx, dword [ebp - 0x10]
call fcn.1006fcc0
call fcn.1000b750
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
add esp, 0xa8
cmp ebp, esp
call fcn.10118e91
mov esp, ebp
pop ebp
ret
Function at 0x10077470
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 0xc], 0xcccccccc
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
cmp dword [ebp + 0xc], 0
jne 0x10077496
xor al, al
jmp 0x100774ef
mov dword [ebp - 8], 0
mov esi, esp
lea eax, [ebp - 8]
push eax
push 0x40
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.10118e91
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100f0650
add esp, 0xc
mov esi, esp
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.10118e91
mov al, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x10077510]
call fcn.10118e3d
pop eax
pop edx
pop esi
add esp, 0xc
cmp ebp, esp
call fcn.10118e91
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov ecx, dword [ebp + 8]
call fcn.10069aa0
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp esi, esp
call fcn.10118e91
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x10077ff1
xor al, al
jmp 0x10077fff
mov eax, dword [ebp - 4]
and eax, 0x10
je 0x10077ffd
mov al, 1
jmp 0x10077fff
xor al, al
pop esi
add esp, 4
cmp ebp, esp
call fcn.10118e91
mov esp, ebp
pop ebp
ret 4
Function at 0x1008ab10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011adfd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push esi
push edi
push ecx
lea edi, [ebp - 0x4c]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
push 0
push 0x104
lea ecx, [ebp - 0x2c]
call fcn.1009d2e0
mov dword [ebp - 4], 0
mov esi, esp
push 0x104
lea ecx, [ebp - 0x2c]
call fcn.10069aa0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp esi, esp
call fcn.10118e91
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x1008ac3f
push 0
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1009ca70
push str.d3d9.dll
lea ecx, [ebp - 0x2c]
call fcn.1009d0b0
lea ecx, [ebp - 0x2c]
call fcn.10069aa0
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp esi, esp
call fcn.10118e91
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x38]
add edx, dword [ebp + 8]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp - 0x48]
jae 0x1008abe0
mov dword [ebp - 0x4c], 1
jmp 0x1008abe7
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0
je 0x1008ac25
mov edx, dword [ebp - 0x38]
movzx eax, word [edx]
cmp eax, 0x6c7
jne 0x1008ac23
mov ecx, dword [ebp - 0x38]
movzx edx, word [ecx + 6]
cmp edx, 0x8689
jne 0x1008ac23
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax + 0xc]
cmp ecx, 0x8689
jne 0x1008ac23
mov edx, dword [ebp - 0x38]
add edx, 2
mov dword [ebp - 0x38], edx
jmp 0x1008ac25
jmp 0x1008abb7
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10069ad0
mov eax, dword [ebp - 0x3c]
jmp 0x1008ac58
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10069ad0
mov eax, dword [ebp - 0x40]
push edx
mov ecx, ebp
push eax
lea edx, [0x1008ac88]
call fcn.10118e3d
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x4c
cmp ebp, esp
call fcn.10118e91
mov esp, ebp
pop ebp
ret 4

Function at 0x100995e0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
push 0x6c078965
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.1009ebc0
nop
mov eax, dword [ebp - 4]
add esp, 4
cmp ebp, esp
call fcn.10118e91
mov esp, ebp
pop ebp
ret 4
Function at 0x10099ea0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push edi
push ecx
lea edi, [ebp - 0x38]
mov ecx, 0xe
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 0x10], 0
jg 0x10099ed2
jl 0x10099ec9
cmp dword [ebp + 0xc], 0
ja 0x10099ed2
xor eax, eax
xor edx, edx
jmp 0x1009a014
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
je 0x10099ef4
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.1009b980
jmp 0x1009a014
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
call fcn.100a0b80
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jbe 0x10099f64
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0xc]
push edx
call fcn.10069a70
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 4]
call fcn.100a0d20
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.10069db0
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x28]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x28]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x28]
push edx
mov ecx, dword [ebp - 4]
call fcn.100a0ca0
nop
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4c], 0
je 0x1009a005
mov ecx, dword [ebp - 4]
call fcn.1009ef40
mov dword [ebp - 0x2c], 0xfff
cmp dword [ebp - 0xc], 0xfff
jbe 0x10099fd4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x4c]
push edx
push 0xfff
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.100f9a14
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x30]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x30]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0x30], 0xfff
je 0x10099fd2
xor eax, eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
sbb edx, eax
mov eax, ecx
jmp 0x1009a014
jmp 0x10099f80
cmp dword [ebp - 0xc], 0
jbe 0x1009a005
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.100f9a14
add esp, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x34]
mov dword [ebp - 0xc], ecx
xor edx, edx
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
sbb ecx, edx
mov edx, ecx
push edx
mov ecx, ebp
push eax
lea edx, [0x1009a038]
call fcn.10118e3d
pop eax
pop edx
pop edi
add esp, 0x38
cmp ebp, esp
call fcn.10118e91
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1009e160
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011d051
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, 0xcccccccc
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.1009e2a0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.1009e2a0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0x18
mov dword [ebp - 0x24], eax
push 0
lea ecx, [ebp - 0x14]
call fcn.100a6750
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x24]
call fcn.100a2670
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.1009ad60
nop
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x20], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], 0
mov dword [ebp - 0x18], 0x101c7bdc
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0x1000
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x28
push edx
call fcn.100a65e0
add esp, 0x10
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x10]
add eax, 0x2c
push eax
call fcn.100a66a0
add esp, 4
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
xor edx, edx
xor eax, eax
mov dword [ecx + 0x30], edx
mov dword [ecx + 0x34], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x38], 0
xor edx, edx
mov eax, dword [ebp - 0x10]
add eax, 0x3c
mov dword [eax], edx
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x40], 0
movzx edx, byte [ebp + 0xc]
test edx, edx
je 0x1009e27b
mov ecx, dword [ebp - 0x10]
call fcn.100a2af0
nop
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
add esp, 0x24
cmp ebp, esp
call fcn.10118e91
mov esp, ebp
pop ebp
ret 8
Function at 0x1009e500
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011d051
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, 0xcccccccc
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.1009e2a0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.1009e2a0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0x18
mov dword [ebp - 0x24], eax
push 0
lea ecx, [ebp - 0x14]
call fcn.100a6750
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x24]
call fcn.100a2670
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.1009ad60
nop
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x20], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], 0
mov dword [ebp - 0x18], 0x101c7bdc
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0x1000
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x28
push edx
call fcn.100a65e0
add esp, 0x10
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x10]
add eax, 0x2c
push eax
call fcn.100a66a0
add esp, 4
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
xor edx, edx
xor eax, eax
mov dword [ecx + 0x30], edx
mov dword [ecx + 0x34], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x38], 0
xor edx, edx
mov eax, dword [ebp - 0x10]
add eax, 0x3c
mov dword [eax], edx
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x40], 0
movzx edx, byte [ebp + 0xc]
test edx, edx
je 0x1009e61b
mov ecx, dword [ebp - 0x10]
call fcn.100a2ed0
nop
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
add esp, 0x24
cmp ebp, esp
call fcn.10118e91
mov esp, ebp
pop ebp
ret 8
Function at 0x1009eff0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
push edi
push ecx
lea edi, [ebp - 0x5c]
mov ecx, 0x17
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
je 0x1009f020
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x1009f027
mov al, 1
jmp 0x1009f11b
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x44], edx
call fcn.1006a430
mov dword [ebp - 0x48], eax
mov esi, esp
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 4]
call dword [ebp - 0x44]
cmp esi, esp
call fcn.10118e91
mov dword [ebp - 0x4c], eax
call fcn.1006a430
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x50]
push edx
call fcn.100a1d90
add esp, 8
movzx eax, al
test eax, eax
je 0x1009f076
xor al, al
jmp 0x1009f11b
mov dword [ebp - 8], 0x20
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x54], edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 4]
add eax, 0x40
push eax
mov ecx, dword [ebp - 0x54]
call fcn.100a2400
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x1009f0b8
cmp dword [ebp - 0x58], 1
je 0x1009f0bf
cmp dword [ebp - 0x58], 3
je 0x1009f10e
jmp 0x1009f119
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x3d], 0
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
sub edx, eax
mov dword [ebp - 0x40], edx
je 0x1009f0ee
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x4c]
push edx
mov eax, dword [ebp - 0x40]
push eax
push 1
lea ecx, [ebp - 0x2c]
push ecx
call fcn.100f9563
add esp, 0x10
cmp dword [ebp - 0x40], eax
je 0x1009f0ee
xor al, al
jmp 0x1009f11b
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x3d]
test eax, eax
jne 0x1009f102
mov dword [ebp - 0x5c], 1
jmp 0x1009f109
mov dword [ebp - 0x5c], 0
mov al, byte [ebp - 0x5c]
jmp 0x1009f11b
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x3d], 0
mov al, 1
jmp 0x1009f11b
xor al, al
push edx
mov ecx, ebp
push eax
lea edx, [0x1009f13c]
call fcn.10118e3d
pop eax
pop edx
pop edi
pop esi
add esp, 0x5c
cmp ebp, esp
call fcn.10118e91
mov esp, ebp
pop ebp
ret