Function at 0x4e57b0
Capabilities:
Get common file path
Get program files directory
Get startup folder

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e5b28
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.00404208
cmp ebx, 0x1b
ja case.0x4e57e3.0
jmp dword [ebx*4 + 0x4e57ea]
lea eax, [ebp - 4]
push eax
push 0x17
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004166dc
jmp 0x4e5ac7
lea eax, [ebp - 4]
push eax
push 0xb
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004166dc
jmp 0x4e5ac7
lea eax, [ebp - 4]
push eax
push 0x16
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004166dc
jmp 0x4e5ac7
lea eax, [ebp - 4]
push eax
push 0x18
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004166dc
jmp 0x4e5ac7
lea eax, [ebp - 4]
push eax
push 0
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004166dc
jmp 0x4e5ac7
lea eax, [ebp - 4]
push eax
push 2
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004166dc
jmp 0x4e5ac7
lea eax, [ebp - 4]
push eax
push 5
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004166dc
jmp 0x4e5ac7
lea eax, [ebp - 4]
push eax
push 6
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004166dc
jmp 0x4e5ac7
lea eax, [ebp - 4]
push eax
push 7
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004166dc
jmp 0x4e5ac7
lea eax, [ebp - 4]
push eax
push 8
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004166dc
jmp 0x4e5ac7
lea eax, [ebp - 4]
push eax
push 9
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004166dc
jmp 0x4e5ac7
lea eax, [ebp - 4]
push eax
push 0x10
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004166dc
jmp 0x4e5ac7
lea eax, [ebp - 4]
push eax
push 0x13
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004166dc
jmp 0x4e5ac7
lea eax, [ebp - 4]
push eax
push 0x14
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004166dc
jmp 0x4e5ac7
lea eax, [ebp - 4]
push eax
push 0x15
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004166dc
jmp 0x4e5ac7
lea eax, [ebp - 4]
push eax
push 0x19
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004166dc
jmp 0x4e5ac7
lea eax, [ebp - 4]
push eax
push 0x1a
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004166dc
jmp 0x4e5ac7
lea eax, [ebp - 4]
push eax
push 0x1b
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004166dc
jmp 0x4e5ac7
lea eax, [ebp - 4]
push eax
push 0x1f
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004166dc
jmp 0x4e5ac7
lea eax, [ebp - 4]
push eax
push 0x20
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004166dc
jmp 0x4e5ac7
lea eax, [ebp - 4]
push eax
push 0x21
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004166dc
jmp 0x4e5ac7
lea eax, [ebp - 4]
push eax
push 0x1c
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004166dc
jmp 0x4e5ac7
lea eax, [ebp - 4]
push eax
push 0x23
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004166dc
jmp 0x4e5ac7
lea eax, [ebp - 4]
push eax
push 0x24
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004166dc
jmp 0x4e5ac7
lea eax, [ebp - 4]
push eax
push 0x25
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004166dc
jmp 0x4e5ac7
lea eax, [ebp - 4]
push eax
push 0x26
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004166dc
jmp 0x4e5ac7
lea eax, [ebp - 4]
push eax
push 0x2b
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004166dc
jmp 0x4e5ac7
lea eax, [ebp - 4]
push eax
push 0x22
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004166dc
test al, al
je 0x4e5ae9
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea edx, [ebp - 8]
lea eax, [ebp - 0x108]
call fcn.004095f8
mov eax, dword [ebp - 8]
call fcn.004044c8
mov edx, dword [ebp - 8]
cmp byte [edx + eax - 1], 0x5c
je 0x4e5b08
lea eax, [ebp - 8]
mov edx, 0x4e5b40
call fcn.004044d0
mov eax, esi
mov edx, dword [ebp - 8]
call fcn.0040425c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e5b2f
lea eax, [ebp - 8]
call fcn.00404208
ret