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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511e29
mov eax, dword fs:[0]
push eax
sub esp, 0x638
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0x20a
push 0
push eax
call fcn.004e0230
push esi
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.004e7ac4
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
lea eax, [ebp - 0x21c]
add esp, 0x18
push eax
call edi
lea eax, [ebp - 0x21c]
mov ecx, ebx
push eax
call fcn.0044f4c0
push str._INSTDIR
lea ecx, [ebp - 0x63c]
call fcn.0044f140
push ebx
lea eax, [ebp - 0x63c]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebx + 8]
call fcn.004a7490
mov ecx, eax
call fcn.0048d300
lea ecx, [ebp - 0x63c]
mov dword [ebp - 4], 0xffffffff
call fcn.0044c080
push ebx
lea ecx, [ebp - 0x644]
call fcn.0048d090
lea eax, [ebp - 0x644]
mov dword [ebp - 4], 1
push eax
call fcn.004857d0
add esp, 4
lea ecx, [ebp - 0x63c]
push str._PLUGINSDIR
call fcn.0044f140
push str.Plugins
lea eax, [ebp - 0x644]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x638]
push eax
call fcn.0048c050
add esp, 0xc
push eax
lea eax, [ebp - 0x63c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebx + 8]
call fcn.004a7490
mov ecx, eax
call fcn.0048d300
lea ecx, [ebp - 0x638]
call fcn.0044c080
lea ecx, [ebp - 0x63c]
call fcn.0044c080
lea ecx, [ebp - 0x63c]
call fcn.0047d1f0
push 0x20a
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 4
push 0
push eax
call fcn.004e0230
add esp, 0xc
push 0
push 0x1a
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x428]
push eax
push 0
call esi
lea eax, [ebp - 0x428]
push eax
call edi
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x63c]
call fcn.0044f4c0
push str._APPDATA_USER
lea ecx, [ebp - 0x640]
call fcn.0044f140
lea eax, [ebp - 0x63c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x640]
push eax
lea ecx, [ebx + 8]
call fcn.004a7490
mov ecx, eax
call fcn.0048d300
lea ecx, [ebp - 0x640]
call fcn.0044c080
lea ecx, [ebp - 0x640]
call fcn.0047d1f0
push 0x20a
lea eax, [ebp - 0x634]
mov byte [ebp - 4], 6
push 0
push eax
call fcn.004e0230
add esp, 0xc
lea eax, [ebp - 0x634]
push 0
push 0x23
push eax
push 0
call esi
lea eax, [ebp - 0x634]
push eax
call edi
lea eax, [ebp - 0x634]
push eax
lea ecx, [ebp - 0x640]
call fcn.0044f4c0
push str._APPDATA_ALLUSER
lea ecx, [ebp - 0x638]
call fcn.0044f140
lea eax, [ebp - 0x640]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x638]
push eax
lea ecx, [ebx + 8]
call fcn.004a7490
mov ecx, eax
call fcn.0048d300
lea ecx, [ebp - 0x638]
mov byte [ebp - 4], 6
call fcn.0044c080
mov ecx, ebx
call fcn.004a8cc0
lea ecx, [ebp - 0x638]
push str._SYSTEMTYPE
test eax, eax
je 0x4a8b3e
call fcn.0044f140
push 0x5364dc
lea eax, [ebp - 0x638]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebx + 8]
call fcn.004a7490
mov ecx, eax
call fcn.0044f4c0
lea ecx, [ebp - 0x638]
mov byte [ebp - 4], 6
call fcn.0044c080
push str._SYSTEMTYPE2
lea ecx, [ebp - 0x638]
call fcn.0044f140
mov byte [ebp - 4], 9
push str.i386
jmp 0x4a8b8a
call fcn.0044f140
push 0x518cd4
lea eax, [ebp - 0x638]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebx + 8]
call fcn.004a7490
mov ecx, eax
call fcn.0044f4c0
lea ecx, [ebp - 0x638]
mov byte [ebp - 4], 6
call fcn.0044c080
push str._SYSTEMTYPE2
lea ecx, [ebp - 0x638]
call fcn.0044f140
mov byte [ebp - 4], 0xb
push 0x518cdc
lea eax, [ebp - 0x638]
push eax
lea ecx, [ebx + 8]
call fcn.004a7490
mov ecx, eax
call fcn.0044f4c0
lea ecx, [ebp - 0x638]
call fcn.0044c080
lea ecx, [ebp - 0x640]
call fcn.0044c080
lea ecx, [ebp - 0x63c]
call fcn.0044c080
lea ecx, [ebp - 0x644]
call fcn.0044c080
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004de46d
mov esp, ebp
pop ebp
ret 4