joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100045c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1003e020]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 4]
mov al, byte [ebp + 0x10]
lea ecx, [edi + 4]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 8], ecx
xor ecx, ecx
test al, al
mov byte [edi + 0x14], 1
mov dword [edi + 0xc], esi
cmovne ecx, edx
mov dword [edi + 0x10], edx
mov byte [edi + 0x15], al
xor edi, edi
mov dword [ebp - 0x18], edi
test ecx, ecx
jne 0x1000460a
xor bl, bl
jmp 0x10004629
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], ecx
push eax
push 0x40
push ecx
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [ebp - 0x18]
test eax, eax
mov edx, dword [ebp + 0xc]
setne bl
push edx
push esi
push dword [ebp - 8]
mov byte [ebp - 0xc], bl
call fcn.100115e0
add esp, 0xc
test bl, bl
je 0x10004652
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000d62d
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10005990
Capabilities:
Allocate or change rwx memory

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x24], 0
je 0x100059bf
mov byte [esi + 0x24], 0
mov edx, dword [esi + 0x1c]
call fcn.100062f0
mov eax, dword [esi + 0x1c]
mov ecx, esi
mov dword [eax], eax
mov eax, dword [esi + 0x1c]
mov dword [eax + 4], eax
mov dword [esi + 0x20], 0
pop esi
jmp fcn.10004670
pop esi
ret
Function at 0x10005b20
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002b98d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1003e020]
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 edi, ecx
mov ebx, dword [ebp + 8]
sub esp, 0x28
mov dword [ebp - 4], 0
mov esi, esp
mov dword [esi + 0x24], 0
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x10005b9d
lea eax, [ebp + 0x10]
cmp ecx, eax
jne 0x10005b93
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov dword [esi + 0x24], eax
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x10005b9d
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne al
push eax
call edx
jmp 0x10005b96
mov dword [esi + 0x24], ecx
mov dword [ebp + 0x34], 0
push ebx
mov ecx, edi
call fcn.10005f70
cmp byte [edi + 0x24], 0
jne 0x10005caf
push dword [ebx + 4]
mov esi, dword [ebp + 0xc]
call fcn.1000d580
mov ecx, dword fs:[0x2c]
add esp, 4
mov edx, dword [0x10040080]
mov ebx, eax
mov edx, dword [ecx + edx*4]
mov ecx, dword [0x10040bbc]
cmp ecx, dword [edx + 4]
jle 0x10005c28
push 0x10040bbc
call fcn.1000d76e
add esp, 4
cmp dword [0x10040bbc], 0xffffffff
jne 0x10005c28
mov ecx, 0x10040bb0
mov dword [0x10040bb0], 0x10038740
mov dword [0x10040bb8], 0
mov dword [0x10040bb4], 0
call fcn.10003590
push 0x10040bbc
call fcn.1000d724
add esp, 4
mov eax, dword [edi]
push 1
push 5
push ecx
mov edx, dword [eax + 8]
mov ecx, edi
mov eax, esp
mov dword [eax], ebx
call edx
push 1
push ecx
mov eax, esp
mov dword [eax], ebx
lea eax, [ebp - 0x28]
push eax
call fcn.100033a0
add esp, 0xc
mov dword [ebp - 0x20], 1
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], ebx
push eax
push 0x40
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0x18]
mov byte [ebx], 0xe8
cmp byte [ebp - 0x18], 0
je 0x10005c8c
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 1
push 4
push ecx
mov eax, esp
push ecx
mov ecx, esp
mov dword [eax], esi
lea eax, [ebx + 1]
mov dword [ecx], eax
call fcn.10003220
mov eax, dword [ebp - 0x28]
add esp, 0x10
mov dword [edi + 0x18], eax
mov byte [edi + 0x24], 1
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x10005cc7
mov edx, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
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.1000d62d
mov esp, ebp
pop ebp
ret 0x30
Function at 0x10007750
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1003e020]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
imul esi, ecx, 0x2c
mov ebx, edx
push edi
add esi, dword [0x10040d20]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp - 8]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100077b1
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000d62d
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x100077d2
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x100077f3
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x100077f3
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x100077ed
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x100077f3
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, byte [esi + 0x14]
and bl, 1
mov cl, bl
and al, 0xfd
add cl, cl
shl bl, 2
or cl, al
xor eax, eax
and cl, 0xfb
or cl, bl
mov byte [esi + 0x14], cl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000d62d
mov esp, ebp
pop ebp
ret

Function at 0x10007850
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x10040d28]
sub esp, 0x10
push esi
xor esi, esi
test ecx, ecx
je 0x1000787d
mov eax, dword [0x10040d20]
add eax, 0x14
nop dword [eax + eax]
test byte [eax], 2
jne 0x10007884
inc esi
add eax, 0x2c
cmp esi, ecx
jb 0x10007870
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x1000787d
push ebx
push 0
lea ecx, [ebp - 0x10]
call fcn.10007410
mov ebx, eax
mov dword [ebp - 4], eax
add esp, 4
test ebx, ebx
jne 0x1000792f
mov ecx, dword [0x10040d28]
push edi
cmp esi, ecx
jae 0x100078de
imul edi, esi, 0x2c
mov eax, dword [0x10040d20]
test byte [edi + eax + 0x14], 2
je 0x100078d3
xor edx, edx
mov ecx, esi
call fcn.10007750
mov ebx, eax
test ebx, ebx
jne 0x100078db
mov ecx, dword [0x10040d28]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x100078b2
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1000792c
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x1000791d
mov ebx, eax
nop
push dword [ebx + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10007911
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x100078f0
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x10040bcc]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, ebx
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10007cf0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor ebx, ebx
call fcn.10007940
cmp dword [0x10040bcc], ebx
je 0x10007dfe
mov edi, dword [0x10040d28]
xor esi, esi
test edi, edi
je 0x10007e03
mov edx, dword [0x10040d20]
add edx, 0x14
mov cl, byte [edx]
shr cl, 1
xor cl, byte [edx]
test cl, 2
jne 0x10007d3d
inc esi
add edx, 0x2c
cmp esi, edi
jb 0x10007d25
jmp 0x10007e03
cmp esi, 0xffffffff
je 0x10007e03
push 2
lea ecx, [ebp - 0x10]
call fcn.10007410
mov ebx, eax
mov dword [ebp - 4], eax
add esp, 4
test ebx, ebx
jne 0x10007e03
mov edx, dword [0x10040d28]
cmp esi, edx
jae 0x10007daa
imul edi, esi, 0x2c
nop dword [eax]
mov eax, dword [0x10040d20]
mov cl, byte [edi + eax + 0x14]
mov al, cl
shr al, 1
xor al, cl
test al, 2
je 0x10007d9f
movzx edx, cl
mov ecx, esi
shr edx, 2
and edx, 1
call fcn.10007750
mov ebx, eax
test ebx, ebx
jne 0x10007da7
mov edx, dword [0x10040d28]
inc esi
add edi, 0x2c
cmp esi, edx
jb 0x10007d70
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10007e03
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x10007ded
mov ebx, eax
nop word [eax + eax]
push dword [ebx + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10007de1
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x10007dc0
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x10040bcc]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10007e03
mov ebx, 2
xor eax, eax
mov ecx, 0x10040bc8
xchg dword [ecx], eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000b150
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [0x10040ce8]
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [0x10040cfc]
and ecx, eax
mov eax, dword [0x10040cf0]
lea edx, [eax + ecx*8]
mov ecx, dword [edx + 4]
cmp ecx, edi
je 0x1000b1cb
mov eax, dword [esi]
mov edx, dword [edx]
cmp eax, dword [ecx + 8]
je 0x1000b1bc
cmp ecx, edx
je 0x1000b1cb
mov ecx, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jne 0x1000b1b0
test ecx, ecx
je 0x1000b1cb
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], ecx
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
pop ebp
ret 8
Function at 0x1000b6d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002c13d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x1003e020]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0xc]
mov edi, edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
cmp dword [edx + 0x14], 0x10
jb 0x1000b70b
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x1000b729
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x1000b717
push esi
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.1000bf30
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1000b746
mov dword [ebx], eax
mov byte [ebx + 4], 0
jmp 0x1000b8b8
cmp dword [0x10040be4], 0x4924924
je 0x1000b8ce
mov dword [ebp - 0x20], 0x10040be0
mov dword [ebp - 4], 0
push 0x38
mov dword [ebp - 0x1c], 0
call fcn.1000d844
mov edi, eax
add esp, 4
mov dword [ebp - 0x1c], edi
push dword [ebp - 0x10]
lea eax, [edi + 8]
mov ecx, eax
mov dword [ebp - 0x24], eax
call fcn.100047f0
mov eax, dword [ebp - 0x10]
lea ecx, [edi + 0x20]
add eax, 0x18
mov byte [ebp - 4], 1
push eax
call fcn.100047f0
mov dword [ebp - 4], 2
mov ecx, dword [0x10040be4]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10039d20]
mov eax, dword [0x10040bf8]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10039d20]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x10040bdc]
comiss xmm1, xmm0
jbe 0x1000b865
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.10029fa0
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.1002b5a0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [0x10040bf8]
cmp eax, ecx
jae 0x1000b847
cmp eax, 0x200
jae 0x1000b845
shl eax, 3
cmp eax, ecx
jae 0x1000b847
mov eax, ecx
push eax
call fcn.1000bbf0
push esi
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.1000bf30
mov ecx, dword [0x10040be4]
mov edx, dword [eax]
jmp 0x1000b868
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
inc ecx
mov dword [0x10040be4], ecx
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [0x10040be8]
mov dword [ebp - 0x10], eax
mov eax, dword [0x10040bf4]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [0x10040be0]
jne 0x1000b89c
mov dword [ecx + eax*8], edi
jmp 0x1000b8ae
cmp esi, edx
jne 0x1000b8a5
mov dword [ecx + eax*8], edi
jmp 0x1000b8b2
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1000b8b2
mov dword [ecx + eax*8 + 4], edi
mov dword [ebx], edi
mov byte [ebx + 4], 1
mov eax, ebx
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.10010089
int3
Function at 0x1000bbf0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
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 0x1000bd88
lea eax, [ecx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [0x10040be0]
push eax
mov dword [ebp - 0xc], eax
lea ecx, [ecx + 1]
shl esi, cl
mov ecx, 0x10040be8
lea eax, [esi + esi]
push eax
call fcn.1000b000
mov edi, dword [0x10040be0]
lea eax, [esi - 1]
mov ecx, dword [ebp - 0xc]
mov dword [0x10040bf4], eax
mov dword [0x10040bf8], esi
mov edi, dword [edi]
mov eax, edi
cmp edi, ecx
je 0x1000bd60
nop dword [eax]
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
mov eax, dword [eax]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], edx
jb 0x1000bc7c
mov esi, dword [edx]
mov dword [ebp - 0x10], esi
xor edx, edx
mov ebx, 0x811c9dc5
cmp dword [ebp - 4], edx
jbe 0x1000bca7
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
nop
movzx esi, byte [edx + ecx]
inc edx
xor esi, ebx
imul ebx, esi, 0x1000193
cmp edx, eax
jb 0x1000bc90
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
and ebx, dword [0x10040bf4]
mov edx, dword [0x10040be8]
lea ebx, [edx + ebx*8]
mov edx, dword [ebx]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], edx
cmp edx, ecx
jne 0x1000bccc
mov dword [ebx], edi
mov dword [ebx + 4], edi
jmp 0x1000bd54
mov esi, dword [ebx + 4]
lea eax, [esi + 8]
push eax
lea eax, [edi + 8]
push eax
call fcn.1000bfc0
test al, al
jne 0x1000bd0f
mov ecx, dword [esi]
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
cmp ecx, edi
je 0x1000bd0a
mov esi, dword [edi + 4]
mov ebx, dword [ebp - 4]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ecx
mov ecx, dword [ecx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov ebx, dword [ebp - 0x10]
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
mov dword [ebx + 4], edi
jmp 0x1000bd51
mov ebx, esi
cmp dword [ebp - 4], esi
je 0x1000bd31
mov esi, dword [esi + 4]
mov ebx, esi
lea eax, [ebx + 8]
push eax
lea eax, [edi + 8]
push eax
call fcn.1000bfc0
test al, al
je 0x1000bd69
cmp dword [ebp - 4], esi
jne 0x1000bd16
mov esi, dword [edi + 4]
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ecx], edi
mov ecx, dword [ebp - 0xc]
mov edi, eax
cmp eax, ecx
jne 0x1000bc60
nop
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [esi]
mov esi, dword [edi + 4]
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
jmp 0x1000bd51
push str.invalid_hash_bucket_count
call fcn.10010089
int3
Function at 0x1000bda0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
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 0x1000bf19
lea eax, [ecx - 1]
mov esi, dword [0x10040ce8]
or eax, edi
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x10040cf0
lea eax, [edi + edi]
push eax
call fcn.1000b000
mov ecx, dword [0x10040ce8]
lea ebx, [edi - 1]
mov dword [0x10040cfc], ebx
mov dword [0x10040d00], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x1000bf10
nop dword [eax + eax]
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
mov eax, dword [0x10040cf0]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [eax + edi*8]
mov dword [ebp - 4], ebx
lea eax, [eax + edi*8]
mov dword [ebp - 8], eax
cmp ebx, esi
jne 0x1000be63
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x1000bed6
mov eax, dword [eax + 4]
mov ebx, dword [ecx + 8]
cmp ebx, dword [eax + 8]
jne 0x1000be9d
mov eax, dword [eax]
mov dword [ebp - 4], eax
cmp eax, ecx
je 0x1000be95
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
jmp 0x1000bed6
mov edi, eax
cmp dword [ebp - 4], eax
je 0x1000beb3
mov eax, dword [eax + 4]
mov edi, eax
cmp ebx, dword [eax + 8]
je 0x1000bee7
cmp dword [ebp - 4], eax
jne 0x1000bea4
mov eax, dword [ecx + 4]
mov dword [ebp - 4], eax
mov dword [eax], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov edi, dword [ebp - 4]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax], ecx
mov ecx, edx
cmp edx, esi
je 0x1000bf10
mov ebx, dword [0x10040cfc]
jmp 0x1000be10
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov esi, eax
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x1000bed6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.invalid_hash_bucket_count
call fcn.10010089
int3
Function at 0x1000c8e0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002c275
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1003e020]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [0x1003f06c]
movzx eax, dl
xor eax, 0x811c9dc5
mov edi, dword [ebp + 8]
imul ecx, eax, 0x1000193
movzx eax, dh
mov dword [ebp - 0x24], edi
xor ecx, eax
movzx eax, byte [0x1003f06e]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [0x1003f06f]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
push 0x1003f06c
push eax
call fcn.1000d300
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1000c96f
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x1000cacd
cmp dword [0x10040c40], 0xfffffff
je 0x1000cae3
mov dword [ebp - 0x2c], 0x10040c3c
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x28], 0
call fcn.1000d844
mov ecx, dword [0x1003f06c]
mov esi, eax
lea edi, [esi + 8]
add esp, 4
mov dword [edi], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x28], esi
mov ecx, dword [ecx]
mov dword [edi + 4], ecx
mov dword [ebp - 4], 1
mov ecx, dword [0x10040c40]
mov ebx, dword [0x10040c54]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10039d20]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10039d20]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x10040c38]
comiss xmm1, xmm0
jbe 0x1000ca7c
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call fcn.10029fa0
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.1002b5a0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x1000ca5f
cmp ebx, 0x200
jae 0x1000ca5d
shl ebx, 3
cmp ebx, ecx
jae 0x1000ca5f
mov ebx, ecx
push ebx
call fcn.1000cfe0
push dword [ebp - 0x20]
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.1000d300
mov ecx, dword [0x10040c40]
mov edx, dword [eax]
jmp 0x1000ca7f
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc ecx
mov dword [0x10040c40], ecx
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [0x10040c50]
and eax, dword [ebp - 0x20]
mov ecx, dword [0x10040c44]
mov edi, dword [ecx + eax*8]
cmp edi, dword [0x10040c3c]
jne 0x1000cab1
mov dword [ecx + eax*8], esi
jmp 0x1000cac0
cmp edi, edx
jne 0x1000caba
mov dword [ecx + eax*8], esi
jmp 0x1000cac4
cmp dword [ecx + eax*8 + 4], ebx
jne 0x1000cac4
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x24]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push str.unordered_map_set_too_long
call fcn.10010089
int3