joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433470
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x260
push ebx
push esi
mov esi, ecx
test esi, esi
jne 0x433493
mov edx, 1
lea eax, [esp + 0x10]
mov dword [esp + 8], edx
jmp 0x4334d3
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x433496
sub ecx, edx
lea edx, [ecx + 1]
mov dword [esp + 8], edx
cmp edx, 0x12c
ja 0x4334b4
lea eax, [esp + 0x10]
jmp 0x4334d3
xor ecx, ecx
mov eax, edx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00472922
mov edx, dword [esp + 0xc]
add esp, 4
sub esp, 0xc
mov dword [esp + 0x18], eax
mov ecx, eax
push esi
call fcn.0043aa60
add esp, 0x10
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
lea ecx, [esp + 0x10]
mov eax, dword [esp + 0xc]
cmp eax, ecx
je 0x433506
push eax
call fcn.00472b7c
add esp, 4
cmp ebx, 0xffffffff
jne 0x433513
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test bl, 0x10
mov eax, 0
pop esi
setne al
inc eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x433f50
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
jne 0x433f76
mov edx, 1
lea eax, [esp + 0x18]
mov dword [esp + 0x10], edx
jmp 0x433fbd
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x433f80
sub ecx, edx
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
cmp edx, 0x12c
ja 0x433f9e
lea eax, [esp + 0x18]
jmp 0x433fbd
xor ecx, ecx
mov eax, edx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00472922
mov edx, dword [esp + 0x14]
add esp, 4
sub esp, 0xc
mov dword [esp + 0x20], eax
mov ecx, eax
push esi
call fcn.0043aa60
add esp, 0x10
push edi
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x14]
sete bl
cmp eax, ecx
je 0x433ff4
push eax
call fcn.00472b7c
add esp, 4
test bl, bl
je 0x43400d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435880
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
lea eax, [ebx + 4]
mov byte [ebx + 0xc], 0
push eax
push str.SeManageVolumePrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push ebx
push 0x28
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 4]
push eax
push 0
push 0
push 3
push dword [ebx]
call edi
mov esi, dword [ebp - 4]
mov eax, esi
call fcn.00473240
mov dword [ebp - 8], esp
lea eax, [ebp - 4]
push eax
push esi
mov esi, dword [ebp - 8]
push esi
push 3
push dword [ebx]
call edi
test eax, eax
je 0x435924
xor edx, edx
cmp dword [esi], edx
jbe 0x435924
mov ecx, dword [ebx + 8]
lea eax, [esi + 4]
cmp dword [eax + 4], ecx
jne 0x43591c
mov ecx, dword [eax]
cmp ecx, dword [ebx + 4]
jne 0x435919
mov ecx, dword [eax + 8]
cmp ecx, 2
je 0x435914
cmp ecx, 1
je 0x435914
xor cl, cl
jmp 0x435916
mov cl, 1
mov byte [ebx + 0xc], cl
mov ecx, dword [ebx + 8]
inc edx
add eax, 0xc
cmp edx, dword [esi]
jb 0x4358f7
mov eax, ebx
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435940
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x408
lea eax, [esp]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0
push eax
push esi
push dword [ebp + 8]
mov edi, ecx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x435997
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x43fa20
push ecx
mov edx, 0x43fa80
mov ecx, 0x4ce180
mov esi, eax
call fcn.0043b0b0
mov dword [eax], 7
push dword [edi + 0x54]
push esi
push str.PreallocateFast_Win___SetFilePointerEx___err__d____s
jmp 0x435a11
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4359d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x43fa20
push ecx
mov edx, 0x43fa80
mov ecx, 0x4ce180
mov esi, eax
call fcn.0043b0b0
mov dword [eax], 7
push dword [edi + 0x54]
push esi
push str.PreallocateFast_Win___SetEndOfFile___err__d____s
jmp 0x435a11
push esi
push dword [ebp + 8]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetFileValidData]
test eax, eax
jne 0x435a89
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x43fa20
push ecx
mov edx, 0x43fa80
mov ecx, 0x4ce180
mov esi, eax
call fcn.0043b0b0
mov dword [eax], 7
push dword [edi + 0x54]
push esi
push str.PreallocateFast_Win___SetFileValidData___err__d____s
lea eax, [esp + 0x24]
push eax
call fcn.0043efe0
add esp, 0x18
mov edx, 0x43fa80
mov esi, eax
push 0x43fa20
push ecx
mov ecx, 0x4ce180
call fcn.0043b0b0
test esi, esi
mov edx, 7
push 1
mov ecx, dword [eax + 8]
mov eax, 0x4b362c
cmovne eax, esi
push eax
call fcn.00430600
mov edi, eax
add esp, 0x10
test edi, edi
je 0x435a81
push 0x43fa20
push ecx
mov edx, 0x43fa80
mov ecx, 0x4ce180
call fcn.0043b0b0
mov esi, eax
add esp, 8
mov ecx, dword [esi + 8]
cmp ecx, edi
je 0x435a7e
call fcn.00430940
mov dword [esi + 8], edi
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x438e20
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push esi
mov esi, ecx
test esi, esi
je 0x438e94
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x400
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x438e6c
sub esp, 0xc
lea eax, [ebp - 0x804]
mov edx, 0x100
mov ecx, esi
push eax
call fcn.0043a8f0
add esp, 0x10
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push edi
lea edi, [esi + 0xff]
mov ecx, str._unknown_
mov eax, esi
cmp esi, edi
jae 0x438e90
nop
mov dl, byte [ecx]
lea ecx, [ecx + 1]
test dl, dl
je 0x438e90
mov byte [eax], dl
inc eax
cmp eax, edi
jb 0x438e80
mov byte [eax], 0
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43aed0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a167d
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.0043ab80
push dword [ebp + 0xc]
mov edx, esi
mov ecx, edi
call fcn.0043aca0
mov edi, dword [ebp + 8]
add esp, 4
mov ecx, dword [ebp + 0x14]
mov dword [edi], eax
mov dword [eax + 0x18], 1
mov esi, dword [edi]
test ecx, ecx
jne 0x43af24
mov eax, dword [0x4cd250]
test eax, eax
cmovne ecx, eax
xor edx, edx
lea eax, [esi + 4]
push eax
test ecx, ecx
mov eax, 0x10000
cmovle eax, edx
push eax
push esi
push 0x43b600
push ecx
push edx
call fcn.00488180
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x43af95
mov ecx, 0x4cfeb8
mov dword [ebp - 0x14], 0x4cfeb8
call fcn.00436390
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
cmp eax, 1
jne 0x43af84
push 0
push 0x4b362c
push 0x4b362c
push str.thread__threadHandle___NULL
call fcn.00430100
add esp, 0x10
mov ecx, 0x4cfeb8
mov dword [ebp - 4], 0xffffffff
call fcn.004363a0
cmp dword [esi], 0
jne 0x43afb9
mov ecx, dword [edi]
call fcn.0043ae30
mov dword [edi], 0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43b220
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a167d
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi]
not eax
cmp eax, 0xffffffff
jne 0x43b28a
mov ecx, 0x4cfeb8
mov dword [ebp - 0x14], 0x4cfeb8
call fcn.00436390
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
cmp eax, 1
jne 0x43b280
push 0
push 0x4b362c
push 0x4b362c
push str.Blizzard::Thread::TLSSlotIsAllocated_slot_
call fcn.00430100
add esp, 0x10
mov ecx, 0x4cfeb8
call fcn.004363a0
mov eax, dword [esi]
not eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43b2b0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4a40ed
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
mov eax, dword [esi]
not eax
cmp eax, 0xffffffff
jne 0x43b325
mov ecx, 0x4cfeb8
mov dword [ebp - 0x14], 0x4cfeb8
call fcn.00436390
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
cmp eax, 1
jne 0x43b314
push 0
push 0x4b362c
push 0x4b362c
push str.Blizzard::Thread::TLSSlotIsAllocated_slot_
call fcn.00430100
add esp, 0x10
mov ecx, 0x4cfeb8
mov dword [ebp - 4], 0xffffffff
call fcn.004363a0
mov eax, dword [esi]
push edi
not eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [esi + 4], 0
je 0x43b412
test edi, edi
je 0x43b412
call fcn.0043ab80
mov ecx, 0x4ce1a0
call fcn.0043b220
test eax, eax
je 0x43b36b
mov eax, dword [eax + 0x24]
test eax, eax
je 0x43b412
cmp dword [eax + 0x10], 0
jne 0x43b412
mov esi, dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, 0x4cd274
mov dword [ebp - 0x10], 0x4cd274
mov ebx, eax
call fcn.00436540
mov dword [ebp - 4], 1
mov ecx, dword [0x4cd18c]
cmp ecx, 0x10
jl 0x43b3e2
mov ecx, 0x4cfeb8
mov dword [ebp - 0x1c], 0x4cfeb8
call fcn.00436390
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
cmp eax, 1
jne 0x43b3cf
push 0
push 0x4b362c
push 0x4b362c
push str.__ran_out_of_non_Core_TLS_entries_
call fcn.00430100
add esp, 0x10
mov ecx, 0x4cfeb8
call fcn.004363a0
mov dword [ebp - 4], 3
jmp 0x43b408
lea eax, [ecx + ecx*2]
inc ecx
mov dword [0x4cd18c], ecx
mov dword [eax*4 + 0x4cd190], ebx
mov dword [eax*4 + 0x4cd194], edi
mov dword [eax*4 + 0x4cd198], esi
mov dword [ebp - 4], 4
mov ecx, 0x4cd274
call fcn.004366f0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43b430
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a4115
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov edi, edx
mov esi, ecx
call fcn.0043ab80
mov eax, dword [esi]
not eax
cmp eax, 0xffffffff
je 0x43b4a9
mov ecx, 0x4cfeb8
mov dword [ebp - 0x14], 0x4cfeb8
call fcn.00436390
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
cmp eax, 1
jne 0x43b498
push 0
push 0x4b362c
push 0x4b362c
push str._System_Thread::TLSSlotIsAllocated_slot_
call fcn.00430100
add esp, 0x10
mov ecx, 0x4cfeb8
mov dword [ebp - 4], 0xffffffff
call fcn.004363a0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edx, eax
not edx
mov dword [esi], edx
cmp eax, 0xffffffff
jne 0x43b50f
mov ecx, 0x4cfeb8
mov dword [ebp - 0x14], 0x4cfeb8
call fcn.00436390
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
cmp eax, 1
jne 0x43b4f3
push 0
push 0x4b362c
push 0x4b362c
push str.__failed_to_allocate_TLS_
call fcn.00430100
add esp, 0x10
mov ecx, 0x4cfeb8
call fcn.004363a0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x4cd274
mov dword [esi + 4], edi
call fcn.00436540
mov eax, dword [0x4cfc7c]
mov dword [eax*4 + 0x4cfc80], esi
inc eax
mov dword [0x4cfc7c], eax
mov ecx, 0x4cd274
mov dword [ebp - 4], 2
call fcn.004366f0
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43b720
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
mov edx, dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [edi]
sub eax, 0
je 0x43b748
sub eax, 1
je 0x43b78d
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 4], 0
jl 0x43b73f
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
movups xmmword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x14], xmm0
call edx
mov eax, dword [ebp - 0x10]
mov esi, 1
test eax, eax
cmovne esi, eax
call fcn.00436280
mov eax, dword [0x4cd6c8]
cmp esi, eax
cmovl esi, eax
cmp dword [edi + 4], esi
jge 0x43b73f
mov edx, dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [edi]
mov eax, 1
sub ecx, 0
je 0x43b829
sub ecx, eax
jne 0x43b82e
xorps xmm0, xmm0
mov dword [ebp - 4], ecx
lea eax, [ebp - 0x24]
push eax
movups xmmword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x14], xmm0
call edx
mov eax, dword [ebp - 0x10]
mov esi, 1
test eax, eax
cmovne esi, eax
call fcn.00436280
cmp esi, dword [0x4cd6c8]
cmovl esi, dword [0x4cd6c8]
cmp esi, 0x20
jb 0x43b7e2
or eax, 0xffffffff
jmp 0x43b82e
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x48]
push eax
movups xmmword [ebp - 0x48], xmm0
movups xmmword [ebp - 0x38], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x34]
mov esi, 1
test eax, eax
cmovne esi, eax
call fcn.00436280
cmp esi, dword [0x4cd6c8]
mov eax, 1
cmovl esi, dword [0x4cd6c8]
mov ecx, esi
shl eax, cl
dec eax
jmp 0x43b82e
mov ecx, dword [edi + 4]
shl eax, cl
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
test eax, eax
je 0x43b73f
mov eax, dword [edi]
mov ecx, dword [edi + 4]
pop edi
mov dword [ebx + 8], eax
mov al, 1
pop esi
mov dword [ebx + 0xc], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43b860
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
mov edi, ecx
mov ebx, edx
mov eax, dword [edi + 8]
sub eax, 0
je 0x43b881
sub eax, 1
je 0x43b8c6
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0xc], 0
jl 0x43b879
push esi
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
movups xmmword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10]
mov esi, 1
test eax, eax
cmovne esi, eax
call fcn.00436280
mov eax, dword [0x4cd6c8]
cmp esi, eax
cmovl esi, eax
cmp dword [edi + 0xc], esi
pop esi
jge 0x43b879
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov dword [ebx], eax
mov al, 1
pop edi
mov dword [ebx + 4], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43c9a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov edx, 0x1000193
mov al, byte [ecx]
test al, al
je 0x43c9c5
movzx eax, al
lea ecx, [ecx + 1]
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx]
test al, al
jne 0x43c9b1
test edx, edx
mov ecx, 1
cmovne ecx, edx
mov edx, dword [ebp + 0xc]
mov eax, ecx
and eax, 0x3f
mov dword [edx], eax
cmp dword [eax*8 + 0x4ccf88], 0
je 0x43c9fc
cmp dword [eax*8 + 0x4ccf88], ecx
je 0x43ca02
inc eax
and eax, 0x3f
mov dword [edx], eax
cmp dword [eax*8 + 0x4ccf88], 0
jne 0x43c9e3
xor al, al
pop ebp
ret 8
mov al, 1
pop ebp
ret 8
Function at 0x452420
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1db0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov eax, ecx
push esi
push edi
push 8
mov dword [ebp - 0x10], eax
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004728e6
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004710c2
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [ebp - 0xc]
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
pop edi
pop esi
mov dword [edx], 0
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x453c40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x453c71
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x453c60
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x454930
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5165
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
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 - 0x14]
imul ebx, ecx, 0x1000193
push ebx
push edi
push eax
call fcn.00455ad0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4549b1
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 [0x4cfe8c], 0x71c71c7
je 0x454b00
mov dword [ebp - 0x1c], 0x4cfe88
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x18], 0
call fcn.004728e6
mov ecx, dword [edi]
lea edx, [edi + 4]
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [esi + 8], ecx
lea ecx, [esi + 0xc]
push edx
call fcn.0043f7b0
mov dword [ebp - 4], 1
mov ecx, dword [0x4cfe8c]
mov edi, dword [0x4cfea0]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movd xmm1, edi
addsd xmm0, qword [eax*8 + 0x4bdc00]
cvtdq2pd xmm1, xmm1
mov eax, edi
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x4bdc00]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
movss xmm1, dword [0x4cfe84]
comiss xmm2, xmm1
jbe 0x454a9d
divss xmm0, xmm1
call fcn.00401ab0
call fcn.004a0ec0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp edi, ecx
jae 0x454a7f
cmp edi, 0x200
jae 0x454a7d
shl edi, 3
cmp edi, ecx
jae 0x454a7f
mov edi, ecx
push edi
call fcn.00454d50
push ebx
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00455ad0
mov ecx, dword [0x4cfe8c]
mov edx, dword [eax]
jmp 0x454aa0
mov edx, dword [ebp - 0x14]
mov edi, dword [edx + 4]
inc ecx
mov dword [0x4cfe8c], ecx
mov dword [esi], edx
mov dword [esi + 4], edi
mov dword [edi], esi
mov dword [edx + 4], esi
mov eax, dword [0x4cfe9c]
mov ecx, dword [0x4cfe90]
and eax, ebx
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [0x4cfe88]
jne 0x454ad1
mov dword [ecx + eax*8], esi
jmp 0x454ae0
cmp ebx, edx
jne 0x454ada
mov dword [ecx + eax*8], esi
jmp 0x454ae4
cmp dword [ecx + eax*8 + 4], edi
jne 0x454ae4
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.00470bba
int3
Function at 0x454d50
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 8
bsr ecx, eax
push ebx
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x454ebd
lea eax, [ecx - 1]
mov esi, dword [0x4cfe88]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x4cfe90
lea eax, [edi + edi]
push eax
call fcn.00441060
mov eax, dword [0x4cfe88]
lea ebx, [edi - 1]
mov dword [0x4cfe9c], ebx
mov dword [0x4cfea0], edi
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x454eb4
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
mov edx, dword [0x4cfe90]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 4], edx
cmp ebx, esi
jne 0x454e12
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x454e7f
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x454e4c
mov edx, dword [edx]
mov dword [ebp - 8], edx
cmp edx, eax
je 0x454e44
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 8]
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 - 4]
mov dword [edx + 4], eax
jmp 0x454e7f
cmp ebx, edx
je 0x454e5c
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x454e90
cmp ebx, edx
jne 0x454e50
mov ebx, dword [eax + 4]
mov dword [ebp - 8], 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 - 8]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 4]
mov dword [eax + 4], edi
mov dword [edx], eax
mov eax, ecx
cmp ecx, esi
je 0x454eb4
mov ebx, dword [0x4cfe9c]
jmp 0x454dc0
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 8], 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 0x454e7f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.invalid_hash_bucket_count
call fcn.00470bba
int3