Function at 0x14013c920
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
push rbp
push rdi
lea rbp, [rax - 0x58]
sub rsp, 0x148
mov qword [rax - 0x18], rbx
xor edi, edi
mov qword [rax - 0x20], rsi
mov rbx, rcx
mov qword [rax - 0x30], r13
mov r13d, edi
mov qword [rax - 0x38], r14
mov r14, r8
mov qword [rax - 0x40], r15
mov r15d, edi
mov qword [rbp + 0x68], rdi
test rdx, rdx
je 0x14013c970
mov rcx, rdx
call sym.SystemInformer.exe_Ordinal_1329
mov r15, rax
mov esi, 0xffffffff
test rbx, rbx
je 0x14013c98e
mov rcx, rbx
call sym.SystemInformer.exe_Ordinal_1329
mov qword [rbp + 0x68], rax
jmp 0x14013cbd1
lea r9, [rbp + 0x68]
mov qword [rsp + 0x130], r12
lea r8, [rbp - 0x78]
mov rcx, r15
lea rdx, [rsp + 0x60]
call sym.SystemInformer.exe_Ordinal_1683
mov rbx, qword [rbp + 0x68]
test rbx, rbx
je 0x14013c9b9
cmp qword [rbx], rdi
jne 0x14013ca2a
mov r14, qword ds:[rsp + 0x60]
test r14, r14
jne 0x14013c9cf
call sym.SystemInformer.exe_Ordinal_1430
mov rbx, rax
jmp 0x14013ca08
mov rdx, qword [0x1402c5ff0]
lea rcx, [r14 + 0x12]
call sym.SystemInformer.exe_Ordinal_1240
mov rdx, qword [rsp + 0x68]
mov rbx, rax
mov qword [rax], r14
add rax, 0x10
mov qword [rbx + 8], rax
mov word [rax + r14], di
test rdx, rdx
je 0x14013ca08
mov rcx, qword [rbx + 8]
mov r8, r14
call fcn.14020c7e0
mov rcx, qword [rbp + 0x68]
mov qword [rbp + 0x68], rbx
test rcx, rcx
je 0x14013ca2f
add rcx, 0xfffffffffffffff0
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14013ca2a
call fcn.140143da0
mov r14, qword [rsp + 0x60]
mov rax, qword [0x1402c1170]
mov rdx, qword [0x1402c5ff0]
lea rbx, [r14 + rax*2]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_Ordinal_1240
mov r12, rax
mov qword [rax], rbx
add rax, 0x10
mov qword [r12 + 8], rax
mov word [rbx + rax], di
mov rbx, qword [r12 + 8]
mov r8, qword [0x1402c1170]
mov rcx, rbx
mov rdx, qword [0x1402c1178]
call fcn.14020c7e0
add rbx, qword [0x1402c1170]
mov r8, r14
mov rdx, qword [rsp + 0x68]
mov rcx, rbx
call fcn.14020c7e0
mov r8, qword [0x1402c1170]
lea rcx, [r14 + rbx]
mov rdx, qword [0x1402c1178]
call fcn.14020c7e0
mov rax, qword [rbp - 0x78]
mov r14, r12
test rax, rax
je 0x14013cb45
mov rbx, qword [r12]
add rbx, qword [0x1402c1190]
mov rdx, qword [0x1402c5ff0]
add rbx, rax
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_Ordinal_1240
mov r14, rax
mov qword [rax], rbx
add rax, 0x10
mov qword [r14 + 8], rax
mov word [rbx + rax], di
mov rbx, qword [r14 + 8]
mov r8, qword [r12]
mov rcx, rbx
mov rdx, qword [r12 + 8]
call fcn.14020c7e0
add rbx, qword [r12]
mov r8, qword [0x1402c1190]
mov rcx, rbx
mov rdx, qword [0x1402c1198]
call fcn.14020c7e0
add rbx, qword [0x1402c1190]
mov r8, qword [rbp - 0x78]
mov rcx, rbx
mov rdx, qword [rbp - 0x70]
call fcn.14020c7e0
lea rcx, [r12 - 0x10]
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14013cb45
nop dword [rax]
call fcn.140143da0
mov r12, qword [rsp + 0x130]
mov rcx, r15
mov r15, r14
test rcx, rcx
je 0x14013cb6d
add rcx, 0xfffffffffffffff0
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14013cb6d
call fcn.140143da0
mov rbx, qword [rbp + 0x68]
test rbx, rbx
je 0x14013cbcd
mov rcx, qword [rbx + 8]
call sym.SystemInformer.exe_Ordinal_1481
nop
test al, al
jne 0x14013cbcd
mov rcx, qword [rbx + 8]
lea rdx, str..exe
call fcn.1401418a0
test rax, rax
je 0x14013cbab
mov qword ds:[rbp + 0x68], rax
test rbx, rbx
je 0x14013cbcd
lea rcx, [rbx - 0x10]
jmp 0x14013cbbc
mov rcx, qword [rbp + 0x68]
mov qword [rbp + 0x68], rdi
test rcx, rcx
je 0x14013cbcd
add rcx, 0xfffffffffffffff0
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14013cbcd
call fcn.140143da0
mov r14, qword [rbp + 0x70]
mov rax, qword [rbp + 0x78]
test rax, rax
je 0x14013cbe7
mov rcx, rax
call sym.SystemInformer.exe_Ordinal_1329
jmp 0x14013cbfd
mov rbx, qword [rbp + 0x68]
test rbx, rbx
je 0x14013cc00
cmp qword [rbx], rdi
je 0x14013cc00
mov rcx, rbx
call sym.SystemInformer.exe_Ordinal_1640
mov r13, rax
mov ecx, dword [rbp + 0x80]
mov eax, edi
test cl, 0x20
je 0x14013cc15
lfence
mov eax, 1
test cl, 0x40
je 0x14013cc20
lfence
or eax, 2
test cl, 4
je 0x14013cc2b
lfence
or eax, 4
test cl, 0x10
je 0x14013cc36
lfence
or eax, 0x10
test cl, 2
je 0x14013cc42
lfence
bts eax, 0xa
test cl, cl
jns 0x14013cc4d
lfence
bts eax, 0x13
test cl, 8
je 0x14013cc59
lfence
bts eax, 0x18
bt ecx, 8
jae 0x14013cc66
lfence
bts eax, 0x1a
mov r10, qword [rbp + 0x88]
xorps xmm0, xmm0
xor edx, edx
mov dword [rbp - 0x60], 0x68
mov dword [rbp + 4], edx
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
test r10, r10
je 0x14013ccfd
test r13, r13
je 0x14013cca4
mov r9, qword [r13 + 8]
jmp 0x14013cca7
mov r9, rdi
test r15, r15
je 0x14013ccb2
mov r8, qword [r15 + 8]
jmp 0x14013ccb5
mov r8, rdi
mov rbx, qword [rbp + 0x68]
test rbx, rbx
je 0x14013ccc2
mov rdx, qword [rbx + 8]
and ecx, 1
lea r11, [rsp + 0x70]
mov qword [rsp + 0x50], r11
lea r11, [rbp - 0x60]
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x40], r9
xor r9d, r9d
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
mov rcx, r10
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
jmp 0x14013cd66
nop dword [rax]
test r13, r13
je 0x14013cd0b
mov r8, qword [r13 + 8]
jmp 0x14013cd0e
mov r8, rdi
test r15, r15
je 0x14013cd17
mov rdx, qword [r15 + 8]
mov rbx, qword ds:[rbp + 0x68]
test rbx, rbx
je 0x14013cd2b
mov r10, qword [rbx + 8]
jmp 0x14013cd2e
mov r10, rdi
and ecx, 1
lea r9, [rsp + 0x70]
mov qword [rsp + 0x48], r9
lea r9, [rbp - 0x60]
mov qword [rsp + 0x40], r9
xor r9d, r9d
mov qword [rsp + 0x38], r8
xor r8d, r8d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14013cd91
cmp dword [0x1402bbf68], 0xffffffff
jae 0x14013cd82
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x68]
jmp 0x14013cd88
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_Ordinal_1343
mov edi, eax
mov rbx, qword ds:[rbp + 0x68]
mov r14, qword [rsp + 0x120]
test rbx, rbx
je 0x14013cdba
lea rcx, [rbx - 0x10]
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14013cdba
call fcn.140143da0
mov rbx, qword [rsp + 0x140]
test r15, r15
je 0x14013cddc
lea rcx, [r15 - 0x10]
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14013cddc
call fcn.140143da0
mov r15, qword [rsp + 0x118]
test r13, r13
je 0x14013cdfc
lea rcx, [r13 - 0x10]
lock xadd dword [rcx + 8], esi
cmp esi, 1
jne 0x14013cdfc
call fcn.140143da0
mov r13, qword [rsp + 0x128]
mov rsi, qword [rsp + 0x138]
test edi, edi
js 0x14013ce59
mov rcx, qword [rbp + 0x90]
test rcx, rcx
je 0x14013ce26
mov rax, qword [rsp + 0x70]
mov qword [rcx], rax
jmp 0x14013ce36
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14013ce36
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword ds:[rbp + 0x98]
test rcx, rcx
je 0x14013ce6b
mov rax, qword [rsp + 0x78]
mov qword [rcx], rax
mov eax, edi
add rsp, 0x148
pop rdi
pop rbp
ret
mov rcx, qword ds:[rsp + 0x70]
test rcx, rcx
je 0x14013ce6b
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14013ce7b
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, edi
add rsp, 0x148
pop rdi
pop rbp
ret