joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49fb00
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
mov dword [ebp - 0x40], 0x40
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GlobalMemoryStatusEx
cmp dword [ebp - 0x2c], 0
jne 0x49fb27
cmp dword [ebp - 0x30], 0x7fffffff
jbe 0x49fb30
jmp 0x49fb29
jle 0x49fb30
mov eax, 0x7fffffff
jmp 0x49fb33
mov eax, dword [ebp - 0x30]
mov esp, ebp
pop ebp
ret

Function at 0x4a410c
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
mov dword [ebp - 4], 0xc8
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x103]
push eax
call sub.advapi32.dll_GetUserNameA
cmp dword [ebp - 4], 0
jbe 0x4a4138
dec dword [ebp - 4]
mov eax, dword [ebp - 4]
mov byte [ebp - 0x104], al
mov eax, ebx
lea edx, [ebp - 0x104]
call fcn.0040331c
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d7a
nop
nop
sub eax, 0x403d20
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x10002b00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0xbe
mov dword [ebp - 4], 0
jmp 0x10002b22
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x10
jge 0x10002b61
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movsx edx, byte [ecx - 0x666dae97]
xor edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov byte [eax], dl
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
and edx, 0x800000ff
jns 0x10002b5c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
jmp 0x10002b19
mov eax, 1
shl eax, 4
mov ecx, dword [ebp - 0xc]
mov byte [ecx + eax], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x10002b80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0xe0
mov dword [ebp - 4], 0
jmp 0x10002ba2
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 8
jge 0x10002be1
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movsx edx, byte [ecx + 0x604e8c40]
xor edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov byte [eax], dl
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
and edx, 0x800000ff
jns 0x10002bdc
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
jmp 0x10002b99
mov eax, 1
shl eax, 3
mov ecx, dword [ebp - 0xc]
mov byte [ecx + eax], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x10003450
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10059a88
push 0x10029590
mov eax, dword fs:[0]
push eax
add esp, 0xffffffe8
push ebx
push esi
push edi
mov eax, dword [0x1005d904]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x28
mov ecx, dword [ebp + 8]
push ecx
call dword [0x1005ea28]
test eax, eax
jge 0x100034b1
mov byte [ebp - 0x19], 0
mov dword [ebp - 4], 0xfffffffe
mov al, byte [ebp - 0x19]
jmp 0x1000353a
lea edx, [ebp - 0x28]
push edx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x100034e0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x1a], 0
mov dword [ebp - 4], 0xfffffffe
mov al, byte [ebp - 0x1a]
jmp 0x1000353a
push 4
lea ecx, [ebp - 0x28]
push ecx
push 0
mov edx, dword [ebp - 0x20]
push edx
call fcn.10004810
add esp, 0x10
movzx eax, al
test eax, eax
je 0x10003515
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x1b], 1
mov dword [ebp - 4], 0xfffffffe
mov al, byte [ebp - 0x1b]
jmp 0x1000353a
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xfffffffe
jmp 0x10003538
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10003bb0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004612b
mov eax, dword fs:[0]
push eax
sub esp, 0x348
mov eax, dword [0x1005d904]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x340], 0
lea ecx, [ebp - 0x334]
call fcn.10002e70
mov dword [ebp - 4], 0
mov eax, 1
imul ecx, eax, 0
mov dword [ebp - 0x34c], ecx
cmp dword [ebp - 0x34c], 0x104
jae 0x10003c13
jmp 0x10003c18
call fcn.10027425
mov edx, dword [ebp - 0x34c]
mov byte [ebp + edx - 0x114], 0
cmp dword [ebp + 0xc], 0
je 0x10003c52
mov eax, dword [ebp + 0xc]
push eax
call fcn.1002c6c0
add esp, 4
test eax, eax
je 0x10003c52
lea ecx, [ebp - 0x114]
push ecx
push 0x103
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
jne 0x10003c8a
lea edx, [ebp - 0x334]
push edx
mov ecx, dword [ebp + 8]
call fcn.10002d00
mov eax, dword [ebp - 0x340]
or eax, 1
mov dword [ebp - 0x340], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x334]
call fcn.100030b0
mov eax, dword [ebp + 8]
jmp 0x10003e0d
mov cx, word [0x10048404]
mov word [ebp - 0x338], cx
mov dl, byte [0x10048406]
mov byte [ebp - 0x336], dl
mov dword [ebp - 0x348], 0
lea eax, [ebp - 0x114]
mov dword [ebp - 0x33c], eax
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 0x33c]
mov cl, byte [eax]
mov byte [ebp + edx - 0x338], cl
push 0x104
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x338]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x10003d97
lea ecx, [ebp - 0x218]
push ecx
call fcn.1002c6c0
add esp, 4
mov dword [ebp - 0x344], eax
cmp dword [ebp - 0x344], 0x104
jae 0x10003d97
mov edx, dword [ebp - 0x344]
push edx
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1002c750
add esp, 0xc
test eax, eax
jne 0x10003d41
mov dword [ebp - 0x350], 1
jmp 0x10003d4b
mov dword [ebp - 0x350], 0
mov edx, dword [ebp - 0x350]
mov dword [ebp - 0x348], edx
cmp dword [ebp - 0x348], 0
je 0x10003d97
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x344]
push eax
lea ecx, [ebp - 0x338]
push ecx
push str._s_s
lea edx, [ebp - 0x31c]
push edx
call fcn.10002420
add esp, 0x10
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x334]
call fcn.10003160
mov ecx, dword [ebp - 0x33c]
movsx edx, byte [ecx]
mov dword [ebp - 0x354], edx
mov eax, dword [ebp - 0x33c]
add eax, 1
mov dword [ebp - 0x33c], eax
cmp dword [ebp - 0x354], 0
je 0x10003dc0
jmp 0x10003d97
cmp dword [ebp - 0x348], 0
jne 0x10003dda
mov ecx, dword [ebp - 0x33c]
movsx edx, byte [ecx]
test edx, edx
jne 0x10003cba
lea eax, [ebp - 0x334]
push eax
mov ecx, dword [ebp + 8]
call fcn.10002d00
mov ecx, dword [ebp - 0x340]
or ecx, 1
mov dword [ebp - 0x340], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x334]
call fcn.100030b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100274ff
mov esp, ebp
pop ebp
ret
Function at 0x10003e30
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x28
push 0xffffffffffffffff
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x10003e51
xor al, al
jmp 0x10003e95
push 2
push 0x10048410
mov ecx, dword [ebp - 4]
push ecx
call fcn.100032a0
add esp, 0xc
movzx edx, al
test edx, edx
je 0x10003e85
push 2
push 0x10048424
mov eax, dword [ebp - 4]
push eax
call fcn.100032a0
add esp, 0xc
movzx ecx, al
test ecx, ecx
jne 0x10003e89
xor al, al
jmp 0x10003e95
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x10003f80
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x1005d904]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10c], 0
push 0x104
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call sub.KERNEL32.dll_K32GetProcessImageFileNameA
test eax, eax
je 0x10003fd9
lea edx, [ebp - 0x108]
push edx
mov ecx, dword [ebp + 8]
call fcn.10002e00
mov eax, dword [ebp - 0x10c]
or eax, 1
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 8]
jmp 0x1000404c
push 0x104
push 0
lea ecx, [ebp - 0x108]
push ecx
call fcn.10028d70
add esp, 0xc
push 0x104
lea edx, [ebp - 0x108]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
call sub.KERNEL32.dll_K32GetModuleFileNameExA
test eax, eax
je 0x1000402d
lea ecx, [ebp - 0x108]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10002e00
mov edx, dword [ebp - 0x10c]
or edx, 1
mov dword [ebp - 0x10c], edx
mov eax, dword [ebp + 8]
jmp 0x1000404c
push 0x10048400
mov ecx, dword [ebp + 8]
call fcn.10002e00
mov eax, dword [ebp - 0x10c]
or eax, 1
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100274ff
mov esp, ebp
pop ebp
ret
Function at 0x10004131
Capabilities:
Create thread

Disassembly:
jae 0x100040d7
jmp 0x100040d2
call fcn.100040d9
jae 0x100040d2
add esp, 4
jmp 0x100040de
dec dword [esp]
jno 0x100040e3
jns 0x100040ce
jp 0x100040e7
add esp, 4
popf
jmp 0x100040ee
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x10004107
jne 0x10004107
call 0x1fc0745b
wait
rcl byte [edx + 0x33], 0xd0
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
call fcn.100044f0
clc
jae 0x10004122
mov esp, ebx
pushf
push 0xa
jae 0x1000412f
jmp 0x1000412a
call 0x10004131
jae 0x1000412a
add esp, 4
jmp 0x10004136
dec dword [esp]
jno 0x1000413b
jns 0x10004126
jp 0x1000413f
add esp, 4
popf
jmp 0x10004146
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x1000415f
jne 0x1000415f
fdivr qword [ebx + eax - 0x15]
add ebx, esp
jl 0x10004164
jmp 0x10004166
je 0x10004161
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
xor eax, eax
test eax, eax
je 0x10004180
jne 0x1000417f
call 0x93043207
rol byte [ebx + eax*4], 0xf0
add eax, 0x1750374
xor eax, 3
add eax, 4
xor eax, 5
je 0x1000418e
jne 0x1000418e
call 0x106a41fc
push 0
push 0
push 0
push 0x10003260
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100041b1
call fcn.100115a0
xor eax, eax
test eax, eax
je 0x100041ba
jne 0x100041b9
call 0x93043241
rol byte [ebx + eax*4], 0xf0
add eax, 0x3eb037c
pop eax
xor eax, 3
add eax, 4
xor eax, 5
jl 0x100041c8
jmp 0x100041ca
je 0x100041c5
clc
jae 0x100041cf
sub dword [eax + 0x74], ebx
add esi, dword [ebp + 1]
je 0x100041d4
jne 0x100041d4
pop eax
pushf
push 0xa
jae 0x100041e1
jmp 0x100041dc
call 0x100041e3
jae 0x100041dc
add esp, 4
jmp 0x100041e8
dec dword [esp]
jno 0x100041ed
jns 0x100041d8
jp 0x100041f1
add esp, 4
popf
jmp 0x100041f8
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x10004211
jne 0x10004211
call 0x1fc07565
wait
rcl byte [edx + 0x33], 0xd0
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10004360
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.10027510
mov eax, dword [0x1005d904]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.10004340
movzx eax, al
test eax, eax
je 0x10004390
cmp dword [0x1005ea24], 0
jne 0x10004467
lea ecx, [ebp - 0x1014]
push ecx
push 0x1000
lea edx, [ebp - 0x1004]
push edx
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
jne 0x100043b1
call fcn.100115a0
mov dword [ebp - 0x1008], 0
jmp 0x100043cc
mov eax, dword [ebp - 0x1008]
add eax, 1
mov dword [ebp - 0x1008], eax
mov ecx, dword [ebp - 0x1014]
shr ecx, 2
cmp dword [ebp - 0x1008], ecx
jae 0x10004465
mov edx, dword [ebp - 0x1008]
cmp dword [ebp + edx*4 - 0x1004], 0
je 0x10004460
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp - 0x1008]
cmp dword [ebp + ecx*4 - 0x1004], eax
je 0x10004460
mov edx, dword [ebp - 0x1008]
mov eax, dword [ebp + edx*4 - 0x1004]
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1010], eax
cmp dword [ebp - 0x1010], 0
jne 0x10004432
jmp 0x100043bd
mov ecx, dword [ebp - 0x1010]
push ecx
mov edx, dword [ebp - 0x1008]
mov eax, dword [ebp + edx*4 - 0x1004]
push eax
call fcn.10003550
add esp, 8
lea ecx, [ebp - 0x1010]
push ecx
mov ecx, 0x1005ea54
call fcn.100055f0
jmp 0x100043bd
jmp 0x100044d0
mov dword [ebp - 0x100c], 0
lea edx, [ebp - 0x100c]
push edx
push 0
push 0
push 0x2000000
mov eax, dword [ebp - 0x100c]
push eax
call dword [0x1005ea24]
test eax, eax
jne 0x100044d0
mov ecx, dword [ebp - 0x100c]
push ecx
call fcn.10004060
add esp, 4
mov dword [ebp - 0x1018], eax
mov edx, dword [ebp - 0x100c]
push edx
mov eax, dword [ebp - 0x1018]
push eax
call fcn.10003550
add esp, 8
lea ecx, [ebp - 0x100c]
push ecx
mov ecx, 0x1005ea54
call fcn.100055f0
jmp 0x10004471
call fcn.10003390
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100274ff
mov esp, ebp
pop ebp
ret

Function at 0x10006b70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 6
mov dword [ebp - 4], 0
jmp 0x10006b92
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 9
jge 0x10006bd1
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movsx edx, byte [ecx - 0x64316fc3]
xor edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov byte [eax], dl
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
and edx, 0x800000ff
jns 0x10006bcc
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
jmp 0x10006b89
mov eax, 1
imul ecx, eax, 9
mov edx, dword [ebp - 0xc]
mov byte [edx + ecx], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x10008cd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004655b
mov eax, dword fs:[0]
push eax
sub esp, 0xdc8
mov eax, dword [0x1005d904]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x1c], 0x73
mov byte [ebp - 0x1b], 0x79
mov byte [ebp - 0x1a], 0x73
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x72
mov byte [ebp - 0x17], 0x72
mov byte [ebp - 0x16], 0x32
mov byte [ebp - 0x15], 0x2e
mov byte [ebp - 0x14], 0x74
mov byte [ebp - 0x13], 0x78
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x11], 0
lea eax, [ebp + 0xc]
mov dword [ebp - 0xd1c], eax
mov ecx, dword [ebp - 0xd1c]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0xcf4]
push eax
call dword [sym.imp.USER32.dll_wvsprintfA]
mov dword [ebp - 0xd1c], 0
push 0
call fcn.1000dd00
add esp, 4
mov dword [ebp - 0xd24], eax
mov dword [ebp - 0xd20], edx
lea ecx, [ebp - 0xd24]
push ecx
call fcn.1000dc60
add esp, 4
mov ecx, 9
mov esi, eax
lea edi, [ebp - 0xd18]
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x40], 0x25
mov byte [ebp - 0x3f], 0x30
mov byte [ebp - 0x3e], 0x32
mov byte [ebp - 0x3d], 0x64
mov byte [ebp - 0x3c], 0x3a
mov byte [ebp - 0x3b], 0x25
mov byte [ebp - 0x3a], 0x30
mov byte [ebp - 0x39], 0x32
mov byte [ebp - 0x38], 0x64
mov byte [ebp - 0x37], 0x3a
mov byte [ebp - 0x36], 0x25
mov byte [ebp - 0x35], 0x30
mov byte [ebp - 0x34], 0x32
mov byte [ebp - 0x33], 0x64
mov byte [ebp - 0x32], 0x20
mov byte [ebp - 0x31], 0x2d
mov byte [ebp - 0x30], 0x20
mov byte [ebp - 0x2f], 0x25
mov byte [ebp - 0x2e], 0x30
mov byte [ebp - 0x2d], 0x32
mov byte [ebp - 0x2c], 0x64
mov byte [ebp - 0x2b], 0x3a
mov byte [ebp - 0x2a], 0x25
mov byte [ebp - 0x29], 0x30
mov byte [ebp - 0x28], 0x32
mov byte [ebp - 0x27], 0x64
mov byte [ebp - 0x26], 0x3a
mov byte [ebp - 0x25], 0x25
mov byte [ebp - 0x24], 0x64
mov byte [ebp - 0x23], 0x20
mov byte [ebp - 0x22], 0x3a
mov byte [ebp - 0x21], 0x3a
mov byte [ebp - 0x20], 0x20
mov byte [ebp - 0x1f], 0
mov edx, dword [ebp - 0xd04]
add edx, 0x76c
push edx
mov eax, dword [ebp - 0xd08]
add eax, 1
push eax
mov ecx, dword [ebp - 0xd0c]
push ecx
mov edx, dword [ebp - 0xd18]
push edx
mov eax, dword [ebp - 0xd14]
push eax
mov ecx, dword [ebp - 0xd10]
push ecx
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x524]
push eax
call fcn.1000dc80
add esp, 0x20
push 1
push 0x40
push 0xa
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0xdd4]
call fcn.10006f40
mov dword [ebp - 4], 0
push 0x100066c0
push 0xa
lea edx, [ebp - 0xcf4]
push edx
lea eax, [ebp - 0x524]
push eax
lea ecx, [ebp - 0xdd4]
push ecx
call fcn.10005b20
add esp, 8
push eax
call fcn.10005b20
add esp, 8
push eax
call fcn.10005840
add esp, 8
mov ecx, eax
call fcn.10008480
lea ecx, [ebp - 0xdd4]
call fcn.1000b0a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdd4]
call fcn.10008820
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100274ff
mov esp, ebp
pop ebp
ret
Function at 0x10008fa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1005d904]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x10008fc7
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x10008fce
mov al, 1
jmp 0x100090a2
call fcn.10005510
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x3c], eax
call fcn.10005510
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.1000bdc0
add esp, 8
movzx eax, al
test eax, eax
je 0x1000900a
xor al, al
jmp 0x100090a2
mov dword [ebp - 0x48], 0x20
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
push ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x38]
call fcn.1000d550
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x10009046
cmp dword [ebp - 0x30], 1
je 0x1000904d
cmp dword [ebp - 0x30], 3
je 0x1000909c
jmp 0x100090a0
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
mov ecx, dword [ebp - 0x44]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x34], ecx
je 0x1000907c
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.1002f0ce
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x1000907c
xor al, al
jmp 0x100090a2
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x10009090
mov dword [ebp - 0x38], 1
jmp 0x10009097
mov dword [ebp - 0x38], 0
mov al, byte [ebp - 0x38]
jmp 0x100090a2
mov al, 1
jmp 0x100090a2
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100274ff
mov esp, ebp
pop ebp
ret
Function at 0x1000c670
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x1005d904]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov dword [ebp - 0x2c], ecx
call fcn.10005510
mov dword [ebp - 0x44], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.1000bdc0
add esp, 8
movzx edx, al
test edx, edx
je 0x1000c6b5
lea eax, [ebp + 8]
push eax
call fcn.1000c520
add esp, 4
jmp 0x1000c836
mov ecx, dword [ebp - 0x2c]
call fcn.1000ca00
test eax, eax
je 0x1000c6f7
mov ecx, dword [ebp - 0x2c]
call fcn.1000ca00
mov esi, eax
mov ecx, dword [ebp - 0x2c]
call fcn.1000bda0
cmp esi, eax
jae 0x1000c6f7
lea ecx, [ebp + 8]
push ecx
call fcn.1000d180
add esp, 4
mov bl, al
mov ecx, dword [ebp - 0x2c]
call fcn.1000a940
mov byte [eax], bl
mov eax, dword [ebp + 8]
jmp 0x1000c836
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x4c], 0
jne 0x1000c70a
call fcn.10005510
jmp 0x1000c836
mov ecx, dword [ebp - 0x2c]
call fcn.1000aa30
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
jne 0x1000c759
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x4c]
push edx
lea eax, [ebp + 8]
push eax
call fcn.1000d180
add esp, 4
movzx ecx, al
push ecx
call fcn.10005e70
add esp, 8
movzx edx, al
test edx, edx
je 0x1000c749
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
jmp 0x1000c751
call fcn.10005510
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
jmp 0x1000c836
mov dword [ebp - 0x50], 0x20
lea ecx, [ebp + 8]
push ecx
call fcn.1000d180
add esp, 4
mov byte [ebp - 0x2e], al
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x2d]
push eax
lea ecx, [ebp - 0x2e]
push ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x40
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x38]
call fcn.1000c630
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x1000c831
cmp dword [ebp - 0x34], 1
jle 0x1000c7b4
cmp dword [ebp - 0x34], 3
je 0x1000c801
jmp 0x1000c831
mov ecx, dword [ebp - 0x48]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x38], ecx
je 0x1000c7e6
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.1002f0ce
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x1000c7e6
call fcn.10005510
jmp 0x1000c836
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + 0x3d], 1
lea edx, [ebp - 0x2e]
cmp dword [ebp - 0x4c], edx
je 0x1000c7fa
mov eax, dword [ebp + 8]
jmp 0x1000c836
call fcn.10005510
jmp 0x1000c836
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
movzx edx, byte [ebp - 0x2e]
push edx
call fcn.10005e70
add esp, 8
movzx eax, al
test eax, eax
je 0x1000c824
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x40], ecx
jmp 0x1000c82c
call fcn.10005510
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
jmp 0x1000c836
call fcn.10005510
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100274ff
mov esp, ebp
pop ebp
ret 4