Function at 0x140003240
Capabilities:
Allocate or change rwx memory
Read file via mapping

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x14002a008]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, rcx
xor r12d, r12d
mov rdx, rcx
lea rcx, [rbp + 0xf]
call fcn.140003890
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
lea ecx, [r12 + 0x20]
call fcn.140003e90
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x21], 0x14
mov qword [rbp - 0x19], 0x1f
movups xmm0, xmmword [str.C:WindowsSystem32_]
movups xmmword [rax], xmm0
mov ecx, dword [0x140025fc8]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], r12b
mov r9, rbx
lea r8, [rbp - 0x31]
lea rcx, [rbp - 0x11]
call fcn.140003b60
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x14000330a
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003304
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003514
call fcn.140003ed4
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 0x10
jb 0x140003345
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003340
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000351a
call fcn.140003ed4
mov dword [rbp - 0x55], 0x7865742e
mov word [rbp - 0x51], 0x74
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1400034af
mov r9d, 0x18
lea r8, [rbp - 0x49]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov r14, qword [rbp - 0x49]
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 0x10
cmovae rcx, qword [rbp - 0x11]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor edx, edx
mov r8d, 0x1000002
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r15, rax
movsxd rsi, dword [r14 + 0x3c]
add rsi, r14
movzx edi, r12w
cmp r12w, word [rsi + 6]
jae 0x1400034af
nop word [rax + rax]
movzx eax, di
lea rbx, [rax*4 + 3]
movzx ecx, word [rsi + 0x14]
add rcx, rsi
add rbx, rax
lea rbx, [rcx + rbx*8]
mov rax, rbx
lea r8, [rbp - 0x55]
sub r8, rbx
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140003456
inc rax
test ecx, ecx
jne 0x140003443
test edx, edx
jne 0x1400034a2
mov dword [rbp - 0x59], r12d
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 0xc]
add rcx, r14
lea r9, [rbp - 0x59]
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [rbx + 0xc]
mov r8d, dword [rbx + 8]
lea rdx, [rax + r15]
lea rcx, [rax + r14]
call fcn.140009900
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 0xc]
add rcx, r14
lea r9, [rbp - 0x59]
mov r8d, dword [rbp - 0x59]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
inc di
cmp di, word [rsi + 6]
jb 0x140003420
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x1400034e6
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400034e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000350e
call fcn.140003ed4
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140003e70
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14000c628
nop
call fcn.14000c628
nop
call fcn.14000c628
int3