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

Disassembly:
push 0xffffffffffffffff
push 0x428058
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.http:__plugin.inicis.com_wallet50_
call fcn.0042687e
lea ecx, [esp + 0x44]
call fcn.004179d0
xor ebx, ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x174], ebx
mov dword [esp + 0x44], edi
call fcn.00417ba0
test eax, eax
jne 0x40f903
lea ecx, [esp + 0x3c]
mov dword [esp + 0x174], 0xffffffff
call fcn.00417aa0
or eax, 0xffffffff
jmp 0x410289
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
lea eax, [edi + 0x70]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x178], 1
call sub.MFC42.DLL_CString::operator_1
push 0x432e8c
lea ecx, [esp + 0x18]
call fcn.00426a0a
mov ecx, dword [esp + 0x14]
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push ecx
call ebp
mov esi, eax
cmp esi, ebx
jne 0x410218
mov edx, dword [esp + 0x14]
push 0x80
push edx
call dword [sym.imp.MSVCRT.dll__chmod]
mov eax, dword [esp + 0x1c]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40f9a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x40f9a1
lea ecx, [esp + 0x14]
mov byte [esp + 0x174], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x174], 0xffffffff
call fcn.00417aa0
mov eax, 0xfffffffe
jmp 0x410289
push str.http:__plugin.inicis.com_wallet50_files_INImain50.dll.gz
lea ecx, [esp + 0x1c]
call fcn.0042687e
push 1
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x180], 2
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov byte [esp + 0x184], 3
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x180], 2
call fcn.004107f0
cmp eax, ebx
jne 0x40fa35
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x174], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x174], 0xffffffff
call fcn.00417aa0
mov eax, 0xfffffffd
jmp 0x410289
mov ecx, dword [esp + 0x14]
push ecx
call ebp
mov esi, eax
cmp esi, ebx
jne 0x410207
cmp dword [edi + 0x6c], 2
jl 0x40fb55
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_1
push 0x104
lea ecx, [esp + 0x20]
mov byte [esp + 0x178], 4
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::ReleaseBuffer
push str.SysRepair.exe
lea ecx, [esp + 0x20]
call fcn.00426a0a
push str.http:__plugin.inicis.com_repair_SysRepair.exe
lea ecx, [esp + 0x1c]
call fcn.00426980
push ebx
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
mov byte [esp + 0x184], 5
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x180], 4
call fcn.004107f0
cmp eax, ebx
jne 0x40fb30
lea ecx, [esp + 0x1c]
mov byte [esp + 0x174], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x174], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x174], 0xffffffff
call fcn.00417aa0
mov eax, 0xfffffffa
jmp 0x410289
mov ecx, dword [esp + 0x1c]
push 1
push 1
push ebx
push 1
push ebx
push ecx
mov ecx, edi
call fcn.004102b0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x174], 2
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x14]
push edx
call ebp
mov esi, eax
cmp esi, ebx
jne 0x410207
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x68]
push 0x104
push eax
mov byte [esp + 0x17c], 6
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x68]
lea edx, [esp + 0x10]
push ecx
push str._sWinMM.dll
push edx
mov byte [esp + 0x180], 7
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x20]
push ebx
push eax
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x4101a6
mov ecx, dword [esp + 0x10]
push ecx
call ebp
cmp eax, ebx
je 0x410145
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push eax
call esi
lea edx, [esp + 0x68]
lea eax, [esp + 0x10]
push edx
push str._sVersion.dll
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ebx
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x4100e4
mov edx, dword [esp + 0x10]
push edx
call ebp
cmp eax, ebx
je 0x410083
push eax
call esi
lea eax, [esp + 0x68]
lea ecx, [esp + 0x10]
push eax
push str._sShlwapi.dll
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x20]
push ebx
push edx
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x410022
mov eax, dword [esp + 0x10]
push eax
call ebp
cmp eax, ebx
je 0x40ffc1
push eax
call esi
lea ecx, [esp + 0x68]
lea edx, [esp + 0x10]
push ecx
push str._sWsock32.dll
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x20]
push ebx
push eax
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x40ff60
mov ecx, dword [esp + 0x10]
push ecx
call ebp
cmp eax, ebx
je 0x40feff
push eax
call esi
lea edx, [esp + 0x68]
lea eax, [esp + 0x10]
push edx
push str._sNetapi32.dll
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ebx
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x40fe9e
mov edx, dword [esp + 0x10]
push edx
call ebp
cmp eax, ebx
je 0x40fe3d
push eax
call esi
lea eax, [esp + 0x68]
lea ecx, [esp + 0x10]
push eax
push str._sIphlpapi.dll
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x20]
push ebx
push edx
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x40fddc
mov eax, dword [esp + 0x10]
push eax
call ebp
cmp eax, ebx
je 0x40fd7b
push eax
call esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x174], 6
call fcn.00426a64
lea ecx, [esp + 0x10]
mov byte [esp + 0x174], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x174], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x174], 0xffffffff
call fcn.00417aa0
mov eax, 0xfffffffc
jmp 0x410289
lea ecx, [esp + 0x20]
mov byte [esp + 0x174], 6
call fcn.00426a64
lea ecx, [esp + 0x10]
mov byte [esp + 0x174], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x174], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x174], 0xffffffff
call fcn.00417aa0
mov eax, 0xffffffef
jmp 0x410289
lea ecx, [esp + 0x20]
mov byte [esp + 0x174], 6
call fcn.00426a64
lea ecx, [esp + 0x10]
mov byte [esp + 0x174], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x174], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x174], 0xffffffff
call fcn.00417aa0
mov eax, 0xffffffee
jmp 0x410289
lea ecx, [esp + 0x20]
mov byte [esp + 0x174], 6
call fcn.00426a64
lea ecx, [esp + 0x10]
mov byte [esp + 0x174], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x174], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x174], 0xffffffff
call fcn.00417aa0
mov eax, 0xfffffff1
jmp 0x410289
lea ecx, [esp + 0x20]
mov byte [esp + 0x174], 6
call fcn.00426a64
lea ecx, [esp + 0x10]
mov byte [esp + 0x174], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x174], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x174], 0xffffffff
call fcn.00417aa0
mov eax, 0xfffffff0
jmp 0x410289
lea ecx, [esp + 0x20]
mov byte [esp + 0x174], 6
call fcn.00426a64
lea ecx, [esp + 0x10]
mov byte [esp + 0x174], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x174], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x174], 0xffffffff
call fcn.00417aa0
mov eax, 0xfffffff3
jmp 0x410289
lea ecx, [esp + 0x20]
mov byte [esp + 0x174], 6
call fcn.00426a64
lea ecx, [esp + 0x10]
mov byte [esp + 0x174], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x174], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x174], 0xffffffff
call fcn.00417aa0
mov eax, 0xfffffff2
jmp 0x410289
lea ecx, [esp + 0x20]
mov byte [esp + 0x174], 6
call fcn.00426a64
lea ecx, [esp + 0x10]
mov byte [esp + 0x174], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x174], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x174], 0xffffffff
call fcn.00417aa0
mov eax, 0xfffffff5
jmp 0x410289
lea ecx, [esp + 0x20]
mov byte [esp + 0x174], 6
call fcn.00426a64
lea ecx, [esp + 0x10]
mov byte [esp + 0x174], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x174], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x174], 0xffffffff
call fcn.00417aa0
mov eax, 0xfffffff4
jmp 0x410289
lea ecx, [esp + 0x20]
mov byte [esp + 0x174], 6
call fcn.00426a64
lea ecx, [esp + 0x10]
mov byte [esp + 0x174], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x174], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x174], 0xffffffff
call fcn.00417aa0
mov eax, 0xfffffff7
jmp 0x410289
lea ecx, [esp + 0x20]
mov byte [esp + 0x174], 6
call fcn.00426a64
lea ecx, [esp + 0x10]
mov byte [esp + 0x174], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x174], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x174], 0xffffffff
call fcn.00417aa0
mov eax, 0xfffffff6
jmp 0x410289
lea ecx, [esp + 0x20]
mov byte [esp + 0x174], 6
call fcn.00426a64
lea ecx, [esp + 0x10]
mov byte [esp + 0x174], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x174], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x174], 0xffffffff
call fcn.00417aa0
mov eax, 0xfffffff9
jmp 0x410289
lea ecx, [esp + 0x20]
mov byte [esp + 0x174], 6
call fcn.00426a64
lea ecx, [esp + 0x10]
mov byte [esp + 0x174], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x174], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x174], 0xffffffff
call fcn.00417aa0
mov eax, 0xfffffff8
jmp 0x410289
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 1
call sub.MFC42.DLL_CString::CString
push str.MInterface
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
push esi
jne 0x41025a
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x14]
mov byte [esp + 0x174], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x174], 0xffffffff
call fcn.00417aa0
mov eax, 0xfffffffb
jmp 0x410289
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x14]
mov byte [esp + 0x174], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x174], 0xffffffff
call fcn.00417aa0
mov eax, 1
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x168
ret