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

Disassembly:
push rbp
sub rsp, 0x470
mov rbp, rsp
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0x128], 0
mov qword [rbp + 0xe8], 0
mov qword [rbp + 0xe0], 0
mov qword [rbp + 0x120], 0
mov qword [rbp + 0x118], 0
mov qword [rbp + 0x110], 0
mov qword [rbp + 0x108], 0
mov qword [rbp + 0x100], 0
mov qword [rbp + 0xf8], 0
mov qword [rbp + 0xf0], 0
mov qword [rbp + 0x130], 0
mov qword [rbp + 0x210], 0
mov qword [rbp + 0x140], 0
mov qword [rbp + 0x138], 0
mov qword [rbp + 0x208], 0
mov qword [rbp + 0x1f8], 0
mov qword [rbp + 0x1f0], 0
mov qword [rbp + 0x1e8], 0
mov qword [rbp + 0x1e0], 0
mov qword [rbp + 0x1d8], 0
mov qword [rbp + 0x1d0], 0
mov qword [rbp + 0x1c8], 0
mov qword [rbp + 0x1b8], 0
mov qword [rbp + 0x1b0], 0
mov qword [rbp + 0x1a8], 0
mov qword [rbp + 0x1a0], 0
mov qword [rbp + 0x198], 0
mov qword [rbp + 0x190], 0
mov qword [rbp + 0x188], 0
mov qword [rbp + 0x178], 0
mov qword [rbp + 0x170], 0
mov qword [rbp + 0x168], 0
mov qword [rbp + 0x160], 0
mov qword [rbp + 0x158], 0
mov qword [rbp + 0x150], 0
mov qword [rbp + 0x148], 0
mov qword [rbp + 0x180], 0
mov qword [rbp + 0x1c0], 0
mov qword [rbp + 0x200], 0
mov qword [rbp + 0x460], 0
mov qword [rbp + 0x458], 0
mov qword [rbp + 0x238], 0
mov qword [rbp + 0x468], 0
mov qword [rbp + 0x218], rbp
mov qword [rbp + 0x480], rcx
nop
lea rcx, [rbp + 0x24e]
mov edx, 0x20a
xor r8, r8
call fcn.0040a900
call fcn.005a1f10
xor ecx, ecx
mov edx, 0x1a
mov r8, rax
xor r9, r9
lea rax, [rbp + 0x24e]
mov qword [rsp + 0x20], rax
call sub.shell32.dll_SHGetFolderPathW
nop
lea rcx, [rbp + 0x200]
mov rax, qword [0x005faef0]
movzx rdx, word [rax]
call fcn.0040ffc0
lea rcx, [rbp + 0x208]
mov rdx, qword [rbp + 0x200]
call fcn.0042d060
lea rcx, [rbp + 0x1f8]
mov rax, qword [0x005faac0]
movzx rdx, word [rax]
call fcn.0040ffc0
lea rcx, [rbp + 0x1f0]
mov rax, qword [0x005fad18]
movzx rdx, word [rax]
call fcn.0040ffc0
lea rcx, [rbp + 0x1e8]
mov rax, qword [0x005faf10]
movzx rdx, word [rax]
call fcn.0040ffc0
lea rcx, [rbp + 0x1e0]
mov rax, qword [0x005fae20]
movzx rdx, word [rax]
call fcn.0040ffc0
lea rcx, [rbp + 0x1d8]
mov rax, qword [0x005fae20]
movzx rdx, word [rax]
call fcn.0040ffc0
lea rcx, [rbp + 0x1d0]
mov rax, qword [0x005faf50]
movzx rdx, word [rax]
call fcn.0040ffc0
lea rcx, [rbp + 0x1c0]
mov rax, qword [0x005faca8]
movzx rdx, word [rax]
call fcn.0040ffc0
lea rcx, [rbp + 0x1c8]
mov rdx, qword [rbp + 0x1c0]
call fcn.0042d060
lea rcx, [rbp + 0x1b8]
mov rax, qword [0x005faf10]
movzx rdx, word [rax]
call fcn.0040ffc0
lea rcx, [rbp + 0x1b0]
mov rax, qword [0x005fac10]
movzx rdx, word [rax]
call fcn.0040ffc0
lea rcx, [rbp + 0x1a8]
mov rax, qword [0x005fab80]
movzx rdx, word [rax]
call fcn.0040ffc0
lea rcx, [rbp + 0x1a0]
mov rax, qword [0x005faca8]
movzx rdx, word [rax]
call fcn.0040ffc0
lea rcx, [rbp + 0x198]
mov rax, qword [0x005faac0]
movzx rdx, word [rax]
call fcn.0040ffc0
lea rcx, [rbp + 0x190]
mov rax, qword [0x005fafb0]
movzx rdx, word [rax]
call fcn.0040ffc0
lea rcx, [rbp + 0x180]
mov rax, qword [0x005fb0c8]
movzx rdx, word [rax]
call fcn.0040ffc0
lea rcx, [rbp + 0x188]
mov rdx, qword [rbp + 0x180]
call fcn.0042d060
lea rcx, [rbp + 0x178]
mov rax, qword [0x005fac10]
movzx rdx, word [rax]
call fcn.0040ffc0
lea rcx, [rbp + 0x170]
mov rax, qword [0x005faac0]
movzx rdx, word [rax]
call fcn.0040ffc0
lea rcx, [rbp + 0x168]
mov rax, qword [0x005faca8]
movzx rdx, word [rax]
call fcn.0040ffc0
lea rcx, [rbp + 0x160]
mov rax, qword [0x005faf10]
movzx rdx, word [rax]
call fcn.0040ffc0
lea rcx, [rbp + 0x158]
mov rax, qword [0x005fae20]
movzx rdx, word [rax]
call fcn.0040ffc0
lea rcx, [rbp + 0x150]
mov rax, qword [0x005fab80]
movzx rdx, word [rax]
call fcn.0040ffc0
lea rcx, [rbp + 0x148]
mov rax, qword [0x005fb2c8]
movzx rdx, word [rax]
call fcn.0040ffc0
lea rcx, [rbp + 0x210]
mov edx, 0x18
mov r8, qword [rbp + 0x208]
mov r9, qword [rbp + 0x1f8]
mov rax, qword [rbp + 0x1f0]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x1e8]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x1e0]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x1d8]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x1d0]
mov qword [rsp + 0x40], rax
lea rax, [0x005a298c]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0x1c8]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp + 0x1b8]
mov qword [rsp + 0x58], rax
mov rax, qword [rbp + 0x1b0]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp + 0x1a8]
mov qword [rsp + 0x68], rax
mov rax, qword [rbp + 0x1a0]
mov qword [rsp + 0x70], rax
mov rax, qword [rbp + 0x198]
mov qword [rsp + 0x78], rax
mov rax, qword [rbp + 0x190]
mov qword [rsp + 0x80], rax
lea rax, [0x005a298c]
mov qword [rsp + 0x88], rax
mov rax, qword [rbp + 0x188]
mov qword [rsp + 0x90], rax
mov rax, qword [rbp + 0x178]
mov qword [rsp + 0x98], rax
mov rax, qword [rbp + 0x170]
mov qword [rsp + 0xa0], rax
mov rax, qword [rbp + 0x168]
mov qword [rsp + 0xa8], rax
mov rax, qword [rbp + 0x160]
mov qword [rsp + 0xb0], rax
mov rax, qword [rbp + 0x158]
mov qword [rsp + 0xb8], rax
mov rax, qword [rbp + 0x150]
mov qword [rsp + 0xc0], rax
mov rax, qword [rbp + 0x148]
mov qword [rsp + 0xc8], rax
call fcn.004104e0
lea rcx, [rbp + 0x140]
mov rdx, qword [rbp + 0x210]
call fcn.00410120
lea rcx, [rbp + 0x138]
mov rdx, qword [rbp + 0x140]
call fcn.004100f0
mov rax, qword [rbp + 0x138]
mov qword [rbp + 0x230], rax
lea rcx, [rbp + 0x130]
lea rdx, [rbp + 0x24e]
mov r8d, 0x105
call fcn.00410070
lea rcx, [rbp + 0x468]
mov rdx, qword [rbp + 0x130]
mov r8, qword [rbp + 0x230]
mov r9b, 1
call fcn.0055c610
mov rcx, qword [rbp + 0x480]
mov rdx, qword [rbp + 0x468]
call fcn.0040eeb0
nop
lea rcx, [rbp + 0x468]
call fcn.0040e880
mov rax, qword [rbp + 0x480]
mov rcx, qword [rax]
mov dl, 1
call fcn.0042f090
test al, al
je 0x5a2819
lea rcx, [rbp + 0x120]
mov rax, qword [0x005fb0c8]
movzx rdx, word [rax]
call fcn.0040ffc0
lea rcx, [rbp + 0x118]
mov rax, qword [0x005fac10]
movzx rdx, word [rax]
call fcn.0040ffc0
lea rcx, [rbp + 0x110]
mov rax, qword [0x005fab80]
movzx rdx, word [rax]
call fcn.0040ffc0
lea rcx, [rbp + 0x108]
mov rax, qword [0x005faca8]
movzx rdx, word [rax]
call fcn.0040ffc0
lea rcx, [rbp + 0x100]
mov rax, qword [0x005fb2c8]
movzx rdx, word [rax]
call fcn.0040ffc0
lea rcx, [rbp + 0xf8]
mov rax, qword [0x005fabc8]
movzx rdx, word [rax]
call fcn.0040ffc0
lea rcx, [rbp + 0xf0]
mov rax, qword [0x005fb2c8]
movzx rdx, word [rax]
call fcn.0040ffc0
lea rcx, [rbp + 0x128]
mov edx, 8
mov r8, qword [rbp + 0x120]
mov r9, qword [rbp + 0x118]
mov rax, qword [rbp + 0x110]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x108]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x100]
mov qword [rsp + 0x30], rax
lea rax, [0x005a299c]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0xf8]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0xf0]
mov qword [rsp + 0x48], rax
call fcn.004104e0
lea rcx, [rbp + 0xe8]
mov rdx, qword [rbp + 0x128]
call fcn.00410120
lea rcx, [rbp + 0xe0]
mov rdx, qword [rbp + 0xe8]
call fcn.004100f0
lea rcx, [rbp + 0x460]
mov rax, qword [rbp + 0x480]
mov rdx, qword [rax]
mov r8, qword [rbp + 0xe0]
mov r9b, 1
call fcn.0055bcf0
mov rax, qword [rbp + 0x460]
mov qword [rbp + 0x228], rax
cmp qword [rbp + 0x228], 0
je 0x5a273e
mov rax, qword [rbp + 0x228]
mov rax, qword [rax - 8]
mov qword [rbp + 0x228], rax
cmp qword [rbp + 0x228], 0
jle 0x5a2819
mov rcx, qword [rbp + 0x480]
mov rax, qword [0x005fb1d0]
mov rdx, qword [rax]
call fcn.0040eeb0
lea rcx, [rbp + 0x238]
mov rdx, qword [rbp + 0x460]
mov r8, qword [0x004194b0]
call fcn.00412240
mov qword [rbp + 0x240], 0
jmp 0x5a27f1
lea rcx, [rbp + 0x458]
mov rax, qword [rbp + 0x238]
mov rdx, qword [rbp + 0x240]
mov rdx, qword [rax + rdx*8]
call fcn.0040ef30
lea rcx, [rbp + 0xd8]
mov rdx, qword [rbp + 0x458]
call fcn.0042f690
mov rcx, qword [rbp + 0x480]
mov edx, 3
mov rax, qword [rbp + 0x480]
mov r8, qword [rax]
mov r9, qword [rbp + 0xd8]
lea rax, [0x005a29ac]
mov qword [rsp + 0x20], rax
call fcn.004104e0
add qword [rbp + 0x240], 1
mov rcx, qword [rbp + 0x238]
call fcn.00411a30
cmp qword [rbp + 0x240], rax
jb 0x5a2789
lea rcx, [rbp + 0x238]
mov rdx, qword [0x004194b0]
call fcn.004121c0
nop
lea rcx, [rbp + 0xd8]
mov edx, 2
call fcn.0040e960
lea rcx, [rbp + 0xe8]
call fcn.0040e920
lea rcx, [rbp + 0xf0]
mov edx, 0xa
call fcn.0040e960
lea rcx, [rbp + 0x140]
call fcn.0040e920
lea rcx, [rbp + 0x148]
mov edx, 0x1a
call fcn.0040e960
lea rcx, [rbp + 0x238]
mov rdx, qword [0x004194b0]
call fcn.004121c0
lea rcx, [rbp + 0x458]
call fcn.0040e880
lea rcx, [rbp + 0x460]
mov rdx, qword [0x004194b0]
call fcn.004121c0
lea rcx, [rbp + 0x468]
call fcn.0040e880
mov rax, qword [rbp + 0x480]
lea rsp, [rbp + 0x470]
pop rbp
ret