joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10095810
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x100959b8
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x280]
call eax
test al, al
je 0x100959b8
mov eax, dword [0x100f9f20]
cmp dword [eax + 0x174], 0xffffffff
je 0x100959b8
cmp byte [0x100d5558], 0
je 0x1009585a
mov byte [0x100cc74c], 1
mov eax, dword [0x100fa1ec]
add eax, 0xffffff8c
xor eax, 0x44746bb4
cmp dword [eax + ebx], 0
mov eax, dword [0x100fa1b4]
setle cl
add eax, 0xffffff9a
xor eax, 0x44746ba6
xor edi, edi
mov byte [eax + ebx], cl
mov eax, dword [0x100fa1a8]
add eax, 0xffffff9d
xor eax, 0x44746ba3
mov dword [eax + ebx + 0xc], 0
mov eax, dword [0x100fa1ac]
add eax, 0xffffff9c
xor eax, 0x44746ba4
mov dword [eax + ebx + 0xc], 0
mov ecx, dword [0x100fa1b0]
lea eax, [ecx - 0x65]
xor eax, 0x44746ba5
mov edx, dword [eax + ebx + 0xc]
mov dword [ebp - 4], edx
test edx, edx
je 0x1009590e
lea eax, [ecx - 0x65]
xor eax, 0x44746ba5
mov eax, dword [eax + ebx]
mov esi, dword [eax + edi*4]
lea ebx, [eax + edi*4]
test esi, esi
je 0x10095906
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x100958fa
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
test al, al
je 0x100958f7
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov edx, dword [ebp - 4]
mov dword [ebx], 0
mov ecx, dword [0x100fa1b0]
mov ebx, dword [ebp + 8]
inc edi
cmp edi, edx
jb 0x100958c3
lea eax, [ecx - 0x65]
xor eax, 0x44746ba5
lea ecx, [ebx + 8]
push 0
mov dword [eax + ebx + 0xc], 0
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x1c]
call eax
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
push 0
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [0x100f9f34]
xor ebx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x100959a2
nop dword [eax]
mov eax, dword [ecx + 0x1c]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10095966
xor edx, edx
test ecx, ecx
je 0x1009598c
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10095973
cmp edi, 0x79705c5e
je 0x10095997
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x100959a2
mov ecx, dword [ebp - 4]
jmp 0x10095950
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + ebx*4]
jmp 0x100959a4
xor ecx, ecx
push 0
push dword [ebp + 8]
push 0
call dword [0x100fa018]
mov byte [0x100cc74c], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100abec0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
lea eax, [ebp - 8]
imul ebx, ecx, 0x1000193
mov ecx, edi
push ebx
push esi
push eax
call fcn.100ac770
mov edx, dword [eax + 4]
test edx, edx
je 0x100abf67
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0xc]
and ecx, ebx
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], edx
jne 0x100abf3c
cmp eax, edx
jne 0x100abf34
mov eax, dword [edi + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x100abf44
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
jmp 0x100abf44
cmp eax, edx
jne 0x100abf44
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
dec dword [edi + 8]
mov eax, dword [edx + 4]
mov dword [eax], ecx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
call fcn.1002d810
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100abff0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x1c
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
cmp edx, edi
jne 0x100ac00e
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 4]
mov dword [ebp - 4], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
push esi
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x1c], esi
xor ecx, eax
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [esi + eax*8]
mov dword [ebp - 0x10], ecx
lea eax, [esi + eax*8]
mov esi, dword [edx]
mov dword [ebp - 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
call fcn.1002d810
dec dword [ebx + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0xc]
je 0x100ac09e
nop dword [eax]
mov dword [ebp - 0x18], esi
cmp esi, edi
je 0x100ac0ad
mov edx, esi
mov esi, dword [esi]
call fcn.1002d810
dec dword [ebx + 8]
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x18], eax
jne 0x100ac080
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jne 0x100ac0cd
mov eax, dword [ebp - 0x14]
mov dword [ecx], eax
jmp 0x100ac0d0
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jne 0x100ac0ba
mov ecx, dword [ebp - 8]
mov dword [ecx], esi
mov eax, dword [ebp - 4]
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, edi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 4]
mov dword [ecx + 4], eax
cmp esi, edi
je 0x100ac0ba
nop word [eax + eax]
movzx eax, byte [esi + 8]
mov edx, esi
xor eax, 0x811c9dc5
mov edi, esi
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
mov esi, dword [esi]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax*8]
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
call fcn.1002d810
dec dword [ebx + 8]
cmp edi, dword [ebp + 8]
je 0x100ac15a
nop word [eax + eax]
mov eax, dword [ebp + 0xc]
mov edi, esi
cmp esi, eax
je 0x100ac183
mov edx, esi
mov esi, dword [esi]
call fcn.1002d810
dec dword [ebx + 8]
cmp edi, dword [ebp + 8]
jne 0x100ac140
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], eax
cmp esi, edi
jne 0x100ac0e0
mov eax, dword [ebp - 4]
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, edi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
mov dword [ecx], esi
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100ac7e0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8b95
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100cc040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push edx
push eax
call fcn.100ac770
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100ac86a
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x100ac9b0
cmp dword [ebx + 8], 0xfffffff
jne 0x100ac87e
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x24], 0
call fcn.100aed36
mov ecx, dword [ebp - 0x10]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
mov byte [esi + 0xc], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x1c]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c16a0]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100c16a0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x100ac963
divss xmm2, xmm3
sub esp, 8
movss dword [ebp - 0x10], xmm2
fld dword [ebp - 0x10]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x10]
call fcn.100affb0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x100ac945
cmp eax, 0x200
jae 0x100ac943
shl eax, 3
cmp eax, ecx
jae 0x100ac945
mov eax, ecx
push eax
mov ecx, ebx
call fcn.10047930
push dword [ebp - 0x14]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100ac770
mov edx, dword [eax]
jmp 0x100ac966
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x14]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x100ac991
mov dword [ecx + eax*8], esi
jmp 0x100ac9a3
cmp ebx, edx
jne 0x100ac99a
mov dword [ecx + eax*8], esi
jmp 0x100ac9a7
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x100ac9a7
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x20]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100ace70
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8b95
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100cc040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push edx
push eax
call fcn.100ac770
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100acefa
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x100ad042
cmp dword [ebx + 8], 0xfffffff
jne 0x100acf0e
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x24], 0
call fcn.100aed36
mov edx, dword [ebp - 0x10]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x1c]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c16a0]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100c16a0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x100acff5
divss xmm2, xmm3
sub esp, 8
movss dword [ebp - 0x10], xmm2
fld dword [ebp - 0x10]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x10]
call fcn.100affb0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x100acfd7
cmp eax, 0x200
jae 0x100acfd5
shl eax, 3
cmp eax, ecx
jae 0x100acfd7
mov eax, ecx
push eax
mov ecx, ebx
call fcn.10047930
push dword [ebp - 0x14]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100ac770
mov edx, dword [eax]
jmp 0x100acff8
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x14]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x100ad023
mov dword [ecx + eax*8], esi
jmp 0x100ad035
cmp ebx, edx
jne 0x100ad02c
mov dword [ecx + eax*8], esi
jmp 0x100ad039
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x100ad039
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x20]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x7d0f5056
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x74941d57
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x100052c0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
mov esi, ecx
mov ecx, 0x1000
mul ecx
push 0
mov dword [esp + 0x10], edx
lea edx, [esp + 0x10]
push edx
push eax
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x1050]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [esi + 0x1050]
push 0
lea ecx, [esp + 0x18]
push ecx
push 0x1000
add edi, 5
push edi
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x14], 0x1000
je 0x10005370
mov eax, dword [esi + 0x1617]
test eax, eax
je 0x10005357
push str.PAGE_SIZE__NumberOfBytesWritten
push 0x1003b498
push 0
call eax
add esp, 0xc
test eax, eax
jne 0x10005370
push eax
mov eax, dword [esi + 0x161b]
push str.PAGE_SIZE__NumberOfBytesWritten
push 0x1003b498
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
add esp, 8
ret 4
mov ecx, dword [esi + 0x161b]
push 0
push str.PAGE_SIZE__NumberOfBytesWritten
push 0x1003b498
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
add esp, 8
ret 4
Function at 0x10005380
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
mov ebx, ecx
mov edi, dword [ebx + 0x11fb]
mov ebp, dword [ebx + 0x11ff]
xor eax, eax
add esi, edi
adc eax, ebp
push 0
sub esi, 1
sbb eax, 0
push 0x1000
push eax
push esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], eax
call fcn.1001d0e0
push 0
push 0x1000
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
push ebp
push edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x40], eax
call fcn.1001d020
push 0
push 0x1000
push ebp
push edi
mov dword [esp + 0x44], eax
call fcn.1001d0e0
mov edi, eax
cmp edi, dword [esp + 0x10]
jbe 0x10005424
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
mov dword [ecx], eax
add dword [ebx + 0x11fb], eax
pop edi
pop esi
adc dword [ebx + 0x11ff], 0
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret 0xc
mov esi, dword [esp + 0x1c]
push edi
lea ecx, [ebx + 0x11b7]
call fcn.10004030
mov ebp, eax
test ebp, ebp
jne 0x10005491
push edi
lea ecx, [ebx + 0x11b7]
call fcn.100050e0
mov ebp, eax
mov ecx, 0x1000
mov eax, edi
mul ecx
push 0
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x2c]
push edx
push eax
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x1050]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebx + 0x1050]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0x1000
lea edx, [ebp + 5]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x18], 0x1000
jne 0x100054f8
cmp edi, dword [esp + 0x10]
je 0x100054a2
mov esi, 0x1000
sub esi, dword [esp + 0x34]
jmp 0x100054bd
mov ecx, dword [esp + 0x20]
push 0
push 0x1000
push ecx
push esi
call fcn.1001d020
mov esi, eax
sub esi, dword [esp + 0x34]
add esi, 1
mov edx, dword [esp + 0x34]
lea eax, [edx + ebp + 5]
mov ebp, dword [esp + 0x30]
push esi
push eax
push ebp
call fcn.1001ccb0
add dword [esp + 0x20], esi
add ebp, esi
add edi, 1
add esp, 0xc
cmp edi, dword [esp + 0x10]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], 0
jbe 0x10005420
jmp 0x100053f7
mov eax, dword [ebx + 0x1617]
test eax, eax
je 0x1000553b
push str.false
push 0x1003b4dc
push 0
call eax
add esp, 0xc
test eax, eax
jne 0x10005554
mov ecx, dword [ebx + 0x161b]
push eax
push str.false
push 0x1003b4dc
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 0xc
mov edx, dword [ebx + 0x161b]
push 0
push str.false
push 0x1003b4dc
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 0xc
Function at 0x10005560
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
mov edi, ecx
mov ebx, dword [edi + 0x11fb]
mov ebp, dword [edi + 0x11ff]
xor eax, eax
add esi, ebx
adc eax, ebp
push 0
sub esi, 1
sbb eax, 0
push 0x1000
push eax
push esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], eax
call fcn.1001d0e0
push 0
push 0x1000
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
push ebp
push ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x40], eax
call fcn.1001d020
push 0
push 0x1000
push ebp
push ebx
mov dword [esp + 0x44], eax
call fcn.1001d0e0
mov ebp, eax
cmp ebp, dword [esp + 0x10]
ja 0x100056ab
jmp 0x100055e4
mov esi, dword [esp + 0x1c]
push ebp
lea ecx, [edi + 0x11b7]
call fcn.10004030
mov ebx, eax
test ebx, ebx
jne 0x10005647
push ebp
lea ecx, [edi + 0x11b7]
call fcn.100050e0
mov ebx, eax
mov ecx, 0x1000
mov eax, ebp
mul ecx
push 0
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x2c]
push edx
push eax
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x1050]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [edi + 0x1050]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0x1000
lea edx, [ebx + 5]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp ebp, dword [esp + 0x10]
mov byte [ebx + 4], 1
je 0x1000565c
mov esi, 0x1000
sub esi, dword [esp + 0x34]
jmp 0x10005677
mov ecx, dword [esp + 0x20]
push 0
push 0x1000
push ecx
push esi
call fcn.1001d020
mov esi, eax
sub esi, dword [esp + 0x34]
add esi, 1
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
push esi
push edx
lea ecx, [ebx + eax + 5]
push ecx
call fcn.1001ccb0
add dword [esp + 0x3c], esi
add dword [esp + 0x20], esi
add ebp, 1
add esp, 0xc
cmp ebp, dword [esp + 0x10]
mov dword [esp + 0x34], 0
jbe 0x100055e0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
mov dword [edx], eax
add dword [edi + 0x11fb], eax
mov eax, dword [edi + 0x1207]
mov edx, dword [edi + 0x1203]
adc dword [edi + 0x11ff], 0
mov ecx, dword [edi + 0x11ff]
cmp eax, ecx
mov esi, dword [edi + 0x11fb]
jl 0x100056e4
jg 0x100056e8
cmp edx, esi
ja 0x100056e8
mov edx, esi
mov eax, ecx
mov dword [edi + 0x1207], eax
mov dword [edi + 0x1203], edx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret 0xc
Function at 0x1000a2a0
Capabilities:
Hash data using fnv

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
mov ebp, 0x811c9dc5
cmp esi, 0xfffffffe
je 0x1000a2c5
test esi, esi
je 0x1000a2c0
cmp esi, dword [esp + 0x1c]
je 0x1000a2c5
call fcn.1001c77f
cmp edi, dword [esp + 0x20]
je 0x1000a331
cmp esi, 0xfffffffe
mov ebx, edi
je 0x1000a2f7
test esi, esi
jne 0x1000a2db
call fcn.1001c77f
cmp dword [esi + 0x18], 0x10
jb 0x1000a2e6
mov eax, dword [esi + 4]
jmp 0x1000a2e9
lea eax, [esi + 4]
mov ecx, dword [esi + 0x14]
add ecx, eax
cmp edi, ecx
jb 0x1000a2f7
call fcn.1001c77f
add edi, 1
cmp esi, 0xfffffffe
je 0x1000a324
test esi, esi
jne 0x1000a308
call fcn.1001c77f
cmp dword [esi + 0x18], 0x10
jb 0x1000a313
mov eax, dword [esi + 4]
jmp 0x1000a316
lea eax, [esi + 4]
mov edx, dword [esi + 0x14]
add edx, eax
cmp ebx, edx
jb 0x1000a324
call fcn.1001c77f
movsx eax, byte [ebx]
imul ebp, ebp, 0x1000193
xor ebp, eax
jmp 0x1000a2b1
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret

Function at 0x1000fba0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10039d8b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10043290]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CAlloc.0
mov eax, dword [ecx + 8]
lea esi, [ecx + 4]
mov ecx, dword [eax + 4]
push ecx
xor edi, edi
mov ecx, esi
mov dword [esp + 0x20], edi
call fcn.10009940
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], edi
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push esi
push ecx
push esi
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
mov dword [esp + 0x30], 0xffffffff
call fcn.1000d860
mov eax, dword [esi + 4]
push eax
call fcn.1001c094
add esp, 4
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret

Function at 0x100118f1
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea edi, [esi + 0x108]
push edi
push 0x104
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10011918
sub eax, edx
cmp byte [eax + esi + 0x107], 0x5c
je 0x10011940
push 0x1003b504
push 0x104
push edi
call fcn.1001bef5
add esp, 0xc
test ebx, ebx
jne 0x1001199a
mov eax, dword [esi + 0x268]
test eax, eax
je 0x10011981
push 0x1003bc74
push 0x1003bc64
push 1
call eax
add esp, 0xc
test eax, eax
jne 0x1001199a
mov ecx, dword [esi + 0x26c]
push eax
push 0x1003b2bb
push 0x1003bc64
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
mov eax, ebx
pop ebx
ret
mov edx, dword [esi + 0x26c]
push 0
push 0x1003b2bb
push 0x1003bc64
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
mov eax, ebx
pop ebx
ret