Function at 0x140119840
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov qword [rbp + 8], 0xfffffffffffffffe
mov qword [rsp + 0x2f8], rbx
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov r15, r9
mov qword [rsp + 0x70], r8
mov rdi, rdx
mov r13, rcx
mov rsi, qword [rbp + 0x210]
mov r14, qword [rbp + 0x218]
mov rax, qword [rbp + 0x220]
mov qword [rsp + 0x50], rax
mov rdx, rcx
lea rcx, [rbp + 0x90]
call fcn.140118fe0
nop
mov rbx, qword [rdi]
mov rdi, qword [rdi + 8]
cmp rbx, rdi
je 0x140119960
mov r8d, 1
lea rdx, [0x1402869d8]
lea rcx, [rbp + 0x90]
call fcn.140015630
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.140118fe0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.140015ef0
nop
mov rax, qword [rbp + 0x28]
cmp rax, 0x10
jb 0x14011993f
inc rax
mov rcx, qword [rbp + 0x10]
cmp rax, 0x1000
jb 0x14011993a
test cl, 0x1f
jne 0x14011995a
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140119954
sub rcx, rax
cmp rcx, 8
jb 0x14011994e
cmp rcx, 0x27
ja 0x140119948
mov rcx, rax
call fcn.1400dbae0
add rbx, 0x20
jmp 0x1401198bb
call fcn.14014b4d8
int3
call fcn.14014b4d8
int3
call fcn.14014b4d8
int3
call fcn.14014b4d8
int3
mov qword [rbp + 0x88], 7
xor ebx, ebx
mov qword [rbp + 0x80], rbx
mov word [rbp + 0x70], bx
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x90]
call fcn.140122510
mov r12d, ebx
mov qword [rbp + 0x68], 7
mov qword [rbp + 0x60], rbx
mov word [rbp + 0x50], bx
cmp qword [r13 + 0x10], 0x104
jbe 0x140119a70
mov rdx, r13
lea rcx, [rbp + 0x100]
call fcn.140122bb0
nop
cmp byte [rbp + 0x198], bl
je 0x140119a64
lea rdx, [rbp + 0x50]
mov rcx, r13
call fcn.140122510
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x100]
call fcn.140122db0
mov rbx, qword [rax + 0x10]
mov rax, qword [rbp + 0x28]
cmp rax, 0x10
jb 0x140119a3b
inc rax
mov rcx, qword [rbp + 0x10]
cmp rax, 0x1000
jb 0x140119a36
test cl, 0x1f
je 0x140119a09
call fcn.14014b4d8
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140119a18
call fcn.14014b4d8
int3
sub rcx, rax
cmp rcx, 8
jae 0x140119a27
call fcn.14014b4d8
int3
cmp rcx, 0x27
jbe 0x140119a33
call fcn.14014b4d8
int3
mov rcx, rax
call fcn.1400dbae0
test rbx, rbx
jne 0x140119a54
lea r8d, [rbx + 4]
lea rdx, str..EXE
lea rcx, [rbp + 0x50]
call fcn.140118e70
lea r12, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae r12, qword [rbp + 0x50]
xor ebx, ebx
lea rcx, [rbp + 0x100]
call fcn.140122c70
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [rbp - 0x80], 0x68
mov qword [rbp - 0x78], rbx
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
mov dword [rbp - 0x44], 0x80
mov word [rbp - 0x3e], bx
mov qword [rbp - 0x38], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
xor dil, dil
test r15, r15
je 0x140119af3
mov rcx, qword [r15]
call fcn.14001d070
mov rdx, rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 1
xor eax, eax
mov dword [rsp + 0x20], eax
lea r9, [rbp - 0x30]
mov r8, rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov dil, 1
mov edx, 1
mov rcx, r15
call fcn.14011a2f0
xor r15d, r15d
jmp 0x140119b45
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
je 0x140119b3e
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rdx, rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 1
xor r15d, r15d
mov dword [rsp + 0x20], r15d
lea r9, [rbp - 0x30]
mov r8, rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov dil, 1
jmp 0x140119b45
xor r15d, r15d
mov qword [rbp - 0x30], r15
test rsi, rsi
je 0x140119b54
mov rcx, qword [rsi]
call fcn.1400494c0
jmp 0x140119b6f
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
je 0x140119b9c
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rdx, rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r15d
lea r9, [rbp - 0x28]
mov r8, rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov dil, 1
jmp 0x140119ba0
mov qword [rbp - 0x28], r15
test r14, r14
je 0x140119baf
mov rcx, qword [r14]
call fcn.1400494c0
jmp 0x140119bca
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
je 0x140119bf7
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rdx, rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r15d
lea r9, [rbp - 0x20]
mov r8, rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov dil, 1
jmp 0x140119bfb
mov qword [rbp - 0x20], r15
test rsi, rsi
je 0x140119c0d
mov edx, 2
mov rcx, rsi
call fcn.14011a2f0
test r14, r14
je 0x140119c1f
mov edx, 2
mov rcx, r14
call fcn.14011a2f0
test dil, dil
je 0x140119c2b
or dword [rbp - 0x44], 0x100
mov qword [rbp + 0x48], 7
mov qword [rbp + 0x40], r15
mov word [rbp + 0x30], r15w
lea rdx, [rbp + 0x30]
mov rcx, qword [rsp + 0x70]
call fcn.140122510
cmp qword [rbp + 0x40], 0
jne 0x140119c56
mov rbx, r15
jmp 0x140119c64
lea rbx, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae rbx, qword [rbp + 0x30]
mov r14, r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r15
mov rax, qword [rsp + 0x50]
cmp qword [rax + 8], 0
je 0x140119d3e
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.140119380
lea rcx, [rsp + 0x58]
cmp rcx, rax
je 0x140119cc4
mov rsi, qword [rax]
mov qword [rsp + 0x58], rsi
mov rcx, qword [rax + 8]
mov qword [rsp + 0x60], rcx
mov r15, qword [rax + 0x10]
mov qword [rsp + 0x68], r15
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
jmp 0x140119cc9
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x140119d39
mov rax, qword [rbp + 0x20]
sub rax, rcx
sar rax, 1
movabs rdx, 0x7fffffffffffffff
cmp rax, rdx
jbe 0x140119cf1
call fcn.14014b4d8
int3
add rax, rax
cmp rax, 0x1000
jb 0x140119d34
test cl, 0x1f
je 0x140119d07
call fcn.14014b4d8
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140119d16
call fcn.14014b4d8
int3
sub rcx, rax
cmp rcx, 8
jae 0x140119d25
call fcn.14014b4d8
int3
cmp rcx, 0x27
jbe 0x140119d31
call fcn.14014b4d8
int3
mov rcx, rax
call fcn.1400dbae0
mov r14, rsi
jmp 0x140119d43
mov rsi, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov ecx, 0x8000000
test rax, rax
mov eax, 0
cmovne ecx, eax
mov r8d, ecx
bts r8d, 0xa
test r14, r14
cmove r8d, ecx
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 8
cmovae rdx, qword [rbp + 0x70]
movzx eax, dil
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140119dc2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140119dd1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140119de0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x140119f39
mov rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x20
call fcn.1400dba80
mov r14, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140119e2e
mov edi, dword [rbp]
mov rbx, qword [rbp - 0x10]
mov rcx, rax
call fcn.140121540
lea rax, vtable.Poco::ProcessHandleImpl.0
mov qword [r14], rax
mov qword [r14 + 0x10], rbx
mov dword [r14 + 0x18], edi
xor ebx, ebx
jmp 0x140119e33
xor ebx, ebx
mov r14d, ebx
test rsi, rsi
je 0x140119ea1
sub r15, rsi
sar r15, 1
movabs rax, 0x7fffffffffffffff
cmp r15, rax
jbe 0x140119e53
call fcn.14014b4d8
int3
lea rax, [r15 + r15]
cmp rax, 0x1000
jb 0x140119e98
test sil, 0x1f
je 0x140119e6b
call fcn.14014b4d8
int3
mov rax, qword [rsi - 8]
cmp rax, rsi
jb 0x140119e7a
call fcn.14014b4d8
int3
sub rsi, rax
cmp rsi, 8
jae 0x140119e89
call fcn.14014b4d8
int3
cmp rsi, 0x27
jbe 0x140119e95
call fcn.14014b4d8
int3
mov rsi, rax
mov rcx, rsi
call fcn.1400dbae0
nop
mov r8, qword [rbp + 0x48]
cmp r8, 8
jb 0x140119ebb
inc r8
mov rdx, qword [rbp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.140016070
mov qword [rbp + 0x48], 7
mov qword [rbp + 0x40], rbx
mov word [rbp + 0x30], bx
mov r8, qword [rbp + 0x68]
cmp r8, 8
jb 0x140119ee5
inc r8
mov rdx, qword [rbp + 0x50]
lea rcx, [rbp + 0x50]
call fcn.140016070
mov qword [rbp + 0x68], 7
mov qword [rbp + 0x60], rbx
mov word [rbp + 0x50], bx
mov r8, qword [rbp + 0x88]
cmp r8, 8
jb 0x140119f12
inc r8
mov rdx, qword [rbp + 0x70]
lea rcx, [rbp + 0x70]
call fcn.140016070
mov qword [rbp + 0x88], 7
mov qword [rbp + 0x80], rbx
mov word [rbp + 0x70], bx
lea rcx, [rbp + 0x90]
call fcn.1400091f0
mov rax, r14
jmp 0x140119f89
mov qword [rbp + 0x28], reloc.WSOCK32.dll_ntohs
xor eax, eax
mov qword [rbp + 0x20], rax
mov byte [rbp + 0x10], al
lea r8d, [rax + 0x15]
lea rdx, str.Cannot_launch_process
lea rcx, [rbp + 0x10]
call fcn.140009d60
nop
xor r9d, r9d
mov r8, r13
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0xb0]
call fcn.14011b320
lea rdx, [0x1403061e8]
lea rcx, [rbp + 0xb0]
call fcn.1401419e8
nop
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140113910
mov rbx, qword [rsp + 0x2f8]
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret