Function at 0x140017110
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x14009d020]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rsi, r8
mov dword [rsp + 0x20], edx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x40], rcx
xor r12d, r12d
mov dword [rsp + 0x5c], r12d
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], r12
call fcn.140015810
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], r12
lea r8d, [r12 + 0x18]
lea rdx, str.NtQuerySystemInformation
lea rcx, [rbp - 0x80]
call fcn.1400058c0
nop
call fcn.140034b00
lea r15, [rdi + 0x40]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rbp - 0x80]
mov r14, qword [rbp - 0x80]
mov r13, qword [rbp - 0x68]
cmp r13, 0x10
cmovae rdx, r14
movabs rbx, 0xcbf29ce484222325
mov r9, rbx
mov ecx, r12d
movabs r10, 0x100000001b3
mov r8, qword [rbp - 0x70]
test r8, r8
je 0x1400171f3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x1400171e0
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140018100
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140017240
cmp rdx, qword [rdi + 8]
je 0x140017240
mov rdi, qword [rdx + 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rdi, rdi
je 0x140017249
lea r9, [rsp + 0x5c]
mov r8d, 0x100
lea rdx, [rbp - 0x40]
mov ecx, 0x39
call rdi
mov r12d, eax
jmp 0x14001724f
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r12d, 0xc0000138
cmp r13, 0x10
jb 0x140017286
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14001727e
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400176dc
mov rcx, r14
call fcn.14004ed9c
test r12d, r12d
jns 0x140017405
mov r12d, dword [rsp + 0x5c]
mov edx, r12d
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x40], rax
call fcn.140015810
mov r13, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xor eax, eax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
lea r8d, [rax + 0x18]
lea rdx, str.NtQuerySystemInformation
lea rcx, [rbp - 0x80]
call fcn.1400058c0
nop
call fcn.140034b00
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rbp - 0x80]
mov rdi, qword [rbp - 0x80]
mov r15, qword [rbp - 0x68]
cmp r15, 0x10
cmovae rdx, rdi
xor ecx, ecx
mov r8, qword [rbp - 0x70]
test r8, r8
je 0x140017333
movabs r9, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor rbx, rax
imul rbx, r9
inc rcx
cmp rcx, r8
jb 0x140017320
mov r9, rbx
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x28]
mov rcx, r13
call fcn.140018100
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140017385
cmp rdx, qword [r13 + 8]
je 0x140017385
mov rbx, qword [rdx + 0x30]
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x14001738f
lea r9, [rsp + 0x5c]
mov r8d, r12d
mov r14, qword [rsp + 0x40]
mov rdx, r14
mov ecx, 0x39
call rbx
mov r12d, eax
jmp 0x14001739a
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r12d, 0xc0000138
mov r14, qword [rsp + 0x40]
cmp r15, 0x10
jb 0x1400173d1
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400173c9
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400176dc
mov rcx, rdi
call fcn.14004ed9c
test r12d, r12d
jns 0x140017409
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rbx, qword [rsp + 0x50]
mov dword [rbx], r12d
mov byte [rbx + 0x20], 0
lea rcx, [rsp + 0x60]
call fcn.14000b6e0
mov rax, rbx
jmp 0x1400176ac
lea r14, [rbp - 0x40]
mov rdi, r14
nop dword [rax]
cmp qword [rdi + 0x50], 0
je 0x140017538
mov ebx, dword [rsp + 0x20]
cmp qword [rsi + 0x10], 0
jne 0x14001742a
test ebx, ebx
je 0x140017450
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140017437
mov rcx, qword [rsi]
mov rdx, qword [rdi + 0x40]
call fcn.14005a6b4
test eax, eax
je 0x140017450
mov eax, ebx
cmp rax, qword [rdi + 0x50]
jne 0x140017538
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xor r15d, r15d
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r15w
mov qword [rbp - 0x58], r15
movdqa xmmword [rbp - 0x50], xmm0
mov eax, dword [rdi + 0x50]
mov dword [rbp - 0x80], eax
mov r9, qword [rdi + 0x40]
test r9, r9
je 0x1400174c5
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
inc rdx
cmp word [r9 + rdx*2], 0
jne 0x140017490
lea rcx, [rbp - 0x78]
cmp rdx, 7
ja 0x1400174c0
mov qword [rbp - 0x68], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call fcn.140050d50
mov word [rbp + rbx - 0x78], r15w
jmp 0x1400174c5
call fcn.140014740
mov rdx, qword [rsp + 0x68]
lea r8, [rbp - 0x80]
cmp rdx, qword [rsp + 0x70]
je 0x1400174e2
call fcn.1400182e0
add qword [rsp + 0x68], 0x40
jmp 0x1400174ed
lea rcx, [rsp + 0x60]
call fcn.140017db0
nop
lea rcx, [rbp - 0x58]
call fcn.14000bfa0
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x14001753b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017531
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400176e2
call fcn.14004ed9c
jmp 0x14001753b
xor r15d, r15d
mov eax, dword [rdi]
test eax, eax
je 0x140017549
add rdi, rax
jmp 0x140017410
mov rdx, qword [rsp + 0x68]
mov r8, rdx
mov rcx, qword [rsp + 0x60]
sub r8, rcx
sar r8, 6
xor r9d, r9d
call fcn.140018480
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov rcx, r15
mov qword [rsp + 0x38], rcx
mov rdi, qword [rsp + 0x68]
sub rdi, qword [rsp + 0x60]
sar rdi, 6
test rdi, rdi
je 0x140017663
movabs rax, 0x3ffffffffffffff
cmp rdi, rax
ja 0x1400176e8
shl rdi, 6
cmp rdi, 0x1000
jb 0x1400175e7
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x1400176ee
call fcn.14004eb10
test rax, rax
je 0x1400176d6
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400175fc
test rdi, rdi
je 0x1400175f9
mov rcx, rdi
call fcn.14004eb10
mov rbx, rax
jmp 0x1400175fc
mov rbx, r15
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rbx
lea rcx, [rdi + rbx]
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x28]
mov qword [rsp + 0x40], rax
mov rsi, qword [rsp + 0x68]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
lea rax, [rsp + 0x28]
mov qword [rbp - 0x70], rax
mov rdi, qword [rsp + 0x60]
cmp rdi, rsi
je 0x140017661
mov r8, rdi
mov rdx, rbx
call fcn.1400182e0
add rbx, 0x40
mov qword [rbp - 0x78], rbx
add rdi, 0x40
cmp rdi, rsi
jne 0x140017640
mov rcx, qword [rsp + 0x38]
jmp 0x140017668
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x50]
mov dword [rdi], r12d
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x28], r15
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rcx
mov byte [rdi + 0x20], 1
lea rcx, [rsp + 0x28]
call fcn.14000b6e0
nop
lea rcx, [rsp + 0x60]
call fcn.14000b6e0
mov rax, rdi
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14004eaf0
mov rbx, qword [rsp + 0x218]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14005a558
nop
call fcn.14005a558
int3
call fcn.14005a558
int3
call fcn.14000b770
int3
call fcn.1400012d0
int3