Function at 0x487fbb
Capabilities:
Delete file

Disassembly:
push 0x2c4
mov eax, 0x5091ca
call fcn.004d2c4d
mov esi, ecx
mov dword [ebp - 0x240], esi
lea edx, [esi + 0x28]
lea ecx, [ebp - 0x234]
call fcn.00496b0c
mov eax, dword [ebp - 0x234]
cmp dword [eax - 0xc], 0
je 0x488059
lea eax, [ebp - 0x234]
push eax
lea ecx, [esi + 0x34]
call fcn.004434b9
or edi, 0xffffffff
cmp byte [0x56b83c], 0
je 0x48804d
call fcn.00406d01
push eax
lea ecx, [ebp - 0x21c]
call fcn.00406b29
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x21c]
push str.Newer_version_is_at_a_local_URL.
call fcn.004072c4
lea eax, [ebp - 0x21c]
mov ecx, 0x56b80c
push eax
call fcn.00489943
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00406df6
mov byte [ebp - 0x238], 1
jmp 0x488487
xor eax, eax
lea edx, [ebp - 0x218]
mov word [ebp - 0x218], ax
call fcn.0049967e
test al, al
je 0x48808f
cmp word [ebp - 0x218], 0
je 0x48808f
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00409419
jmp 0x48809a
lea ecx, [ebp - 0x21c]
call fcn.0046f390
lea ebx, [esi + 0x34]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x22c], ebx
push eax
mov ecx, ebx
call fcn.004434b9
or edi, 0xffffffff
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00406df6
mov ecx, ebx
call fcn.0046f310
push ecx
push ebx
lea ecx, [ebp - 0x2d0]
call fcn.0049082c
mov eax, dword [esi + 0x30]
mov ecx, ebx
push dword [eax - 0xc]
push eax
call fcn.004072ec
call fcn.00406d01
push eax
lea ecx, [ebp - 0x224]
call fcn.00406b29
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.0049091a
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00406df6
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.00484731
lea ecx, [ebp - 0x2a0]
mov esi, eax
call fcn.00421707
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x2a0], 0x52f8f4
mov dword [ebp - 0x27c], eax
lea ecx, [ebp - 0x260]
xor eax, eax
mov dword [ebp - 0x280], 0x52f904
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.0049a926
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
lea ecx, [ebp - 0x298]
xor eax, eax
push eax
push eax
call fcn.00407029
test eax, eax
jne 0x4881ce
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x228], edi
jmp 0x488200
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.00420f70
push 0
push 0x420f23
push esi
push 0xd8
push dword [0x56a588]
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 0x488256
mov ecx, dword [ebp - 0x22c]
lea edx, [ebp - 0x244]
call fcn.004714e0
mov ecx, dword [ebp - 0x240]
mov eax, dword [ebp - 0x244]
cmp eax, dword [ecx + 0x2c]
je 0x488256
mov bh, 1
jmp 0x48825c
xor bh, bh
test esi, esi
jne 0x48826d
cmp dword [ebp - 0x228], 1
jne 0x48826d
test bh, bh
je 0x4883a4
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.004073cf
push str..part
lea ecx, [ebp - 0x21c]
call fcn.004072c4
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x230], 2
jge 0x4883d5
call fcn.00406d01
push eax
lea ecx, [ebp - 0x224]
call fcn.00406b29
mov dword [ebp - 4], edi
test bh, bh
je 0x4882df
push 0x111
lea ecx, [ebp - 0x224]
call fcn.0040928a
jmp 0x48830b
push ecx
mov edx, esi
lea ecx, [ebp - 0x23c]
call fcn.0046d610
pop ecx
push eax
lea ecx, [ebp - 0x224]
call fcn.004434b9
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x23c]
lea ecx, [ecx - 0x10]
call fcn.00406df6
call fcn.00406d01
push eax
lea ecx, [ebp - 0x220]
call fcn.00406b29
mov dword [ebp - 4], edi
lea eax, [ebp - 0x220]
mov esi, dword [ebp - 0x224]
push esi
push 0x102
push eax
call fcn.0047f77c
mov eax, dword [ebp - 0x240]
add esp, 0xc
mov ecx, dword [eax + 4]
push 0
call fcn.00484731
mov edi, eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push 0x45
push edi
lea edx, [ebp - 0x220]
mov ecx, eax
call fcn.0046bb40
mov dword [ebp - 0x228], eax
pop ecx
pop ecx
cmp eax, 2
je 0x4883b0
or edi, 0xffffffff
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00406df6
mov dword [ebp - 4], edi
lea ecx, [esi - 0x10]
call fcn.00406df6
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00406df6
jmp 0x4881a3
mov byte [ebp - 0x238], 1
jmp 0x488467
or edi, 0xffffffff
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00406df6
mov dword [ebp - 4], edi
lea ecx, [esi - 0x10]
call fcn.00406df6
mov esi, dword [ebp - 0x228]
cmp byte [0x56b83c], 0
je 0x488456
push ecx
mov edx, esi
lea ecx, [ebp - 0x23c]
call fcn.0046d610
pop ecx
mov esi, dword [eax]
call fcn.00406d01
push eax
lea ecx, [ebp - 0x220]
call fcn.00406b29
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x220]
push str.Failed_to_download_a_newer_version._Error:
call fcn.004072c4
test esi, esi
je 0x488423
push esi
lea ecx, [ebp - 0x220]
call fcn.004072c4
lea eax, [ebp - 0x220]
mov ecx, 0x56b80c
push eax
call fcn.00489943
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00406df6
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x23c]
lea ecx, [ecx - 0x10]
call fcn.00406df6
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00406df6
lea ecx, [ebp - 0x2a0]
call fcn.0049940a
test bl, bl
je 0x48847c
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x2d0]
call fcn.00490873
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x234]
add ecx, 0xfffffff0
call fcn.00406df6
mov al, byte [ebp - 0x238]
call fcn.004d2bf7
ret