Function at 0x41b7a0
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 0x59ffeb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x868
mov eax, dword [0x629a40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
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.00578b50
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 0x41b837
xor ecx, ecx
jmp 0x41b84f
lea ecx, [ebp - 0x428]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b840
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x850]
call fcn.00404030
push 0x3e
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
lea ecx, [ebp - 0x850]
mov dword [ebp - 4], 0
call fcn.0040c670
cmp word [esi], 0
jne 0x41b885
xor ecx, ecx
jmp 0x41b89f
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b890
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x850]
call fcn.0040c670
push 4
push str..lnk
lea ecx, [ebp - 0x850]
call fcn.0040c670
mov ecx, dword [ebp - 0x83c]
cmp ecx, 8
jb 0x41b8d9
mov esi, dword [ebp - 0x850]
test esi, esi
je 0x41ba5d
jmp 0x41b8df
lea esi, [ebp - 0x850]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
test eax, eax
jle 0x41ba51
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 0x41ba51
push 0x208
lea eax, [ebp - 0x838]
push 0
push eax
call fcn.00578b50
add esp, 0xc
lea eax, [ebp - 0x630]
push 0x208
push 0
push eax
call fcn.00578b50
add esp, 0xc
lea ecx, [ebp - 0x850]
cmp dword [ebp - 0x83c], 8
lea edx, [ebp - 0x838]
cmovae ecx, dword [ebp - 0x850]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x41b970
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x838]
push eax
call fcn.0041b680
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00578b50
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 0x41b9d0
sub ecx, edx
sar ecx, 1
jne 0x41b9fb
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x630]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x222], ax
test ax, ax
jne 0x41b9e3
lea eax, [ebp - 0x220]
push eax
call edi
test eax, eax
jle 0x41ba51
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 0x41ba51
mov ecx, dword [ebp - 0x83c]
mov edi, 1
mov esi, dword [ebp - 0x850]
jmp 0x41ba5f
mov ecx, dword [ebp - 0x83c]
mov esi, dword [ebp - 0x850]
xor edi, edi
cmp ecx, 8
jb 0x41ba72
inc ecx
push ecx
push esi
lea ecx, [ebp - 0x850]
call fcn.004043b0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00572ac9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4