Function at 0x140081400
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x1400f8010]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rsi, rcx
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
mov qword [rbp + 0x98], r14
mov qword [rbp + 0xa0], r14
lea r8d, [r14 + 0xe]
lea rdx, [0x1400e7f48]
lea rcx, [rbp + 0x88]
call fcn.14001fd30
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
mov qword [rbp + 0x78], r14
mov qword [rbp + 0x80], r14
lea r8d, [r14 + 0xe]
lea rdx, str.xxx_xxx____xxx
lea rcx, [rbp + 0x68]
call fcn.14001fd30
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
mov ebx, dword [rsi + 8]
movdqa xmmword [rbp + 0xb0], xmm0
mov qword [rbp + 0xc0], r14
mov qword [rbp + 0x130], r14
lea rcx, [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r8d, ebx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0xf8], rax
lea r8, [rbp + 0x68]
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0xb0]
call fcn.140027290
mov rdi, rax
add rdi, 0x14
jne 0x140081612
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xb0]
test rcx, rcx
je 0x14008158b
mov rax, qword [rbp + 0xc0]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081574
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140081a30
call fcn.14008600c
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xb0], xmm0
mov qword [rbp + 0xc0], r14
mov rdx, qword [rbp + 0x80]
cmp rdx, 0x10
jb 0x1400815ca
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400815c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140081a83
call fcn.14008600c
nop
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0x10
jb 0x14008160b
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081606
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140081ac8
call fcn.14008600c
xor al, al
jmp 0x140081ad4
mov eax, dword [rsi + 8]
mov dword [rbp], eax
mov r8, qword [rsi + 0x18]
lea rcx, [rbp]
call fcn.140024740
mov qword [rsi + 0x48], rax
mov r8, qword [rsi + 0x18]
lea rcx, [rbp]
call fcn.140024740
mov qword [rsi + 0x50], rax
mov r8, qword [rsi + 0x18]
lea rcx, [rbp]
call fcn.140024740
mov r8, rax
mov qword [rsi + 0x58], rax
mov rax, qword [rsi + 0x48]
add rax, 4
sub r8, rax
sub r8, 8
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rax
lea rdx, [rbp + 0x50]
call fcn.140024e90
nop
mov r8, qword [rsi + 0x50]
mov rax, qword [rsi + 0x48]
add rax, 0x16
sub r8, rax
sub r8, 7
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], rax
lea rdx, [rbp + 0x38]
call fcn.140024e90
nop
mov r8, qword [rsi + 0x58]
mov rax, qword [rsi + 0x48]
add rax, 0x26
sub r8, rax
sub r8, 8
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rax
lea rdx, [rbp + 0x20]
call fcn.140024e90
nop
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
movdqa xmm0, xmmword [0x1400e8350]
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [0x1400e8370]
movdqa xmmword [rsp + 0x40], xmm1
mov rcx, qword [rbp + 0x50]
mov eax, dword [rcx]
mov dword [rsp + 0x50], eax
mov eax, dword [rcx + 4]
mov dword [rsp + 0x54], eax
mov eax, dword [rcx + 8]
mov dword [rsp + 0x58], eax
mov eax, dword [rcx + 0xc]
mov dword [rsp + 0x5c], eax
movdqa xmm0, xmmword [0x1400e8400]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1400e83d0]
movdqa xmmword [rsp + 0x70], xmm1
movdqa xmm0, xmmword [0x1400e8410]
movdqa xmmword [rbp - 0x80], xmm0
mov dword [rbp - 0x70], 5
mov rcx, qword [rbp + 0x38]
mov eax, dword [rcx]
mov dword [rbp - 0x6c], eax
mov eax, dword [rcx + 4]
mov dword [rbp - 0x68], eax
mov eax, dword [rcx + 8]
mov dword [rbp - 0x64], eax
mov eax, dword [rcx + 0xc]
mov dword [rbp - 0x60], eax
mov dword [rbp - 0x5c], 0xf
mov dword [rbp - 0x58], 0x11
mov dword [rbp - 0x54], 0x40
movdqa xmm0, xmmword [0x1400e83e0]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x1400e83c0]
movdqa xmmword [rbp - 0x40], xmm1
mov dword [rbp - 0x30], 0x59
mov dword [rbp - 0x2c], 5
mov rcx, qword [rbp + 0x20]
mov eax, dword [rcx]
mov dword [rbp - 0x28], eax
mov eax, dword [rcx + 4]
mov dword [rbp - 0x24], eax
mov eax, dword [rcx + 8]
mov dword [rbp - 0x20], eax
mov eax, dword [rcx + 0xc]
mov dword [rbp - 0x1c], eax
mov dword [rbp - 0x18], 0xf3
mov dword [rbp - 0x14], 0xf
mov dword [rbp - 0x10], 0x11
mov dword [rbp - 0xc], 0x40
mov dword [rbp - 8], 0x20
mov ecx, 0xcc
call fcn.140085f00
mov qword [rbp + 8], rax
lea rbx, [rax + 0xcc]
mov qword [rbp + 0x18], rbx
mov r8d, 0xcc
lea rdx, [rsp + 0x30]
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0x10], rbx
lea r9, [rbp + 8]
mov r8, qword [rsi + 0x48]
mov rdx, rdi
lea rcx, [rbp]
call fcn.140024210
mov rsi, qword [rsi + 0x18]
add rdi, 5
mov ecx, 8
call fcn.1400860b8
mov rbx, rax
movabs rax, 0x9090909090909090
mov qword [rbx], rax
lea rax, [rbp]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8d, [r9 - 0x38]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rsp + 0x20], r14
mov r9d, 8
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rax, [rbp]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp]
mov r8d, 8
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, rbx
call fcn.14008600c
nop
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x1400818e1
mov rax, qword [rbp + 0x18]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400818db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400818db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008600c
nop
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x140081936
mov rax, qword [rbp + 0x30]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081925
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140081925
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008600c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r14
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x14008198b
mov rax, qword [rbp + 0x48]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008197a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008197a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008600c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], r14
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x1400819e0
mov rax, qword [rbp + 0x60]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400819cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400819cf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008600c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r14
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xb0]
test rcx, rcx
je 0x140081a4e
mov rax, qword [rbp + 0xc0]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081a37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140081a37
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008600c
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xb0], xmm0
mov qword [rbp + 0xc0], r14
mov rdx, qword [rbp + 0x80]
cmp rdx, 0x10
jb 0x140081a90
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081a8a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140081a8a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008600c
nop
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0x10
jb 0x140081ad4
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081acf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140081acf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008600c
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140085ee0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret