joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007b450
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xee0
push esi
mov esi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1007b47f
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push eax
call sub.IMM32.dll_ImmGetConversionStatus
lea eax, [ebp - 0x224]
push eax
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
mov ecx, esi
call fcn.1007ab00
test al, al
je case.default.0x1007b4ae
mov eax, dword [ebp - 0x220]
dec eax
cmp eax, 3
ja case.default.0x1007b4ae
jmp dword [eax*4 + 0x1007b608]
push 0x1010327c
push str.IME_Chinese
push dword [ebp - 4]
lea eax, [ebp - 0xee0]
mov ecx, esi
push eax
call fcn.1007aab0
push 0x1010328c
jmp 0x1007b5c5
push 0x101032dc
push str.IME_Hiragana
push dword [ebp - 4]
lea eax, [ebp - 0xee0]
mov ecx, esi
push eax
call fcn.1007aab0
push 0x101032fc
push str.IME_FullWidthKatakana
push dword [ebp - 4]
lea eax, [ebp - 0xcc1]
mov ecx, esi
push eax
call fcn.1007aab0
push 0x1010331c
push str.IME_FullWidthAlphanumeric
push dword [ebp - 4]
lea eax, [ebp - 0xaa2]
mov ecx, esi
push eax
call fcn.1007aab0
push 0x1010330c
push str.IME_HalfWidthKatakana
push dword [ebp - 4]
lea eax, [ebp - 0x883]
mov ecx, esi
push eax
call fcn.1007aab0
push 0x1010332c
push str.IME_HalfWidthAlphanumeric
push dword [ebp - 4]
lea eax, [ebp - 0x664]
mov ecx, esi
push eax
call fcn.1007aab0
push 0x101032ec
push str.IME_English
push dword [ebp - 4]
lea eax, [ebp - 0x445]
mov ecx, esi
push eax
call fcn.1007aab0
mov edx, 6
jmp 0x1007b5e0
push 0x101032bc
push str.IME_Korean
push dword [ebp - 4]
lea eax, [ebp - 0xee0]
mov ecx, esi
push eax
call fcn.1007aab0
push 0x101032cc
jmp 0x1007b5c5
push 0x1010329c
push str.IME_Chinese
push dword [ebp - 4]
lea eax, [ebp - 0xee0]
mov ecx, esi
push eax
call fcn.1007aab0
push 0x101032ac
push str.IME_English
push dword [ebp - 4]
lea eax, [ebp - 0xcc1]
mov ecx, esi
push eax
call fcn.1007aab0
mov edx, 2
mov ecx, dword [esi + 4]
fldz
push ecx
fstp dword [esp]
mov eax, dword [ecx]
push 0
push edx
lea edx, [ebp - 0xee0]
push edx
push str.IMEConversionModes
push dword [ebp + 8]
call dword [eax]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1007b8e0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xaa0
push esi
mov esi, ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1007b90f
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
call sub.IMM32.dll_ImmGetConversionStatus
lea eax, [ebp - 0xaa0]
push eax
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
mov ecx, esi
call fcn.1007ab00
test al, al
je 0x1007bac8
mov eax, dword [ebp - 0xa9c]
sub eax, 2
jne 0x1007bac8
mov edx, dword [ebp - 4]
test dword [0x10103354], edx
je 0x1007b94c
xor al, al
jmp 0x1007b95c
mov eax, dword [0x10103358]
and eax, edx
cmp eax, dword [0x10103358]
sete al
mov byte [ebp - 0x878], al
xor eax, eax
push 0x100
mov word [ebp - 0x877], ax
lea eax, [ebp - 0x865]
push str.IME_General
push eax
mov dword [ebp - 0x884], 0x1010334c
mov dword [ebp - 0x880], 0
call fcn.100b1b42
mov edx, dword [ebp - 4]
add esp, 0xc
test dword [0x10103364], edx
je 0x1007b9a7
xor al, al
jmp 0x1007b9b7
mov eax, dword [0x10103368]
and eax, edx
cmp eax, dword [0x10103368]
sete al
mov byte [ebp - 0x659], al
xor eax, eax
push 0x100
mov word [ebp - 0x658], ax
lea eax, [ebp - 0x646]
push str.IME_BiasNames
push eax
mov dword [ebp - 0x665], 0x1010335c
mov dword [ebp - 0x661], 0
call fcn.100b1b42
mov edx, dword [ebp - 4]
add esp, 0xc
test dword [0x10103374], edx
je 0x1007ba02
xor al, al
jmp 0x1007ba12
mov eax, dword [0x10103378]
and eax, edx
cmp eax, dword [0x10103378]
sete al
mov byte [ebp - 0x43a], al
xor eax, eax
push 0x100
mov word [ebp - 0x439], ax
lea eax, [ebp - 0x427]
push str.IME_BiasSpeech
push eax
mov dword [ebp - 0x446], 0x1010336c
mov dword [ebp - 0x442], 0
call fcn.100b1b42
mov edx, dword [ebp - 4]
add esp, 0xc
test dword [0x10103344], edx
je 0x1007ba5d
xor al, al
jmp 0x1007ba6d
mov eax, dword [0x10103348]
and eax, edx
cmp eax, dword [0x10103348]
sete al
mov byte [ebp - 0x21b], al
xor eax, eax
push 0x100
mov word [ebp - 0x21a], ax
lea eax, [ebp - 0x208]
push str.IME_NoConversion
push eax
mov dword [ebp - 0x227], 0x1010333c
mov dword [ebp - 0x223], 0
call fcn.100b1b42
fldz
lea edx, [ebp - 0x884]
mov ecx, dword [esi + 4]
add esp, 8
mov eax, dword [ecx]
fstp dword [esp]
push 0
push 4
push edx
push str.IMESentenceModes
push dword [ebp + 8]
call dword [eax]
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x1007bcc0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
lea eax, [ebp - 0x21c]
push eax
push dword [ebp + 8]
call fcn.1007ab00
test al, al
je 0x1007bd1d
lea eax, [ebp - 0x214]
push eax
push str.IME_language_changed_to:___s
lea eax, [ebp - 0x61c]
push 0x200
push eax
call fcn.10057c20
xor eax, eax
add esp, 0x10
mov word [ebp - 0x21e], ax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x100dafcc
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esp, ebp
pop ebp
ret 4
Function at 0x1007c350
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x40]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov ecx, dword [ebp + 8]
cmp byte [eax + ecx], 0
jge 0x1007c3d7
mov eax, dword [edi + 0x44]
test al, 2
je 0x1007c390
cmp byte [ecx + 0x1d], 0
jl 0x1007c390
cmp byte [ecx + 0x9d], 0
jge 0x1007c3d7
test al, 4
je 0x1007c3a3
cmp byte [ecx + 0x38], 0
jl 0x1007c3a3
cmp byte [ecx + 0xb8], 0
jge 0x1007c3d7
test al, 1
je 0x1007c3b3
cmp byte [ecx + 0x2a], 0
jl 0x1007c3b3
cmp byte [ecx + 0x36], 0
jge 0x1007c3d7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [edi + 0x24]
mov ecx, eax
sub ecx, edx
cmp ecx, 0xfa
ja 0x1007c3cc
cmp eax, edx
jae 0x1007c3d7
mov dword [edi + 0x24], eax
mov al, 1
pop edi
pop esi
pop ebp
ret 4
pop edi
xor al, al
pop esi
pop ebp
ret 4

Function at 0x1007c3e0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x50]
test edi, edi
je 0x1007c47e
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov ecx, dword [ebp + 8]
cmp byte [eax + ecx], 0
jge 0x1007c47e
mov eax, dword [esi + 0x54]
test al, 2
je 0x1007c428
cmp byte [ecx + 0x1d], 0
jl 0x1007c428
cmp byte [ecx + 0x9d], 0
jge 0x1007c47e
test al, 4
je 0x1007c43b
cmp byte [ecx + 0x38], 0
jl 0x1007c43b
cmp byte [ecx + 0xb8], 0
jge 0x1007c47e
test al, 1
je 0x1007c44b
cmp byte [ecx + 0x2a], 0
jl 0x1007c44b
cmp byte [ecx + 0x36], 0
jge 0x1007c47e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov eax, dword [esi + 0x2c]
mov ecx, edi
sub ecx, eax
cmp ecx, 0xfa
ja 0x1007c466
cmp edi, eax
jae 0x1007c47e
push str.Detected_Movie_hot_key_via_dinput_n
call fcn.10081660
add esp, 4
mov dword [esi + 0x2c], edi
mov al, 1
pop edi
pop esi
pop ebp
ret 4
pop edi
xor al, al
pop esi
pop ebp
ret 4
Function at 0x1007c490
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x48]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov ecx, dword [ebp + 8]
cmp byte [eax + ecx], 0
jge 0x1007c526
mov eax, dword [edi + 0x4c]
test al, 2
je 0x1007c4d0
cmp byte [ecx + 0x1d], 0
jl 0x1007c4d0
cmp byte [ecx + 0x9d], 0
jge 0x1007c526
test al, 4
je 0x1007c4e3
cmp byte [ecx + 0x38], 0
jl 0x1007c4e3
cmp byte [ecx + 0xb8], 0
jge 0x1007c526
test al, 1
je 0x1007c4f3
cmp byte [ecx + 0x2a], 0
jl 0x1007c4f3
cmp byte [ecx + 0x36], 0
jge 0x1007c526
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov eax, dword [edi + 0x28]
mov ecx, esi
sub ecx, eax
cmp ecx, 0xfa
ja 0x1007c50e
cmp esi, eax
jae 0x1007c526
push str.Detected_screenshot_hot_key_via_dinput_n
call fcn.10081660
add esp, 4
mov dword [edi + 0x28], esi
mov al, 1
pop edi
pop esi
pop ebp
ret 4
pop edi
xor al, al
pop esi
pop ebp
ret 4
Function at 0x1007d7f0
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60c
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x38], 0
jne 0x1007da12
mov eax, dword [esi + 0xa8]
cdq
mov dword [ebp - 0x608], eax
lea eax, [ebp - 0x60c]
push eax
mov byte [esi + 0x38], 1
mov dword [ebp - 0x60c], 1
mov dword [ebp - 0x604], edx
mov byte [ebp - 0x600], 1
call fcn.10074c30
add esp, 4
lea ecx, [esi + 4]
call fcn.10050a80
mov eax, dword [0x1010843c]
test eax, eax
je 0x1007d8ab
cmp byte [esi + 0xd0], 0
je 0x1007d876
push 0
call eax
add eax, 1
mov dword [0x10108420], eax
js 0x1007d872
push 0
call dword [0x1010843c]
test eax, eax
jns 0x1007d866
xor al, al
jmp 0x1007d892
push 1
call eax
add eax, 0xffffffff
mov dword [0x10108420], eax
jns 0x1007d890
push 1
call dword [0x1010843c]
test eax, eax
js 0x1007d884
mov al, 1
mov byte [esi + 0xd1], al
push dword [0x10108420]
push str.Showing_overlay_and_saving_cursor_show_count:__d_n
call fcn.10081660
add esp, 8
mov eax, dword [0x10108440]
test eax, eax
je 0x1007d8bb
push 0x10108424
call eax
mov eax, dword [0x10108438]
test eax, eax
je 0x1007d8d9
call eax
push eax
push str.Saved_Cursor:__p_n
mov dword [0x1010842c], eax
call fcn.10081660
add esp, 8
push 2
mov ecx, esi
call fcn.1007efb0
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x1007d971
push 0xfffffffffffffff4
push eax
call dword [sym.imp.USER32.dll_GetClassLongW]
push 0
push 0xfffffffffffffff4
push dword [esi + 0xa8]
mov dword [esi + 0xd8], eax
call dword [sym.imp.USER32.dll_SetClassLongW]
mov eax, dword [esi + 0xd8]
cdq
push edx
push eax
push str.Saved_GCLP_HCURSOR:__llu_n
call fcn.10081660
mov eax, dword [0x1010845c]
add esp, 0xc
test eax, eax
je 0x1007d93c
push dword [esi + 0xa8]
call eax
mov dword [esi + 0xdc], eax
cmp dword [0x10108470], 0
je 0x1007d971
mov eax, dword [0x1010337c]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [0x10103380]
mov dword [ecx + 4], eax
mov eax, dword [0x10103384]
mov dword [ecx + 8], eax
mov eax, dword [0x10103388]
mov dword [ecx + 0xc], eax
call fcn.1007f700
add esp, 0x10
cmp byte [esi + 0x103d4], 0
jne 0x1007d9d9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10108530], eax
mov edi, dword [esi + 0x16c]
test edi, edi
jne 0x1007d997
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
push edi
push 0
push 0x1007dc90
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [esi + 0x164], eax
test eax, eax
jne 0x1007d9b8
push str.WH_GETMESSAGE_hook_failed_n
jmp 0x1007d9de
push edi
push 0
push 0x1007d330
push 4
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [esi + 0x168], eax
test eax, eax
jne 0x1007d9e6
push str.WH_CALLWNDPROC_hook_failed_n
jmp 0x1007d9de
push str.Not_using_SetWindowsHookExW_for_this_process_n
call fcn.10081660
add esp, 4
call fcn.10072c30
call fcn.1006fcf0
call fcn.10073380
call fcn.10070510
mov ecx, esi
call fcn.1007d610
mov ecx, dword [0x1010851c]
push dword [esi + 0xa8]
mov eax, dword [ecx]
call dword [eax + 0x54]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1007e0c0
Capabilities:
Check for time delay via gettickcount
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x164], 0
je 0x1007e157
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov edx, dword [esi + 0xb0]
cmp eax, edx
jb 0x1007e100
mov ecx, dword [esi + 0xb4]
cmp eax, ecx
jb 0x1007e100
cmp ecx, edx
jbe 0x1007e157
sub ecx, edx
cmp ecx, 0x1f4
jbe 0x1007e157
push str.Reseting_get_message_hook_because_we_think_it_may_have_died_n
call fcn.10081660
add esp, 4
push dword [esi + 0x164]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
call edi
mov dword [0x10108530], eax
mov eax, dword [esi + 0x16c]
test eax, eax
jne 0x1007e130
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x1007dc90
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [esi + 0x164], eax
test eax, eax
jne 0x1007e157
push str.WH_GETMESSAGE_hook_failed_n
call fcn.10081660
add esp, 4
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
test edi, edi
jne 0x1007e177
cmp byte [esi + 0xc4], al
jne 0x1007e18f
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
test edi, edi
je 0x1007e18f
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 4], eax
je 0x1007e198
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0xc4], 0
je 0x1007e1f9
mov eax, dword [esi + 0xa8]
cmp eax, edi
je 0x1007e226
test eax, eax
je 0x1007e1f9
push str.Reattaching_input_because_g_hWndGame_has_changed..._n
call fcn.10081660
add esp, 4
cmp dword [esi + 0xa8], 0
je 0x1007e206
push str.Detaching_input_hook..._n
call fcn.10081660
add esp, 4
mov ecx, esi
call fcn.1007d400
mov ecx, 0x10108484
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
call fcn.10050500
jmp 0x1007e206
push str.Trying_to_setup_input_hook..._n
call fcn.10081660
add esp, 4
push str.Set_input_hook..._n
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], ebx
mov byte [esi + 0xc4], 1
call fcn.10081660
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10081310
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
test eax, eax
je 0x10081357
push str.__typegpu_process
push eax
call fcn.100a3e10
add esp, 8
test eax, eax
je 0x10081357
push str.libcef.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x10081357
push str.We_wont_start_a_UI_process__because_we_see_this_is_CEF_Chromium_GPU_process_n
call fcn.10081660
add esp, 4
xor al, al
mov esp, ebp
pop ebp
ret
push 0x100
lea eax, [ebp - 0x100]
push eax
push str.SteamNoOverlayUIDrawing
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x100813a0
cmp eax, 0x100
jae 0x100813a0
lea eax, [ebp - 0x100]
push eax
call fcn.100b2eda
add esp, 4
cmp eax, 1
jne 0x100813a0
push str.SteamNoOverlayUIDrawing_was_set_n
call fcn.10081660
add esp, 4
xor al, al
mov esp, ebp
pop ebp
ret
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x10082220
Capabilities:
Link many functions at runtime

Disassembly:
cmp byte [0x1011888b], 0
je 0x10082235
mov byte [0x1011888b], 0
jmp fcn.10081a30
ret

Function at 0x100822d0
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
cmp byte [ebp + 8], 0
push ebx
push edi
je 0x1008237d
mov edi, dword [0x10118d40]
mov ebx, dword [0x10118d3c]
sub edi, ebx
sar edi, 2
test edi, edi
je 0x1008237d
push esi
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.100a3330
add esp, 0xc
xor esi, esi
test edi, edi
jle 0x10082364
mov edi, 0x100dba6c
push dword [ebx + esi*4]
test esi, esi
mov eax, 0x100cffdc
cmovne eax, edi
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10081250
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.100a6de9
mov eax, dword [0x10118d40]
inc esi
mov ebx, dword [0x10118d3c]
add esp, 0x18
sub eax, ebx
sar eax, 2
cmp esi, eax
jl 0x10082320
lea eax, [ebp - 0x410]
push eax
push str._SteamInjectionPIDs
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push str._SteamInjectionPIDs
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10085870
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cb9c5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.100857b0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x100858f8
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 8], 0x38e38e3
je 0x10085a0a
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], eax
push 0x48
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
call fcn.100a19fe
mov ecx, dword [ebx]
mov esi, eax
push 0x38
push 0
mov dword [ebp - 0x18], esi
mov dword [esi + 8], ecx
lea ecx, [esi + 0x10]
push ecx
mov dword [ebp - 0x24], esi
call fcn.100a3330
add esp, 0x10
mov ecx, dword [edi + 8]
fld dword [edi]
mov dword [ebp - 4], 1
lea edx, [ecx + 1]
mov dword [ebp - 0x10], edx
fild dword [ebp - 0x10]
test edx, edx
jns 0x1008595f
fadd dword [0x100cf570]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
mov eax, dword [edi + 0x1c]
fild dword [edi + 0x1c]
test eax, eax
jns 0x10085975
fadd dword [0x100cf570]
fstp dword [ebp - 0x10]
fdiv dword [ebp - 0x10]
fcompi st(1)
fstp st(0)
ja 0x10085986
mov edx, dword [ebp - 0x20]
jmp 0x100859ad
push edx
mov ecx, edi
call fcn.1008b2c0
push eax
mov ecx, edi
call fcn.1008b350
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.100857b0
mov ecx, dword [edi + 8]
mov edx, dword [eax]
mov ebx, dword [edx + 4]
lea eax, [ecx + 1]
mov dword [edi + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x18]
jne 0x100859db
mov dword [ecx + eax*8], esi
jmp 0x100859ea
cmp edi, edx
jne 0x100859e4
mov dword [ecx + eax*8], esi
jmp 0x100859ee
cmp dword [ecx + eax*8 + 4], ebx
jne 0x100859ee
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.100a0ad7
int3
Function at 0x10085e80
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cba85
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.100857b0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10085f08
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 8], 0xfffffff
je 0x10086066
lea eax, [edi + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], eax
push 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
call fcn.100a19fe
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov ecx, dword [edi + 8]
fld dword [edi]
mov dword [ebp - 4], 1
lea eax, [ecx + 1]
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
test eax, eax
jns 0x10085f69
fadd dword [0x100cf570]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
mov ebx, dword [edi + 0x1c]
fild dword [edi + 0x1c]
test ebx, ebx
jns 0x10085f7f
fadd dword [0x100cf570]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fdivr st(1)
fcompi st(2)
ja 0x10085f94
mov edx, dword [ebp - 0x18]
fstp st(0)
fstp st(0)
jmp 0x10086009
fdivrp st(1)
sub esp, 8
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fstp qword [esp]
call fcn.100a70f0
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
mov ecx, 8
fnstcw word [ebp + 0xe]
movzx eax, word [ebp + 0xe]
add esp, 8
or eax, 0xc00
mov dword [ebp - 0x14], eax
fldcw word [ebp - 0x14]
fistp qword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, ecx
cmova ecx, eax
fldcw word [ebp + 0xe]
cmp ebx, ecx
jae 0x10085fea
cmp ebx, 0x200
jae 0x10085fe8
shl ebx, 3
cmp ebx, ecx
jae 0x10085fea
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.1008b350
push dword [ebp - 0x10]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.100857b0
mov ecx, dword [edi + 8]
mov edx, dword [eax]
mov ebx, dword [edx + 4]
lea eax, [ecx + 1]
mov dword [edi + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp - 0x10]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x20]
jne 0x10086037
mov dword [ecx + eax*8], esi
jmp 0x10086046
cmp edi, edx
jne 0x10086040
mov dword [ecx + eax*8], esi
jmp 0x1008604a
cmp dword [ecx + eax*8 + 4], ebx
jne 0x1008604a
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.100a0ad7
int3