joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001caa0
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov r8d, 1
bsr rcx, rax
shlx rax, r8, rcx
cmp rdx, rax
jbe 0x18001cad3
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x18013e588]
or rax, r8
bsr rcx, rax
mov qword [rsp + 0x20], rdi
inc ecx
shlx rdi, r8, rcx
mov r8, rbx
lea rcx, [0x18013e598]
lea rdx, [rdi + rdi]
call fcn.18000d340
mov rax, qword [0x18013e588]
lea r9, [rdi - 1]
mov qword [0x18013e5b0], r9
mov qword [0x18013e5b8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18001cc5c
mov qword [rsp + 0x38], 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 [0x18013e598]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18001cb9f
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18001cc18
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18001cbdc
mov r10, qword [rdx]
cmp r10, rax
je 0x18001cbd6
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 0x18001cc18
nop dword [rax]
cmp r9, rdx
je 0x18001cbf4
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x18001cc31
cmp r9, rdx
jne 0x18001cbe5
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 0x18001cc57
mov r9, qword [0x18013e5b0]
jmp 0x18001cb50
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 0x18001cc18
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x1800205c0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x1801091c0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor edi, edi
lea rdx, [rbp + 0x2f]
call fcn.1800203c0
nop
mov rcx, qword [0x180149830]
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
mov rdx, qword [rbp + 0x3f]
sub rax, rdx
cmp rax, rcx
jb 0x1800207af
lea r9, [rbp + 0x2f]
cmp qword [rbp + 0x47], 0xf
cmova r9, qword [rbp + 0x2f]
lea rax, [0x180149820]
cmp qword [0x180149838], 0xf
cmova rax, qword [0x180149820]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 0xf]
call fcn.18002d440
nop
mov rax, qword [rbp + 0x1f]
sub rbx, rax
cmp rbx, 7
jb 0x1800207a9
lea r9, [rbp + 0xf]
cmp qword [rbp + 0x27], 0xf
cmova r9, qword [rbp + 0xf]
mov qword [rsp + 0x30], 7
lea rcx, str.Players
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x11]
call fcn.18002d440
nop
lea rdx, [rbp - 0x11]
call fcn.1800204a0
test al, al
jne 0x180020766
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 0xf
cmova rdx, qword [rbp - 0x11]
mov r9, qword [rbp - 1]
add r9, rdx
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 0xf
cmova rdx, qword [rbp - 0x11]
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x31], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp - 0x21], xmm1
lea rcx, [rbp - 0x31]
cmp rdx, r9
jne 0x1800206f9
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], di
jmp 0x180020713
sub r9, rdx
call fcn.18002da00
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 7
cmova rcx, qword [rbp - 0x31]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wmkdir]
mov ebx, eax
mov rdx, qword [rbp - 0x19]
cmp rdx, 7
jbe 0x18002075f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002075a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002075a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180098974
test ebx, ebx
sete bl
jmp 0x180020768
xor bl, bl
lea rcx, [rbp - 0x11]
call fcn.18000b6c0
nop
lea rcx, [rbp + 0xf]
call fcn.18000b6c0
nop
lea rcx, [rbp + 0x2f]
call fcn.18000b6c0
movzx eax, bl
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1800984d0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.180007ce0
nop
call fcn.180007ce0
int3
Function at 0x1800222b0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x1800222d8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1800222fe
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x180022300
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180022359
test ecx, ecx
jle 0x180022339
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x180022359
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180022359
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
Function at 0x180022380
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1800223b1
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je 0x1800223cf
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword ds:[rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1800223ed
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1800223ef
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18002242b
mov qword [rsp + 0x38], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1800224c0
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x180022466
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x18002249e
nop
mov r9, qword [rsi + 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 rbx, rax
cmp rax, 0xfff
jne 0x1800224c0
cmp rbx, rax
ja 0x180022470
nop
test rbx, rbx
je 0x1800224c0
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180022920
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1801091c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18002294d
xor eax, eax
jmp 0x180022abf
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x180022987
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x180022987
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 0x180022abf
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x180022ab2
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1800229ca
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 0x1800229f7
mov rdx, qword ds:[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 0x180022ab7
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x180022a6a
nop dword [rax]
sub eax, 1
je 0x180022a6a
cmp eax, 2
jne 0x180022ab2
movsx ecx, byte [rsp + 0x40]
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 0x180022ab7
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x180022a98
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 0x180022ab2
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x180022ab7
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800984d0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x180024c60
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1801091c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180024d39
cmp byte [rcx + 0x71], 0
je 0x180024d39
mov rax, qword ds:[rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x180024d35
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x180024cfa
sub eax, 1
je 0x180024cfe
cmp eax, 2
jne 0x180024d35
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800984d0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180024d2c
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 0x180024d35
cmp byte [rbx + 0x71], 0
sete al
jmp 0x180024ce2
xor al, al
jmp 0x180024ce2
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800984d0
add rsp, 0x60
pop rbx
ret

Function at 0x180037c00
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x120
mov rax, qword [0x1801091c0]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x58]
call fcn.180037b20
nop
mov ecx, 0xb8
call fcn.1800984f0
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
lea rcx, [rax + 8]
lea rdx, [rsp + 0x58]
call fcn.180037b20
nop
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x18003b760]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180037d07
cmp dword [rsp + 0x38], 0
je 0x180037cf5
vmovups xmm0, xmmword [rsp + 0x30]
vmovdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x180037cf5
vpxor xmm0, xmm0, xmm0
vmovdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0xb8]
call fcn.18000b6c0
lea rcx, [rsp + 0x90]
call fcn.18000b6c0
lea rcx, [rsp + 0x58]
call fcn.18000b6c0
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1800984d0
add rsp, 0x120
pop rbx
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x180038a20
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push r14
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov r14, rcx
lea rax, vtable.TinaTech::Command.0
mov qword [rcx], rax
add rcx, 8
call fcn.18000b520
nop
lea rcx, [r14 + 0x28]
mov rdx, rbx
call fcn.18000b520
nop
lea rcx, [r14 + 0x48]
mov rdx, rdi
call fcn.18000b520
nop
movzx eax, word [rsp + 0x60]
mov word [r14 + 0x68], ax
movzx eax, byte [rsp + 0x68]
mov byte [r14 + 0x6a], al
mov r10, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x180038a94
mov r10, qword [rsi]
mov r11, qword ds:[rsi + 0x10]
xor eax, eax
add r11, r10
cmp r10, r11
je 0x180038ae5
nop word [rax + rax]
movzx r9d, byte ds:[r10]
lea r8d, [r9 - 0x41]
movzx ecx, r9b
or cl, 0x20
movzx edx, cl
cmp r8b, 0x19
cmova edx, r9d
movsx ecx, dl
add ecx, eax
imul eax, ecx, 0x401
mov ecx, eax
shr ecx, 6
xor eax, ecx
inc r10
cmp r10, r11
jne 0x180038ab0
lea ecx, [rax + rax*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
mov dword [rsp + 0x68], eax
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x20]
call fcn.18003a500
mov rcx, qword [rax]
mov qword [rcx + 0x18], r14
mov rax, r14
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x18003aa00
Capabilities:
Hash data using fnv

Disassembly:
mov rcx, qword [0x18013e4b0]
add rcx, 1
mov rdx, qword [0x18013e4d8]
vxorps xmm0, xmm0, xmm0
js 0x18003aa1f
vcvtsi2ss xmm0, xmm0, rcx
jmp 0x18003aa34
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
vcvtsi2ss xmm0, xmm0, rax
vaddss xmm0, xmm0, xmm0
vdivss xmm0, xmm0, dword [0x18013e4a0]
vxorps xmm1, xmm1, xmm1
vroundss xmm1, xmm1, xmm0, 2
vmovss xmm0, dword [0x1800ede0c]
xor ecx, ecx
vcomiss xmm1, xmm0
jb 0x18003aa6f
vsubss xmm1, xmm1, xmm0
vcomiss xmm1, xmm0
jae 0x18003aa6f
movabs rax, 0x8000000000000000
mov rcx, rax
vcvttss2si rax, xmm1
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x18003aaa1
cmp rdx, 0x200
jae 0x18003aa9e
lea rdx, [rdx*8]
cmp rdx, rcx
jae 0x18003aaa1
mov rdx, rcx
jmp 0x18003ab40
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov r8d, 1
bsr rcx, rax
shlx rax, r8, rcx
cmp rdx, rax
jbe 0x18003ab73
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x18013e4a8]
or rax, r8
bsr rcx, rax
mov qword [rsp + 0x20], rdi
inc ecx
shlx rdi, r8, rcx
mov r8, rbx
lea rcx, [0x18013e4b8]
lea rdx, [rdi + rdi]
call fcn.18000d340
mov rax, qword [0x18013e4a8]
lea r9, [rdi - 1]
mov qword [0x18013e4d0], r9
mov qword [0x18013e4d8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18003acfc
mov qword [rsp + 0x38], 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 [0x18013e4b8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18003ac3f
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18003acb8
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18003ac7c
mov r10, qword [rdx]
cmp r10, rax
je 0x18003ac76
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 0x18003acb8
nop dword [rax]
cmp r9, rdx
je 0x18003ac94
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x18003acd1
cmp r9, rdx
jne 0x18003ac85
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 0x18003acf7
mov r9, qword [0x18013e4d0]
jmp 0x18003abf0
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 0x18003acb8
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x18003ab40
Capabilities:
Hash data using fnv

Disassembly:
mov rcx, qword [0x18013e4b0]
add rcx, 1
mov rdx, qword [0x18013e4d8]
vxorps xmm0, xmm0, xmm0
js 0x18003aa1f
vcvtsi2ss xmm0, xmm0, rcx
jmp 0x18003aa34
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
vcvtsi2ss xmm0, xmm0, rax
vaddss xmm0, xmm0, xmm0
vdivss xmm0, xmm0, dword [0x18013e4a0]
vxorps xmm1, xmm1, xmm1
vroundss xmm1, xmm1, xmm0, 2
vmovss xmm0, dword [0x1800ede0c]
xor ecx, ecx
vcomiss xmm1, xmm0
jb 0x18003aa6f
vsubss xmm1, xmm1, xmm0
vcomiss xmm1, xmm0
jae 0x18003aa6f
movabs rax, 0x8000000000000000
mov rcx, rax
vcvttss2si rax, xmm1
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x18003aaa1
cmp rdx, 0x200
jae 0x18003aa9e
lea rdx, [rdx*8]
cmp rdx, rcx
jae 0x18003aaa1
mov rdx, rcx
jmp 0x18003ab40
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov r8d, 1
bsr rcx, rax
shlx rax, r8, rcx
cmp rdx, rax
jbe 0x18003ab73
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x18013e4a8]
or rax, r8
bsr rcx, rax
mov qword [rsp + 0x20], rdi
inc ecx
shlx rdi, r8, rcx
mov r8, rbx
lea rcx, [0x18013e4b8]
lea rdx, [rdi + rdi]
call fcn.18000d340
mov rax, qword [0x18013e4a8]
lea r9, [rdi - 1]
mov qword [0x18013e4d0], r9
mov qword [0x18013e4d8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18003acfc
mov qword [rsp + 0x38], 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 [0x18013e4b8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18003ac3f
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18003acb8
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18003ac7c
mov r10, qword [rdx]
cmp r10, rax
je 0x18003ac76
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 0x18003acb8
nop dword [rax]
cmp r9, rdx
je 0x18003ac94
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x18003acd1
cmp r9, rdx
jne 0x18003ac85
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 0x18003acf7
mov r9, qword [0x18013e4d0]
jmp 0x18003abf0
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 0x18003acb8
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x18003f800
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 r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1801091c0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r14, rcx
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x30], xmm0
xor edi, edi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rcx + r8 + 0x1005], dil
jne 0x18003f850
lea rdx, [rcx + 0x1005]
lea rcx, [rsp + 0x30]
call fcn.18000b3e0
lea rcx, [rsp + 0x30]
mov rbp, qword [rsp + 0x30]
mov r13, qword [rsp + 0x48]
cmp r13, 0xf
cmova rcx, rbp
movabs r9, 0xcbf29ce484222325
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x18003f8c5
movabs r8, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte ds:[rcx + rdi]
xor r9, rax
imul r9, r8
inc rdi
cmp rdi, rdx
jb 0x18003f8b0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
call fcn.18004f0e0
mov rcx, qword [rax + 8]
mov r15, qword [0x18013e4e8]
mov rdi, r15
test rcx, rcx
cmovne rdi, rcx
cmp r13, 0xf
jbe 0x18003f925
lea rdx, [r13 + 1]
mov rax, rbp
cmp rdx, 0x1000
jb 0x18003f918
add rdx, 0x27
mov rbp, qword [rbp - 8]
sub rax, rbp
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003f9af
mov rcx, rbp
call fcn.180098974
cmp rdi, r15
jne 0x18003f9e7
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x30], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rsp + 0x40], xmm1
inc rbx
cmp byte [r14 + rbx + 0x1005], 0
jne 0x18003f942
mov r8, rbx
lea rdx, [r14 + 0x1005]
lea rcx, [rsp + 0x30]
call fcn.18000b3e0
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
call fcn.18004dee0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x18003f9bb
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003f9b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003f9b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180098974
mov rdx, qword [0x18013e528]
mov r8, r14
cmp rdx, qword [0x18013e530]
je 0x18003f9e2
call fcn.180051ea0
add qword [0x18013e528], 0x3058
nop
jmp 0x18003f9e7
call fcn.18004f8c0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800984d0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret