Function at 0x46284a
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.00470d28
mov eax, dword [ebp - 0x18]
xor esi, esi
pop ecx
lea edi, [ebx + 0x30]
cmp dword [eax - 0xc], esi
je 0x4628be
lea eax, [ebp - 0x18]
call fcn.00438b14
cmp byte [0x506010], 0
je 0x4628ab
push str.Newer_version_is_at_a_local_URL.
lea eax, [ebp + 8]
push eax
call fcn.00466612
push eax
call fcn.00466622
push eax
mov eax, 0x505fe0
call fcn.00465a03
lea ecx, [ebp + 8]
call fcn.004058e3
mov bl, 1
lea ecx, [ebp - 0x18]
call fcn.004058e3
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 4
lea ecx, [ebp - 0xc]
call fcn.00462a8f
call fcn.00438b14
lea ecx, [ebp - 0xc]
call fcn.004058e3
mov eax, edi
call fcn.0044f180
push edi
lea eax, [ebp - 0x44]
call fcn.0046a461
mov eax, dword [ebx + 0x2c]
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.00438d54
lea ecx, [ebp - 0xc]
call fcn.00409513
push eax
push esi
push dword [ebx + 0x28]
lea eax, [ebx + 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0046a49f
lea ecx, [ebp - 0xc]
call fcn.004058e3
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.004653f4
push eax
lea eax, [ebp - 0x44]
push eax
lea esi, [ebp - 0x9c]
call fcn.00470de7
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ebx, [ebp - 0x9c]
call fcn.00470e74
mov ebx, dword [ebp - 0x24]
inc dword [ebp - 0xc]
test ebx, ebx
jne 0x462979
cmp eax, 1
jne 0x462979
lea eax, [ebp - 0x20]
push eax
push edi
call fcn.00450e50
mov eax, dword [ebp - 0x20]
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 0x28]
je 0x462a03
push dword [edi]
mov byte [ebp - 5], 0
call esi
push edi
lea eax, [ebp - 0x14]
push eax
call fcn.0041f0fb
push 0x4e1e58
lea eax, [ebp - 0x14]
push eax
call fcn.00438cdb
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0xc], 2
jge 0x462a0e
lea ecx, [ebp - 0x10]
call fcn.00409513
lea eax, [ebp - 0x1c]
push eax
call fcn.00460099
pop ecx
push dword [eax]
lea eax, [ebp - 0x10]
push 0x102
push eax
call fcn.0045bca1
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.004058e3
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push 0x45
push 0
call fcn.004653f4
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00465465
lea ecx, [ebp - 0x10]
cmp eax, 2
je 0x462a09
call fcn.004058e3
lea ecx, [ebp - 0x14]
call fcn.004058e3
jmp 0x462944
mov byte [ebp - 5], 1
jmp 0x462a60
call fcn.004058e3
cmp byte [0x506010], 0
je 0x462a58
lea eax, [ebp - 0x1c]
push eax
call fcn.00460099
pop ecx
push dword [eax]
lea eax, [ebp + 8]
push str.Failed_to_download_a_newer_version._Error:
push eax
call fcn.00466612
push eax
call fcn.00466622
push eax
call fcn.00466622
push eax
mov eax, 0x505fe0
call fcn.00465a03
lea ecx, [ebp + 8]
call fcn.004058e3
lea ecx, [ebp - 0x1c]
call fcn.004058e3
lea ecx, [ebp - 0x14]
call fcn.004058e3
lea edi, [ebp - 0x9c]
call fcn.00470e48
cmp byte [ebp - 6], 0
je 0x462a77
call dword [sym.imp.ole32.dll_CoUninitialize]
lea esi, [ebp - 0x40]
call fcn.0045bd8d
lea ecx, [ebp - 0x44]
call fcn.004058e3
mov bl, byte [ebp - 5]
jmp 0x4628ad