Function at 0x140004200
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 rbp
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x250], rax
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
lea rax, [rbp + 0x40]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], si
jne 0x140004280
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140005140
nop
mov rdi, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
sub rax, rdi
cmp rax, 5
jb 0x1400042e2
lea rax, [rdi + 5]
mov qword [rbp - 0x70], rax
lea rbx, [rbp - 0x80]
cmp rcx, 7
cmova rbx, qword [rbp - 0x80]
lea rcx, [rbx + rdi*2]
mov r8d, 0xa
lea rdx, str.Temp
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2 + 0xa], si
lea rax, [rbp - 0x80]
jmp 0x140004300
mov qword [rsp + 0x20], 5
lea r9, str.Temp
mov edx, 5
lea rcx, [rbp - 0x80]
call fcn.140004f60
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x140004361
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000435c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000435c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006bf0
movdqa xmm0, xmmword [0x140008790]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], si
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x20]
call fcn.140004ae0
nop
lea rcx, [rbp]
call fcn.140003590
nop
call fcn.140005e40
lea rcx, str.helper.dll
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], 0xa
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.140001850
nop
lea r8, [rsp + 0x60]
lea rdx, [rbp]
lea rcx, [rbp - 0x40]
call fcn.140001d40
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x14000440e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004409
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004409
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006bf0
movdqa xmm0, xmmword [0x140008790]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], si
mov r8d, 3
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.1400034b0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x30], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x80], ecx
lea rax, [0x14000b080]
mov qword [rbp - 0x78], rax
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x14000446b
test ecx, ecx
jne 0x14000471b
jmp 0x140004470
cmp eax, 1
jne 0x14000448c
mov r9d, 0x10
lea r8, str.DLL_not_found
lea rdx, str.Improper_installation._helper.dll_not_found.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140004ae0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14000450c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004507
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004507
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006bf0
movdqa xmm0, xmmword [0x140008790]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], si
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.140004050
lea r8, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova r8, qword [rbp - 0x20]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
mov ebx, esi
cmp eax, 0x20
setg bl
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x1400045a1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000459c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000459c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006bf0
movdqa xmm0, xmmword [0x140008790]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], si
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x1400045f5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400045f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400045f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006bf0
movdqa xmm0, xmmword [0x140008790]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x40], si
mov rdx, qword [rbp + 0x18]
cmp rdx, 7
jbe 0x140004649
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004644
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004644
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006bf0
movdqa xmm0, xmmword [0x140008790]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], si
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x14000469d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004698
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004698
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006bf0
movdqa xmm0, xmmword [0x140008790]
movdqu xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], si
mov rdx, qword [rbp + 0x38]
cmp rdx, 7
jbe 0x1400046f1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400046ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400046ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006bf0
mov eax, ebx
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.140006bd0
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x80]
call fcn.140002a90
int3