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

Disassembly:
push rbx
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r8, qword [rdx + 0x10]
mov rbx, rdx
mov r14, rcx
lea rdx, [rsp + 0x20]
add rcx, 0xb8
call fcn.140024550
mov r8, 0xffffffffffffffff
mov rdi, qword [rax]
mov rax, qword [rbx + 0x10]
add rdi, 0x18
mov rdx, qword [rax + 8]
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140022a40
mov rcx, rdi
call fcn.140003f90
mov r8, qword [rbx + 0x10]
movabs r15, 0x100000001b3
mov rcx, qword [r14 + 0x128]
movabs r12, 0xcbf29ce484222325
movzx eax, byte [r8 + 1]
movzx edx, byte [r8]
xor rdx, r12
imul rdx, r15
xor rdx, rax
movzx eax, byte [r8 + 2]
imul rdx, r15
xor rdx, rax
movzx eax, byte [r8 + 3]
imul rdx, r15
xor rdx, rax
movzx eax, byte [r8 + 4]
imul rdx, r15
xor rdx, rax
movzx eax, byte [r8 + 5]
imul rdx, r15
xor rdx, rax
movzx eax, byte [r8 + 6]
imul rdx, r15
xor rdx, rax
movzx eax, byte [r8 + 7]
imul rdx, r15
xor rdx, rax
mov rax, qword [r14 + 0x110]
imul rdx, r15
and rcx, rdx
mov rdx, qword [r14 + 0x100]
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, rdx
je 0x140022c3d
mov rcx, qword [rax + rcx*8]
mov rax, qword [r8]
cmp rax, qword [rbx + 0x10]
je 0x140022b13
nop
cmp rbx, rcx
je 0x140022c3d
mov rbx, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
jne 0x140022b00
test rbx, rbx
cmove rbx, rdx
cmp rbx, rdx
je 0x140022c3d
mov qword [rsp + 0x70], rbp
mov rbp, qword [rbx + 0x20]
mov qword [rsp + 0x78], rsi
mov rsi, qword [rbx + 0x18]
cmp rsi, rbp
je 0x140022c2f
nop
mov r8, qword [rsi]
movzx edx, r8b
mov rax, r8
shr rax, 8
xor rdx, r12
movzx ecx, al
mov rax, r8
shr rax, 0x10
imul rdx, r15
xor rdx, rcx
movzx ecx, al
imul rdx, r15
mov rax, r8
xor rdx, rcx
shr rax, 0x18
movzx ecx, al
mov rax, r8
shr rax, 0x20
imul rdx, r15
xor rdx, rcx
movzx ecx, al
imul rdx, r15
mov rax, r8
xor rdx, rcx
shr rax, 0x28
movzx ecx, al
mov rax, r8
shr rax, 0x30
imul rdx, r15
xor rdx, rcx
movzx ecx, al
imul rdx, r15
mov rax, r8
xor rcx, rdx
shr rax, 0x38
mov rdx, qword [r14 + 0x10]
imul rcx, r15
xor rcx, rax
imul rcx, r15
and rcx, qword [r14 + 0x38]
shl rcx, 4
add rcx, qword [r14 + 0x20]
mov rax, qword [rcx + 8]
cmp rax, rdx
je 0x140022c1e
mov rcx, qword [rcx]
cmp r8, qword [rax + 0x10]
je 0x140022bf3
cmp rax, rcx
je 0x140022c1e
mov rax, qword [rax + 8]
cmp r8, qword [rax + 0x10]
jne 0x140022be4
test rax, rax
cmove rax, rdx
cmp rax, rdx
je 0x140022c1e
lea rcx, [rax + 0x38]
cmp rcx, rdi
je 0x140022c1e
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x140022c15
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
call fcn.140003f90
add rsi, 8
cmp rsi, rbp
jne 0x140022b40
mov rsi, qword [rbx + 0x18]
mov rbp, qword [rsp + 0x70]
mov qword [rbx + 0x20], rsi
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rbx
ret
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 [0x1800e1010]
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.18009c310
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, [0x1800a6130]
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, [0x1800a6130]
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, [0x1800c6948]
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 [0x1800e4b80]
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 [0x1800e4b80]
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 0x18000b0bc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1800e1010]
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, [0x1800a6130]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x18000b0fb
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x1210], ebx
jne 0x18000b132
lea edx, [r10 + 0xc]
mov ecx, ebx
call fcn.18001b660
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18009c310
add rsp, 0x30
pop rbx
ret
Function at 0x18000b148
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1800e1010]
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, [0x1800a6130]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x18000b187
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x1210], ebx
jne 0x18000b1c1
movsxd r8, edx
mov ecx, ebx
mov edx, r11d
call fcn.18001b660
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18009c310
add rsp, 0x30
pop rbx
ret

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

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1800e1010]
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, [0x1800a6130]
movzx edx, r8b
inc r9
xor rdx, rcx
shr r8d, 8
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x18000b255
not r8d
mov eax, r8d
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.18009c310
add rsp, 0x28
ret
Function at 0x18001a358
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 0x18001a3f1
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x18001a3a9
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.18001c588
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, [0x1800e4b78]
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 0x18001a3f9
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 0x18001aab4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1800e4b80]
mov rbx, rcx
and dword [rax + 0x2ea4], 0
test rcx, rcx
je 0x18001ab1d
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.18001ab28
lea rdx, [0x1800c694c]
mov rcx, rbx
mov rdi, rax
call fcn.1800082a8
mov rbx, rax
test rax, rax
je 0x18001ab1d
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 0x1800371a0
Capabilities:
Create thread
Set console window title

Disassembly:
push rbx
sub rsp, 0x30
cmp edx, 1
jne 0x180037226
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, [0x1800c7368]
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, [0x180036df8]
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 0x18003724e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18003724e
test edx, edx
jne 0x18003724e
test r8, r8
jne 0x18003724e
call fcn.180036f90
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 0x1800379f0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x1800e1010]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor ebx, ebx
mov rdi, rcx
test rcx, rcx
jne 0x180037a21
lea rcx, str.Tried_getting_virtual_function_from_a_null_class._n
call fcn.180006624
jmp 0x180037a3e
mov rax, qword [rcx]
test rax, rax
jne 0x180037a32
lea rcx, str.Tried_getting_virtual_function_from_a_null_vtable._n
jmp 0x180037a1a
mov rdx, qword [rax + 0x480]
test rdx, rdx
jne 0x180037a60
lea rcx, str.Tried_calling_a_null_virtual_function._n
call fcn.180006624
mov rcx, rdi
call fcn.18003fe40
test al, al
je 0x180037a70
mov eax, 2
jmp 0x180037afc
call rdx
test al, al
je 0x180037a4a
mov eax, 1
jmp 0x180037afc
mov qword [rsp + 0x20], rbx
test rdi, rdi
jne 0x180037a88
lea rcx, str.Tried_getting_virtual_function_from_a_null_class._n
call fcn.180006624
jmp 0x180037aa1
mov rax, qword [rdi]
test rax, rax
jne 0x180037a99
lea rcx, str.Tried_getting_virtual_function_from_a_null_vtable._n
jmp 0x180037a81
mov r8, qword [rax]
test r8, r8
jne 0x180037aaf
lea rcx, str.Tried_calling_a_null_virtual_function._n
call fcn.180006624
jmp 0x180037aba
lea rdx, [rsp + 0x20]
mov rcx, rdi
call r8
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x180037afa
mov rax, qword [rax + 8]
test rax, rax
je 0x180037afa
cmp byte [rax], bl
je 0x180037afa
movsx ecx, byte [rax]
xor ecx, 0x811c9dc5
imul edx, ecx, 0x1000193
lea rcx, [rax + 1]
call fcn.18003c3e8
cmp eax, 0x94f0c692
mov ecx, 3
cmove ebx, ecx
mov eax, ebx
jmp 0x180037afc
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18009c310
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x18003c3e8
Capabilities:
Hash data using fnv

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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x1800e1010]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rax, qword [rcx]
lea r9, [rbp - 0x29]
and qword [rbp - 0x29], 0
lea r8, [0x1800d7fc8]
xor edx, edx
mov rbx, rcx
call qword [rax + 0x48]
cmp qword [rbp - 0x29], 0
je 0x18003dc36
mov rax, qword [rbx]
lea rdx, [rbp - 9]
mov rcx, rbx
call qword [rax + 0x60]
and qword [rbp - 0x19], 0
lea rbx, [0x1800e4ca0]
and dword [rbp - 0x11], 0
lea r8, [rbp - 0x21]
cmp dword [rbp + 7], 0x1d
mov eax, 0x1c
mov rcx, qword [0x1800e4ce0]
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 0x18003dc2c
lea rcx, str.CreateRenderTarget__:_Falling_back_to_D3D11_RTV_DIMENSION_TEXTURE2D._n
call fcn.180006624
mov rcx, qword [0x1800e4ce0]
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 0x18003dc2c
mov rcx, qword [0x1800e4ce0]
mov r9, rbx
mov rdx, qword [rbp - 0x29]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jns 0x18003dc2c
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.18009c310
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rbp
ret
push rbx
sub rsp, 0x30
mov rax, qword [0x1800e4b80]
mov rbx, rcx
test rax, rax
je 0x18003e8ee
cmp byte [0x1800e4f18], 0
jne 0x18003e8ee
cmp qword [rax + 0xa0], 0
jne 0x18003e81c
mov rax, qword [rcx]
lea r8, [0x1800e4ce0]
lea rdx, [0x1800d7fb8]
call qword [rax + 0x38]
test eax, eax
js 0x18003e815
mov rcx, qword [0x1800e4ce0]
lea rdx, [0x1800e4cf0]
mov rax, qword [rcx]
call qword [rax + 0x140]
call fcn.180026fd0
call fcn.18003d730
mov rax, qword [0x1800e4b80]
cmp qword [0x1800e4ca0], 0
jne 0x18003e833
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp 0x18003db40
test rax, rax
je 0x18003e841
mov rcx, qword [rax + 0xa0]
jmp 0x18003e843
xor ecx, ecx
cmp qword [rcx + 0x48], 0
jne 0x18003e84f
call fcn.180026b00
call fcn.180027804
call fcn.18000bedc
xor r8d, r8d
xor edx, edx
mov ecx, 0x208
call fcn.180013d8c
test al, al
je 0x18003e89d
and qword [rsp + 0x28], 0
lea r9, [0x180000000]
and dword [rsp + 0x20], 0
lea r8, [0x180036cd8]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18003e89d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.18003754c
call fcn.1800396fc
call fcn.18000dd9c
mov rcx, qword [0x1800e4cf0]
lea r8, [0x1800e4ca0]
xor r9d, r9d
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + pe_nt_image_headers64]
mov rax, qword [0x1800e4b80]
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.180025f10
add rsp, 0x30
pop rbx
ret
Function at 0x18003fd44
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 0x18003fd9a
movsx eax, byte [rcx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
inc rcx
call fcn.18003c3e8
cmp eax, 0xf102793d
jne 0x18003fd9a
test r10b, r10b
je 0x18003fd8f
mov eax, 0x1f4
cmp word [r9 + 0x10], ax
setae r8b
jmp 0x18003fd95
mov r8d, 1
mov al, r8b
jmp 0x18003fd9c
xor al, al
add rsp, 0x28
ret

Function at 0x18003fda4
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 0x18003fdfa
movsx eax, byte [rcx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
inc rcx
call fcn.18003c3e8
cmp eax, 0x1c826fb7
jne 0x18003fdfa
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 0x18003fdfc
xor al, al
add rsp, 0x28
ret
Function at 0x180040f00
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 0x180040f39
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.180040dcc
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 0x18004104b
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 0x180040f92
mov r11, qword [rsi + 0x30]
mov rdi, qword [rsi + 0x18]
and r11, r8
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x180040fd1
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x18004103f
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x180041014
mov r10, qword [r10]
cmp r10, rax
je 0x180040fca
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 0x180040fca
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x180041069
cmp qword [rdi + r11*8], r10
jne 0x18004100a
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 0x180040f82
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.180041090
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 0x18004103f
Function at 0x18004114c
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 0x18004120d
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 0x1800411a4
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.18009c69c
dec qword [r12 + 0x10]
cmp rbx, qword [rsp + 0x28]
je 0x18004122e
cmp rdi, rsi
jne 0x1800411d6
cmp qword [rsp + 0x30], r13
jne 0x180041206
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 0x180041244
mov r13, qword [rsp + 0x20]
mov qword [rbp + r15*8], r13
mov rax, r13
jmp 0x180041247
mov rax, r14
mov qword [rbp + r15*8 + 8], rax
cmp rdi, rsi
je 0x180041206
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 0x180041267
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.18009c69c
dec qword [r12 + 0x10]
cmp rbx, qword [rsp + 0x28]
je 0x1800412c0
cmp rdi, rsi
je 0x180041201
jmp 0x180041296
mov qword [rbp + r15*8], r13
mov qword [rbp + r15*8 + 8], r13
jmp 0x18004124c