joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e150
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d21d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x495580]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040df10
add esp, 4
mov dword [ebp - 4], 0
or esi, 0xffffffff
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x40e19d
xor bl, bl
jmp 0x40e22a
push str.KbdEdit
mov edx, eax
lea ecx, [ebp - 0x10]
call fcn.0040d7d0
add esp, 4
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
call fcn.0040d450
test eax, eax
jne 0x40e1d1
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40e1d1
xor bl, bl
jmp 0x40e20d
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
push str.LayoutidTracking.bin
call fcn.0040d7d0
add esp, 4
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 2
call fcn.0040ef40
mov edx, dword [ebp - 0x18]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40e20b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov bl, 1
mov edx, dword [ebp - 0x10]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40e227
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x40e23f
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4135e0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d9b5
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x495580]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], edx
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x413649
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x3c]
call fcn.00436896
push 0xffffffffffffffff
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x10]
call fcn.00436bd6
lea ecx, [ebp - 0x50]
call fcn.0043a4be
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 0x14]
push 0xffffffffffffffff
lea eax, [eax*2 + 2]
push eax
call fcn.0043a61f
mov edi, dword [ebp - 0x4c]
xor esi, esi
cmp dword [ebp - 0x10], esi
jbe 0x4136f1
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push edi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x413723
test esi, esi
js 0x413727
cmp esi, dword [ebp - 0x34]
jge 0x413727
mov eax, dword [ebp - 0x38]
lea edx, [eax + esi*4]
test edi, edi
jne 0x4136c9
xor eax, eax
jmp 0x4136e2
mov eax, edi
lea ebx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4136d0
sub eax, ebx
mov ebx, dword [ebp - 0x1c]
sar eax, 1
push eax
push edi
mov ecx, edx
call fcn.00403e20
inc esi
cmp esi, dword [ebp - 0x10]
jb 0x413690
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x3c]
push eax
call fcn.00436a23
mov bl, 1
lea ecx, [ebp - 0x50]
call fcn.0043a4d5
lea ecx, [ebp - 0x3c]
call fcn.004368ad
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor bl, bl
jmp 0x4136ff
call fcn.00436600
int3
Function at 0x413d00
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46da95
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x495580]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x413d66
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x30]
mov bl, 1
call fcn.00436896
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0
call fcn.0043a4be
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x10]
push 0xffffffffffffffff
lea eax, [eax*2 + 2]
push eax
call fcn.0043a61f
mov ecx, dword [ebp - 0x10]
xor edi, edi
mov esi, dword [ebp - 0x40]
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
lea eax, [ecx*2 + 2]
push eax
push edi
push esi
call fcn.0044cff0
add esp, 0xc
lea eax, [ebp - 0x14]
push edi
push edi
push edi
push edi
push eax
push esi
push edi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x413e20
test eax, eax
jne 0x413de3
push esi
push dword [ebp - 0x28]
lea ecx, [ebp - 0x30]
call fcn.00436b8b
jmp 0x413de5
xor bl, bl
mov ecx, dword [ebp - 0x10]
inc edi
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
lea eax, [ecx*2 + 2]
push eax
push 0
push esi
call fcn.0044cff0
add esp, 0xc
lea eax, [ebp - 0x14]
push 0
push 0
push 0
push 0
push eax
push esi
push edi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x413dd1
mov eax, dword [ebp - 0x28]
xor esi, esi
mov ecx, eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
jle 0x413e85
nop
test esi, esi
js 0x413ea9
cmp esi, eax
jge 0x413ea9
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + esi*4]
sub eax, 0x10
push eax
call fcn.00403700
mov edi, eax
add esp, 4
lea ecx, [edi + 0x10]
push ecx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor edx, edx
movzx ecx, bl
test eax, eax
cmove edx, ecx
or eax, 0xffffffff
mov bl, dl
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x413e7a
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
inc esi
cmp esi, dword [ebp - 0x14]
jge 0x413e85
mov eax, dword [ebp - 0x28]
jmp 0x413e30
lea ecx, [ebp - 0x44]
call fcn.0043a4d5
lea ecx, [ebp - 0x30]
call fcn.004368ad
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00436600
int3
Function at 0x413eb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0xf003f
push 0
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x413ede
xor al, al
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
push ebx
push esi
push edi
call fcn.00413d00
mov edi, dword [ebp + 8]
mov bl, al
xor esi, esi
mov eax, dword [edi + 8]
mov dword [ebp - 0xc], eax
test eax, eax
jle 0x413f4a
nop word [eax + eax]
mov byte [ebp - 1], bl
test esi, esi
js 0x413f66
cmp esi, dword [edi + 8]
jge 0x413f66
mov eax, dword [ebp + 0xc]
cmp esi, dword [eax + 8]
jge 0x413f66
mov eax, dword [eax + 4]
mov edx, dword [eax + esi*4]
mov eax, dword [edx - 0xc]
lea ecx, [eax*2 + 2]
mov eax, dword [edi + 4]
push ecx
push edx
push 1
push 0
push dword [eax + esi*4]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movzx ecx, byte [ebp - 1]
xor ebx, ebx
test eax, eax
cmove ebx, ecx
inc esi
cmp esi, dword [ebp - 0xc]
jl 0x413f00
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
movzx ecx, bl
test eax, eax
pop edi
cmove edx, ecx
pop esi
mov al, dl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00436600
int3
Function at 0x413f70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46dadd
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x495580]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0
push str.Languages
push esi
mov dword [ebp - 0x14], 0
call edi
test eax, eax
jne 0x41415e
cmp dword [ebp - 0x18], 7
jne 0x41415e
lea ecx, [ebp - 0x44]
call fcn.0043a4be
push 0xffffffffffffffff
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
push dword [ebp - 0x14]
call fcn.0043a61f
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x40]
push 0
push 0
push str.Languages
push esi
call edi
test eax, eax
je 0x414025
lea ecx, [ebp - 0x44]
xor bl, bl
call fcn.0043a4d5
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
mov edi, dword [ebp - 0x40]
shr eax, 1
lea ebx, [edi + eax*2]
mov dword [ebp - 0x1c], ebx
call fcn.00436896
mov byte [ebp - 4], 1
cmp edi, ebx
jae 0x41412c
nop word [eax + eax]
cmp word [edi], 0
je 0x41412c
mov esi, ebx
sub esi, edi
sar esi, 1
mov byte [ebp - 4], 3
call fcn.004363ea
mov ecx, eax
mov byte [ebp - 4], 2
test ecx, ecx
je 0x41417c
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 4
test esi, esi
js 0x414172
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, esi
or eax, ecx
jge 0x4140ab
push esi
lea ecx, [ebp - 0x10]
call fcn.004041a0
mov ebx, dword [ebp - 0x10]
push esi
push edi
push ebx
call fcn.00456495
xor eax, eax
mov word [ebx + esi*2], ax
mov eax, dword [ebp - 0x10]
push dword [eax - 8]
push eax
call fcn.004545da
mov edx, eax
add esp, 0x14
test edx, edx
js 0x414172
mov ecx, dword [ebp - 0x10]
cmp edx, dword [ecx - 8]
jg 0x414172
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov word [eax + edx*2], cx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x30]
call fcn.00436b3a
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 1
or eax, 0xffffffff
lea edi, [edi + ecx*2]
add edi, 2
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414121
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x1c]
cmp edi, ebx
jb 0x414050
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
call fcn.00436a23
lea ecx, [ebp - 0x30]
mov bl, 1
call fcn.004368ad
lea ecx, [ebp - 0x44]
call fcn.0043a4d5
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00404410
push 0x80004005
call fcn.00404410
int3
Function at 0x414e50
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46dcad
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x495580]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [ebp - 0x34]
call fcn.00413220
push ecx
lea edx, [ebp - 0x34]
mov dword [ebp - 4], 0
mov ecx, edi
call fcn.004148b0
add esp, 4
or esi, 0xffffffff
test al, al
je 0x414f45
cmp byte [ebp - 0x30], 0
je 0x414f45
mov edx, edi
lea ecx, [ebp - 0x14]
call fcn.00419c50
push 0x484fd0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push 0x58ec70
push eax
call fcn.00403630
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00402d50
mov edx, dword [ebp - 0x18]
add esp, 0x18
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414efc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x10]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edx, dword [ebp - 0x10]
test eax, eax
mov eax, esi
sete bl
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414f29
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414f47
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x414f47
xor bl, bl
mov edx, dword [ebp - 0x1c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414f61
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414f7b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x414f93
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x419260
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e265
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x495580]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], edx
mov ebx, ecx
mov dword [ebp - 4], 1
call fcn.004363ea
mov ecx, eax
mov byte [ebp - 4], 0
test ecx, ecx
je 0x419408
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x28], esi
push 0
mov dword [ebp - 4], 2
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
or edi, 0xffffffff
cmp ebx, eax
jne 0x41930c
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameW]
test eax, eax
jne 0x4192e0
xor bl, bl
jmp 0x4193c1
lea ecx, [ebp - 0x24]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4192e6
sub ecx, edx
lea eax, [ebp - 0x24]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00403e20
mov esi, dword [ebp - 0x28]
mov bl, 1
jmp 0x4193c1
mov byte [ebp - 4], 4
call fcn.004363ea
mov ecx, eax
mov byte [ebp - 4], 3
test ecx, ecx
je 0x419412
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
push 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
push 0x4792ac
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x30], 0
call fcn.00403e20
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x34]
push eax
push 0x419180
call fcn.0043ac8f
test eax, eax
jne 0x419383
mov edx, dword [ebp - 0x2c]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4193c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor bl, bl
jmp 0x4193d5
push 0xffffffffffffffff
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov bl, byte [ebp - 0x30]
test bl, bl
je 0x4193a7
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040ef40
mov esi, dword [ebp - 0x28]
mov bl, byte [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4193c1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
jne 0x4193c9
xor bl, bl
jmp 0x4193d5
mov edx, dword [ebp - 0x38]
mov ecx, esi
call fcn.00419d30
mov bl, al
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x4193ea
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044ae3d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404410
push 0x80004005
call fcn.00404410
int3
Function at 0x41acc0
Capabilities:
Hash data using fnv

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 0x46e505
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
push esi
push edi
mov eax, dword [0x495580]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 8]
cmp edi, dword [ebx + 0xc]
je 0x41aea4
nop word [eax + eax]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.0041b2c0
cmp dword [ebp - 0x1c], 0
jne 0x41ae95
cmp dword [0x58ed08], 0xfffffff
je 0x41aeba
mov dword [ebp - 0x28], 0x58ed04
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x24], 0
call fcn.0043a7b1
mov ecx, dword [edi + 4]
mov esi, eax
mov eax, dword [edi]
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov dword [ebp - 4], 1
mov ecx, dword [0x58ed08]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x48a0f0]
mov eax, dword [0x58ed1c]
mov dword [ebp - 0x18], eax
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x48a0f0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
movss xmm1, dword [0x58ed00]
comiss xmm2, xmm1
jbe 0x41ae35
divss xmm0, xmm1
call fcn.0041b330
call fcn.0046c6e0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x18]
cmp eax, ecx
jae 0x41ae0c
cmp eax, 0x200
jae 0x41ae0a
shl eax, 3
cmp eax, ecx
jae 0x41ae0c
mov eax, ecx
push eax
call fcn.0041b120
push dword [ebp - 0x14]
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0041b2c0
mov ecx, dword [0x58ed08]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
jmp 0x41ae38
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
inc ecx
mov dword [0x58ed08], ecx
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [0x58ed0c]
mov dword [ebp - 0x18], eax
mov eax, dword [0x58ed18]
and eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], 0
mov edi, dword [ecx + eax*8]
cmp edi, dword [0x58ed04]
mov edi, dword [ebx + 8]
jne 0x41ae77
mov dword [ecx + eax*8], esi
jmp 0x41ae8a
cmp dword [ecx + eax*8], edx
jne 0x41ae81
mov dword [ecx + eax*8], esi
jmp 0x41ae8e
mov edx, dword [ebp - 0x18]
cmp dword [ecx + eax*8 + 4], edx
jne 0x41ae8e
mov dword [ecx + eax*8 + 4], esi
mov dword [ebp - 4], 0xffffffff
add edi, 8
mov dword [ebx + 8], edi
cmp edi, dword [ebx + 0xc]
jne 0x41ad10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push str.unordered_map_set_too_long
call fcn.0044c076
int3
Function at 0x41b120
Capabilities:
Hash data using fnv

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
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebx + 8]
cmp ecx, eax
ja 0x41b2ad
lea eax, [ecx - 1]
mov esi, dword [0x58ed04]
or eax, edi
mov dword [ebp - 4], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x58ed0c
lea eax, [edi + edi]
push eax
call fcn.0041a820
lea eax, [edi - 1]
mov dword [0x58ed1c], edi
mov dword [0x58ed18], eax
mov eax, dword [0x58ed04]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x41b277
nop dword [eax + eax]
movzx edx, byte [eax + 8]
mov ecx, dword [ecx]
xor edx, 0x811c9dc5
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
mov edx, dword [0x58ed0c]
imul edi, edi, 0x1000193
and edi, dword [0x58ed18]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0xc], edx
cmp edi, esi
jne 0x41b1e0
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x41b26d
mov edx, dword [edx + 4]
movzx esi, word [eax + 8]
cmp si, word [edx + 8]
mov esi, dword [ebp - 4]
jne 0x41b228
mov edx, dword [edx]
mov dword [ebp - 8], edx
cmp edx, eax
je 0x41b220
mov edx, dword [eax + 4]
mov esi, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov dword [edx], ecx
mov edi, dword [ecx + 4]
mov edx, dword [ebp - 8]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 4]
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
jmp 0x41b26d
cmp edi, edx
je 0x41b241
nop dword [eax]
mov edx, dword [edx + 4]
movzx esi, word [eax + 8]
cmp si, word [edx + 8]
je 0x41b282
cmp edi, edx
jne 0x41b230
mov esi, dword [eax + 4]
mov dword [ebp - 8], esi
mov dword [esi], ecx
mov edi, dword [ecx + 4]
mov dword [ebp - 0x10], edi
mov esi, dword [ebp - 0x10]
mov dword [edi], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], esi
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edi
mov dword [edx], eax
mov esi, dword [ebp - 4]
mov eax, ecx
cmp ecx, esi
jne 0x41b1a0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
mov edx, dword [edx]
mov dword [ebp - 8], edx
mov edx, dword [eax + 4]
mov esi, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov dword [edx], ecx
mov edi, dword [ecx + 4]
mov edx, dword [ebp - 8]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov edi, dword [ebp - 0x10]
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
jmp 0x41b26a
push str.invalid_hash_bucket_count
call fcn.0044c076
int3