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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1d8
mov rdi, rcx
mov rax, qword [0x180046008]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
lea rsi, [rsp + 0x170]
mov qword [rsp + 0x120], rsi
mov rax, qword [rsp + 0x120]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x128], rcx
mov qword [rsp + 0x90], rdi
mov eax, 0x50d45461
mov qword [rsp + 0xd8], rdi
cmp eax, 0x1f44af7
jle 0x1800223b9
cmp eax, 0x48a51838
jg 0x18002241f
cmp eax, 0x2509e6fb
jle 0x1800224eb
cmp eax, 0x2e35464c
jg 0x18002261c
cmp eax, 0x2509e6fc
je 0x1800226cd
cmp eax, 0x25e4810c
jne 0x18002234f
mov qword [rsp + 0xc0], rbx
cmp qword [rsp + 0xc0], 0
mov eax, 0x79eddc0f
mov ecx, 0x1f44af8
cmove eax, ecx
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0x110], rcx
jmp 0x18002234f
cmp eax, 0xcb19b90f
jle 0x18002249a
cmp eax, 0xefe3cc0e
jle 0x180022559
cmp eax, 0xf41db100
jg 0x180022649
cmp eax, 0xefe3cc0f
je 0x18002271c
cmp eax, 0xf0f70716
jne 0x18002234f
mov rax, qword [rsp + 0x100]
add rax, 0xfffffffffffff001
mov qword [rsp + 0x98], rax
mov eax, 0x9abf3784
mov rcx, qword [0x1800474d8]
mov qword [rsp + 0x108], rcx
jmp 0x18002234f
cmp eax, 0x55aa5341
jle 0x180022599
cmp eax, 0x79eddc0e
jg 0x18002267b
cmp eax, 0x55aa5342
je 0x1800229b0
cmp eax, 0x69d6b02a
jne 0x18002234f
mov rcx, qword [rsp + 0xa8]
mov edx, 0x1000
mov r8d, 0x3000
mov r9d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
mov eax, 0x532bb242
mov ecx, 0x14f52475
cmove eax, ecx
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0xf8], rcx
mov qword [rsp + 0xf0], rsi
jmp 0x18002234f
cmp eax, 0x9f43dfc1
jg 0x1800225cc
cmp eax, 0x8fd5c497
jle 0x1800226a8
cmp eax, 0x8fd5c498
je 0x1800229f7
cmp eax, 0x9abf3784
jne 0x18002234f
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
mov eax, 0xa59e9014
mov ecx, 0xd8dbd58e
cmove eax, ecx
jmp 0x18002234f
cmp eax, 0x1f44af8
je 0x180022a1c
cmp eax, 0x130370ef
je 0x180022a3e
cmp eax, 0x14f52475
jne 0x18002234f
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x98]
cmp rcx, rax
mov eax, 0xefe3cc0f
mov ecx, 0x532bb242
cmovb eax, ecx
mov rsi, qword [rsp + 0x160]
jmp 0x18002234f
cmp eax, 0xcb19b910
je 0x180022a63
cmp eax, 0xcc755536
je 0x180022a7d
cmp eax, 0xd8dbd58e
jne 0x18002234f
mov eax, 0x48a51839
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0xe0], rcx
mov qword [rsp + 0xe8], rdi
jmp 0x18002234f
cmp eax, 0x48a51839
je 0x180022ab6
cmp eax, 0x50d45461
je 0x180022b03
cmp eax, 0x532bb242
jne 0x18002234f
mov eax, 0x79eddc0f
mov qword [rsp + 0x110], rsi
jmp 0x18002234f
cmp eax, 0x9f43dfc2
je 0x180022b30
cmp eax, 0xa0874eaa
je 0x180022e05
cmp eax, 0xa59e9014
jne 0x18002234f
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
cmp rax, qword [rsp + 0xb8]
mov eax, 0x8fd5c498
mov ecx, 0x84890b24
cmovb eax, ecx
jmp 0x18002234f
cmp eax, 0x2e35464d
je 0x180022e5c
cmp eax, 0x333bef61
jne 0x18002234f
mov eax, 0x837e2081
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0xd0], rcx
jmp 0x18002234f
cmp eax, 0xf41db101
je 0x180022ebb
cmp eax, 0xfe354de4
jne 0x18002234f
mov rax, qword [rsp + 0x40]
cmp qword [rax + 8], 0
mov eax, 0x333bef61
mov ecx, 0x84890b24
cmove eax, ecx
jmp 0x18002234f
cmp eax, 0x79eddc0f
je 0x180022ed2
cmp eax, 0x7adade80
jne 0x18002234f
mov eax, 0x837e2081
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0xd0], rcx
jmp 0x18002234f
cmp eax, 0x84890b24
jne 0x180022ef7
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x108], rax
mov eax, 0x9abf3784
jmp 0x18002234f
mov rcx, qword [rsp + 0xa0]
mov edx, 0x1000
mov r8d, 0x3000
mov r9d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
mov eax, 0x25e4810c
mov ecx, 0x48a51839
cmove eax, ecx
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0xe8], rcx
mov qword [rsp + 0xe0], rbx
jmp 0x18002234f
mov qword [rsp + 0x168], rbx
mov ecx, dword [rsp + 0x198]
mov r14, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x158]
mov qword [rsp + 0x48], rcx
mov rax, rbx
xor edx, edx
div qword [rsp + 0x48]
movabs rax, 0xf64d7c4a834c557b
add rbx, rax
sub rbx, rdx
sub rbx, rax
add rbx, qword [rsp + 0x48]
lea r15d, [rcx - 1]
mov eax, 0x737d9a9f
cmp eax, 0x74e9d97
jle 0x1800227a0
cmp eax, 0x698f2f27
jg 0x1800227da
cmp eax, 0x74e9d98
je 0x180022877
cmp eax, 0x3853b0ae
je 0x180022890
cmp eax, 0x64609910
jne 0x18002276b
mov eax, 0xd3962232
xor r12d, r12d
jmp 0x18002276b
cmp eax, 0xdfa04a4d
jle 0x18002281f
cmp eax, 0xdfa04a4e
je 0x1800228b0
cmp eax, 0xfd1ff510
je 0x180022901
cmp eax, 0xfd93f523
jne 0x18002276b
mov rdi, qword [rsp + 0x50]
mov eax, 0x3853b0ae
mov ebp, 3
mov rsi, qword [rsp + 0x28]
jmp 0x18002276b
cmp eax, 0x698f2f28
je 0x18002291a
cmp eax, 0x7bfcb362
je 0x180022937
cmp eax, 0x737d9a9f
jne 0x18002276b
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x50], r13
mov rax, qword [rsp + 0x28]
cmp rax, r14
mov eax, 0xab9cc110
mov ecx, 0x64609910
cmova eax, ecx
jmp 0x18002276b
cmp eax, 0xa5a58d95
je 0x180022946
cmp eax, 0xab9cc110
jne 0x18002296a
lea rdx, [rsp + 0x1a0]
mov qword [rsp + 0x58], rdx
mov rax, qword [rsp + 0x58]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
mov r8d, 0x30
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
mov eax, 0x698f2f28
mov ecx, 0xfd93f523
cmove eax, ecx
jmp 0x18002276b
mov eax, dword [rsp + 0x38]
cmp eax, 3
mov eax, 0x64609910
mov ecx, 0xa5a58d95
cmovl eax, ecx
jmp 0x18002276b
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0xc8], rsi
mov qword [rsp + 0x68], rdi
mov rax, qword [rsp + 0x58]
mov eax, 0x74e9d98
jmp 0x18002276b
mov rsi, qword [rsp + 0x1a0]
add rsi, r15
movabs rax, 0x870453f4e9cdd18c
add rsi, rax
add rsi, qword [rsp + 0x1b8]
sub rsi, rax
xor ebp, ebp
mov rax, rsi
xor edx, edx
div qword [rsp + 0x48]
movabs rax, 0xed9f3a133a274899
sub rsi, rax
sub rsi, rdx
add rsi, rax
mov eax, 0x3853b0ae
mov rdi, qword [rsp + 0x50]
jmp 0x18002276b
mov rdi, qword [rsp + 0x60]
mov eax, 0x3853b0ae
mov ebp, 1
mov rsi, qword [rsp + 0x28]
jmp 0x18002276b
cmp dword [rsp + 0x1c0], 0x10000
mov eax, 0xdfa04a4e
mov ecx, 0xfd1ff510
cmove eax, ecx
jmp 0x18002276b
mov eax, 0xd3962232
mov r12, qword [rsp + 0x68]
jmp 0x18002276b
cmp dword [rsp + 0x38], 0
mov eax, 0x7bfcb362
mov ecx, 0x737d9a9f
cmove eax, ecx
mov r13, qword [rsp + 0x68]
mov rbx, qword [rsp + 0xc8]
jmp 0x18002276b
cmp eax, 0xd3962232
jne 0x18002276b
mov qword [rsp + 0xa8], r12
cmp qword [rsp + 0xa8], 0
mov eax, 0x69d6b02a
mov ecx, 0x532bb242
cmove eax, ecx
mov rsi, qword [rsp + 0x160]
mov rdi, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0x168]
jmp 0x18002234f
mov rax, qword [rsp + 0x30]
add rax, 0x40
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x30]
add rax, 8
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rax], 0
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x10], 0
mov eax, 0x2e35464d
jmp 0x18002234f
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x140]
cmp rcx, rax
mov eax, 0x84890b24
mov ecx, 0xfe354de4
cmovb eax, ecx
jmp 0x18002234f
mov eax, 0x14f52475
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0xf0], rcx
mov qword [rsp + 0xf8], rdi
jmp 0x18002234f
mov rax, qword [0x1800474d8]
mov rcx, qword [rsp + 0x30]
mov qword [rcx], rax
mov rax, qword [rsp + 0x30]
mov qword [0x1800474d8], rax
mov eax, 0x7adade80
jmp 0x18002234f
mov eax, 0xf0f70716
mov rcx, qword [rsp + 0x138]
mov qword [rsp + 0x100], rcx
jmp 0x18002234f
mov rax, qword [rsp + 0x90]
mov rcx, 0xffffffffc0000000
add rax, rcx
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x88]
cmp rax, qword [rsp + 0x130]
mov eax, 0xa0874eaa
mov ecx, 0xf41db101
cmovb eax, ecx
jmp 0x180022b1e
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x148]
mov rcx, qword [rsp + 0xb8]
cmp rcx, rax
mov eax, 0x9f43dfc2
mov ecx, 0x25e4810c
cmova eax, ecx
mov rbx, qword [rsp + 0x150]
jmp 0x18002234f
mov rax, qword [rsp + 0x90]
cmp rax, 0x40000001
mov eax, 0xa0874eaa
mov ecx, 0xcc755536
cmovae eax, ecx
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x78], rcx
jmp 0x18002234f
mov rdi, rsi
mov eax, dword [rsp + 0x198]
mov rbx, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0x148]
mov qword [rsp + 0x38], rax
mov rax, rsi
xor edx, edx
div qword [rsp + 0x38]
add rdx, qword [rsp + 0x38]
movabs rax, 0xb3bb75e3cbeb83c7
add rsi, rax
sub rsi, rdx
sub rsi, rax
mov ecx, 0xf96174e6
cmp ecx, 0x2b2b95e3
jg 0x180022bc6
cmp ecx, 0xf96174e5
jle 0x180022bf4
cmp ecx, 0x831ea35
jg 0x180022c6b
cmp ecx, 0xf96174e6
je 0x180022cf7
cmp ecx, 0x21e9624
jne 0x180022b76
cmp dword [rsp + 0x74], 0
mov ecx, 0xf96174e6
je 0x180022bb7
mov ecx, 0xe33ba9b2
mov r13, qword [rsp + 0x68]
mov rsi, qword [rsp + 0xc8]
jmp 0x180022b76
cmp ecx, 0x5f2a0ef9
jg 0x180022c27
cmp ecx, 0x4ab951e5
jle 0x180022ca6
cmp ecx, 0x4ab951e6
je 0x180022d1e
cmp ecx, 0x56b912fa
je 0x180022c8c
jmp 0x180022b76
cmp ecx, 0xa7eef3db
je 0x180022d38
cmp ecx, 0xbad54c37
je 0x180022d59
cmp ecx, 0xe33ba9b2
jne 0x180022b76
mov ecx, 0x3dd5f5d3
mov r15, qword [rsp + 0x68]
jmp 0x180022b76
cmp ecx, 0x5f2a0efa
je 0x180022d75
cmp ecx, 0x719b23e3
je 0x180022d94
cmp ecx, 0x7cc3d846
jne 0x180022b76
cmp dword [rsp + 0x1c0], 0x10000
mov ecx, 0x4ab951e6
je 0x180022b76
mov ecx, 0x719b23e3
jmp 0x180022b76
cmp ecx, 0x831ea36
je 0x180022c8c
cmp ecx, 0xff29977
jne 0x180022b76
mov ecx, 0x3dd5f5d3
xor r15d, r15d
jmp 0x180022b76
mov r14, qword [rsp + 0x50]
mov ecx, 0xa7eef3db
mov r12d, 3
mov rbp, qword [rsp + 0x28]
jmp 0x180022b76
cmp ecx, 0x2b2b95e4
jne 0x180022dc3
lea rdx, [rsp + 0x1a0]
mov qword [rsp + 0x48], rdx
mov rax, qword [rsp + 0x48]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
mov r8d, 0x30
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov ecx, 0x831ea36
test rax, rax
je 0x180022b76
mov ecx, 0x7cc3d846
jmp 0x180022b76
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x50], r13
mov rax, qword [rsp + 0x28]
mov ecx, 0xff29977
cmp rax, rbx
jb 0x180022b76
mov ecx, 0x2b2b95e4
jmp 0x180022b76
mov r14, qword [rsp + 0x58]
mov ecx, 0xa7eef3db
mov r12d, 1
mov rbp, qword [rsp + 0x28]
jmp 0x180022b76
mov dword [rsp + 0x74], r12d
mov qword [rsp + 0xc8], rbp
mov qword [rsp + 0x68], r14
mov rax, qword [rsp + 0x48]
mov ecx, 0xbad54c37
jmp 0x180022b76
mov eax, dword [rsp + 0x74]
mov ecx, 0x21e9624
cmp eax, 3
jl 0x180022b76
mov ecx, 0xff29977
jmp 0x180022b76
mov rax, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x60]
sub rbp, rax
mov ecx, 0xa7eef3db
xor r12d, r12d
mov r14, qword [rsp + 0x50]
jmp 0x180022b76
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x60]
mov ecx, 0x56b912fa
cmp rdx, rax
jb 0x180022b76
mov ecx, 0x5f2a0efa
jmp 0x180022b76
cmp ecx, 0x3dd5f5d3
jne 0x180022b76
mov qword [rsp + 0xa0], r15
cmp qword [rsp + 0xa0], 0
mov eax, 0x2509e6fc
mov ecx, 0x25e4810c
cmove eax, ecx
mov rbx, qword [rsp + 0x150]
mov rsi, rdi
mov rdi, qword [rsp + 0xd8]
jmp 0x18002234f
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x90]
mov ecx, 0x40000000
add rax, rcx
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x128]
cmp rax, qword [rsp + 0x138]
mov eax, 0xf0f70716
mov ecx, 0xcb19b910
cmova eax, ecx
mov rcx, qword [rsp + 0x128]
mov qword [rsp + 0x100], rcx
jmp 0x18002234f
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x118]
mov qword [rdx], rax
mov rax, qword [rsp + 0xb0]
mov qword [rax], rdx
movabs rcx, 0x15017e9c6c8d5db5
lea rax, [rdx + rcx]
add rax, 0x40
add rdx, 0x40
mov qword [rsp + 0x118], rdx
sub rax, qword [rsp + 0x30]
sub rax, rcx
cmp rax, 0xfc1
mov eax, 0x130370ef
mov ecx, 0x2e35464d
cmovb eax, ecx
jmp 0x18002234f
mov eax, 0xa0874eaa
mov rcx, qword [rsp + 0x130]
mov qword [rsp + 0x78], rcx
jmp 0x18002234f
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
mov eax, 0x55aa5342
mov ecx, 0x7adade80
cmove eax, ecx
jmp 0x18002234f
cmp eax, 0x837e2081
jne 0x18002234f
mov rax, qword [rsp + 0x120]
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x80], rax
mov ecx, 0x292f28a8
mov eax, 0xe20821e5
cmp ecx, 0x292f28a7
jg 0x180022f45
cmp ecx, 0x9bd128fd
je 0x180022f8d
cmp ecx, 0xe20821e5
jne 0x180022f24
mov ecx, 0x9bd128fd
xor esi, esi
jmp 0x180022f24
cmp ecx, 0x7236a406
je 0x180022f68
cmp ecx, 0x292f28a8
jne 0x180022f24
cmp qword [rsp + 0x80], 0
mov ecx, 0x7236a406
cmove ecx, eax
jmp 0x180022f24
mov rcx, qword [rsp + 0x80]
mov rsi, qword [rcx + 8]
mov rdx, qword [rsi]
mov qword [rcx + 8], rdx
mov rcx, qword [rsp + 0x80]
inc dword [rcx + 0x10]
mov ecx, 0x9bd128fd
jmp 0x180022f24
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.180026fa0
mov rax, rsi
add rsp, 0x1d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret