Function at 0x140022f60
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 [0x14004de28]
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 0x140023314
mov r12d, 0x70
mov r8d, r12d
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400273f0
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 0x140022fea
mov rax, qword [rdi]
cmp word [rax], 0x22
mov rax, rdi
jne 0x140023002
cmp rcx, 8
jb 0x140022ffc
mov rax, qword [rdi]
add rax, 2
jmp 0x14002300b
cmp rcx, 8
jb 0x14002300b
mov rax, qword [rdi]
mov qword [rsp + 0x48], rax
mov rax, r12
test rbx, rbx
je 0x1400230a8
mov r8d, 0x20
mov rdx, rdi
cmp rcx, 8
jb 0x14002302e
mov rdx, qword [rdi]
cmp word [rdx + rax*2], 0x22
jne 0x140023065
jmp 0x14002304a
mov rdx, rdi
cmp rcx, 8
jb 0x140023043
mov rdx, qword [rdi]
cmp word [rdx + rax*2], 0x22
je 0x140023054
inc rax
cmp rax, rbx
jb 0x140023037
jmp 0x140023065
mov rdx, rdi
cmp rcx, 8
jb 0x140023060
mov rdx, qword [rdi]
mov word [rdx + rax*2], r8w
mov rdx, rdi
mov rcx, qword [rdi + 0x18]
cmp rcx, 8
jb 0x140023075
mov rdx, qword [rdi]
cmp word [rdx + rax*2], r8w
je 0x14002333a
mov rdx, rdi
cmp rcx, 8
jb 0x14002308c
mov rdx, qword [rdi]
cmp word [rdx + rax*2 + 2], 0x2f
je 0x14002333a
inc rax
mov rbx, qword [rdi + 0x10]
cmp rax, rbx
jb 0x140023022
mov rax, qword [rbp - 0x79]
test rax, rax
je 0x1400230b7
cmp word [rax], r12w
jne 0x1400230e0
test r14b, r14b
jne 0x1400230e0
cmp qword [0x140068498], r12
je 0x1400230e0
lea rax, [0x140068488]
cmp qword [0x1400684a0], 8
cmovae rax, qword [0x140068488]
mov qword [rbp - 0x79], rax
mov dword [rbp - 0x69], esi
mov rcx, qword [rsp + 0x48]
call fcn.140007b68
mov rsi, rax
test rax, rax
je 0x140023118
lea rdx, str..inf
mov rcx, rax
call fcn.1400109c0
lea rcx, [0x14003d878]
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.14002ae3c
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 1]
call fcn.1400012bc
nop
lea rcx, [rbp - 1]
call fcn.14000587c
mov bl, al
lea rcx, [rbp - 1]
call fcn.140001b70
mov qword [rbp - 0x21], r12
movdqa xmm0, xmmword [0x14003b930]
movdqu xmmword [rbp - 0x11], xmm0
mov word [rbp - 0x21], r12w
test bl, bl
je 0x1400231c2
mov rbx, qword [rsp + 0x48]
mov qword [rbp - 1], r12
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
mov rcx, rbx
call fcn.14002ae3c
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 1]
call fcn.1400012bc
nop
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 1]
call fcn.1400072ac
nop
lea rcx, [rbp - 1]
call fcn.140001b70
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 0x1400232c6
mov bl, r12b
cmp byte [0x140068430], r12b
jne 0x1400231ef
test r14b, r14b
jne 0x1400231ef
cmp byte [0x140068500], r12b
je 0x140023263
test r15, r15
je 0x14002320e
mov rcx, r15
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x14002320e
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.140023858
cmp byte [0x140068500], r12b
je 0x140023263
test r14b, r14b
jne 0x140023263
lea rdx, [rsp + 0x20]
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x140023263
mov eax, dword [0x140068504]
cmp dword [rsp + 0x20], eax
cmova eax, dword [rsp + 0x20]
mov dword [0x140068504], eax
mov byte [0x140068501], 1
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rsi, rsi
je 0x140023285
lea rdx, str..exe
mov rcx, rsi
call fcn.1400109c0
test eax, eax
je 0x1400232ae
cmp byte [0x140068430], r12b
je 0x1400232ae
test r14b, r14b
jne 0x1400232ae
mov eax, dword [0x140068508]
mov ecx, 0x1b58
cmp byte [0x140068500], r12b
cmove eax, ecx
mov dword [0x140068508], eax
test bl, bl
je 0x1400232c6
test r14b, r14b
je 0x1400232c6
mov edx, 1
mov rcx, r15
call qword [sym.imp.USER32.dll_ShowWindow]
nop
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x140023302
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400232fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002337b
call fcn.140025a4c
movdqa xmm0, xmmword [0x14003b930]
movdqu xmmword [rbp - 0x11], xmm0
mov word [rbp - 0x21], r12w
mov rcx, rdi
call fcn.140001b70
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140025b60
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 0x140023346
mov rdx, qword [rdi]
cmp word [rdx + rax*2], r8w
jne 0x14002335e
mov rdx, rdi
cmp rcx, 8
jb 0x140023359
mov rdx, qword [rdi]
mov word [rdx + rax*2], r12w
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14002336b
mov rcx, qword [rdi]
inc rax
lea rax, [rcx + rax*2]
mov qword [rbp - 0x79], rax
jmp 0x1400230ac
call fcn.14002adc4
int3