Function at 0x140001080
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x410]
sub rsp, 0x510
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x400], rax
xor ebx, ebx
mov qword [rsp + 0x60], 0x100001
xorps xmm0, xmm0
mov dword [rsp + 0x20], ebx
mov rdi, rcx
mov qword [rsp + 0x30], rbx
lea rcx, [rbp + 0xd0]
mov qword [rsp + 0x38], rbx
xor edx, edx
mov qword [rsp + 0x40], rbx
mov r8d, pe_nt_image_headers64
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], rbx
mov qword [rbp], rbx
mov qword [rbp + 8], rbx
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x28], rbx
mov dword [rbp + 0x30], ebx
mov qword [rbp + 0x34], rbx
mov qword [rbp + 0x3c], rbx
mov qword [rbp + 0x44], rbx
mov dword [rbp + 0x4c], ebx
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
lea rcx, [rbp + 0x230]
xor edx, edx
mov r8d, 0x1a0
movups xmmword [rbp + 0x1d0], xmm0
movups xmmword [rbp + 0x1e0], xmm0
movups xmmword [rbp + 0x1f0], xmm0
movups xmmword [rbp + 0x200], xmm0
movups xmmword [rbp + 0x210], xmm0
movups xmmword [rbp + 0x220], xmm0
call sub.VCRUNTIME140.dll_memset
mov edx, 0x110
mov qword [rbp + 0x3d0], rbx
xor ecx, ecx
mov qword [rbp + 0x3d8], rbx
lea r9d, [rbx + 4]
mov qword [rbp + 0x3e0], rbx
mov r8d, 0x3000
mov qword [rbp + 0x3e8], rbx
mov qword [rbp + 0x3f0], rbx
mov qword [rbp + 0x3f8], rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x14000123f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____VirtualAlloc_Failed_With_Error_:__d__n
call fcn.140001010
xor eax, eax
jmp 0x14000133b
mov rcx, rbx
lea rax, [0x140005040]
mov r8d, 2
nop
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub r8, 1
jne 0x140001250
movups xmm0, xmmword [rax]
lea r9, [rsp + 0x20]
mov edx, 0x110
mov r8d, 0x40
movups xmmword [rcx], xmm0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400012de
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____VirtualProtect_Failed_With_Error_:__d__n
call fcn.140001010
xor eax, eax
jmp 0x14000133b
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x140001308
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____GetThreadContext_Failed_With_Error_:__d__n
call fcn.140001010
xor eax, eax
jmp 0x14000133b
lea rdx, [rsp + 0x30]
mov qword [rbp + 0x28], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x140001336
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____SetThreadContext_Failed_With_Error_:__d__n
call fcn.140001010
xor eax, eax
jmp 0x14000133b
mov eax, 1
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.140001470
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret