Function at 0x40ba3e
Capabilities:
Get common file path

Disassembly:
mov eax, 0x42030c
call fcn.0041ef90
mov eax, 0x1038
call fcn.0041efe0
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
xor edi, edi
push edi
push 0xc
call esi
push eax
push 0xb
call esi
mov ebx, dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 1
push 0x80
push dword [0x442fe8]
call ebx
mov dword [ebp - 0x14], eax
push 0x400
lea eax, [ebp - 0x844]
push eax
mov dword [ebp - 0x44], str.taskmgr.exe
mov dword [ebp - 0x40], str.desk.cpl
mov dword [ebp - 0x3c], str.Mystify.scr
mov dword [ebp - 0x38], str.powercfg.cpl
mov dword [ebp - 0x34], edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x844]
push eax
lea eax, [ebp - 0x1044]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
xor esi, esi
lea eax, [ebp - 0x844]
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::CString_1
push 0x43d1d8
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], edi
call fcn.0041ed20
push dword [ebp + esi - 0x44]
lea ecx, [ebp - 0x18]
call fcn.0041ed20
push 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], edi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
mov eax, dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
mov dword [ebp + esi - 0x30], eax
call sub.MFC42u.DLL_CString::CString
add esi, 4
cmp esi, 0x10
jl 0x40bac7
push 0xfa6
push dword [ebp - 0x30]
mov esi, 0x4417f8
mov ecx, esi
call fcn.0041a140
push 0xfa2
push dword [ebp - 0x24]
mov ecx, esi
call fcn.0041a140
push 1
mov edi, 0x441cd0
push 0x10
mov ecx, edi
call fcn.00419ce6
push 0xfa7
push eax
mov ecx, esi
mov dword [ebp - 0x14], eax
call fcn.0041a140
push 0xfa3
push dword [ebp - 0x2c]
mov ecx, esi
call fcn.0041a140
push 0xfa5
push dword [ebp - 0x2c]
mov ecx, esi
call fcn.0041a140
push 0xfa0
push dword [ebp - 0x28]
mov ecx, esi
call fcn.0041a140
push 1
push 0x117
mov ecx, edi
call fcn.00419ce6
push 0xfa4
push eax
mov ecx, esi
mov dword [ebp - 0x14], eax
call fcn.0041a140
push 1
push 0x112
mov ecx, edi
call fcn.00419ce6
push 0xfcd
push eax
mov ecx, esi
mov dword [ebp - 0x14], eax
call fcn.0041a140
push 1
push 0x18
mov ecx, edi
call fcn.00419ce6
push 0xfce
push eax
mov ecx, esi
mov dword [ebp - 0x14], eax
call fcn.0041a140
push 1
push 0x416b
mov ecx, edi
call fcn.00419ce6
push 0x816b
push eax
mov ecx, esi
call fcn.0041a140
push 1
push 0x4163
mov ecx, edi
call fcn.00419ce6
push 0x816a
push eax
mov ecx, esi
call fcn.0041a140
push 0
push 0x20
push 0x20
push 1
push 0x153
push dword [0x442fe8]
call ebx
push 0x8087
push eax
mov ecx, esi
mov dword [ebp - 0x10], eax
call fcn.0041a140
push 0x808d
push dword [ebp - 0x10]
mov ecx, esi
call fcn.0041a140
push 0
push 0x20
push 0x20
push 1
push 0x102
push dword [0x442fe8]
call ebx
push 0x8084
push eax
mov ecx, esi
mov dword [ebp - 0x10], eax
call fcn.0041a140
push 0x808a
push dword [ebp - 0x10]
mov ecx, esi
call fcn.0041a140
push 0
push 0x20
push 0x20
push 1
push 0x1f41
push dword [0x442fe8]
call ebx
push 0x8085
push eax
mov ecx, esi
mov dword [ebp - 0x10], eax
call fcn.0041a140
push 0x808b
push dword [ebp - 0x10]
mov ecx, esi
call fcn.0041a140
push 0
push 0x20
push 0x20
push 1
push 0x152
push dword [0x442fe8]
call ebx
push 0x8086
push eax
mov ecx, esi
mov dword [ebp - 0x10], eax
call fcn.0041a140
push 0x808c
push dword [ebp - 0x10]
mov ecx, esi
call fcn.0041a140
push 0
push 0x20
push 0x20
push 1
push 0x154
push dword [0x442fe8]
call ebx
push 0x8088
push eax
mov ecx, esi
mov dword [ebp - 0x10], eax
call fcn.0041a140
push 0x808e
push dword [ebp - 0x10]
mov ecx, esi
call fcn.0041a140
push 0
push 0x20
push 0x20
push 1
push 0x151
push dword [0x442fe8]
call ebx
push 0x808f
push eax
mov ecx, esi
call fcn.0041a140
push 1
push 0x1c
mov ecx, edi
call fcn.00419ce6
push 0x107
push eax
mov ecx, esi
call fcn.0041a140
push 1
push 0xe
mov ecx, edi
call fcn.00419ce6
mov ebx, eax
push 0x816d
push ebx
mov ecx, esi
call fcn.0041a140
push 0x816f
push ebx
mov ecx, esi
call fcn.0041a140
push 0x817b
push ebx
mov ecx, esi
call fcn.0041a140
push 0x816e
push ebx
mov ecx, esi
call fcn.0041a140
push 0x8169
push ebx
mov ecx, esi
call fcn.0041a140
push 0
push 0x8e
mov ecx, edi
call fcn.00419ce6
push 0x819c
push eax
mov ecx, esi
call fcn.0041a140
push 0
push 4
mov ecx, edi
call fcn.00419ce6
mov ebx, eax
push 0x8166
push ebx
mov ecx, esi
call fcn.0041a140
push 0x8167
push ebx
mov ecx, esi
call fcn.0041a140
push 1
push 0x97
mov ecx, edi
call fcn.00419ce6
push 0x8168
push eax
mov ecx, esi
call fcn.0041a140
push 1
push 0x18
mov ecx, edi
call fcn.00419ce6
push 0x816c
push eax
mov ecx, esi
call fcn.0041a140
push 1
push 0x27
mov ecx, edi
call fcn.00419ce6
push 0xfa8
push eax
mov ecx, esi
call fcn.0041a140
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret