joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429010
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0xc0c
cmp dword [0x7b5100], 0x37
jne 0x4290b3
mov eax, dword [esp]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualLock]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push 0
lea ecx, [esp + 0x410]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 8]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea eax, [esp + 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
push 0
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x404110
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
mov edx, dword [0x7b5104]
mov dword [esp], edx
mov eax, 0x5d1
add dword [esp], eax
mov eax, dword [esp]
mov cl, byte [eax + esi]
mov edx, dword [0x435164]
mov byte [edx + esi], cl
add esp, 0xc0c
ret
Function at 0x4292b0
Capabilities:
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7b5100]
sub esp, 0xacc
push ebx
push ebp
push esi
shr eax, 3
xor esi, esi
push edi
mov edi, dword [0x435164]
cmp eax, esi
jbe 0x429482
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], eax
jmp 0x4292e6
mov edi, dword [esp + 0x18]
xor esi, esi
cmp dword [0x7b5100], 0x1c
jne 0x4292fd
lea eax, [esp + 0x38]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov ecx, dword [0x42e6f8]
mov edx, dword [0x42e6fc]
mov eax, dword [0x42e700]
mov ebx, dword [edi]
mov edi, dword [edi + 4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x42e704]
mov ebp, 0xc6ef3720
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], 0x20
jmp 0x42933a
xor esi, esi
mov eax, ebx
shl eax, 4
add eax, dword [esp + 0x30]
mov edx, ebx
shr edx, 5
add edx, dword [esp + 0x28]
lea ecx, [ebx + ebp]
xor eax, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [0x7b4084], esi
mov eax, dword [esp + 0x14]
add dword [0x7b4084], eax
mov edx, dword [0x7b4084]
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x24]
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
sub edi, dword [esp + 0x14]
mov eax, edi
shl eax, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
add dword [esp + 0x10], eax
cmp dword [0x7b5100], 0x1be
jne 0x4293ba
lea ecx, [esp + 0x3c]
push ecx
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov esi, edi
shr esi, 5
add esi, dword [esp + 0x34]
cmp dword [0x7b5100], 0x979
mov dword [0x7b4088], 0xff6b3619
mov dword [0x7b408c], 0xffffffff
jne 0x429407
push 0
call dword [sym.imp.KERNEL32.dll_FlushConsoleInputBuffer]
push 0
lea edx, [esp + 0x2dc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [edi + ebp]
xor esi, eax
mov eax, dword [esp + 0x10]
xor eax, esi
sub ebx, eax
add ebp, 0x61c88647
dec dword [esp + 0x1c]
mov dword [esp + 0x10], eax
jne 0x429338
cmp dword [0x7b5100], 0x8d4
jne 0x42943f
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov esi, dword [esp + 0x18]
mov dword [esi], ebx
mov dword [esi + 4], edi
cmp dword [0x7b5100], 0x17
jne 0x429471
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea ecx, [esp + 0x88]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
add esi, 8
dec dword [esp + 0x20]
mov dword [esp + 0x18], esi
jne 0x4292e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xacc
ret
Function at 0x403850
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b4df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.004311d9
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov byte [ebp - 4], 1
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [ebp - 4], 2
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov byte [ebp - 4], 3
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov byte [ebp - 4], 4
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov byte [ebp - 4], 5
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
test eax, eax
je 0x4038f6
push eax
push esi
call fcn.0043163a
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.004313b1
int3
Function at 0x407ef0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46be64
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0
push esi
mov eax, dword [ebx]
push edi
push 0
push 0
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + ebx - 4], eax
mov eax, dword [ebx]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov edi, dword [eax + 4]
add edi, ebx
mov ecx, edi
mov dword [edi + 0x30], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.00403f40
push 8
call fcn.0043324b
add esp, 4
mov esi, eax
push 1
call fcn.0043153d
mov dword [esi + 4], eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], 0
mov dword [ebp - 4], 4
mov eax, dword [edi + 0x30]
mov esi, dword [eax + 4]
mov ecx, esi
mov dword [ebp - 0x18], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x10], 4
push eax
call fcn.00409720
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov edx, 4
mov byte [ebp + 0xb], al
mov dword [ebp - 0x10], edx
and edx, 0xfffffffb
mov dword [ebp - 0x10], edx
mov byte [ebp - 4], 3
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 8]
test eax, eax
je 0x40801e
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [edi + 0x38], 0
mov al, byte [ebp + 0xb]
mov byte [edi + 0x40], al
jne 0x40803a
mov eax, dword [edi + 0xc]
mov ecx, edi
push 0
or eax, 4
push eax
call fcn.00403f40
mov dword [ebp - 4], 5
lea edx, [ebx + 0x10]
mov eax, dword [edx]
mov dword [ebp + 8], edx
mov eax, dword [eax + 4]
mov dword [edx + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edx - 4], eax
mov dword [ebp - 4], 8
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + ebx - 4], eax
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4100c0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0
lea eax, [ebp - 4]
mov dword [ebp - 8], edx
push eax
push 0xffffffffffffffff
push str.SELECT_Record__FROM_MapRecord__WHERE_Uin__AND_MapID__
push dword [0x4918d8]
mov esi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], esi
mov bl, 1
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
mov edi, dword [sym.imp.sqlite3.dll_sqlite3_finalize]
add esp, 0x14
test eax, eax
jne 0x4101f1
push esi
mov esi, dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
push 1
push dword [ebp - 4]
call esi
push dword [ebp - 8]
push 2
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 0x1c
cmp eax, 0x64
jne 0x410199
push 0
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_column_int]
add esp, 8
cmp eax, dword [ebp + 8]
jae 0x410153
push dword [ebp - 4]
xor bl, bl
call edi
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 4]
call edi
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
mov eax, dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
push 0xffffffffffffffff
push str.UPDATE_MapRecord_SET_Record___WHERE_Uin__AND_MapID__
push dword [0x4918d8]
call eax
add esp, 0x18
test eax, eax
jne 0x4101f1
push dword [ebp + 8]
push 1
push dword [ebp - 4]
call esi
push dword [ebp - 0xc]
push 2
push dword [ebp - 4]
call esi
push dword [ebp - 8]
jmp 0x4101dd
push dword [ebp - 4]
call edi
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
mov eax, dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
push 0xffffffffffffffff
push str.INSERT_INTO_MapRecord__Uin__MapID__Record__VALUES__________
push dword [0x4918d8]
call eax
add esp, 0x18
test eax, eax
jne 0x4101f1
push dword [ebp - 0xc]
push 1
push dword [ebp - 4]
call esi
push dword [ebp - 8]
push 2
push dword [ebp - 4]
call esi
push dword [ebp + 8]
push 3
push dword [ebp - 4]
call esi
push dword [ebp - 4]
mov eax, dword [sym.imp.sqlite3.dll_sqlite3_step]
call eax
add esp, 0x28
push dword [ebp - 4]
call edi
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412c40
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
movzx eax, bl
xor eax, 0x811c9dc5
mov dword [ebp - 4], ebx
imul edx, eax, 0x1000193
mov eax, ebx
sar eax, 8
movzx eax, al
xor edx, eax
mov eax, ebx
sar eax, 0x10
movzx eax, al
imul ecx, edx, 0x1000193
xor ecx, eax
mov eax, ebx
sar eax, 0x18
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0041b890
mov edx, dword [0x493de8]
mov eax, dword [eax + 4]
test eax, eax
cmovne edx, eax
cmp edx, dword [0x493de8]
je 0x412cb6
mov eax, dword [edx + 0xc]
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push 0x480180
call fcn.00410f10
add esp, 8
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415d60
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2024
call fcn.004340e0
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_htonl]
mov eax, ecx
push esi
push edi
mov esi, edx
mov dword [ebp - 0x1c], eax
push dword [eax + 0x18]
mov dword [ebp - 0x14], esi
call ebx
push esi
mov dword [ebp - 0x2020], eax
call ebx
xor esi, esi
mov dword [ebp - 0x201c], eax
lea edi, [ebp - 0x2018]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], edi
cmp dword [ebp - 0x14], esi
jbe 0x415ef6
nop dword [eax + eax]
push 0
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [ebp + 8]
mov word [edi], ax
lea eax, [esi*8]
mov dword [ebp - 0x18], eax
push dword [eax + ecx]
call ebx
push 0
mov dword [edi + 2], eax
call ebx
push 0
mov dword [edi + 6], eax
lea esi, [edi + 0xa]
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
push 0xffffffffffffffff
push str.SELECT_StoneUseOccaType_SkillStoneID__FROM_KartStone_WHERE_ID____
push dword [0x4918d8]
mov dword [ebp - 4], 0
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x14
test eax, eax
jne 0x415e9b
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
push dword [eax + ecx + 4]
push 1
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 4
cmp eax, 0x64
jne 0x415eb8
mov edi, dword [ebp - 8]
nop dword [eax]
push 0
inc edi
call dword [sym.imp.WS2_32.dll_htons]
push 0
push dword [ebp - 4]
mov word [esi], ax
call dword [sym.imp.sqlite3.dll_sqlite3_column_int]
add esp, 8
push eax
call ebx
push 1
push dword [ebp - 4]
mov dword [esi + 2], eax
call dword [sym.imp.sqlite3.dll_sqlite3_column_int]
add esp, 8
push eax
call ebx
push 0xa
mov dword [esi + 6], eax
call dword [sym.imp.WS2_32.dll_htons]
push dword [ebp - 4]
mov word [esi], ax
add esi, 0xa
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 4
cmp eax, 0x64
je 0x415e40
mov dword [ebp - 8], edi
mov edi, dword [ebp - 0xc]
jmp 0x415eb8
push dword [0x4918d8]
call dword [sym.imp.sqlite3.dll_sqlite3_errmsg]
add esp, 4
push eax
push 0x4802cc
call fcn.00410f10
add esp, 8
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
add esp, 4
mov dword [ebp - 4], 0
push dword [ebp - 8]
call ebx
mov dword [edi + 6], eax
mov eax, esi
sub eax, edi
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [edi], ax
mov edi, esi
mov esi, dword [ebp - 0x10]
inc esi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], esi
cmp esi, dword [ebp - 0x14]
jb 0x415db0
mov ecx, dword [ebp - 0x1c]
mov edx, 0xe4
mov al, byte [ebp + 0xc]
push ecx
mov byte [edi], al
movzx eax, word [ecx + 0x10]
push 2
push eax
push 1
push eax
lea eax, [ebp - 0x2020]
sub edi, eax
inc edi
push edi
push eax
call fcn.004202d0
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415f30
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2024
call fcn.004340e0
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_htonl]
mov eax, ecx
push esi
push edi
mov esi, edx
mov dword [ebp - 0x1c], eax
push dword [eax + 0x18]
mov dword [ebp - 0x14], esi
call ebx
push esi
mov dword [ebp - 0x2020], eax
call ebx
xor esi, esi
mov dword [ebp - 0x201c], eax
lea edi, [ebp - 0x2018]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], edi
cmp dword [ebp - 0x14], esi
jbe 0x4160c6
nop dword [eax + eax]
push 0
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [ebp + 8]
mov word [edi], ax
lea eax, [esi*8]
mov dword [ebp - 0x18], eax
push dword [eax + ecx]
call ebx
push 0
mov dword [edi + 2], eax
call ebx
push 0
mov dword [edi + 6], eax
lea esi, [edi + 0xa]
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
push 0xffffffffffffffff
push str.SELECT_StoneUseOccaType_SkillStoneID__FROM_KartStone_WHERE_ID____
push dword [0x4918d8]
mov dword [ebp - 4], 0
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x14
test eax, eax
jne 0x41606b
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
push dword [eax + ecx + 4]
push 1
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 4
cmp eax, 0x64
jne 0x416088
mov edi, dword [ebp - 8]
nop dword [eax]
push 0
inc edi
call dword [sym.imp.WS2_32.dll_htons]
push 0
push dword [ebp - 4]
mov word [esi], ax
call dword [sym.imp.sqlite3.dll_sqlite3_column_int]
add esp, 8
push eax
call ebx
push 1
push dword [ebp - 4]
mov dword [esi + 2], eax
call dword [sym.imp.sqlite3.dll_sqlite3_column_int]
add esp, 8
push eax
call ebx
push 0xa
mov dword [esi + 6], eax
call dword [sym.imp.WS2_32.dll_htons]
push dword [ebp - 4]
mov word [esi], ax
add esi, 0xa
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 4
cmp eax, 0x64
je 0x416010
mov dword [ebp - 8], edi
mov edi, dword [ebp - 0xc]
jmp 0x416088
push dword [0x4918d8]
call dword [sym.imp.sqlite3.dll_sqlite3_errmsg]
add esp, 4
push eax
push 0x4802cc
call fcn.00410f10
add esp, 8
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
add esp, 4
mov dword [ebp - 4], 0
push dword [ebp - 8]
call ebx
mov dword [edi + 6], eax
mov eax, esi
sub eax, edi
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [edi], ax
mov edi, esi
mov esi, dword [ebp - 0x10]
inc esi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], esi
cmp esi, dword [ebp - 0x14]
jb 0x415f80
mov ecx, dword [ebp - 0x1c]
mov edx, 0x6f00
mov al, byte [ebp + 0xc]
push ecx
mov byte [edi], al
movzx eax, word [ecx + 0x10]
push 2
push eax
push 1
push eax
lea eax, [ebp - 0x2020]
sub edi, eax
inc edi
push edi
push eax
call fcn.004202d0
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41aef0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d74d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 0x20]
imul ebx, ecx, 0x1000193
push ebx
push edi
push eax
call fcn.0041b890
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x41af71
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 [0x493dec], 0xfffffff
je 0x41b0f0
mov dword [ebp - 0x14], 0x493de8
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x10], 0
call fcn.0043324b
mov ecx, dword [edi]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 1
mov ecx, dword [0x493dec]
mov edi, dword [0x493e00]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x483da0]
mov eax, edi
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x483da0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x493de4]
comiss xmm1, xmm0
jbe 0x41b07f
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call fcn.00468e30
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.0046b290
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp edi, ecx
jae 0x41b061
cmp edi, 0x200
jae 0x41b05f
shl edi, 3
cmp edi, ecx
jae 0x41b061
mov edi, ecx
push edi
call fcn.0041b3c0
push ebx
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0041b890
mov ecx, dword [0x493dec]
mov edx, dword [eax]
jmp 0x41b082
mov edx, dword [ebp - 0x20]
mov edi, dword [edx + 4]
inc ecx
mov dword [0x493dec], ecx
mov dword [esi], edx
mov dword [esi + 4], edi
mov dword [edi], esi
mov dword [edx + 4], esi
mov eax, dword [0x493dfc]
mov ecx, dword [0x493df0]
and eax, ebx
mov dword [ebp - 0x10], 0
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [0x493de8]
jne 0x41b0ba
mov dword [ecx + eax*8], esi
jmp 0x41b0c9
cmp ebx, edx
jne 0x41b0c3
mov dword [ecx + eax*8], esi
jmp 0x41b0cd
cmp dword [ecx + eax*8 + 4], edi
jne 0x41b0cd
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.00431371
int3
Function at 0x41b3c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46d7cd
push eax
mov eax, 0x1fffffff
mov dword fs:[0], esp
bsr ecx, eax
sub esp, 0xc
push ebx
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x41b55c
lea eax, [ecx - 1]
mov esi, dword [0x493de8]
or eax, edi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x493df0
lea eax, [edi + edi]
push eax
call fcn.0041a390
lea eax, [edi - 1]
mov dword [0x493e00], edi
mov dword [0x493dfc], eax
mov dword [ebp - 0x14], 0x493de4
mov dword [ebp - 4], 0
mov ecx, dword [0x493de8]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x41b519
nop word [eax + eax]
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
mov eax, dword [0x493df0]
imul edi, edi, 0x1000193
and edi, dword [0x493dfc]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp + 8], eax
cmp ebx, esi
jne 0x41b4a4
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x41b50f
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x41b4db
mov eax, dword [eax]
cmp eax, ecx
je 0x41b4d3
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x41b50f
cmp ebx, eax
je 0x41b4ec
nop
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x41b53a
cmp ebx, eax
jne 0x41b4e0
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ecx, edx
cmp edx, esi
jne 0x41b450
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp + 8], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
jmp 0x41b50f
push str.invalid_hash_bucket_count
call fcn.00431371
int3