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

Disassembly:
push 0x2c4
mov eax, 0x57d048
call fcn.00550dd0
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x2d0], edi
mov dword [ebp - 0x2c0], ebx
mov dword [ebp - 4], 1
push ebx
push 0x596ca0
lea ecx, [ebp + 0xc]
call fcn.00407234
test eax, eax
js 0x41cbe3
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2bc], esp
push 0x596ca4
call fcn.004016bb
mov byte [ebp - 4], 2
push 3
push dword [ebp + 0xc]
lea eax, [ebp - 0x2b0]
lea ecx, [ebp - 0x2b4]
mov dword [ebp - 0x2b4], eax
call fcn.004029c2
mov byte [ebp - 4], 3
push dword [ebp - 0x2b4]
lea ecx, [ebp - 0x230]
call fcn.004016bb
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x41ca1d
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2b8], esp
push eax
call fcn.004016bb
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2cc]
push eax
mov byte [ebp - 4], 7
call fcn.00406d04
add esp, 0x34
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x230]
call fcn.00401d18
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x2b0]
cmp dword [ebp - 0x2b4], eax
je 0x41ca72
push dword [ebp - 0x2b4]
call fcn.00550ad6
pop ecx
mov ecx, dword [ebp - 0x2cc]
add ecx, 0x18
cmp dword [ecx + 0x14], 0x10
jb 0x41ca85
mov esi, dword [ecx]
jmp 0x41ca87
mov esi, ecx
cmp dword [ecx + 0x14], 0x10
jb 0x41ca91
mov edx, dword [ecx]
jmp 0x41ca93
mov edx, ecx
mov eax, dword [ecx + 0x10]
add eax, edx
cmp dword [ecx + 0x14], 0x10
jb 0x41caa0
mov ecx, dword [ecx]
push fcn.0055493c
push esi
push eax
push ecx
lea eax, [ebp - 0x2bc]
push eax
call fcn.0041b2ad
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 0x2cc]
push ebx
push ebx
sub esp, 0x18
add eax, 0x18
mov ecx, esp
mov dword [ebp - 0x2bc], esp
push eax
call fcn.00401695
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0xa
call fcn.004208ef
add esp, 0x18
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x41cbd4
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2b8]
call fcn.004014cd
mov byte [ebp - 4], 0xc
mov esi, dword [ebp - 0x2cc]
mov ebx, str.PROGRAMFILES
push ebx
call fcn.0054ff30
pop ecx
push eax
push ebx
push dword [esi + 0x28]
xor ebx, ebx
push ebx
lea ecx, [esi + 0x18]
call fcn.00407647
test eax, eax
jne 0x41cb72
push ebx
push 0x596ca8
lea ecx, [ebp - 0x2b8]
call fcn.00407234
test eax, eax
js 0x41cb72
push 0x593270
push str._x86_
lea ecx, [ebp - 0x2b8]
call fcn.00407438
lea ecx, [ebp - 0x2b8]
call fcn.0040eb47
mov ecx, eax
call fcn.0040eae3
lea eax, [ebp - 0x2b8]
push eax
lea ecx, [ebp + 0xc]
call fcn.004070db
mov eax, dword [ebp - 0x2cc]
add eax, 0x30
cmp dword [eax + 0x14], 0x10
jb 0x41cb92
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2bc]
call fcn.00401485
mov byte [ebp - 4], 0xd
mov eax, dword [eax]
lea ecx, [ebp + 0xc]
push dword [eax - 0xc]
push eax
call fcn.004026b1
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x2bc]
lea ecx, [ecx - 0x10]
call fcn.004032e4
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x2b8]
lea ecx, [ecx - 0x10]
call fcn.004032e4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2cc]
call fcn.0040632b
lea eax, [ebp + 0xc]
push eax
mov ecx, edi
call fcn.00401452
mov dword [ebp - 0x2c0], 1
mov dword [ebp - 4], ebx
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004032e4
mov eax, edi
call fcn.00550d7f
ret