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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x1800e0010]
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 0x1800037e2
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.180002db4
xor eax, eax
jmp 0x18000382f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, [rsp + 0x40]
call fcn.180003464
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.180002ddc
mov eax, 9
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.18009bc10
mov rbx, qword [rsp + 0x108]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret

Function at 0x1800081fc
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 0x180008256
mov r11b, 0x23
lea rdi, [0x1800a5130]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x180008240
cmp rdx, 2
jb 0x180008240
cmp byte [r10], r11b
jne 0x180008240
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x18000821e
jmp 0x180008297
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x180008297
mov r11b, 0x23
lea rdi, [0x1800a5130]
cmp dl, r11b
jne 0x18000827b
cmp byte [r10], r11b
jne 0x18000827b
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 [rdi + rcx*4]
test dl, dl
jne 0x180008269
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x1800083cc
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 0x1800083ec
and qword [r8], 0
lea rdx, [0x1800c5928]
call fcn.1800082a8
mov rbx, rax
test rax, rax
je 0x1800084dd
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x1800084d4
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 0x1800084d4
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1800084d4
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 0x1800084d4
mov rbp, rdi
cmp rdi, 0xffffffffffffffff
je 0x1800084d4
mov rax, qword [0x1800e3b80]
test rax, rax
je 0x180008471
inc dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x1800084d4
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 0x1800084c1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1800e3b80]
test rax, rax
je 0x1800084b6
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1800084dd
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x1800084cf
mov qword [rsi], rbp
mov rax, rdi
jmp 0x1800084df
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 0x18000b0d8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1800e0010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rax, qword [rcx + 0xf8]
mov r8, rdx
mov qword [rsp + 0x20], rdx
mov r9, rcx
movsxd rdx, dword [rcx + 0xf0]
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, [0x1800a5130]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x18000b117
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x1210], ebx
jne 0x18000b14e
lea edx, [r10 + 0xc]
mov ecx, ebx
call fcn.18001b67c
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18009bc10
add rsp, 0x30
pop rbx
ret
Function at 0x18000b164
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1800e0010]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsxd r8, dword [rcx + 0xf0]
mov r11d, 4
mov rax, qword [rcx + 0xf8]
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, [0x1800a5130]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x18000b1a3
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x1210], ebx
jne 0x18000b1dd
movsxd r8, edx
mov ecx, ebx
mov edx, r11d
call fcn.18001b67c
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18009bc10
add rsp, 0x30
pop rbx
ret

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

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1800e0010]
xor rax, rsp
mov qword [rsp + 0x10], rax
movss xmm2, dword [rcx + 0x110]
lea r9, [rsp]
movss xmm3, dword [rcx + 0x114]
mov r10d, 0x10
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
mov rax, qword [rcx + 0xf8]
subss xmm1, xmm3
movsxd rcx, dword [rcx + 0xf0]
movss dword [rsp], xmm0
movss xmm0, dword [rdx + 8]
mov r8d, dword [rax + rcx*4 - 4]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
not r8d
movss xmm1, dword [rdx + 0xc]
subss xmm1, xmm3
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
movzx ecx, byte [r9]
lea rax, [0x1800a5130]
movzx edx, r8b
inc r9
xor rdx, rcx
shr r8d, 8
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x18000b271
not r8d
mov eax, r8d
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.18009bc10
add rsp, 0x28
ret
Function at 0x18001a374
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 + 0x2f40], 0
lea rbx, [rcx + 0x2f48]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18001a40d
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x18001a3c5
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.18001c5a4
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.180008d68
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x2f40]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x1800e3b78]
movsxd r8, eax
mov rax, qword [rdi + 0x2f50]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x18001a415
mov rcx, rbx
call fcn.180008d68
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18001aad0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1800e3b80]
mov rbx, rcx
and dword [rax + 0x2ea4], 0
test rcx, rcx
je 0x18001ab39
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.18001ab44
lea rdx, [0x1800c592c]
mov rcx, rbx
mov rdi, rax
call fcn.1800082a8
mov rbx, rax
test rax, rax
je 0x18001ab39
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 0x180036c18
Capabilities:
Set console window title

Disassembly:
push rbx
sub rsp, 0x30
cmp edx, 1
jne 0x180036c9e
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
test edx, edx
jne 0x180036cc6
test r8, r8
jne 0x180036cc6
call fcn.180036a08
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]

Function at 0x180037314
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x1800e0010]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor ebx, ebx
mov rdi, rcx
test rcx, rcx
jne 0x180037345
lea rcx, str.Tried_getting_virtual_function_from_a_null_class._n
call fcn.180006624
jmp 0x180037362
mov rax, qword [rcx]
test rax, rax
jne 0x180037356
lea rcx, str.Tried_getting_virtual_function_from_a_null_vtable._n
jmp 0x18003733e
mov rdx, qword [rax + 0x480]
test rdx, rdx
jne 0x180037384
lea rcx, str.Tried_calling_a_null_virtual_function._n
call fcn.180006624
mov rcx, rdi
call fcn.18003f74c
test al, al
je 0x180037394
mov eax, 2
jmp 0x180037424
call rdx
test al, al
je 0x18003736e
mov eax, 1
jmp 0x180037424
mov qword [rsp + 0x20], rbx
test rdi, rdi
jne 0x1800373ac
lea rcx, str.Tried_getting_virtual_function_from_a_null_class._n
call fcn.180006624
jmp 0x1800373c9
mov rax, qword [rdi]
test rax, rax
jne 0x1800373bd
lea rcx, str.Tried_getting_virtual_function_from_a_null_vtable._n
jmp 0x1800373a5
mov r8, qword [rax + 0x110]
test r8, r8
jne 0x1800373d7
lea rcx, str.Tried_calling_a_null_virtual_function._n
call fcn.180006624
jmp 0x1800373e2
lea rdx, [rsp + 0x20]
mov rcx, rdi
call r8
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x180037422
mov rax, qword [rax + 8]
test rax, rax
je 0x180037422
cmp byte [rax], bl
je 0x180037422
movsx ecx, byte [rax]
xor ecx, 0x811c9dc5
imul edx, ecx, 0x1000193
lea rcx, [rax + 1]
call fcn.18003bd1c
cmp eax, 0x94f0c692
mov ecx, 3
cmove ebx, ecx
mov eax, ebx
jmp 0x180037424
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18009bc10
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x18003bd1c
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
cmp byte [rcx], 0
je 0x18003bd3a
movsx eax, byte [rcx]
xor eax, edx
imul edx, eax, 0x1000193
inc rcx
call fcn.18003bd1c
mov edx, eax
mov eax, edx
add rsp, 0x28
ret
Function at 0x18003e0b8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x1800e0010]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rax, qword [rcx]
lea r9, [rbp - 0x29]
and qword [rbp - 0x29], 0
lea r8, [0x1800d6e18]
xor edx, edx
mov rbx, rcx
call qword [rax + 0x48]
cmp qword [rbp - 0x29], 0
je 0x18003d542
mov rax, qword [rbx]
lea rdx, [rbp - 9]
mov rcx, rbx
call qword [rax + 0x60]
and qword [rbp - 0x19], 0
lea rbx, [0x1800e3ca0]
and dword [rbp - 0x11], 0
lea r8, [rbp - 0x21]
cmp dword [rbp + 7], 0x1d
mov eax, 0x1c
mov rcx, qword [0x1800e3ce0]
mov r9, rbx
cmovne eax, dword [rbp + 7]
mov rdx, qword [rbp - 0x29]
mov dword [rbp - 0x21], eax
mov dword [rbp - 0x1d], 6
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jns 0x18003d538
lea rcx, str.CreateRenderTarget__:_Falling_back_to_D3D11_RTV_DIMENSION_TEXTURE2D._n
call fcn.180006624
mov rcx, qword [0x1800e3ce0]
lea r8, [rbp - 0x21]
mov rdx, qword [rbp - 0x29]
mov r9, rbx
mov dword [rbp - 0x1d], 4
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jns 0x18003d538
mov rcx, qword [0x1800e3ce0]
mov r9, rbx
mov rdx, qword [rbp - 0x29]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jns 0x18003d538
lea rcx, str.Severe_error_in_CreateRenderTarget__._n
call fcn.180006624
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.18009bc10
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rbp
ret
push rbx
sub rsp, 0x30
mov rax, qword [0x1800e3b80]
mov rbx, rcx
test rax, rax
je 0x18003e1fa
cmp byte [0x1800e3f08], 0
jne 0x18003e1fa
cmp qword [rax + 0xa0], 0
jne 0x18003e128
mov rax, qword [rcx]
lea r8, [0x1800e3ce0]
lea rdx, [0x1800d6e08]
call qword [rax + 0x38]
test eax, eax
js 0x18003e121
mov rcx, qword [0x1800e3ce0]
lea rdx, [0x1800e3cf0]
mov rax, qword [rcx]
call qword [rax + 0x140]
call fcn.180026e00
call fcn.18003d03c
mov rax, qword [0x1800e3b80]
cmp qword [0x1800e3ca0], 0
jne 0x18003e13f
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp 0x18003d44c
test rax, rax
je 0x18003e14d
mov rcx, qword [rax + 0xa0]
jmp 0x18003e14f
xor ecx, ecx
cmp qword [rcx + 0x48], 0
jne 0x18003e15b
call fcn.180026930
call fcn.180027634
call fcn.18000bef8
xor r8d, r8d
xor edx, edx
mov ecx, 0x208
call fcn.180013da8
test al, al
je 0x18003e1a9
and qword [rsp + 0x28], 0
lea r9, [0x180000000]
and dword [rsp + 0x20], 0
lea r8, [0x180036750]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18003e1a9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.180037088
call fcn.1800390e0
call fcn.18000ddb8
mov rcx, qword [0x1800e3cf0]
lea r8, [0x1800e3ca0]
xor r9d, r9d
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rax, qword [0x1800e3b80]
mov rcx, qword [rax + 0x1ba0]
mov rdx, qword [rcx]
add rdx, 0x48
mov al, byte [rdx]
neg al
sbb rcx, rcx
and rcx, rdx
call fcn.180025d40
add rsp, 0x30
pop rbx
ret
Function at 0x18003f650
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
mov r9, rcx
xor r8d, r8d
mov rcx, qword [rcx + 0x80]
mov r10b, dl
cmp byte [rcx], r8b
je 0x18003f6a6
movsx eax, byte [rcx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
inc rcx
call fcn.18003bd1c
cmp eax, 0xf102793d
jne 0x18003f6a6
test r10b, r10b
je 0x18003f69b
mov eax, 0x1f4
cmp word [r9 + 0x10], ax
setae r8b
jmp 0x18003f6a1
mov r8d, 1
mov al, r8b
jmp 0x18003f6a8
xor al, al
add rsp, 0x28
ret

Function at 0x18003f6b0
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
mov r8, rcx
mov r9b, dl
mov rcx, qword [rcx + 0x80]
cmp byte [rcx], 0
je 0x18003f706
movsx eax, byte [rcx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
inc rcx
call fcn.18003bd1c
cmp eax, 0x1c826fb7
jne 0x18003f706
movzx ecx, word [r8 + 0x10]
mov eax, 0x13a4
sub cx, ax
mov eax, 1
cmp cx, ax
seta cl
test r9b, r9b
movzx edx, cl
cmovne eax, edx
jmp 0x18003f708
xor al, al
add rsp, 0x28
ret
Function at 0x18004080c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x30
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
jbe 0x180040845
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rbx, qword [rsi + 8]
lea rax, [rdx - 1]
or rax, 1
mov edi, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1800406d8
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 0x180040957
mov rcx, qword [rcx]
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx edx, byte [r9 + rax + 0x10]
movabs r10, 0x100000001b3
xor r8, rdx
inc r9
imul r8, r10
cmp r9, 4
jb 0x18004089e
mov r11, qword [rsi + 0x30]
mov rdi, qword [rsi + 0x18]
and r11, r8
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x1800408dd
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x18004094b
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x180040920
mov r10, qword [r10]
cmp r10, rax
je 0x1800408d6
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 0x1800408d6
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x180040975
cmp qword [rdi + r11*8], r10
jne 0x180040916
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
jne 0x18004088e
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.18004099c
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
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 0x18004094b
Function at 0x180040a58
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 0x180040b19
mov rax, qword [rcx + 8]
mov rdi, rdx
mov rbp, qword [rcx + 0x18]
movabs r15, 0xcbf29ce484222325
mov r14, qword [rdx + 8]
xor ecx, ecx
mov qword [rsp + 0x20], rax
movabs rdx, 0x100000001b3
movzx eax, byte [rcx + r13 + 0x10]
inc rcx
xor r15, rax
imul r15, rdx
cmp rcx, 4
jb 0x180040ab0
and r15, qword [r12 + 0x30]
add r15, r15
mov rax, qword [rbp + r15*8]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + r15*8 + 8]
mov qword [rsp + 0x28], rax
mov rcx, rdi
mov rbx, rdi
mov rdi, qword [rdi]
mov edx, 0x18
call fcn.18009bf9c
dec qword [r12 + 0x10]
cmp rbx, qword [rsp + 0x28]
je 0x180040b3a
cmp rdi, rsi
jne 0x180040ae2
cmp qword [rsp + 0x30], r13
jne 0x180040b12
mov qword [rbp + r15*8], rdi
mov qword [r14], rdi
mov qword [rdi + 8], r14
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 0x180040b50
mov r13, qword [rsp + 0x20]
mov qword [rbp + r15*8], r13
mov rax, r13
jmp 0x180040b53
mov rax, r14
mov qword [rbp + r15*8 + 8], rax
cmp rdi, rsi
je 0x180040b12
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movabs r13, 0x100000001b3
movzx eax, byte [rdi + rdx + 0x10]
inc rdx
xor rcx, rax
imul rcx, r13
cmp rdx, 4
jb 0x180040b73
mov r15, qword [r12 + 0x30]
mov r13, qword [rsp + 0x20]
and r15, rcx
add r15, r15
mov rax, qword [rbp + r15*8 + 8]
mov qword [rsp + 0x28], rax
mov rcx, rdi
mov rbx, rdi
mov rdi, qword [rdi]
mov edx, 0x18
call fcn.18009bf9c
dec qword [r12 + 0x10]
cmp rbx, qword [rsp + 0x28]
je 0x180040bcc
cmp rdi, rsi
je 0x180040b0d
jmp 0x180040ba2
mov qword [rbp + r15*8], r13
mov qword [rbp + r15*8 + 8], r13
jmp 0x180040b58
Function at 0x180040bd8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rsi, rdx
xor ecx, ecx
movabs r14, 0xcbf29ce484222325
movzx eax, byte [r8 + rcx]
xor r14, rax
movabs rdx, 0x100000001b3
imul r14, rdx
inc rcx
cmp rcx, 4
jb 0x180040bf2
mov rax, qword [0x1800e4260]
and rax, r14
add rax, rax
mov rcx, qword [0x1800e4248]
mov rbx, qword [rcx + rax*8 + 8]
mov rbp, qword [0x1800e4238]
cmp rbx, rbp
jne 0x180040c5d
mov rbx, rbp
mov rdi, rbp
movabs rax, 0x2e8ba2e8ba2e8ba
cmp qword [0x1800e4240], rax
jne 0x180040c9b
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 0x180040c6f
cmp rbx, rdx
je 0x180040c91
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x180040c66
mov rbp, qword [rbx]
mov rdi, rbp
mov rax, rbx
mov rbx, rbp
test rax, rax
je 0x180040c3c
mov qword [rsi], rax
mov byte [rsi + 8], 0
jmp 0x180040e15
mov rbp, rbx
xor eax, eax
mov rdi, rbx
jmp 0x180040c80
lea rdx, [0x1800e4238]
lea rcx, [rsp + 0x30]
call fcn.180041864
nop
mov rdx, qword [0x1800e4240]
lea rcx, [rdx + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x180040cc7
cvtsi2ss xmm0, rcx
jmp 0x180040cdc
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x1800e4268]
xorps xmm1, xmm1
test rcx, rcx
js 0x180040cf2
cvtsi2ss xmm1, rcx
jmp 0x180040d07
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x1800e4230]
seta al
test al, al
je 0x180040d82
call fcn.1800413a0
mov rcx, qword [rsp + 0x38]
mov rdx, qword [0x1800e4260]
and rdx, r14
add rdx, rdx
mov r8, qword [0x1800e4248]
mov rax, qword [r8 + rdx*8 + 8]
mov rbx, qword [0x1800e4238]
cmp rax, rbx
je 0x180040d65
mov r9, qword [r8 + rdx*8]
mov edx, dword [rcx + 0x10]
jmp 0x180040d5d
mov rbx, rax
cmp rax, r9
je 0x180040d7b
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x180040d51
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rdi, rbx
mov rbp, qword [rsp + 0x20]
mov rdx, qword [0x1800e4240]
jmp 0x180040d87
mov qword [rsp + 0x20], rax
jmp 0x180040d6a
mov rcx, qword [rsp + 0x38]
and qword [rsp + 0x38], 0
mov r8, qword [rbx + 8]
inc rdx
mov qword [0x1800e4240], rdx
mov qword [rcx], rbp
mov qword [rcx + 8], r8
mov qword [r8], rcx
mov qword [rbx + 8], rcx
mov rax, qword [0x1800e4260]
and rax, r14
add rax, rax
mov rdx, qword [0x1800e4248]
mov r9, qword [rdx + rax*8]
cmp r9, qword [0x1800e4238]
jne 0x180040dd0
mov qword [rdx + rax*8], rcx
jmp 0x180040de2
cmp r9, rdi
jne 0x180040ddb
mov qword [rdx + rax*8], rcx
jmp 0x180040de7
cmp qword [rdx + rax*8 + 8], r8
jne 0x180040de7
mov qword [rdx + rax*8 + 8], rcx
mov qword [rsi], rcx
mov byte [rsi + 8], 1
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180040e15
add rcx, 0x18
call fcn.180040224
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180040e15
mov edx, 0x58
call fcn.18009bf9c
mov rax, rsi
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret