Function at 0x140001760
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x350
mov rax, qword [0x140065040]
xor rax, rsp
mov qword [rsp + 0x340], rax
xor r14d, r14d
mov dword [rsp + 0xc0], 0x68
xorps xmm0, xmm0
movups xmmword [rsp + 0xc8], xmm0
movups xmmword [rsp + 0xd8], xmm0
movups xmmword [rsp + 0xe8], xmm0
movups xmmword [rsp + 0xf8], xmm0
movups xmmword [rsp + 0x108], xmm0
movups xmmword [rsp + 0x118], xmm0
lea rax, [rsp + 0x130]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x130]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140001810
movabs rsi, 0x7ffffffffffffffe
cmp rbx, rsi
ja 0x140001b23
cmp rbx, 7
ja 0x140001864
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 7
add rbx, rbx
mov r8, rbx
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x50], r14w
jmp 0x14000191a
mov rax, rbx
or rax, 7
cmp rax, rsi
jbe 0x140001896
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x1400018e8
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001b29
jmp 0x1400018c6
mov rsi, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rsi, rcx
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140001b2e
add rcx, rcx
jne 0x14000187e
mov rdi, r14
jmp 0x1400018f0
mov rcx, rax
call fcn.14004bba0
test rax, rax
je 0x1400018e1
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400018f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004bba0
mov rdi, rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
add rbx, rbx
mov r8, rbx
lea rdx, [rsp + 0x130]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi], r14w
mov rdi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
sub rax, rdi
cmp rax, 9
jb 0x14000196b
lea rax, [rdi + 9]
mov qword [rsp + 0x60], rax
lea rbx, [rsp + 0x50]
cmp rcx, 7
cmova rbx, qword [rsp + 0x50]
lea rcx, [rbx + rdi*2]
mov r8d, 0x12
lea rdx, str._task.exe
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2 + 0x12], r14w
lea rax, [rsp + 0x50]
jmp 0x140001983
mov qword [rsp + 0x20], 9
mov edx, 9
lea rcx, [rsp + 0x50]
call fcn.140003590
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xa8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x98], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xa8], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140001a06
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a01
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004bbe4
movdqa xmm0, xmmword [0x14005bf60]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r14w
lea rcx, [rsp + 0x98]
call fcn.140001740
lea rcx, [rsp + 0x98]
cmp qword [rsp + 0xb0], 7
cmova rcx, qword [rsp + 0x98]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0xb0]
cmp rdx, 7
jbe 0x140001af9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001af3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001af3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004bbe4
nop
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.14004bb80
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret
call fcn.1400011b0
nop
call fcn.140001110
call fcn.140001110
int3