Function at 0x408a30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
push edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov edi, dword [ebp + 0x10]
lea eax, [esp + 0xc]
push eax
mov ecx, edi
call fcn.00407a30
mov ecx, dword [esp + 0xc]
push str.WizAutoUpdateCommand
push ecx
lea ebx, [esp + 0x18]
call fcn.00404990
mov esi, dword [esp + 0x18]
add esp, 8
cmp dword [esi - 0xc], 0
je 0x408c3a
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x408c3a
lea ebx, [esp + 0x24]
call fcn.00401ce0
push eax
lea edx, [esp + 0x2c]
push edx
mov ebx, str.WizTools.dll
call fcn.00405700
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408acd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408aed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
jne 0x408b6d
lea esi, [esp + 0x28]
call fcn.00401e70
mov ecx, dword [eax]
call fcn.00402030
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408b21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408b41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408b61
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push str.WizToolsAutoUpdateCopyFiles
push ebx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x408bb8
lea esi, [esp + 0x20]
call fcn.00401e70
mov ecx, dword [eax]
call fcn.00402030
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408bb1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, 0xfffffffe
jmp 0x408be8
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x34], 8
mov dword [esp + 0x38], 0x404
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov edx, dword [esp + 0xc]
push edx
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408c0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408c2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0xc]
push str.FixHtmlFileError
push ecx
lea ebx, [esp + 0x20]
call fcn.00404990
mov ebx, dword [esp + 0x20]
add esp, 8
mov ecx, 0x41ebcc
mov eax, ebx
jmp 0x408c60
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408c86
test dx, dx
je 0x408c82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408c86
add eax, 4
add ecx, 4
test dx, dx
jne 0x408c60
xor eax, eax
jmp 0x408c8b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x408d9f
xor esi, esi
lea edi, [esp + 0x24]
call fcn.00402a90
mov edx, dword [esp + 0x24]
push str.htmlfile
push edx
call fcn.0040a1f7
add esp, 8
test eax, eax
je 0x408cc2
push esi
mov edi, str.htmlfile
call fcn.00402a00
add esp, 4
mov esi, str.Content_Type
lea edi, [esp + 0x28]
call fcn.00402a90
mov eax, dword [esp + 0x28]
push str.text_html
push eax
call fcn.0040a1f7
add esp, 8
test eax, eax
je 0x408cf4
push esi
mov edi, str.text_html
call fcn.00402a00
add esp, 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408d14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408d34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408d50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408d70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409118
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0xc]
push str.AddIEPlugin
push ecx
lea ebx, [esp + 0x1c]
call fcn.00404990
mov edx, ebx
push edx
mov ecx, 0x41ebcc
call fcn.004057e0
add esp, 0xc
test al, al
je 0x408e82
lea ebx, [esp + 0x24]
call fcn.00401ce0
push eax
lea eax, [esp + 0x2c]
push eax
mov ebx, str.NPWizWebCapture.dll
call fcn.00405700
mov ecx, dword [eax]
add esp, 8
call fcn.00407f30
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408e0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408e2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.WizKMConfigIEDlg
call fcn.00408930
add esp, 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408e5a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408e7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
jmp 0x408d57
mov ecx, dword [esp + 0xc]
push str.AddIEMenu
push ecx
lea ebx, [esp + 0x24]
call fcn.00404990
mov edx, ebx
push edx
mov ecx, 0x41ebcc
call fcn.004057e0
add esp, 0xc
test al, al
je 0x408f46
lea ebx, [esp + 0x24]
call fcn.00401ce0
push eax
lea eax, [esp + 0x2c]
push eax
mov ebx, str.NPWizWebCapture.dll
call fcn.00405700
mov ecx, dword [eax]
add esp, 8
call fcn.00407f30
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408ef0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408f10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.WizKMAddIEMenu
call fcn.00408930
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408e3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x408e3a
mov ecx, dword [esp + 0xc]
push str.AddIEButton
push ecx
lea ebx, [esp + 0x28]
call fcn.00404990
mov edx, ebx
push edx
mov ecx, 0x41ebcc
call fcn.004057e0
add esp, 0xc
lea ebx, [esp + 0x24]
test al, al
je 0x408fb4
call fcn.00401ce0
push eax
lea eax, [esp + 0x2c]
push eax
mov ebx, str.NPWizWebCapture.dll
call fcn.00405700
mov ecx, dword [eax]
add esp, 8
call fcn.00407f30
lea ecx, [esp + 0x28]
call fcn.00407df0
lea ecx, [esp + 0x24]
call fcn.00407df0
push str.WizKMAddIEButton
call fcn.00408930
add esp, 4
jmp 0x4090e2
mov ecx, dword [esp + 0xc]
push str.AddChromePlugin
push ecx
call fcn.00404990
lea edx, [esp + 0x2c]
push edx
mov ecx, 0x41ebcc
call fcn.004057e0
add esp, 0xc
test al, al
je 0x409020
lea ebx, [esp + 0x2c]
call fcn.00401ce0
push eax
lea eax, [esp + 0x2c]
push eax
mov ebx, str.NPWizWebCapture.dll
call fcn.00405700
mov ecx, dword [eax]
add esp, 8
call fcn.00407f30
lea ecx, [esp + 0x28]
call fcn.00407df0
lea ecx, [esp + 0x2c]
call fcn.00407df0
push str.WizKMConfigChromeDlg
call fcn.00408930
add esp, 4
jmp 0x4090d9
mov ecx, dword [esp + 0xc]
push str.AddBrowserPlugin
push ecx
lea ebx, [esp + 0x30]
call fcn.00404990
mov edx, ebx
push edx
mov ecx, 0x41ebcc
call fcn.004057e0
add esp, 0xc
test al, al
je 0x409098
lea ebx, [esp + 0x30]
call fcn.00401ce0
push eax
lea eax, [esp + 0x30]
push eax
mov ebx, str.NPWizWebCapture.dll
call fcn.00405700
mov ecx, dword [eax]
add esp, 8
call fcn.00407f30
lea ecx, [esp + 0x2c]
call fcn.00407df0
lea ecx, [esp + 0x30]
call fcn.00407df0
push str.WizKMAddBrowserPlugin
call fcn.00408930
add esp, 4
push str.WizKMConfigIEDlg
call fcn.00408930
add esp, 4
jmp 0x4090d0
call fcn.00404c00
test edi, edi
je 0x4090c3
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push str.Uninstall
push edi
call esi
test eax, eax
jne 0x4090bf
push str.Unreg
push edi
call esi
test eax, eax
je 0x4090c3
push 0
jmp 0x4090c5
push 1
call fcn.00408770
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x28]
call fcn.00407df0
lea ecx, [esp + 0x24]
call fcn.00407df0
lea ecx, [esp + 0x20]
call fcn.00407df0
lea ecx, [esp + 0x1c]
call fcn.00407df0
lea ecx, [esp + 0x14]
call fcn.00407df0
lea ecx, [esp + 0x18]
call fcn.00407df0
lea ecx, [esp + 0x10]
call fcn.00407df0
lea ecx, [esp + 0xc]
call fcn.00407df0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10