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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov rax, qword [0x140057040]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
xor edi, edi
lea r9, [rbp - 0x11]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400468b0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x14004263e
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
mov rdx, qword [rbp - 0x11]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], di
jne 0x140042322
lea rcx, [rbp - 0x31]
call fcn.14003fd30
nop
mov r8d, 1
lea rdx, [0x14004d574]
lea rcx, [rbp - 0x31]
call fcn.14003f0e0
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x41], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x51], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x41], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x140042387
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp - 0x51]
call fcn.14003f0e0
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rdi
mov qword [rbp + 0x1f], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 7], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x17], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rbp - 0x39]
cmp rdx, 7
jbe 0x140042403
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400423fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400423fe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140042e3c
movdqa xmm0, xmmword [0x14004d730]
movdqu xmmword [rbp - 0x41], xmm0
mov word [rbp - 0x51], di
mov rdx, qword [rbp - 0x19]
cmp rdx, 7
jbe 0x140042457
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042452
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042452
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140042e3c
movdqa xmm0, xmmword [0x14004d730]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], di
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova rdx, qword [rbp + 7]
xorps xmm0, xmm0
movups xmmword [rbp - 0x71], xmm0
mov qword [rbp - 0x61], rdi
mov qword [rbp - 0x59], rdi
mov r8, qword [rbp + 0x17]
lea rcx, [rbp - 0x71]
call fcn.14003fd30
nop
lea rcx, [rbp - 0x71]
cmp qword [rbp - 0x59], 7
cmova rcx, qword [rbp - 0x71]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x27]
call fcn.140043d08
mov r8d, eax
test eax, eax
jne 0x140042505
mov edx, dword [rbp + 0x37]
test dl, 1
mov ecx, 0x1ff
mov eax, 0x16d
cmovne ecx, eax
mov dword [rbp - 5], ecx
bt edx, 0xa
jae 0x1400424f7
mov eax, dword [rbp + 0x3b]
cmp eax, 0xa000000c
jne 0x1400424e9
lea eax, [r8 + 4]
jmp 0x140042527
cmp eax, 0xa0000003
jne 0x1400424f7
mov eax, 0xa
jmp 0x140042527
movzx eax, dl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x140042527
mov dword [rbp - 5], 0xffff
sub eax, 2
je 0x140042522
sub eax, 1
je 0x140042522
sub eax, 0x32
je 0x140042522
cmp eax, 0x46
mov eax, edi
jne 0x140042527
mov eax, 1
mov dword [rbp - 9], r8d
lea rcx, [0x140057128]
mov qword [rbp - 1], rcx
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
test eax, eax
je 0x140042587
cmp eax, 1
sete bl
mov rdx, qword [rbp - 0x59]
cmp rdx, 7
jbe 0x140042599
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042594
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042594
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov bl, 1
test r8d, r8d
jne 0x140042661
jmp 0x140042549
call fcn.140042e3c
test bl, bl
je 0x1400425bd
mov r8d, 0x10
lea rdx, str.Folder_not_found
call fcn.14003a7e0
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor bl, bl
jmp 0x1400425f6
lea r8, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova r8, qword [rbp + 7]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov bl, 1
mov rdx, qword [rbp + 0x1f]
cmp rdx, 7
jbe 0x140042639
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042634
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042634
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140042e3c
movzx eax, bl
jmp 0x140042640
xor al, al
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140042ca0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea r8, [rbp - 0x71]
lea rdx, [rbp - 9]
lea rcx, str.exists
call fcn.14003bc50
int3