Function at 0x461c87
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push ebx
mov ebx, dword [ebp + 8]
push esi
lea eax, [ebx + 0x24]
push edi
push eax
lea esi, [ebp - 0x18]
call fcn.0046fed8
mov eax, dword [ebp - 0x18]
xor esi, esi
pop ecx
lea edi, [ebx + 0x30]
cmp dword [eax - 0xc], esi
je 0x461cfb
lea eax, [ebp - 0x18]
call fcn.00438ebc
cmp byte [0x505028], 0
je 0x461ce8
push str.Newer_version_is_at_a_local_URL.
lea eax, [ebp + 8]
push eax
call fcn.00465a6a
push eax
call fcn.00465a7a
push eax
mov eax, 0x504ff8
call fcn.00464e5b
lea ecx, [ebp + 8]
call fcn.004058a3
mov bl, 1
lea ecx, [ebp - 0x18]
call fcn.004058a3
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 4
lea ecx, [ebp - 0xc]
call fcn.00461ecc
call fcn.00438ebc
lea ecx, [ebp - 0xc]
call fcn.004058a3
mov eax, edi
call fcn.0044f3f0
push edi
lea eax, [ebp - 0x44]
call fcn.004698d9
mov eax, dword [ebx + 0x2c]
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.004390fc
lea ecx, [ebp - 0xc]
call fcn.0040932c
push eax
push esi
push dword [ebx + 0x28]
lea eax, [ebx + 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00469917
lea ecx, [ebp - 0xc]
call fcn.004058a3
push esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.ole32.dll_CoInitialize]
neg eax
sbb al, al
inc al
mov byte [ebp - 6], al
mov eax, dword [ebx]
push esi
call fcn.00464831
push eax
lea eax, [ebp - 0x44]
push eax
lea esi, [ebp - 0x9c]
call fcn.0046ff97
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ebx, [ebp - 0x9c]
call fcn.00470027
mov ebx, dword [ebp - 0x24]
inc dword [ebp - 0xc]
test ebx, ebx
jne 0x461db6
cmp eax, 1
jne 0x461db6
lea eax, [ebp - 0x20]
push eax
push edi
call fcn.004510c0
mov eax, dword [ebp - 0x20]
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 0x28]
je 0x461e40
push dword [edi]
mov byte [ebp - 5], 0
call esi
push edi
lea eax, [ebp - 0x14]
push eax
call fcn.0041f17d
push 0x4e0e14
lea eax, [ebp - 0x14]
push eax
call fcn.00439083
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0xc], 2
jge 0x461e4b
lea ecx, [ebp - 0x10]
call fcn.0040932c
lea eax, [ebp - 0x1c]
push eax
call fcn.0045f4d4
pop ecx
push dword [eax]
lea eax, [ebp - 0x10]
push 0x102
push eax
call fcn.0045b1d2
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.004058a3
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push 0x45
push 0
call fcn.00464831
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004648a2
lea ecx, [ebp - 0x10]
cmp eax, 2
je 0x461e46
call fcn.004058a3
lea ecx, [ebp - 0x14]
call fcn.004058a3
jmp 0x461d81
mov byte [ebp - 5], 1
jmp 0x461e9d
call fcn.004058a3
cmp byte [0x505028], 0
je 0x461e95
lea eax, [ebp - 0x1c]
push eax
call fcn.0045f4d4
pop ecx
push dword [eax]
lea eax, [ebp + 8]
push str.Failed_to_download_a_newer_version._Error:
push eax
call fcn.00465a6a
push eax
call fcn.00465a7a
push eax
call fcn.00465a7a
push eax
mov eax, 0x504ff8
call fcn.00464e5b
lea ecx, [ebp + 8]
call fcn.004058a3
lea ecx, [ebp - 0x1c]
call fcn.004058a3
lea ecx, [ebp - 0x14]
call fcn.004058a3
lea edi, [ebp - 0x9c]
call fcn.0046fffb
cmp byte [ebp - 6], 0
je 0x461eb4
call dword [sym.imp.ole32.dll_CoUninitialize]
lea esi, [ebp - 0x40]
call fcn.0045b2a5
lea ecx, [ebp - 0x44]
call fcn.004058a3
mov bl, byte [ebp - 5]
jmp 0x461cea