Function at 0x14007ddf0
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x28]
sub rsp, 0x128
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov rdi, rcx
xor r13d, r13d
mov dword [rbp + 0x80], r13d
mov r14, qword [rcx + 8]
mov rcx, qword [rcx + 0xf0]
test rcx, rcx
je 0x14007de5b
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 0xf0]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 0xf0]
call fcn.1400869f0
mov qword [rdi + 0xf0], r13
mov ecx, 0x18
call fcn.1400f95e4
mov qword [rdi + 0xf0], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
lea edx, [rcx + 1]
mov rcx, r14
call fcn.140040b80
lea rdx, [rdi + 0x100]
mov rcx, rdi
call fcn.14007c090
test al, al
je 0x14007e3cc
lea rdx, [rdi + 0x130]
mov rcx, rdi
call fcn.14007c090
test al, al
je 0x14007e3cc
lea rdx, [rdi + 0x160]
mov rcx, rdi
call fcn.14007c090
test al, al
je 0x14007e3cc
lea r8, [rdi + 0x198]
lea rdx, [rdi + 0x190]
lea rcx, [rsp + 0x50]
call fcn.14007ca10
nop
lea rax, [0x14143f7c8]
mov qword [rbp + 0x88], rax
mov rdx, qword [rdi + 0x1a8]
or rsi, 0xffffffffffffffff
test rdx, rdx
je 0x14007df49
add rdx, 8
lea rcx, [rsp + 0x78]
call fcn.14007cdf0
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rax]
mov qword [rbp + 0x88], rcx
mov qword [rax], rdx
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx]
test eax, eax
je 0x14007df3b
cmp eax, esi
je 0x14007df49
lock dec dword [rcx]
jne 0x14007df49
mov rcx, qword [rsp + 0x78]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140011b40
mov rax, qword [rdi + 0x1a0]
mov ecx, 0x20
cmp dword [rax + 4], 0
je 0x14007df88
mov rax, qword [rsp + 0x50]
cmp dword [rax + 4], 0
je 0x14007df77
mov word [rbp + 0x70], cx
movzx edx, cx
lea rcx, [rsp + 0x50]
call fcn.140008410
lea rdx, [rdi + 0x1a0]
lea rcx, [rsp + 0x50]
call fcn.140012c40
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov r15d, 0x8000000
test rax, rax
cmovne r15d, r13d
bts r15d, 0xa
mov dword [rbp - 0x60], 0x68
mov qword [rbp - 0x58], r13
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
movabs rax, 0x8000000080000000
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], r13
mov dword [rbp - 0x28], r13d
mov qword [rbp - 0x24], 0x100
mov qword [rbp - 0x18], r13
mov rax, qword [rdi + 0x118]
mov qword [rbp - 0x10], rax
mov rax, qword [rdi + 0x150]
mov qword [rbp - 8], rax
mov rax, qword [rdi + 0x180]
mov qword [rbp], rax
lea rdx, [rdi + 0xe8]
mov rax, qword [rdx]
cmp dword [rax + 4], 0
je 0x14007e02a
lea rcx, [rsp + 0x70]
call fcn.140023720
nop
mov dword [rbp + 0x80], 1
mov rcx, rax
call fcn.14001afc0
mov r13, rax
lea rcx, [rdi + 0x1a8]
call fcn.1400404a0
mov r12d, 2
test al, al
je 0x14007e044
xor ebx, ebx
jmp 0x14007e08e
mov rax, qword [rbp + 0x88]
mov ecx, dword [rax]
cmp ecx, 1
ja 0x14007e059
cmp qword [rax + 0x10], 0x18
je 0x14007e087
xor r8d, r8d
test ecx, ecx
cmove r8d, r12d
test dword [rax + 8], 0x80000000
je 0x14007e06f
or r8d, 1
mov edx, dword [rax + 4]
inc edx
lea rcx, [rbp + 0x88]
call fcn.14002abe0
mov rax, qword [rbp + 0x88]
mov rbx, qword [rax + 0x10]
add rbx, rax
lea rcx, [rsp + 0x50]
call fcn.14001afc0
mov rdx, rax
mov rax, qword [rdi + 0xf0]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
setne r15b
test byte [rbp + 0x80], 1
je 0x14007e10c
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx]
test eax, eax
je 0x14007e0fe
cmp eax, 0xffffffff
je 0x14007e10c
lock dec dword [rcx]
jne 0x14007e10c
mov rcx, qword [rsp + 0x70]
mov r8d, 8
mov rdx, r12
call fcn.140011b40
test r15b, r15b
jne 0x14007e1e9
mov edx, esi
lea rcx, [rsp + 0x58]
call fcn.14000e6b0
mov rbx, rax
mov r9d, esi
xor r8d, r8d
lea rdx, [0x1414b96c0]
lea rcx, [rsp + 0x68]
call fcn.140041120
nop
mov r13d, 0x20
mov word [rbp + 0x78], r13w
mov word [rsp + 0x20], r13w
xor r9d, r9d
mov r8, rbx
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.140012e50
nop
mov rdx, rax
mov rcx, r14
call fcn.140031630
nop
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x14007e187
cmp eax, 0xffffffff
je 0x14007e196
lock dec dword [rcx]
jne 0x14007e196
mov rcx, qword [rsp + 0x60]
mov r8d, 8
mov rdx, r12
call fcn.140011b40
nop
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx]
test eax, eax
je 0x14007e1b0
cmp eax, 0xffffffff
je 0x14007e1bf
lock dec dword [rcx]
jne 0x14007e1bf
mov rcx, qword [rsp + 0x68]
mov r8d, 8
mov rdx, r12
call fcn.140011b40
nop
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x14007e1d9
cmp eax, 0xffffffff
je 0x14007e1ef
lock dec dword [rcx]
jne 0x14007e1ef
mov rcx, qword [rsp + 0x58]
mov r8d, 8
mov rdx, r12
call fcn.140011b40
jmp 0x14007e1ef
mov r13d, 0x20
mov rcx, qword [rdi + 0x118]
cmp rcx, 0xffffffffffffffff
je 0x14007e209
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x118], rsi
mov rcx, qword [rdi + 0x150]
cmp rcx, 0xffffffffffffffff
je 0x14007e223
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x150], rsi
mov rcx, qword [rdi + 0x180]
cmp rcx, 0xffffffffffffffff
je 0x14007e23d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x180], rsi
test r15b, r15b
jne 0x14007e26d
mov rcx, rdi
call fcn.14003fd80
mov dword [rdi + 0xdc], 0
xor edx, edx
mov rcx, r14
call fcn.140040120
xor edx, edx
mov rcx, r14
call fcn.140040b80
jmp 0x14007e377
mov edx, r12d
mov rcx, r14
call fcn.140040b80
cmp qword [rdi + 0xf0], 0
je 0x14007e377
mov rax, qword [rdi + 0x38]
cmp qword [rax + 0x40], 0
je 0x14007e36e
mov ecx, 0x10
call fcn.1400f95e4
mov qword [rbp - 0x70], rax
test rax, rax
je 0x14007e2be
mov rdx, qword [rdi + 0xf0]
mov r8, r14
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14007eda0
nop
mov qword [rdi + 0x260], rax
mov dword [rsp + 0x28], 0
lea rdx, [0x1414b96e0]
mov qword [rsp + 0x20], rdx
mov r9, r14
lea r8, [0x1414b96f8]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140053980
lea rcx, [rbp - 0x80]
call fcn.1400519e0
mov dl, 1
mov rcx, qword [rdi + 0x260]
call fcn.14007f120
mov rcx, r13
call fcn.1400f95e4
mov qword [rbp - 0x70], rax
test rax, rax
je 0x14007e323
mov rdx, r14
mov rcx, rax
call fcn.1400b24d0
nop
mov qword [rdi + 0x240], rax
mov dword [rsp + 0x28], 0
lea rcx, [0x1414b9710]
mov qword [rsp + 0x20], rcx
mov r9, r14
lea r8, [0x1414b9720]
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.140053980
lea rcx, [rbp - 0x78]
call fcn.1400519e0
mov edx, WSAAsyncSelect
mov rcx, qword [rdi + 0x240]
call fcn.1400b2600
mov rcx, rdi
call fcn.14003fa20
nop
mov rcx, qword [rbp + 0x88]
mov eax, dword [rcx]
test eax, eax
je 0x14007e395
cmp eax, 0xffffffff
je 0x14007e3a4
lock dec dword [rcx]
jne 0x14007e3a4
mov rcx, qword [rbp + 0x88]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140011b40
nop
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x14007e3be
cmp eax, 0xffffffff
je 0x14007e3cc
lock dec dword [rcx]
jne 0x14007e3cc
mov rcx, qword [rsp + 0x50]
mov r8d, 8
mov rdx, r12
call fcn.140011b40
add rsp, 0x128
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret