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

Disassembly:
push ecx
push esi
push edi
mov edi, dword [esp + 0x10]
xor ecx, ecx
mov esi, 0x811c9dc5
test edi, edi
je 0x1001d133
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x1001d122
pop edi
mov eax, esi
pop esi
pop ecx
ret

Function at 0x1001fff0
Capabilities:
Set console window title

Disassembly:
sub esp, 0x28
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0xc], ebx
lea esi, [ebx + 4]
mov dword [ebx], 0
mov ecx, esi
push 4
push 0x1017573c
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call fcn.1001d4d0
cmp dword [ebx], 0
jne 0x10020104
call dword [sym.imp.KERNEL32.dll_AllocConsole]
cmp dword [esi + 0x14], 0x10
jb 0x1002003b
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esp + 0xc], 0x12c0064
push dword [esp + 0xc]
mov dword [ebx], eax
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
lea eax, [esp + 0x18]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov ecx, dword [esp + 0x22]
mov eax, dword [esp + 0x26]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
lea eax, [ecx + 0x63]
shr ecx, 0x10
mov word [esp + 0x14], ax
add ecx, 0x40
lea eax, [esp + 0x10]
mov word [esp + 0x16], cx
push eax
push 1
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push 1
call edi
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
add esp, 4
push eax
push 0x10175748
push str.CONOUT_
call esi
add esp, 0xc
push 2
call edi
add esp, 4
push eax
push 0x10175748
push str.CONOUT_
call esi
add esp, 0xc
push 0
push 4
push 0
push 1
call edi
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_setvbuf]
add esp, 4
push eax
call esi
add esp, 0x10
push 0
push 4
push 0
push 2
call edi
add esp, 4
push eax
call esi
add esp, 0x10
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x28
ret 8
Function at 0x10024210
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1016cb10
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x10024247
mov eax, dword [ecx]
mov eax, dword [eax + 8]
cmp eax, method..virtual_8
jne 0x100242ac
mov eax, dword [ecx - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esi + 0x30]
cmp ecx, 0x10
jb 0x10024277
mov eax, dword [esi + 0x1c]
inc ecx
cmp ecx, 0x1000
jb 0x1002426d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100242a6
mov eax, edx
push ecx
push eax
call fcn.100cd0a2
add esp, 8
lea ecx, [esi + 0xc]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0xf
mov byte [esi + 0x1c], 0
call fcn.10024530
mov ecx, dword [ebp - 0xc]
mov dword [esi], sym.GSdx32_SSE2.dll_GPUabout
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
call eax
jmp 0x10024247

Function at 0x10028831
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
je 0x10028848
mov ecx, dword [esi + 0x14]
lea eax, [ecx + 0x2000]
cmp eax, dword [esi + 0x10]
jbe 0x1002889b
push 0x40
push 0x3000
push dword [esi + 0x10]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea ecx, [esi + 4]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x14], 0
mov edx, dword [ecx + 4]
mov dword [esp + 4], eax
cmp edx, dword [ecx + 8]
je 0x1002888d
mov dword [edx], eax
add dword [ecx + 4], 4
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x14]
add eax, ecx
mov dword [esi + 0x18], 0x2000
pop esi
pop ecx
ret 4
lea eax, [esp + 4]
push eax
push edx
call fcn.100288b0
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x18], 0x2000
add eax, ecx
pop esi
pop ecx
ret 4
Function at 0x1002ed30
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016d428
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
sub esp, 0x18
mov byte [ebp - 4], 1
lea eax, [ebx + 0x4a0]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.1001d090
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
push dword [ebp + 0x20]
lea eax, [ebp + 8]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
sub esp, 0xc
mov ecx, esp
push eax
call fcn.10030400
mov byte [ebp - 4], 1
call fcn.1002ef80
mov esi, dword [ebp - 0x10]
push dword [ebp + 0x24]
mov edi, dword [ebx + 0xd4]
push 0
mov eax, dword [esi]
push esi
mov ebx, dword [edi]
call dword [eax + 0x10]
push eax
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
push eax
push edi
call dword [ebx + 0x30]
test eax, eax
js 0x1002ee55
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
push dword [ebp + 0x30]
mov eax, dword [esi]
mov edi, dword [edi + 0xd4]
push esi
mov ebx, dword [edi]
call dword [eax + 0x10]
push eax
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
push eax
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push edi
call dword [ebx + 0x2c]
test eax, eax
js 0x1002ee63
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1002ee0c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1002ee42
mov edx, dword [ebp + 0x10]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1002ee38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002ee38
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100cd0a2
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
push 0x101aab74
lea eax, [ebp + 0x23]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push 0x101aab74
lea eax, [ebp + 0x23]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x10030210
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x30]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1003022a
pop esi
xor eax, eax
pop ebx
add esp, 0x28
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x10030252
mov ecx, dword [esi + 0x30]
mov ecx, dword [ecx]
add ecx, eax
cmp eax, ecx
jae 0x10030252
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
add esp, 0x28
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x1003031f
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x1003027b
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10030287
movsx eax, bl
jmp 0x100302c6
lea eax, [esp + 0x38]
mov byte [esp + 0xf], bl
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x23]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
test eax, eax
js 0x1003031f
cmp eax, 1
jle 0x100302e6
cmp eax, 3
jne 0x1003031f
movsx eax, byte [esp + 0xf]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
add esp, 0x28
ret 4
mov edi, dword [esp + 0x38]
lea eax, [esp + 0x14]
sub edi, eax
je 0x10030306
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1003031f
lea eax, [esp + 0xf]
mov byte [esi + 0x3d], 1
cmp dword [esp + 0x10], eax
je 0x1003031f
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x28
ret 4
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x28
ret 4
Function at 0x100307e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x24
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x10030872
cmp byte [esi + 0x3d], 0
je 0x10030872
push edi
push 0xffffffffffffffff
call fcn.10030210
cmp eax, 0xffffffff
je 0x1003086a
mov ecx, dword [esi + 0x38]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x10030839
sub eax, 1
je 0x1003083d
sub eax, 2
jne 0x1003086a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
add esp, 0x24
ret
mov byte [esi + 0x3d], 0
mov edi, dword [esp + 8]
lea eax, [esp + 0xc]
sub edi, eax
je 0x1003085d
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1003086a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
add esp, 0x24
ret
pop edi
xor al, al
pop esi
add esp, 0x24
ret
mov al, 1
pop esi
add esp, 0x24
ret
Function at 0x10034700
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub esp, 0x24
lea eax, [esp]
push ebx
push esi
push edi
push eax
push 1
call dword [0x101b8254]
test byte [esp + 0x34], 4
je 0x10034734
push 0x2601
push 0x2800
push dword [esp + 0x14]
call dword [0x101b8730]
push 0x2601
jmp 0x1003474d
push 0x2600
push 0x2800
push dword [esp + 0x14]
call dword [0x101b8730]
push 0x2600
push 0x2801
push dword [esp + 0x14]
call dword [0x101b8730]
mov eax, dword [esp + 0x34]
shr eax, 3
and eax, 7
add eax, 0xfffffffe
cmp eax, 3
ja case.default.0x1003476e
jmp dword [eax*4 + 0x10034940]
push 0x2700
jmp 0x1003478f
push 0x2702
jmp 0x1003478f
push 0x2701
jmp 0x1003478f
push 0x2703
push 0x2801
push dword [esp + 0x14]
call dword [0x101b8730]
test byte [esp + 0x34], 1
je 0x100347ac
push 0x2901
jmp 0x100347b1
push 0x812f
push 0x2802
push dword [esp + 0x14]
call dword [0x101b8730]
test byte [esp + 0x34], 2
je 0x100347ce
push 0x2901
jmp 0x100347d3
push 0x812f
push 0x2803
push dword [esp + 0x14]
call dword [0x101b8730]
push 0x812f
push 0x8072
push dword [esp + 0x14]
call dword [0x101b8730]
push str.MaxAnisotropy
mov ecx, 0x10761d60
call fcn.1005c680
mov ebx, eax
test ebx, ebx
je 0x10034930
test byte [esp + 0x34], 0x40
je 0x10034930
push 0x30
call fcn.1001d440
movups xmm0, xmmword [str.GL_ARB_texture_filter_anisotropic]
mov edi, eax
mov dword [esp + 0x28], 0x21
mov dword [esp + 0x2c], 0x2f
mov edx, 0x811c9dc5
mov dword [esp + 0x18], edi
movups xmmword [edi], xmm0
movups xmm0, xmmword [0x10197c90]
movups xmmword [edi + 0x10], xmm0
mov cl, byte [0x10197ca0]
mov byte [edi + 0x20], cl
xor ecx, ecx
mov byte [edi + 0x21], 0
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, 0x21
jb 0x10034860
push edx
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1001c9c0
push 0x30
push edi
mov esi, dword [eax + 4]
call fcn.100cd0a2
add esp, 8
test esi, esi
jne 0x10034914
push 0x30
call fcn.1001d440
movups xmm0, xmmword [str.GL_EXT_texture_filter_anisotropic]
mov edi, eax
mov dword [esp + 0x28], 0x21
mov dword [esp + 0x2c], 0x2f
mov edx, 0x811c9dc5
mov dword [esp + 0x18], edi
movups xmmword [edi], xmm0
movups xmm0, xmmword [0x10197cb4]
movups xmmword [edi + 0x10], xmm0
mov cl, byte [0x10197cc4]
mov byte [edi + 0x20], cl
xor ecx, ecx
mov byte [edi + 0x21], 0
nop
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, 0x21
jb 0x100348e0
push edx
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1001c9c0
push 0x30
push edi
mov esi, dword [eax + 4]
call fcn.100cd0a2
add esp, 8
test esi, esi
je 0x10034930
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
push ecx
movss dword [esp], xmm0
push 0x84fe
push dword [esp + 0x14]
call dword [0x101b8728]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4
Function at 0x1003a340
Capabilities:
Hash data using fnv

Disassembly:
mov edx, dword [esp + 4]
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
movzx eax, byte [edx + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
ret 4

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x45c
push esi
push 0x58
lea eax, [esp + 0xc]
mov esi, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 8]
add esp, 0xc
mov dword [esp + 0xc], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x260]
push eax
push 0x200
mov dword [esp + 0x10], 0x58
mov dword [esp + 0x44], 0x81000
mov byte [esp + 0x68], 0
mov dword [esp + 0x30], 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 8]
push eax
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
test eax, eax
je 0x1003b011
lea eax, [esp + 0x60]
push eax
push 0
push 0xc
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x1003deb0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
xorps xmm0, xmm0
movq qword [ecx + 4], xmm0
mov dword [ecx], 0x10198978
mov dword [ecx + 0xc], eax
test eax, eax
js 0x1003ded3
cmp eax, 0x2b
jg 0x1003ded3
mov eax, ecx
ret 4
push eax
push str.bad_err_d_in_Xbyak::Error_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.1001d650
add esp, 0xc
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x1003e790
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub esp, 0x30
mov eax, ecx
push ebp
mov dword [esp + 4], eax
push esi
mov eax, dword [eax + 4]
push edi
mov edi, dword [esp + 0x44]
mov ecx, edi
mov ebp, dword [eax]
add ebp, 8
cmp dword [edi + 0x14], 0x10
jb 0x1003e7b2
mov ecx, dword [edi]
mov esi, dword [edi + 0x10]
mov edx, esi
push 2
push 0x10198870
call fcn.1001d020
add esp, 8
test al, al
je 0x1003e89a
mov esi, dword [ebp + 4]
mov eax, 0x6640
mov dword [esp + 0x34], 0xf
mov edx, 0x811c9dc5
mov dword [esp + 0x30], 2
xor ecx, ecx
mov word [esp + 0x20], ax
mov byte [esp + 0x22], 0
movzx eax, byte [esp + ecx + 0x20]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, 2
jb 0x1003e7f7
push edx
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
lea eax, [esp + 0x18]
push eax
call fcn.10043a90
mov eax, dword [eax + 4]
test eax, eax
cmove eax, esi
cmp eax, esi
je 0x1003e834
push 2
push 0x10198874
jmp 0x1003e91a
mov eax, 0x6240
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 2
mov ecx, 0x811c9dc5
mov word [esp + 0x20], ax
xor edx, edx
mov byte [esp + 0x22], 0
nop word [eax + eax]
movzx eax, byte [esp + edx + 0x20]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, 2
jb 0x1003e860
push ecx
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
lea eax, [esp + 0x18]
push eax
call fcn.10043a90
mov eax, dword [eax + 4]
test eax, eax
cmove eax, esi
cmp eax, esi
je 0x1003e973
jmp 0x1003e921
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x1003e8a4
mov ecx, dword [edi]
push 2
push 0x10198874
mov edx, esi
call fcn.1001d020
add esp, 8
test al, al
je 0x1003e921
mov esi, dword [ebp + 4]
mov eax, 0x6640
mov dword [esp + 0x34], 0xf
mov edx, 0x811c9dc5
mov dword [esp + 0x30], 2
xor ecx, ecx
mov word [esp + 0x20], ax
mov byte [esp + 0x22], 0
movzx eax, byte [esp + ecx + 0x20]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, 2
jb 0x1003e8e2
push edx
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
lea eax, [esp + 0x18]
push eax
call fcn.10043a90
mov eax, dword [eax + 4]
test eax, eax
cmove eax, esi
cmp eax, esi
je 0x1003e921
push 2
push 0x10198870
mov ecx, edi
call fcn.1001d4d0
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x1003e92b
mov edx, dword [edi]
mov eax, dword [esp + 0xc]
cmp byte [edx], 0x2e
push edi
mov eax, dword [eax + 4]
lea ecx, [eax + 4]
cmovne ecx, eax
lea eax, [esp + 0x48]
push eax
mov esi, dword [ecx]
lea ecx, [esi + 8]
call fcn.10042de0
mov eax, dword [esp + 0x44]
cmp eax, dword [esi + 0xc]
jne 0x1003e95f
xor al, al
pop edi
pop esi
pop ebp
add esp, 0x30
ret 8
mov ecx, dword [eax + 0x20]
mov eax, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
mov al, 1
add esp, 0x30
ret 8
push 0xb
lea ecx, [esp + 0x14]
call fcn.1003deb0
push 0x101aac88
lea eax, [esp + 0x14]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1003f000
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x14
mov edx, dword [esp + 0x1c]
mov ecx, eax
or ecx, edx
push esi
mov esi, dword [esp + 0x24]
or ecx, esi
push edi
test eax, eax
jle 0x1003f026
cmp eax, ecx
je 0x1003f026
mov edi, 1
jmp 0x1003f028
xor edi, edi
test edx, edx
jle 0x1003f037
cmp edx, ecx
je 0x1003f037
mov edx, 1
jmp 0x1003f039
xor edx, edx
test esi, esi
jle 0x1003f048
cmp esi, ecx
je 0x1003f048
mov eax, 1
jmp 0x1003f04a
xor eax, eax
add eax, edx
add eax, edi
je 0x1003f0a8
mov esi, dword [esp + 0x2c]
xorps xmm0, xmm0
movq qword [esp + 0xc], xmm0
mov dword [esp + 0x14], esi
cmp esi, 0x2b
ja 0x1003f086
lea eax, [esp + 0xc]
mov dword [esp + 8], vtable.std::exception.0
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_exception_destroy]
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x14
ret 0x10
push esi
push str.bad_err_d_in_Xbyak::Error_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.1001d650
add esp, 0xc
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
pop edi
mov eax, ecx
pop esi
add esp, 0x14
ret 0x10
Function at 0x1003f8b0
Capabilities:
Hash data using fnv

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x1003f8df
push dword [esp + 0x3c]
lea eax, [edi + 8]
push dword [esp + 0x38]
push eax
call fcn.1003f540
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x10
cmp eax, 2
je 0x1003f8ed
cmp eax, 3
jne 0x1003fa4d
mov al, byte [esp + 0x34]
and al, 7
shl al, 3
movzx eax, al
or eax, 5
push eax
call fcn.1003e200
cmp dword [edi + 0x20], 0
mov ecx, edi
je 0x1003fa21
call fcn.1003e320
mov edi, dword [edi + 0x20]
mov ebx, eax
sub ebx, dword [esp + 0x38]
cmp dword [esi + 0xc], 3
jne 0x1003f934
mov ecx, dword [esi + 0x20]
add ecx, 0x10
cmp ecx, dword [esi + 0x18]
jb 0x1003f934
mov ecx, esi
call fcn.1003e080
mov edx, dword [edi + 4]
test edx, edx
jne 0x1003f947
mov eax, dword [esi + 0x30]
mov dword [edi + 4], eax
inc dword [esi + 0x30]
mov edx, dword [edi + 4]
movzx eax, dl
xor eax, 0x811c9dc5
mov ebp, dword [esi + 0x38]
imul ecx, eax, 0x1000193
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, edx
imul ecx, ecx, 0x1000193
shr eax, 0x10
movzx eax, al
xor ecx, eax
mov eax, edx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x4c]
and ecx, eax
mov eax, dword [esi + 0x40]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx + 4]
cmp eax, ebp
je 0x1003f9d6
mov ecx, dword [ecx]
cmp edx, dword [eax + 8]
je 0x1003f9ac
nop
cmp eax, ecx
je 0x1003f9d6
mov eax, dword [eax + 4]
cmp edx, dword [eax + 8]
jne 0x1003f9a0
test eax, eax
cmove eax, ebp
cmp eax, ebp
je 0x1003f9d6
sub ebx, dword [esi + 0x20]
mov ecx, esi
mov eax, dword [eax + 0xc]
add ebx, 0xfffffffc
push 4
add eax, ebx
push 0
push eax
call fcn.1003e250
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x10
push 4
push 0
push 0
mov ecx, esi
call fcn.1003e250
mov eax, dword [edi + 4]
lea ecx, [esi + 0x54]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x20], 4
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], ebx
call fcn.10043030
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x10
call fcn.1003e320
cmp dword [edi + 0x24], 3
mov ecx, eax
jne 0x1003fa45
cmp dword [esi + 0xc], 3
je 0x1003fa57
mov eax, 0xfffffffc
sub eax, dword [esi + 0x20]
sub eax, dword [esi + 0x1c]
sub eax, dword [esp + 0x38]
add ecx, eax
push ecx
mov ecx, esi
call fcn.1003e2c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x10
push 0x2a
lea ecx, [esp + 0x18]
call fcn.1003deb0
push 0x101aac88
lea eax, [esp + 0x18]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x10042a80
Capabilities:
Hash data using fnv

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x24]
mov ebx, ecx
cmp edx, ebp
je 0x10042bef
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x24], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
push esi
push edi
mov edi, dword [ebx + 0xc]
mov esi, edx
xor ecx, eax
mov dword [esp + 0x20], edi
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 [edi + eax*8]
mov dword [esp + 0x14], ecx
lea eax, [edi + eax*8]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
nop dword [eax]
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x1c
push eax
call fcn.100cd0a2
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [esp + 0x1c]
je 0x10042b47
cmp esi, ebp
jne 0x10042b00
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x28]
jne 0x10042be4
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
pop edi
mov dword [ecx], esi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp eax, dword [esp + 0x28]
jne 0x10042b5d
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
jmp 0x10042b61
mov eax, dword [esp + 0x2c]
mov dword [ecx + 4], eax
cmp esi, ebp
je 0x10042be4
nop dword [eax]
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
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]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
mov eax, dword [esp + 0x20]
lea eax, [eax + ecx*8]
mov dword [esp + 0x28], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
nop word [eax + eax]
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x1c
push eax
call fcn.100cd0a2
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [esp + 0x1c]
je 0x10042bf9
cmp esi, ebp
jne 0x10042bc0
mov eax, dword [esp + 0x28]
mov dword [eax], esi
mov eax, dword [esp + 0x2c]
pop edi
mov dword [eax], esi
mov dword [esi + 4], eax
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x14
ret 8
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp esi, ebp
jne 0x10042b70
mov eax, dword [esp + 0x2c]
pop edi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8