joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003d95c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x10060826
call fcn.10044dac
mov esi, dword [ebp + 8]
cmp esi, dword [0x1009b844]
jne 0x1003d97a
xor eax, eax
jmp 0x1003dadf
and dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x18], ecx
xor ebx, ebx
or edi, 0xffffffff
test ebx, ebx
jne 0x1003d99d
cmp dword [0x1009b838], ebx
je 0x1003da9f
push 2
pop edi
jmp 0x1003d9b7
cmp ebx, 1
jne 0x1003da9f
mov eax, esi
call fcn.1003d8f8
test al, al
je 0x1003da9f
xor edi, edi
and dword [ebp - 0x10], 0
lea ecx, [ebp + 0xb]
mov dword [ebp - 0x20], edi
call fcn.1003d91a
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
push eax
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
or eax, edi
jmp 0x1003da62
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1003d9eb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push dword [esi]
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
cmp dword [ebp - 0x18], 2
mov edi, eax
jae 0x1003da17
cmp dword [ebp - 0x1c], 1
je 0x1003da14
cmp dword [ebp - 0x1c], 2
jne 0x1003da17
push 2
pop edi
mov eax, edi
call fcn.1003d111
test eax, eax
je 0x1003da7f
push 0x1c0496
xor edi, edi
push edi
call fcn.10048e56
mov eax, dword [esi + 8]
movzx eax, word [eax + 6]
push dword [ebp - 0x10]
and eax, 0xf
imul eax, eax, 0xc
mov ecx, 0x1009b848
mov dword [eax + 0x10069520], edi
call fcn.10048e56
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
or eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
push edi
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [esi + 8]
call fcn.1003d228
mov edi, eax
test edi, edi
je 0x1003d9df
jmp 0x1003da90
push dword [ebp - 0x10]
mov ecx, 0x1009b848
call fcn.10048e56
test edi, edi
je 0x1003daab
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xb]
call fcn.1003d93b
mov ecx, dword [ebp - 0x18]
inc ebx
cmp ebx, 2
jl 0x1003d985
jmp 0x1003daba
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xb]
call fcn.1003d93b
mov ecx, dword [ebp - 0x18]
test edi, edi
jne 0x1003dad5
cmp dword [ebp - 0x1c], 2
je 0x1003dacd
mov al, byte [esi + 0xc]
and al, 0xf
cmp al, 2
jne 0x1003dadd
push ecx
call fcn.10048e56
jmp 0x1003dadb
push esi
call fcn.10048e56
mov ecx, eax
mov eax, ecx
call fcn.10044e84
ret 4
Function at 0x100443d6
Capabilities:
Accept command line arguments

Disassembly:
push 8
push 0x10065410
call fcn.100491c2
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x10044464
call fcn.10049190
test eax, eax
jne 0x100443fa
xor eax, eax
jmp 0x10044530
call fcn.10048570
test eax, eax
jne 0x1004440a
call fcn.100491ae
jmp 0x100443f3
call fcn.10049144
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x100a4814], eax
call fcn.10048e56
mov dword [0x1009c15c], eax
call fcn.10048e56
test eax, eax
jns 0x10044434
call fcn.10048249
jmp 0x10044403
call fcn.10048e56
test eax, eax
js 0x1004445d
call fcn.10048d7a
test eax, eax
js 0x1004445d
push 0
call fcn.10048e56
pop ecx
test eax, eax
jne 0x1004445d
inc dword [0x1009c158]
jmp 0x1004452d
call fcn.10048d27
jmp 0x1004442d
xor edi, edi
cmp eax, edi
jne 0x100444c3
cmp dword [0x1009c158], edi
jle 0x100443f3
dec dword [0x1009c158]
mov dword [ebp - 4], edi
cmp dword [0x1009c4d4], edi
jne 0x10044488
call fcn.10048ab5
cmp dword [ebp + 0x10], edi
jne 0x1004449c
call fcn.10048d27
call fcn.10048249
call fcn.100491ae
mov dword [ebp - 4], 0xfffffffe
call fcn.100444af
jmp 0x1004452d
cmp eax, 2
jne 0x10044521
call fcn.10048215
push 0x214
push 1
call fcn.10048e56
pop ecx
pop ecx
mov esi, eax
cmp esi, edi
je 0x100443f3
push esi
push dword [0x10099c00]
push dword [0x1009c4b4]
call dword [sym.imp.kernel32.dll_DecodePointer]
call eax
test eax, eax
je 0x10044515
push edi
push esi
call fcn.1004828a
pop ecx
pop ecx
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov dword [esi], eax
or dword [esi + 4], 0xffffffff
jmp 0x1004452d
push esi
call fcn.10048e56
pop ecx
jmp 0x100443f3
cmp eax, 3
jne 0x1004452d
push edi
call fcn.10048e56
pop ecx
xor eax, eax
inc eax
call fcn.10049207
ret 0xc

Function at 0x10044d52
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10099bf8]
jne 0x10045df9
repz ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x1009c280], eax
mov dword [0x1009c27c], ecx
mov dword [0x1009c278], edx
mov dword [0x1009c274], ebx
mov dword [0x1009c270], esi
mov dword [0x1009c26c], edi
mov word [0x1009c298], ss
mov word [0x1009c28c], cs
mov word [0x1009c268], ds
mov word [0x1009c264], es
mov word [0x1009c260], fs
mov word [0x1009c25c], gs
pushfd
pop dword [0x1009c290]
mov eax, dword [ebp]
mov dword [0x1009c284], eax
mov eax, dword [ebp + 4]
mov dword [0x1009c288], eax
lea eax, [ebp + 8]
mov dword [0x1009c294], eax
mov eax, dword [ebp - 0x320]
mov dword [0x1009c1d0], 0x10001
mov eax, dword [0x1009c288]
mov dword [0x1009c184], eax
mov dword [0x1009c178], 0xc0000409
mov dword [0x1009c17c], 1
mov eax, dword [0x10099bf8]
mov dword [ebp - 0x328], eax
mov eax, dword [0x10099bfc]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x1009c1c8], eax
push 1
call fcn.1004cb7b
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x10010bdc
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x1009c1c8], 0
jne 0x10045ee5
push 1
call fcn.1004cb7b
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x10048e56
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x10048e65
pop dword [ebp - 4]
mov eax, 0x10048e65
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x402094b5
add dword [ebp - 0x14], 0xe31b096
mov dword [ebp - 0x10], 0xe02e618d
add dword [ebp - 0x10], 0x5204eab8
mov dword [ebp - 0xc], 0x46ae44f
add dword [ebp - 0xc], 0x47e15fdf
mov dword [ebp - 8], 0xb7fef439
sub dword [ebp - 8], 0xb7fef439
lea eax, [ebp - 0x14]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0xc3e78c08
add dword [ebp - 0x14], 0xb08add4e
mov dword [ebp - 0x10], 0x44a5960a
sub dword [ebp - 0x10], 0x3393495
mov dword [ebp - 0xc], 0x6399323f
add dword [ebp - 0xc], 0xffd63a2d
mov dword [ebp - 8], 0x901d7f1f
add dword [ebp - 8], 0x6fe280e1
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x4a155
push 0
call eax
mov ecx, 0x6b655244
add ecx, 0x949af7d9
mov edi, eax
mov ebx, 0x29603daf
add ebx, 0xe6ace651
add ebx, dword [ebp - 4]
mov edx, 0xe8247912
mov esi, dword [ebx]
xor esi, edx
mov dword [edi], esi
add edi, 0xb6c90b5
add edi, 0xf4936f4f
add ebx, 4
loop 0x10048f72
add eax, 0x11b47
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x10009f70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
test ebx, ebx
jne 0x10009f98
push str.filename_null_
push ebx
push 4
push esi
call fcn.1000a1d0
mov eax, dword [esi + 0x38]
add esp, 0x10
pop esi
pop ebx
pop ebp
ret 4
push edi
call fcn.10009e40
push 0x1006301c
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push ebx
push eax
call fcn.100438f9
add esp, 0xc
test eax, eax
jne 0x1000a089
mov edi, dword [ebp + 8]
test edi, edi
je 0x1000a089
mov ecx, esi
call fcn.10009e40
push 0
push 0
push edi
call fcn.1004072a
push edi
call fcn.10040995
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10009ff6
push edi
call fcn.10040203
add esp, 4
test eax, eax
jne 0x1000a067
push 2
push 0
push edi
call fcn.1004072a
push edi
call fcn.100400cb
push 0
push 0
push edi
mov ebx, eax
call fcn.1004072a
add esp, 0x1c
cmp ebx, 0xffffffff
je 0x1000a067
cmp ebx, 0xffffffff
jae 0x1000a067
test ebx, ebx
jne 0x1000a029
push ebx
push ebx
push 0xd
jmp 0x1000a06d
lea eax, [ebx + 1]
push eax
call fcn.1003bffb
push edi
push ebx
push 1
push eax
mov dword [esi + 0x50], eax
call fcn.10043b0c
add esp, 0x14
cmp eax, ebx
jne 0x1000a067
mov eax, dword [esi + 0x50]
mov ecx, esi
mov byte [ebx + eax], 0
call fcn.1000a2c0
push edi
call fcn.100403f0
mov eax, dword [esi + 0x38]
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
ret 4
push 0
push 0
push 5
push esi
call fcn.1000a1d0
add esp, 0x10
push edi
call fcn.100403f0
mov eax, dword [esi + 0x38]
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
ret 4
push ebx
push str.filename_s
push 0
push 3
push esi
call fcn.1000a1d0
mov eax, dword [esi + 0x38]
add esp, 0x14
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x1000a4a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
jle 0x1000a4ea
nop
mov eax, dword [edi + 0x40]
test eax, eax
je 0x1000a4cb
push eax
push 4
push 1
push 0x10063080
call fcn.100437e0
add esp, 0x10
jmp 0x1000a4e5
push 4
lea ecx, [edi + 0xd0]
call fcn.1000b270
mov ecx, dword [0x10063080]
mov dword [eax - 1], ecx
mov byte [eax + 3], 0
sub esi, 1
jne 0x1000a4b0
pop edi
pop esi
pop ebp
ret 4
Function at 0x1000a4f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [ecx + 0x4c], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ebx
mov dword [ebp - 4], ecx
mov dword [ebp + 8], edi
je 0x1000a6c6
movzx eax, byte [ebp + 0xc]
lea esi, [ecx + 0x4e]
mov dl, byte [ebx]
shl eax, 6
add esi, eax
mov dword [ebp - 8], esi
test dl, dl
je 0x1000a714
nop word [eax + eax]
lea eax, [edx - 1]
cmp al, 0x3e
ja 0x1000a671
movzx eax, dl
cmp byte [eax + esi], 0
je 0x1000a671
cmp ebx, edi
jae 0x1000a5a2
nop dword [eax]
mov esi, edi
mov eax, 0x7fffffff
sub esi, ebx
cmp esi, 0x7fffffff
cmova esi, eax
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x1000a578
push eax
push esi
push 1
push ebx
call fcn.100437e0
add esp, 0x10
jmp 0x1000a599
push esi
add ecx, 0xd0
call fcn.1000b270
push esi
push ebx
lea edi, [eax - 1]
push edi
call fcn.1003f600
mov byte [edi + esi], 0
add esp, 0xc
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 4]
add ebx, esi
cmp ebx, edi
jb 0x1000a550
mov dl, byte [edi]
xor esi, esi
mov eax, 0x10063358
nop dword [eax + eax]
cmp byte [eax], dl
je 0x1000a5c4
add eax, 0xc
inc esi
cmp eax, 0x10063394
jl 0x1000a5b0
jmp 0x1000a66a
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x1000a5d8
push eax
push 0x26
call fcn.100400ff
add esp, 8
jmp 0x1000a5eb
push 1
add ecx, 0xd0
call fcn.1000b270
mov word [eax - 1], 0x26
lea eax, [esi + esi*2]
mov esi, dword [ebp - 4]
mov ecx, dword [eax*4 + 0x10063354]
mov eax, dword [eax*4 + 0x10063350]
mov dword [ebp + 0xc], ecx
mov edx, dword [esi + 0x40]
mov dword [ebp + 8], eax
test edx, edx
je 0x1000a61b
push edx
push ecx
push 1
push eax
call fcn.100437e0
add esp, 0x10
jmp 0x1000a643
push ecx
lea ecx, [esi + 0xd0]
call fcn.1000b270
push dword [ebp + 0xc]
push dword [ebp + 8]
lea esi, [eax - 1]
push esi
call fcn.1003f600
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov byte [esi + eax], 0
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0x40]
test eax, eax
je 0x1000a657
push eax
push 0x3b
call fcn.100400ff
add esp, 8
jmp 0x1000a66a
push 1
lea ecx, [esi + 0xd0]
call fcn.1000b270
mov word [eax - 1], 0x3b
mov ecx, dword [ebp - 4]
inc ebx
mov esi, dword [ebp - 8]
mov dl, byte [edi + 1]
inc edi
mov dword [ebp + 8], edi
test dl, dl
jne 0x1000a530
cmp ebx, edi
jae 0x1000a714
sub edi, ebx
mov eax, 0x7fffffff
cmp edi, 0x7fffffff
cmova edi, eax
mov eax, dword [ecx + 0x40]
test eax, eax
jne 0x1000a6e0
push edi
add ecx, 0xd0
call fcn.1000b270
push edi
push ebx
lea esi, [eax - 1]
push esi
call fcn.1003f600
add esp, 0xc
mov byte [esi + edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea edx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x1000a6d0
mov eax, dword [ecx + 0x40]
sub edi, edx
test eax, eax
je 0x1000a6f6
push eax
push edi
push 1
push ebx
call fcn.100437e0
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
add ecx, 0xd0
call fcn.1000b270
push edi
push ebx
lea esi, [eax - 1]
push esi
call fcn.1003f600
mov byte [edi + esi], 0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1000a720
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 4], 0
je 0x1000a759
mov eax, dword [esi + 0x40]
mov byte [esi + 4], 0
test eax, eax
je 0x1000a746
push eax
push 0x3e
call fcn.100400ff
add esp, 8
jmp 0x1000a759
push 1
lea ecx, [esi + 0xd0]
call fcn.1000b270
mov word [eax - 1], 0x3e
mov eax, dword [esi + 0x38]
lea ecx, [eax + 1]
cmp ecx, dword [esi + 0x34]
jle 0x1000a7b2
lea edi, [ecx + ecx]
mov edx, 4
xor ecx, ecx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1003bffb
mov ecx, dword [esi + 0x38]
mov ebx, eax
shl ecx, 2
push ecx
push dword [esi + 8]
push ebx
call fcn.1003f600
mov ecx, dword [esi + 8]
lea eax, [esi + 0xc]
add esp, 0x10
cmp ecx, eax
je 0x1000a7a7
push ecx
call fcn.1003bfb8
add esp, 4
mov eax, dword [esi + 0x38]
mov dword [esi + 8], ebx
mov dword [esi + 0x34], edi
jmp 0x1000a7b5
mov ebx, dword [esi + 8]
mov edi, dword [ebp + 8]
mov dword [ebx + eax*4], edi
inc dword [esi + 0x38]
cmp dword [esi + 0x48], 0
jge 0x1000a7f9
cmp byte [esi + 0x3c], 0
jne 0x1000a7f9
cmp byte [ebp + 0xc], 0
jne 0x1000a809
mov eax, dword [esi + 0x40]
test eax, eax
je 0x1000a7e4
push eax
push 0xa
call fcn.100400ff
add esp, 8
jmp 0x1000a7ff
push 1
lea ecx, [esi + 0xd0]
call fcn.1000b270
mov word [eax - 1], 0xa
jmp 0x1000a7ff
cmp byte [ebp + 0xc], 0
jne 0x1000a809
push dword [esi + 0x44]
mov ecx, esi
call fcn.1000a4a0
mov eax, dword [esi + 0x40]
test eax, eax
je 0x1000a824
push eax
push 1
push 1
push 0x10062db4
call fcn.100437e0
add esp, 0x10
jmp 0x1000a83d
push 1
lea ecx, [esi + 0xd0]
call fcn.1000b270
mov cl, byte [0x10062db4]
mov byte [eax - 1], cl
mov byte [eax], 0
mov ebx, edi
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x1000a842
mov eax, dword [esi + 0x40]
sub ebx, ecx
test eax, eax
je 0x1000a871
push eax
push ebx
push 1
push edi
call fcn.100437e0
add esp, 0x10
mov byte [esi + 4], 1
inc dword [esi + 0x44]
mov byte [esi + 0x3c], 0
pop edi
pop esi
pop ebx
pop ebp
ret 8
push ebx
lea ecx, [esi + 0xd0]
call fcn.1000b270
push ebx
push dword [ebp + 8]
lea edi, [eax - 1]
push edi
call fcn.1003f600
add esp, 0xc
mov byte [ebx + edi], 0
inc dword [esi + 0x44]
mov byte [esi + 4], 1
mov byte [esi + 0x3c], 0
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x1000a8b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x1000a8ca
push eax
push 0x20
call fcn.100400ff
add esp, 8
jmp 0x1000a8dd
push 1
lea ecx, [ebx + 0xd0]
call fcn.1000b270
mov word [eax - 1], 0x20
mov ecx, dword [ebp + 8]
push edi
mov edi, ecx
lea edx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x1000a8e6
mov eax, dword [ebx + 0x40]
sub edi, edx
test eax, eax
je 0x1000a905
push eax
push edi
push 1
push ecx
call fcn.100437e0
add esp, 0x10
jmp 0x1000a927
push esi
push edi
lea ecx, [ebx + 0xd0]
call fcn.1000b270
push edi
push dword [ebp + 8]
lea esi, [eax - 1]
push esi
call fcn.1003f600
add esp, 0xc
mov byte [edi + esi], 0
pop esi
mov eax, dword [ebx + 0x40]
pop edi
test eax, eax
je 0x1000a943
push eax
push 2
push 1
push 0x10063088
call fcn.100437e0
add esp, 0x10
jmp 0x1000a95f
push 2
lea ecx, [ebx + 0xd0]
call fcn.1000b270
mov cx, word [0x10063088]
mov word [eax - 1], cx
mov byte [eax + 1], 0
push 0
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.1000a4f0
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x1000a982
push eax
push 0x22
call fcn.100400ff
add esp, 8
pop ebx
pop ebp
ret 8
push 1
lea ecx, [ebx + 0xd0]
call fcn.1000b270
pop ebx
mov word [eax - 1], 0x22
pop ebp
ret 8
Function at 0x1000a9a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
dec dword [edi + 0x44]
dec dword [edi + 0x38]
cmp byte [edi + 4], 0
mov edx, dword [edi + 0x38]
mov eax, dword [edi + 8]
mov esi, dword [eax + edx*4]
mov dword [ebp - 4], esi
je 0x1000a9ff
mov eax, dword [edi + 0x40]
test eax, eax
je 0x1000a9de
push eax
push 2
push 1
push 0x1006308c
call fcn.100437e0
add esp, 0x10
jmp 0x1000aaf4
push 2
lea ecx, [edi + 0xd0]
call fcn.1000b270
mov cx, word [0x1006308c]
mov word [eax - 1], cx
mov byte [eax + 1], 0
jmp 0x1000aaf4
cmp dword [edi + 0x48], 0
jge 0x1000aa3c
cmp byte [ebp + 8], 0
jne 0x1000aa3c
mov eax, dword [edi + 0x40]
test eax, eax
je 0x1000aa1f
push eax
push 0xa
call fcn.100400ff
add esp, 8
jmp 0x1000aa32
push 1
lea ecx, [edi + 0xd0]
call fcn.1000b270
mov word [eax - 1], 0xa
push dword [edi + 0x44]
mov ecx, edi
call fcn.1000a4a0
mov eax, dword [edi + 0x40]
test eax, eax
je 0x1000aa57
push eax
push 2
push 1
push 0x10063090
call fcn.100437e0
add esp, 0x10
jmp 0x1000aa73
push 2
lea ecx, [edi + 0xd0]
call fcn.1000b270
mov cx, word [0x10063090]
mov word [eax - 1], cx
mov byte [eax + 1], 0
push ebx
mov ebx, esi
lea ecx, [ebx + 1]
nop dword [eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x1000aa80
mov eax, dword [edi + 0x40]
sub ebx, ecx
test eax, eax
je 0x1000aa9f
push eax
push ebx
push 1
push esi
call fcn.100437e0
add esp, 0x10
jmp 0x1000aabf
push ebx
lea ecx, [edi + 0xd0]
call fcn.1000b270
push ebx
push dword [ebp - 4]
lea esi, [eax - 1]
push esi
call fcn.1003f600
add esp, 0xc
mov byte [ebx + esi], 0
mov eax, dword [edi + 0x40]
pop ebx
test eax, eax
je 0x1000aadb
push eax
push 1
push 1
push 0x10062df0
call fcn.100437e0
add esp, 0x10
jmp 0x1000aaf4
push 1
lea ecx, [edi + 0xd0]
call fcn.1000b270
mov cl, byte [0x10062df0]
mov byte [eax - 1], cl
mov byte [eax], 0
mov eax, dword [edi + 0x44]
cmp dword [edi + 0x48], eax
jne 0x1000ab03
mov dword [edi + 0x48], 0xffffffff
test eax, eax
jne 0x1000ab3d
cmp byte [ebp + 8], al
jne 0x1000ab3d
mov eax, dword [edi + 0x40]
test eax, eax
je 0x1000ab2a
push eax
push 0xa
call fcn.100400ff
add esp, 8
mov byte [edi + 4], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 1
lea ecx, [edi + 0xd0]
call fcn.1000b270
mov word [eax - 1], 0xa
mov byte [edi + 4], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1000ab50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
mov eax, dword [edi + 0x44]
dec eax
cmp byte [edi + 4], 0
mov dword [edi + 0x48], eax
je 0x1000ab8e
mov eax, dword [edi + 0x40]
mov byte [edi + 4], 0
test eax, eax
je 0x1000ab7b
push eax
push 0x3e
call fcn.100400ff
add esp, 8
jmp 0x1000ab8e
push 1
lea ecx, [edi + 0xd0]
call fcn.1000b270
mov word [eax - 1], 0x3e
cmp byte [ebp + 0xc], 0
je 0x1000ac6d
mov eax, dword [edi + 0x40]
test eax, eax
je 0x1000abb3
push eax
push 9
push 1
push str.___CDATA_
call fcn.100437e0
add esp, 0x10
jmp 0x1000abda
push 9
lea ecx, [edi + 0xd0]
call fcn.1000b270
movq xmm0, qword [str.___CDATA_]
movq qword [eax - 1], xmm0
mov cl, byte [0x10062dac]
mov byte [eax + 7], cl
mov byte [eax + 8], 0
mov ecx, dword [ebp + 8]
push ebx
mov ebx, ecx
lea edx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x1000abe3
mov eax, dword [edi + 0x40]
sub ebx, edx
test eax, eax
je 0x1000ac02
push eax
push ebx
push 1
push ecx
call fcn.100437e0
add esp, 0x10
jmp 0x1000ac24
push esi
push ebx
lea ecx, [edi + 0xd0]
call fcn.1000b270
push ebx
push dword [ebp + 8]
lea esi, [eax - 1]
push esi
call fcn.1003f600
add esp, 0xc
mov byte [ebx + esi], 0
pop esi
mov eax, dword [edi + 0x40]
pop ebx
test eax, eax
je 0x1000ac43
push eax
push 3
push 1
push 0x10062de4
call fcn.100437e0
add esp, 0x10
pop edi
pop ebp
ret 8
push 3
lea ecx, [edi + 0xd0]
call fcn.1000b270
mov cx, word [0x10062de4]
pop edi
mov word [eax - 1], cx
mov cl, byte [0x10062de6]
mov byte [eax + 1], cl
mov byte [eax + 2], 0
pop ebp
ret 8
push 1
push dword [ebp + 8]
mov ecx, edi
call fcn.1000a4f0
pop edi
pop ebp
ret 8
Function at 0x1000ac80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp byte [edi + 4], 0
je 0x1000acb7
mov eax, dword [edi + 0x40]
mov byte [edi + 4], 0
test eax, eax
je 0x1000aca4
push eax
push 0x3e
call fcn.100400ff
add esp, 8
jmp 0x1000acb7
push 1
lea ecx, [edi + 0xd0]
call fcn.1000b270
mov word [eax - 1], 0x3e
cmp dword [edi + 0x48], 0
jge 0x1000acfa
cmp byte [edi + 0x3c], 0
jne 0x1000acfa
cmp byte [edi + 0x4d], 0
jne 0x1000acfa
mov eax, dword [edi + 0x40]
test eax, eax
je 0x1000acdd
push eax
push 0xa
call fcn.100400ff
add esp, 8
jmp 0x1000acf0
push 1
lea ecx, [edi + 0xd0]
call fcn.1000b270
mov word [eax - 1], 0xa
push dword [edi + 0x44]
mov ecx, edi
call fcn.1000a4a0
mov eax, dword [edi + 0x40]
mov byte [edi + 0x3c], 0
test eax, eax
je 0x1000ad19
push eax
push 4
push 1
push str.____
call fcn.100437e0
add esp, 0x10
jmp 0x1000ad33
push 4
lea ecx, [edi + 0xd0]
call fcn.1000b270
mov ecx, dword [str.____]
mov dword [eax - 1], ecx
mov byte [eax + 3], 0
mov ecx, dword [ebp + 8]
push ebx
mov ebx, ecx
lea edx, [ebx + 1]
nop dword [eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x1000ad40
mov eax, dword [edi + 0x40]
sub ebx, edx
test eax, eax
je 0x1000ad5f
push eax
push ebx
push 1
push ecx
call fcn.100437e0
add esp, 0x10
jmp 0x1000ad81
push esi
push ebx
lea ecx, [edi + 0xd0]
call fcn.1000b270
push ebx
push dword [ebp + 8]
lea esi, [eax - 1]
push esi
call fcn.1003f600
add esp, 0xc
mov byte [ebx + esi], 0
pop esi
mov eax, dword [edi + 0x40]
pop ebx
test eax, eax
je 0x1000ada0
push eax
push 3
push 1
push 0x10062de8
call fcn.100437e0
add esp, 0x10
pop edi
pop ebp
ret 4
push 3
lea ecx, [edi + 0xd0]
call fcn.1000b270
mov cx, word [0x10062de8]
pop edi
mov word [eax - 1], cx
mov cl, byte [0x10062dea]
mov byte [eax + 1], cl
mov byte [eax + 2], 0
pop ebp
ret 4
Function at 0x1000add0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp byte [edi + 4], 0
je 0x1000ae07
mov eax, dword [edi + 0x40]
mov byte [edi + 4], 0
test eax, eax
je 0x1000adf4
push eax
push 0x3e
call fcn.100400ff
add esp, 8
jmp 0x1000ae07
push 1
lea ecx, [edi + 0xd0]
call fcn.1000b270
mov word [eax - 1], 0x3e
cmp dword [edi + 0x48], 0
jge 0x1000ae4a
cmp byte [edi + 0x3c], 0
jne 0x1000ae4a
cmp byte [edi + 0x4d], 0
jne 0x1000ae4a
mov eax, dword [edi + 0x40]
test eax, eax
je 0x1000ae2d
push eax
push 0xa
call fcn.100400ff
add esp, 8
jmp 0x1000ae40
push 1
lea ecx, [edi + 0xd0]
call fcn.1000b270
mov word [eax - 1], 0xa
push dword [edi + 0x44]
mov ecx, edi
call fcn.1000a4a0
mov eax, dword [edi + 0x40]
mov byte [edi + 0x3c], 0
test eax, eax
je 0x1000ae69
push eax
push 2
push 1
push 0x10062d98
call fcn.100437e0
add esp, 0x10
jmp 0x1000ae85
push 2
lea ecx, [edi + 0xd0]
call fcn.1000b270
mov cx, word [0x10062d98]
mov word [eax - 1], cx
mov byte [eax + 1], 0
mov ecx, dword [ebp + 8]
push ebx
mov ebx, ecx
lea edx, [ebx + 1]
nop
mov al, byte [ebx]
inc ebx
test al, al
jne 0x1000ae90
mov eax, dword [edi + 0x40]
sub ebx, edx
test eax, eax
je 0x1000aeaf
push eax
push ebx
push 1
push ecx
call fcn.100437e0
add esp, 0x10
jmp 0x1000aed1
push esi
push ebx
lea ecx, [edi + 0xd0]
call fcn.1000b270
push ebx
push dword [ebp + 8]
lea esi, [eax - 1]
push esi
call fcn.1003f600
add esp, 0xc
mov byte [ebx + esi], 0
pop esi
mov eax, dword [edi + 0x40]
pop ebx
test eax, eax
je 0x1000aef0
push eax
push 2
push 1
push 0x10062dec
call fcn.100437e0
add esp, 0x10
pop edi
pop ebp
ret 4
push 2
lea ecx, [edi + 0xd0]
call fcn.1000b270
mov cx, word [0x10062dec]
pop edi
mov word [eax - 1], cx
mov byte [eax + 1], 0
pop ebp
ret 4