Function at 0x4744d0
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.00483fab
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], 0
pop ecx
je 0x474542
lea edi, [ebx + 0x30]
mov eax, esi
call fcn.00439ecc
cmp byte [0x5283d4], 0
je 0x47452f
push str.Newer_version_is_at_a_local_URL.
lea eax, [ebp + 8]
push eax
call fcn.0047845f
push eax
call fcn.0047846f
push eax
mov eax, 0x5283a4
call fcn.00477894
lea ecx, [ebp + 8]
call fcn.004029ae
mov bl, 1
lea ecx, [ebp - 0x1c]
call fcn.004029ae
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 4
lea ecx, [ebp - 0xc]
lea esi, [ebx + 0x30]
call fcn.00474769
mov edi, esi
call fcn.00439ecc
lea ecx, [ebp - 0xc]
call fcn.004029ae
mov eax, esi
call fcn.0045f230
push esi
lea eax, [ebp - 0x58]
call fcn.0047d016
mov eax, dword [ebx + 0x2c]
push dword [eax - 0xc]
push eax
mov eax, esi
call fcn.0044678f
lea eax, [ebp - 0xc]
push eax
call fcn.00447480
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.0047d0d9
lea ecx, [ebp - 0xc]
call fcn.004029ae
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.00477054
push eax
lea eax, [ebp - 0x58]
push eax
lea edi, [ebp - 0xb4]
call fcn.00484068
lea ebx, [ebp - 0xb4]
call fcn.004840fc
inc dword [ebp - 0x24]
mov edi, eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x4745ff
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.00460f60
mov eax, dword [ebp - 0x28]
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 0x28]
je 0x4745ff
mov bl, 1
jmp 0x474607
xor bl, bl
cmp dword [ebp - 0xc], 0
jne 0x474614
cmp edi, 1
jne 0x474614
test bl, bl
je 0x4746da
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.0041808f
push 0x4ffa38
lea eax, [ebp - 0x14]
push eax
call fcn.00446716
push dword [ebp - 0x14]
call edi
cmp dword [ebp - 0x24], 2
jge 0x4746ed
lea eax, [ebp - 0x10]
push eax
call fcn.00447480
test bl, bl
je 0x474666
push 0x111
lea eax, [ebp - 0x10]
push eax
call fcn.00405395
jmp 0x474683
mov ebx, dword [ebp - 0xc]
lea eax, [ebp - 0x20]
push eax
call fcn.0045f0c0
pop ecx
lea edi, [ebp - 0x10]
call fcn.00439ecc
lea ecx, [ebp - 0x20]
call fcn.004029ae
lea eax, [ebp - 0x18]
push eax
call fcn.00447480
push dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push 0x102
push eax
call fcn.0046cba6
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add esp, 0xc
push 0x45
push 0
call fcn.00477054
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004770c5
lea ecx, [ebp - 0x18]
cmp eax, 2
je 0x4746e0
call fcn.004029ae
lea ecx, [ebp - 0x10]
call fcn.004029ae
lea ecx, [ebp - 0x14]
call fcn.004029ae
jmp 0x4745ca
mov byte [ebp - 5], 1
jmp 0x474742
call fcn.004029ae
lea ecx, [ebp - 0x10]
call fcn.004029ae
cmp byte [0x5283d4], 0
je 0x47473a
mov ebx, dword [ebp - 0xc]
lea eax, [ebp - 0x20]
push eax
call fcn.0045f0c0
pop ecx
push dword [eax]
lea eax, [ebp + 8]
push str.Failed_to_download_a_newer_version._Error:
push eax
call fcn.0047845f
push eax
call fcn.0047846f
push eax
call fcn.0047846f
push eax
mov eax, 0x5283a4
call fcn.00477894
lea ecx, [ebp + 8]
call fcn.004029ae
lea ecx, [ebp - 0x20]
call fcn.004029ae
lea ecx, [ebp - 0x14]
call fcn.004029ae
lea edi, [ebp - 0xb4]
call fcn.004840c9
cmp byte [ebp - 6], 0
je 0x474759
call dword [sym.imp.ole32.dll_CoUninitialize]
lea edi, [ebp - 0x58]
call fcn.0047d05c
mov bl, byte [ebp - 5]
jmp 0x474531