joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002456c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140017b7c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400245f6
cmp byte [rbp - 0x21], r15b
je 0x1400245f1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14002462c
call fcn.1400186c0
test eax, eax
jne 0x140024618
cmp byte [rbp - 0x21], r15b
je 0x140024610
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14002462c
cmp byte [rbp - 0x21], r15b
je 0x140024629
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14001db2c
test eax, eax
jne 0x1400246cc
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140017b7c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14002466b
cmp byte [rbp - 0x21], r15b
je 0x1400246a0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400246a0
call fcn.1400186c0
test eax, eax
jne 0x14002468c
cmp byte [rbp - 0x21], r15b
je 0x140024685
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400246a0
cmp byte [rbp - 0x21], r15b
je 0x14002469d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14001db2c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400246cc
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400246cf
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400246dd
mov rcx, rdi
call fcn.140018420
cmp byte [rbp + 0x3f], r15b
je 0x1400246ec
mov rcx, qword [rbp + 0x27]
call fcn.140018420
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14002534c
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001ceac
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001ceac
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140025499
cmp rax, 0xffffffffffffffff
je 0x140025499
xor edi, edi
test rbp, rbp
jle 0x140025447
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400183a0
mov rbx, rax
test rax, rax
jne 0x1400253d4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002543d
mov edx, 0x8000
mov ecx, r14d
call fcn.140017ea8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001c6bc
cmp eax, 0xffffffff
je 0x14002541d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400253e4
mov edx, r15d
mov ecx, r14d
call fcn.140017ea8
jmp 0x14002543d
cmp byte [rsi + 0x38], dil
je 0x140025434
cmp dword [rsi + 0x34], 5
jne 0x140025434
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002543d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140018420
jmp 0x1400254ab
jns 0x1400254ab
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001ceac
cmp rax, 0xffffffffffffffff
jne 0x140025465
cmp byte [rsi + 0x30], dil
je 0x1400254ab
jmp 0x1400254a1
mov ecx, r14d
call fcn.1400203f4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400254ab
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400254ab
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400254a6
mov edi, dword [rsi + 0x2c]
jmp 0x1400254ab
mov edi, 0x16
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001ceac
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140026650
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140026678
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140026678
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140003ea0
Capabilities:
Check for debugger via api
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1401d60c0]
xor rax, rsp
mov qword [rsp + 0x150], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x140003fde
xor edi, edi
nop
call fcn.140007fb0
test al, al
jne 0x140003fde
xor r9d, r9d
lea r8, [rsp + 0x50]
mov edx, reloc.WLDAP32.dll_Ordinal_32
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlCaptureStackBackTrace]
movzx ecx, di
cmp di, ax
jae 0x140003f1a
nop word [rax + rax]
movzx edx, cx
cmp qword [rsp + rdx*8 + 0x50], 0x7fff0000
jb 0x140003fde
inc cx
cmp cx, ax
jb 0x140003f00
mov dword [rsp + 0x40], edi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rsp + 0x40], 1
je 0x140003fde
mov dword [rsp + 0x40], edi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
mov qword [rsp + 0x30], rdi
lea rcx, [0x1401b7c40]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x140003fde
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword gs:[0x60]
test byte [rax + 0x68], 0x70
jne 0x140003fde
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rbx, rax
call fcn.140003cd0
mov rdx, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
sub rcx, rdx
sar rcx, 3
test rcx, rcx
je 0x140004005
mov ecx, 0x1f4
mov qword [rdx], rbx
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140003ed0
lea rdx, str.Debugger_detected__Exiting.
lea rcx, [0x1401d9600]
call fcn.1400071a0
mov rcx, rax
call fcn.140005c30
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.140006480
int3
Function at 0x1400047d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov r14, r8
mov r15, rdx
mov rbx, rcx
je 0x140004871
mov rdi, r8
test r8, r8
jle 0x140004869
lea rsi, [rcx + 0x58]
mov rax, qword [rbx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x140004843
mov rax, qword [rsi]
movsxd rdx, dword [rax]
test edx, edx
jle 0x140004843
cmp rdi, rdx
mov rbp, rdi
cmovge rbp, rdx
mov rdx, r15
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x40]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140004861
mov rax, qword [rbx]
mov rcx, rbx
movzx edx, byte [r15]
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x140004869
dec rdi
lea rsi, [rbx + 0x58]
mov ebp, 1
add r15, rbp
test rdi, rdi
jg 0x140004804
sub r14, rdi
mov rax, r14
jmp 0x1400048e9
mov rax, qword [rcx + 0x40]
mov rsi, r14
mov r9, qword [rax]
test r9, r9
je 0x140004888
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000488a
xor ecx, ecx
movsxd rdi, ecx
test r14, r14
jle 0x1400048e3
test ecx, ecx
jle 0x1400048c3
cmp r14, rdi
mov rcx, r9
cmovl rdi, r14
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbx + 0x58]
add r15, rdi
sub r14, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x40]
movsxd rax, edi
add qword [rcx], rax
test r14, r14
jle 0x1400048e3
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x1400048e3
mov r8, r14
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub r14, rax
sub rsi, r14
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140004910
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x140004934
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x1400049c2
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140004990
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x140004990
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400049ad
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + gethostname]
cmp eax, 0xffffffff
je 0x1400049b5
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x140004951
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x140004aa2
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x1400049d9
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400049db
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140004a0d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140004a9f
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140004a48
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x140004a7f
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x140004a9f
cmp rsi, rax
ja 0x140004a51
test rsi, rsi
je 0x140004a9f
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
Function at 0x140004ed0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1401d60c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140004efd
xor eax, eax
jmp 0x140005069
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140004f37
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140004f37
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140005069
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000505c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140004f7a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140004fa5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140005061
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + gethostname]
test eax, eax
je 0x140005014
sub eax, 1
je 0x140005014
cmp eax, 2
jne 0x14000505c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140005061
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140005042
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000505c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140005061
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400f4b80
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140006100
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1401d60c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400061d3
cmp byte [rcx + 0x71], 0
je 0x1400061d3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x1400061cf
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
je 0x140006194
sub eax, 1
je 0x140006198
cmp eax, 2
jne 0x1400061cf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400f4b80
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400061c6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400061cf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000617c
xor al, al
jmp 0x14000617c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400f4b80
add rsp, 0x60
pop rbx
ret
Function at 0x140010850
Capabilities:
Hash data using fnv
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
movaps xmm6, xmm3
movzx r14d, r8b
mov r8d, 0xffffffff
mov ebx, r8d
lea rdx, [0x1401b83c9]
mov r9b, 0x65
lea r10, [0x1401ae5c0]
cmp r9b, 0x23
jne 0x1400108a4
cmp byte [rdx], r9b
jne 0x1400108a4
cmp byte [rdx + 1], r9b
cmove ebx, r8d
movzx ecx, bl
movzx eax, r9b
xor rcx, rax
shr ebx, 8
xor ebx, dword [r10 + rcx*4]
movzx r9d, byte [rdx]
inc rdx
test r9b, r9b
jne 0x140010891
not ebx
mov dword [rsp + 0x80], ebx
mov edi, ebx
shr edi, 0x18
mov esi, ebx
shr esi, 0x10
mov ebp, ebx
shr ebp, 8
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401da9a4], eax
jle 0x140010947
lea rcx, [0x1401da9a4]
call fcn.1400f4ec4
cmp dword [0x1401da9a4], 0xffffffff
jne 0x140010947
xorps xmm0, xmm0
movups xmmword [0x1401da9b0], xmm0
movups xmmword [0x1401da9c0], xmm0
movups xmmword [0x1401da9d0], xmm0
movups xmmword [0x1401da9e0], xmm0
call fcn.1400116c0
lea rcx, [0x1400fde30]
call fcn.1400f4dd0
nop
lea rcx, [0x1401da9a4]
call fcn.1400f4e58
movzx edx, bl
movabs r12, 0xcbf29ce484222325
xor rdx, r12
movabs r15, 0x100000001b3
imul rdx, r15
movzx eax, bpl
xor rdx, rax
imul rdx, r15
movzx eax, sil
xor rdx, rax
imul rdx, r15
mov eax, edi
xor rdx, rax
imul rdx, r15
and rdx, qword [0x1401da9e0]
add rdx, rdx
mov rax, qword [0x1401da9c8]
mov rcx, qword [rax + rdx*8 + 8]
xor edi, edi
mov r8, qword [0x1401da9b8]
cmp rcx, r8
je 0x1400109c1
mov rax, qword [rax + rdx*8]
cmp ebx, dword [rcx + 0x10]
je 0x1400109c4
cmp rcx, rax
je 0x1400109c1
mov rcx, qword [rcx + 8]
cmp ebx, dword [rcx + 0x10]
jne 0x1400109b1
jmp 0x1400109c4
mov rcx, rdi
mov rax, r8
test rcx, rcx
cmovne rax, rcx
cmp rax, r8
jne 0x140010a6a
mov dword [rsp + 0x70], ebx
movss dword [rsp + 0x74], xmm6
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x20]
call fcn.1400117d0
movzx edx, bl
xor rdx, r12
imul rdx, r15
movzx eax, byte [rsp + 0x81]
xor rdx, rax
imul rdx, r15
movzx eax, byte [rsp + 0x82]
xor rdx, rax
imul rdx, r15
movzx eax, byte [rsp + 0x83]
xor rdx, rax
imul rdx, r15
and rdx, qword [0x1401da9e0]
add rdx, rdx
mov r8, qword [0x1401da9c8]
mov rcx, qword [r8 + rdx*8 + 8]
mov rax, qword [0x1401da9b8]
cmp rcx, rax
je 0x140010a63
mov r8, qword [r8 + rdx*8]
cmp ebx, dword [rcx + 0x10]
je 0x140010a60
cmp rcx, r8
je 0x140010a63
mov rcx, qword [rcx + 8]
cmp ebx, dword [rcx + 0x10]
jne 0x140010a52
mov rdi, rcx
test rdi, rdi
cmovne rax, rdi
movss xmm1, dword [0x1401bbebc]
mov rcx, qword [0x1401da268]
subss xmm1, dword [rcx + 0x18]
mulss xmm1, dword [rsp + 0x98]
test r14b, r14b
je 0x140010a95
movss xmm6, dword [rsp + 0x90]
subss xmm6, dword [rax + 0x14]
mulss xmm6, xmm1
addss xmm6, dword [rax + 0x14]
movss dword [rax + 0x14], xmm6
movaps xmm0, xmm6
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x88]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140011ad0
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
ja 0x140011c7e
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1401da9b8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1401da9c8]
lea rdx, [rdi + rdi]
call fcn.14000e3b0
mov rax, qword [0x1401da9b8]
lea r9, [rdi - 1]
mov qword [0x1401da9e0], r9
mov qword [0x1401da9e8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140011c73
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
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
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1401da9c8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140011bbf
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140011c34
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x140011bfc
mov r10, qword [rdx]
cmp r10, rax
je 0x140011bf6
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 0x140011c34
cmp r9, rdx
je 0x140011c10
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140011c48
cmp r9, rdx
jne 0x140011c01
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 0x140011c6e
mov r9, qword [0x1401da9e0]
jmp 0x140011b70
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 0x140011c34
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1400f6318
int3
Function at 0x140012010
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1401d60c0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, r8
mov rsi, rdx
mov qword [rsp + 0x38], r8
mov r8, qword [r8 + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14001204a
mov rdx, qword [rdi]
movabs rbx, 0xcbf29ce484222325
xor ecx, ecx
test r8, r8
je 0x140012083
movabs r9, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor rbx, rax
imul rbx, r9
inc rcx
cmp rcx, r8
jb 0x140012070
mov rdx, qword [0x1401da678]
mov rcx, qword [rdx + 8]
mov rax, rdx
cmp byte [rcx + 0x19], 0
jne 0x1400120ae
cmp dword [rcx + 0x1c], ebx
jae 0x1400120a2
mov rcx, qword [rcx + 0x10]
jmp 0x1400120a8
mov rax, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x140012097
cmp byte [rax + 0x19], 0
jne 0x1400120b9
cmp ebx, dword [rax + 0x1c]
jae 0x1400120bc
mov rax, rdx
cmp rax, rdx
jne 0x140012115
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x24], 0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
call fcn.1400121b0
mov rdx, qword [0x1401da678]
mov rax, rdx
mov rcx, qword [rdx + 8]
cmp byte [rcx + 0x19], 0
jne 0x140012107
cmp dword [rcx + 0x1c], ebx
jae 0x1400120fb
mov rcx, qword [rcx + 0x10]
jmp 0x140012101
mov rax, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x1400120f0
cmp byte [rax + 0x19], 0
jne 0x140012112
cmp ebx, dword [rax + 0x1c]
jae 0x140012115
mov rax, rdx
mov edx, dword [rax + 0x20]
mov dword [rsi], edx
mov dword [rsi + 4], ebx
mov rcx, rdi
call fcn.1400064a0
mov rax, rsi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400f4b80
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x1400188e0
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 0x140018abb
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.14000e3b0
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 0x140018a84
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [rax + rax]
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
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
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 0x1400189fc
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140018a73
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x140018a39
mov r10, qword [rdx]
cmp r10, rax
je 0x140018a33
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 0x140018a73
cmp r9, rdx
je 0x140018a4f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x140018a95
cmp r9, rdx
jne 0x140018a40
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 0x140018980
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 0x140018a73
lea rcx, str.invalid_hash_bucket_count
call fcn.1400f6318
int3