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

Disassembly:
push 0xffffffffffffffff
push 0x43e6c4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa44
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x30]
call sub.MFC42u.DLL_CString::CString_4
xor ebx, ebx
lea ecx, [esp + 0x34]
mov dword [esp + 0xa5c], ebx
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esp + 0x38]
mov byte [esp + 0xa5c], 1
call sub.MFC42u.DLL_CString::CString_4
mov ax, word [0x44ffe8]
mov ecx, 0x81
mov word [esp + 0x84c], ax
xor eax, eax
lea edi, [esp + 0x84e]
mov byte [esp + 0xa5c], 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov dword [esi + 0x6a8], 1
stosw word es:[edi], ax
call fcn.00422ea0
lea ecx, [esp + 0x84c]
push 0x104
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x84c]
lea ecx, [esi + 0x6a0]
push edx
call fcn.00439862
mov ecx, esi
call fcn.00416ba0
mov ecx, esi
call fcn.00416bc0
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call sub.MFC42u.DLL_CString::CString_4
push 0x80
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa60], 3
call sub.MFC42u.DLL_CString::LoadStringW
mov ecx, dword [esp + 0x28]
push ebx
push ebx
lea eax, [esp + 0x44]
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
mov ecx, esi
mov dword [esp + 0x2c], ebp
call fcn.004196e0
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 + 0xa5c], 4
je 0x417d6d
push edi
lea ecx, [esp + 0x24]
call fcn.00439862
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 0x417d92
mov dword [esi + 0x50], 1
jmp 0x417d95
mov dword [esi + 0x50], ebx
cmp ebp, ebx
je 0x418370
cmp dword [esi + 0x50], ebx
je 0x4180b3
lea edx, [esi + 0x69c]
mov ecx, esi
push edx
call fcn.00417100
test eax, eax
je 0x417de7
push str.http:__stat.360safe.com_360__styperepairmaintypecantrpuiduidpidpidmmidververztzt
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::CString_1
push eax
mov ecx, esi
mov byte [esp + 0xa60], 5
call fcn.0041b970
mov byte [esp + 0xa5c], 4
lea ecx, [esp + 0x14]
jmp 0x4180ae
mov ecx, esi
call fcn.00417310
test eax, eax
je 0x417f3d
push str.http:__stat.360safe.com_360__styperepairmaintypesucceeduiduidpidpidmmidververztzt
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::CString_1
push eax
mov ecx, esi
mov byte [esp + 0xa60], 6
call fcn.0041b970
lea ecx, [esp + 0x14]
mov byte [esp + 0xa5c], 4
call sub.MFC42u.DLL_CString::CString
push 0x80
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString_1
mov ebp, dword [eax]
push 0xef77
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa60], 7
call sub.MFC42u.DLL_CString::CString_1
mov eax, dword [eax]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [0x450024]
cmp eax, ebx
mov byte [esp + 0xa5c], 8
mov dword [esp + 0x24], ecx
je 0x417e75
cmp dword [0x44fe94], ebx
jne 0x417f00
lea edx, [esp + 0x4c]
push 0x400
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [0x44fe98]
xor edi, edi
cmp eax, ebx
jle 0x417eb1
lea ecx, [esp + 0x4c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [0x44fe98]
inc edi
cmp edi, eax
jl 0x417e9c
lea edx, [esp + 0x4c]
push str.MiniUI.dll
lea eax, [esp + 0x50]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x4c]
push ecx
call fcn.00405a80
add esp, 4
test eax, eax
je 0x417ee2
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [0x44fe94], eax
je 0x417f1b
push str.GetMiniUI3
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [0x450024], eax
je 0x417f1b
call eax
cmp eax, ebx
je 0x417f1b
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push ebx
push ebp
push edx
mov edx, dword [esp + 0x30]
push edx
push eax
call dword [ecx + 0x8c]
lea ecx, [esp + 0x18]
mov byte [esp + 0xa5c], 7
call sub.MFC42u.DLL_CString::CString
mov byte [esp + 0xa5c], 4
lea ecx, [esp + 0x10]
jmp 0x4180ae
push 0x80
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::CString_1
mov ebp, dword [eax]
push 0xef76
lea ecx, [esp + 0x28]
mov byte [esp + 0xa60], 9
call sub.MFC42u.DLL_CString::CString_1
mov eax, dword [eax]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [0x450024]
cmp eax, ebx
mov byte [esp + 0xa5c], 0xa
mov dword [esp + 0x18], ecx
je 0x417f8d
cmp dword [0x44fe94], ebx
jne 0x418046
lea edx, [esp + 0x4c]
push 0x400
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [0x44fe98]
xor edi, edi
cmp eax, ebx
jle 0x417fc9
lea ecx, [esp + 0x4c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [0x44fe98]
inc edi
cmp edi, eax
jl 0x417fb4
lea edx, [esp + 0x4c]
push str.MiniUI.dll
lea eax, [esp + 0x50]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x4c]
test ecx, ecx
je 0x418019
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41801d
lea eax, [esp + 0x4c]
push eax
call fcn.0043a2e0
add esp, 4
test eax, eax
jne 0x41801d
call fcn.0043a1e0
lea ecx, [esp + 0x4c]
push eax
push ecx
call fcn.0043a1f0
add esp, 8
xor eax, eax
jmp 0x418028
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [0x44fe94], eax
je 0x418062
push str.GetMiniUI3
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [0x450024], eax
je 0x418062
call eax
cmp eax, ebx
je 0x418062
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push 0x10
push ebp
push edx
mov edx, dword [esp + 0x24]
push edx
push eax
call dword [ecx + 0x8c]
lea ecx, [esp + 0x24]
mov byte [esp + 0xa5c], 9
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0xa5c], 4
call sub.MFC42u.DLL_CString::CString
push str.http:__stat.360safe.com_360__styperepairmaintypefaileduiduidpidpidmmidververztzt
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString_1
push eax
mov ecx, esi
mov byte [esp + 0xa60], 0xb
call fcn.0041b970
mov byte [esp + 0xa5c], 4
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString
call sub.MFC42u.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [0x44fe90]
cmp eax, ebx
mov dword [esp + 0x10], ecx
je 0x4180db
cmp dword [0x44fe94], ebx
jne 0x4181a6
lea edx, [esp + 0x4c]
push 0x400
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x4c]
push eax
call ebp
mov eax, dword [0x44fe98]
xor edi, edi
cmp eax, ebx
jle 0x418115
lea ecx, [esp + 0x4c]
push ecx
call ebp
mov eax, dword [0x44fe98]
inc edi
cmp edi, eax
jl 0x418104
lea edx, [esp + 0x4c]
push str.MiniUI.dll
lea eax, [esp + 0x50]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x4c]
test ecx, ecx
je 0x418165
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x418169
lea eax, [esp + 0x4c]
push eax
call fcn.0043a2e0
add esp, 4
test eax, eax
jne 0x418169
call fcn.0043a1e0
lea ecx, [esp + 0x4c]
push eax
push ecx
call fcn.0043a1f0
add esp, 8
xor eax, eax
jmp 0x418174
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [0x44fe94], eax
je 0x4181c7
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [0x44fe90], eax
jne 0x4181ac
mov eax, dword [0x44fe94]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x44fe94], ebx
jmp 0x4181c7
mov ebp, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
call eax
cmp eax, ebx
je 0x4181c7
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x1c]
push 0x83
push edx
push eax
call dword [ecx + 0x2c]
cmp esi, ebx
mov dword [esp + 0x1c], ebx
je 0x4182f1
mov eax, dword [0x44fe90]
cmp eax, ebx
je 0x4181e8
cmp dword [0x44fe94], ebx
jne 0x4182ae
lea eax, [esp + 0x4c]
push 0x400
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x4c]
push ecx
call ebp
mov eax, dword [0x44fe98]
xor edi, edi
cmp eax, ebx
jle 0x41821c
lea edx, [esp + 0x4c]
push edx
call ebp
mov eax, dword [0x44fe98]
inc edi
cmp edi, eax
jl 0x41820b
lea eax, [esp + 0x4c]
push str.MiniUI.dll
lea ecx, [esp + 0x50]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x4c]
test edx, edx
je 0x41826c
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x418270
lea ecx, [esp + 0x4c]
push ecx
call fcn.0043a2e0
add esp, 4
test eax, eax
jne 0x418270
call fcn.0043a1e0
lea edx, [esp + 0x4c]
push eax
push edx
call fcn.0043a1f0
add esp, 8
xor eax, eax
jmp 0x41827b
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [0x44fe94], eax
je 0x4182c8
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [0x44fe90], eax
jne 0x4182ae
mov ecx, dword [0x44fe94]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x44fe94], ebx
jmp 0x4182c8
call eax
cmp eax, ebx
je 0x4182c8
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0x20]
push 0x2710
push ecx
push eax
call dword [edx + 0x20]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4182f1
mov edx, dword [eax]
push 1
push eax
call dword [edx + 0x54]
mov eax, dword [esp + 0x1c]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esp + 0x1c]
push ebx
push ebx
push ebx
mov edx, dword [eax]
push ebx
push eax
call dword [edx + 0x44]
mov eax, dword [esi + 0x21c]
mov ecx, dword [esi + 0x5c]
push eax
call fcn.00413f90
mov ecx, dword [esi + 0x20]
push 0x3ee
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x5c]
push eax
push edx
call fcn.00413ba0
mov eax, dword [esp + 0x1c]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov ecx, esi
call fcn.00418d30
mov ecx, esi
call fcn.0041bc80
mov ecx, esi
call fcn.00419c20
push 1
mov ecx, esi
call fcn.0041a210
mov ecx, esi
call fcn.0041d470
push 1
mov ecx, esi
call fcn.0041cc80
mov ecx, esi
call fcn.0041d150
mov ecx, esi
call fcn.00418c80
push ebx
mov ecx, esi
call sub.MFC42u.DLL_CWnd::UpdateData
mov ebp, dword [esp + 0x2c]
mov eax, dword [esi + 0x4c]
mov edx, dword [esi + 0x20]
neg eax
sbb eax, eax
push ebx
and al, 0xfe
add eax, 5
push eax
push 0x532
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [esp + 0x20]
mov dword [esi + 0x6a8], ebx
mov byte [esp + 0xa5c], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0xa5c], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0xa5c], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0xa5c], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0xa5c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0xa54]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa50
ret