Function at 0x140005340
Capabilities:
Create process on windows
Get common file path
Get program files directory

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x2a8]
sub rsp, 0x3a0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x1402479e0]
xor rax, rsp
mov qword [rbp + 0x290], rax
xor r9d, r9d
lea r8d, [r9 + 0x26]
lea rdx, [rbp + 0x80]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x70]
call fcn.140005620
nop
mov dword [rbp + 0x50], 0x5202000a
xor ebx, ebx
mov dword [rbp + 0x54], 0x6b911233
mov dword [rbp + 0x58], 0x71704c92
mov dword [rbp + 0x5c], 0x315d3da2
mov dword [rbp + 0x60], 0x24f8732a
mov dword [rbp + 0x64], 0x52757f5c
mov dword [rbp + 0x68], 0x6bff125a
mov dword [rbp + 0x6c], 0x711f4ce5
mov dword [rbp + 0x70], 0x31393dd0
mov dword [rbp + 0x74], 0x249d7304
mov dword [rbp + 0x78], 0x52677f24
mov word [rbp + 0x7c], 0x1233
lea rcx, [rbp + 0x50]
call fcn.14000433c
lea rdx, [rbp + 0x66]
lea rcx, [rbp + 0x80]
call fcn.140005088
test rax, rax
jne 0x140005525
lea edx, [rbx + 0x73]
lea rcx, [rbp + 0x80]
call fcn.140183df0
cmp word [rax + 2], bx
je 0x14000542c
mov word [rax + 2], bx
mov qword [rbp - 0x80], rbx
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rax, qword [rsp + 0x70]
mov word [rax], bx
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x70]
call fcn.140005784
mov dword [rbp], 0x6d2c0003
mov dword [rbp + 4], 0x60a0741f
mov dword [rbp + 8], 0x74766d5b
mov dword [rbp + 0xc], 0x6d5b60ce
mov dword [rbp + 0x10], 0x60d27470
mov dword [rbp + 0x14], 0x74316d48
mov dword [rbp + 0x18], 0x6d5460c5
mov dword [rbp + 0x1c], 0x60a0747a
lea rcx, [rbp]
call fcn.14000433c
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x80]
call fcn.140005088
test rax, rax
jne 0x140005525
mov dword [rbp + 0x20], 0x5474000a
mov dword [rbp + 0x24], 0x46451195
mov dword [rbp + 0x28], 0x60206ae6
mov dword [rbp + 0x2c], 0x3aac158c
mov dword [rbp + 0x30], 0x5abf2d13
mov dword [rbp + 0x34], 0x54030486
mov dword [rbp + 0x38], 0x463711fa
mov dword [rbp + 0x3c], 0x60506a82
mov dword [rbp + 0x40], 0x3ac815ed
mov dword [rbp + 0x44], 0x5ada2d3d
mov dword [rbp + 0x48], 0x541104fe
mov word [rbp + 0x4c], 0x1195
lea rcx, [rbp + 0x20]
call fcn.14000433c
lea rdx, [rbp + 0x36]
lea rcx, [rbp + 0x80]
call fcn.140005088
test rax, rax
jne 0x140005525
mov ebx, 0xfffffffe
jmp 0x1400055e8
mov r8, rax
mov edi, 0x104
mov edx, edi
lea rcx, [rbp + 0x80]
call fcn.140183bb8
lea r8, [0x14020c0f4]
mov edx, edi
lea rcx, [rbp + 0x80]
call fcn.140183c24
lea r8, [0x140259920]
cmp qword [0x140259938], 8
cmovae r8, qword [0x140259920]
mov edx, edi
lea rcx, [rbp + 0x80]
call fcn.140183c24
lea r8, [0x14020c0fc]
mov edx, edi
lea rcx, [rbp + 0x80]
call fcn.140183c24
mov dword [rbp - 0x70], ebx
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rbp - 0x68]
call fcn.140183f90
mov qword [rsp + 0x58], rbx
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x80]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
nop
cmp qword [rbp - 0x78], 8
jb 0x1400055f9
mov rcx, qword [rsp + 0x70]
call fcn.140005e04
mov eax, ebx
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.140182f30
lea r11, [rsp + 0x3a0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret