joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140015770
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rdx]
xor ecx, ecx
mov rdi, qword [rdx + 8]
add rbx, 0x118
mov qword [rdx], rcx
mov qword [rdx + 8], rcx
cmp qword [rbx + 0x18], 0xf
jbe 0x14001579b
mov rbx, qword [rbx]
movzx ebx, byte [rbx + 6]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, 0xa2
call qword [sym.imp.USER32.dll_keybd_event]
movzx ecx, bl
call qword [sym.imp.USER32.dll_VkKeyScanA]
xor r9d, r9d
xor r8d, r8d
movzx ecx, ax
xor edx, edx
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
movzx ecx, bl
call qword [sym.imp.USER32.dll_VkKeyScanA]
xor r9d, r9d
xor edx, edx
movzx ecx, ax
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor edx, edx
mov cl, 0xa2
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
test rdi, rdi
je 0x140015831
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140015831
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x140015831
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140015870
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rdx]
xor ecx, ecx
mov rdi, qword [rdx + 8]
add rbx, 0x118
mov qword [rdx], rcx
mov qword [rdx + 8], rcx
cmp qword [rbx + 0x18], 0xf
jbe 0x14001589b
mov rbx, qword [rbx]
movzx ebx, byte [rbx + 7]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, 0x10
call qword [sym.imp.USER32.dll_keybd_event]
movzx ecx, bl
call qword [sym.imp.USER32.dll_VkKeyScanA]
xor r9d, r9d
xor r8d, r8d
movzx ecx, ax
xor edx, edx
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
movzx ecx, bl
call qword [sym.imp.USER32.dll_VkKeyScanA]
xor r9d, r9d
xor edx, edx
movzx ecx, ax
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor edx, edx
mov cl, 0x10
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
test rdi, rdi
je 0x140015931
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140015931
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x140015931
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140015b50
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rdx]
xor ecx, ecx
mov rbx, qword [rdx + 8]
mov qword [rdx], rcx
mov qword [rdx + 8], rcx
lea rcx, [rax + 0x118]
cmp qword [rcx + 0x18], 0xf
jbe 0x140015b77
mov rcx, qword [rcx]
movzx ecx, byte [rcx]
add cl, 0xf
call qword [sym.imp.USER32.dll_VkKeyScanA]
xor r9d, r9d
xor edx, edx
movzx ecx, ax
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
test rbx, rbx
je 0x140015bd0
mov qword [rsp + 0x30], rdi
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140015bcb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140015bcb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret

Function at 0x140015c10
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rdx]
xor ecx, ecx
mov rbx, qword [rdx + 8]
mov qword [rdx], rcx
mov qword [rdx + 8], rcx
lea rcx, [rax + 0x118]
cmp qword [rcx + 0x18], 0xf
jbe 0x140015c37
mov rcx, qword [rcx]
movzx ecx, byte [rcx]
add cl, 0xd
call qword [sym.imp.USER32.dll_VkKeyScanA]
xor r9d, r9d
xor r8d, r8d
movzx ecx, ax
xor edx, edx
call qword [sym.imp.USER32.dll_keybd_event]
test rbx, rbx
je 0x140015c8f
mov qword [rsp + 0x30], rdi
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140015c8a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140015c8a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret

Function at 0x140015f60
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rdi, qword [rdx]
xor eax, eax
mov rbx, qword [rdx + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
mov rdx, qword [rdi + 0x128]
cmp rdx, 0xa
jbe 0x140015fea
add rdx, 0xfffffffffffffff6
mov qword [rsp + 0x30], rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea rdx, [rdi + 0x118]
mov rsi, rax
cmp qword [rdx + 0x18], 0xf
jbe 0x140015fac
mov rdx, qword [rdx]
mov r8, qword [rdi + 0x128]
add rdx, 0xb
sub r8, 0xa
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, rsi
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rsi, qword [rsp + 0x30]
test rbx, rbx
je 0x14001601b
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14001601b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14001601b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140016230
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rcx, qword [rdx]
mov qword [rsp + 0x20], rcx
mov rax, qword [rdx + 8]
mov qword [rsp + 0x28], rax
xor eax, eax
mov qword [rdx], rax
mov qword [rdx + 8], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rdx, [rcx + 0x118]
cmp qword [rdx + 0x18], 0xf
jbe 0x14001626f
mov rdx, qword [rdx]
add rdx, 5
lea rcx, [rsp + 0x38]
call fcn.1400048d0
cmp qword [rax + 0x18], 0xf
jbe 0x140016287
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x1400162d1
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400162cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400162cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
nop
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x140016307
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140016307
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140016307
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret

Function at 0x140016960
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [rdx + 8]
lea rcx, [0x14001b0ec]
xor eax, eax
mov qword [rdx], rax
mov qword [rdx + 8], rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
test rbx, rbx
je 0x1400169bb
mov qword [rsp + 0x30], rdi
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400169b6
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400169b6
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret

Function at 0x140017004
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14001703e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140017043
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14001708c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14001a980]
cmp byte [rcx + rax], 0
je 0x14001708c
dec r8
sub rdx, 1
jne 0x140017072
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140018540
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001858a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001858a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001858a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001858a
cmp dword [rcx + 0x84], 0xe
jbe 0x14001858a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001858c
xor al, al
add rsp, 0x28
ret
Function at 0x1401e9c10
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1401e9c1d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1401e9c2d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1401e9c15
lea eax, [rcx + 1]
jmp 0x1401e9c3b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1401e9c4e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1401e9c34
sub eax, 3
jb 0x1401e9c6e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1401e9cbd
sar eax, 1
movsxd rbp, eax
jb 0x1401e9ca4
jmp 0x1401e9c7c
add ebx, ebx
jne 0x1401e9c7a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1401e9ca4
inc ecx
add ebx, ebx
jne 0x1401e9c8a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1401e9ca4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1401e9c9d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1401e9c8c
add ecx, 2
jmp 0x1401e9ca9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1401e9bd2
jmp 0x1401e9c1d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xd0000
mov dl, reloc.TS2BD.dll_Ordinal_26
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1401e9d09
cmp rsi, rcx
jae 0x1401e9d11
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1401e9cf0
cmp al, 0x8f
ja 0x1401e9cf0
cmp byte [rsi - 2], 0xf
je 0x1401e9cf6
sub al, 0xe8
cmp al, 1
ja 0x1401e9cda
cmp rsi, rcx
jae 0x1401e9d11
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1401e9ce0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1401e9d11
lodsb al, byte [rsi]
jmp 0x1401e9cf0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1e5000]
mov eax, dword [rdi]
or eax, eax
je 0x1401e9d7a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x232c24]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1401e9d1e
jns 0x1401e9d53
movzx rdx, word [rdi]
add rdi, 2
jmp 0x1401e9d5d
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1401e9d74
mov qword [rbx], rax
add rbx, 8
jmp 0x1401e9d3e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x22f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1401e9dd2
sub rsp, 0xffffffffffffff80
jmp 0x1400af140
Function at 0x1408c8058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1408c81df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1408c8089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408c806f
add dl, dl
jne 0x1408c8096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408c80f6
xor eax, eax
add dl, dl
jne 0x1408c80a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408c81ad
add dl, dl
jne 0x1408c80b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408c80c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408c80d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408c80dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1408c80ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1408c807e
mov eax, 1
add dl, dl
jne 0x1408c8106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408c8113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408c80fb
sub eax, ebx
mov ebx, 1
jne 0x1408c814c
mov ecx, 1
add dl, dl
jne 0x1408c812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1408c813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408c8123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408c807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1408c8168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1408c8175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408c815d
cmp eax, 0x7d00
jae 0x1408c819b
cmp eax, 0x500
jb 0x1408c8196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408c807e
cmp eax, 0x7f
ja 0x1408c819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408c807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1408c81d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1408c807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140002b80
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rbx, qword [rcx]
mov qword [rsp + 0x50], rbx
movsxd rdx, dword [rdx]
mov rcx, qword [rbx + 0x18]
mov rcx, qword [rcx + 0x40]
call fcn.14003d040
mov rdx, rax
mov rcx, qword [rbx + 0x10]
test byte [rax + 8], 0xf
jne 0x140002bc7
mov byte [rcx + 8], 0
jmp 0x140002bd4
mov rax, qword [rax]
mov qword [rcx], rax
movzx eax, byte [rdx + 8]
mov byte [rcx + 8], al
add qword [rbx + 0x10], 0x10
mov edx, 0xffffffff
mov rcx, rbx
call fcn.140011640
mov r10, rax
mov r13, rax
shr r13, 0x38
mov rcx, rax
shr rcx, 0x30
movzx r12d, cl
mov rcx, rax
shr rcx, 0x28
movzx r14d, cl
mov rdx, rax
shr rdx, 0x20
movzx ebp, dl
mov rdx, rax
shr rdx, 0x18
movzx esi, dl
shr rax, 0x10
movzx edi, al
mov rax, r10
shr rax, 8
movzx ebx, al
movzx r15d, r10b
mov edx, 0xfffffffe
mov rcx, qword [rsp + 0x50]
call fcn.140011070
nop
movabs rax, 0xcbf29ce484222325
xor r15, rax
movabs rax, 0x100000001b3
imul r15, rax
xor r15, rbx
imul r15, rax
xor r15, rdi
imul r15, rax
xor r15, rsi
imul r15, rax
xor r15, rbp
imul r15, rax
xor r15, r14
imul r15, rax
xor r15, r12
imul r15, rax
xor r15, r13
imul rax, r15
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140006cc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push r14
sub rsp, 0x68
movabs rax, 0xfffffffffffffff
mov qword [rsp + 0x20], rcx
mov r14, rcx
mov ebx, 1
bsr rcx, rax
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x140006cfb
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov qword [rsp + 0x90], rbp
lea rax, [rdx - 1]
mov rbp, qword [r14 + 8]
or rax, rbx
bsr rcx, rax
mov qword [rsp + 0x60], rsi
mov r8, rbp
inc ecx
mov qword [rsp + 0x58], rdi
shl rbx, cl
mov qword [rsp + 0x40], r15
lea r15, [r14 + 0x18]
mov rcx, r15
lea rdx, [rbx + rbx]
call fcn.140005220
mov qword [r14 + 0x38], rbx
lea rax, [rbx - 1]
mov qword [r14 + 0x30], rax
mov rdi, qword [r14 + 8]
mov rdi, qword [rdi]
mov rsi, rdi
cmp rdi, rbp
je 0x140006ebf
mov qword [rsp + 0x50], r12
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x48], r13
movabs r10, 0x100000001b3
nop word [rax + rax]
movups xmm0, xmmword [rdi + 0x10]
mov r8, qword [rdi + 0x18]
xor edx, edx
mov rsi, qword [rsi]
movaps xmmword [rsp + 0x30], xmm0
test r8, r8
je 0x140006db4
mov r9, qword [rsp + 0x30]
nop dword [rax]
movzx ecx, byte [rdx + r9]
inc rdx
xor rax, rcx
imul rax, r10
cmp rdx, r8
jb 0x140006da0
mov r13, qword [r14 + 0x30]
and r13, rax
shl r13, 4
add r13, qword [r15]
mov r12, qword [r13]
cmp r12, rbp
jne 0x140006dd8
mov qword [r13], rdi
mov qword [r13 + 8], rdi
jmp 0x140006e9b
mov rbx, qword [r13 + 8]
cmp r8, qword [rbx + 0x18]
jne 0x140006e23
mov rdx, qword [rbx + 0x10]
movq rcx, xmm0
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140006e23
mov r8, qword [rbx]
cmp r8, rdi
je 0x140006e1d
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r13 + 8], rdi
jmp 0x140006e91
mov r14, rbx
cmp r12, rbx
je 0x140006e67
movups xmm0, xmmword [rdi + 0x10]
movaps xmmword [rsp + 0x30], xmm0
mov r15, qword [rsp + 0x38]
nop dword [rax]
mov rbx, qword [rbx + 8]
mov r14, rbx
cmp r15, qword [rbx + 0x18]
jne 0x140006e62
mov rdx, qword [rbx + 0x10]
mov r8, r15
mov rcx, qword [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140006ede
cmp r12, rbx
jne 0x140006e40
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r14
mov rax, qword [r14 + 8]
mov qword [rax], rdi
mov qword [r14 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r13], rdi
mov r14, qword [rsp + 0x20]
movabs r10, 0x100000001b3
lea r15, [r14 + 0x18]
mov rdi, rsi
movabs rax, 0xcbf29ce484222325
cmp rsi, rbp
jne 0x140006d80
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x90]
mov r15, qword [rsp + 0x40]
add rsp, 0x68
pop r14
pop rbx
ret
mov r8, qword [rbx]
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
jmp 0x140006e8c
Function at 0x140006fe0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
movups xmm0, xmmword [r8 + 0x10]
mov r11, qword [r8 + 0x18]
mov rdi, rdx
xor edx, edx
mov r10, rcx
movaps xmmword [rsp + 0x20], xmm0
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x140007033
mov rcx, qword [rsp + 0x20]
movabs rbx, 0x100000001b3
nop
movzx eax, byte [rdx + rcx]
inc rdx
xor r9, rax
imul r9, rbx
cmp rdx, r11
jb 0x140007020
mov rdx, qword [r10 + 0x30]
and rdx, r9
shl rdx, 4
add rdx, qword [r10 + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], r8
jne 0x140007067
cmp rax, r8
jne 0x14000705d
mov rax, qword [r10 + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x140007072
mov rax, qword [r8 + 8]
mov qword [rdx + 8], rax
jmp 0x140007072
cmp rax, r8
jne 0x140007072
mov rax, qword [r8]
mov qword [rdx], rax
mov rbx, qword [r8]
mov edx, 0x38
dec qword [r10 + 0x10]
mov rcx, qword [r8 + 8]
mov qword [rcx], rbx
mov rcx, qword [r8 + 8]
mov qword [rbx + 8], rcx
mov rcx, r8
call fcn.1400bf590
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400106c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x50
movabs rax, 0xfffffffffffffff
mov ebx, 1
bsr rcx, rax
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x1400106f1
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 + 0x60], rbp
mov rbp, qword [0x1400f4878]
or rax, rbx
bsr rcx, rax
mov qword [rsp + 0x70], rsi
mov r8, rbp
inc ecx
mov qword [rsp + 0x78], rdi
shl rbx, cl
lea rcx, [0x1400f4888]
lea rdx, [rbx + rbx]
call fcn.140005220
mov rdi, qword [0x1400f4878]
lea r10, [rbx - 1]
mov qword [0x1400f48a0], r10
mov qword [0x1400f48a8], rbx
mov rdi, qword [rdi]
mov rsi, rdi
cmp rdi, rbp
je 0x1400108e4
mov qword [rsp + 0x48], r12
movabs r11, 0x100000001b3
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
movups xmm0, xmmword [rdi + 0x10]
mov r8, qword [rdi + 0x18]
xor edx, edx
mov rsi, qword [rsi]
movabs rax, 0xcbf29ce484222325
movaps xmmword [rsp + 0x20], xmm0
test r8, r8
je 0x1400107b4
mov r9, qword [rsp + 0x20]
nop word [rax + rax]
movzx ecx, byte [rdx + r9]
inc rdx
xor rax, rcx
imul rax, r11
cmp rdx, r8
jb 0x1400107a0
mov r13, qword [0x1400f4888]
and rax, r10
shl rax, 4
add r13, rax
mov r12, qword [r13]
cmp r12, rbp
jne 0x1400107db
mov qword [r13], rdi
mov qword [r13 + 8], rdi
jmp 0x140010896
mov rbx, qword [r13 + 8]
cmp r8, qword [rbx + 0x18]
jne 0x140010826
mov rdx, qword [rbx + 0x10]
movq rcx, xmm0
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140010826
mov r8, qword [rbx]
cmp r8, rdi
je 0x140010820
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r13 + 8], rdi
jmp 0x14001088c
mov r14, rbx
cmp r12, rbx
je 0x140010867
movups xmm0, xmmword [rdi + 0x10]
movaps xmmword [rsp + 0x20], xmm0
mov r15, qword [rsp + 0x28]
nop dword [rax]
mov rbx, qword [rbx + 8]
mov r14, rbx
cmp r15, qword [rbx + 0x18]
jne 0x140010862
mov rdx, qword [rbx + 0x10]
mov r8, r15
mov rcx, qword [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400108aa
cmp r12, rbx
jne 0x140010840
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r14
mov rax, qword [r14 + 8]
mov qword [rax], rdi
mov qword [r14 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r13], rdi
movabs r11, 0x100000001b3
mov rdi, rsi
cmp rsi, rbp
je 0x1400108d0
mov r10, qword [0x1400f48a0]
jmp 0x140010770
mov r8, qword [rbx]
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
jmp 0x14001088c
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov r15, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbx
ret