Function at 0x180067710
Capabilities:
Allocate or change rwx memory
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0xc0
mov rsi, r9
mov r13, rcx
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__msize]
mov qword [rbp - 0x11], rax
test eax, eax
jg 0x18006775a
xor al, al
jmp 0x180067c99
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
xor eax, eax
mov qword [rbp + 0x57], rax
mov qword [rbp - 0x71], rax
movdqu xmmword [rbp - 9], xmm0
mov qword [rbp + 7], rax
mov rbx, qword [rbp + 0x7f]
mov r10, qword [rbx + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x18006778b
mov rdx, qword [rbx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x1800677c3
movabs r8, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r8
inc rcx
cmp rcx, r10
jb 0x1800677b0
mov r8, rbx
lea rdx, [rbp - 0x69]
call fcn.180081ab0
cmp qword [rax + 8], 0
je 0x1800678d6
mov r8, rbx
lea rdx, [rbp - 0x69]
call fcn.18007d460
mov rcx, qword [rax]
add rcx, 0x30
lea rax, [rsp + 0x30]
cmp rax, rcx
je 0x18006783c
mov rbx, qword [rcx + 8]
mov rdi, qword [rcx]
sub rbx, rdi
mov rdx, rbx
sar rdx, 3
test rdx, rdx
je 0x18006781f
lea rcx, [rsp + 0x30]
call fcn.180086650
mov rax, qword [rbp - 0x71]
mov qword [rbp + 0x57], rax
mov r8, rbx
mov rdx, rdi
mov r14, qword [rsp + 0x30]
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
lea r15, [r14 + rbx]
mov qword [rbp - 0x79], r15
jmp 0x180067845
mov r15, qword [rbp - 0x79]
mov r14, qword [rsp + 0x30]
mov r12, r15
sub r12, r14
sar r12, 3
mov rax, qword [r13 + 0x30]
sub rax, qword [r13 + 0x20]
cmp r12, rax
jbe 0x18006787b
movabs rax, 0x7fffffffffffffff
cmp r12, rax
ja 0x180067cb4
mov rdx, r12
lea rcx, [r13 + 0x20]
call fcn.18007c190
mov rbx, r14
cmp r14, r15
je 0x180067af2
nop word [rax + rax]
mov qword [rsp + 0x20], 0
mov r9d, 1
lea r8, [r13 + 0x18]
mov rdx, qword [rbx]
mov rcx, qword [r13 + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x180067ae0
mov rdx, qword [r13 + 0x28]
cmp rdx, qword [r13 + 0x30]
je 0x180067ad3
movzx eax, byte [r13 + 0x18]
mov byte [rdx], al
inc qword [r13 + 0x28]
jmp 0x180067ae0
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__msize]
mov rdi, rax
xor ecx, ecx
movabs r14, 0x7fffffffffff
mov r15, qword [rbp - 0x79]
mov r9d, 0x30
lea r8, [rbp - 0x51]
mov rdx, rcx
mov rcx, qword [r13 + 8]
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
jne 0x180067a66
cmp dword [rbp - 0x31], 0x1000
jne 0x180067a55
mov eax, dword [rbp - 0x2d]
bt eax, 8
jb 0x180067a55
cmp eax, 1
je 0x180067a55
cmp eax, 0x10
je 0x180067a55
mov rcx, qword [rbp - 0x39]
call fcn.18008ea8c
mov rbx, rax
mov qword [rbp + 0x5f], rax
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 0x39]
mov r8, rbx
mov rdx, qword [rbp - 0x51]
mov rcx, qword [r13 + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x180067a4d
mov r8, rbx
mov rcx, qword [rbp - 0x21]
sub rcx, rdi
lea r9, [rbx + 1]
add r9, rcx
mov qword [rbp - 0x69], r9
lea r13, [rbx - 1]
add r13, rdi
mov r12, r13
lea r14, [rbx - 1]
add r14, qword [rbp - 0x21]
cmp rbx, r9
jae 0x180067a3f
test rdi, rdi
je 0x1800679ce
mov rax, rsi
mov rdx, rbx
sub rdx, rsi
movzx ecx, byte [rax]
cmp cl, 0x3f
je 0x1800679c0
cmp cl, byte [rdx + rax]
jne 0x180067a14
inc rax
mov rcx, rax
sub rcx, rsi
cmp rcx, rdi
jb 0x1800679b3
mov rax, rbx
sub rax, r8
add rax, qword [rbp - 0x51]
mov qword [rbp - 0x19], rax
cmp r15, qword [rbp + 0x57]
je 0x1800679ef
mov qword [r15], rax
add r15, 8
mov qword [rbp - 0x79], r15
jmp 0x180067a14
lea r8, [rbp - 0x19]
mov rdx, r15
lea rcx, [rsp + 0x30]
call fcn.18007d770
mov rax, qword [rbp - 0x71]
mov qword [rbp + 0x57], rax
mov r15, qword [rbp - 0x79]
mov r8, qword [rbp + 0x5f]
mov r9, qword [rbp - 0x69]
inc rbx
cmp rbx, r14
jb 0x180067a32
add r12, 0x1000
add r14, 0x1000
cmp r12, r13
jae 0x180067a3b
mov rbx, r13
cmp rbx, r9
jb 0x1800679a5
mov rbx, qword [rbp + 0x5f]
movabs r14, 0x7fffffffffff
mov r13, qword [rbp + 0x4f]
mov rcx, rbx
call fcn.18008e9e8
mov rcx, qword [rbp - 0x39]
add rcx, qword [rbp - 0x51]
cmp rcx, r14
jb 0x1800678f2
mov r8, qword [rbp + 0x7f]
lea rdx, [rbp - 0x69]
call fcn.18007d460
mov rbx, qword [rax]
add rbx, 0x30
lea rax, [rsp + 0x30]
cmp rbx, rax
je 0x180067840
mov rdi, r15
mov r14, qword [rsp + 0x30]
sub rdi, r14
mov rdx, rdi
sar rdx, 3
mov rsi, qword [rbx]
mov rax, qword [rbx + 0x10]
sub rax, rsi
sar rax, 3
cmp rdx, rax
jbe 0x180067ab8
mov rcx, rbx
call fcn.180086650
mov rsi, qword [rbx]
mov r8, rdi
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + rsi]
mov qword [rbx + 8], rax
jmp 0x180067845
lea r8, [r13 + 0x18]
lea rcx, [r13 + 0x20]
call fcn.18007d8b0
add rbx, 8
cmp rbx, r15
jne 0x180067890
cmp r14, r15
jne 0x180067af9
xor bl, bl
jmp 0x180067c4c
xor r15d, r15d
test r12, r12
je 0x180067c4a
movsxd r13, dword [rbp - 0x11]
mov rsi, r14
nop dword [rax]
mov r8, qword [rsi]
lea r9, [rbp - 0x54]
test r8d, r8d
jns 0x180067b60
neg r8d
nop
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x180067b20
dec r9
mov byte [r9], 0x2d
jmp 0x180067b8a
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x180067b60
xor ebx, ebx
mov qword [rbp - 0x51], rbx
mov qword [rbp - 0x41], rbx
mov edi, 0xf
mov qword [rbp - 0x39], rdi
lea rax, [rbp - 0x54]
cmp r9, rax
je 0x180067bc1
lea r8, [rbp - 0x54]
sub r8, r9
mov rdx, r9
lea rcx, [rbp - 0x51]
call fcn.18004b570
mov rdi, qword [rbp - 0x39]
mov rbx, qword [rbp - 0x51]
mov edx, dword [rsi]
lea rax, [rbp + 0x77]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
mov r8, r13
mov rcx, qword [rbp + 0x4f]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rsp + 0x20], 0
mov r9, r13
mov r8, qword [rbp + 0x6f]
mov rdx, qword [rsi]
mov rax, qword [rbp + 0x4f]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp rdi, 0x10
jb 0x180067c37
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x180067c2f
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180067c84
mov rcx, rbx
call fcn.18008e9e8
inc r15d
add rsi, 8
movsxd rax, r15d
cmp rax, r12
jb 0x180067b10
mov bl, 1
test r14, r14
je 0x180067c96
mov rcx, qword [rbp + 0x57]
sub rcx, r14
and rcx, 0xfffffffffffffff8
mov rax, r14
cmp rcx, 0x1000
jb 0x180067c8b
add rcx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180067c8b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, rcx
mov rcx, r14
call fcn.18008e9e8
movzx eax, bl
mov rbx, qword [rsp + 0x118]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1800536a0
nop
int3