joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400011c0
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rcx
mov qword [rcx + 0x10], rdx
lea rbx, [rcx + 0x18]
mov rcx, rdx
mov rdx, rbx
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r14, rax
mov qword [rsi], rax
test rax, rax
je 0x140001311
cmp dword [rsi + 0x18], 2
jl 0x1400012d5
mov ebp, 2
lea rdi, str.__system_level
mov r13, qword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea r15, str.__chrome_beta
lea r12, str.__chrome_dev
mov rax, r14
mov rcx, qword [rax + rbp*8 - 8]
mov rdx, rdi
call r13
test eax, eax
je 0x14000129f
mov rax, qword [rsi]
mov rcx, qword [rax + rbp*8 - 8]
mov rdx, r15
call r13
test eax, eax
je 0x1400012a5
mov rax, qword [rsi]
mov rcx, qword [rax + rbp*8 - 8]
mov rdx, r12
call r13
test eax, eax
je 0x1400012ae
mov rax, qword [rsi]
mov rcx, qword [rax + rbp*8 - 8]
lea rdx, str.__chrome_sxs
call r13
test eax, eax
je 0x1400012b7
mov rax, qword [rsi]
mov rcx, qword [rax + rbp*8 - 8]
lea rdx, str.__cleanup
call r13
test eax, eax
je 0x140001299
mov rax, qword [rsi]
mov rcx, qword [rax + rbp*8 - 8]
lea rdx, str.__chrome_frame
call r13
test eax, eax
jne 0x1400012c2
mov byte [rsi + 0x1d], 1
jmp 0x1400012c2
mov byte [rsi + 0x1c], 1
jmp 0x1400012c2
lea rax, str.8237E44A_0054_442C_B6B6_EA0509993955
jmp 0x1400012be
lea rax, str.401C381F_E0DE_4B85_8BD8_3F3F14FBDA57
jmp 0x1400012be
lea rax, str.4ea16ac7_fd5a_47c3_875b_dbf4a2008c20
mov qword [rsi + 8], rax
movsxd rax, dword [rbx]
cmp rbp, rax
jge 0x1400012d5
mov rax, qword [rsi]
inc rbp
jmp 0x140001224
cmp byte [rsi + 0x1c], 0
jne 0x140001311
xor eax, eax
lea rdi, [rsp + 0x20]
mov word [rdi + 4], ax
mov word [rdi], ax
lea rcx, str.GoogleUpdateIsMachine
mov rdx, rdi
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp eax, 1
sete al
cmp word [rdi], 0x31
sete cl
and cl, al
mov byte [rsi + 0x1c], cl
test r14, r14
setne al
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140001aa0
Capabilities:
Self delete using alternate data streams

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
mov rsi, rdx
mov rdi, rcx
mov dword [rdx], 1
mov r15, qword [sym.imp.KERNEL32.dll_CreateFileW]
xorps xmm6, xmm6
lea r14, [rsp + 0x40]
mov r13, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12, qword [sym.imp.KERNEL32.dll_SetFileInformationByHandle]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2200000
mov dword [rsp + 0x20], 3
mov rcx, rdi
mov edx, 0x10000
mov r8d, 7
xor r9d, r9d
call r15
cmp rax, 0xffffffffffffffff
je 0x140001b3c
mov rbx, rax
mov byte [rsp + 0x40], 1
mov rcx, rax
mov edx, 4
mov r8, r14
mov r9d, 1
call r12
test eax, eax
je 0x140001b46
mov rcx, rbx
call r13
jmp 0x140001ae1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
jmp 0x140001b54
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rcx, rbx
call r13
mov eax, ebp
and eax, 0xfffffffe
cmp eax, 2
je 0x140001c4a
cmp ebp, 0x91
je 0x140001be7
cmp ebp, 0x20
je 0x140001be7
cmp ebp, 5
jne 0x140001c46
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2200000
mov dword [rsp + 0x20], 3
mov rcx, rdi
mov edx, 0x180
mov r8d, 7
xor r9d, r9d
call r15
cmp rax, 0xffffffffffffffff
je 0x140001be7
mov rbx, rax
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
mov qword [rsp + 0x60], 0
mov rcx, rax
xor edx, edx
mov r8, r14
mov r9d, 0x28
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandleEx]
test eax, eax
je 0x140001be1
mov eax, dword [rsp + 0x60]
test al, 1
jne 0x140001c1c
mov rcx, rbx
call r13
mov eax, dword [rsi]
cmp eax, 0x64
je 0x140001c46
inc eax
mov dword [rsi], eax
mov rax, qword [0x1400070b8]
test rax, rax
je 0x140001c0c
mov rcx, qword [0x1400070c0]
call rax
jmp 0x140001ae1
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001ae1
and eax, 0xfffffffe
mov dword [rsp + 0x60], eax
mov rcx, rbx
xor edx, edx
mov r8, r14
mov r9d, 0x28
call r12
mov ebp, eax
mov rcx, rbx
call r13
test ebp, ebp
jne 0x140001ae1
jmp 0x140001be7
xor eax, eax
jmp 0x140001c4c
mov al, 1
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400020e0
Capabilities:
Create process on windows
Get file attributes

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
mov edi, r9d
mov rbx, rdx
mov rsi, rcx
xorps xmm0, xmm0
lea rax, [rsp + 0x80]
movaps xmmword [rax], xmm0
xor ecx, ecx
mov qword [rax + 0x60], rcx
movaps xmmword [rax + 0x50], xmm0
movaps xmmword [rax + 0x40], xmm0
movaps xmmword [rax + 0x30], xmm0
movaps xmmword [rax + 0x20], xmm0
movaps xmmword [rax + 0x10], xmm0
mov dword [rax], 0x68
lea rdx, [rsp + 0x60]
mov qword [rdx + 0x10], rcx
movaps xmmword [rdx], xmm0
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0
mov rcx, rbx
mov rdx, r8
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140002197
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x5c], 0
mov rcx, qword [rsp + 0x60]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400021c0
mov edi, 0x6b
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400021e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp ebp, 3
je 0x1400021f9
cmp ebp, 2
je 0x1400021e5
mov eax, dword [rsp + 0x138]
mov dword [rsi], eax
mov dword [rsi + 4], ebp
jmp 0x1400021ea
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x14000218a
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov edi, dword [rsp + 0x5c]
mov dword [rsi], edi
mov dword [rsi + 4], eax
mov rax, rsi
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov ecx, dword [rsp + 0x130]
mov dword [rsi], ecx
jmp 0x1400021e7
Function at 0x140002cb0
Capabilities:
Get disk information

Disassembly:
push rsi
push rdi
sub rsp, 0x2a8
mov rsi, rdx
mov qword [rdx], 0
xor eax, eax
lea rdx, [rsp + 0x48]
mov word [rdx + 0x208], ax
mov word [rdx], ax
mov dword [rsp + 0x40], 0
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
test eax, eax
je 0x140002dc1
xor eax, eax
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x140002dc1
test byte [rsp + 0x40], 8
mov dil, 1
je 0x140002dc4
lea rcx, [rsp + 0x40]
mov qword [rcx], 0
call fcn.140002bd0
xor edi, edi
test al, al
je 0x140002dc4
lea rcx, [rsp + 0x48]
mov word [rcx + 0x258], di
mov word [rcx], di
lea r8, [0x140005498]
mov edx, 0x12c
call fcn.140003310
test al, al
je 0x140002dd2
mov r8, qword [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov edx, 0x12c
call fcn.140003310
test al, al
je 0x140002dd0
lea r8, [0x140005552]
lea rcx, [rsp + 0x48]
mov edx, 0x12c
call fcn.140003310
test al, al
je 0x140002dd0
lea rcx, [rsp + 0x48]
mov edx, 1
mov r8, rsi
xor r9d, r9d
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
setne dil
jmp 0x140002dd2
mov dil, 1
mov eax, edi
add rsp, 0x2a8
pop rdi
pop rsi
ret
xor edi, edi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140002dc4
Function at 0x140002de0
Capabilities:
Create directory
Generate random numbers via rtlgenrandom

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov r12, r8
mov rdi, rdx
mov rsi, rcx
mov qword [r8], 0x6c
mov edx, 0x104
mov rcx, rdi
mov r8, rsi
call fcn.1400032d0
test al, al
je 0x140002f1b
lea r8, [0x140005632]
mov ebx, 0x104
mov edx, 0x104
mov rcx, rdi
call fcn.140003310
test al, al
je 0x140002f1b
mov edx, 0x104
mov rcx, rdi
call fcn.1400032a0
sub rbx, rax
cmp rbx, 0xb
jb 0x140002f1b
mov r14, rax
xorps xmm0, xmm0
lea rdx, [rsp + 0x38]
movaps xmmword [rdx - 8], xmm0
mov qword [rdx + 8], 0
mov dword [rdx - 8], 0x18
mov rcx, rsi
call fcn.140002cb0
test al, al
je 0x140002f09
mov qword [r12], 0x6d
lea r15, [rdi + r14*2]
mov rbp, r14
add rbp, 5
mov r13d, 0xfffffff6
lea rsi, [rsp + 0x2c]
mov rcx, rsi
mov edx, 4
call sub.ADVAPI32.dll_SystemFunction036
mov edx, 4
mov rcx, rsi
mov r8, r15
mov r9, rbx
call fcn.140003240
cmp rbp, 0x103
ja 0x140002ed0
mov word [rdi + r14*2 + 0xa], 0
mov edx, 0x104
mov rcx, rdi
lea r8, str..tmp
call fcn.140003310
mov rdx, qword [rsp + 0x38]
test rdx, rdx
lea rax, [rsp + 0x30]
cmovne rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140002f2e
inc r13d
jne 0x140002e9f
jmp 0x140002f4a
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 0x75
mov qword [r12], rax
xor eax, eax
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, [0x140005560]
mov edx, 0x104
mov rcx, rdi
call fcn.140003310
mov qword [r12], 0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140002f5a
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [r12], 0
sete al
jmp 0x140002f1d

Function at 0x140002f70
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x230
mov rsi, r8
mov rdi, rdx
xor eax, eax
lea rbx, [rsp + 0x20]
mov word [rbx + 0x208], ax
mov word [rbx], ax
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x140002fd7
mov edx, eax
mov rcx, rbx
call fcn.1400034f0
cmp rax, rbx
je 0x140002fd7
mov word [rax], 0
lea rcx, [rsp + 0x20]
mov rdx, rdi
mov r8, rsi
call fcn.140002de0
mov ecx, eax
mov al, 1
test cl, cl
jne 0x140003020
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x140003004
cmp eax, 0x104
jae 0x140003017
lea rcx, [rsp + 0x20]
mov rdx, rdi
mov r8, rsi
call fcn.140002de0
jmp 0x140003020
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 0x6d
mov qword [rsi], rax
jmp 0x14000301e
mov qword [rsi], 0x6c
xor eax, eax
add rsp, 0x230
pop rbx
pop rdi
pop rsi
ret
Function at 0x140003590
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x248
mov rbx, rdx
mov rsi, rcx
mov rdx, qword [rcx]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140003668
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x140003668
mov r13, rax
lea r14, [rsp + 0x30]
mov rcx, r14
call fcn.140001c70
mov rcx, r14
mov rdx, rbx
call fcn.140001cd0
test al, al
je 0x140003692
mov rdx, qword [rsi]
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r12b, 1
test eax, eax
je 0x140003695
mov ebp, eax
xor edi, edi
mov r14d, 0x800000
mov r15, qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, rbp
sub rbx, rdi
cmp rbx, r14
cmovae rbx, r14
mov dword [rsp + 0x2c], 0
lea rsi, [rdi + r13]
lea rcx, [rsp + 0x30]
call fcn.140001e40
mov qword [rsp + 0x20], 0
mov rcx, rax
mov rdx, rsi
mov r8d, ebx
lea r9, [rsp + 0x2c]
call r15
test eax, eax
je 0x14000366d
add rdi, rbx
cmp rdi, rbp
jb 0x14000361d
jmp 0x140003695
xor r12d, r12d
jmp 0x14000369f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea rdi, [rsp + 0x30]
mov rcx, rdi
call fcn.140001d80
mov rcx, rdi
call fcn.140001c90
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor r12d, r12d
lea rcx, [rsp + 0x30]
call fcn.140001c90
mov eax, r12d
add rsp, 0x248
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400036f0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rdi, r9
mov rbx, r8
lea r9, [rsp + 0x3c]
mov dword [r9], 0
lea eax, [rdi + rdi]
lea rsi, [rsp + 0x38]
mov dword [rsi], eax
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140003763
mov eax, 0x32
cmp dword [rsp + 0x3c], 1
jne 0x140003763
mov ecx, dword [rsp + 0x38]
cmp rcx, 2
jb 0x14000375c
shr rcx, 1
cmp word [rbx + rcx*2 - 2], 0
je 0x140003761
mov eax, 0xea
cmp rcx, rdi
jae 0x140003763
lea rbx, [rbx + rcx*2]
mov word [rbx], 0
xor eax, eax
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret

Function at 0x140003770
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
lea r9, [rsp + 0x34]
mov dword [r9], 0
lea rax, [rsp + 0x30]
mov dword [rax], 4
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400037c0
mov eax, 0x32
cmp dword [rsp + 0x34], 4
jne 0x1400037c0
xor ecx, ecx
cmp dword [rsp + 0x30], 4
mov eax, 0xe8
cmove eax, ecx
add rsp, 0x38
ret

Function at 0x1400037d0
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
add eax, 2
mov rcx, qword [rbx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov rdx, rdi
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x140003820
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
lea rax, [rsp + 0x34]
mov dword [rax], r8d
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
add rsp, 0x38
ret

Function at 0x140003860
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, r9
mov rdi, r8
lea rax, [rsp + 0x38]
mov qword [rax], 0
mov qword [rsp + 0x20], rax
xor ebx, ebx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140003906
mov rbx, qword [rsp + 0x80]
lea r9, [rsp + 0x34]
mov dword [r9], 0
lea eax, [rbx + rbx]
lea rdx, [rsp + 0x30]
mov dword [rdx], eax
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rsi
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140003901
mov eax, 0x32
cmp dword [rsp + 0x34], 1
jne 0x140003901
mov ecx, dword [rsp + 0x30]
cmp rcx, 2
jb 0x1400038fa
shr rcx, 1
cmp word [rsi + rcx*2 - 2], 0
je 0x1400038ff
cmp rcx, rbx
jae 0x140003901
lea rsi, [rsi + rcx*2]
mov word [rsi], 0
xor eax, eax
test eax, eax
sete bl
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140003916
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
Function at 0x18000ae10
Capabilities:
Hash data using fnv

Disassembly:
movzx r9d, byte [r8]
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
mov r10, rdx
mov rdx, qword [0x18016c0d0]
xor r9, rax
movzx eax, byte [r8 + 1]
mov r11, r8
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 2]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 3]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 4]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 5]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 6]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 7]
mov r8, qword [0x18016c0a8]
imul r9, rcx
xor r9, rax
imul r9, rcx
and rdx, r9
shl rdx, 4
add rdx, qword [0x18016c0b8]
mov rax, qword [rdx + 8]
cmp rax, r8
je 0x18000aedd
mov rcx, qword [r11]
mov rdx, qword [rdx]
cmp rcx, qword [rax + 0x10]
je 0x18000aedf
nop word [rax + rax]
cmp rax, rdx
je 0x18000aedd
mov rax, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
jne 0x18000aec0
test rax, rax
cmovne r8, rax
mov rax, r10
mov qword [r10], r8
ret
xor eax, eax
test rax, rax
cmovne r8, rax
mov rax, r10
mov qword [r10], r8
ret
Function at 0x18000b470
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x18000b4a1
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x18016c0a8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x18016c0b8]
lea rdx, [rdi + rdi]
call fcn.18000a1a0
mov rax, qword [0x18016c0a8]
lea r9, [rdi - 1]
mov qword [0x18016c0d0], r9
mov qword [0x18016c0d8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18000b642
mov qword [rsp + 0x38], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x14]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x18016c0b8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18000b58c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18000b603
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x18000b5c9
mov r10, qword [rdx]
cmp r10, rax
je 0x18000b5c3
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x18000b603
cmp r9, rdx
je 0x18000b5df
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x18000b617
cmp r9, rdx
jne 0x18000b5d0
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x18000b63d
mov r9, qword [0x18016c0d0]
jmp 0x18000b511
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18000b603
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18000d1a0
Capabilities:
Hash data using fnv
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
movzx r10d, byte [rcx]
lea r9, [rcx + 1]
movaps xmmword [rsp + 0x40], xmm6
not edx
movaps xmmword [rsp + 0x30], xmm7
movaps xmm6, xmm3
movzx r12d, r8b
mov ebx, edx
test r10b, r10b
je 0x18000d20f
lea r8, [0x180125ba0]
nop
cmp r10b, 0x23
jne 0x18000d1f2
cmp byte [r9], r10b
jne 0x18000d1f2
cmp byte [r9 + 1], r10b
cmove ebx, edx
movzx ecx, bl
movzx eax, r10b
movzx r10d, byte [r9]
xor rcx, rax
shr ebx, 8
inc r9
xor ebx, dword [r8 + rcx*4]
test r10b, r10b
jne 0x18000d1e0
mov ecx, dword [0x18016b860]
not ebx
mov rax, qword gs:[0x58]
mov ebp, ebx
movss xmm7, dword [0x18012e72c]
mov r14d, ebx
mov edx, 4
mov r15d, ebx
shr ebp, 0x18
xor edi, edi
mov rax, qword [rax + rcx*8]
shr r14d, 0x10
shr r15d, 8
mov eax, dword [rdx + rax]
cmp dword [0x18016c100], eax
jg 0x18000d3aa
mov r8, qword [0x18016c128]
movabs rcx, 0x100000001b3
mov rdx, qword [0x18016c118]
movabs rax, 0xcbf29ce484222325
movzx esi, bl
xor rsi, rax
movzx eax, r15b
imul rsi, rcx
xor rsi, rax
movzx eax, r14b
imul rsi, rcx
xor rsi, rax
mov eax, ebp
imul rsi, rcx
xor rsi, rax
imul rsi, rcx
mov rax, rsi
and rax, qword [0x18016c140]
add rax, rax
mov rcx, qword [r8 + rax*8 + 8]
cmp rcx, rdx
je 0x18000d2d0
mov rax, qword [r8 + rax*8]
cmp ebx, dword [rcx + 0x10]
je 0x18000d2d3
cmp rcx, rax
je 0x18000d2d0
mov rcx, qword [rcx + 8]
cmp ebx, dword [rcx + 0x10]
jne 0x18000d2c0
jmp 0x18000d2d3
mov rcx, rdi
test rcx, rcx
mov rax, rdx
cmovne rax, rcx
cmp rax, rdx
jne 0x18000d34e
lea r8, [rsp + 0x80]
movss dword [rsp + 0x84], xmm6
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x80], ebx
lea rcx, [0x18016c110]
call fcn.18000d670
and rsi, qword [0x18016c140]
mov rdx, qword [0x18016c128]
add rsi, rsi
mov rax, qword [0x18016c118]
mov rcx, qword [rdx + rsi*8 + 8]
cmp rcx, rax
je 0x18000d347
mov rdx, qword [rdx + rsi*8]
cmp ebx, dword [rcx + 0x10]
je 0x18000d344
cmp rcx, rdx
je 0x18000d347
mov rcx, qword [rcx + 8]
cmp ebx, dword [rcx + 0x10]
jne 0x18000d336
mov rdi, rcx
test rdi, rdi
cmovne rax, rdi
mov rcx, qword [0x18016bb80]
subss xmm7, dword [rcx + 0x18]
mulss xmm7, dword [rsp + 0xa8]
test r12b, r12b
je 0x18000d371
movss xmm6, dword [rsp + 0xa0]
subss xmm6, dword [rax + 0x14]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mulss xmm6, xmm7
movaps xmm7, xmmword [rsp + 0x30]
addss xmm6, dword [rax + 0x14]
movss dword [rax + 0x14], xmm6
movaps xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea rcx, [0x18016c100]
call fcn.1800eb6d8
cmp dword [0x18016c100], 0xffffffff
jne 0x18000d255
mov ecx, 0x18
call fcn.1800eb750
xorps xmm0, xmm0
lea rcx, [0x18016c128]
mov r8, rax
mov edx, 0x10
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [0x18016c118], rax
mov qword [0x18016c128], rdi
movdqa xmmword [0x18016c130], xmm0
mov qword [0x18016c140], 7
mov qword [0x18016c148], 8
mov dword [0x18016c110], 0x3f800000
call fcn.18000a1a0
lea rcx, [0x1800ee090]
call fcn.1800ebae4
lea rcx, [0x18016c100]
call fcn.1800eb66c
jmp 0x18000d255
Function at 0x18000d940
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x18000d978
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.18000a1a0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18000dab6
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18000da30
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18000daa5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18000da6d
mov r10, qword [rdx]
cmp r10, rax
je 0x18000da67
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x18000daa5
cmp r9, rdx
je 0x18000da81
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x18000dacb
cmp r9, rdx
jne 0x18000da72
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x18000d9e0
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18000daa5