Function at 0x180011186
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x180015460
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
lea rdi, [rsp + 0x30]
mov ecx, 0x2c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov dword [rsp + 0x30], 0
cmp qword [rsp + 0x100], 0
je 0x1800154b7
mov rax, qword [rsp + 0x100]
mov qword [rax], 0
cmp qword [rsp + 0x108], 0
je 0x1800154d1
mov rax, qword [rsp + 0x108]
mov qword [rax], 0
cmp qword [rsp + 0x110], 0
je 0x1800154eb
mov rax, qword [rsp + 0x110]
mov qword [rax], 0
cmp qword [rsp + 0xf8], 0
jne 0x180015500
mov eax, 0x57
jmp 0x180015a8f
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x180028490], eax
je 0x180015518
mov eax, 0x10dd
jmp 0x180015a8f
cmp dword [0x180028494], 0
je 0x18001552c
mov eax, dword [0x180028494]
jmp 0x180015a8f
cmp qword [rsp + 0xf0], 0
jne 0x180015541
mov eax, 6
jmp 0x180015a8f
mov rax, qword [rsp + 0xf0]
cmp qword [rax], 0
jne 0x180015579
mov dword [rsp + 0x30], 6
mov eax, dword [rsp + 0x30]
mov dword [0x180028494], eax
mov rax, qword [rsp + 0xf0]
mov qword [0x180028498], rax
mov eax, dword [rsp + 0x30]
jmp 0x180015a8f
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.18001131b
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0xf8]
call fcn.18001131b
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0xf8], rax
jne 0x1800155e5
cmp dword [0x180028488], 0
je 0x1800155e1
jmp 0x18001565b
jmp 0x180015651
cmp qword [rsp + 0x108], 0
je 0x180015600
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
cmp qword [rsp + 0x110], 0
je 0x18001561e
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xf8]
mov qword [rax], rcx
mov ecx, 0x30
call fcn.180011046
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1800156d8
mov dword [rsp + 0x30], 8
mov eax, dword [rsp + 0x30]
mov dword [0x180028494], eax
cmp qword [rsp + 0x40], 0
je 0x180015690
mov rcx, qword [rsp + 0x40]
call fcn.180014320
mov qword [rsp + 0x40], 0
cmp qword [rsp + 0x100], 0
je 0x180015690
mov rax, qword [rsp + 0x100]
mov qword [rax], 0
cmp qword [rsp + 0x48], 0
je 0x1800156c0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xd0], rax
mov edx, 0x30
mov rcx, qword [rsp + 0xd0]
call fcn.180011433
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0xf0]
mov qword [0x180028498], rax
mov eax, dword [rsp + 0x30]
jmp 0x180015a8f
mov rcx, qword [rsp + 0x38]
call fcn.180013a60
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1800156fc
mov dword [rsp + 0x30], 8
jmp 0x180015651
cmp qword [rsp + 0x100], 0
je 0x180015717
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x40]
mov qword [rax], rcx
mov rax, qword [rsp + 0x40]
add rax, 0x40
mov r8d, 8
xor edx, edx
mov rcx, rax
call fcn.1800113ed
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
add rax, 0x1e
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x78], 5
mov dword [rsp + 0x7c], 0
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x74], eax
jae 0x180015885
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x94], 0
lea rax, [rsp + 0x94]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rsp + 0x50]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
call fcn.180011028
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x94]
add rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x7c]
movzx ecx, byte [rsp + 0x74]
and cl, 7
mov rdx, qword [rsp + 0x40]
movzx eax, byte [rdx + rax + 0x40]
and al, 0xf8
or al, cl
mov ecx, dword [rsp + 0x7c]
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx + 0x40], al
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x7c]
and al, 0x1f
shl al, 3
mov rdx, qword [rsp + 0x40]
movzx ecx, byte [rdx + rcx + 0x40]
and cl, 7
or cl, al
movzx eax, cl
mov ecx, dword [rsp + 0x7c]
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx + 0x40], al
mov eax, dword [rsp + 0x7c]
inc eax
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x7c]
cmp rax, 8
jb 0x18001586d
jmp 0x180015885
mov rcx, qword [rsp + 0x80]
call fcn.180011195
test eax, eax
je 0x180015880
jmp 0x180015885
jmp 0x18001576a
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x74], eax
jae 0x1800158da
mov rcx, qword [rsp + 0x50]
call fcn.18001103c
mov dword [rsp + 0xa4], eax
cmp dword [rsp + 0xa4], 0
jne 0x1800158ac
jmp 0x1800158da
movsxd rax, dword [rsp + 0xa4]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x74], eax
jmp 0x180015885
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x74], eax
jb 0x1800158ee
mov eax, dword [rsp + 0x7c]
cmp rax, 8
jbe 0x18001590b
mov dword [rsp + 0x30], 9
cmp dword [0x180028488], 0
je 0x180015906
jmp 0x18001565b
jmp 0x180015651
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x58], rax
jbe 0x180015918
int3
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x40]
mov byte [rcx + 0x1e], al
mov rax, qword [rsp + 0x40]
movzx ecx, byte [rsp + 0x74]
mov byte [rax + 0x3e], cl
mov eax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x40]
add rcx, 0x20
mov r8d, eax
mov rdx, qword [rsp + 0x38]
call fcn.180011280
mov eax, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x78]
mov edx, 0x1e
sub rdx, rcx
mov rcx, rdx
cmp rax, rcx
jbe 0x18001597c
mov dword [rsp + 0x30], 6
jmp 0x180015651
mov eax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x48], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xf8]
mov qword [rax + 0x50], rcx
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x1e]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x40]
add rax, 0x48
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call fcn.1800112b7
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
call fcn.180011415
mov qword [rsp + 0x58], rax
mov dword [rsp + 0xb4], 0
mov eax, dword [rsp + 0x74]
lea r9, [rsp + 0xb4]
mov r8d, 0x40
mov edx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180015a2a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
jmp 0x180015651
mov rax, qword [rsp + 0x48]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xf0]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0xb4]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x48]
mov rcx, qword [0x1800284a8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x48]
mov qword [0x1800284a8], rax
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180023d30]
call fcn.180011447
mov rax, rdi
add rsp, 0xe0
pop rdi
ret