joyce8/EMBER2024-capa huggingface dataset:
Function at 0x480170
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x591cea
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword fs:[0x2c]
mov ecx, dword [0x6abc48]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x667968]
cmp eax, dword [ecx + 4]
jg 0x4801bd
mov ecx, dword [ebp - 0xc]
mov eax, 0x661fe0
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x667968
call fcn.0056bdc6
add esp, 4
cmp dword [0x667968], 0xffffffff
jne 0x4801aa
mov dword [ebp - 4], 0
push 0x47b290
push 0x47b070
push 0x26
push 0x38
mov dword [0x661fe0], 0x5b8f34
push 0x6623e8
mov dword [0x661fe0], 0x5b9034
mov dword [ebp - 0x10], 0x661fe8
call fcn.0056c402
mov byte [ebp - 4], 1
mov dword [0x662c38], 0x6a79d0
mov byte [ebp - 4], 2
push 0x47b290
push 0x47b070
push 0x3a
push 0x38
push 0x666c40
mov dword [ebp - 0x14], 0x662c40
call fcn.0056c402
mov byte [ebp - 4], 3
mov dword [0x6678f0], 0x6679c0
mov byte [ebp - 4], 4
mov ecx, 0x667918
mov dword [0x6678f8], 4
mov dword [0x6678fc], 0
mov dword [0x667900], 0
mov dword [0x667908], 0x47c540
mov dword [0x66790c], 0
mov dword [0x667910], 0
mov dword [ebp - 0x18], 0x667910
mov dword [0x667914], 0
call fcn.00481660
mov byte [ebp - 4], 6
mov byte [0x667930], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
test eax, eax
je 0x480304
push 0x200
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00483160
lea eax, [ebp - 0x218]
push eax
call fcn.0057d5bc
lea eax, [ebp - 0x218]
push str._RESERVELOWMEM
push eax
call fcn.0056e050
add esp, 0x18
push 1
push 0x2000
push 1
push 0xffeeffee
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
jmp 0x480304
push 8
push 8
mov dword [0x667934], 0
mov dword [0x667938], 0
mov dword [0x66793c], 0
mov dword [0x667940], 0
mov dword [0x667944], 0
mov dword [0x667948], 0
mov dword [0x66794c], 0
mov dword [0x667950], 0
mov dword [0x667954], 0
mov dword [0x66795c], 0
mov dword [0x667960], 0
call fcn.0057d3aa
add esp, 8
mov dword [0x667904], eax
test al, 7
je 0x4803a5
push str.__size_t__m_nLogicalBytesAllocated____8___0
push 0x7e3
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0memstd.cpp
call fcn.004774e0
add esp, 0xc
test al, al
jne 0x4803a5
int3
mov eax, dword [0x667904]
mov dword [eax], 0
mov dword [eax + 4], 0
mov byte [ebp - 4], 0
push 0x5926a0
call fcn.0056bd35
mov dword [ebp - 4], 0xffffffff
push 0x667968
call fcn.0056bd75
add esp, 8
jmp 0x4801aa
Function at 0x481630
Capabilities:
Allocate thread local storage

Disassembly:
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x48165c
push str.Out_of_thread_local_storage__n
push 0xa8c
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.004774e0
add esp, 0xc
test al, al
jne 0x48165c
int3
mov eax, esi
pop esi
ret

Function at 0x4816a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5912b0
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 4], 0
mov dword [esi], vtable.CThread.0
je 0x481838
mov eax, dword [esi + 0xc]
mov edi, 0x32
cmp eax, 0xffffffff
sete bl
jmp 0x4816e0
test bl, bl
je 0x481740
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
sete bl
sub edi, 1
jne 0x4816e0
cmp eax, 0xffffffff
jne 0x481740
cmp byte [esi + 0x10], 0
lea edi, [esi + 0x10]
jne 0x481723
push dword [esi + 8]
push dword [esi + 4]
push esi
push str.Thread_0x_p_0x_p_0x_x_
push 0x1f
push edi
call fcn.00464140
add esp, 0x18
mov byte [esi + 0x2f], 0
push edi
push str.Illegal_termination_of_worker_thread__s
push 0xd89
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.004774f0
add esp, 0x10
test al, al
jne 0x481740
int3
mov eax, dword [0x6a8be0]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 0xffffffff
je 0x481778
push eax
call edi
cmp eax, esi
jne 0x481773
push str.Deleting_thread_object_from_the_thread__this_is_bad
push 0xd8a
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.004774e0
add esp, 0xc
test al, al
jne 0x481773
int3
mov eax, dword [0x6a8be0]
test bl, bl
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x481820
cmp eax, 0xffffffff
je 0x48179b
push eax
call edi
cmp eax, esi
je 0x481820
mov eax, dword [0x6a8be0]
cmp dword [esi + 4], 0
je 0x481820
cmp eax, 0xffffffff
je 0x4817c9
push eax
call edi
cmp eax, esi
jne 0x4817c9
push str.Thread_cannot_be_joined_with_self
push 0xe79
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.004774e0
add esp, 0xc
test al, al
jne 0x4817c9
int3
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x481820
test eax, eax
je 0x48180c
cmp eax, 0xffffffff
je 0x48180c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x48180c
push 0x593594
push 0xe82
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.004774e0
add esp, 0xc
test al, al
jne 0x481820
int3
mov eax, dword [esi + 4]
push eax
mov dword [esi + 4], 0
call ebx
mov dword [esi + 8], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x481831
push eax
call ebx
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x481a00
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x481a0f
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
ret
cmp byte [0x6a8be4], 0
jne 0x481a3b
push str.Bad_thread_local:_Get_n
push 0xac1
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0_threadtools.cpp
mov byte [0x6a8be4], 1
call fcn.004774e0
add esp, 0xc
test al, al
jne 0x481a3b
int3
xor eax, eax
ret

Function at 0x481c20
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x481c38
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop ebp
ret 4
cmp byte [0x6a8be5], 0
jne 0x481c64
push str.Bad_thread_local:_Set_n
push 0xad8
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0_threadtools.cpp
mov byte [0x6a8be5], 1
call fcn.004774e0
add esp, 0xc
test al, al
jne 0x481c64
int3
pop ebp
ret 4
Function at 0x481f30
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
cmp byte [ebx + 0x10], 0
lea eax, [ebx + 0x10]
push esi
push edi
mov dword [ebp - 4], eax
jne 0x481f63
push dword [ebx + 8]
push dword [ebx + 4]
push ebx
push str.Thread_0x_p_0x_p_0x_x_
push 0x1f
push eax
call fcn.00464140
mov eax, dword [ebp - 4]
add esp, 0x18
mov byte [ebx + 0x2f], 0
push eax
push str.WARNING__CThread::Terminate:__s_n
call fcn.00477e70
add esp, 8
push dword [ebp + 8]
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x481f8c
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 4]
push eax
mov dword [ebx + 4], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov dword [ebx + 8], 0
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x482780
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591de0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x218]
call fcn.004825e0
mov dword [ebp - 4], 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x214]
cmp eax, ecx
je 0x4827de
push eax
call fcn.0056baf4
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4829c0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591de0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x218]
call fcn.004825e0
mov dword [ebp - 4], 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x214]
cmp eax, ecx
je 0x482a1e
push eax
call fcn.0056baf4
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x483570
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push ebx
push esi
push edi
push str._noassert
call fcn.00476d90
add esp, 4
test al, al
jne 0x483755
push str._nocrashdialog
call fcn.00476d90
add esp, 4
test al, al
jne 0x483755
call fcn.00482460
test al, al
jne 0x4835bb
call fcn.00477e90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._debugbreak
call fcn.00476d90
add esp, 4
test al, al
je 0x4835d5
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x62851c], 0
je 0x483755
mov esi, dword [0x6a8c20]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], 0x6a8c20
test esi, esi
je 0x483686
lea ebx, [ebx]
mov edi, dword [esi + 0x20c]
push esi
push dword [ebp + 8]
call fcn.0057dbf6
add esp, 8
test eax, eax
jne 0x483673
mov ecx, dword [esi + 0x200]
mov al, 1
cmp ecx, 0xffffffff
jne 0x483631
xor edx, edx
movzx eax, al
cmp dword [esi + 0x204], ecx
cmove eax, edx
cmp ebx, ecx
jl 0x48363d
cmp ebx, dword [esi + 0x204]
jle 0x483641
test al, al
jne 0x483673
mov eax, dword [esi + 0x208]
test eax, eax
jle 0x483755
add eax, 0xffffffff
mov dword [esi + 0x208], eax
jne 0x483755
mov eax, dword [ebp - 4]
push 0x210
push esi
mov dword [eax], edi
call fcn.0056ba55
add esp, 8
jmp 0x48367c
lea eax, [esi + 0x20c]
mov dword [ebp - 4], eax
mov esi, edi
test edi, edi
jne 0x483600
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [0x6a8c24], edi
mov dword [0x6a8c28], ebx
mov dword [0x6a8c2c], esi
mov byte [0x6a8c1a], 0
mov dword [0x6a8c30], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x483530
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x6a8c30]
test eax, eax
jne 0x483733
push esi
push ebx
push edi
push str.File:__s_nLine:__d_n_Ts_n_nClick_Abort_to_break_in_the_debugger__Retry_to_continue_or_Ignore_to_disable_assert_dialogs_for_this_process.
lea eax, [ebp - 0x804]
push 0x800
push eax
call fcn.00464140
add esp, 0x18
mov byte [ebp - 5], 0
lea eax, [ebp - 0x804]
push 0x12002
push str.Assert_Dialog
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 3
jne 0x48371b
pop edi
pop esi
mov byte [0x6a8c1a], 1
mov al, byte [0x6a8c1a]
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x483749
mov al, byte [0x6a8c1a]
pop edi
pop esi
mov byte [0x62851c], 0
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x483190
push eax
push 0x65
push dword [0x6a8c1c]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov al, byte [0x6a8c1a]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x484c30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push esi
mov esi, dword [ebp + 8]
call fcn.00484800
test al, al
je 0x484dc1
push ebx
push edi
call fcn.004847e0
mov edi, eax
mov dword [ebp - 4], ebp
mov dword [ebp - 8], esp
push 0x108
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.0056d4c0
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x10c], 3
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xec], 3
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xdc], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push 0x6a8f14
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebp + 0xc]
xor edi, edi
test ebx, ebx
jle 0x484d5a
lea esp, [esp]
push 0
push dword [0x6a8f4c]
lea eax, [ebp - 0x118]
push dword [0x6a8f48]
push 0
push 0
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x14c
call dword [0x6a8f30]
test eax, eax
je 0x484d5a
mov eax, dword [ebp - 0xf8]
or eax, dword [ebp - 0xf4]
je 0x484d5a
cmp edi, dword [ebp + 0x10]
jle 0x484d55
mov edx, dword [esi + 0xa0]
cmp edx, 0x14
jge 0x484d55
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x114]
mov dword [esi + edx*8], eax
mov dword [esi + edx*8 + 4], ecx
inc dword [esi + 0xa0]
inc edi
cmp edi, ebx
jl 0x484cf0
push 0x6a8f14
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [esi + 0xa0]
xor edi, edi
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
test ebx, ebx
jle 0x484dbf
xor ecx, ecx
xor edx, edx
lea esp, [esp]
shld edx, ecx, 2
shl ecx, 2
mov eax, edx
mov dword [esi + 0xa8], ecx
mov dword [esi + 0xac], eax
xor ecx, dword [esi + edi*8]
mov edx, dword [esi + edi*8 + 4]
inc edi
xor edx, eax
mov dword [esi + 0xa8], ecx
mov dword [esi + 0xac], edx
cmp edi, ebx
jl 0x484d90
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x484e00
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591ead
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 0xc]
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.0047a090
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x484e86
mov eax, dword [ebp + 8]
pop edi
pop ebx
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 8], 0xfffffff
je 0x484ff1
lea eax, [edi + 4]
mov dword [ebp - 0x24], 0
push esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x24], 0
call fcn.0056ba25
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 ecx, dword [ebx + 4]
mov dword [esi + 0xc], ecx
mov dword [ebp - 4], 1
mov eax, dword [edi + 8]
fld dword [edi]
add eax, 1
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
jns 0x484eec
fadd dword [0x5b3420]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
mov ebx, dword [edi + 0x1c]
fild dword [edi + 0x1c]
test ebx, ebx
jns 0x484f02
fadd dword [0x5b3420]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fdivr st(1)
fcompi st(2)
jbe 0x484f82
fdivrp st(1)
sub esp, 8
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fstp qword [esp]
call fcn.0057d650
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 0x484f64
cmp ebx, 0x200
jae 0x484f62
shl ebx, 3
cmp ebx, ecx
jae 0x484f64
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.004853e0
push dword [ebp - 0x10]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0047a090
mov edx, dword [eax]
jmp 0x484f89
mov edx, dword [ebp - 0x18]
fstp st(0)
fstp st(0)
mov ebx, dword [edx + 4]
inc dword [edi + 8]
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 dword [ebp - 0x24], 0
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x20]
jne 0x484fbb
mov dword [ecx + eax*8], esi
jmp 0x484fca
cmp edi, edx
jne 0x484fc4
mov dword [ecx + eax*8], esi
jmp 0x484fce
cmp dword [ecx + eax*8 + 4], ebx
jne 0x484fce
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 esi
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.0056b988
int3
Function at 0x4851f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x591f53
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword fs:[0x2c]
mov edx, dword [0x6abc48]
push esi
push edi
mov edx, dword [eax + edx*4]
mov edi, ecx
mov eax, dword [0x6a8f7c]
cmp eax, dword [edx + 4]
jg 0x48536d
mov dword [ebp - 0x10], 0x6a8f5c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
mov esi, 0x6a8f5c
cmp edx, dword [0x6a8f5c]
je 0x485268
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
sete al
test al, al
jne 0x485268
pause
push edx
mov ecx, esi
call fcn.00481ab0
jmp 0x48526f
lock inc dword [0x6a8f60]
push ebx
mov dword [ebp - 4], 2
mov ebx, dword [ebp + 8]
cmp ebx, dword [edi + 0x20]
jne 0x485287
mov eax, dword [edi + 0x24]
jmp 0x48533f
mov eax, ebx
mov dword [edi + 0x20], ebx
shr eax, 8
movzx ecx, al
movzx eax, bl
xor eax, 0x811c9dc5
mov dword [ebp + 8], ebx
imul eax, eax, 0x1000193
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x10
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0047a090
mov eax, dword [eax + 4]
test eax, eax
je 0x4852f1
lea ecx, [edi + 0x24]
mov dword [ebp + 8], ecx
cmp eax, dword [edi + 4]
je 0x4852f7
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
jmp 0x48533f
lea eax, [edi + 0x24]
mov dword [ebp + 8], eax
mov esi, ebx
lea ecx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x485300
sub esi, ecx
inc esi
push esi
call fcn.0057aa79
push esi
push ebx
push eax
mov dword [edi + 0x24], eax
call fcn.0056d7e0
mov esi, dword [ebp + 8]
add esp, 0x10
mov ecx, edi
mov dword [ebp - 0x18], ebx
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00484e00
mov eax, dword [esi]
mov esi, 0x6a8f5c
mov dword [ebp - 4], 0xffffffff
lock dec dword [0x6a8f60]
cmp dword [0x6a8f60], 0
pop ebx
jne 0x48535b
xor ecx, ecx
xchg dword [esi], ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push 0x6a8f7c
call fcn.0056bdc6
add esp, 4
cmp dword [0x6a8f7c], 0xffffffff
jne 0x48522f
mov dword [ebp - 4], 0
mov ecx, 0x6a8f64
mov dword [0x6a8f5c], 0
mov dword [0x6a8f60], 0
call fcn.00481660
mov byte [ebp - 4], 0
push 0x592800
call fcn.0056bd35
mov dword [ebp - 4], 0xffffffff
push 0x6a8f7c
call fcn.0056bd75
add esp, 8
jmp 0x48522f
Function at 0x4853e0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591f6d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], 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 - 0x10], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x485571
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp + 8], 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.0047f880
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x48552c
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 - 0x14], edx
cmp edi, esi
jne 0x4854b2
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x485522
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x4854ec
mov edx, dword [edx]
mov dword [ebp - 0x18], edx
cmp edx, eax
je 0x4854e4
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0x18]
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 + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [edx + 4], eax
jmp 0x48551f
cmp edi, edx
je 0x4854fc
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x48554d
cmp edi, edx
jne 0x4854f0
mov ebx, dword [eax + 4]
mov dword [ebp - 0x18], 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 - 0x18]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 0x10]
mov eax, ecx
cmp ecx, esi
jne 0x485461
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 0x18], 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 + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x48551f
push str.invalid_hash_bucket_count
call fcn.0056b988
int3