joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4aa50d
Capabilities:
Parse pe header

Disassembly:
movsx eax, byte [esp + 4]
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x4aa51a
jmp dword [eax*4 + 0x4aa575]
mov al, 0x41
ret
mov al, 0x42
ret
mov al, 0x43
ret
mov al, 0x44
ret
mov al, 0x45
ret
mov al, 0x46
ret
mov al, 0x47
ret
mov al, 0x48
ret
mov al, 0x49
ret
mov al, 0x4a
ret
mov al, 0x4b
ret
mov al, 0x4c
ret
mov al, 0x4d
ret
mov al, 0x4e
ret
mov al, 0x4f
ret
mov al, 0x50
ret
mov al, 0x51
ret
mov al, 0x52
ret
mov al, 0x53
ret
mov al, 0x54
ret
mov al, 0x55
ret
mov al, 0x56
ret
mov al, 0x57
ret
mov al, 0x58
ret
mov al, 0x59
ret
mov al, 0x5a
ret
mov al, byte [esp + 4]
ret

Function at 0x4abebc
Capabilities:
Create thread

Disassembly:
push 0
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
push 0
push 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x4abede
cmp eax, 0xffffffff
jne 0x4abee0
xor eax, eax
ret

Function at 0x4ac270
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi]
push ebx
xor ebx, ebx
cmp dword [eax + 4], 2
push edi
sete bl
test ebx, ebx
je 0x4ac294
push dword [eax + 8]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call dword [esi + 0xc]
jmp 0x4ac2c7
cmp dword [esi + 8], 0
jne 0x4ac2b6
push 0x4cdd34
push dword [eax + 8]
call dword [sym.imp.MSVCR80.dll_fopen]
test eax, eax
pop ecx
pop ecx
mov dword [esi + 8], eax
jne 0x4ac2b6
or eax, 0xffffffff
jmp 0x4ac2ee
push dword [esi + 8]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call dword [sym.imp.MSVCR80.dll_fread]
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4ac2d5
cmp edi, dword [ebp + 0xc]
jbe 0x4ac2ec
test ebx, ebx
jne 0x4ac2e6
push dword [esi + 8]
call dword [sym.imp.MSVCR80.dll_fclose]
and dword [esi + 8], ebx
pop ecx
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, edi
pop edi
pop ebx
pop ebp
ret
Function at 0x109593c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x109593ca
pushal
call 0x109593d0
pop ebp
sub ebp, 0x10
sub ebp, 0x9593c0
mov al, byte [esp + 0x28]
cmp al, 1
je 0x109593f4
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x109593fd
mov eax, 0x9593c0
add eax, ebp
add eax, 0x63
mov ecx, 0x5d7
mov edx, 0x614f4c36
xor byte [eax], dl
inc eax
dec ecx
jne 0x10959414
jmp 0x10959427
mov ebp, 0xabfbdfb
mov bh, 0xf7
into
xor eax, 0x363e8efb
mov word ss:[esi], ds
rcl esp, 0x35
invalid
Function at 0x403db0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x403e11
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x403df4
cmp edi, 2
jb 0x403df4
cmp byte [esi], cl
jne 0x403df4
cmp byte [esi + 1], cl
jne 0x403df4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4e5160]
jmp 0x403dc5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4e5160]
test edi, edi
jne 0x403dc5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x403e40
cmp cl, 0x23
jne 0x403e27
cmp byte [esi], cl
jne 0x403e27
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x4e5160]
test cl, cl
jne 0x403e18
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x403fd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
jne 0x403ff5
push 0x78a
push str.C:UsersokDesktoppasetuneimgui.cpp
push str.filename__mode
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov edi, dword [ebp + 8]
test edi, edi
je 0x404002
mov dword [edi], 0
mov edx, 0x4e4a20
mov ecx, esi
call fcn.00403e50
mov esi, eax
test esi, esi
je 0x4040f2
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebx
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x4040e8
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x4040e8
push esi
call ebx
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
cmp ebx, 0xffffffff
je 0x4040e8
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x4040e8
mov eax, dword [0x4fb818]
test eax, eax
je 0x40407c
inc dword [eax + 0xb4]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4040e8
push esi
push dword [ebp + 8]
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x4040cd
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x4fb818]
add esp, 4
test eax, eax
je 0x4040ba
dec dword [eax + 0xb4]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x4040df
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406c30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0xe4], 0
jg 0x406c59
push 0x71e
push str.C:UsersokDesktoppasetuneimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [edi + 0xe4]
lea edx, [ebp + 8]
mov ebx, dword [edi + 0xec]
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x4e5160]
sub esi, 1
jne 0x406c73
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3e8c], ebx
jne 0x406caa
push ecx
push dword [ebp + 8]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.0041af20
add esp, 8
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 4
Function at 0x40a770
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x40a7ad
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x40a793
cmp byte [esi], bl
jne 0x40a793
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x4e5160]
test bl, bl
jne 0x40a784
pop edi
pop esi
not ecx
pop ebx
jmp fcn.0040a710
Function at 0x419850
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x5aa4], 0
lea esi, [edi + 0x5aa8]
je 0x4198d2
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x41988c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.0041bc30
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.00404350
mov edx, dword [esi]
mov ecx, 0x4fb814
push dword [edi + 0x5aa4]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5ab0]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.00404350
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x419d10
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4fb818]
lea edx, [ecx + 1]
push ebx
mov dword [ebp - 4], eax
or ebx, 0xffffffff
mov al, byte [ecx]
push esi
push edi
test al, al
je 0x419d57
or esi, 0xffffffff
nop
cmp al, 0x23
jne 0x419d3e
cmp byte [edx], al
jne 0x419d3e
cmp byte [edx + 1], al
cmove ebx, esi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x4e5160]
test al, al
jne 0x419d30
mov ecx, dword [ebp - 4]
xor esi, esi
not ebx
mov eax, dword [ecx + 0x5a4c]
test eax, eax
jle 0x419daf
mov edx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor edi, edi
test esi, esi
js 0x419d78
cmp esi, eax
jl 0x419d95
push 0x715
push str.C:UsersokDesktoppasetuneimgui.h
push str.i___0__i___Size
call edx
mov ecx, dword [ebp - 4]
add esp, 0xc
mov edx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [ecx + 0x5a54]
cmp dword [eax + edi + 4], ebx
je 0x419db8
mov eax, dword [ecx + 0x5a4c]
inc esi
add edi, 0x24
cmp esi, eax
jl 0x419d70
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
js 0x419dc4
cmp esi, dword [ecx + 0x5a4c]
jl 0x419dd8
push 0x715
push str.C:UsersokDesktoppasetuneimgui.h
push str.i___0__i___Size
call edx
add esp, 0xc
mov eax, dword [ebp - 4]
lea ecx, [esi + esi*8]
pop edi
pop esi
pop ebx
mov eax, dword [eax + 0x5a54]
lea eax, [eax + ecx*4]
mov esp, ebp
pop ebp
ret

Function at 0x41a150
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x4fb818]
sub esp, 8
push esi
mov esi, ecx
mov dword [eax + 0x5a3c], 0
push edi
test esi, esi
je 0x41a1ad
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.0041a1c0
mov edx, 0x4e4a24
mov ecx, esi
mov edi, eax
call fcn.00403e50
mov esi, eax
test esi, esi
je 0x41a1ad
push esi
push dword [esp + 0x10]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41d920
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41d95a
mov eax, dword [0x4fb818]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x41d94d
dec dword [eax + 0xb4]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x41d98b
mov eax, dword [0x4fb818]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x41d97e
dec dword [eax + 0xb4]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x41d9bc
mov eax, dword [0x4fb818]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x41d9af
dec dword [eax + 0xb4]
push ecx
call edi
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x41da09
mov eax, dword [0x4fb818]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x41d9fc
dec dword [eax + 0xb4]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x41da3a
mov eax, dword [0x4fb818]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x41da2d
dec dword [eax + 0xb4]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x41da6b
mov eax, dword [0x4fb818]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x41da5e
dec dword [eax + 0xb4]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.00420cf0
Function at 0x428b40
Capabilities:
Log keystrokes via polling

Disassembly:
mov ecx, dword [0x4fb818]
mov edx, 0x210
push ebx
push esi
push edi
call fcn.00410b40
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
cmp byte [eax], 0
je 0x428bda
mov ecx, dword [0x4fb818]
mov edx, 0x210
call fcn.00403040
cmp byte [eax + 8], 0
jne 0x428bda
push 0xa0
call ebx
shr eax, 0xf
test al, 1
jne 0x428bda
cmp dword [0x4fb818], 0
jne 0x428ba5
push 0xf19
push str.C:UsersokDesktoppasetuneimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
add esp, 0xc
mov esi, dword [0x4fb818]
cmp byte [esi + 0x3771], 0
je 0x428bc6
push 0
push 0x210
xorps xmm3, xmm3
lea ecx, [esi + 8]
call fcn.004036a0
mov dword [esi + 0x340], 0x210
mov dword [esi + 0x900], 0xa0
mov ecx, dword [0x4fb818]
mov edx, 0x214
call fcn.00410b40
cmp byte [eax], 0
je 0x428c65
mov ecx, dword [0x4fb818]
mov edx, 0x214
call fcn.00403040
cmp byte [eax + 8], 0
jne 0x428c65
push 0xa1
call ebx
shr eax, 0xf
test al, 1
jne 0x428c65
cmp dword [0x4fb818], 0
jne 0x428c30
push 0xf19
push str.C:UsersokDesktoppasetuneimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
add esp, 0xc
mov esi, dword [0x4fb818]
cmp byte [esi + 0x3771], 0
je 0x428c51
push 0
push 0x214
xorps xmm3, xmm3
lea ecx, [esi + 8]
call fcn.004036a0
mov dword [esi + 0x344], 0x214
mov dword [esi + 0x910], 0xa1
mov ecx, dword [0x4fb818]
mov edx, 0x212
call fcn.00410b40
cmp byte [eax], 0
je 0x428ced
mov ecx, dword [0x4fb818]
mov edx, 0x212
call fcn.00403040
cmp byte [eax + 8], 0
jne 0x428ced
push 0x5b
call ebx
shr eax, 0xf
test al, 1
jne 0x428ced
cmp dword [0x4fb818], 0
jne 0x428cb8
push 0xf19
push str.C:UsersokDesktoppasetuneimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
add esp, 0xc
mov esi, dword [0x4fb818]
cmp byte [esi + 0x3771], 0
je 0x428cd9
push 0
push 0x212
xorps xmm3, xmm3
lea ecx, [esi + 8]
call fcn.004036a0
mov dword [esi + 0x22c], 0x212
mov dword [esi + 0x908], 0x5b
mov ecx, dword [0x4fb818]
mov edx, 0x216
call fcn.00410b40
cmp byte [eax], 0
je 0x428d76
mov ecx, dword [0x4fb818]
mov edx, 0x216
call fcn.00403040
cmp byte [eax + 8], 0
jne 0x428d76
push 0x5c
call ebx
shr eax, 0xf
test al, 1
jne 0x428d76
mov esi, dword [0x4fb818]
test esi, esi
jne 0x428d47
push 0xf19
push str.C:UsersokDesktoppasetuneimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
mov esi, dword [0x4fb818]
add esp, 0xc
cmp byte [esi + 0x3771], 0
je 0x428d62
push 0
push 0x216
xorps xmm3, xmm3
lea ecx, [esi + 8]
call fcn.004036a0
mov dword [esi + 0x230], 0x216
mov dword [esi + 0x918], 0x5c
pop edi
pop esi
pop ebx
ret
Function at 0x42d260
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8971
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 8
push esi
push edi
mov edi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x14], edi
lea esi, [edi + 0x58]
push 8
mov dword [ebp - 0x18], esi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 1
mov word [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.004a70c9
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
lea esi, [edi + 0x6c]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], esi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.004a70c9
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
lea esi, [edi + 0x80]
mov byte [ebp - 4], 1
xorps xmm0, xmm0
mov dword [ebp - 0x18], esi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.004a70c9
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov byte [ebp - 4], 2
lea ecx, [edi + 0x94]
call fcn.0042d480
lea ecx, [edi + 0xb4]
mov byte [ebp - 4], 3
call fcn.0042d480
lea ecx, [edi + 0xd4]
mov byte [ebp - 4], 4
call fcn.0042d480
lea ecx, [edi + 0xf4]
mov byte [ebp - 4], 5
call fcn.0042d480
lea ecx, [edi + 0x114]
mov byte [ebp - 4], 6
call fcn.0042d480
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x42f2f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a89c5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
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.0042fbe0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x42f378
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
jne 0x42f38c
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x10], 0
call fcn.004a70c9
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 + 0x4f73b0]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x4f73b0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x42f476
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.004a82e0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x42f458
cmp ebx, 0x200
jae 0x42f456
shl ebx, 3
cmp ebx, ecx
jae 0x42f458
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.0042fa60
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0042fbe0
mov edx, dword [eax]
jmp 0x42f479
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 0x42f4a4
mov dword [ecx + eax*8], esi
jmp 0x42f4b3
cmp edi, edx
jne 0x42f4ad
mov dword [ecx + eax*8], esi
jmp 0x42f4b7
cmp dword [ecx + eax*8 + 4], ebx
jne 0x42f4b7
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
Function at 0x42fa60
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 4], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
jbe 0x42fa91
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, 1
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.0042d010
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x42fb9c
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
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 - 8], edx
cmp edi, esi
jne 0x42fb21
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x42fb92
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x42fb5b
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x42fb53
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0xc]
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 - 8]
mov dword [edx + 4], eax
jmp 0x42fb8f
cmp edi, edx
je 0x42fb6c
nop
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x42fba5
cmp edi, edx
jne 0x42fb60
mov ebx, dword [eax + 4]
mov dword [ebp - 0xc], 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 - 0xc]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 8]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 4]
mov eax, ecx
cmp ecx, esi
jne 0x42fad0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 0xc], 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 0x42fb8f