Function at 0x141dfced0
Capabilities:
Create process on windows

Disassembly:
push rbp
push rdi
push r12
sub rsp, 0x50
cmp byte [rcx + 0x1c0], 0
mov rdi, rcx
mov qword [rsp + 0x70], rbx
mov ebx, edx
mov qword [rsp + 0x40], r15
mov r15, qword [rcx + 8]
je 0x141d6eb78
and ebx, 0xfffffffd
movzx eax, byte [rcx + 0x200]
test al, al
je 0x141d6eb98
cmp byte [rcx + 0x240], 0
jne 0x141d6eb95
cmp byte [rcx + 0x307], 1
jne 0x141d6eb98
and ebx, 0xfffffffe
xor r12d, r12d
mov ebp, 0xffffffff
test ebx, ebx
jne 0x141d6ebab
mov ebx, 0x20
jmp 0x141d6ebb4
test bl, 1
jne 0x141d6ed9d
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], r13
lea r13, [0x140049048]
mov qword [rsp + 0x48], r14
test al, al
jne 0x141d6eca3
mov r14, qword [r15 + 8]
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], 7
lea rsi, [r14 + 0x1c8]
movsx ecx, byte [rsi + 0x38]
sub ecx, 1
je 0x141d6ec19
cmp ecx, 1
jne 0x141d6ec2f
mov rax, qword [rsi + 0x18]
mov byte [rax + 0x200], r12b
mov rax, qword [rsi + 0x18]
mov qword [rax + 0x1e0], r12
jmp 0x141d6ec2f
mov rax, qword [rsi + 0x18]
mov byte [rax + 0x1c0], r12b
mov rax, qword [rsi + 0x18]
mov qword [rax + 0x1a0], r12
mov byte [rsi + 0x38], r12b
cmp qword [rsi + 8], r12
je 0x141d6ec5c
mov rcx, qword [rsi]
mov qword [rsi], r12
mov qword [rsi + 8], r12
mov qword [rsi + 0x10], r12
test rcx, rcx
je 0x141d6ec5c
mov eax, ebp
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141d6ec5c
call fcn.141ec82c8
lea rdx, [rsp + 0x20]
mov qword [rsi + 0x18], r12
mov rcx, rsi
call fcn.141d37fd0
mov rax, qword [rsp + 0x30]
neg rax
sbb cl, cl
and cl, 3
mov byte [rsi + 0x38], cl
mov byte [r14 + 0x202], r12b
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x141d6eca3
mov eax, ebp
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141d6eca3
mov rcx, qword [rsp + 0x20]
call fcn.141ec82c8
cmp byte [rdi + 0x240], r12b
jne 0x141d6ed8b
cmp byte [rdi + 0x307], 1
je 0x141d6ed8b
mov r14, qword [r15 + 8]
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], 7
lea rsi, [r14 + 0x208]
movsx ecx, byte [rsi + 0x38]
sub ecx, 1
je 0x141d6ed01
cmp ecx, 1
jne 0x141d6ed17
mov rax, qword [rsi + 0x18]
mov byte [rax + 0x200], r12b
mov rax, qword [rsi + 0x18]
mov qword [rax + 0x1e0], r12
jmp 0x141d6ed17
mov rax, qword [rsi + 0x18]
mov byte [rax + 0x1c0], r12b
mov rax, qword [rsi + 0x18]
mov qword [rax + 0x1a0], r12
mov byte [rsi + 0x38], r12b
cmp qword [rsi + 8], r12
je 0x141d6ed44
mov rcx, qword [rsi]
mov qword [rsi], r12
mov qword [rsi + 8], r12
mov qword [rsi + 0x10], r12
test rcx, rcx
je 0x141d6ed44
mov eax, ebp
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141d6ed44
call fcn.141ec82c8
lea rdx, [rsp + 0x20]
mov qword [rsi + 0x18], r12
mov rcx, rsi
call fcn.141d37fd0
mov rax, qword [rsp + 0x30]
neg rax
sbb cl, cl
and cl, 3
mov byte [rsi + 0x38], cl
mov byte [r14 + 0x242], r12b
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x141d6ed8b
mov eax, ebp
lock xadd dword [rdx], eax
cmp eax, 1
jne 0x141d6ed8b
mov rcx, qword [rsp + 0x20]
call fcn.141ec82c8
mov r13, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
mov r14, qword [rsp + 0x48]
mov edx, ebx
mov rcx, r15
call fcn.141d69610
mov rcx, r15
call fcn.141d695a0
mov r15, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x70]
test al, al
je 0x141d6edd3
cmp byte [rdi + 0x307], 1
je 0x141d6edd3
mov edx, 2
mov rcx, rdi
call fcn.141d6add0
mov byte [rdi + 0x1c1], r12b
mov byte [rdi + 0x201], r12b
mov byte [rdi + 0x241], r12b
mov dword [rdi + 0x300], r12d
mov word [rdi + 0x305], 0x500
cmp qword [rdi + 0x170], r12
je 0x141d6ee30
mov rcx, qword [rdi + 0x168]
mov qword [rdi + 0x168], r12
mov qword [rdi + 0x170], r12
mov qword [rdi + 0x178], r12
test rcx, rcx
je 0x141d6ee30
lock xadd dword [rcx], ebp
cmp ebp, 1
jne 0x141d6ee30
call fcn.141ec82c8
mov rcx, rdi
add rsp, 0x50
pop r12
pop rdi
pop rbp
jmp 0x141dfced0
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rbx, rcx
xor r14d, r14d
mov r13, qword [rcx + 8]
mov ecx, 0x18
call fcn.141ec2278
mov qword [rbx + 0x2f8], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
mov edx, 1
mov rcx, r13
call fcn.141d6e900
mov rcx, rbx
call fcn.141d6d630
test al, al
jne 0x141dfd06e
mov rdi, 0xffffffffffffffff
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x14007cc48]
lea rdx, [rbp - 0x80]
lea rcx, [0x140048cc0]
call fcn.141d9f740
nop
mov edx, edi
lea rcx, [rsp + 0x68]
call fcn.141d8c2d0
nop
mov word [rsp + 0x20], 0x20
xor r9d, r9d
mov r8, rax
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x80]
call fcn.141d39900
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x141dfcfa9
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141dfcfa9
mov rcx, qword [rsp + 0x68]
call fcn.141ec82c8
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x141dfcfc6
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141dfcfc6
mov rcx, qword [rbp - 0x80]
call fcn.141ec82c8
xor edx, edx
mov rcx, qword [rbx + 8]
call fcn.141d6e900
mov rcx, rbx
call fcn.141d6cf60
mov rcx, qword [rbx + 0x2f0]
test rcx, rcx
je 0x141dfcff7
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax + 0x18]
call qword [case.0x141d6f3c0.0]
mov qword [rbx + 0x2f0], r14
mov rcx, qword [rbx + 0x2f8]
test rcx, rcx
je 0x141dfd03c
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x2f8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x18
mov rcx, qword [rbx + 0x2f8]
call fcn.141ec2270
mov qword [rbx + 0x2f8], r14
lea r8, [rbp - 0x68]
xor edx, edx
mov rcx, rbx
call fcn.141d6e8a0
nop
mov rax, qword [rbp - 0x68]
test rax, rax
je 0x141dfd5ae
lock xadd dword [rax], edi
cmp edi, 1
jne 0x141dfd5ae
mov rcx, qword [rbp - 0x68]
jmp 0x141dfd5a9
lea r9, [rbx + 0x298]
lea r8, [rbx + 0x260]
lea rdx, [rbx + 0x248]
lea rcx, [rbp + 0x90]
call fcn.141dfc120
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
lea rcx, [rbx + 0x290]
call fcn.141d6d290
mov rdi, 0xffffffffffffffff
test al, al
jne 0x141dfd11d
mov rdx, qword [rbx + 0x290]
add rdx, 8
lea rcx, [rsp + 0x68]
call fcn.141dfc590
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rax]
mov qword [rsp + 0x50], rcx
mov qword [rax], rdx
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x58], rcx
mov qword [rax + 8], rdx
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x60], rcx
mov qword [rax + 0x10], rdx
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x141dfd11d
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141dfd11d
mov rcx, qword [rsp + 0x68]
call fcn.141ec82c8
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov ecx, 0x400
mov r15d, 0x8000400
test rax, rax
cmovne r15d, ecx
mov r14, qword [rbx + 0x1b0]
cmp r14, rdi
jne 0x141dfd14f
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov r14, rax
mov rsi, qword [rbx + 0x1f8]
cmp rsi, rdi
jne 0x141dfd169
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rsi, rax
mov rax, qword [rbx + 0x238]
cmp rax, rdi
jne 0x141dfd18e
cmp byte [rbx + 0x307], 1
jne 0x141dfd183
mov rax, rsi
jmp 0x141dfd18e
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rbp + 0x20], 0x68
xor ecx, ecx
mov qword [rbp + 0x28], rcx
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x30], xmm0
mov dword [rbp + 0x40], 0x80000000
mov dword [rbp + 0x44], 0x80000000
mov dword [rbp + 0x48], 0x80000000
mov dword [rbp + 0x4c], 0x80000000
mov qword [rbp + 0x50], rcx
mov dword [rbp + 0x58], ecx
mov qword [rbp + 0x5c], 0x100
mov qword [rbp + 0x68], rcx
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x78], rsi
mov qword [rbp + 0x80], rax
lea rdx, [rbx + 0x278]
lea rcx, [rbp]
call fcn.141d54f30
nop
xor r14d, r14d
mov qword [rbp - 0x50], r14
lea rcx, [rbp + 0x90]
call fcn.141d45210
mov qword [rbp - 0x48], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x30], 1
mov dword [rbp - 0x2c], r15d
lea rcx, [rbx + 0x290]
call fcn.141d6d290
test al, al
je 0x141dfd22f
mov qword [rbp - 0x28], r14
jmp 0x141dfd25e
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x141dfd240
mov eax, dword [rax]
cmp eax, 1
jle 0x141dfd255
mov r8d, 1
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.141d5f630
mov rax, qword [rsp + 0x58]
mov qword [rbp - 0x28], rax
cmp qword [rbp + 0x10], r14
jne 0x141dfd269
mov rax, r14
jmp 0x141dfd272
lea rcx, [rbp]
call fcn.141d45210
mov qword [rbp - 0x20], rax
lea rdx, [rbp + 0x20]
mov qword [rbp - 0x18], rdx
mov r8, qword [rbx + 0x2f8]
mov qword [rbp - 0x10], r8
cmp qword [rbx + 0x2e8], r14
je 0x141dfd2cd
lea rax, [rbp - 0x50]
mov qword [rbp + 0xe0], rax
mov rcx, qword [rbx + 0x2e8]
test rcx, rcx
je 0x141dfd5cf
mov rax, qword [rcx]
lea rdx, [rbp + 0xe0]
mov rax, qword [rax + 0x10]
call qword [case.0x141d6f3c0.0]
mov r8, qword [rbp - 0x10]
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x20]
movzx ecx, byte [rbp - 0x30]
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rax
mov rax, qword [rbp - 0x28]
mov qword [rsp + 0x30], rax
mov eax, dword [rbp - 0x2c]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9, qword [rbp - 0x38]
mov r8, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov rcx, qword [rbx + 0x1b0]
cmp rcx, 0xffffffffffffffff
je 0x141dfd326
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x1b0], rdi
mov rcx, qword [rbx + 0x1f8]
cmp rcx, 0xffffffffffffffff
je 0x141dfd340
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x1f8], rdi
mov rcx, qword [rbx + 0x238]
cmp rcx, 0xffffffffffffffff
je 0x141dfd35a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x238], rdi
test esi, esi
jne 0x141dfd495
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x14007cc48]
lea rdx, [rbp - 0x68]
lea rcx, [0x140048cc0]
call fcn.141d9f740
nop
mov edx, edi
lea rcx, [rsp + 0x68]
call fcn.141d8c2d0
nop
mov word [rsp + 0x20], 0x20
xor r9d, r9d
mov r8, rax
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x68]
call fcn.141d39900
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x141dfd3c9
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141dfd3c9
mov rcx, qword [rsp + 0x68]
call fcn.141ec82c8
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x141dfd3e6
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141dfd3e6
mov rcx, qword [rbp - 0x68]
call fcn.141ec82c8
xor edx, edx
mov rcx, qword [rbx + 8]
call fcn.141d6e900
mov rcx, rbx
call fcn.141d6cf60
mov rcx, qword [rbx + 0x2f0]
test rcx, rcx
je 0x141dfd417
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax + 0x18]
call qword [case.0x141d6f3c0.0]
mov qword [rbx + 0x2f0], r14
mov rcx, qword [rbx + 0x2f8]
test rcx, rcx
je 0x141dfd45c
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x2f8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x18
mov rcx, qword [rbx + 0x2f8]
call fcn.141ec2270
mov qword [rbx + 0x2f8], r14
lea r8, [rbp - 0x80]
xor edx, edx
mov rcx, rbx
call fcn.141d6e8a0
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x141dfd54f
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141dfd54f
mov rcx, qword [rbp - 0x80]
call fcn.141ec82c8
jmp 0x141dfd54f
mov rcx, qword [rbx + 0x1a8]
test rcx, rcx
je 0x141dfd4ad
mov rdx, qword [rbx + 0x1b8]
call fcn.141e52f40
mov edx, 2
mov rcx, r13
call fcn.141d6e900
cmp qword [rbx + 0x2f8], r14
je 0x141dfd54f
mov rax, qword [rbx + 0x58]
mov rax, qword [rax + 0x70]
test rax, rax
je 0x141dfd546
mov ecx, 0x10
call fcn.141ec2278
mov qword [rbp + 0xe0], rax
mov rdx, qword [rbx + 0x2f8]
mov r8, r13
mov rdx, qword [rdx]
mov rcx, rax
call fcn.141e53590
nop
mov qword [rbx + 0x2f0], rax
mov dword [rsp + 0x28], r14d
lea rcx, [0x14007cc68]
mov qword [rsp + 0x20], rcx
mov r9, r13
lea r8, [0x14007cc80]
mov rdx, rax
lea rcx, [rbp + 0xe0]
call fcn.141da44a0
lea rcx, [rbp + 0xe0]
call fcn.141da23b0
mov dl, 1
mov rcx, qword [rbx + 0x2f0]
call fcn.141e53a50
mov rcx, rbx
call fcn.141d6cc60
nop
mov rcx, qword [rbp]
test rcx, rcx
je 0x141dfd56d
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141dfd56d
mov rcx, qword [rbp]
call fcn.141ec82c8
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x141dfd58d
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141dfd58d
mov rcx, qword [rsp + 0x50]
call fcn.141ec82c8
nop
mov rax, qword [rbp + 0x90]
test rax, rax
je 0x141dfd5ae
lock xadd dword [rax], edi
cmp edi, 1
jne 0x141dfd5ae
mov rcx, qword [rbp + 0x90]
call fcn.141ec82c8
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.141ebf6f0
nop
int3