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, 0xd0
mov rax, qword [0x140059040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
xor edi, edi
mov qword [rbp + 0x17], rdi
lea r9, [rbp + 0x17]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140048900]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x1400425ad
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
mov rdx, qword [rbp + 0x17]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], di
jne 0x140042326
lea rcx, [rbp - 9]
call fcn.14003faa0
nop
mov r8d, 1
lea rdx, [0x14004f5f0]
lea rcx, [rbp - 9]
call fcn.14003ee40
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x49], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x39], 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 0x14004238b
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.14003ee40
xorps xmm0, xmm0
movups xmmword [rbp + 0x2f], xmm0
mov qword [rbp + 0x3f], rdi
mov qword [rbp + 0x47], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x2f], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x3f], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rbp - 0x31]
cmp rdx, 7
jbe 0x140042407
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042402
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042402
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400448cc
movdqa xmm0, xmmword [0x14004f810]
movdqu xmmword [rbp - 0x39], xmm0
mov word [rbp - 0x49], di
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x140042463
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042456
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042456
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400448cc
movdqa xmm0, xmmword [0x14004f810]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], di
lea rdx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 7
cmova rdx, qword [rbp + 0x2f]
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x11], rdi
mov r8, qword [rbp + 0x3f]
lea rcx, [rbp - 0x29]
call fcn.14003faa0
nop
mov qword [rbp + 0x1f], rdi
lea rax, [0x140059128]
mov qword [rbp + 0x27], rax
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 0x29]
call fcn.1400411b0
movzx ebx, al
cmp dword [rbp + 0x1f], 0
jne 0x1400425d0
mov rdx, qword [rbp - 0x11]
cmp rdx, 7
jbe 0x140042503
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400424fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400424fe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400448cc
test bl, bl
jne 0x14004252c
mov r8d, 0x10
lea rdx, str.Folder_not_found
lea rcx, [0x1400590f8]
call fcn.140039c90
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x140042565
lea r8, [rbp + 0x2f]
cmp qword [rbp + 0x47], 7
cmova r8, qword [rbp + 0x2f]
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 + 0x17]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov bl, 1
mov rdx, qword [rbp + 0x47]
cmp rdx, 7
jbe 0x1400425a8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400425a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400425a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400448cc
movzx eax, bl
jmp 0x1400425af
xor al, al
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140044730
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea r8, [rbp - 0x29]
lea rdx, [rbp + 0x1f]
lea rcx, str.exists
call fcn.14003b200
int3