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

Disassembly:
mov qword [rsp + 0x18], r8
push rbp
push rsi
push r14
push r15
lea rbp, [rsp - 0x3f]
sub rsp, 0xa8
mov rax, qword [rdx + 8]
mov rsi, r9
mov r10, r8
mov r14, rdx
mov r15, rcx
cmp qword [rdx], rax
jne 0x1801699db
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, r10
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1801699c1
mov qword [r15], rax
mov rax, r15
mov byte [r15 + 8], 1
add rsp, 0xa8
pop r15
pop r14
pop rsi
pop rbp
ret
mov byte [r15], 0
mov rax, r15
mov byte [r15 + 8], 0
add rsp, 0xa8
pop r15
pop r14
pop rsi
pop rbp
ret
xorps xmm0, xmm0
mov qword [rsp + 0xd0], rbx
mov qword [rsp + 0xa0], rdi
lea rcx, [rbp - 9]
mov qword [rsp + 0x98], r12
mov qword [rsp + 0x90], r13
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [r14]
mov r13, 0xffffffffffffffff
mov rcx, qword [rax]
xor eax, eax
mov r12, rcx
sub r12, rsi
cmp rcx, rsi
cmovbe r12, rax
mov rax, r13
sub rax, rcx
cmp rax, rsi
jbe 0x180169a3f
lea r13, [rcx + rsi]
cmp r12, qword [rbp - 1]
xorps xmm0, xmm0
mov eax, dword [rbp + 0x1f]
cmovb r12, qword [rbp - 1]
cmp qword [rbp + 7], r13
movups xmmword [rbp - 0x39], xmm0
cmovb r13, qword [rbp + 7]
lea rdi, [rax - 1]
add rdi, rcx
dec rax
not rax
and rdi, rax
mov rbx, rdi
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
cmp rdi, r12
jbe 0x180169b63
mov qword [rbp + 0x6f], rsi
nop dword [rax]
nop word [rax + rax]
mov r9, qword [r14 + 8]
mov r8, qword [r14]
mov qword [rbp - 0x49], rbx
cmp r8, r9
je 0x180169ac8
mov rdx, qword [r8]
mov rax, rbx
sub rax, rdx
mov rcx, rdx
sub rcx, rbx
cmp rbx, rdx
cmovbe rax, rcx
cmp rax, rsi
ja 0x180169b63
add r8, 8
cmp r8, r9
jne 0x180169aa0
mov r8d, 0x30
lea rdx, [rbp - 0x39]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180169b63
cmp dword [rbp - 0x19], 0x10000
jne 0x180169b47
mov r9, qword [r14 + 8]
mov r8, qword [r14]
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x41], rbx
cmp r8, r9
je 0x180169b25
mov rdx, qword [r8]
mov rax, rbx
sub rax, rdx
mov rcx, rdx
sub rcx, rbx
cmp rbx, rdx
cmovbe rax, rcx
cmp rax, rsi
ja 0x180169b47
add r8, 8
cmp r8, r9
jne 0x180169b01
mov rdx, qword [rbp + 0x77]
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x180169c69
mov ebx, dword [rbp + 0x1f]
mov rax, qword [rbp - 0x31]
dec rbx
dec rax
not rbx
and rbx, rax
cmp rbx, r12
ja 0x180169a90
cmp rdi, r13
jae 0x180169c2f
mov qword [rbp + 0x6f], rsi
mov r9, qword [r14 + 8]
mov r8, qword [r14]
mov qword [rbp - 0x41], rdi
cmp r8, r9
je 0x180169ba8
mov rdx, qword [r8]
mov rax, rdi
sub rax, rdx
mov rcx, rdx
sub rcx, rdi
cmp rdi, rdx
cmovbe rax, rcx
cmp rax, rsi
ja 0x180169c2f
add r8, 8
cmp r8, r9
jne 0x180169b80
mov r8d, 0x30
lea rdx, [rbp - 0x39]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180169c2f
cmp dword [rbp - 0x19], 0x10000
jne 0x180169c22
mov r9, qword [r14 + 8]
mov r8, qword [r14]
mov qword [rbp - 0x41], rsi
mov qword [rbp - 0x49], rdi
cmp r8, r9
je 0x180169c04
nop dword [rax]
mov rdx, qword [r8]
mov rax, rdi
sub rax, rdx
mov rcx, rdx
sub rcx, rdi
cmp rdi, rdx
cmovbe rax, rcx
cmp rax, rsi
ja 0x180169c22
add r8, 8
cmp r8, r9
jne 0x180169be0
mov rdx, qword [rbp + 0x77]
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x180169c69
add rdi, qword [rbp - 0x21]
cmp rdi, r13
jb 0x180169b70
mov byte [r15], 1
mov byte [r15 + 8], 0
mov r12, qword [rsp + 0x98]
mov rax, r15
mov rdi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xd0]
mov r13, qword [rsp + 0x90]
add rsp, 0xa8
pop r15
pop r14
pop rsi
pop rbp
ret
mov qword [r15], rax
mov byte [r15 + 8], 1
jmp 0x180169c38