Function at 0x14000234c
Capabilities:
Allocate or change rwx memory
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rbx, qword [rsp + 0x70]
lea r14d, [r9 - 0x294]
mov esi, dword [rsp + 0x78]
mov ebp, ecx
add dword [rbx + 0x38], 0x19dd4
mov rdx, qword [section..data]
lea edi, [rsi - 0x17bd]
lea r15d, [rsi - 0x858]
mov eax, dword [rdx + 0x100]
cmp dword [rbx + 0x50], eax
jb 0x1400023aa
mov eax, dword [0x140013158]
xor dword [rdx + 0xf8], eax
jmp 0x1400023d0
mov r9d, dword [rbx + 0x5c]
xor ecx, ecx
mov edx, dword [rbx + 0x38]
add r9d, 0x40
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
add rax, 0x2800
mov qword [rbx + 0x110], rax
mov rcx, qword [section..data]
mov eax, dword [rcx + 0x15c]
sub eax, 0xe3c2d
mov dword [rcx + 0x90], eax
mov ecx, 0xfffe2de6
mov rax, qword [section..data]
sub ecx, dword [rax + 0xcc]
add dword [rbx + 0x90], ecx
mov rcx, qword [section..data]
mov eax, dword [rcx + 0x170]
cmp dword [rbx + 0x94], eax
jae 0x140002423
mov rax, qword [rcx + 0x110]
mov qword [rbx + 0xe8], rax
cmp dword [rbx + 0xf8], 0x8213
ja 0x140002445
mov ecx, dword [rbx + 0xd0]
mov rax, qword [section..data]
xor ecx, 0x786
mov dword [rax + 0x60], ecx
cmp dword [rbx + 0xac], 0x106c
je 0x14000245c
mov eax, 0xfffff87b
sub eax, dword [rbx + 0x5c]
add dword [rbx + 0x60], eax
lea eax, [r14 + 0xb4e]
cmp edi, eax
jge 0x1400026cb
mov eax, esi
xor eax, 0x11cf
cmp edi, eax
je 0x1400025a0
lea rax, [0x14000c750]
xor r9d, r9d
mov qword [rbx + 0xe0], rax
mov eax, dword [rbx + 0x94]
dec eax
xor dword [rbx + 0x5c], eax
mov rax, qword [rbx + 0xe0]
mov r8d, dword [r9 + rax]
add r9, 4
mov eax, dword [rbx + 0x158]
xor eax, 0x1d196f
sub dword [rbx + 0x128], eax
mov eax, dword [rbx + 0x148]
sub eax, 0x13dbca
xor dword [rbx + 4], eax
mov eax, dword [rbx + 0xb8]
xor eax, dword [0x140013088]
xor eax, 0xdf7676
or dword [rbx + 0x170], eax
imul r8d, dword [rbx + 0x60]
movsxd rcx, dword [0x1400130a0]
mov rax, qword [rbx + 0xe8]
mov edx, r8d
shr edx, 0x18
mov byte [rcx + rax], dl
mov edx, r8d
inc dword [0x1400130a0]
mov eax, dword [0x1400130e0]
add dword [rbx + 0x158], eax
mov rax, qword [0x1400130f8]
movsxd rcx, dword [rbx + 0x90]
shr edx, 0x10
mov byte [rcx + rax], dl
mov edx, r8d
inc dword [rbx + 0x90]
mov rcx, qword [section..data]
shr edx, 8
mov eax, dword [rcx + 0x11c]
xor eax, dword [0x140013180]
xor eax, 0xf568a
mov dword [rcx + 0x11c], eax
movsxd rcx, dword [0x1400130a0]
mov rax, qword [rbx + 0xe8]
mov byte [rcx + rax], dl
inc dword [0x1400130a0]
movsxd rcx, dword [rbx + 0x90]
mov rax, qword [rbx + 0xe8]
mov byte [rcx + rax], r8b
inc dword [rbx + 0x90]
cmp r9, 0x5d3c
jl 0x14000248b
cmp dword [rbx + 0x140], 0xf858
jb 0x1400025a0
mov eax, dword [0x140013088]
add eax, 0xff31b276
mov dword [rbx + 0x60], eax
lea eax, [rdi + 0xbd6]
cmp ebp, eax
jle 0x1400025dc
mov rax, qword [section..data]
mov ecx, dword [rax + 0xa8]
cmp dword [0x140013034], ecx
jb 0x1400026cb
mov eax, dword [rbx + 0xf8]
sub eax, dword [rbx + 0x148]
xor eax, 0xeefd3d79
sub dword [rbx + 0x60], eax
jmp 0x1400026cb
mov eax, dword [rbx + 0x3c]
and eax, dword [0x14001312c]
or eax, r15d
cmp dword [0x140013164], eax
jb 0x1400026cb
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, dword [rbx + 0x118]
mov ecx, r15d
and rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapLock]
mov rax, qword [section..data]
mov ecx, dword [rbx + 0xb8]
mov r10d, dword [rbx + 0x74]
and ecx, 0x3a0
mov r9d, dword [rbx + 0x140]
add r10d, edi
mov r8d, dword [rax + 0x16c]
sub ecx, 0x135e
or r8d, dword [rbx + 0x6c]
and r9d, dword [rbx + 0xf0]
sub r8d, 0x672
imul r11d, r14d, 0x17d0
movsxd rax, edi
movsxd rdx, r15d
xor rdx, rax
or rdx, 0xef5
sub r11d, dword [0x140013158]
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x20], r10d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x1400130d8]
or ebp, esi
add ecx, r14d
mov r8d, ebp
or dword [0x140013168], ecx
mov rcx, rbx
mov edx, dword [rbx + 0x118]
mov r9d, dword [rbx + 0x88]
add edx, 0x17d0
mov eax, dword [rbx + 0xa4]
imul edx, dword [rbx + 0x128]
add eax, 0x37d
imul r9d, r14d
mov dword [rsp + 0x20], eax
call fcn.140004778
mov edi, eax
mov rbx, qword [rsp + 0x50]
xor edi, 0x17d0
mov rbp, qword [rsp + 0x58]
mov eax, edi
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret