Function at 0x14002f140
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
mov rax, qword [0x14005be78]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r14b, r9b
mov esi, r8d
mov rdi, rdx
mov r15, rcx
mov qword [rbp - 0x29], rdx
mov rbx, qword [rdx + 0x10]
lea rax, [rbx - 1]
cmp rax, 0xfffe
ja 0x14002f4f4
mov r12d, 0x70
mov r8d, r12d
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140033950
mov dword [rsp + 0x30], r12d
mov eax, 0x1c0
mov ecx, 0x5c0
xor r12d, r12d
test r14b, r14b
cmovne eax, ecx
mov dword [rsp + 0x34], eax
mov rax, rdi
mov rcx, qword [rdi + 0x18]
cmp rcx, 8
jb 0x14002f1ca
mov rax, qword [rdi]
cmp word [rax], 0x22
mov rax, rdi
jne 0x14002f1e2
cmp rcx, 8
jb 0x14002f1dc
mov rax, qword [rdi]
add rax, 2
jmp 0x14002f1eb
cmp rcx, 8
jb 0x14002f1eb
mov rax, qword [rdi]
mov qword [rsp + 0x48], rax
mov rax, r12
test rbx, rbx
je 0x14002f288
mov r8d, 0x20
mov rdx, rdi
cmp rcx, 8
jb 0x14002f20e
mov rdx, qword [rdi]
cmp word [rdx + rax*2], 0x22
jne 0x14002f245
jmp 0x14002f22a
mov rdx, rdi
cmp rcx, 8
jb 0x14002f223
mov rdx, qword [rdi]
cmp word [rdx + rax*2], 0x22
je 0x14002f234
inc rax
cmp rax, rbx
jb 0x14002f217
jmp 0x14002f245
mov rdx, rdi
cmp rcx, 8
jb 0x14002f240
mov rdx, qword [rdi]
mov word [rdx + rax*2], r8w
mov rdx, rdi
mov rcx, qword [rdi + 0x18]
cmp rcx, 8
jb 0x14002f255
mov rdx, qword [rdi]
cmp word [rdx + rax*2], r8w
je 0x14002f51a
mov rdx, rdi
cmp rcx, 8
jb 0x14002f26c
mov rdx, qword [rdi]
cmp word [rdx + rax*2 + 2], 0x2f
je 0x14002f51a
inc rax
mov rbx, qword [rdi + 0x10]
cmp rax, rbx
jb 0x14002f202
mov rax, qword [rbp - 0x79]
test rax, rax
je 0x14002f297
cmp word [rax], r12w
jne 0x14002f2c0
test r14b, r14b
jne 0x14002f2c0
cmp qword [0x140065d28], r12
je 0x14002f2c0
lea rax, [0x140065d18]
cmp qword [0x140065d30], 8
cmovae rax, qword [0x140065d18]
mov qword [rbp - 0x79], rax
mov dword [rbp - 0x69], esi
mov rcx, qword [rsp + 0x48]
call fcn.140016120
mov rsi, rax
test rax, rax
je 0x14002f2f8
lea rdx, str..inf
mov rcx, rax
call fcn.14002101c
lea rcx, [0x14004ae58]
test eax, eax
cmovne rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], rcx
mov rbx, qword [rsp + 0x48]
mov qword [rbp - 1], r12
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
mov rcx, rbx
call fcn.1400375dc
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 1]
call fcn.14000129c
nop
lea rcx, [rbp - 1]
call fcn.1400132b8
mov bl, al
lea rcx, [rbp - 1]
call fcn.140001fa0
mov qword [rbp - 0x21], r12
movdqa xmm0, xmmword [0x1400489c0]
movdqu xmmword [rbp - 0x11], xmm0
mov word [rbp - 0x21], r12w
test bl, bl
je 0x14002f3a2
mov rbx, qword [rsp + 0x48]
mov qword [rbp - 1], r12
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
mov rcx, rbx
call fcn.1400375dc
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 1]
call fcn.14000129c
nop
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 1]
call fcn.1400158d4
nop
lea rcx, [rbp - 1]
call fcn.140001fa0
lea rax, [rbp - 0x21]
cmp qword [rbp - 9], 8
cmovae rax, qword [rbp - 0x21]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x14002f4a6
mov bl, r12b
cmp byte [0x140065cc0], r12b
jne 0x14002f3cf
test r14b, r14b
jne 0x14002f3cf
cmp byte [0x140065d90], r12b
je 0x14002f443
test r15, r15
je 0x14002f3ee
mov rcx, r15
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x14002f3ee
xor edx, edx
mov rcx, r15
call qword [sym.imp.USER32.dll_ShowWindow]
mov bl, 1
mov edx, 0x7d0
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.USER32.dll_WaitForInputIdle]
mov rcx, qword [rbp - 0x31]
call fcn.14002fa84
cmp byte [0x140065d90], r12b
je 0x14002f443
test r14b, r14b
jne 0x14002f443
lea rdx, [rsp + 0x20]
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x14002f443
mov eax, dword [0x140065d94]
cmp dword [rsp + 0x20], eax
cmova eax, dword [rsp + 0x20]
mov dword [0x140065d94], eax
mov byte [0x140065d91], 1
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rsi, rsi
je 0x14002f465
lea rdx, str..exe
mov rcx, rsi
call fcn.14002101c
test eax, eax
je 0x14002f48e
cmp byte [0x140065cc0], r12b
je 0x14002f48e
test r14b, r14b
jne 0x14002f48e
mov eax, dword [0x140065d98]
mov ecx, 0x1b58
cmp byte [0x140065d90], r12b
cmove eax, ecx
mov dword [0x140065d98], eax
test bl, bl
je 0x14002f4a6
test r14b, r14b
je 0x14002f4a6
mov edx, 1
mov rcx, r15
call qword [sym.imp.USER32.dll_ShowWindow]
nop
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x14002f4e2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f4dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002f55b
call fcn.140031e6c
movdqa xmm0, xmmword [0x1400489c0]
movdqu xmmword [rbp - 0x11], xmm0
mov word [rbp - 0x21], r12w
mov rcx, rdi
call fcn.140001fa0
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140031f80
add rsp, 0xf0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rdx, rdi
cmp rcx, 8
jb 0x14002f526
mov rdx, qword [rdi]
cmp word [rdx + rax*2], r8w
jne 0x14002f53e
mov rdx, rdi
cmp rcx, 8
jb 0x14002f539
mov rdx, qword [rdi]
mov word [rdx + rax*2], r12w
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14002f54b
mov rcx, qword [rdi]
inc rax
lea rax, [rcx + rax*2]
mov qword [rbp - 0x79], rax
jmp 0x14002f28c
call fcn.140037564
int3