Function at 0x4189c0
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x428aa3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 8]
mov dword [esp + 0x154], 0
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esi + 0x1c]
push 0x432cec
push eax
lea ecx, [esp + 0x18]
push str._sfiles__s
push ecx
mov byte [esp + 0x164], 1
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea edx, [esp + 0x48]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x48]
push 0x432cec
push eax
lea ecx, [esp + 0x10]
push str._s_s
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea edx, [esp + 0x10]
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x164], 2
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 8]
mov byte [esp + 0x160], 1
call fcn.004107f0
test eax, eax
jne 0x418c30
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x14]
mov esi, eax
call sub.MFC42.DLL_CString::CString_1
push 0
lea ecx, [esp + 0x1c]
push 0
push ecx
push 0x400
push esi
push 0
push 0x1300
mov byte [esp + 0x170], 3
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0xc]
push edx
call fcn.0042687e
lea ecx, [esp + 0xc]
mov byte [esp + 0x154], 4
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x48]
push 0x104
push eax
mov byte [esp + 0x15c], 5
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x48]
push str.INInet50.dll
push ecx
lea edx, [esp + 0x24]
push 0x4339b4
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CFileFind::CFileFind
mov eax, dword [esp + 0x1c]
push 0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x15c], 6
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x418b84
mov ecx, dword [esp + 0xc]
push esi
push ecx
lea edx, [esp + 0x1c]
push 0x434fe4
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x24]
push 0
push 0
push 5
push 0
push eax
push 0x434fac
push 0x434d9c
call fcn.0041f890
add esp, 0x2c
jmp 0x418ba3
push 0
push 0
push 5
push 0
push 0x434f50
push 0x434f18
push 0x434ee0
call fcn.0041f890
add esp, 0x1c
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x154], 5
call fcn.00426a64
lea ecx, [esp + 0x1c]
mov byte [esp + 0x154], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x154], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x154], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x154], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x154], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x14c]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x150
ret
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.total
call fcn.0042687e
push ecx
mov byte [esp + 0x15c], 7
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.VERSION
call fcn.0042687e
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x164], 8
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x160], 1
call fcn.00418fe0
mov edi, eax
lea ecx, [esi + 0xc]
push edi
call fcn.00426980
push edi
call dword [sym.imp.MSVCRT.dll_free]
lea eax, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x24]
push ecx
mov ecx, esi
call fcn.00418d00
mov edx, dword [esp + 8]
mov dword [esi + 0x18], eax
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 8]
mov byte [esp + 0x154], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x154], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14c]
pop edi
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x150
ret