Function at 0x418300
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x480327
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
push esi
mov esi, ecx
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esp + 0xc]
mov dword [esp + 0x23c], 0
call sub.MFC42u.DLL_CString::CString_4
mov eax, dword [esi + 0x10c]
push str.Control_PanelDesktop
push eax
lea ecx, [esp + 0x18]
push 0x49e21c
push ecx
mov byte [esp + 0x24c], 1
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
lea edx, [esp + 0xc]
push str.SCRNSAVE.EXE
push 0x49e1d8
push edx
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x2c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [esp + 0x2c]
push str.logon.scr
push ecx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
mov word [esp + 0x232], 0
push edx
call fcn.0042e880
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push 0x20019
mov byte [esp + 0x244], 2
call fcn.0042e920
push eax
lea ecx, [esp + 0x24]
call fcn.0042e930
push eax
call fcn.0041eb90
add esp, 0x10
cmp al, 1
jne 0x41851c
lea ecx, [esp + 0x2c]
push edi
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edx, dword [esp + 0x14]
add esp, 4
lea edi, [eax + eax + 2]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
push eax
call sub.MFC42u.DLL_CString::GetBuffer
mov ecx, dword [esp + 0x18]
push eax
lea eax, [esp + 0x34]
push edi
push eax
push 1
push ecx
call fcn.0041ee00
add esp, 0x14
cmp al, 1
jne 0x418510
push ebp
mov ebp, dword [esp + 0x24c]
lea edi, [esi + 0xa0]
push 0x4a33e4
push 0
push ebp
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::SetItemText
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::CString_4
lea edx, [esp + 0x34]
lea eax, [esp + 0xc]
push edx
push 0x49e1d8
push eax
mov byte [esp + 0x250], 3
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ecx
push 2
push ebp
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::SetItemText
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_4
mov edx, dword [esi]
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x24c], 4
call dword [edx + 0xf0]
mov edx, dword [esp + 0x10]
mov ecx, edi
push edx
push 3
push ebp
call sub.MFC42u.DLL_CListCtrl::SetItemText
push 0
push 0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::SetItem
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call dword [eax + 0x114]
test eax, eax
jne 0x4184ed
push 3
push eax
push eax
push eax
push eax
push 4
push eax
push ebp
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::SetItem
lea ecx, [esp + 0x10]
mov byte [esp + 0x244], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x244], 2
call sub.MFC42u.DLL_CString::CString
pop ebp
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x23c], 1
call fcn.0042e8f0
lea ecx, [esp + 0xc]
mov byte [esp + 0x23c], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x23c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x234]
pop esi
mov dword fs:[0], ecx
add esp, 0x23c
ret 4