joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46a500
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x46a508
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x46a6fa
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x46a710
mov eax, esi
call fcn.00468290
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004047c4
lea ecx, [ebp - 0x10]
mov edx, 0x46a724
mov eax, esi
call fcn.00468290
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004047c4
lea ecx, [ebp - 0x14]
mov edx, 0x46a73c
mov eax, esi
call fcn.00468290
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004047c4
lea ecx, [ebp - 0x18]
mov edx, 0x46a758
mov eax, esi
call fcn.00468290
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004047c4
lea ecx, [ebp - 0x1c]
mov edx, 0x46a774
mov eax, esi
call fcn.00468290
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004047c4
lea ecx, [ebp - 0x24]
mov edx, 0x46a78c
mov eax, esi
call fcn.00468290
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408a4c
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408e2c
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x46a7a4
mov eax, esi
call fcn.00468290
mov eax, dword [ebp - 0x28]
call fcn.004673a8
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x46a7b4
mov eax, esi
call fcn.00468290
mov eax, dword [ebp - 0x2c]
call fcn.004673a8
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x46a7cc
mov eax, esi
call fcn.00468290
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408e2c
inc eax
je 0x46a69d
lea ecx, [ebp - 0x34]
mov edx, 0x46a7cc
mov eax, esi
call fcn.00468290
mov eax, dword [ebp - 0x34]
call fcn.00408df0
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a6a4
fstp qword [ebp - 0x3c]
wait
call fcn.0040aa34
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x46a6b8
lea ecx, [ebp - 0x40]
mov edx, 0x46a7cc
mov eax, esi
call fcn.00468290
mov eax, dword [ebp - 0x40]
call fcn.004673a8
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x46a7dc
mov eax, esi
call fcn.00468290
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004047c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a701
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404794
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404794
ret
Function at 0x476998
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4769f2
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00476988
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00466014
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00465c14
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4769f9
lea eax, [ebp - 4]
call fcn.00404770
ret

Function at 0x47a0dc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c20
mov eax, dword [ebp - 8]
call fcn.00404c20
mov eax, dword [ebp - 0xc]
call fcn.00404c20
xor eax, eax
push ebp
push 0x47a1a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00479d34
test al, al
jne 0x47a12a
xor ebx, ebx
jmp 0x47a187
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404a7c
mov eax, dword [ebp - 0x10]
call fcn.00409200
test al, al
jne 0x47a148
xor ebx, ebx
jmp 0x47a187
push 1
mov eax, dword [ebp - 4]
call fcn.00404c30
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404c30
push eax
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404a7c
mov eax, dword [ebp - 0x14]
call fcn.00404c30
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
jle 0x47a185
mov bl, 1
jmp 0x47a187
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a1a9
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404794
ret
Function at 0x47a3fc
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x30
push 0
push 0
dec ecx
jne 0x47a404
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
call fcn.00404c20
mov eax, dword [ebp + 0xc]
call fcn.00404c20
lea eax, [ebp - 0x158]
mov edx, dword [0x407b64]
call fcn.00405124
xor eax, eax
push ebp
push 0x47a63c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.0047a268
mov edx, dword [ebp - 0x15c]
lea eax, [ebp + 8]
call fcn.00404808
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.0047a268
mov edx, dword [ebp - 0x160]
lea eax, [ebp + 0xc]
call fcn.00404808
mov eax, dword [ebp + 0xc]
call fcn.00479d3c
mov eax, dword [ebp + 0xc]
call fcn.00479d34
test al, al
je 0x47a600
lea eax, [ebp - 0x164]
mov ecx, 0x47a654
mov edx, dword [ebp + 8]
call fcn.00404a7c
mov eax, dword [ebp - 0x164]
lea ecx, [ebp - 0x158]
mov edx, 0x37
call fcn.00409380
test eax, eax
jne 0x47a5f5
mov eax, dword [ebp - 0x14c]
mov edx, 0x47a660
call fcn.00404b7c
je 0x47a5e2
mov eax, dword [ebp - 0x14c]
mov edx, 0x47a66c
call fcn.00404b7c
je 0x47a5e2
test dword [ebp - 0x150], 0x10
jle 0x47a596
lea eax, [ebp - 0x16c]
mov ecx, dword [ebp - 0x14c]
mov edx, dword [ebp + 0xc]
call fcn.00404a7c
mov eax, dword [ebp - 0x16c]
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.0047a268
mov eax, dword [ebp - 0x168]
call fcn.00479d3c
push ebx
lea eax, [ebp - 0x174]
mov ecx, dword [ebp - 0x14c]
mov edx, dword [ebp + 0xc]
call fcn.00404a7c
mov eax, dword [ebp - 0x174]
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.0047a268
mov eax, dword [ebp - 0x170]
push eax
lea eax, [ebp - 0x17c]
mov ecx, dword [ebp - 0x14c]
mov edx, dword [ebp + 8]
call fcn.00404a7c
mov eax, dword [ebp - 0x17c]
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.0047a268
mov eax, dword [ebp - 0x178]
push eax
call fcn.0047a3fc
jmp 0x47a5e2
cmp bl, 1
cmc
sbb eax, eax
push eax
lea eax, [ebp - 0x180]
mov ecx, dword [ebp - 0x14c]
mov edx, dword [ebp + 0xc]
call fcn.00404a7c
mov eax, dword [ebp - 0x180]
call fcn.00404c30
push eax
lea eax, [ebp - 0x184]
mov ecx, dword [ebp - 0x14c]
mov edx, dword [ebp + 8]
call fcn.00404a7c
mov eax, dword [ebp - 0x184]
call fcn.00404c30
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x158]
call fcn.004093d0
test eax, eax
je 0x47a4c4
lea eax, [ebp - 0x158]
call fcn.004093f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a643
lea eax, [ebp - 0x184]
mov edx, 0xb
call fcn.00404794
lea eax, [ebp - 0x158]
mov edx, dword [0x407b64]
call fcn.004051f4
lea eax, [ebp + 8]
mov edx, 2
call fcn.00404794
ret

Function at 0x47a90c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff98
mov ebx, eax
push 0x65
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, 0x65
call fcn.004049e0
add esp, 0x68
pop ebx
ret
Function at 0x4828ec
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, 0x482544
call fcn.00406954
xor eax, eax
push ebp
push 0x482a19
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x484b34]
mov eax, dword [eax]
call fcn.00459d5c
mov eax, dword [0x484b34]
mov eax, dword [eax]
mov edx, 0x482a30
call fcn.00459954
call sub.kernel32.dll_GetCommandLineA_1
mov edx, eax
mov eax, 0x485f74
call fcn.00404968
lea edx, [ebp - 0x14]
mov eax, dword [0x485f74]
call fcn.00408838
mov edx, dword [ebp - 0x14]
mov eax, 0x485f78
call fcn.004047c4
mov edx, dword [0x485f78]
mov eax, 0x482a44
call fcn.00404d74
test eax, eax
jle 0x482994
mov edx, dword [0x485f78]
mov eax, 0x482a44
call fcn.00404d74
mov ecx, eax
add ecx, 5
mov eax, 0x485f74
mov edx, 1
call fcn.00404cd0
jmp 0x4829b8
mov edx, dword [0x485f78]
mov eax, 0x482a54
call fcn.00404d74
mov ecx, eax
add ecx, 4
mov eax, 0x485f74
mov edx, 1
call fcn.00404cd0
push 0x485f74
push 0x482a64
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.0047a1b0
mov eax, dword [ebp - 0x18]
mov edx, 0x482a70
call fcn.00404b7c
jne 0x4829e8
mov eax, dword [0x485f74]
call fcn.00480fa0
jmp 0x4829f2
mov eax, dword [0x485f74]
call fcn.0047f5f0
mov eax, dword [0x484b34]
mov eax, dword [eax]
call fcn.00459d74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482a20
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404794
ret
Function at 0x401229
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub esp, 0x5c
xor esi, esi
mov ecx, 0x2c
push esi
dec ecx
jne 0x401239
push pe_nt_image_headers32
lea ebx, [ebp - 0x110]
push ebx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
push 0
push pe_nt_image_headers32
push 3
push 0
push 1
push 0x80000000
lea ebx, [ebp - 0x110]
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov dword [ebp - 0x88], eax
sub esp, 4
xor eax, eax
mov ebx, esp
push ebx
mov dword [ebx], eax
push dword [ebp - 0x88]
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
add esp, 4
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
call fcn.00403c21
lea ebx, [ebp - 0x114]
call fcn.00404086
push 0
lea ebx, [ebp - 0x84]
push ebx
push dword [ebp - 0x90]
lea ebx, [ebp - 0x114]
call fcn.00404573
push eax
push dword [ebp - 0x88]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov dword [ebp - 0x118], eax
lea ebx, [ebp - 0x114]
call fcn.00404573
mov dword [ebp - 0x8c], eax
mov esi, dword [ebp - 0x8c]
add esi, 0x30
lodsd eax, dword [esi]
mov dword [ebp - 0x7c], eax
lodsd eax, dword [esi]
mov dword [ebp - 0x80], eax
push dword [ebp - 0x88]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edx, dword [ebp - 0x114]
call fcn.004044c6
mov eax, dword [ebp - 0x80]
call fcn.0040392b
lea ebx, [ebp - 0x78]
call fcn.00404086
mov ebx, fcn.00401229
call fcn.00404466
mov eax, dword [ebp - 0x78]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x402b50
Capabilities:
Accept command line arguments
Query environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, section..data
test word cs:[0x402f74], 4
jne 0x402c03
call fcn.00402c8f
mov dword [ebx + 0x60], 1
lea eax, [ebx + 0x1e4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
sub esp, 0x44
mov dword [esp], 0x44
mov dword [esp + 0x2c], 0
push esp
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoA]
mov eax, 0xa
test dword [esp + 0x2c], 1
je 0x402bb1
movzx eax, word [esp + 0x30]
add esp, 0x44
mov dword [ebx + 0x56], eax
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
call fcn.00402c60
mov dword [ebx + 0x4c], eax
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentStringsA]
mov dword [ebx + 0x48], eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [ebx + 0x5c], eax
call fcn.00402cd7
call fcn.00402c8d
mov eax, 0xff
jb 0x402bf7
push ebx
call fcn.00402c86
pop ebx
dec dword [ebx + 0x10]
dec dword [ebx + 0x18]
pop edi
pop esi
pop ebx
pop ebp
push eax
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
cmp dword [ebp + 0xc], 1
jne 0x402c48
call fcn.00402c8f
lea eax, [ebx + 0x1e4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
call fcn.00402c60
mov dword [ebx + 0x4c], eax
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentStringsA]
mov dword [ebx + 0x48], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x5c], eax
call fcn.00402cd7
call fcn.00402c8d
jb 0x402c55
inc word [ebx + 0x5a]
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x60], eax
push ebx
call fcn.00402c86
pop ebx
movzx eax, word [ebx + 0x5a]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x402d31
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
push esp
cld
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov byte [ebx + 0x54], 3
test word [ebx + 0x50], 0x380
jne 0x402d67
test word [ebx + 0x50], 0x400
je 0x402d9a
cmp word [esp], 0
jne 0x402d9a
mov al, byte [esp + 0x20]
cmp al, 3
jb 0x402d9a
cmp al, 5
jbe 0x402d7d
mov al, 5
jmp 0x402d7d
mov eax, dword [esp + 0x18]
cmp eax, 0x182
jbe 0x402d9a
cmp eax, 0x24a
mov al, 5
jae 0x402d7d
mov al, 4
mov byte [ebx + 0x54], al
cmp al, 5
jb 0x402d9a
mov eax, 1
push ebx
cpuid
pop ebx
test edx, 0x800000
je 0x402d9a
or word [ebx + 0x50], 0x40
add esp, 0x24
ret
Function at 0x10001970
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b0c85
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x10147364]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 8], 0x9249249
je 0x10001b44
lea eax, [edi + 4]
mov dword [ebp - 0x1c], eax
push 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
call fcn.10056fcd
mov ecx, dword [ebp + 0xc]
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
movups xmm0, xmmword [ecx]
movups xmmword [esi + 8], xmm0
mov ecx, dword [ecx + 0x10]
mov dword [esi + 0x18], ecx
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
movss xmm3, dword [edi]
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
mov dword [ebp - 4], 1
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100b77a0]
mov eax, dword [edi + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100b77a0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10001ab4
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
fstp qword [esp]
call fcn.10067760
fstp qword [ebp - 0x14]
movsd xmm0, qword [ebp - 0x14]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.100574c0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [edi + 0x1c]
cmp eax, ecx
jae 0x10001aac
cmp eax, 0x200
jae 0x10001aaa
shl eax, 3
cmp eax, ecx
jae 0x10001aac
mov eax, ecx
push eax
mov ecx, edi
call fcn.10002660
mov ecx, dword [edi + 0x18]
and ecx, dword [ebp + 0xc]
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 4]
mov eax, dword [eax + ecx*8 + 4]
cmp eax, edx
je 0x10001ae4
mov edx, dword [edi + 0xc]
mov edx, dword [edx + ecx*8]
mov ecx, dword [esi + 8]
cmp ecx, dword [eax + 8]
je 0x10001ae2
cmp eax, edx
je 0x10001b12
mov eax, dword [eax + 4]
cmp ecx, dword [eax + 8]
jne 0x10001ad6
mov edx, dword [eax]
mov eax, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x18]
jne 0x10001b16
mov dword [ecx + eax*8], esi
jmp 0x10001b28
mov edx, eax
jmp 0x10001ae4
cmp edi, edx
jne 0x10001b1f
mov dword [ecx + eax*8], esi
jmp 0x10001b2c
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x10001b2c
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.10034905
int3
Function at 0x10002660
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
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 - 0xc], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x100027b9
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
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.10002480
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 0x1000278c
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 [ebx + 0xc]
imul edi, edi, 0x1000193
and edi, dword [ebx + 0x18]
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 4], edx
cmp ebx, esi
jne 0x10002712
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1000277f
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x1000274c
mov edx, dword [edx]
mov dword [ebp - 8], edx
cmp edx, eax
je 0x10002744
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 0x1000277f
cmp ebx, edx
je 0x1000275c
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x10002795
cmp ebx, edx
jne 0x10002750
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 ebx, dword [ebp - 0xc]
mov eax, ecx
cmp ecx, esi
jne 0x100026c2
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 - 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 0x1000277f
push str.invalid_hash_bucket_count
call fcn.10034905
int3
Function at 0x100027d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
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 - 0xc], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x10002929
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
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.10002570
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 0x100028fc
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 [ebx + 0xc]
imul edi, edi, 0x1000193
and edi, dword [ebx + 0x18]
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 4], edx
cmp ebx, esi
jne 0x10002882
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x100028ef
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x100028bc
mov edx, dword [edx]
mov dword [ebp - 8], edx
cmp edx, eax
je 0x100028b4
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 0x100028ef
cmp ebx, edx
je 0x100028cc
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x10002905
cmp ebx, edx
jne 0x100028c0
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 ebx, dword [ebp - 0xc]
mov eax, ecx
cmp ecx, esi
jne 0x10002832
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 - 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 0x100028ef
push str.invalid_hash_bucket_count
call fcn.10034905
int3
Function at 0x10002940
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
push esi
push edi
mov edi, ecx
mov esi, 1
bsr ecx, eax
mov eax, esi
mov dword [ebp - 0xc], edi
shl eax, cl
cmp edx, eax
ja 0x10002a8c
mov ebx, dword [edi + 4]
lea eax, [edx - 1]
or eax, esi
mov dword [ebp - 4], ebx
bsr ecx, eax
push ebx
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [edi + 0xc]
lea eax, [esi + esi]
push eax
call fcn.10002390
lea eax, [esi - 1]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x18], eax
mov ecx, dword [edi + 4]
mov ecx, dword [ecx]
cmp ecx, ebx
je 0x10002a67
mov eax, ecx
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
imul edx, esi, 0x1000193
mov esi, dword [edi + 0x18]
and esi, edx
mov edx, dword [edi + 0xc]
mov edi, dword [edx + esi*8]
lea ebx, [edx + esi*8]
mov dword [ebp + 8], ebx
cmp edi, dword [ebp - 4]
jne 0x100029f5
mov dword [ebx], eax
mov dword [ebx + 4], eax
jmp 0x10002a59
mov edx, dword [ebx + 4]
mov esi, dword [eax + 8]
cmp esi, dword [edx + 8]
jne 0x10002a2c
mov edx, dword [edx]
mov dword [ebp - 8], edx
cmp edx, eax
je 0x10002a27
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 0x10002a59
cmp edi, edx
je 0x10002a3c
mov edx, dword [edx + 4]
cmp esi, dword [edx + 8]
je 0x10002a70
cmp edi, edx
jne 0x10002a30
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
mov edi, dword [ebp - 0xc]
cmp ecx, dword [ebp - 4]
jne 0x100029a2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
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 0x10002a59
push str.invalid_hash_bucket_count
call fcn.10034905
int3