Function at 0x42ec40
Capabilities:
Accept command line arguments
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x45ce3f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa48
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x3c]
call sub.MFC42u.DLL_CString::CString_4
xor ebx, ebx
lea ecx, [esp + 0x38]
mov dword [esp + 0xa60], ebx
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esp + 0x34]
mov byte [esp + 0xa60], 1
call sub.MFC42u.DLL_CString::CString_4
mov ax, word [0x473258]
mov ecx, 0x81
mov word [esp + 0x850], ax
xor eax, eax
lea edi, [esp + 0x852]
mov byte [esp + 0xa60], 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov dword [esi + 0x928], 1
stosw word es:[edi], ax
call fcn.00435d00
lea ecx, [esp + 0x850]
push 0x104
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x850]
lea ecx, [esi + 0xde4]
push edx
call fcn.00456320
mov ecx, esi
call fcn.0042ea80
mov ecx, esi
call fcn.0042ea90
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call sub.MFC42u.DLL_CString::CString_4
push 0x80
lea ecx, [esp + 0x28]
mov byte [esp + 0xa64], 3
call sub.MFC42u.DLL_CString::LoadStringW
mov ecx, dword [esp + 0x24]
push ebx
push ebx
lea eax, [esp + 0x48]
push ebx
push eax
push 0x82030000
push ecx
push str.Q360SafeMainClass
push ebx
mov ecx, esi
call sub.MFC42u.DLL_CWnd::CreateEx_1
mov ebp, eax
push ebx
mov ecx, esi
mov dword [esp + 0x20], ebp
call sub.MFC42u.DLL_CWnd::ShowWindow
push 1
mov ecx, esi
call fcn.0042fe80
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 0x20]
mov edi, eax
call sub.MFC42u.DLL_CString::CString_4
cmp edi, ebx
mov byte [esp + 0xa60], 4
je 0x42ed87
push edi
lea ecx, [esp + 0x24]
call fcn.00456320
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::MakeLower
push str._repairmain
lea ecx, [esp + 0x24]
call sub.MFC42u.DLL_CString::Find
cmp eax, 0xffffffff
je 0x42edac
mov dword [esi + 0x50], 1
jmp 0x42edaf
mov dword [esi + 0x50], ebx
cmp ebp, ebx
je 0x42f291
cmp dword [esi + 0x50], ebx
je 0x42ee02
lea edx, [esi + 0xf9c]
push edx
call fcn.0041f1a0
add esp, 4
test eax, eax
je 0x42eec3
push str.http:__stat.360safe.com_360__styperepairmaintypecantrpuiduidpidpidmmidververztzt
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString_1
push eax
mov ecx, esi
mov byte [esp + 0xa64], 5
call fcn.00431120
mov byte [esp + 0xa60], 4
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString
mov ebp, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
call sub.MFC42u.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [0x4730e0]
cmp eax, ebx
mov dword [esp + 0x14], ecx
je 0x42ee30
cmp dword [0x4730e4], ebx
jne 0x42f1dd
lea edx, [esp + 0x50]
push 0x400
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x50]
push eax
call ebp
mov eax, dword [0x4730e8]
xor edi, edi
cmp eax, ebx
jle 0x42ee64
lea ecx, [esp + 0x50]
push ecx
call ebp
mov eax, dword [0x4730e8]
inc edi
cmp edi, eax
jl 0x42ee53
lea edx, [esp + 0x50]
push str.MiniUI.dll
lea eax, [esp + 0x54]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x50]
test ecx, ecx
je 0x42eebc
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42f1a0
lea eax, [esp + 0x50]
push eax
call fcn.00456ce0
add esp, 4
test eax, eax
jne 0x42f1a0
call fcn.00456be0
lea ecx, [esp + 0x50]
push eax
push ecx
call fcn.00456bf0
add esp, 8
xor eax, eax
jmp 0x42f1ab
call fcn.0041f5d0
test eax, eax
je 0x42f017
push str.http:__stat.360safe.com_360__styperepairmaintypesucceeduiduidpidpidmmidververztzt
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString_1
push eax
mov ecx, esi
mov byte [esp + 0xa64], 6
call fcn.00431120
lea ecx, [esp + 0x10]
mov byte [esp + 0xa60], 4
call sub.MFC42u.DLL_CString::CString
push 0x80
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::CString_1
mov ebp, dword [eax]
push 0xef77
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa64], 7
call sub.MFC42u.DLL_CString::CString_1
mov eax, dword [eax]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [0x4732b8]
cmp eax, ebx
mov byte [esp + 0xa60], 8
mov dword [esp + 0x2c], ecx
je 0x42ef4f
cmp dword [0x4730e4], ebx
jne 0x42efda
lea edx, [esp + 0x50]
push 0x400
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [0x4730e8]
xor edi, edi
cmp eax, ebx
jle 0x42ef8b
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [0x4730e8]
inc edi
cmp edi, eax
jl 0x42ef76
lea edx, [esp + 0x50]
push str.MiniUI.dll
lea eax, [esp + 0x54]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x50]
push ecx
call fcn.00401560
add esp, 4
test eax, eax
je 0x42efbc
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [0x4730e4], eax
je 0x42eff5
push str.GetMiniUI3
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [0x4732b8], eax
je 0x42eff5
call eax
cmp eax, ebx
je 0x42eff5
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push ebx
push ebp
push edx
mov edx, dword [esp + 0x38]
push edx
push eax
call dword [ecx + 0x8c]
lea ecx, [esp + 0x28]
mov byte [esp + 0xa60], 7
call sub.MFC42u.DLL_CString::CString
mov byte [esp + 0xa60], 4
lea ecx, [esp + 0x18]
jmp 0x42edfd
push 0x80
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::CString_1
mov eax, dword [eax]
push 0xef76
lea ecx, [esp + 0x14]
mov byte [esp + 0xa64], 9
mov dword [esp + 0x1c], eax
call sub.MFC42u.DLL_CString::CString_1
mov ecx, dword [eax]
mov eax, dword [0x4732b8]
mov edx, dword [esi + 0x20]
cmp eax, ebx
mov byte [esp + 0xa60], 0xa
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
je 0x42f06b
cmp dword [0x4730e4], ebx
jne 0x42f124
lea eax, [esp + 0x50]
push 0x400
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x50]
push ecx
call ebp
mov eax, dword [0x4730e8]
xor edi, edi
cmp eax, ebx
jle 0x42f0a5
lea edx, [esp + 0x50]
push edx
call ebp
mov eax, dword [0x4730e8]
inc edi
cmp edi, eax
jl 0x42f094
lea eax, [esp + 0x50]
push str.MiniUI.dll
lea ecx, [esp + 0x54]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x50]
test edx, edx
je 0x42f0f5
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42f0f9
lea ecx, [esp + 0x50]
push ecx
call fcn.00456ce0
add esp, 4
test eax, eax
jne 0x42f0f9
call fcn.00456be0
lea edx, [esp + 0x50]
push eax
push edx
call fcn.00456bf0
add esp, 8
xor eax, eax
jmp 0x42f104
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [0x4730e4], eax
je 0x42f14a
push str.GetMiniUI3
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [0x4732b8], eax
je 0x42f14a
jmp 0x42f12a
mov ebp, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
call eax
cmp eax, ebx
je 0x42f14a
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push 0x10
push edx
mov edx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x38]
push edx
push eax
call dword [ecx + 0x8c]
lea ecx, [esp + 0x10]
mov byte [esp + 0xa60], 9
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0xa60], 4
call sub.MFC42u.DLL_CString::CString
push str.http:__stat.360safe.com_360__styperepairmaintypefaileduiduidpidpidmmidververztzt
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::CString_1
push eax
mov ecx, esi
mov byte [esp + 0xa64], 0xb
call fcn.00431120
lea ecx, [esp + 0x14]
mov byte [esp + 0xa60], 4
call sub.MFC42u.DLL_CString::CString
jmp 0x42ee08
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [0x4730e4], eax
je 0x42f1f8
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [0x4730e0], eax
jne 0x42f1dd
mov eax, dword [0x4730e4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4730e4], ebx
jmp 0x42f1f8
call eax
cmp eax, ebx
je 0x42f1f8
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x1c]
push 0x83
push edx
push eax
call dword [ecx + 0x2c]
mov eax, dword [esi + 0xdd8]
mov ecx, dword [esi + 0x1b0]
push eax
call fcn.0042aef0
mov ecx, esi
call fcn.0042eaa0
push ebx
push 1
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
mov dword [esi + 0x92c], eax
call fcn.0042db50
mov ecx, esi
mov dword [esi + 0x2a8], 1
call fcn.0042fdf0
mov ecx, esi
call fcn.00431820
push 1
mov ecx, esi
call fcn.00431940
mov ecx, esi
call fcn.00431c60
mov ecx, dword [esi + 0x2cc]
mov edx, dword [esi + 0x20]
push ecx
mov ecx, dword [esi + 0x1b0]
push edx
call fcn.0042a3a0
push 1
mov ecx, esi
call fcn.00430340
push 1
mov ecx, esi
call fcn.00430860
mov ecx, esi
call fcn.00436200
mov ecx, esi
call fcn.00431da0
mov ecx, esi
call fcn.0042fcb0
mov ebp, dword [esp + 0x1c]
mov ecx, 0x473590
call fcn.00454f50
mov eax, dword [esi + 0x48]
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
neg eax
sbb eax, eax
push ebx
and al, 0xfe
add eax, 5
push eax
mov eax, dword [esi + 0x20]
push 0x532
push eax
call edi
lea ecx, [esp + 0x30]
push ecx
call fcn.004217c0
add esp, 4
mov edx, dword [esp + 0x30]
mov byte [esp + 0xa60], 0xc
cmp dword [edx - 8], ebx
je 0x42f2eb
mov eax, dword [esi + 0x20]
push ebx
push 0x8150
push 0x111
push eax
call edi
jmp 0x42f311
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x473258
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.0042f860
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esi + 0x928], ebx
mov byte [esp + 0xa60], 4
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0xa60], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0xa60], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0xa60], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0xa60], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0xa60], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0xa58]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa54
ret