Function at 0x1802b6d40
Capabilities:
Create process on windows

Disassembly:
mov byte [rsp + 0x20], r9b
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1d0
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov rax, qword [0x1806c4cd8]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov dword [rsp + 0x70], 0
mov byte [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
test eax, eax
jne 0x1802b6df4
movzx eax, byte [rsp + 0x1f8]
test eax, eax
je 0x1802b6df4
mov rcx, qword [rsp + 0x1e0]
call fcn.18007d760
mov qword [rsp + 0x78], rax
call fcn.1802b8190
mov rcx, qword [rsp + 0x78]
mov rdx, rcx
mov rcx, rax
call fcn.1802b8290
movzx eax, al
test eax, eax
jne 0x1802b6df4
mov byte [rsp + 0x51], 0
mov rcx, qword [rsp + 0x1e0]
call fcn.18007d7e0
nop
mov rcx, qword [rsp + 0x1e8]
call fcn.18007d7e0
movzx eax, byte [rsp + 0x51]
jmp 0x1802b7120
lea rax, [rsp + 0xb0]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rsp + 0x58]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov dword [rsp + 0xb0], WSAGetLastError
mov dword [rsp + 0xec], 0x80
mov rcx, qword [rsp + 0x1e8]
call fcn.18007d750
movzx eax, al
test eax, eax
jne 0x1802b6eaf
mov rcx, qword [rsp + 0x1e8]
call fcn.18007d760
movzx eax, word [rax]
cmp eax, 0x20
je 0x1802b6eaf
mov r8, qword [rsp + 0x1e8]
lea rdx, [0x1805e8ea4]
lea rcx, [rsp + 0x180]
call fcn.1800fd230
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x1e8]
call fcn.18007d800
nop
lea rcx, [rsp + 0x180]
call fcn.18007d7e0
lea rcx, [rsp + 0x120]
call fcn.18007d8a0
nop
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x1e0]
call fcn.18010c940
movzx eax, al
test eax, eax
jne 0x1802b6ee6
lea rcx, [rsp + 0x120]
call fcn.18007d770
mov r8, qword [rsp + 0x1e0]
lea rdx, [0x1805fd7dc]
lea rcx, [rsp + 0x1a0]
call fcn.1800fd230
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
lea r8, [0x1805fd7dc]
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x160]
call fcn.1800996e0
nop
lea rcx, [rsp + 0x1a0]
call fcn.18007d7e0
mov r8, qword [rsp + 0x1e8]
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x140]
call fcn.18010c6d0
nop
lea rcx, [rsp + 0x120]
call fcn.18007d760
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x140]
call fcn.18007d760
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x4000020
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1802b702a
mov byte [rsp + 0x52], 0
lea rcx, [rsp + 0x140]
call fcn.18007d7e0
nop
lea rcx, [rsp + 0x160]
call fcn.18007d7e0
nop
lea rcx, [rsp + 0x120]
call fcn.18007d7e0
nop
mov rcx, qword [rsp + 0x1e0]
call fcn.18007d7e0
nop
mov rcx, qword [rsp + 0x1e8]
call fcn.18007d7e0
movzx eax, byte [rsp + 0x52]
jmp 0x1802b7120
cmp qword [rsp + 0x200], 0
je 0x1802b7043
mov rax, qword [rsp + 0x200]
mov ecx, dword [rsp + 0x68]
mov dword [rax], ecx
movzx eax, byte [rsp + 0x1f0]
test eax, eax
je 0x1802b7099
cmp qword [rsp + 0x58], 0
je 0x1802b7099
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp qword [rsp + 0x208], 0
je 0x1802b7085
mov rdx, qword [rsp + 0x208]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x58], 0
cmp qword [rsp + 0x60], 0
je 0x1802b70b5
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x60], 0
cmp qword [rsp + 0x58], 0
je 0x1802b70d1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x58], 0
mov byte [rsp + 0x53], 1
lea rcx, [rsp + 0x140]
call fcn.18007d7e0
nop
lea rcx, [rsp + 0x160]
call fcn.18007d7e0
nop
lea rcx, [rsp + 0x120]
call fcn.18007d7e0
nop
mov rcx, qword [rsp + 0x1e0]
call fcn.18007d7e0
nop
mov rcx, qword [rsp + 0x1e8]
call fcn.18007d7e0
movzx eax, byte [rsp + 0x53]
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1804688c0
add rsp, 0x1d0
pop rdi
ret