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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443071
mov eax, dword fs:[0]
push eax
sub esp, 0x540
mov eax, dword [0x452598]
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 eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0x208
mov dword [ebp - 0x54c], eax
call fcn.00424388
add esp, 4
mov edi, eax
push 0
push 0x19
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
cmp word [edi], ax
jne 0x41facf
xor ecx, ecx
jmp 0x41fae3
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41fad4
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x438]
call fcn.00414d90
push edi
mov dword [ebp - 4], 0
call fcn.004299b5
add esp, 4
lea ecx, [ebp - 0x438]
test esi, esi
jne 0x41fb1d
push 0x16
push 0x445af0
call fcn.00414b40
mov esi, str.Internet_Explorer.lnk
jmp 0x41fb6e
push 1
push 0x4452f0
call fcn.00414b40
cmp word [esi], 0
jne 0x41fb33
xor ecx, ecx
jmp 0x41fb4f
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x41fb40
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41fb40
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x438]
call fcn.00414b40
push 4
push str..lnk
lea ecx, [ebp - 0x438]
call fcn.00414b40
cmp byte [ebp + 0x14], 0
je 0x41fbbc
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call fcn.0041f5d0
mov edi, dword [ebp - 0x54c]
add esp, 4
test eax, eax
jne 0x41fbc2
cmp dword [ebp - 0x424], 8
push edi
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push ebx
push eax
call fcn.0041e1d0
add esp, 0xc
jmp 0x41fbc2
mov edi, dword [ebp - 0x54c]
push 0
push 0x1a
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x548]
call fcn.00423f70
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x548]
push str._sMicrosoftInternet_ExplorerQuick_Launch_s.lnk
push eax
mov byte [ebp - 4], 1
call fcn.00424230
add esp, 0x10
cmp byte [ebp + 0x18], 0
je 0x41fc34
lea ecx, [ebp - 0x548]
call fcn.00423ff0
push eax
call fcn.0041f5d0
add esp, 4
test eax, eax
jne 0x41fc34
push edi
push ebx
lea ecx, [ebp - 0x548]
call fcn.00423ff0
push eax
call fcn.0041e1d0
add esp, 0xc
push 0
push 0x16
lea eax, [ebp - 0x420]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x4c0]
call fcn.00423f70
push esi
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x4c0]
push str._s_s.lnk
push eax
mov byte [ebp - 4], 2
call fcn.00424230
add esp, 0x10
cmp byte [ebp + 0x1c], 0
je 0x41fca6
lea ecx, [ebp - 0x4c0]
call fcn.00423ff0
push eax
call fcn.0041f5d0
add esp, 4
test eax, eax
jne 0x41fca6
push edi
push ebx
lea ecx, [ebp - 0x4c0]
call fcn.00423ff0
push eax
call fcn.0041e1d0
add esp, 0xc
lea ecx, [ebp - 0x4c0]
mov byte [ebp - 4], 1
call fcn.00423f90
lea ecx, [ebp - 0x548]
mov byte [ebp - 4], 0
call fcn.00423f90
cmp dword [ebp - 0x424], 8
jb 0x41fcdb
push dword [ebp - 0x438]
call fcn.004281da
add esp, 4
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.00428be6
mov esp, ebp
pop ebp
ret