Function at 0x14001107c
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
mov eax, 0x10d0
call fcn.14002e7c0
sub rsp, rax
xor r13d, r13d
mov dil, r8b
mov rbx, rdx
mov rbp, rcx
cmp word [rdx], r13w
je 0x14001135d
mov rcx, rdx
call fcn.1400209c4
cmp rax, 0x7f6
jae 0x14001135d
lea esi, [r13 + 0x70]
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8, rsi
call fcn.140020a40
cmp word [rbx], 0x22
lea rax, [rbx + 2]
mov rdx, rbx
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x34], 0x1c0
cmove rdx, rax
mov rax, r13
mov qword [rsp + 0x48], rdx
cmp word [rbx], r13w
je 0x14001114e
mov rcx, rbx
lea r8d, [r13 + 0x20]
cmp word [rcx], 0x22
jne 0x14001112a
jmp 0x140011119
cmp word [rbx + rax*2], 0x22
je 0x140011125
inc rax
cmp word [rbx + rax*2], r13w
jne 0x140011112
jmp 0x14001112a
mov word [rbx + rax*2], r8w
cmp word [rbx + rax*2], r8w
je 0x140011262
cmp word [rbx + rax*2 + 2], 0x2f
je 0x14001125b
inc rax
lea rcx, [rbx + rax*2]
cmp word [rcx], r13w
jne 0x14001110a
mov rcx, qword [rsp + 0x50]
cmp rcx, r13
je 0x14001115e
cmp word [rcx], r13w
jne 0x14001117b
cmp dil, r13b
jne 0x14001117b
cmp word [0x14004aeca], r13w
lea rax, [0x14004aeca]
cmove rax, rcx
mov qword [rsp + 0x50], rax
mov rcx, rdx
mov dword [rsp + 0x60], 1
call fcn.14000bfcc
mov rbx, rax
cmp rax, r13
je 0x1400111b7
lea rdx, str..inf
mov rcx, rax
call fcn.1400156c4
lea rcx, [0x1400311f0]
cmp eax, r13d
cmovne rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0x48]
call fcn.14000a9ac
cmp al, r13b
je 0x1400111eb
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0xd0]
mov r8d, 0x800
call fcn.14000c618
lea r11, [rsp + 0xd0]
mov qword [rsp + 0x48], r11
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, r13d
je 0x14001135d
mov sil, r13b
cmp byte [0x140049ec0], r13b
jne 0x14001121d
cmp dil, r13b
jne 0x14001121d
cmp byte [0x140049e7d], r13b
je 0x1400112eb
cmp rbp, r13
je 0x14001123e
mov rcx, rbp
call qword [sym.imp.USER32.dll_IsWindowVisible]
cmp eax, r13d
je 0x14001123e
xor edx, edx
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
mov sil, 1
mov rcx, qword [rsp + 0x98]
mov edx, 0x7d0
call qword [sym.imp.USER32.dll_WaitForInputIdle]
mov r12, qword [rsp + 0x98]
jmp 0x140011294
cmp word [rbx + rax*2], r8w
jne 0x140011267
mov word [rbx + rax*2], r13w
lea rcx, [rbx + rax*2 + 2]
mov qword [rsp + 0x50], rcx
jmp 0x140011153
lea rcx, [rsp + 0xa0]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_PeekMessageW]
mov edx, 0xa
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x140011276
cmp byte [0x140049e7d], r13b
je 0x1400112eb
mov rcx, qword [rsp + 0x98]
lea rdx, [rsp + 0x10f8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp eax, r13d
je 0x1400112eb
mov eax, dword [0x140049ea0]
mov ecx, dword [rsp + 0x10f8]
add ecx, 0x3e8
cmp ecx, eax
cmova eax, ecx
mov dword [0x140049ea0], eax
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp rbx, r13
je 0x140011312
lea rdx, str..exe
mov rcx, rbx
call fcn.1400156c4
cmp eax, r13d
je 0x140011345
cmp byte [0x140049ec0], r13b
je 0x14001132c
cmp dil, r13b
jne 0x14001132c
mov dword [0x140049ea4], 0x1b58
jmp 0x140011345
mov al, dil
neg al
sbb ecx, ecx
and ecx, 0xfffffce0
add ecx, 0x3e8
mov dword [0x140049ea4], ecx
cmp sil, r13b
je 0x14001135d
cmp dil, r13b
je 0x14001135d
mov edx, 1
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
lea r11, [rsp + 0x10d0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret