Function at 0x140031b00
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x14007e040]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rbx, rcx
xor esi, esi
mov dword [rsp + 0x30], esi
lea rax, [rbp - 0x60]
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]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], si
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140031b80
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x58]
call fcn.140005c20
mov dword [rsp + 0x30], 1
mov r8d, SafeArrayDestroy
lea rdx, [0x140071ab0]
lea rcx, [rsp + 0x58]
call fcn.140005ef0
mov r8d, 1
lea rdx, [0x14006d244]
lea rcx, [rsp + 0x58]
call fcn.140005ef0
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov dword [rsp + 0x30], 3
lea rdx, [rbx + 0x70]
cmp qword [rbx + 0x88], 8
jb 0x140031c18
mov rdx, qword [rbx + 0x70]
mov r8, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
call fcn.140005ef0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rdi, [rbx + 0x50]
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.1400059d0
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x140031c9b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031c95
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031dab
call fcn.140034040
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140031cdd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031cd8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031db1
call fcn.140034040
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], si
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140031d2e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031d29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031da5
call fcn.140034040
cmp qword [rdi + 0x18], 8
jb 0x140031d38
mov rdi, qword [rdi]
mov r8, rdi
mov ecx, 0xa7
call fcn.1400196a0
mov byte [rbx + 0x90], 0
mov qword [rbx + 0x98], rsi
mov qword [rbx + 0xa0], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x28], rsi
mov qword [rbx + 0x18], rsi
lea rcx, [rbx + 0x30]
xor r8d, r8d
lea rdx, [0x14006d340]
call fcn.140005c20
mov qword [rbx + 0x20], rsi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140034020
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14003aa14
nop
call fcn.14003aa14
nop
call fcn.14003aa14
int3