joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800038f4
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x180132040]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rdi, rdx
mov rbp, rcx
mov rcx, r8
mov rax, 0xfffffffffffff000
and rcx, rax
mov rsi, r8
mov qword [rdx], rcx
mov rdx, r8
sub rdx, rcx
lea r9, [rdi + 0x10]
add rdx, 0x1004
mov r8d, 0x40
and rdx, rax
mov qword [rdi + 8], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x18000397e
mov r9, qword [rdi + 8]
lea rdx, str.__unprotect_memory__p__size_llu______p__size_llu__n
mov r8, qword [rdi]
mov rcx, rbp
mov qword [rsp + 0x28], 5
mov qword [rsp + 0x20], rsi
call fcn.180002f50
xor eax, eax
jmp 0x1800039cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, [rsp + 0x40]
call fcn.180003600
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, qword [rdi + 8]
lea rdx, str.Failed_to_unprotect_memory__p__size_llu______p__size_llu__error_lu__s__
mov r8, qword [rdi]
mov rcx, rbp
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], 5
mov qword [rsp + 0x20], rsi
call fcn.180002f78
mov eax, 9
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1800b3a80
mov rbx, qword [rsp + 0x108]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret

Function at 0x1800082e8
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x180008342
mov r11b, 0x23
lea rbx, [0x1800dc600]
movzx edi, byte [r10]
dec rdx
inc r10
cmp dil, r11b
jne 0x18000832c
cmp rdx, 2
jb 0x18000832c
cmp byte [r10], r11b
jne 0x18000832c
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rdi
shr r9d, 8
xor r9d, dword [rbx + rcx*4]
test rdx, rdx
jne 0x18000830a
jmp 0x180008383
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x180008383
mov r11b, 0x23
lea rbx, [0x1800dc600]
cmp dl, r11b
jne 0x180008367
cmp byte [r10], r11b
jne 0x180008367
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rbx + rcx*4]
test dl, dl
jne 0x180008355
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x1800084b8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
test r8, r8
je 0x1800084d8
and qword [r8], 0
lea rdx, [0x18010e768]
call fcn.180008394
mov rbx, rax
test rax, rax
je 0x1800085c9
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x1800085c0
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800085c0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1800085c0
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800085c0
mov rbp, rdi
cmp rdi, 0xffffffffffffffff
je 0x1800085c0
mov rax, qword [0x180136560]
test rax, rax
je 0x18000855d
inc dword [rax + 0x104]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x1800085c0
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rbp
je 0x1800085ad
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180136560]
test rax, rax
je 0x1800085a2
dec dword [rax + 0x104]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1800085c9
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x1800085bb
mov qword [rsi], rbp
mov rax, rdi
jmp 0x1800085cb
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18000abc8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x180132040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rax, qword [rcx + 0x100]
mov r8, rdx
mov qword [rsp + 0x20], rdx
mov r9, rcx
movsxd rdx, dword [rcx + 0xf8]
mov r10d, 8
mov ebx, dword [rax + rdx*4 - 4]
lea rdx, [rsp + 0x20]
not ebx
movzx eax, byte [rdx]
inc rdx
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x1800dc600]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x18000ac07
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x1230], ebx
jne 0x18000ac3e
lea edx, [r10 + 0xc]
mov ecx, ebx
call fcn.18001ad30
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800b3a80
add rsp, 0x30
pop rbx
ret
Function at 0x18000ac54
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x180132040]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsxd r8, dword [rcx + 0xf8]
mov r11d, 4
mov rax, qword [rcx + 0x100]
mov r9, rcx
mov dword [rsp + 0x20], edx
mov r10d, r11d
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x20]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x1800dc600]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x18000ac93
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x1230], ebx
jne 0x18000accd
movsxd r8, edx
mov ecx, ebx
mov edx, r11d
call fcn.18001ad30
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800b3a80
add rsp, 0x30
pop rbx
ret

Function at 0x180019a30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x2f70], 0
lea rbx, [rcx + 0x2f78]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180019ac9
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x180019a81
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18001bc68
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.180008bb8
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x2f70]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x180136558]
movsxd r8, eax
mov rax, qword [rdi + 0x2f80]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x180019ad1
mov rcx, rbx
call fcn.180008bb8
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18001a184
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x180136560]
mov rbx, rcx
and dword [rax + 0x2ed4], 0
test rcx, rcx
je 0x18001a1ed
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.18001a1f8
lea rdx, [0x18010e76c]
mov rcx, rbx
mov rdi, rax
call fcn.180008394
mov rbx, rax
test rax, rax
je 0x18001a1ed
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18002f0c8
Capabilities:
Create thread
Set console window title

Disassembly:
push rbx
sub rsp, 0x30
cmp edx, 1
jne 0x18002f14e
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call qword [sym.imp.KERNEL32.dll_AllocConsole]
lea rcx, str.cs2cheat_debug_console
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 1
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea r8, [0x18010f1e0]
mov rcx, rax
lea rdx, str.CONOUT_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
and qword [rsp + 0x28], 0
lea r8, [0x18002ed84]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18002f176
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18002f176
test edx, edx
jne 0x18002f176
test r8, r8
jne 0x18002f176
call fcn.18002ef1c
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x180036340
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 rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x180036370
call 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]
jmp 0x1800363e8
mov rax, qword [rcx + 0x40]
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x180036387
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x180036389
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1800363e2
test ecx, ecx
jle 0x1800363c2
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 0x1800363e2
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1800363e2
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
sub rsi, rbx
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 0x180036404
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x180036424
xor eax, eax
jmp 0x18003650d
cmp qword [rcx + 0x68], 0
je 0x180036436
call 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]
jmp 0x18003650d
mov rax, qword [rcx + 0x38]
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x18003644d
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18003644f
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180036481
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x180036507
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1800364b8
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
mov ebx, 0xfff
jmp 0x1800364e2
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]
add r14, rax
sub rdi, rax
cmp rax, rbx
jne 0x180036507
cmp rdi, rbx
ja 0x1800364bf
test rdi, rdi
je 0x180036507
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
sub rbp, rdi
mov rax, rbp
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800368e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x180132040]
xor rax, rsp
mov qword [rbp - 8], rax
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x180036919
xor eax, eax
jmp 0x180036a39
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x180036953
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
mov rcx, r8
add rcx, qword [rax]
cmp qword [rax], rcx
jae 0x180036953
lea ecx, [r8 - 1]
mov eax, esi
mov dword [rdx], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], sil
jmp 0x180036a39
cmp qword [rbx + 0x80], 0
je 0x180036a37
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18003698e
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 0x1800369af
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, edi
jmp 0x180036a34
lea rax, [rbp - 0x40]
mov byte [rbp - 0x30], sil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rbp - 8]
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x2f]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x30]
lea rax, [rbp - 0x38]
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 0x1800369fd
sub eax, 1
je 0x1800369fd
cmp eax, 2
jne 0x180036a37
movsx ecx, byte [rbp - 0x30]
jmp 0x18003699b
mov r14, qword [rbp - 0x40]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x180036a28
mov r9, qword [rbx + 0x80]
lea rcx, [rbp - 0x28]
mov r8, r14
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r14, rax
jne 0x180036a37
lea rax, [rbp - 0x30]
mov byte [rbx + 0x71], 1
cmp qword [rbp - 0x38], rax
cmovne edi, esi
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1800b3a80
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x180038294
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x180132040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180038303
cmp byte [rcx + 0x71], 0
je 0x180038303
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x180038358
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 0x18003831d
sub eax, 1
je 0x180038321
cmp eax, 2
jne 0x180038358
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800b3a80
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x18003834f
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 0x180038358
cmp byte [rbx + 0x71], 0
sete al
jmp 0x180038305
xor al, al
jmp 0x180038305

Function at 0x18004fcd8
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
cmp byte [rcx], 0
je 0x18004fcf6
movsx eax, byte [rcx]
xor eax, edx
imul edx, eax, 0x1000193
inc rcx
call fcn.18004fcd8
mov edx, eax
mov eax, edx
add rsp, 0x28
ret

Function at 0x18004fdb0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
mov qword [rsp + 8], rbx
xor eax, eax
mov rbx, rdx
mov dword [rcx], eax
or r8, 0xffffffffffffffff
mov qword [rcx + 8], rax
mov r10, rcx
inc r8
cmp byte [rdx + r8], al
jne 0x18004fdc7
mov edx, r8d
mov r9, rbx
xor edx, 0x31415926
cmp r8d, 4
jb 0x18004fe13
mov r11d, r8d
shr r11, 2
imul eax, dword [r9], 0x5bd1e995
add r8d, 0xfffffffc
imul edx, edx, 0x5bd1e995
add r9, 4
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
xor edx, ecx
sub r11, 1
jne 0x18004fde9
sub r8d, 1
je 0x18004fe39
sub r8d, 1
je 0x18004fe2f
cmp r8d, 1
jne 0x18004fe45
movzx eax, byte [r9 + 2]
shl eax, 0x10
xor edx, eax
movzx eax, byte [r9 + 1]
shl eax, 8
xor edx, eax
movzx eax, byte [r9]
xor eax, edx
imul edx, eax, 0x5bd1e995
mov eax, edx
mov qword [r10 + 8], rbx
mov rbx, qword [rsp + 8]
shr eax, 0xd
xor eax, edx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
mov dword [r10], eax
mov rax, r10
ret
Function at 0x1800533bc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov r14, rdx
xor ecx, ecx
movabs r15, 0xcbf29ce484222325
movzx eax, byte [r8 + rcx]
xor r15, rax
movabs rdx, 0x100000001b3
imul r15, rdx
inc rcx
cmp rcx, 4
jb 0x1800533e4
mov rax, qword [0x180136870]
and rax, r15
add rax, rax
mov rcx, qword [0x180136858]
mov rbx, qword [rcx + rax*8 + 8]
mov rbp, qword [0x180136848]
cmp rbx, rbp
jne 0x18005344f
mov rbx, rbp
mov rsi, rbp
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [0x180136850], rax
jne 0x18005348e
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rdx, qword [rcx + rax*8]
mov eax, dword [r8]
jmp 0x180053461
cmp rbx, rdx
je 0x180053484
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x180053458
mov rbp, qword [rbx]
mov rsi, rbp
mov rax, rbx
mov rbx, rbp
test rax, rax
je 0x18005342e
mov qword [r14], rax
mov byte [r14 + 8], 0
jmp 0x1800535ed
mov rbp, rbx
xor eax, eax
mov rsi, rbx
jmp 0x180053472
lea rax, [0x180136848]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x28], 0
mov ecx, 0x18
call fcn.1800b41f4
mov rdi, rax
mov qword [rsp + 0x28], rax
mov ecx, dword [r12]
mov dword [rax + 0x10], ecx
and dword [rax + 0x14], 0
mov r8, qword [0x180136850]
lea rcx, [r8 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x1800534d7
cvtsi2ss xmm0, rcx
jmp 0x1800534ec
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x180136878]
xorps xmm1, xmm1
test rcx, rcx
js 0x180053502
cvtsi2ss xmm1, rcx
jmp 0x180053517
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x180136840]
seta al
test al, al
je 0x180053584
call fcn.1800537c8
mov rcx, qword [0x180136870]
and rcx, r15
add rcx, rcx
mov rdx, qword [0x180136858]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [0x180136848]
cmp rax, rbx
je 0x180053570
mov r8, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
jmp 0x180053568
mov rbx, rax
cmp rax, r8
je 0x1800535c7
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x18005355c
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rsi, rbx
mov rbp, qword [rsp + 0x20]
mov r8, qword [0x180136850]
mov rdx, qword [rbx + 8]
inc r8
mov qword [0x180136850], r8
mov qword [rdi], rbp
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [0x180136858]
mov rax, qword [0x180136870]
and rax, r15
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [0x180136848]
jne 0x1800535ce
mov qword [rcx + rax*8], rdi
jmp 0x1800535e0
mov qword [rsp + 0x20], rax
jmp 0x180053575
cmp r8, rsi
jne 0x1800535d9
mov qword [rcx + rax*8], rdi
jmp 0x1800535e5
cmp qword [rcx + rax*8 + 8], rdx
jne 0x1800535e5
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1800537c8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rcx, qword [0x180136850]
xorps xmm0, xmm0
add rcx, 1
mov rbx, qword [0x180136878]
js 0x1800537f0
cvtsi2ss xmm0, rcx
jmp 0x180053805
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x180136840]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x180127450]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x180053837
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x180053837
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x180053865
cmp rbx, 0x200
jae 0x180053862
shl rbx, 3
cmp rbx, rcx
jae 0x180053865
mov rbx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rbx, rax
jbe 0x18005388e
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rbx - 1]
mov edi, 1
mov rbx, qword [0x180136848]
or rax, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x180136858]
lea rdx, [rdi + rdi]
call fcn.1800530b4
mov rax, qword [0x180136848]
lea r9, [rdi - 1]
mov qword [0x180136870], r9
mov qword [0x180136878], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1800539dc
mov rcx, qword [rcx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx edx, byte [rax + r8 + 0x10]
movabs r10, 0x100000001b3
xor r11, rdx
inc r8
imul r11, r10
cmp r8, 4
jb 0x1800538f6
mov rdi, qword [0x180136858]
and r11, r9
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x180053934
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x1800539a2
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x180053977
mov r10, qword [r10]
cmp r10, rax
je 0x18005392d
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 0x18005392d
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x1800539b6
cmp qword [rdi + r11*8], r10
jne 0x18005396d
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 [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
je 0x1800539dc
mov r9, qword [0x180136870]
jmp 0x1800538e6
mov r10, qword [r10]
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 0x1800539a2
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.1800539f8
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x180053ab4
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 rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rsi, r8
mov r13, rdx
mov r12, rcx
cmp rdx, r8
je 0x180053b75
mov rax, qword [rcx + 8]
mov rdi, rdx
mov rbp, qword [rcx + 0x18]
movabs r14, 0xcbf29ce484222325
mov r15, qword [rdx + 8]
xor ecx, ecx
mov qword [rsp + 0x20], rax
movabs rdx, 0x100000001b3
movzx eax, byte [rcx + r13 + 0x10]
inc rcx
xor r14, rax
imul r14, rdx
cmp rcx, 4
jb 0x180053b0c
and r14, qword [r12 + 0x30]
add r14, r14
mov rax, qword [rbp + r14*8]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + r14*8 + 8]
mov qword [rsp + 0x28], rax
mov rcx, rdi
mov rbx, rdi
mov rdi, qword [rdi]
mov edx, 0x18
call fcn.1800b3e0c
dec qword [r12 + 0x10]
cmp rbx, qword [rsp + 0x28]
je 0x180053b96
cmp rdi, rsi
jne 0x180053b3e
cmp qword [rsp + 0x30], r13
jne 0x180053b6e
mov qword [rbp + r14*8], rdi
mov qword [r15], rdi
mov qword [rdi + 8], r15
lea r11, [rsp + 0x40]
mov rax, rsi
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
cmp qword [rsp + 0x30], r13
jne 0x180053bac
mov r13, qword [rsp + 0x20]
mov qword [rbp + r14*8], r13
mov rax, r13
jmp 0x180053baf
mov rax, r15
mov qword [rbp + r14*8 + 8], rax
jmp 0x180053c2b
xor ecx, ecx
movabs r14, 0xcbf29ce484222325
movabs r13, 0x100000001b3
movzx eax, byte [rdi + rcx + 0x10]
inc rcx
xor r14, rax
imul r14, r13
cmp rcx, 4
jb 0x180053bcc
and r14, qword [r12 + 0x30]
mov r13, qword [rsp + 0x20]
add r14, r14
mov rax, qword [rbp + r14*8 + 8]
mov qword [rsp + 0x28], rax
mov rcx, rdi
mov rbx, rdi
mov rdi, qword [rdi]
mov edx, 0x18
call fcn.1800b3e0c
dec qword [r12 + 0x10]
cmp rbx, qword [rsp + 0x28]
je 0x180053c21
cmp rdi, rsi
jne 0x180053bf8
jmp 0x180053b69
mov qword [rbp + r14*8], r13
mov qword [rbp + r14*8 + 8], r13
cmp rdi, rsi
jne 0x180053bb6
jmp 0x180053b6e