joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46c09c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4938cc]
cmp byte [eax + 0xc], 0
je 0x46c209
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46c202
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4946e0], 0
jne 0x46c0f0
push 0x46c210
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x46c218
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4946e0], eax
cmp dword [0x48f758], 0
jne 0x46c1eb
push 0x46c228
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x48f758], eax
cmp dword [0x48f758], 0
je 0x46c1eb
push 0x46c234
mov eax, dword [0x48f758]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4946e4], eax
push 0x46c244
mov eax, dword [0x48f758]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4946e8], eax
push 0x46c258
mov eax, dword [0x48f758]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4946ec], eax
push 0x46c270
mov eax, dword [0x48f758]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4946f0], eax
push 0x46c288
mov eax, dword [0x48f758]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4946f4], eax
push 0x46c29c
mov eax, dword [0x48f758]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4946f8], eax
push 0x46c2b4
mov eax, dword [0x48f758]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4946fc], eax
push 0x46c2cc
mov eax, dword [0x48f758]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x494700], eax
push 0x46c2e8
mov eax, dword [0x48f758]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x494704], eax
push 0x46c2f4
mov eax, dword [0x48f758]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x494708], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c209
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x46efac
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
lea eax, [ebp - 0x104]
push eax
push 0x104
call sub.KERNEL32.DLL_GetCurrentDirectoryA
cmp byte [ebp - 0x104], 0x61
jl 0x46efdb
movsx edx, byte [ebp - 0x104]
add edx, 0xffffffa0
jmp 0x46efe5
movsx edx, byte [ebp - 0x104]
add edx, 0xffffffc0
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov esp, ebp
pop ebp
ret
Function at 0x46eff0
Capabilities:
Get disk information
Query environment variable
Set current directory
Set environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
xor eax, eax
lea ecx, [ebp - 4]
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x108]
mov dword [esi], eax
mov byte [ebp - 4], 0x3d
mov dl, byte [ebp + 8]
add dl, 0x40
mov byte [ebp - 3], dl
mov byte [ebp - 2], 0x3a
mov byte [ebp - 1], 0
push 0x104
push edi
push ecx
call sub.KERNEL32.DLL_GetEnvironmentVariableA
test eax, eax
jne 0x46f056
mov al, byte [ebp - 3]
mov byte [edi], al
mov byte [edi + 1], 0x3a
mov byte [edi + 2], 0x5c
mov byte [edi + 3], 0
push edi
lea edx, [ebp - 4]
push edx
call sub.KERNEL32.DLL_SetEnvironmentVariableA
dec eax
je 0x46f056
call fcn.0046f7c4
jmp 0x46f091
push edi
call sub.KERNEL32.DLL_SetCurrentDirectoryA
dec eax
je 0x46f066
call fcn.0046f7c4
jmp 0x46f091
mov byte [edi + 1], 0x3a
mov byte [edi + 2], 0x5c
mov byte [edi + 3], 0
mov byte [edi], 0x41
jmp 0x46f08c
push edi
call sub.KERNEL32.DLL_GetDriveTypeA
mov ebx, eax
test eax, eax
je 0x46f08a
cmp ebx, 1
je 0x46f08a
inc dword [esi]
inc byte [edi]
cmp byte [edi], 0x5a
jle 0x46f077
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46f1f0
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x46f236
lea eax, [ebp - 0x10c]
push eax
push 0x103
call sub.KERNEL32.DLL_GetCurrentDirectoryA
test eax, eax
je 0x46f224
cmp eax, dword [ebp + 0x10]
jle 0x46f2bf
call fcn.00472db8
mov dword [eax], 8
xor eax, eax
jmp 0x46f32c
cmp dword [0x494f88], 1
jne 0x46f27b
mov eax, ebx
lea ecx, [ebp - 0x10c]
mov edx, eax
add dl, 0x40
add ecx, 3
mov byte [ebp - 0x10c], dl
mov dl, al
mov byte [ebp - 0x10b], 0x3a
mov byte [ebp - 0x10a], 0x5c
mov byte [ebp - 0x109], 0
mov ah, 0x47
mov esi, ecx
int 0x21
jae 0x46f2bf
xor eax, eax
jmp 0x46f32c
call sub.KERNEL32.DLL_GetLogicalDrives
lea ecx, [ebx - 1]
mov edx, 1
shl edx, cl
test edx, eax
je 0x46f2bb
add bl, 0x40
lea eax, [ebp - 8]
mov byte [ebp - 4], bl
lea edx, [ebp - 0x10c]
mov byte [ebp - 3], 0x3a
mov byte [ebp - 2], 0x2e
mov byte [ebp - 1], 0
push eax
push edx
lea ecx, [ebp - 4]
push 0x103
push ecx
call sub.KERNEL32.DLL_GetFullPathNameA
jmp 0x46f2bf
xor eax, eax
jmp 0x46f32c
lea edx, [ebp - 0x10c]
push edx
call fcn.0046db2c
pop ecx
cmp eax, dword [ebp + 0x10]
jl 0x46f2e0
call fcn.00472db8
mov dword [eax], 0x22
xor eax, eax
jmp 0x46f32c
test edi, edi
jne 0x46f303
mov edx, dword [ebp + 0x10]
push edx
call fcn.0046d430
pop ecx
mov edi, eax
test eax, eax
jne 0x46f303
call fcn.00472db8
mov dword [eax], 8
xor eax, eax
jmp 0x46f32c
push edi
mov esi, edi
xor eax, eax
lea edi, [ebp - 0x10c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x472d50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x472db2
call fcn.00472d00
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.0046db2c
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.0046db2c
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x472e30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x4914ac], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x472f0a
cmp dword [0x4914a8], 0
jne 0x472f0a
cmp dword [0x4916b4], 0
je 0x472ec4
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.00472c00
add esp, 8
mov ebx, eax
test eax, eax
jne 0x472eaa
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00472c00
add esp, 8
mov ebx, eax
test eax, eax
jne 0x472eaa
lea ebx, [ebp - 0x84]
jmp 0x472eab
inc ebx
call fcn.00472dec
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x472f45
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x4914b0
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0046db2c
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x4914b3
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x472f45
cmp dword [0x4914a8], 0
je 0x472f24
cmp dword [0x4914a8], 0xffffffff
je 0x472f45
push esi
call dword [0x4914a8]
pop ecx
mov eax, dword [0x4914ac]
test eax, eax
je 0x472f45
cmp dword [0x4914ac], 0xffffffff
je 0x472f45
cmp byte [eax], 0
je 0x472f45
push esi
push eax
call fcn.00472d50
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x473768
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x494fa0], 0
jne 0x4737e9
cmp dword [0x494fc0], 0
jne 0x473798
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x494fc0], eax
test eax, eax
jne 0x473798
push str.GetEnvironmentStrings_failed
call fcn.00472f5c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x494fc0]
jmp 0x4737ac
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.0046db2c
pop ecx
mov edi, eax
test eax, eax
jne 0x4737a4
lea edi, [ebp + 1]
push edi
call fcn.0046d430
pop ecx
mov ebx, eax
mov dword [0x494fa4], ebx
test ebx, ebx
jne 0x4737d6
xor eax, eax
jmp 0x4738ac
push edi
mov edx, dword [0x494fc0]
push edx
push ebx
call fcn.0046d9dc
add esp, 0xc
jmp 0x473809
xor esi, esi
mov ebx, dword [0x494fa0]
jmp 0x473803
push eax
call fcn.0046db2c
pop ecx
test eax, eax
jne 0x4737ff
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x4737f3
lea ebx, [esi + 4]
push 4
mov dword [0x494fa8], ebx
inc ebx
push ebx
call fcn.0046cbec
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x47382c
xor eax, eax
jmp 0x4738ac
cmp dword [0x494fa0], 0
jne 0x47385d
xor esi, esi
mov ebx, dword [0x494fa4]
mov eax, dword [esp]
mov ebp, eax
jmp 0x47384e
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.0046db2c
pop ecx
mov edi, eax
test eax, eax
jne 0x473844
jmp 0x47388e
xor esi, esi
mov ebx, dword [0x494fa0]
mov eax, dword [esp]
mov edi, eax
jmp 0x473888
push eax
call fcn.0046db2c
pop ecx
test eax, eax
je 0x47387d
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x473881
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x47386c
mov eax, dword [0x494fa0]
test eax, eax
je 0x47389e
push eax
call fcn.0046d440
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x494fa0], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x479da8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x479dd6
mov eax, ebx
call fcn.0047a860
cmp dword [ebx + 0x3c], 0
je 0x479dcf
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x479e47
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x479e39
cmp dword [ebx + 8], 0
je 0x479df8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x479e0a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x479e39
cmp dword [ebx + 8], 0
je 0x479deb
cmp eax, 3
je 0x479e1d
dec eax
jne 0x479deb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x479deb
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x479deb
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x479e65
cmp dword [ebx + 0x10], 0xcc
je 0x479e65
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00479e70
pop ebx
ret
Function at 0x4bc1dd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xchg dword [esp], eax
sahf
sub dword [esp], eax
jmp 0x4c0979
not ebx
not ebx
sub eax, dword [esp + 4]
wait
jne 0x4c0961
mov ah, 0x9c
or eax, esi
mov edi, dword [edx + 0x1c]
jmp 0x4c0984
cld
xor dl, 0
or ebp, ebp
sub edi, 0xffffffff
test byte [edi], 0xff
nop
pop eax
jmp 0x4bc0f7
jne 0x4bc262
cld
nop
xor eax, 0x121b9a1f
jmp 0x4bc082
lea ebx, [ebx]
lodsd eax, dword [esi]
mov edi, edi
lea edi, [eax + ebx]
nop
not eax
not eax
cmp ecx, dword [edx + 0x18]
jmp 0x4bc24d
ret
push dword [ebx + 0x3c]
pop eax
jmp 0x4bc376
je 0x4bc1dc
wait
wait
lea esi, [esi]
nop
mov eax, 0
cld
dec edi
inc edi
cld
nop
push eax
inc dl
dec dl
cld
imul eax, eax, 0x10
jmp 0x4bc076
dec al
mov ecx, esp
push dword [edx + 0x20]
not edi
mov edi, edi
mov esi, eax
add ch, dh
pop esi
test edi, eax
adc edi, esp
not ah
push 0xffffffffffffffff
jmp 0x4c095a
adc dh, bl
mov edx, dword [eax + ebx + 0x78]
lea edx, [edx + ebx]
jmp 0x4bc32f
add esi, ebx
ret 4
mov ah, 0xe4
lea esi, [ebx + esi]
pop ecx
wait
add ecx, 1
jmp 0x4bc155
movzx eax, byte [edi]
sub dword [esp], eax
jmp 0x4bc0e4
mov esi, dword [edx + 0x24]
sbb edx, eax
clc
add esi, ebx
add edi, ebx
jmp 0x4c09c5
not edx
movzx eax, word [esi + ecx*2]
cmp edx, 0x36
mov esi, dword [edi + eax*4]
jmp 0x4c0913
Function at 0x43dd20
Capabilities:
Encode data using xor

Disassembly:
push eax
mov eax, dword [esp + 8]
mov dword [esp], 0xe1e6e7d4
xor ecx, ecx
nop
nop
mov edx, ecx
add dl, 0x29
xor dl, byte [esp + ecx]
add dl, 0x33
mov byte [esp + ecx], dl
inc ecx
cmp ecx, 4
jne 0x43dd30
mov ecx, dword [esp]
mov ecx, dword fs:[ecx]
push eax
push 0
push dword [ecx + 0x18]
call dword [str.0KKw]
pop ecx
ret

Function at 0x43dd60
Capabilities:
Encode data using xor

Disassembly:
push esi
sub esp, 8
mov eax, dword [esp + 0x10]
xor ecx, ecx
test eax, eax
setne cl
jmp dword [ecx*4 + 0x44e874]
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x401037
Capabilities:
Delete file
Extract resource via kernel32 functions
Get common file path

Disassembly:
call 0x401037
push 0
call sub.kernel32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffbf4
push esi
push edi
push ebx
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x403030], eax
mov dword [ebp - 8], 0
push 0xa
push section..data
push 0
call sub.kernel32.dll_FindResourceA
or eax, eax
je 0x401089
mov dword [ebp - 4], eax
push dword [ebp - 4]
push 0
call sub.kernel32.dll_SizeofResource
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
push 0
call sub.kernel32.dll_LoadResource
or eax, eax
je 0x401089
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4010c1
push 4
push 0x1000
push dword [ebp - 0xc]
push 0
call sub.kernel32.dll_VirtualAlloc
mov edi, eax
push dword [ebp - 0xc]
push dword [ebp - 8]
push edi
call sub.kernel32.dll_RtlMoveMemory
mov dword [ebp - 8], edi
push 0xdeadbeef
push dword [ebp - 0xc]
push dword [ebp - 8]
call section..text
cmp dword [ebp - 8], 0
je 0x4010fb
lea eax, [ebp - 0x40c]
push eax
push 0x400
call sub.kernel32.dll_GetTempPathA
push str.dup2patcher.dll
lea eax, [ebp - 0x40c]
push eax
call sub.kernel32.dll_lstrcatA
push dword [ebp - 0xc]
push dword [ebp - 8]
lea eax, [ebp - 0x40c]
push eax
call fcn.00401184
lea eax, [ebp - 0x40c]
push eax
call sub.kernel32.dll_LoadLibraryA
or eax, eax
je 0x401130
mov ebx, eax
push str.load_patcher
push ebx
call sub.kernel32.dll_GetProcAddress
or eax, eax
je 0x40111e
call eax
push ebx
call sub.kernel32.dll_FreeLibrary
lea eax, [ebp - 0x40c]
push eax
call sub.kernel32.dll_DeleteFileA
pop ebx
pop edi
pop esi
leave
ret

Function at 0x401184
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp + 8]
call sub.kernel32.dll_CreateFileA
cmp eax, 0xffffffff
jne 0x4011af
xor eax, eax
leave
ret 0xc
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
call sub.kernel32.dll_WriteFile
push dword [ebp - 4]
call sub.kernel32.dll_FlushFileBuffers
push dword [ebp - 4]
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 8]
leave
ret 0xc
Function at 0x10016470
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10087b95
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100b0040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
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.100173c0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10016503
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 ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 8], 0xfffffff
je 0x10016658
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x10], 0
call fcn.100624b9
mov ecx, dword [ebx]
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 eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1009c520]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x1009c520]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x100165fa
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call fcn.100854c0
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.10087590
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x100165dc
cmp ebx, 0x200
jae 0x100165da
shl ebx, 3
cmp ebx, ecx
jae 0x100165dc
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.10016e90
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.100173c0
mov edx, dword [eax]
jmp 0x100165fd
mov edx, dword [ebp - 0x20]
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 + 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 - 0x10]
jne 0x10016628
mov dword [ecx + eax*8], esi
jmp 0x10016637
cmp edi, edx
jne 0x10016631
mov dword [ecx + eax*8], esi
jmp 0x1001663b
cmp dword [ecx + eax*8 + 4], ebx
jne 0x1001663b
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
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
push str.unordered_map_set_too_long
call fcn.10060b4c
int3
Function at 0x10016ba0
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 0x10016d0d
lea eax, [ecx - 1]
mov esi, dword [0x100b2e7c]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x100b2e84
lea eax, [edi + edi]
push eax
call fcn.100127f0
mov eax, dword [0x100b2e7c]
lea ebx, [edi - 1]
mov dword [0x100b2e90], ebx
mov dword [0x100b2e94], edi
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x10016d04
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 [0x100b2e84]
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 0x10016c62
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x10016ccf
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x10016c9c
mov edx, dword [edx]
mov dword [ebp - 8], edx
cmp edx, eax
je 0x10016c94
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 0x10016ccf
cmp ebx, edx
je 0x10016cac
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x10016ce0
cmp ebx, edx
jne 0x10016ca0
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 0x10016d04
mov ebx, dword [0x100b2e90]
jmp 0x10016c10
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 0x10016ccf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.invalid_hash_bucket_count
call fcn.10060b4c
int3
Function at 0x10016d20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 8
bsr ecx, eax
push ebx
push esi
mov esi, 1
mov eax, esi
shl eax, cl
mov ecx, dword [ebp + 8]
push edi
cmp ecx, eax
ja 0x10016e80
lea eax, [ecx - 1]
mov ebx, dword [0x100b2f88]
or eax, esi
mov dword [ebp - 4], ebx
bsr ecx, eax
push ebx
lea ecx, [ecx + 1]
shl esi, cl
mov ecx, 0x100b2f90
lea eax, [esi + esi]
push eax
call fcn.100127f0
mov ecx, dword [0x100b2f88]
lea edi, [esi - 1]
mov dword [0x100b2f9c], edi
mov dword [0x100b2fa0], esi
mov ecx, dword [ecx]
cmp ecx, ebx
je 0x10016e77
mov eax, ecx
nop dword [eax + eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
movzx edx, byte [eax + 0xa]
imul esi, esi, 0x1000193
xor esi, edx
movzx edx, byte [eax + 0xb]
imul esi, esi, 0x1000193
xor esi, edx
mov edx, dword [0x100b2f90]
imul esi, esi, 0x1000193
and esi, edi
mov edi, dword [edx + esi*8]
lea ebx, [edx + esi*8]
mov dword [ebp + 8], ebx
cmp edi, dword [ebp - 4]
jne 0x10016de3
mov dword [ebx], eax
mov dword [ebx + 4], eax
jmp 0x10016e49
mov edx, dword [ebx + 4]
mov esi, dword [eax + 8]
cmp esi, dword [edx + 8]
jne 0x10016e1a
mov edx, dword [edx]
mov dword [ebp - 8], edx
cmp edx, eax
je 0x10016e15
mov edi, dword [eax + 4]
mov ebx, dword [ebp - 8]
mov dword [edi], ecx
mov esi, dword [ecx + 4]
mov dword [esi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [ebx + 4], esi
mov ebx, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
mov dword [ebx + 4], eax
jmp 0x10016e49
cmp edi, edx
je 0x10016e2c
nop
mov edx, dword [edx + 4]
cmp esi, dword [edx + 8]
je 0x10016e5b
cmp edi, edx
jne 0x10016e20
mov ebx, dword [eax + 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov esi, dword [edx + 4]
mov dword [esi], eax
mov dword [edx + 4], edi
mov edx, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], esi
mov dword [edx], eax
mov eax, ecx
cmp ecx, dword [ebp - 4]
je 0x10016e77
mov edi, dword [0x100b2f9c]
jmp 0x10016d90
mov edi, dword [eax + 4]
mov ebx, dword [edx]
mov dword [edi], ecx
mov esi, dword [ecx + 4]
mov dword [esi], ebx
mov edx, dword [ebx + 4]
mov dword [edx], eax
mov dword [ebx + 4], esi
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
jmp 0x10016e49
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.invalid_hash_bucket_count
call fcn.10060b4c
int3