joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801a87d0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x880
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x180267080]
xor rax, rsp
mov qword [rsp + 0x870], rax
call fcn.18001ee00
mov rdi, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1801a8819
mov rcx, rax
call fcn.18001a840
nop
mov ecx, dword [0x18026f398]
xor esi, esi
test cl, 1
jne 0x1801a884a
or ecx, 1
mov dword [0x18026f398], ecx
mov qword [0x18026f388], rsi
mov byte [0x18026f390], sil
lea rcx, [0x1801c4af0]
call fcn.18017e404
nop
cmp byte [0x18026f390], 0
jne 0x1801a8a00
mov byte [0x18026f390], 1
xor edx, edx
mov r8d, 0x410
lea rcx, [rsp + 0x40]
call fcn.180180610
mov qword [rsp + 0x20], rsi
lea r8, [rsp + 0x20]
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x1801a88b6
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1801a88b1
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x1801a88b6
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1801a88b6
mov word [rsp + 0x40], si
lea rcx, [rsp + 0x40]
sub rcx, 2
nop
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1801a88c0
mov eax, dword [0x1801e0d10]
mov dword [rcx], eax
lea rax, [rsp + 0x40]
sub rax, 2
nop dword [rax + rax]
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x1801a88e0
movups xmm0, xmmword [str.2345Pic]
movups xmmword [rax], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1801a8909
mov word [rsp + 0x40], si
xor edx, edx
mov r8d, 0x412
lea rcx, [rsp + 0x450]
call fcn.180180610
lea rcx, [rsp + 0x40]
mov rbx, 0xffffffffffffffff
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1801a8930
test rax, rax
je 0x1801a89ca
mov r8d, 0x207
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x450]
call fcn.1801a97c0
lea rcx, [rsp + 0x450]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x1801a8966
test rax, rax
je 0x1801a89ca
lea rcx, [rsp + 0x450]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1801a8981
mov eax, dword [0x1801e0d10]
mov dword [rcx], eax
lea rcx, [rsp + 0x450]
sub rcx, 2
nop
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1801a89a0
movups xmm0, xmmword [str.2345Image.hzv]
movups xmmword [rcx], xmm0
movsd xmm1, qword [0x1801d9738]
movsd qword [rcx + 0x10], xmm1
mov eax, dword [0x1801d9740]
mov dword [rcx + 0x18], eax
call fcn.1801438c0
lea rcx, [rsp + 0x450]
nop word [rax + rax]
inc rbx
cmp word [rcx + rbx*2], 0
jne 0x1801a89e0
test rbx, rbx
je 0x1801a8a00
lea rdx, [rsp + 0x450]
mov rcx, rax
call fcn.1801439b0
nop
test rdi, rdi
je 0x1801a8a12
mov rcx, rdi
call fcn.18001a850
mov qword [rsp + 0x28], rsi
lea rax, [0x18026f388]
mov rcx, qword [rsp + 0x870]
xor rcx, rsp
call fcn.18017df00
lea r11, [rsp + 0x880]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1801a8a40
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x180267080]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor edi, edi
mov rbx, rcx
mov qword [rcx], rdi
cmp qword [0x180267b70], rdi
jne 0x1801a8acb
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x20a
call fcn.180180610
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea rax, [rsp + 0x30]
mov word [rsp + 0x236], di
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], di
jne 0x1801a8ab0
lea rdx, [rsp + 0x30]
lea rcx, [0x180267b60]
call fcn.180009930
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.18017df00
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret

Function at 0x1801a8b70
Capabilities:
Get session user name

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x260
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x180267080]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
mov eax, dword [0x18026f3a8]
test eax, eax
jle 0x1801a8bbe
inc eax
mov dword [0x18026f3a8], eax
mov al, 1
jmp 0x1801a8cdd
xor sil, sil
xor ebp, ebp
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
lea rcx, [rsp + 0x30]
call fcn.18000c930
nop
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.18000da20
movzx ebx, al
lea rcx, [rsp + 0x30]
call fcn.18000c9b0
test bl, bl
je 0x1801a8cc9
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x1801a8cc9
lea rdx, str.ImpersonateLoggedOnUser
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x28]
call rax
test eax, eax
je 0x1801a8cc0
inc dword [0x18026f3a8]
mov rcx, qword [rdi]
test rcx, rcx
je 0x1801a8c4c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x28]
mov qword [rdi], rax
mov qword [rsp + 0x28], rbp
mov sil, 1
cmp qword [0x180267b90], 0
jne 0x1801a8cc0
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x40]
call fcn.180180610
mov dword [rsp + 0x20], 0x104
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov word [rsp + 0x246], bp
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1801a8ca4
lea rdx, [rsp + 0x40]
lea rcx, [0x180267b80]
call fcn.180009930
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1801a8cd9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, sil
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.18017df00
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400093f0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x140111200]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov eax, dword [rcx + 0x40]
mov edi, r8d
movzx esi, byte [rcx + 0xd8]
cmp r8d, eax
mov rbx, rcx
setge bpl
jge 0x14000943b
test sil, sil
je 0x140009520
movaps xmm0, xmmword [r9]
add rcx, 8
cmp qword [rbx + 0x20], 0x10
movups xmmword [rsp + 0x48], xmm0
jb 0x140009453
mov rcx, qword [rbx + 8]
movaps xmm0, xmmword [rdx]
mov rax, qword [rbx + 0x18]
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x28], rcx
movsd xmm0, qword [rdx + 0x10]
movsd qword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rax
call fcn.14009d484
movups xmm0, xmmword [rsp + 0x28]
mov qword [rsp + 0x78], rax
mov rax, qword gs:[0x58]
mov edx, 0x18
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], edi
mov rcx, qword [rax]
mov r8d, 0x10
mov eax, dword [rdx + rcx]
test al, 1
jne 0x1400094c1
or eax, 1
lea rdi, [rcx + r8]
mov dword [rdx + rcx], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, eax
mov qword [rdi], rax
jmp 0x1400094c5
lea rdi, [r8 + rcx]
movups xmm0, xmmword [rsp + 0x38]
mov rax, qword [rdi]
lea rdx, [rsp + 0x60]
movsd xmm1, qword [rsp + 0x20]
movzx r9d, sil
movups xmmword [rsp + 0x98], xmm0
mov qword [rsp + 0x80], rax
xor eax, eax
movups xmm0, xmmword [rsp + 0x48]
movzx r8d, bpl
mov qword [rsp + 0x88], rax
mov rcx, rbx
mov qword [rsp + 0x90], rax
movaps xmmword [rsp + 0xb0], xmm0
movsd qword [rsp + 0xa8], xmm1
call fcn.140030570
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14009ea10
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140009550
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x140111200]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0x40], rdx
xor ebp, ebp
call fcn.1400ab39c
mov r14, rax
mov rbx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400095a1
mov rbx, qword [rsi]
mov dword [rax], ebp
mov r8d, 0xa
lea rdx, [rsp + 0xb0]
mov rcx, rbx
call fcn.1400ac320
cmp rbx, qword [rsp + 0xb0]
je 0x140009710
cmp dword [r14], 0x22
je 0x14000971d
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x58]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x90], rbp
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140009605
mov rax, qword [rcx]
lea rdx, [rsp + 0x58]
call qword [rax]
mov qword [rsp + 0x90], rax
mov ecx, 0x48
call fcn.14009ea30
mov rbx, rax
mov ecx, dword [rsp + 0x50]
mov dword [rax], ecx
lea rcx, [rax + 8]
lea rdx, [rsp + 0x58]
call fcn.140011340
mov qword [rsp + 0xb0], rbx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
mov r9, rbx
lea r8, [0x14000fad0]
xor edx, edx
xor ecx, ecx
call fcn.1400ac5c8
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140009701
cmp dword [rsp + 0x38], 0
je 0x14000972a
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0xb0], xmm0
lea rcx, [rsp + 0xb0]
call fcn.14009cfdc
test eax, eax
jne 0x1400096f9
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x1400096af
mov rax, qword [rcx]
lea rdx, [rsp + 0x58]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
nop
mov rcx, rsi
call fcn.1400065f0
nop
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x1400096d1
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], rbp
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14009ea10
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, eax
call fcn.14009c3b0
nop
mov dword [rsp + 0x38], ebp
mov ecx, 6
call fcn.14009c3ec
nop
lea rcx, str.invalid_stol_argument
call fcn.14009b5e0
int3
lea rcx, str.stol_argument_out_of_range
call fcn.14009b628
nop
mov ecx, 1
call fcn.14009c3ec
int3
Function at 0x14000add0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140111200]
xor rax, rsp
mov qword [rsp + 0x40], rax
cmp qword [0x140119710], 8
lea rax, [rsp + 0x30]
mov rdi, rcx
mov qword [rsp + 0x30], 0
lea rsi, [0x1401196f8]
mov dword [rsp + 0x38], 0xfffffffe
mov rdx, rsi
mov dword [rsp + 0x3c], 4
cmovae rdx, qword [0x1401196f8]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000ae8f
cmp qword [rdi + 0x18], 8
mov rdx, rdi
jb 0x14000ae55
mov rdx, qword [rdi]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x14000af1c
cmp qword [0x140119710], 8
lea rax, [rsp + 0x30]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
cmovae rsi, qword [0x1401196f8]
mov rcx, 0xffffffff80000001
mov rdx, rsi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000aed2
cmp eax, 2
je 0x14000af15
mov eax, 0xfffffffe
jmp 0x14000af39
cmp qword [rdi + 0x18], 8
jb 0x14000aedc
mov rdi, qword [rdi]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x38]
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x14000af1c
mov eax, 0xffffffff
jmp 0x14000af39
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x14000af37
cmp eax, 1
je 0x14000af30
mov eax, 0xfffffffd
jmp 0x14000af39
mov eax, 1
jmp 0x14000af39
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14009ea10
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x14002def0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x60
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
xor r14d, r14d
call fcn.14009d324
test eax, eax
jne 0x14002dfdc
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
mov r8, qword [rbx + 0x10]
mov qword [rsp + 0x70], rdi
jb 0x14002df34
mov rdx, qword [rbx]
movabs r9, 0xcbf29ce484222325
mov rcx, r14
test r8, r8
je 0x14002df63
movabs r10, 0x100000001b3
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r10
cmp rcx, r8
jb 0x14002df50
mov r8, rbx
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0xf0]
call fcn.1400396a0
mov rax, qword [rax + 8]
test rax, rax
jne 0x14002df87
mov rax, qword [rbp + 0xf8]
cmp rax, qword [rbp + 0xf8]
jne 0x14002df99
mov qword [rsi], r14
mov qword [rsi + 8], r14
jmp 0x14002dfb5
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x14002dfa6
lock inc dword [rcx + 8]
mov rcx, qword [rax + 0x38]
mov rax, qword [rax + 0x30]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov rcx, rbp
call fcn.14009d348
mov rdi, qword [rsp + 0x70]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rax, rsi
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov ecx, eax
call fcn.14009c3b0
int3
Function at 0x14002e060
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x140111200]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov r12, rdx
mov r13, rcx
mov qword [rsp + 0x20], rdx
mov rdx, qword [rdx]
add rdx, 8
lea rcx, [rsp + 0x58]
call fcn.14000d450
nop
lea r8, [rsp + 0x58]
mov r14, qword [rsp + 0x58]
mov r15, qword [rsp + 0x70]
cmp r15, 0x10
cmovae r8, r14
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x14002e0f4
movabs r9, 0x100000001b3
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, rdi
jb 0x14002e0e0
mov rcx, qword [r13 + 0x120]
and rcx, rdx
add rcx, rcx
mov rax, qword [r13 + 0x108]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r13 + 0xf8]
je 0x14002e15b
mov rsi, qword [rax + rcx*8]
nop word [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14002e132
mov rdx, qword [rdx]
lea rcx, [rsp + 0x58]
cmp r15, 0x10
cmovae rcx, r14
cmp rdi, rax
jne 0x14002e150
mov r8, rdi
call fcn.1400a1d10
test eax, eax
je 0x14002e15d
cmp rbx, rsi
je 0x14002e15b
mov rbx, qword [rbx + 8]
jmp 0x14002e120
xor ebx, ebx
mov rax, qword [r13 + 0xf8]
test rbx, rbx
cmovne rax, rbx
lea r8, [rsp + 0x58]
cmp rax, qword [r13 + 0xf8]
jne 0x14002e257
lea rcx, [r13 + 0xf0]
lea rdx, [rsp + 0x28]
call fcn.140034880
mov rcx, qword [rax]
add rcx, 0x30
mov rdx, r12
call fcn.140031060
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14002e1d7
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e1d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e251
call fcn.14009ecd8
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
mov rbx, qword [r12 + 8]
test rbx, rbx
je 0x14002e224
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14002e224
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14002e224
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + VariantCopy]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14009ea10
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.1400a5cd4
nop
lea rcx, [rsp + 0x78]
call fcn.140031ab0
nop
lea r8, [0x1400eb280]
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400317b0
mov rcx, rax
call fcn.14002d720
int3
Function at 0x1400319b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x20
mov r15, qword [r8 + 0x18]
mov rdi, r8
mov rbp, qword [r8 + 0x10]
mov r12, rdx
mov r10, rcx
cmp r15, 0x10
jb 0x1400319e0
mov r8, qword [r8]
xor esi, esi
movabs r9, 0xcbf29ce484222325
mov edx, esi
test rbp, rbp
je 0x140031a14
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r8]
inc rdx
xor r9, rax
imul r9, rcx
cmp rdx, rbp
jb 0x140031a00
mov rcx, qword [r10 + 0x30]
mov rax, qword [r10 + 0x18]
and rcx, r9
mov r13, qword [r10 + 8]
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, r13
je 0x140031a82
mov qword [rsp + 0x50], r14
mov r14, qword [rax + rcx*8]
nop dword [rax]
cmp qword [rbx + 0x28], 0x10
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
jb 0x140031a52
mov rdx, qword [rdx]
mov rcx, rdi
cmp r15, 0x10
jb 0x140031a5e
mov rcx, qword [rdi]
cmp rbp, rax
jne 0x140031a6f
mov r8, rbp
call fcn.1400a1d10
test eax, eax
je 0x140031a7a
cmp rbx, r14
je 0x140031a7d
mov rbx, qword [rbx + 8]
jmp 0x140031a40
mov rsi, rbx
mov r14, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
test rsi, rsi
mov rbp, qword [rsp + 0x60]
mov rax, r12
cmove rsi, r13
mov qword [r12], rsi
add rsp, 0x20
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140039240
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
ja 0x1400393bb
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.1400316a0
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 0x140039384
mov qword [rsp + 0x58], rbp
movabs rdi, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
movzx r9d, byte [rax + 0x10]
mov rcx, qword [rcx]
mov r11d, r9d
xor r11, rdi
imul r11, rbp
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rbx
jne 0x140039300
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140039373
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x140039339
mov r10, qword [rdx]
cmp r10, rax
je 0x140039333
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 0x140039373
cmp r8, rdx
je 0x14003934f
nop
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x140039395
cmp r8, rdx
jne 0x140039340
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 0x1400392d1
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 0x140039373
lea rcx, str.invalid_hash_bucket_count
call fcn.14009b604
int3
Function at 0x14003aed0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x140111200]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rcx + 0x10]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14003b0ab
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0x30], rbx
mov rcx, rbx
call fcn.14009d324
test eax, eax
jne 0x14003b0d8
xor r14d, r14d
mov qword [rsi + 0x28], r14
mov qword [rsi + 0x30], r14
mov qword [rsp + 0x60], r14
lea r15, vtable.fmt::v7::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], 0xfa
mov rcx, qword [rdi + 0x28]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
mov rdx, rsi
call qword [rax + VariantCopy]
cmp byte [rdi + 0x20], r14b
je 0x14003b03f
mov rax, qword [rsi + 0x28]
cmp qword [rsi + 0x30], rax
jbe 0x14003b03f
test rax, rax
je 0x14003af9d
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movsxd rax, dword [rsi + 0x10]
movzx ebp, word [rdi + rax*2 + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x14003afbe
lea ebp, [rax + 7]
jmp 0x14003afd9
mov edx, dword [rsp + 0x40]
and edx, 0xfff0
or edx, ebp
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
movzx ebp, word [rsp + 0x40]
mov rcx, qword [rsi + 0x30]
mov r8, qword [rsi + 0x28]
cmp rcx, r8
jbe 0x14003b006
sub ecx, r8d
mov rdx, qword [rsp + 0x58]
add rdx, r8
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, ecx
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movzx edx, bp
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rdx, qword [rsi + 0x30]
mov rcx, qword [rsp + 0x60]
cmp rcx, rdx
jbe 0x14003b063
sub ecx, edx
add rdx, qword [rsp + 0x58]
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, ecx
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
jmp 0x14003b063
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x14003b0a3
mov rdx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b09d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003b0d2
call fcn.14009ecd8
nop
mov rcx, rbx
call fcn.14009d348
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14009ea10
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1400a5cd4
nop
mov ecx, eax
call fcn.14009c3b0
int3
Function at 0x14003c330
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x180
mov rax, qword [0x140111200]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor eax, eax
mov qword [rsp + 0x60], rax
lea rbx, vtable.fmt::v7::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0x50], rbx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], 0xfa
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
call qword [rax + VariantCopy]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x28]
call fcn.140005380
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14003c3f6
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003c3f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003c454
call fcn.14009ecd8
nop
mov qword [rsp + 0x50], rbx
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x14003c435
mov rdx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003c430
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003c44e
call fcn.14009ecd8
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14009ea10
add rsp, 0x180
pop rbx
ret
call fcn.1400a5cd4
nop
call fcn.1400a5cd4
nop
int3