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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18022812c]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x18022a08c], edx
jle 0x18015cddf
lea rcx, [0x18022a08c]
call fcn.18017dd34
cmp dword [0x18022a08c], 0xffffffff
jne 0x18015cddf
mov rcx, qword [0x180229a08]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x18015cdcc
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x18015cd72
mov rdx, r11
test rax, rax
je 0x18015cdb0
nop dword [rax]
nop word [rax + rax]
movsx ecx, byte [rdx + r8]
xor ecx, r9d
imul r9d, ecx, 0x1000193
inc rdx
cmp rdx, rax
jb 0x18015cd90
cmp r9d, 0x7a1c884e
je 0x18015cdb9
mov r10, qword [r10 + 0x20]
test r10, r10
jmp 0x18015cd5f
lea r8, str.m_iFOV
mov rdx, qword [r10 + 0x18]
call fcn.18017d7d0
mov r11d, eax
mov dword [0x18022a090], r11d
lea rcx, [0x18022a08c]
call fcn.18017dcd4
movsxd rax, dword [0x18022a090]
add rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x180161a90
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x180161ac1
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 [0x1802239c8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1802239d8]
lea rdx, [rdi + rdi]
call fcn.180091060
mov rax, qword [0x1802239c8]
lea r9, [rdi - 1]
mov qword [0x1802239f0], r9
mov qword [0x1802239f8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180161c34
mov qword [rsp + 0x38], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
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 [0x1802239d8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x180161b80
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180161bf5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x180161bbd
mov r10, qword [rdx]
cmp r10, rax
je 0x180161bb7
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 0x180161bf5
cmp r9, rdx
je 0x180161bd1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x180161c09
cmp r9, rdx
jne 0x180161bc2
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 0x180161c2f
mov r9, qword [0x1802239f0]
jmp 0x180161b31
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 0x180161bf5
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180161c40
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x180161cec
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x180161c7a
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x20
pop rdi
jmp 0x180161d00
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x180161cba
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x28
call fcn.18017dba4
mov rcx, rbx
test rbx, rbx
jne 0x180161ca0
mov rbx, qword [rsp + 0x38]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x30]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x30], rax
call fcn.180093640
add rsp, 0x20
pop rdi
ret
push rbp
push rsi
push r14
sub rsp, 0x40
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x180161dfe
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rsp + 0x60], rbx
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x38], rdi
mov rbx, r14
mov qword [rsp + 0x30], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
xor rcx, rax
mov qword [rsp + 0x28], r13
movzx eax, byte [r14 + 0x11]
mov r13, qword [r14 + 8]
imul rcx, r8
mov qword [rsp + 0x20], r15
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
mov qword [rsp + 0x78], rdx
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r15, rcx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov qword [rsp + 0x68], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x70], rax
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x28
call fcn.18017dba4
dec qword [rsi + 0x10]
cmp rdi, qword [rsp + 0x70]
je 0x180161e0a
cmp rbx, rbp
jne 0x180161db0
cmp qword [rsp + 0x68], r14
jne 0x180161ddd
mov qword [r15], rbx
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r15, qword [rsp + 0x20]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x60]
mov rax, rbp
add rsp, 0x40
pop r14
pop rsi
pop rbp
ret
cmp qword [rsp + 0x68], r14
jne 0x180161e19
mov qword [r15], r12
mov rax, r12
jmp 0x180161e1c
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x180161ddd
nop word [rax + rax]
movzx ecx, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
mov r15, qword [rsi + 0x30]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movzx eax, byte [rbx + 0x11]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x12]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x13]
imul rcx, rdx
xor rcx, rax
imul rcx, rdx
and r15, rcx
shl r15, 4
add r15, qword [rsp + 0x78]
mov r14, qword [r15 + 8]
nop dword [rax]
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x28
call fcn.18017dba4
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x180161eb6
cmp rbx, rbp
jne 0x180161e90
jmp 0x180161dda
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x180161e30
jmp 0x180161ddd
Function at 0x180161d00
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x180161cec
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x180161c7a
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x20
pop rdi
jmp 0x180161d00
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x180161cba
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x28
call fcn.18017dba4
mov rcx, rbx
test rbx, rbx
jne 0x180161ca0
mov rbx, qword [rsp + 0x38]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x30]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x30], rax
call fcn.180093640
add rsp, 0x20
pop rdi
ret
push rbp
push rsi
push r14
sub rsp, 0x40
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x180161dfe
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rsp + 0x60], rbx
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x38], rdi
mov rbx, r14
mov qword [rsp + 0x30], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
xor rcx, rax
mov qword [rsp + 0x28], r13
movzx eax, byte [r14 + 0x11]
mov r13, qword [r14 + 8]
imul rcx, r8
mov qword [rsp + 0x20], r15
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
mov qword [rsp + 0x78], rdx
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r15, rcx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov qword [rsp + 0x68], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x70], rax
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x28
call fcn.18017dba4
dec qword [rsi + 0x10]
cmp rdi, qword [rsp + 0x70]
je 0x180161e0a
cmp rbx, rbp
jne 0x180161db0
cmp qword [rsp + 0x68], r14
jne 0x180161ddd
mov qword [r15], rbx
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r15, qword [rsp + 0x20]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x60]
mov rax, rbp
add rsp, 0x40
pop r14
pop rsi
pop rbp
ret
cmp qword [rsp + 0x68], r14
jne 0x180161e19
mov qword [r15], r12
mov rax, r12
jmp 0x180161e1c
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x180161ddd
nop word [rax + rax]
movzx ecx, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
mov r15, qword [rsi + 0x30]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movzx eax, byte [rbx + 0x11]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x12]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x13]
imul rcx, rdx
xor rcx, rax
imul rcx, rdx
and r15, rcx
shl r15, 4
add r15, qword [rsp + 0x78]
mov r14, qword [r15 + 8]
nop dword [rax]
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x28
call fcn.18017dba4
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x180161eb6
cmp rbx, rbp
jne 0x180161e90
jmp 0x180161dda
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x180161e30
jmp 0x180161ddd
Function at 0x180162c50
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x180162c81
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 [0x1802236d8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1802236e8]
lea rdx, [rdi + rdi]
call fcn.180091060
mov rax, qword [0x1802236d8]
lea r9, [rdi - 1]
mov qword [0x180223700], r9
mov qword [0x180223708], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180162df4
mov qword [rsp + 0x38], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
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 [0x1802236e8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x180162d40
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180162db5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x180162d7d
mov r10, qword [rdx]
cmp r10, rax
je 0x180162d77
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 0x180162db5
cmp r9, rdx
je 0x180162d91
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x180162dc9
cmp r9, rdx
jne 0x180162d82
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 0x180162def
mov r9, qword [0x180223700]
jmp 0x180162cf1
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 0x180162db5
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180163350
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x180163381
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 [0x180229978]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x180229988]
lea rdx, [rdi + rdi]
call fcn.180091060
mov rax, qword [0x180229978]
lea r9, [rdi - 1]
mov qword [0x1802299a0], r9
mov qword [0x1802299a8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180163522
mov qword [rsp + 0x38], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
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
movzx edx, byte [rax + 0x14]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x180229988]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18016346c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1801634e3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x1801634a9
mov r10, qword [rdx]
cmp r10, rax
je 0x1801634a3
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 0x1801634e3
cmp r9, rdx
je 0x1801634bf
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x1801634f7
cmp r9, rdx
jne 0x1801634b0
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 0x18016351d
mov r9, qword [0x1802299a0]
jmp 0x1801633f1
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 0x1801634e3
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1801635a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18022812c]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x18022a0a8], edx
jle 0x180163682
lea rcx, [0x18022a0a8]
call fcn.18017dd34
cmp dword [0x18022a0a8], 0xffffffff
jne 0x180163682
mov rcx, qword [0x180229a08]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x18016366c
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x180163612
mov rdx, r11
test rax, rax
je 0x180163650
nop dword [rax]
nop word [rax + rax]
movsx ecx, byte [rdx + r8]
xor ecx, r9d
imul r9d, ecx, 0x1000193
inc rdx
cmp rdx, rax
jb 0x180163630
cmp r9d, 0x9dc483b8
je 0x180163659
mov r10, qword [r10 + 0x20]
test r10, r10
jmp 0x1801635ff
lea r8, str.moveparent
mov rdx, qword [r10 + 0x18]
call fcn.18017d7d0
mov r11d, eax
lea eax, [r11 - 8]
mov dword [0x18022a0a0], eax
lea rcx, [0x18022a0a8]
call fcn.18017dcd4
movsxd rdx, dword [0x18022a0a0]
add rdx, rbx
jne 0x180163696
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rcx, qword [0x180229a30]
mov rax, qword [rcx]
mov r8, qword [rax + 0x20]
mov eax, dword [rdx]
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x30]
call r8
add rsp, 0x20
pop rbx
ret

Function at 0x180166fa0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18022812c]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x18022a0e8], edx
jle 0x18016707f
lea rcx, [0x18022a0e8]
call fcn.18017dd34
cmp dword [0x18022a0e8], 0xffffffff
jne 0x18016707f
mov rcx, qword [0x180229a08]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x18016706c
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x180167012
mov rdx, r11
test rax, rax
je 0x180167050
nop dword [rax]
nop word [rax + rax]
movsx ecx, byte [rdx + r8]
xor ecx, r9d
imul r9d, ecx, 0x1000193
inc rdx
cmp rdx, rax
jb 0x180167030
cmp r9d, 0xb47de3de
je 0x180167059
mov r10, qword [r10 + 0x20]
test r10, r10
jmp 0x180166fff
lea r8, str.m_flNextAttack
mov rdx, qword [r10 + 0x18]
call fcn.18017d7d0
mov r11d, eax
mov dword [0x18022a0d4], r11d
lea rcx, [0x18022a0e8]
call fcn.18017dcd4
movsxd rax, dword [0x18022a0d4]
add rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x180167090
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18022812c]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x18022a0f0], edx
jle 0x18016716f
lea rcx, [0x18022a0f0]
call fcn.18017dd34
cmp dword [0x18022a0f0], 0xffffffff
jne 0x18016716f
mov rcx, qword [0x180229a08]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x18016715c
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x180167102
mov rdx, r11
test rax, rax
je 0x180167140
nop dword [rax]
nop word [rax + rax]
movsx ecx, byte [rdx + r8]
xor ecx, r9d
imul r9d, ecx, 0x1000193
inc rdx
cmp rdx, rax
jb 0x180167120
cmp r9d, 0x24615a25
je 0x180167149
mov r10, qword [r10 + 0x20]
test r10, r10
jmp 0x1801670ef
lea r8, str.m_flEnergy
mov rdx, qword [r10 + 0x18]
call fcn.18017d7d0
mov r11d, eax
mov dword [0x18022a0d8], r11d
lea rcx, [0x18022a0f0]
call fcn.18017dcd4
movsxd rax, dword [0x18022a0d8]
add rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x18016a720
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov edx, dword [0x18022812c]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rdi, qword [rax + rdx*8]
add rdi, rcx
xor ebx, ebx
mov eax, dword [rdi]
cmp dword [0x18023a540], eax
jle 0x18016a80f
lea rcx, [0x18023a540]
call fcn.18017dd34
cmp dword [0x18023a540], 0xffffffff
jne 0x18016a80f
mov rcx, qword [0x180229a08]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x18016a7fb
mov r8, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r9d, 0x811c9dc5
nop dword [rax]
inc rcx
cmp byte [r8 + rcx], 0
jne 0x18016a7a0
mov rdx, rbx
test rcx, rcx
je 0x18016a7e0
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [rdx + r8]
xor eax, r9d
imul r9d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x18016a7c0
cmp r9d, 0x7c5cc931
je 0x18016a7e9
mov r10, qword [r10 + 0x20]
test r10, r10
jmp 0x18016a789
lea r8, str.m_Shared
mov rdx, qword [r10 + 0x18]
call fcn.18017d7d0
jmp 0x18016a7fd
mov eax, ebx
mov dword [0x18023a51c], eax
lea rcx, [0x18023a540]
call fcn.18017dcd4
mov eax, dword [rdi]
cmp dword [0x18023a524], eax
jle 0x18016a8cd
lea rcx, [0x18023a524]
call fcn.18017dd34
cmp dword [0x18023a524], 0xffffffff
jne 0x18016a8cd
mov rcx, qword [0x180229a08]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x18016a8bb
mov r8, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r9d, 0x811c9dc5
nop dword [rax]
inc rcx
cmp byte [r8 + rcx], 0
jne 0x18016a860
mov rdx, rbx
test rcx, rcx
je 0x18016a8a0
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [rdx + r8]
xor eax, r9d
imul r9d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x18016a880
cmp r9d, 0x7c5cc931
je 0x18016a8a9
mov r10, qword [r10 + 0x20]
test r10, r10
jmp 0x18016a849
lea r8, str.m_nHalloweenBombHeadStage
mov rdx, qword [r10 + 0x18]
call fcn.18017d7d0
mov ebx, eax
mov dword [0x18023a560], ebx
lea rcx, [0x18023a524]
call fcn.18017dcd4
mov eax, dword [rdi]
cmp dword [0x18023a568], eax
jle 0x18016a90d
lea rcx, [0x18023a568]
call fcn.18017dd34
cmp dword [0x18023a568], 0xffffffff
jne 0x18016a90d
mov eax, dword [0x18023a560]
sub eax, dword [0x18023a51c]
add eax, 4
mov dword [0x18023a564], eax
lea rcx, [0x18023a568]
call fcn.18017dcd4
mov rax, qword [rsi]
movsxd rcx, dword [0x18023a564]
mov rax, qword [rax]
mov rax, qword [rcx + rax]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18016ac20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18022812c]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x18022a110], edx
jle 0x18016acff
lea rcx, [0x18022a110]
call fcn.18017dd34
cmp dword [0x18022a110], 0xffffffff
jne 0x18016acff
mov rcx, qword [0x180229a08]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x18016acec
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x18016ac92
mov rdx, r11
test rax, rax
je 0x18016acd0
nop dword [rax]
nop word [rax + rax]
movsx ecx, byte [rdx + r8]
xor ecx, r9d
imul r9d, ecx, 0x1000193
inc rdx
cmp rdx, rax
jb 0x18016acb0
cmp r9d, 0x47697bc5
je 0x18016acd9
mov r10, qword [r10 + 0x20]
test r10, r10
jmp 0x18016ac7f
lea r8, str.m_vecForce
mov rdx, qword [r10 + 0x18]
call fcn.18017d7d0
mov r11d, eax
mov dword [0x18022a10c], r11d
lea rcx, [0x18022a110]
call fcn.18017dcd4
movsxd rax, dword [0x18022a10c]
add rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x18016c970
Capabilities:
Inspect section memory permissions

Disassembly:
cmp ecx, 0x6d12325f
ja 0x18016ca64
je 0x18016ca5e
cmp ecx, 0x394ccab1
ja 0x18016c9fe
je 0x18016c9f8
cmp ecx, 0x12e2bba6
ja 0x18016c9c9
je 0x18016c9c3
cmp ecx, 0x1cca6e9
je 0x18016c9bd
cmp ecx, 0x9538c7f
je 0x18016cb47
xor edx, edx
mov eax, 0x400
cmp ecx, 0xab4b02e
cmove edx, eax
mov eax, edx
ret
mov eax, 0x1000000
ret
mov eax, 0x10000
ret
cmp ecx, 0x136175ec
je 0x18016c9f2
cmp ecx, 0x1a279560
je 0x18016c9ec
xor edx, edx
mov eax, 0x2000000
cmp ecx, 0x26a4c834
cmove edx, eax
mov eax, edx
ret
mov eax, 0x100
ret
mov eax, 1
ret
mov eax, 0x40000
ret
cmp ecx, 0x63560e68
ja 0x18016ca3d
je 0x18016ca37
cmp ecx, 0x4c4f2731
je 0x18016ca31
cmp ecx, 0x4c607052
je 0x18016ca2b
xor edx, edx
mov eax, 0x100000
cmp ecx, 0x533786cb
cmove edx, eax
mov eax, edx
ret
mov eax, 8
ret
mov eax, 0x800
ret
mov eax, 0x2000
ret
cmp ecx, 0x6baaf951
je 0x18016ca58
xor edx, edx
mov eax, 0x10
cmp ecx, 0x6c6e2525
cmove edx, eax
mov eax, edx
ret
mov eax, 0x20000
ret
mov eax, 0x8000
ret
cmp ecx, 0xbf26fbfe
ja 0x18016cb06
je 0x18016cb00
cmp ecx, 0xa7dccec1
ja 0x18016cac3
je 0x18016cabd
cmp ecx, 0x7dc692a9
je 0x18016cab7
cmp ecx, 0x991deba0
je 0x18016cab1
cmp ecx, 0x9a98ca01
je 0x18016caab
xor edx, edx
mov eax, 0x20000000
cmp ecx, 0x9e336053
cmove edx, eax
mov eax, edx
ret
mov eax, 0x200000
ret
mov eax, 2
ret
mov eax, 0x4000000
ret
mov eax, 0x80
ret
cmp ecx, 0xb6588a9f
je 0x18016cafa
cmp ecx, 0xb926f28c
je 0x18016caf4
cmp ecx, 0xbbd7c4b0
je 0x18016caee
xor edx, edx
mov eax, 0x20
cmp ecx, 0xbeeb585e
cmove edx, eax
mov eax, edx
ret
mov eax, 0x200
ret
mov eax, 0x40
ret
mov eax, 0x40000000
ret
mov eax, 0x8000000
ret
cmp ecx, 0xe33dd749
ja 0x18016cb53
je 0x18016cb4d
cmp ecx, 0xbf4bccd7
je 0x18016cb47
cmp ecx, 0xc7d64bd1
je 0x18016cb41
cmp ecx, 0xde211c9d
je 0x18016cb3b
xor edx, edx
mov eax, 0x80000
cmp ecx, 0xe218288d
cmove edx, eax
mov eax, edx
ret
mov eax, 0x10000000
ret
mov eax, 0x80000000
ret
mov eax, 0x4000
ret
mov eax, 0x800000
ret
cmp ecx, 0xe65773e8
je 0x18016cb7a
cmp ecx, 0xeea3074e
je 0x18016cb74
xor edx, edx
mov eax, 0x1000
cmp ecx, 0xf3a30f2d
cmovne eax, edx
ret
mov eax, 0x400000
ret
mov eax, 4
ret