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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013917c
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x1017cf40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x268], edx
mov ebx, ecx
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.101135a0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x1008a6ec
mov eax, dword [ecx]
jmp 0x1008a6ee
mov eax, ecx
push 0x32
push str.E4359AA8EBF8B004ED75C9EAB8D9E72CD95AE8FDFEFCF334CC
mov byte [eax], 0
call fcn.1006f560
lea ecx, [ebp - 0x264]
call fcn.10105b30
add esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - method.Sc_Convert.virtual_0], vtable.Sc_Convert.0
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x264]
cmp dword [ebp - 0x250], 0x10
lea ecx, [ebp - 0x278]
cmovae eax, dword [ebp - 0x264]
push eax
call fcn.1007ab70
mov edx, eax
mov esi, eax
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1008a760
lea edi, [ebp - 0x21c]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1008a776
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x21c]
call fcn.1007a220
lea ecx, [ebp - 0x21c]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x1008a7a4
mov eax, dword [str.Bookmarks]
sub esp, 0x18
mov dword [ecx], eax
mov edx, esp
mov eax, dword [0x10168d04]
mov dword [ecx + 4], eax
mov eax, dword [0x10168d08]
mov dword [ecx + 8], eax
mov eax, dword [0x10168d0c]
mov dword [ecx + 0xc], eax
mov eax, dword [0x10168d10]
mov dword [ecx + 0x10], eax
mov ax, word [0x10168d14]
mov word [ecx + 0x14], ax
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1008a7fe
mov eax, dword [edx]
jmp 0x1008a800
mov eax, edx
mov byte [eax], 0
cmp byte [ebx], 0
jne 0x1008a80c
xor ecx, ecx
jmp 0x1008a81a
mov ecx, ebx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008a811
sub ecx, esi
push ecx
push ebx
mov ecx, edx
call fcn.1006f560
lea ecx, [ebp - 0x24c]
call fcn.10079670
add esp, 0x18
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x1008a83d
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x234]
call fcn.10079a00
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x238]
cmp eax, 8
jb 0x1008a86c
inc eax
lea ecx, [ebp - 0x24c]
push eax
push dword [ebp - 0x24c]
call fcn.1006f7f0
xor eax, eax
mov dword [ebp - 0x238], 7
cmp dword [ebp - 0x220], 0x10
lea edx, [ebp - 0x234]
push ecx
push dword [ebp - 0x268]
cmovae edx, dword [ebp - 0x234]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
call fcn.1006e810
mov ecx, dword [ebp - 0x220]
add esp, 8
mov esi, eax
cmp ecx, 0x10
jb 0x1008a8d2
inc ecx
push ecx
push dword [ebp - 0x234]
lea ecx, [ebp - 0x234]
call fcn.1006d5b0
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], 0
mov byte [ebp - 0x234], 0
test eax, eax
je 0x1008a902
push 1
push eax
call fcn.1010f204
add esp, 8
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x1008a917
push 2
push eax
call fcn.1010f204
add esp, 8
mov eax, dword [ebp - 0x250]
cmp eax, 0x10
jb 0x1008a935
inc eax
lea ecx, [ebp - 0x264]
push eax
push dword [ebp - 0x264]
call fcn.1006d5b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1010f1c0
mov esp, ebp
pop ebp
ret