Function at 0x140022ff0
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 0x1400233a4
mov r12d, 0x70
mov r8d, r12d
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140027480
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 0x14002307a
mov rax, qword [rdi]
cmp word [rax], 0x22
mov rax, rdi
jne 0x140023092
cmp rcx, 8
jb 0x14002308c
mov rax, qword [rdi]
add rax, 2
jmp 0x14002309b
cmp rcx, 8
jb 0x14002309b
mov rax, qword [rdi]
mov qword [rsp + 0x48], rax
mov rax, r12
test rbx, rbx
je 0x140023138
mov r8d, 0x20
mov rdx, rdi
cmp rcx, 8
jb 0x1400230be
mov rdx, qword [rdi]
cmp word [rdx + rax*2], 0x22
jne 0x1400230f5
jmp 0x1400230da
mov rdx, rdi
cmp rcx, 8
jb 0x1400230d3
mov rdx, qword [rdi]
cmp word [rdx + rax*2], 0x22
je 0x1400230e4
inc rax
cmp rax, rbx
jb 0x1400230c7
jmp 0x1400230f5
mov rdx, rdi
cmp rcx, 8
jb 0x1400230f0
mov rdx, qword [rdi]
mov word [rdx + rax*2], r8w
mov rdx, rdi
mov rcx, qword [rdi + 0x18]
cmp rcx, 8
jb 0x140023105
mov rdx, qword [rdi]
cmp word [rdx + rax*2], r8w
je 0x1400233ca
mov rdx, rdi
cmp rcx, 8
jb 0x14002311c
mov rdx, qword [rdi]
cmp word [rdx + rax*2 + 2], 0x2f
je 0x1400233ca
inc rax
mov rbx, qword [rdi + 0x10]
cmp rax, rbx
jb 0x1400230b2
mov rax, qword [rbp - 0x79]
test rax, rax
je 0x140023147
cmp word [rax], r12w
jne 0x140023170
test r14b, r14b
jne 0x140023170
cmp qword [0x14006a498], r12
je 0x140023170
lea rax, [0x14006a488]
cmp qword [0x14006a4a0], 8
cmovae rax, qword [0x14006a488]
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 0x1400231a8
lea rdx, str..inf
mov rcx, rax
call fcn.140010a5c
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.14002aecc
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 0x140023252
mov rbx, qword [rsp + 0x48]
mov qword [rbp - 1], r12
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
mov rcx, rbx
call fcn.14002aecc
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 0x140023356
mov bl, r12b
cmp byte [0x14006a430], r12b
jne 0x14002327f
test r14b, r14b
jne 0x14002327f
cmp byte [0x14006a500], r12b
je 0x1400232f3
test r15, r15
je 0x14002329e
mov rcx, r15
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x14002329e
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.1400238e8
cmp byte [0x14006a500], r12b
je 0x1400232f3
test r14b, r14b
jne 0x1400232f3
lea rdx, [rsp + 0x20]
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x1400232f3
mov eax, dword [0x14006a504]
cmp dword [rsp + 0x20], eax
cmova eax, dword [rsp + 0x20]
mov dword [0x14006a504], eax
mov byte [0x14006a501], 1
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rsi, rsi
je 0x140023315
lea rdx, str..exe
mov rcx, rsi
call fcn.140010a5c
test eax, eax
je 0x14002333e
cmp byte [0x14006a430], r12b
je 0x14002333e
test r14b, r14b
jne 0x14002333e
mov eax, dword [0x14006a508]
mov ecx, 0x1b58
cmp byte [0x14006a500], r12b
cmove eax, ecx
mov dword [0x14006a508], eax
test bl, bl
je 0x140023356
test r14b, r14b
je 0x140023356
mov edx, 1
mov rcx, r15
call qword [sym.imp.USER32.dll_ShowWindow]
nop
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x140023392
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002338d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002340b
call fcn.140025adc
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.140025bf0
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 0x1400233d6
mov rdx, qword [rdi]
cmp word [rdx + rax*2], r8w
jne 0x1400233ee
mov rdx, rdi
cmp rcx, 8
jb 0x1400233e9
mov rdx, qword [rdi]
mov word [rdx + rax*2], r12w
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400233fb
mov rcx, qword [rdi]
inc rax
lea rax, [rcx + rax*2]
mov qword [rbp - 0x79], rax
jmp 0x14002313c
call fcn.14002ae54
int3