Function at 0x488800
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5284cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 1
call sub.MFC42.DLL_CWnd::UpdateData
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0
lea eax, [esp + 0x1c]
push 0x1a
push eax
push 0
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendA]
test eax, eax
je 0x4888c5
lea ecx, [esp + 0x18]
push 0x565568
push ecx
call ebx
test eax, eax
je 0x4888c5
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4888c5
lea eax, [esp + 0x10]
push 0x566974
push eax
call fcn.004d1e00
add esp, 8
push eax
lea ecx, [esi + 0x88]
mov dword [esp + 0x248], 0
call sub.MFC42.DLL_CString::operator_2
or ebp, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x244], ebp
call sub.MFC42.DLL_CString::CString
push 0
push 0xbba
mov ecx, esi
call fcn.00488ac0
jmp 0x48890f
lea ecx, [esp + 0x10]
push 0x566944
push ecx
call fcn.004d1e00
add esp, 8
push eax
lea ecx, [esi + 0x88]
mov dword [esp + 0x248], 1
call sub.MFC42.DLL_CString::operator_2
or ebp, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x244], ebp
call sub.MFC42.DLL_CString::CString
push 0
push 0xbba
mov ecx, esi
call fcn.004b16d0
push 0
lea edx, [esp + 0x1c]
push 0x1a
push edx
push 0
call edi
test eax, eax
je 0x488988
lea eax, [esp + 0x18]
push 0x565540
push eax
call ebx
test eax, eax
je 0x488988
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x488988
lea edx, [esp + 0x10]
push 0x566914
push edx
call fcn.004d1e00
add esp, 8
push eax
lea ecx, [esi + 0x8c]
mov dword [esp + 0x248], 2
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov dword [esp + 0x244], ebp
call sub.MFC42.DLL_CString::CString
push 1
push 0xbb9
mov ecx, esi
call fcn.00488ac0
jmp 0x4889cf
lea eax, [esp + 0x10]
push 0x5668e4
push eax
call fcn.004d1e00
add esp, 8
push eax
lea ecx, [esi + 0x8c]
mov dword [esp + 0x248], 3
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov dword [esp + 0x244], ebp
call sub.MFC42.DLL_CString::CString
push 0
push 0xbb9
mov ecx, esi
call fcn.004b16d0
lea ecx, [esp + 0x11c]
call fcn.0047e880
mov ebx, 4
lea ecx, [esp + 0x11c]
mov dword [esp + 0x244], ebx
call fcn.0047f430
test eax, eax
je 0x488a3d
lea ecx, [esp + 0x10]
push 0x5668b4
push ecx
call fcn.004d1e00
add esp, 8
push eax
lea ecx, [esi + 0x90]
mov byte [esp + 0x248], 5
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x244], bl
call sub.MFC42.DLL_CString::CString
push 0
push 0xbbb
mov ecx, esi
call fcn.00488ac0
jmp 0x488a81
lea edx, [esp + 0x14]
push 0x566880
push edx
call fcn.004d1e00
add esp, 8
push eax
lea ecx, [esi + 0x90]
mov byte [esp + 0x248], 6
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x244], bl
call sub.MFC42.DLL_CString::CString
push 0
push 0xbbb
mov ecx, esi
call fcn.004b16d0
push 0
mov ecx, esi
call sub.MFC42.DLL_CWnd::UpdateData
lea ecx, [esp + 0x11c]
mov dword [esp + 0x244], ebp
call fcn.0047ee10
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x238
ret