Function at 0x4073a0
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x41b1e8], eax
mov eax, dword [0x41ba38]
sub esp, 0x100
test eax, eax
jne 0x4073ca
mov eax, dword [0x41ba34]
test eax, eax
jne 0x4073ca
mov ecx, dword [0x41ba2c]
push ecx
jmp 0x4073cc
push 0
call fcn.004062c0
mov eax, dword [0x41ba38]
add esp, 4
test eax, eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_MessageBoxA]
push ebp
push esi
push edi
je 0x4073ff
mov edx, dword [0x41ba6c]
push 0x40000
push str.NovaLogic_Update_Wizard_v1.0.11d
push str.An_error_occured_during_the_update_process.__Please_correct_the_problem_and_re_run_Update.exe.
push edx
call ebx
mov eax, dword [0x41b1e0]
or ebp, 0xffffffff
cmp eax, ebp
jne 0x40744f
mov eax, dword [0x41b1ec]
test eax, eax
jne 0x40744f
mov eax, dword [0x41ba34]
test eax, eax
jne 0x40744f
mov eax, dword [0x41ba38]
test eax, eax
jne 0x40744f
mov eax, dword [0x41ba54]
test eax, eax
jne 0x40744f
mov eax, dword [0x41afc0]
test eax, eax
jne 0x40744f
mov eax, dword [0x41ba6c]
push 0x40000
push str.NovaLogic_Update_Wizard_v1.0.11d
push str.No_update_needed.
push eax
call ebx
mov eax, dword [0x41ba40]
test eax, eax
je 0x40748b
mov eax, dword [0x41ba38]
test eax, eax
jne 0x40748b
mov eax, dword [0x41ba34]
test eax, eax
jne 0x40748b
test byte [0x41ba68], 8
jne 0x40748b
mov eax, dword [0x41afc0]
test eax, eax
jne 0x40748b
push 0
push 0x41b408
call fcn.00404a10
add esp, 8
mov eax, dword [0x41ba54]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, 1
je 0x4074ac
push 0x41b208
call esi
mov dword [0x41b1e8], edi
mov eax, dword [0x41ba34]
test eax, eax
je 0x4074bb
mov dword [0x41b1e8], edi
mov eax, dword [0x41ba38]
test eax, eax
je 0x4074ce
mov dword [0x41b1e8], 2
push str._tmpfile.___
call esi
push str._tmpexec.___
call esi
push str.update.lst
call esi
mov eax, dword [0x41afc0]
test eax, eax
je 0x407645
cmp dword [0x41b1e0], ebp
je 0x4075ed
push str.This_process_will_attempt_to_close__s_if_open.
lea ecx, [esp + 0x14]
push 0x414258
push ecx
call fcn.00408948
push 0x41b488
push 0x41b488
lea edx, [esp + 0x24]
push edx
push 0x41aec0
call fcn.00408948
push 0x41aec0
push str.A_new_version_of_the_Update_Wizard_has_been_downloaded.__The_new_Update_Wizard_will_now_run.
lea eax, [esp + 0x34]
push 0x414360
push eax
call fcn.00408948
mov edx, dword [0x41ba6c]
add esp, 0x2c
push 0x40000
push str.NovaLogic_Update_Wizard_v1.0.11d
lea ecx, [esp + 0x18]
push ecx
push edx
call ebx
mov eax, dword [0x41b1e0]
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call edi
mov ebp, dword [sym.imp.USER32.dll_IsWindow]
mov esi, 5
mov ecx, dword [0x41b1e0]
push ecx
call ebp
test eax, eax
je 0x40759e
push 0xbb8
call edi
dec esi
jne 0x407587
mov edx, dword [0x41b1e0]
push edx
call ebp
test eax, eax
je 0x407605
push str.Attempts_to_close_down__s_have_failed._Please_close_down__s.
lea eax, [esp + 0x14]
push 0x414258
push eax
call fcn.00408948
push 0x41b488
push 0x41b488
lea ecx, [esp + 0x24]
push ecx
push 0x41aec0
call fcn.00408948
add esp, 0x1c
push 0
push str.NovaLogic_Update_Wizard_v1.0.11d
push 0x41aec0
push 0
call ebx
jmp 0x407582
mov edx, dword [0x41ba6c]
push 0x40000
push str.NovaLogic_Update_Wizard_v1.0.11d
push str.A_new_version_of_the_Update_Wizard_has_been_downloaded.__The_new_Update_Wizard_will_now_run.
push edx
call ebx
test byte [0x41ba68], 0x10
jne 0x407631
push 0x41afe0
lea eax, [esp + 0x14]
push 0x41465c
push eax
call fcn.00408948
lea ecx, [esp + 0x1c]
push 0
push ecx
call fcn.00404a10
add esp, 0x14
push 0
call fcn.004062c0
add esp, 4
mov dword [0x41b1e8], 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret