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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6dcb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x86c
mov eax, dword [0x632a40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x428]
push 0x208
push 0
push eax
call fcn.0057ff70
add esp, 0xc
lea eax, [ebp - 0x428]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x83c], 7
mov dword [ebp - 0x840], 0
mov word [ebp - 0x850], ax
cmp word [ebp - 0x428], ax
jne 0x414da6
xor ecx, ecx
jmp 0x414dbf
lea ecx, [ebp - 0x428]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414db0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x850]
call fcn.00404db0
push 0x3e
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
lea ecx, [ebp - 0x850]
mov dword [ebp - 4], 0
call fcn.0040d860
cmp word [esi], 0
jne 0x414df5
xor ecx, ecx
jmp 0x414e0f
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414e00
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x850]
call fcn.0040d860
push 4
push str..lnk
lea ecx, [ebp - 0x850]
call fcn.0040d860
cmp dword [ebp - 0x83c], 8
lea esi, [ebp - 0x850]
cmovae esi, dword [ebp - 0x850]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x414fa9
lea eax, [ebp - 0x874]
mov dword [ebp - 0x854], 0
push eax
xorps xmm0, xmm0
push 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
movups xmmword [ebp - 0x874], xmm0
movups xmmword [ebp - 0x864], xmm0
call esi
test eax, eax
setne al
test al, al
je 0x414fa9
push 0x208
lea eax, [ebp - 0x838]
push 0
push eax
call fcn.0057ff70
push 0x208
lea eax, [ebp - 0x630]
push 0
push eax
call fcn.0057ff70
add esp, 0x18
lea ecx, [ebp - 0x850]
cmp dword [ebp - 0x83c], 8
lea edx, [ebp - 0x838]
cmovae ecx, dword [ebp - 0x850]
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x414ed0
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x838]
push eax
call fcn.00414bf0
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.0057ff70
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414f30
sub ecx, edx
sar ecx, 1
jne 0x414f5b
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x630]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x222], ax
test ax, ax
jne 0x414f43
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x414fa9
lea eax, [ebp - 0x874]
mov dword [ebp - 0x854], 0
push eax
xorps xmm0, xmm0
lea eax, [ebp - 0x220]
push 0
push eax
movups xmmword [ebp - 0x874], xmm0
movups xmmword [ebp - 0x864], xmm0
call esi
test eax, eax
setne al
test al, al
je 0x414fa9
mov esi, 1
jmp 0x414fab
xor esi, esi
mov ecx, dword [ebp - 0x83c]
cmp ecx, 8
jb 0x414fc9
inc ecx
push ecx
push dword [ebp - 0x850]
lea ecx, [ebp - 0x850]
call fcn.00405130
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00579ec9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4