Function at 0x1400c4360
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x230], rbx
mov rax, qword [0x1403c6da0]
xor rax, rsp
mov qword [rbp + 0xd8], rax
mov qword [rbp - 0x80], rdx
mov rsi, rcx
mov dword [rsp + 0x50], 0
mov rax, qword [rcx + 0x20]
cmp dword [rax - 0x10], 0
je 0x1400c481f
lea rcx, [rbp + 0x30]
call fcn.1400d3820
nop
lea rdx, [rbp - 0x60]
mov rcx, qword [rax]
call fcn.1400d3910
nop
mov rcx, qword [rax]
call fcn.1400cc960
mov ecx, 0x3e8
mov r13d, 0x64
test eax, eax
cmovne r13d, ecx
mov dword [rsp + 0x60], r13d
or r12, 0xffffffffffffffff
mov rdi, qword [rbp - 0x58]
test rdi, rdi
je 0x1400c4419
lock dec dword [rdi + 8]
jne 0x1400c4419
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock dec dword [rdi + 0xc]
jne 0x1400c4419
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdi, qword [rbp + 0x38]
test rdi, rdi
je 0x1400c443f
lock dec dword [rdi + 8]
jne 0x1400c443f
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock dec dword [rdi + 0xc]
jne 0x1400c443f
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor ebx, ebx
mov dword [rsp + 0x54], 2
cmp dword [rsi + 0x30], ebx
je 0x1400c448c
lea rcx, [rbp + 0x20]
call fcn.1400d3820
nop
mov dword [rsp + 0x50], 1
lea rdx, [rbp - 0x30]
mov rcx, qword [rax]
call fcn.1400d3910
nop
mov dword [rsp + 0x50], 3
mov rcx, qword [rax]
call fcn.1400cc940
test eax, eax
jne 0x1400c448c
cmp dword [rsi + 0x7c], eax
je 0x1400c448c
lea r15d, [rbx + 1]
jmp 0x1400c448f
xor r15d, r15d
mov eax, dword [rsp + 0x50]
test al, 2
je 0x1400c44c3
and dword [rsp + 0x50], 0xfffffffd
mov rdi, qword [rbp - 0x28]
test rdi, rdi
je 0x1400c44c3
lock dec dword [rdi + 8]
jne 0x1400c44c3
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock dec dword [rdi + 0xc]
jne 0x1400c44c3
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, dword [rsp + 0x50]
test al, 1
je 0x1400c44f6
and dword [rsp + 0x50], 0xfffffffe
mov rdi, qword [rbp + 0x28]
test rdi, rdi
je 0x1400c44f6
lock dec dword [rdi + 8]
jne 0x1400c44f6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock dec dword [rdi + 0xc]
jne 0x1400c44f6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edi, r13d
cmp dword [rsi + 0x30], 0
mov eax, 0x64
cmovne edi, eax
mov dword [rsp + 0x58], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x78]
call fcn.14011d088
nop
cmp dword [rsi + 0x30], 0
je 0x1400c452b
mov r13, qword [rbp - 0x80]
add r13, 0x58
jmp 0x1400c452f
lea r13, [rbp - 0x78]
lea rax, [0x1402d1c00]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], r13
test r13, r13
je 0x1400c4551
mov rax, qword [r13]
or edx, 0xffffffff
mov rcx, r13
call qword [rax + Ordinal_26]
nop
dec dword [rsp + 0x54]
js 0x1400c48a4
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rbp + 0x48]
call fcn.14025e980
xor ebx, ebx
mov qword [rsp + 0x68], rbx
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov dword [rbp + 0x40], 0x68
mov dword [rbp + 0x7c], 1
mov eax, 5
mov word [rbp + 0x80], ax
mov ecx, ebx
cmp dword [rsi + 0x30], ebx
je 0x1400c45d9
test r15d, r15d
jle 0x1400c47ab
cmp dword [rsi + 0x7c], ebx
je 0x1400c4806
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8, qword [rsi + 0x38]
lea rdx, str.explore
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, ebx
cmp eax, 0x20
setg cl
test r15d, r15d
jle 0x1400c47ab
test ecx, ecx
jne 0x1400c47ab
cmp dword [rsi + 0x7c], ebx
je 0x1400c4887
mov rdx, qword [rsi + 0x20]
cmp dword [rdx - 0x10], ebx
je 0x1400c46ad
cmp dword [rsi + 0x30], ebx
je 0x1400c460a
mov rdi, rbx
jmp 0x1400c4657
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], rbx
mov word [rbp - 8], bx
xor eax, eax
mov rcx, r12
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp - 8]
call fcn.14008fca0
lea rdx, [rbp - 8]
lea rcx, [rbp + 0xb0]
call fcn.140099ef0
mov rdi, rax
or dword [rsp + 0x50], 4
cmp qword [rax + 0x18], 8
jb 0x1400c4657
mov rdi, qword [rax]
mov rax, qword [rsi + 0x20]
cmp dword [rax - 8], 1
jle 0x1400c466d
mov edx, dword [rax - 0x10]
lea rcx, [rsi + 0x20]
call fcn.14008ed30
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsi + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400c46ad
xor dil, dil
jmp 0x1400c46b0
mov dil, 1
mov eax, dword [rsp + 0x50]
test al, 4
je 0x1400c46d3
and dword [rsp + 0x50], 0xfffffffb
cmp qword [rbp + 0xc8], 8
jb 0x1400c46d3
mov rcx, qword [rbp + 0xb0]
call fcn.14011bc00
test dil, dil
jne 0x1400c4831
cmp dword [rsp + 0x78], 0
je 0x1400c475a
mov dword [rsi + 0x78], 1
lea rcx, [rbp - 0x40]
call fcn.1400d3820
nop
lea rdx, [rbp - 0x50]
mov rcx, qword [rax]
call fcn.1400d3910
nop
mov rcx, qword [rax]
call fcn.1400cc950
mov dword [rsp + 0x58], eax
mov rdi, qword [rbp - 0x48]
test rdi, rdi
je 0x1400c4734
lock dec dword [rdi + 8]
jne 0x1400c4734
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx]
lock dec dword [rdi + 0xc]
jne 0x1400c4734
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdi, qword [rbp - 0x38]
test rdi, rdi
je 0x1400c475a
lock dec dword [rdi + 8]
jne 0x1400c475a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock dec dword [rdi + 0xc]
jne 0x1400c475a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsi + 0x28]
mov eax, ebx
test rdx, rdx
setne al
test eax, eax
je 0x1400c4826
mov rax, qword [rsi + 0x20]
sub rdx, rax
movzx ecx, word [rax]
cmp cx, word [rax + rdx]
jne 0x1400c478b
add rax, 2
test cx, cx
jne 0x1400c4775
mov eax, ebx
jmp 0x1400c4790
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
mov r8d, dword [rsp + 0x78]
test al, al
cmovne r8d, ebx
mov dword [rsp + 0x78], r8d
mov edi, dword [rsp + 0x58]
jmp 0x1400c47b0
mov r8d, dword [rsp + 0x78]
cmp dword [rsi + 0x30], 0
je 0x1400c47e5
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400c47e5
mov edx, dword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x5c], ebx
lea rdx, [rsp + 0x5c]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov r8d, ebx
mov dword [rsp + 0x78], ebx
mov r9d, edi
mov rdx, qword [rbp - 0x80]
mov rcx, rsi
call fcn.1400c3f00
mov ebx, eax
inc r15d
test eax, eax
jne 0x1400c48a4
jmp 0x1400c4551
test r13, r13
je 0x1400c4816
mov rax, qword [r13]
mov rcx, r13
call qword [rax + Ordinal_41]
nop
lea rcx, [rbp - 0x78]
call fcn.14011d100
xor eax, eax
jmp 0x1400c48bf
mov ecx, 0x80004005
call fcn.14008ec20
int3
xor edx, edx
lea rcx, [rbp - 0x68]
call fcn.140098d90
nop
lea rcx, [rsi + 0x68]
mov rdx, rax
call fcn.140090040
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r12d
dec r12d
test r12d, r12d
jg 0x1400c486a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
test r13, r13
je 0x1400c487a
mov rax, qword [r13]
mov rcx, r13
call qword [rax + Ordinal_41]
nop
lea rcx, [rbp - 0x78]
call fcn.14011d100
xor eax, eax
jmp 0x1400c48bf
test r13, r13
je 0x1400c4897
mov rax, qword [r13]
mov rcx, r13
call qword [rax + Ordinal_41]
nop
lea rcx, [rbp - 0x78]
call fcn.14011d100
xor eax, eax
jmp 0x1400c48bf
test r13, r13
je 0x1400c48b4
mov rax, qword [r13]
mov rcx, r13
call qword [rax + Ordinal_41]
nop
lea rcx, [rbp - 0x78]
call fcn.14011d100
mov eax, ebx
mov rcx, qword [rbp + 0xd8]
xor rcx, rsp
call fcn.14025db20
mov rbx, qword [rsp + 0x230]
add rsp, 0x1e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret