Function at 0x4889f7
Capabilities:
Delete file

Disassembly:
push 0x2c4
mov eax, 0x50bc01
call fcn.004d0d27
mov esi, ecx
mov dword [ebp - 0x240], esi
lea edx, [esi + 0x28]
lea ecx, [ebp - 0x234]
call fcn.00497577
mov eax, dword [ebp - 0x234]
cmp dword [eax - 0xc], 0
je 0x488a95
lea eax, [ebp - 0x234]
push eax
lea ecx, [esi + 0x34]
call fcn.0044369a
or edi, 0xffffffff
cmp byte [0x5706cc], 0
je 0x488a89
call fcn.00406cde
push eax
lea ecx, [ebp - 0x21c]
call fcn.00406b09
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x21c]
push str.Newer_version_is_at_a_local_URL.
call fcn.004072a1
lea eax, [ebp - 0x21c]
mov ecx, 0x57069c
push eax
call fcn.0048a377
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
mov byte [ebp - 0x238], 1
jmp 0x488ec3
xor eax, eax
lea edx, [ebp - 0x218]
mov word [ebp - 0x218], ax
call fcn.0049a0ea
test al, al
je 0x488acb
cmp word [ebp - 0x218], 0
je 0x488acb
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.004093f6
jmp 0x488ad6
lea ecx, [ebp - 0x21c]
call fcn.0046fbf0
lea ebx, [esi + 0x34]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x22c], ebx
push eax
mov ecx, ebx
call fcn.0044369a
or edi, 0xffffffff
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
mov ecx, ebx
call fcn.0046fb70
push ecx
push ebx
lea ecx, [ebp - 0x2d0]
call fcn.00491297
mov eax, dword [esi + 0x30]
mov ecx, ebx
push dword [eax - 0xc]
push eax
call fcn.004072c9
call fcn.00406cde
push eax
lea ecx, [ebp - 0x224]
call fcn.00406b09
mov dword [ebp - 4], edi
lea eax, [ebp - 0x224]
push eax
push ecx
xor ebx, ebx
lea eax, [esi + 0x28]
push ebx
push dword [esi + 0x2c]
lea ecx, [ebp - 0x2d0]
mov dword [ebp - 0x238], ebx
push eax
call fcn.00491385
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
push ebx
mov dword [ebp - 0x230], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [esi + 4]
test eax, eax
push 0
sete bl
call fcn.0048516f
lea ecx, [ebp - 0x2a0]
mov esi, eax
call fcn.00421811
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x2a0], 0x53524c
mov dword [ebp - 0x27c], eax
lea ecx, [ebp - 0x260]
xor eax, eax
mov dword [ebp - 0x280], 0x53521c
mov dword [ebp - 0x278], esi
mov byte [ebp - 0x274], al
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x268], eax
call fcn.0049b392
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
lea ecx, [ebp - 0x298]
xor eax, eax
push eax
push eax
call fcn.00407006
test eax, eax
jne 0x488c0a
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x228], edi
jmp 0x488c3c
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.0042107a
push 0
push 0x42102d
push esi
push 0xd8
push dword [0x56f438]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov dword [ebp - 0x228], eax
push edi
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x270], 0
inc dword [ebp - 0x230]
mov esi, dword [ebp - 0x2b0]
test esi, esi
jne 0x488c92
mov ecx, dword [ebp - 0x22c]
lea edx, [ebp - 0x244]
call fcn.00471f20
mov ecx, dword [ebp - 0x240]
mov eax, dword [ebp - 0x244]
cmp eax, dword [ecx + 0x2c]
je 0x488c92
mov bh, 1
jmp 0x488c98
xor bh, bh
test esi, esi
jne 0x488ca9
cmp dword [ebp - 0x228], 1
jne 0x488ca9
test bh, bh
je 0x488de0
mov eax, dword [ebp - 0x22c]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x22c]
lea ecx, [ebp - 0x21c]
call fcn.004073ac
push str..part
lea ecx, [ebp - 0x21c]
call fcn.004072a1
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x230], 2
jge 0x488e11
call fcn.00406cde
push eax
lea ecx, [ebp - 0x224]
call fcn.00406b09
mov dword [ebp - 4], edi
test bh, bh
je 0x488d1b
push 0x111
lea ecx, [ebp - 0x224]
call fcn.00409267
jmp 0x488d47
push ecx
mov edx, esi
lea ecx, [ebp - 0x23c]
call fcn.0046de60
pop ecx
push eax
lea ecx, [ebp - 0x224]
call fcn.0044369a
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x23c]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
call fcn.00406cde
push eax
lea ecx, [ebp - 0x220]
call fcn.00406b09
mov dword [ebp - 4], edi
lea eax, [ebp - 0x220]
mov esi, dword [ebp - 0x224]
push esi
push 0x102
push eax
call fcn.004801b2
mov eax, dword [ebp - 0x240]
add esp, 0xc
mov ecx, dword [eax + 4]
push 0
call fcn.0048516f
mov edi, eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push 0x45
push edi
lea edx, [ebp - 0x220]
mov ecx, eax
call fcn.0046c3a0
mov dword [ebp - 0x228], eax
pop ecx
pop ecx
cmp eax, 2
je 0x488dec
or edi, 0xffffffff
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
mov dword [ebp - 4], edi
lea ecx, [esi - 0x10]
call fcn.00406dd3
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
jmp 0x488bdf
mov byte [ebp - 0x238], 1
jmp 0x488ea3
or edi, 0xffffffff
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
mov dword [ebp - 4], edi
lea ecx, [esi - 0x10]
call fcn.00406dd3
mov esi, dword [ebp - 0x228]
cmp byte [0x5706cc], 0
je 0x488e92
push ecx
mov edx, esi
lea ecx, [ebp - 0x23c]
call fcn.0046de60
pop ecx
mov esi, dword [eax]
call fcn.00406cde
push eax
lea ecx, [ebp - 0x220]
call fcn.00406b09
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x220]
push str.Failed_to_download_a_newer_version._Error:
call fcn.004072a1
test esi, esi
je 0x488e5f
push esi
lea ecx, [ebp - 0x220]
call fcn.004072a1
lea eax, [ebp - 0x220]
mov ecx, 0x57069c
push eax
call fcn.0048a377
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x23c]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
lea ecx, [ebp - 0x2a0]
call fcn.00499e75
test bl, bl
je 0x488eb8
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x2d0]
call fcn.004912de
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x234]
add ecx, 0xfffffff0
call fcn.00406dd3
mov al, byte [ebp - 0x238]
call fcn.004d0cd1
ret