Function at 0x140031590
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 - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1400f0020]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rsi, r8
mov r15, rcx
mov qword [rsp + 0x20], rcx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
xor r12d, r12d
mov dword [rsp + 0x48], r12d
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r13d, r12d
mov qword [rbp - 0x60], r12
call fcn.140023e20
mov rdi, rax
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], r12b
lea rdx, str.NtQuerySystemInformation
lea rcx, [rsp + 0x50]
call fcn.1400069f0
nop
call fcn.140045d40
lea r14, [rdi + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
movabs rbx, 0xcbf29ce484222325
mov r9, rbx
mov ecx, r12d
movabs r10, 0x100000001b3
mov r8, qword [rsp + 0x60]
test r8, r8
je 0x140031673
nop
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140031660
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140025420
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400316c1
cmp rdx, qword [rdi + 8]
je 0x1400316c1
mov rdi, qword [rdx + 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rdi, rdi
je 0x1400316ca
lea r9, [rsp + 0x48]
mov r8d, 0x100
lea rdx, [rbp - 0x50]
mov ecx, 0x39
call rdi
mov r12d, eax
jmp 0x1400316d0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r12d, 0xc0000138
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14003170d
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031708
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031b87
call fcn.14006a754
test r12d, r12d
jns 0x14003188d
mov r12d, dword [rsp + 0x48]
mov edx, r12d
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x20], rax
call fcn.140023e20
mov r14, rax
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
lea rdx, str.NtQuerySystemInformation
lea rcx, [rsp + 0x50]
call fcn.1400069f0
nop
call fcn.140045d40
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
xor ecx, ecx
mov r8, qword [rsp + 0x60]
test r8, r8
je 0x1400317b3
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor rbx, rax
imul rbx, r9
inc rcx
cmp rcx, r8
jb 0x1400317a0
mov r9, rbx
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.140025420
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140031806
cmp rdx, qword [r14 + 8]
je 0x140031806
mov rbx, qword [rdx + 0x30]
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140031810
lea r9, [rsp + 0x48]
mov r8d, r12d
mov rdi, qword [rsp + 0x20]
mov rdx, rdi
mov ecx, 0x39
call rbx
mov r12d, eax
jmp 0x14003181b
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r12d, 0xc0000138
mov rdi, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140031858
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031853
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031b8d
call fcn.14006a754
test r12d, r12d
jns 0x14003188d
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [r15], r12d
xorps xmm0, xmm0
movups xmmword [r15 + 8], xmm0
movups xmmword [r15 + 0x18], xmm0
mov byte [r15 + 8], 0
mov byte [r15 + 0x20], 0
jmp 0x140031b4b
mov rbx, qword [rsp + 0x20]
mov rdi, qword [rbp - 0x68]
nop word [rax + rax]
cmp qword [rbx + 0x50], 0
je 0x1400319fa
cmp qword [rsi + 0x10], 0
je 0x1400318d7
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400318bf
mov rcx, qword [rsi]
mov rdx, qword [rbx + 0x40]
call fcn.140099b40
test eax, eax
je 0x1400318d7
cmp qword [rbx + 0x50], 0
jne 0x1400319fa
xor r14d, r14d
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r14w
mov qword [rsp + 0x78], r14
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
mov eax, dword [rbx + 0x50]
mov dword [rsp + 0x50], eax
mov rdx, qword [rbx + 0x40]
test rdx, rdx
je 0x140031915
lea rcx, [rsp + 0x58]
call fcn.140006890
cmp rdi, r13
je 0x140031931
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14001c52c
add rdi, 0x40
mov qword [rbp - 0x68], rdi
jmp 0x14003194a
lea r8, [rsp + 0x50]
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.140031d40
mov r13, qword [rbp - 0x60]
mov rdi, qword [rbp - 0x68]
mov r8, qword [rsp + 0x78]
test r8, r8
je 0x1400319b8
mov rcx, qword [rbp - 0x78]
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 3
mov rax, r8
cmp rdx, 0x1000
jb 0x1400319a3
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031b93
mov rcx, r8
call fcn.14006a754
mov qword [rsp + 0x78], r14
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1400319fa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400319f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031b93
call fcn.14006a754
mov eax, dword [rbx]
test eax, eax
je 0x140031a08
add rbx, rax
jmp 0x1400318a0
mov r14, rdi
mov rsi, qword [rbp - 0x70]
sub r14, rsi
sar r14, 6
movzx r9d, byte [rsp + 0x28]
mov r8, r14
mov rdx, rdi
mov rcx, rsi
call fcn.140031f10
xor edx, edx
mov r8d, 0x8000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
xor r13d, r13d
mov ecx, r13d
mov qword [rsp + 0x40], rcx
cmp rsi, rdi
je 0x140031b14
movabs rax, 0x3ffffffffffffff
cmp r14, rax
ja 0x140031b81
shl r14, 6
cmp r14, 0x1000
jb 0x140031aa3
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x140031b81
call fcn.14006a75c
test rax, rax
je 0x140031b99
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140031ab8
test r14, r14
je 0x140031ab5
mov rcx, r14
call fcn.14006a75c
mov rbx, rax
jmp 0x140031ab8
mov rbx, r13
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
lea rax, [rbx + r14]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rax
nop dword [rax]
mov rdx, rsi
mov rcx, rbx
call fcn.14001c52c
add rbx, 0x40
mov qword [rsp + 0x58], rbx
add rsi, 0x40
cmp rsi, rdi
jne 0x140031af0
mov rcx, qword [rsp + 0x40]
jmp 0x140031b19
mov rbx, qword [rsp + 0x38]
mov dword [r15], r12d
mov rax, qword [rsp + 0x30]
mov qword [r15 + 8], rax
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], rcx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r13
mov byte [r15 + 0x20], 1
lea rcx, [rsp + 0x30]
call fcn.14001add8
nop
lea rcx, [rbp - 0x70]
call fcn.14001add8
mov rax, r15
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14006a730
mov rbx, qword [rsp + 0x208]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400011a0
nop
call fcn.140097d64
int3
call fcn.140097d64
int3
call fcn.140097d64
int3
call fcn.140097d64
int3