joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001f3f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x1001f9b0
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
mov eax, dword [eax]
mov dword [esi], eax
lea eax, [esi + 4]
mov dword [ebp - 0x24], eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0x14
call fcn.100f6bcd
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x28], eax
mov dword [esi + 4], eax
lea eax, [esi + 0xc]
mov dword [ebp - 0x20], eax
xorps xmm0, xmm0
movlps qword [esi + 0xc], xmm0
mov dword [esi + 0x14], 0
movsd xmm0, qword [0x10154080]
movsd qword [esi + 0x18], xmm0
mov dword [ebp - 0x2c], esi
mov dword [esi], 0x3f800000
mov dword [ebp - 0x10], 0
push 0x40
call fcn.100f6bcd
add esp, 4
mov esi, eax
mov edi, dword [ebp - 0x2c]
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 0x14]
sub eax, ecx
je 0x1001f4bd
cmp eax, 0x1000
jb 0x1001f4b3
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x1001f4fd
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.100f6c02
add esp, 8
mov dword [edi + 0xc], esi
mov eax, esi
add eax, 0x40
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
movd xmm0, dword [ebp - 0x28]
pshufd xmm0, xmm0, 0
movdqu xmmword [esi], xmm0
movdqu xmmword [esi + 0x10], xmm0
movdqu xmmword [esi + 0x20], xmm0
movdqu xmmword [esi + 0x30], xmm0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop word cs:[eax + eax]
push ebp
sub esp, 8
add ebp, 0xc
mov ecx, dword [ebp - 0x20]
call fcn.10016b90
mov ecx, dword [ebp - 0x24]
call fcn.1001e340
add esp, 8
pop ebp
ret
Function at 0x10040220
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
mov ecx, dword [0x10356820]
mov eax, dword [ecx]
call dword [eax + 0x68]
test al, al
je 0x100403a3
cmp byte [esi + 0x35], 0
je 0x100403a3
mov edi, dword [0x10356884]
mov ebp, dword [edi + 0x28]
test ebp, ebp
je 0x100403a3
xor ecx, ecx
mov dword [esp + 8], edi
mov dword [esp + 4], ebp
jmp 0x10040290
cmp ebp, 0x266f269d
mov edi, dword [esp + 8]
mov ebp, dword [esp + 4]
je 0x10040356
mov ecx, dword [esp]
inc ecx
cmp ecx, ebp
je 0x100403a3
mov eax, dword [edi + 0x1c]
mov dword [esp], ecx
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov esi, 1
xor edx, edx
nop word cs:[eax + eax]
mov ecx, esi
cmp byte [eax + edx + 1], 0
lea edx, [edx + 1]
lea esi, [esi + 1]
jne 0x100402b0
mov ebx, edx
sub ebx, 1
jb 0x10040284
cmp ebx, 3
jae 0x100402e0
mov ebp, 0x45c3370d
xor edi, edi
jmp 0x1004032a
mov esi, ecx
and esi, 0xfffffffc
mov ebp, 0x45c3370d
xor edi, edi
nop dword [eax]
movsx ebx, byte [eax + edi]
xor ebx, ebp
imul ebx, ebx, 0x1000193
movsx ebp, byte [eax + edi + 1]
xor ebp, ebx
imul ebx, ebp, 0x1000193
movsx ebp, byte [eax + edi + 2]
xor ebp, ebx
imul ebx, ebp, 0x1000193
movsx ebp, byte [eax + edi + 3]
xor ebp, ebx
imul ebp, ebp, 0x1000193
add edi, 4
cmp esi, edi
jne 0x100402f0
test dl, 3
je 0x10040270
add eax, edi
and ecx, 3
xor edx, edx
nop word [eax + eax]
movsx esi, byte [eax + edx]
xor esi, ebp
imul ebp, esi, 0x1000193
inc edx
cmp ecx, edx
jne 0x10040340
jmp 0x10040270
mov eax, dword [edi + 0x1c]
mov ecx, dword [esp]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x100403a3
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x100403a3
xor edx, edx
cmp ecx, 1
jne 0x100403ab
test cl, 1
je 0x100403a3
mov eax, dword [eax + 0x7c]
imul ecx, edx, 0x420
movss xmm0, dword [eax + ecx + 0x418]
ucomiss xmm0, dword [0x10156360]
jne 0x100403a3
jp 0x100403a3
add eax, ecx
add eax, 0x418
mov dword [eax], 0x7f7fffff
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, ecx
and ebx, 0xfffffffe
xor esi, esi
movss xmm0, dword [0x10156360]
xor edx, edx
jmp 0x100403cd
add edx, 2
add esi, 0x840
cmp ebx, edx
je 0x10040374
mov edi, dword [eax + 0x7c]
movss xmm1, dword [edi + esi + 0x418]
ucomiss xmm1, xmm0
jne 0x100403eb
jp 0x100403eb
mov dword [edi + esi + 0x418], 0x7f7fffff
mov edi, dword [eax + 0x7c]
movss xmm1, dword [edi + esi + 0x838]
ucomiss xmm1, xmm0
jne 0x100403c0
jp 0x100403c0
mov dword [edi + esi + 0x838], 0x7f7fffff
jmp 0x100403c0
Function at 0x100408a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov eax, dword [esp + 8]
mov edx, dword [0x1035678c]
mov edx, dword [edx + 0xb0]
movzx edx, word [edx + eax]
mov eax, 0xffffffff
lea esi, [edx - 1]
cmp esi, 0x3f
ja case.default.0x100408c2
jmp dword [esi*4 + 0x10156470]
mov eax, dword [ecx + 0x10]
pop esi
ret 4
add edx, 0xfffffe0c
cmp edx, 0x10
ja case.0x100408db.501
jmp dword [edx*4 + 0x10156570]
mov eax, dword [ecx + 0x94]
pop esi
ret 4
mov eax, dword [ecx + 0x14]
pop esi
ret 4
mov eax, dword [ecx + 0x18]
pop esi
ret 4
mov eax, dword [ecx + 0x1c]
pop esi
ret 4
mov eax, dword [ecx + 0x20]
pop esi
ret 4
mov eax, dword [ecx + 0x24]
pop esi
ret 4
mov eax, dword [ecx + 0x28]
pop esi
ret 4
mov eax, dword [ecx + 0x2c]
pop esi
ret 4
mov eax, dword [ecx + 0x30]
pop esi
ret 4
mov eax, dword [ecx + 0x34]
pop esi
ret 4
mov eax, dword [ecx + 0x38]
pop esi
ret 4
mov eax, dword [ecx + 0x3c]
pop esi
ret 4
mov eax, dword [ecx + 0x40]
pop esi
ret 4
mov eax, dword [ecx + 0x44]
pop esi
ret 4
mov eax, dword [ecx + 0x48]
pop esi
ret 4
mov eax, dword [ecx + 0x4c]
pop esi
ret 4
mov eax, dword [ecx + 0x50]
pop esi
ret 4
mov eax, dword [ecx + 0x54]
pop esi
ret 4
mov eax, dword [ecx + 0x58]
pop esi
ret 4
mov eax, dword [ecx + 0x5c]
pop esi
ret 4
mov eax, dword [ecx + 0x60]
pop esi
ret 4
mov eax, dword [ecx + 0x64]
pop esi
ret 4
mov eax, dword [ecx + 0x68]
pop esi
ret 4
mov eax, dword [ecx + 0x6c]
pop esi
ret 4
mov eax, dword [ecx + 0x70]
pop esi
ret 4
mov eax, dword [ecx + 0x74]
pop esi
ret 4
mov eax, dword [ecx + 0x78]
pop esi
ret 4
mov eax, dword [ecx + 0x7c]
pop esi
ret 4
mov eax, dword [ecx + 0x80]
pop esi
ret 4
mov eax, dword [ecx + 0x84]
pop esi
ret 4
mov eax, dword [ecx + 0x88]
pop esi
ret 4
mov eax, dword [ecx + 0x8c]
pop esi
ret 4
mov eax, dword [ecx + 0x90]
pop esi
ret 4
Function at 0x1004ae30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe8
mov esi, esp
mov dword [esi + 0xd0], ebp
mov dword [esi + 0xd4], esp
mov dword [esi + 0xe0], 0xffffffff
mov dword [esi + 0xdc], 0x1004f570
mov eax, dword fs:[0]
mov dword [esi + 0xd8], eax
lea eax, [esi + 0xd8]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x10]
lea edi, [esi + 0x38]
mov ecx, edi
push 1
call fcn.1004dd80
lea eax, [esi + 8]
mov dword [esi], eax
mov dword [esi + 4], 4
mov dword [esi + 8], ebx
mov dword [esi + 0xc], 0x1004eee0
mov dword [esi + 0x10], 0x1004ef20
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], 0x1004eee0
mov dword [esi + 0x1c], 0x1004ef20
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], 0x1004f0b0
mov dword [esi + 0x28], 0x1004f0f0
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], 0x1004f0b0
mov dword [esi + 0x34], 0x1004f0f0
mov dword [esi + 0xe0], 0
push 4
push eax
push dword [ebp + 0xc]
push edi
call fcn.1004e080
add esp, 0x10
lea ecx, [esi + 0x38]
push dword [ebp + 8]
call fcn.1004de90
lea edi, [esi + 0x88]
mov eax, dword [esi + 0x38]
mov eax, dword [eax + 4]
mov dword [esi + eax + 0x38], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [esi + 0x38]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x50]
mov dword [esi + eax + 0x34], ecx
lea ebx, [esi + 0x3c]
mov dword [esi + 0x3c], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov ecx, ebx
call fcn.1002c0a0
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, edi
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::ios_base::destructor_void_]
mov eax, dword [esi + 0xd8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10068930
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov ebx, dword [esp + 0x44]
mov eax, dword [0x10356534]
xor eax, esp
mov dword [esp + 0x2c], eax
cmp ebx, 0xffffffff
je 0x10068a0a
mov esi, ecx
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x10068976
mov eax, dword [esi + 0x30]
mov ecx, dword [eax]
test ecx, ecx
jle 0x10068976
dec ecx
mov dword [eax], ecx
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
lea edx, [ecx + 1]
mov dword [eax], edx
mov byte [ecx], bl
jmp 0x10068a4e
cmp dword [esi + 0x4c], 0
je 0x10068a0e
mov eax, dword [esi + 0xc]
lea ecx, [esi + 0x3c]
cmp dword [eax], ecx
jne 0x1006899e
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x54]
mov dword [eax], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
sub edx, ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x10068a15
mov byte [esp + 0xb], bl
lea edx, [esi + 0x40]
mov edi, dword [ecx]
mov ebp, esp
lea eax, [esp + 0xc]
push ebp
lea ebp, [esp + 0x30]
push ebp
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1f]
push eax
push edx
call dword [edi + 0x1c]
mov edi, 0xffffffff
cmp eax, 2
jae 0x10068a2d
mov ebp, dword [esp]
lea eax, [esp + 0xc]
sub ebp, eax
je 0x100689f7
push dword [esi + 0x4c]
push ebp
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp ebp, eax
jne 0x10068a4c
mov byte [esi + 0x3d], 1
lea eax, [esp + 0xb]
cmp dword [esp + 4], eax
mov eax, 0xffffffff
jmp 0x10068a47
xor ebx, ebx
jmp 0x10068a4e
mov ebx, 0xffffffff
jmp 0x10068a4e
movsx eax, bl
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
cmp eax, 0xffffffff
cmove ebx, eax
jmp 0x10068a4e
cmp eax, 3
jne 0x10068a4c
movsx eax, byte [esp + 0xb]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
cmp eax, 0xffffffff
cmove ebx, eax
mov edi, ebx
mov ebx, edi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.100f6c33
mov eax, ebx
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x10068e20
Capabilities:
Read file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov ebx, ecx
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, 1
mov eax, ecx
sbb eax, 0
jl 0x10068e50
cmp dword [ebx + 0x38], 0
je 0x10068e59
mov ecx, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
jmp dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
xor eax, eax
xor edx, edx
jmp 0x10068f0b
mov dword [esp], ecx
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 4], esi
je 0x10068e94
mov ecx, dword [ebx + 0x2c]
mov edi, dword [ecx]
test edi, edi
je 0x10068e94
cmp edi, esi
cmovae edi, esi
push edi
push eax
push ebp
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add ebp, edi
sub esi, edi
mov eax, dword [ebx + 0x2c]
sub dword [eax], edi
mov eax, dword [ebx + 0x1c]
add dword [eax], edi
cmp dword [ebx + 0x4c], 0
je 0x10068eff
mov eax, dword [ebx + 0xc]
lea ecx, [ebx + 0x3c]
cmp dword [eax], ecx
jne 0x10068eb8
mov ecx, dword [ebx + 0x50]
mov edx, dword [ebx + 0x54]
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
sub edx, ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
nop
cmp esi, 0x1000
jb 0x10068ee5
push dword [ebx + 0x4c]
push 0xfff
push 1
push ebp
call edi
add esp, 0x10
add ebp, eax
sub esi, eax
cmp eax, 0xfff
je 0x10068ec0
jmp 0x10068eff
test esi, esi
je 0x10068efd
push dword [ebx + 0x4c]
push esi
push 1
push ebp
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
sub esi, eax
jmp 0x10068eff
xor esi, esi
mov eax, dword [esp + 4]
sub eax, esi
mov edx, dword [esp]
sbb edx, 0
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x10068f20
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov ebx, ecx
cmp dword [ecx + 0x38], 0
je 0x10068f3e
mov ecx, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
jmp dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov eax, dword [ebx + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x10068fa8
cmp ebp, 1
mov ecx, edx
sbb ecx, 0
jl 0x10068fa8
mov esi, ebp
mov ecx, dword [ebx + 0x30]
mov ebp, dword [ecx]
test ebp, ebp
jle 0x10068faf
mov dword [esp + 4], esi
cmp ebp, esi
mov ecx, esi
cmovb ecx, ebp
test edx, edx
cmove ebp, esi
cmove ebp, ecx
push ebp
push edi
push eax
mov esi, edx
call sub.VCRUNTIME140.dll_memcpy
mov edx, esi
add esp, 0xc
add edi, ebp
mov dword [esp], edi
mov ecx, dword [esp + 4]
mov edi, ecx
sub edi, ebp
sbb esi, 0
mov eax, dword [ebx + 0x30]
sub dword [eax], ebp
mov eax, dword [ebx + 0x20]
add dword [eax], ebp
mov ebp, ecx
jmp 0x10068fb8
mov dword [esp], edi
mov edi, ebp
jmp 0x10068fb6
mov dword [esp], edi
mov ebp, esi
mov edi, esi
mov esi, edx
cmp edi, 1
mov eax, esi
sbb eax, 0
jl 0x10068fe3
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x10068fe3
push eax
push edi
push 1
push dword [esp + 0xc]
mov ebx, edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov edx, ebx
add esp, 0x10
sub edi, eax
sbb esi, 0
sub ebp, edi
sbb edx, esi
mov eax, ebp
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 0xc

Function at 0x100693a0
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [0x10356534]
xor eax, esp
mov dword [esp + 0x24], eax
mov bl, 1
cmp dword [ecx + 0x38], 0
je 0x10069421
mov esi, ecx
cmp byte [ecx + 0x3d], 0
je 0x10069421
mov eax, dword [esi]
mov ecx, esi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1006941f
mov ecx, dword [esi + 0x38]
lea eax, [esp + 0x24]
lea edx, [esi + 0x40]
mov ebx, dword [ecx]
mov ebp, esp
lea edi, [esp + 4]
push ebp
push eax
push edi
push edx
call dword [ebx + 0x20]
cmp eax, 3
je 0x10069436
cmp eax, 1
je 0x100693fb
test eax, eax
jne 0x1006941f
mov byte [esi + 0x3d], 0
mov ebx, dword [esp]
sub ebx, edi
je 0x10069416
push dword [esi + 0x4c]
push ebx
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp ebx, eax
jne 0x1006941f
cmp byte [esi + 0x3d], 0
sete bl
jmp 0x10069421
xor ebx, ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.100f6c33
mov eax, ebx
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [esi + 0x3d], 0
mov bl, 1
jmp 0x10069421
Function at 0x1006a440
Capabilities:
Hash data using fnv

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
cmp ebx, eax
je 0x1006a600
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
mov esi, dword [ecx + 0xc]
mov eax, dword [ebx + 4]
mov dword [esp + 0x14], eax
movzx eax, byte [ebx + 8]
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
movzx edx, byte [ebx + 9]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [ebx + 0xa]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [ebx + 0xb]
xor edx, eax
imul eax, edx, 0x1000193
and eax, dword [ecx + 0x18]
lea edx, [eax + eax]
lea edi, [esi + eax*8]
mov dword [esp], edi
lea edi, [eax + eax]
inc edi
mov dword [esp + 0x1c], edi
mov eax, dword [esi + eax*8]
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 8], esi
mov eax, dword [esi + edx*4 + 4]
mov dword [esp + 4], eax
setne byte [esp + 0xc]
mov edi, ebx
nop dword [eax + eax]
mov ebx, edi
mov edi, dword [edi]
lea eax, [ebx + 8]
push eax
mov esi, ecx
call fcn.1001b800
add esp, 4
push 0x70
push ebx
call fcn.100f6c02
mov ecx, esi
add esp, 8
dec dword [esi + 8]
cmp ebx, dword [esp + 4]
je 0x1006a516
mov ebx, dword [esp + 0x38]
cmp edi, ebx
setne al
or al, byte [esp + 0xc]
cmp al, 1
jne 0x1006a5f2
cmp edi, ebx
jne 0x1006a4d0
jmp 0x1006a5f7
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
jne 0x1006a533
mov eax, dword [esp + 0x10]
mov edx, dword [esp]
mov dword [edx], eax
mov edx, eax
mov dword [esp + 4], edx
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 4]
mov dword [edx + eax*4], ebp
cmp edi, ebx
je 0x1006a5f7
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
movzx edx, byte [edi + 9]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [edi + 0xa]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [edi + 0xb]
xor edx, eax
imul eax, edx, 0x1000193
and eax, dword [ecx + 0x18]
lea ecx, [eax + eax]
mov edx, dword [esp + 8]
lea ebx, [edx + eax*8]
mov dword [esp], ebx
add eax, eax
inc eax
mov dword [esp + 0xc], eax
mov eax, dword [edx + ecx*4 + 4]
mov dword [esp + 4], eax
mov ebx, edi
mov edi, dword [edi]
lea eax, [ebx + 8]
push eax
call fcn.1001b800
add esp, 4
push 0x70
push ebx
call fcn.100f6c02
add esp, 8
dec dword [esi + 8]
cmp ebx, dword [esp + 4]
je 0x1006a5ce
mov ebx, dword [esp + 0x38]
cmp edi, ebx
jne 0x1006a5a0
jmp 0x1006a5f2
mov ecx, esi
mov eax, dword [esp + 0x10]
mov edx, dword [esp]
mov dword [edx], eax
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov dword [edx + ebx*4], eax
mov ebx, dword [esp + 0x38]
cmp edi, ebx
jne 0x1006a54e
jmp 0x1006a5f7
mov eax, dword [esp]
mov dword [eax], ebx
mov eax, dword [esp + 0x14]
mov dword [eax], ebx
mov dword [ebx + 4], eax
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x1006a610
Capabilities:
Hash data using fnv

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov ebx, dword [esp + 0x20]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
movzx edx, byte [ebx + 1]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [ebx + 2]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [ebx + 3]
xor edx, eax
imul esi, edx, 0x1000193
and esi, dword [ecx + 0x18]
mov edx, dword [ecx + 4]
mov dword [esp], ecx
mov ecx, dword [ecx + 0xc]
lea edi, [esi + esi]
mov ebp, dword [ecx + edi*4 + 4]
xor eax, eax
mov dword [esp + 8], edx
cmp ebp, edx
je 0x1006a6fa
lea edx, [esi + esi]
inc edx
mov dword [esp + 4], edi
mov esi, dword [ecx + edi*4]
mov edi, dword [ebx]
cmp edi, dword [ebp + 8]
jne 0x1006a68c
cmp esi, ebp
je 0x1006a6ba
mov eax, dword [ebp + 4]
mov dword [ecx + edx*4], eax
jmp 0x1006a6ca
mov ebx, ebp
nop
cmp ebx, esi
je 0x1006a6fa
mov ebx, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jne 0x1006a690
cmp ebp, ebx
je 0x1006a6b6
mov ebp, ebx
cmp esi, ebx
mov edx, dword [esp]
jne 0x1006a6cd
mov eax, dword [esi]
mov edi, dword [esp + 4]
mov dword [ecx + edi*4], eax
mov ebp, esi
jmp 0x1006a6cd
cmp esi, ebx
jne 0x1006a684
mov eax, dword [esp + 4]
mov esi, edx
mov edx, dword [esp + 8]
mov dword [ecx + eax*4], edx
mov dword [ecx + esi*4], edx
mov edx, dword [esp]
mov eax, dword [ebp]
dec dword [edx + 8]
mov ecx, dword [ebp + 4]
mov dword [ecx], eax
mov ecx, dword [ebp + 4]
mov dword [eax + 4], ecx
lea eax, [ebp + 8]
push eax
call fcn.1001b800
add esp, 4
push 0x70
push ebp
call fcn.100f6c02
add esp, 8
mov eax, 1
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x10095060
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov esi, esp
mov dword [esi + 0x28], ebp
mov eax, dword [ebp + 8]
mov dword [esi + 0x2c], esp
mov dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x34], 0x100a56d0
mov edx, dword fs:[0]
mov dword [esi + 0x30], edx
lea edx, [esi + 0x30]
mov dword fs:[0], edx
mov edx, dword [ebp + 0xc]
xorps xmm0, xmm0
movaps xmmword [esi + 0x10], xmm0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0xf
mov dword [esi + 0x38], 0
lea edi, [esi + 0x10]
mov dword [esi + 0xc], ecx
push edi
push edx
push eax
call fcn.10094ad0
mov eax, dword [esi + 0x24]
cmp eax, 0x10
jb 0x100950fa
mov ecx, dword [esi + 0x10]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x100950f0
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10095117
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.100f6c02
add esp, 8
mov eax, dword [esi + 0xc]
mov dword [eax], vtable.std::system_error.0
mov ecx, dword [esi + 0x30]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop dword [eax]
push ebp
sub esp, 0xc
lea esi, [ebp - 0x3c]
mov ebp, dword [esi + 0x28]
lea ecx, [esi + 0x10]
call fcn.10007360
add esp, 0xc
pop ebp
ret
Function at 0x100a6820
Capabilities:
Read file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
test ebx, ebx
je 0x100a683d
mov dword [ebx], 0
push ecx
push eax
call fcn.100a66c0
add esp, 8
xor esi, esi
test eax, eax
je 0x100a687c
mov edi, eax
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
cmp eax, 0xffffffff
je 0x100a6872
mov ebp, eax
push 2
push 0
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
je 0x100a6886
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
mov dword [esp + 4], eax
cmp eax, 0xffffffff
je 0x100a6872
push 0
push ebp
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x100a6872
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 4]
add eax, ecx
mov ecx, dword [0x10357698]
test ecx, ecx
je 0x100a68c4
inc dword [ecx + 0x374]
push dword [0x103576a0]
push eax
call dword [0x103564fc]
add esp, 8
test eax, eax
je 0x100a6872
push edi
mov ebp, dword [esp + 8]
push ebp
push 1
mov dword [esp + 0xc], eax
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, ebp
jne 0x100a6929
mov ecx, dword [esp + 0x28]
test ecx, ecx
jle 0x100a690d
mov eax, dword [esp]
add eax, dword [esp + 4]
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x100a6921
mov eax, dword [esp + 4]
mov dword [ebx], eax
mov esi, dword [esp]
jmp 0x100a687c
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, dword [0x10357698]
test eax, eax
je 0x100a6942
dec dword [eax + 0x374]
push dword [0x103576a0]
push dword [esp + 4]
call dword [0x10356500]
add esp, 8
jmp 0x100a687c