Function at 0x180011122
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x180015c70
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
lea rdi, [rsp + 0x20]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x180028490], eax
je 0x180015cbb
mov eax, 0x10dd
jmp 0x180015ef4
cmp dword [0x180028494], 0
je 0x180015ccf
mov eax, dword [0x180028494]
jmp 0x180015ef4
cmp qword [rsp + 0x98], 0
jne 0x180015ce4
mov eax, 0x57
jmp 0x180015ef4
cmp qword [rsp + 0x90], 0
jne 0x180015cf9
mov eax, 6
jmp 0x180015ef4
mov rax, qword [rsp + 0x90]
cmp qword [rax], 0
jne 0x180015d31
mov dword [rsp + 0x20], 6
mov eax, dword [rsp + 0x20]
mov dword [0x180028494], eax
mov rax, qword [rsp + 0x90]
mov qword [0x180028498], rax
mov eax, dword [rsp + 0x20]
jmp 0x180015ef4
mov ecx, 0x30
call fcn.180011046
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x180015da6
mov dword [rsp + 0x20], 8
mov eax, dword [rsp + 0x20]
mov dword [0x180028494], eax
cmp qword [rsp + 0x28], 0
je 0x180015d8e
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x70], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x70]
call fcn.180011433
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x90]
mov qword [0x180028498], rax
mov eax, dword [rsp + 0x20]
jmp 0x180015ef4
xor edx, edx
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax]
call fcn.18001131b
mov qword [rsp + 0x30], rax
xor edx, edx
mov rcx, qword [rsp + 0x98]
call fcn.18001131b
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x3e]
mov dword [rsp + 0x38], eax
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x38], 0
je 0x180015e0c
movsxd rax, dword [rsp + 0x38]
cmp rax, 0x1e
jbe 0x180015e29
mov dword [rsp + 0x20], 9
cmp dword [0x180028488], 0
je 0x180015e24
jmp 0x180015d64
jmp 0x180015d5a
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x98]
cmp qword [rax + 0x50], rcx
je 0x180015e59
mov dword [rsp + 0x20], 9
cmp dword [0x180028488], 0
je 0x180015e54
jmp 0x180015d64
jmp 0x180015d5a
mov dword [rsp + 0x54], 0
movsxd rax, dword [rsp + 0x38]
lea r9, [rsp + 0x54]
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180015e92
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
jmp 0x180015d5a
mov rax, qword [rsp + 0x28]
mov dword [rax + 8], 1
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x90]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x54]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x1800284a8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x1800284a8], rax
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180023dc0]
call fcn.180011447
mov rax, rdi
add rsp, 0x80
pop rdi
ret