joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140041a80
Capabilities:
Identify system language via api

Disassembly:
sub rsp, 0x28
cmp byte [0x1400a5a3d], 0
je 0x140041a98
mov eax, dword [0x1400a5a70]
add rsp, 0x28
ret
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx r8d, ax
mov edx, r8d
and edx, 0x3ff
sub edx, 7
je 0x140041afe
sub edx, 3
je 0x140041ada
sub edx, 0xb
je 0x140041ad0
cmp edx, 1
je 0x140041ac6
xor eax, eax
add rsp, 0x28
ret
mov eax, 2
add rsp, 0x28
ret
mov eax, 5
add rsp, 0x28
ret
mov eax, 0xfc00
mov ecx, 0x800
and r8w, ax
mov edx, 1
cmp r8w, cx
mov eax, 3
cmovne eax, edx
add rsp, 0x28
ret
mov eax, 4
add rsp, 0x28
ret

Function at 0x140044a80
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x250]
sub rsp, 0x350
mov rax, qword [0x140099038]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov r10, rdx
mov rbx, rcx
mov qword [rsp + 0x20], rcx
lea rdi, [rbp + 0x30]
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
xor esi, esi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
mov rcx, r10
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x140044be9
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], si
mov rdx, qword [rsp + 0x20]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], si
jne 0x140044b04
lea rcx, [rsp + 0x50]
call fcn.14001d430
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
lea rcx, [rbp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], si
lea rax, [rbp + 0x30]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140044b56
mov r8, rdi
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x28]
call fcn.14001d430
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.14001ded0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140044bc4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044bbf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044bbf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400505d0
mov rax, rbx
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.140050320
mov rbx, qword [rsp + 0x380]
add rsp, 0x350
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rcx, [rbp - 0x30]
call fcn.14001dc80
nop
mov rcx, rax
call fcn.140045090
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14001dd70
lea rdx, [0x140095020]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140046e00
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x140099038]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rbx, rcx
lea rax, vtable.LogItem.0
mov qword [rsp + 0x60], rax
xor esi, esi
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], si
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], si
mov dword [rbp - 0x58], 1
mov rdi, qword [rcx + 0x78]
sub rdi, qword [rcx + 0x70]
sar rdi, 2
mov dword [rbp - 0x54], 2
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], sil
lea r8d, [rsi + 0x1e]
lea rdx, str.Executing_scheduled_commands:
lea rcx, [rsp + 0x40]
call fcn.14001d610
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.14001ec90
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140046ef0
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046eeb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140046eeb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400505d0
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140026140
nop
lea rcx, [rsp + 0x60]
call fcn.14001e5f0
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea rax, [rbx + 0x2c]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
mov r9, rbx
lea r8, [0x140030730]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 8], rax
test rax, rax
je 0x140046f69
mov rcx, rbx
call fcn.140030b40
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140050320
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov qword [rsp + 0x38], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea rdx, str.Thread::Start
lea rcx, [rsp + 0x40]
call fcn.14001d3f0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.14001dce0
nop
lea rdx, str.CreateThreadfailed__error
mov rcx, rax
call fcn.140024ad0
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.14002f630
mov rcx, rax
call fcn.140030f30
mov rcx, rax
call fcn.14002ea30
mov rcx, rax
lea rdx, [rsp + 0x38]
call fcn.140030d80
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14001dd70
lea rdx, [0x140095020]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140049370
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [0x140099038]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rcx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [0x14007f8e0]
lea rcx, [rbx + 8]
cmp qword [rbx + 0x20], 8
jb 0x1400493aa
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1400493cd
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140050320
add rsp, 0x140
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x30]
call fcn.1400239e0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14001ded0
mov rbx, rax
lea rcx, [rsp + 0xd0]
call fcn.14001dc80
nop
lea rdx, str.Error_when_deleting_file:
mov rcx, rax
call fcn.140024ad0
mov rcx, rax
mov rdx, rbx
call fcn.14003ac60
mov rcx, rax
lea rdx, str.Last_error:
call fcn.140024ad0
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.14002f630
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14001dd70
lea rdx, [0x140095020]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x140049460
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x180
mov rax, qword [0x140099038]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rdi, rdx
mov rbx, rcx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [0x14007f8e0]
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14004949f
mov rdx, qword [rdi]
lea rcx, [rbx + 8]
cmp qword [rbx + 0x20], 8
jb 0x1400494ae
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1400494d9
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140050320
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x180
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400239e0
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14001ded0
mov rdi, rax
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x50]
call fcn.1400239e0
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.14001ded0
mov rbx, rax
lea rcx, [rsp + 0x110]
call fcn.14001dc80
nop
mov rcx, rax
call fcn.140049e70
mov rcx, rax
mov rdx, rbx
call fcn.14003ac60
mov rcx, rax
call fcn.14004a020
mov rcx, rax
mov rdx, rdi
call fcn.14003ac60
mov rcx, rax
lea rdx, str.Last_error:
call fcn.140024ad0
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.14002f630
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.14001dd70
lea rdx, [0x140095020]
lea rcx, [rsp + 0xb0]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140049620
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x140099038]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], 0
test rdx, rdx
je 0x1400496ad
mov edx, 0xc0000004
mov r9d, 2
call fcn.1400490c0
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov r8d, esi
mov rdx, rdi
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400496e8
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140050320
add rsp, 0x170
pop rdi
pop rsi
pop rbx
ret
lea rdx, str.Invalid_data_passed
lea rcx, [rsp + 0x48]
call fcn.14001d3f0
nop
mov dword [rsp + 0x30], 1
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x68]
call fcn.140031c10
lea rdx, [0x140095400]
lea rcx, [rsp + 0x68]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x48]
call fcn.1400239e0
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14001ded0
mov rbx, rax
lea rcx, [rsp + 0x100]
call fcn.14001dc80
nop
mov rcx, rax
call fcn.14004a1d0
mov rcx, rax
lea rdx, [rsp + 0x38]
call fcn.140049b10
mov rcx, rax
lea rdx, str._bytes_to_file
call fcn.140024ad0
mov rcx, rax
mov rdx, rbx
call fcn.14003ac60
mov rcx, rax
lea rdx, str.Last_error:
call fcn.140024ad0
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.14002f630
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.14001dd70
lea rdx, [0x140095020]
lea rcx, [rsp + 0xa0]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140049790
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x140099038]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
mov dword [rsp + 0x30], 0
test rdx, rdx
je 0x14004984e
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14007f8e0]
cmp eax, edi
jb 0x14004991a
mov rax, qword [rbx + 0x28]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1400497f9
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [0x14007f8e0]
xor r9d, r9d
mov edx, 0x80000000
mov rcx, rbx
call fcn.1400490c0
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov r8d, edi
mov rdx, rsi
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140049889
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140050320
add rsp, 0x170
pop rdi
pop rsi
pop rbx
ret
lea rdx, str.Invalid_data_passed
lea rcx, [rsp + 0x40]
call fcn.14001d3f0
nop
mov dword [rsp + 0x30], 1
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140031c10
lea rdx, [0x140095400]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x40]
call fcn.1400239e0
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14001ded0
mov rbx, rax
lea rcx, [rsp + 0x100]
call fcn.14001dc80
nop
lea rdx, str.Error_when_reading_file
mov rcx, rax
call fcn.140024ad0
mov rcx, rax
mov rdx, rbx
call fcn.14003ac60
mov rcx, rax
lea rdx, str.Last_error:
call fcn.140024ad0
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.14002f630
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.14001dd70
lea rdx, [0x140095020]
lea rcx, [rsp + 0xa0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Invalid_size_passed
lea rcx, [rsp + 0x40]
call fcn.14001d3f0
nop
mov dword [rsp + 0x30], 2
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140031c10
lea rdx, [0x140095400]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x14004f000
Capabilities:
Print debug messages

Disassembly:
mov r11, rsp
push rsi
push r14
sub rsp, 0x58
mov rax, qword [0x140099038]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r14, qword [rdx + 0x10]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
mov rsi, rdx
sub rax, r14
cmp rax, 2
jb 0x14004f1b8
cmp qword [rdx + 0x18], 8
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rdi
mov qword [r11 - 0x18], r15
jb 0x14004f054
mov rsi, qword [rdx]
xor r15d, r15d
lea rbp, [r14 + 2]
mov ebx, 7
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r15
lea rdi, [rsp + 0x20]
cmp rbp, rbx
jbe 0x14004f0ff
mov rbx, rbp
or rbx, 7
cmp rbx, rcx
jbe 0x14004f08d
mov rbx, rcx
lea rcx, [r15 - 2]
jmp 0x14004f0bc
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rbx + 1]
cmp rcx, rax
ja 0x14004f1b2
add rcx, rcx
cmp rcx, 0x1000
jb 0x14004f0e8
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14004f1b2
mov rcx, rax
call fcn.140050344
test rax, rax
je 0x14004f177
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14004f0fa
test rcx, rcx
je 0x14004f0f7
call fcn.140050344
mov rdi, rax
jmp 0x14004f0fa
mov rdi, r15
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x38], rbx
mov rdx, rsi
lea rbx, [r14 + r14]
mov qword [rsp + 0x30], rbp
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov dword [rbx + rdi], 0xa000d
lea rcx, [rsp + 0x20]
mov word [rdi + rbp*2], r15w
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14004f183
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f17e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f17e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400505d0
mov rdi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x70]
mov r15, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140050320
add rsp, 0x58
pop r14
pop rsi
ret
call fcn.14001d220
int3
call fcn.14001d2c0
int3
Function at 0x14001a430
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0xe8]
sub rsp, 0x1e0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x140285040]
xor rax, rsp
mov qword [rbp + 0xc0], rax
cmp byte [0x140286154], 0
jne 0x14001a61c
movabs rsi, 0x7fffffffffffffff
mov edi, dword [rsp + 0x48]
movsd xmm6, qword [rsp + 0x40]
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [0x140286164]
inc eax
movsxd rbx, eax
lea rcx, [rsp + 0x50]
call fcn.140001570
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
test rbx, rbx
jle 0x14001a4d6
imul rdx, rbx, 0xf4240
mov rcx, rsi
sub rcx, rdx
cmp rax, rcx
jge 0x14001a4d1
lea rcx, [rdx + rax]
mov qword [rsp + 0x30], rcx
jmp 0x14001a4d6
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x30]
call fcn.140004300
cmp byte [0x140286060], 0
je 0x14001a60f
cmp qword [0x1402875f0], 0
je 0x14001a60f
lea rcx, [rbp + 0x20]
call fcn.14001a650
mov qword [rbp + 0xb8], 0
movd xmm1, dword [0x140286074]
cvtdq2ps xmm1, xmm1
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
movzx r9d, byte [0x140286068]
mov r8d, dword [0x140286070]
call fcn.1400293e0
test al, al
je 0x14001a606
mov ecx, dword [0x140286064]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14001a606
cmp byte [rbp + 0x60], 0
jne 0x14001a606
cmp byte [0x140286069], 0
je 0x14001a574
cmp byte [rbp + 0xb4], 0
je 0x14001a606
mov ecx, dword [0x14028606c]
test ecx, ecx
je 0x14001a5bc
sub ecx, 1
je 0x14001a5a2
cmp ecx, 1
jne 0x14001a5e3
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.14001a700
mov r9d, 0x60f2
lea rdx, [rsp + 0x58]
jmp 0x14001a5d4
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.14001a700
mov r9d, 0x9995
lea rdx, [rsp + 0x64]
jmp 0x14001a5d4
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.14001a700
mov r9d, 0x796e
lea rdx, [rsp + 0x70]
mov r8, rax
call fcn.140028b60
movsd xmm6, qword [rax]
mov edi, dword [rax + 8]
movsd qword [rsp + 0x40], xmm6
mov dword [rsp + 0x48], edi
mov r9d, dword [0x14028607c]
mov r8d, dword [0x140286078]
lea rdx, [rsp + 0x40]
call fcn.140029810
nop
lea rcx, [rbp + 0x20]
call fcn.140004700
cmp byte [0x140286154], 0
je 0x14001a490
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14007ce70
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
Function at 0x14001a840
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13, r8
mov r14, rdx
mov rsi, rcx
movzx r12d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r12, rax
movabs rcx, 0x100000001b3
imul r12, rcx
movzx eax, byte [r8 + 1]
xor r12, rax
imul r12, rcx
movzx eax, byte [r8 + 2]
xor r12, rax
imul r12, rcx
movzx eax, byte [r8 + 3]
xor r12, rax
imul r12, rcx
mov rcx, r12
and rcx, qword [rsi + 0x30]
add rcx, rcx
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rsi + 8]
mov r15, qword [rdx]
cmp rbx, r15
jne 0x14001a8c7
mov rbx, r15
mov rbp, r15
jmp 0x14001a90a
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x14001a8e1
cmp rbx, rcx
je 0x14001a904
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x14001a8d3
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r15, rbx
mov rbp, rbx
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [rsi + 0x10], rax
jne 0x14001a928
lea rcx, [0x1400848a0]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, 0x18
call fcn.14007ce90
mov rdi, rax
mov qword [rsp + 0x28], rax
mov rax, qword [r13]
mov qword [rdi + 0x10], rax
mov rdx, qword [rsi + 0x10]
add rdx, 1
xorps xmm0, xmm0
js 0x14001a964
cvtsi2ss xmm0, rdx
jmp 0x14001a97c
mov rcx, rdx
shr rcx, 1
mov rax, rdx
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x14001a98f
cvtsi2ss xmm1, rcx
jmp 0x14001a9a4
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
jbe 0x14001aa14
mov rcx, rsi
call fcn.14001ac30
mov rdx, rax
mov rcx, rsi
call fcn.14001aa80
mov rdx, qword [rsi + 0x30]
and rdx, r12
add rdx, rdx
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx + rdx*8 + 8]
mov rbx, qword [rsi + 8]
cmp rax, rbx
jne 0x14001a9e7
mov qword [rsp + 0x28], 0
jmp 0x14001aa07
mov rdx, qword [rcx + rdx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x14001aa04
mov rbx, rax
cmp rax, rdx
je 0x14001aa48
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x14001a9f3
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rsi + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r12
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rsi + 8]
jne 0x14001aa58
mov qword [rcx + rax*8], rdi
jmp 0x14001aa6a
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
jmp 0x14001aa0c
cmp r8, rbp
jne 0x14001aa63
mov qword [rcx + rax*8], rdi
jmp 0x14001aa6f
cmp qword [rcx + rax*8 + 8], rdx
jne 0x14001aa6f
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x14001a8e9
Function at 0x14001aa80
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x14001aab5
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 + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140002d10
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 0x14001abf4
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
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
imul r11, rdi
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14001ab6d
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14001abe3
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14001abaa
mov r10, qword [rdx]
cmp r10, rax
je 0x14001aba4
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 0x14001abe3
cmp r9, rdx
je 0x14001abbf
nop
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14001ac05
cmp r9, rdx
jne 0x14001abb0
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 0x14001ab20
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
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 0x14001abe3

Function at 0x14001acd0
Capabilities:
Hash data using fnv

Disassembly:
mov rcx, qword [rcx]
test rcx, rcx
jne fcn.14001ace0
ret