Function at 0x140085560
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x3b8
xor edx, edx
xor ecx, ecx
call fcn.14000f5a0
mov rdx, rax
lea rcx, [rsp + 0x2c0]
call fcn.140002e20
lea rcx, [rsp + 0x210]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x58]
lea rcx, [rsp + 0x210]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xa0]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x3d0]
cmp qword [rax], 0
je 0x140085770
lea rax, [rsp + 0x230]
mov rdi, rax
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x3d0]
mov rax, qword [rax]
lea rcx, [rsp + 0x220]
mov rdi, rcx
lea rsi, [rax + 8]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xd0]
lea rcx, [rsp + 0x220]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r9, [rsp + 0xd0]
lea r8, [0x14022d06c]
lea rdx, [rsp + 0x230]
mov rcx, qword [rsp + 0x58]
call fcn.14000c6e0
mov rax, qword [rsp + 0x3d0]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
jmp 0x140085671
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x1400856b0
lea rax, [rsp + 0xe0]
mov rcx, qword [rsp + 0x68]
mov rdi, rax
lea rsi, [rcx + 8]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0x230]
mov rcx, qword [rsp + 0x58]
call fcn.14000c540
jmp 0x140085664
mov qword [rsp + 0x280], 0
lea rax, [rsp + 0x288]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
mov r8d, 1
lea rdx, [0x14022d080]
lea rcx, [rsp + 0x320]
call fcn.14000a070
lea rcx, [rsp + 0xf0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x290]
lea rcx, [rsp + 0xf0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r9, [rsp + 0x280]
lea r8, [rsp + 0x230]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x330]
call fcn.14000cab0
lea rcx, [rsp + 0x100]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xa0]
lea rcx, [rsp + 0x100]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x250], 0
lea rax, [rsp + 0x258]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
mov r8d, 1
lea rdx, [0x14022d0a4]
lea rcx, [rsp + 0x2b0]
call fcn.14000a070
lea rcx, [rsp + 0x110]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x260]
lea rcx, [rsp + 0x110]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r8d, 1
lea rdx, [0x14022d0b8]
lea rcx, [rsp + 0x310]
call fcn.14000a070
lea rcx, [rsp + 0x120]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x270]
lea rcx, [rsp + 0x120]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xb0]
mov rcx, qword [rsp + 0x3d0]
mov rdi, rax
lea rsi, [rcx + 0x30]
mov ecx, 0x20
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x3d0]
cmp dword [rax + 0x50], 0
je 0x140085926
mov r8d, 0x20
xor edx, edx
lea rcx, [rsp + 0xb0]
call fcn.140226b00
mov rax, qword [rsp + 0x3d0]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x70], rax
jmp 0x14008588d
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x1400858cc
lea rax, [rsp + 0x130]
mov rcx, qword [rsp + 0x70]
mov rdi, rax
lea rsi, [rcx + 8]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x130]
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x58]
call fcn.14000c540
jmp 0x140085880
mov rax, qword [0x1402e7cd0]
mov qword [rsp + 0x78], rax
jmp 0x1400858e7
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x140085926
lea rax, [rsp + 0x140]
mov rcx, qword [rsp + 0x78]
mov rdi, rax
lea rsi, [rcx + 8]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x140]
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x58]
call fcn.14000c540
jmp 0x1400858da
lea r9, [rsp + 0x250]
lea r8, [rsp + 0xb0]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x2d0]
call fcn.14000cab0
lea rcx, [rsp + 0x150]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1a0]
lea rcx, [rsp + 0x150]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x160]
lea rcx, [rsp + 0xa0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x160]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x2e0]
call fcn.14000e430
lea rcx, [rsp + 0x170]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1f0]
lea rcx, [rsp + 0x170]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x180]
mov rcx, qword [rsp + 0x3d0]
mov rdi, rax
lea rsi, [rcx + 0x20]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x180]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x2f0]
call fcn.14000e430
lea rcx, [rsp + 0x190]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1d0]
lea rcx, [rsp + 0x190]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1b0]
lea rcx, [rsp + 0x1a0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x1b0]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x300]
call fcn.14000e430
lea rcx, [rsp + 0x1c0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1e0]
lea rcx, [rsp + 0x1c0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x80], 0x401
mov dword [rsp + 0x340], 0x68
lea rax, [rsp + 0x348]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
lea rax, [rsp + 0x88]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
call qword [sym.imp.KERNEL32.dll_AllocConsole]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x340]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x1f0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140085b94
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x50], eax
mov dword [0x1402e7ca4], 1
call qword [sym.imp.KERNEL32.dll_FreeConsole]
xor edx, edx
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_SetStdHandle]
xor edx, edx
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_SetStdHandle]
xor edx, edx
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_SetStdHandle]
lea rax, [rsp + 0x200]
lea rcx, [rsp + 0x58]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x200]
call fcn.140002e80
mov eax, dword [rsp + 0x50]
add rsp, 0x3b8
pop rdi
pop rsi
ret