joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10042890
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10068380]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x100428c0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10054c5d
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x100428fc
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x100428fc
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10054c5d
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x100429d3
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10042924
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 0x10042930
movsx eax, bl
jmp 0x10042968
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
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]
sub eax, 0
je 0x10042992
sub eax, 1
je 0x10042992
sub eax, 2
jne 0x100429d3
movsx eax, byte [ebp - 0x25]
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
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10054c5d
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x100429b0
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 0x100429d3
lea ecx, [ebp - 0x25]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 0x30], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10054c5d
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10054c5d
mov esp, ebp
pop ebp
ret 4
Function at 0x10042be0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10068380]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x10042c9c
cmp byte [esi + 0x3d], 0
je 0x10042c9c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10042c8a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
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 0x10042c51
sub eax, 1
je 0x10042c55
sub eax, 2
jne 0x10042c8a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10054c5d
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10042c73
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 0x10042c8a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10054c5d
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10054c5d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.10054c5d
mov esp, ebp
pop ebp
ret

Function at 0x10045580
Capabilities:
Write file on windows

Disassembly:
push esi
push 0x10059ee4
push str.Resources_polzsave.dat
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x100455b8
push esi
push 1
push 0xe8
call fcn.10051aa0
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop esi
ret
Function at 0x1004c390
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x10068380]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
push 0
mov dword [esp + 0xc], esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1004c3d0
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
jne 0x1004c405
call dword [sym.imp.USER32.dll_CloseClipboard]
xorps xmm0, xmm0
mov ecx, esi
movups xmmword [esi], xmm0
push 0
mov dword [esi + 0x10], 0
push 0x1005f23e
mov dword [esi + 0x14], 0
call fcn.10005390
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10054c5d
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
test edx, edx
je 0x1004c3ca
mov ecx, edx
mov dword [esp + 0x20], 0
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
movaps xmmword [esp + 0x10], xmm0
lea eax, [ecx + 1]
mov dword [esp + 8], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004c433
sub ecx, dword [esp + 8]
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.10005390
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x3c]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov eax, esi
movups xmm0, xmmword [esp + 0x10]
mov dword [esi + 0x14], 0
pop edi
movups xmmword [esi], xmm0
movq xmm0, qword [esp + 0x1c]
movq qword [esi + 0x10], xmm0
pop esi
xor ecx, esp
call fcn.10054c5d
mov esp, ebp
pop ebp
ret

Function at 0x1004c560
Capabilities:
Hash data using fnv

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [0x1006ad88]
movzx eax, byte [esi + 0x2c4]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 0x2c5]
xor edx, eax
movzx eax, byte [esi + 0x2c6]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 0x2c7]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [0x1006ad9c]
and ecx, eax
mov eax, dword [0x1006ad90]
lea edx, [eax + ecx*8]
mov eax, dword [edx + 4]
cmp eax, edi
je 0x1004c5eb
mov ecx, dword [esi + 0x2c4]
mov edx, dword [edx]
cmp ecx, dword [eax + 8]
je 0x1004c5ed
nop dword [eax]
cmp eax, edx
je 0x1004c5eb
mov eax, dword [eax + 4]
cmp ecx, dword [eax + 8]
jne 0x1004c5d0
test eax, eax
mov ecx, edi
cmovne ecx, eax
cmp ecx, edi
pop edi
setne al
pop esi
ret
xor eax, eax
test eax, eax
mov ecx, edi
cmovne ecx, eax
cmp ecx, edi
pop edi
setne al
pop esi
ret
Function at 0x1004fe10
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x18
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
cmp edx, eax
je 0x1004ff64
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 4]
mov dword [ebp - 8], 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 [ebp - 0x18], 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 [ebp - 4], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x10
push eax
call fcn.10054fba
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x10]
je 0x1004fec9
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x1004fe87
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x1004ff5a
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
pop edi
mov dword [edx], esi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x1004fedd
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov dword [edx], eax
jmp 0x1004fee0
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x1004ff5a
nop word [eax + 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 [ebp - 0x18]
and eax, dword [ebx + 0x18]
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x10
push eax
call fcn.10054fba
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp - 0x10]
je 0x1004ff6b
cmp esi, eax
jne 0x1004ff35
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x1004fef0
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1004ff90
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057d4a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
mov eax, dword [0x10068380]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, edx
mov dword [ebp - 0x20], ecx
mov eax, ecx
mov esi, ecx
shr eax, 0x10
mov dword [ebp - 0x24], eax
mov eax, ecx
shr eax, 8
shr esi, 0x18
mov dword [ebp - 0x1c], eax
call fcn.1004fb20
mov ecx, dword [ebp - 0x20]
mov edi, eax
mov dword [ebp - 0x18], ecx
movzx ecx, cl
xor ecx, 0x811c9dc5
mov dword [ebp - 0x2c], edi
imul edx, ecx, 0x1000193
mov ecx, dword [ebp - 0x1c]
movzx ecx, cl
xor edx, ecx
mov ecx, dword [ebp - 0x24]
imul edx, edx, 0x1000193
movzx ecx, cl
xor edx, ecx
mov ecx, edi
imul eax, edx, 0x1000193
xor eax, esi
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10050540
mov eax, dword [eax + 4]
test eax, eax
je 0x10050052
cmp eax, dword [edi + 4]
je 0x10050052
mov eax, dword [eax + 0xc]
add eax, 4
jmp 0x100500f8
push 0x24
call fcn.10054c6b
mov edi, eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0
lea esi, [edi + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], esi
movups xmmword [edi], xmm0
push 0x18
movups xmmword [edi + 0x10], xmm0
mov dword [edi + 0x20], 0
mov dword [edi], 0x1006176c
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.10054c6b
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
push dword [esi + 4]
push 0x10
call fcn.1004fd10
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.10050c10
mov dword [eax], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10054c5d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10050120
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10068380]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, edx
call fcn.1004fb20
mov ecx, ebx
mov dword [ebp - 8], ebx
shr ecx, 8
mov edi, eax
movzx edx, cl
mov eax, ebx
movzx ecx, bl
xor ecx, 0x811c9dc5
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
shr ebx, 0x18
xor edx, ecx
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
xor eax, ebx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10050540
mov eax, dword [eax + 4]
test eax, eax
je 0x100501ac
cmp eax, dword [edi + 4]
je 0x100501ac
mov eax, dword [eax + 0xc]
add eax, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10054c5d
mov esp, ebp
pop ebp
ret
push 8
call fcn.10054c6b
mov esi, eax
add esp, 4
xorps xmm0, xmm0
lea eax, [ebp - 8]
mov ecx, edi
movq qword [esi], xmm0
push eax
mov dword [esi], vtable.ValueContainer_class_cocos2d::CCSpriteBatchNode__.0
call fcn.10050c10
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [eax], esi
lea eax, [esi + 4]
pop esi
pop ebx
call fcn.10054c5d
mov esp, ebp
pop ebp
ret
Function at 0x100501f0
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057daa
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
mov eax, dword [0x10068380]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, edx
mov dword [ebp - 0x20], ecx
mov eax, ecx
mov esi, ecx
shr eax, 0x10
mov dword [ebp - 0x24], eax
mov eax, ecx
shr eax, 8
shr esi, 0x18
mov dword [ebp - 0x1c], eax
call fcn.1004fb20
mov ecx, dword [ebp - 0x20]
mov edi, eax
mov dword [ebp - 0x18], ecx
movzx ecx, cl
xor ecx, 0x811c9dc5
mov dword [ebp - 0x2c], edi
imul edx, ecx, 0x1000193
mov ecx, dword [ebp - 0x1c]
movzx ecx, cl
xor edx, ecx
mov ecx, dword [ebp - 0x24]
imul edx, edx, 0x1000193
movzx ecx, cl
xor edx, ecx
mov ecx, edi
imul eax, edx, 0x1000193
xor eax, esi
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10050540
mov eax, dword [eax + 4]
test eax, eax
je 0x100502b2
cmp eax, dword [edi + 4]
je 0x100502b2
mov eax, dword [eax + 0xc]
add eax, 4
jmp 0x10050358
push 0x24
call fcn.10054c6b
mov edi, eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0
lea esi, [edi + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], esi
movups xmmword [edi], xmm0
push 0x10
movups xmmword [edi + 0x10], xmm0
mov dword [edi + 0x20], 0
mov dword [edi], vtable.ValueContainer_class_std::unordered_map_enum_gd::CustomColorMode__bool__struct_std::hash_enum_gd::CustomColorMode___struct_std::equal_to_enum_gd::CustomColorMode___class_std::allocator_struct_std::pair_enum_gd::CustomColorMode_const___bool____.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.10054c6b
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
push dword [esi + 4]
push 0x10
call fcn.1004fd10
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.10050c10
mov dword [eax], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10054c5d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10050380
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x10068380]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
push edi
mov ebx, edx
call fcn.1004fb20
mov ecx, ebx
mov dword [esp + 0x18], ebx
shr ecx, 8
mov edi, eax
movzx edx, cl
mov eax, ebx
movzx ecx, bl
xor ecx, 0x811c9dc5
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
shr ebx, 0x18
xor edx, ecx
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
xor eax, ebx
imul eax, eax, 0x1000193
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.10050540
mov eax, dword [eax + 4]
test eax, eax
je 0x10050414
cmp eax, dword [edi + 4]
je 0x10050414
mov eax, dword [eax + 0xc]
add eax, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.10054c5d
mov esp, ebp
pop ebp
ret
push 8
call fcn.10054c6b
add esp, 4
mov esi, eax
lea eax, [esp + 0x18]
xorps xmm0, xmm0
mov ecx, edi
push eax
lea eax, [esp + 0x14]
movq qword [esi], xmm0
push eax
mov dword [esi], vtable.ValueContainer_float_.0
call fcn.100514e0
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, dword [eax]
mov dword [eax + 0xc], esi
lea eax, [esi + 4]
pop esi
pop ebx
xor ecx, esp
call fcn.10054c5d
mov esp, ebp
pop ebp
ret
Function at 0x100505b0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057e35
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x10068380]
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 - 0x1c], edx
mov dword [ebp - 0x24], 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 - 0x20], eax
lea eax, [ebp - 0x18]
push edx
push eax
call fcn.10050540
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1005063a
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x10050785
cmp dword [ebx + 8], 0xfffffff
jne 0x1005064e
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 - 0x2c], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x28], 0
call fcn.10054c6b
mov ecx, dword [ebp - 0x1c]
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], 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]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10062080]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10062080]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10050738
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.10056860
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x1005071a
cmp eax, 0x200
jae 0x10050718
shl eax, 3
cmp eax, ecx
jae 0x1005071a
mov eax, ecx
push eax
mov ecx, ebx
call fcn.10050ce0
push dword [ebp - 0x20]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10050540
mov edx, dword [eax]
jmp 0x1005073b
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x2c]
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 - 0x1c], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x20]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x10050766
mov dword [ecx + eax*8], esi
jmp 0x10050778
cmp ebx, edx
jne 0x1005076f
mov dword [ecx + eax*8], esi
jmp 0x1005077c
mov edx, dword [ebp - 0x1c]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1005077c
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x24]
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 0x10050ce0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x10050d11
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, 1
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.1004fd10
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x10050e1c
nop word [eax + eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x10], edx
cmp edi, esi
jne 0x10050da1
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x10050e12
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x10050ddb
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x10050dd3
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x10050e0f
cmp edi, edx
je 0x10050dec
nop
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x10050e25
cmp edi, edx
jne 0x10050de0
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x10050d50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x10050e0f