Function at 0x47420c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
push ebx
mov ebx, dword [ebp + 8]
push esi
lea eax, [ebx + 0x24]
push edi
push eax
lea esi, [ebp - 0x1c]
call fcn.00483771
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], 0
pop ecx
je 0x47427e
lea edi, [ebx + 0x30]
mov eax, esi
call fcn.0044607b
cmp byte [0x5283d4], 0
je 0x47426b
push str.Newer_version_is_at_a_local_URL.
lea eax, [ebp + 8]
push eax
call fcn.00478183
push eax
call fcn.00478193
push eax
mov eax, 0x5283a4
call fcn.004775b8
lea ecx, [ebp + 8]
call fcn.00402964
mov bl, 1
lea ecx, [ebp - 0x1c]
call fcn.00402964
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 4
lea ecx, [ebp - 0xc]
lea esi, [ebx + 0x30]
call fcn.004744a5
mov edi, esi
call fcn.0044607b
lea ecx, [ebp - 0xc]
call fcn.00402964
mov eax, esi
call fcn.0045eef0
push esi
lea eax, [ebp - 0x58]
call fcn.0047cd3d
mov eax, dword [ebx + 0x2c]
push dword [eax - 0xc]
push eax
mov eax, esi
call fcn.00446332
lea eax, [ebp - 0xc]
push eax
call fcn.004029ba
push eax
xor edi, edi
push edi
push dword [ebx + 0x28]
lea eax, [ebx + 0x24]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0047ce00
lea ecx, [ebp - 0xc]
call fcn.00402964
push edi
mov dword [ebp - 0x24], edi
call dword [sym.imp.ole32.dll_CoInitialize]
neg eax
sbb al, al
inc al
mov byte [ebp - 6], al
mov eax, dword [ebx]
push edi
call fcn.00476d99
push eax
lea eax, [ebp - 0x58]
push eax
lea edi, [ebp - 0xb4]
call fcn.0048382e
lea ebx, [ebp - 0xb4]
call fcn.004838c2
inc dword [ebp - 0x24]
mov edi, eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x47433b
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.00460c20
mov eax, dword [ebp - 0x28]
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 0x28]
je 0x47433b
mov bl, 1
jmp 0x474343
xor bl, bl
cmp dword [ebp - 0xc], 0
jne 0x474350
cmp edi, 1
jne 0x474350
test bl, bl
je 0x474416
push dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 5], 0
call edi
push esi
lea eax, [ebp - 0x14]
push eax
call fcn.0041804a
push 0x4ff9b8
lea eax, [ebp - 0x14]
push eax
call fcn.00446281
push dword [ebp - 0x14]
call edi
cmp dword [ebp - 0x24], 2
jge 0x474429
lea eax, [ebp - 0x10]
push eax
call fcn.004029ba
test bl, bl
je 0x4743a2
push 0x111
lea eax, [ebp - 0x10]
push eax
call fcn.00405388
jmp 0x4743bf
mov ebx, dword [ebp - 0xc]
lea eax, [ebp - 0x20]
push eax
call fcn.0045ed80
pop ecx
lea edi, [ebp - 0x10]
call fcn.0044607b
lea ecx, [ebp - 0x20]
call fcn.00402964
lea eax, [ebp - 0x18]
push eax
call fcn.004029ba
push dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push 0x102
push eax
call fcn.0046c866
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add esp, 0xc
push 0x45
push 0
call fcn.00476d99
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00476e0a
lea ecx, [ebp - 0x18]
cmp eax, 2
je 0x47441c
call fcn.00402964
lea ecx, [ebp - 0x10]
call fcn.00402964
lea ecx, [ebp - 0x14]
call fcn.00402964
jmp 0x474306
mov byte [ebp - 5], 1
jmp 0x47447e
call fcn.00402964
lea ecx, [ebp - 0x10]
call fcn.00402964
cmp byte [0x5283d4], 0
je 0x474476
mov ebx, dword [ebp - 0xc]
lea eax, [ebp - 0x20]
push eax
call fcn.0045ed80
pop ecx
push dword [eax]
lea eax, [ebp + 8]
push str.Failed_to_download_a_newer_version._Error:
push eax
call fcn.00478183
push eax
call fcn.00478193
push eax
call fcn.00478193
push eax
mov eax, 0x5283a4
call fcn.004775b8
lea ecx, [ebp + 8]
call fcn.00402964
lea ecx, [ebp - 0x20]
call fcn.00402964
lea ecx, [ebp - 0x14]
call fcn.00402964
lea edi, [ebp - 0xb4]
call fcn.0048388f
cmp byte [ebp - 6], 0
je 0x474495
call dword [sym.imp.ole32.dll_CoUninitialize]
lea edi, [ebp - 0x58]
call fcn.0047cd83
mov bl, byte [ebp - 5]
jmp 0x47426d