Function at 0x4708a1
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
push ebx
mov ebx, dword [ebp + 8]
push esi
lea eax, [ebx + 0x24]
push edi
push eax
lea esi, [ebp - 0x18]
call fcn.0047f9f7
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
pop ecx
je 0x470913
lea edi, [ebx + 0x30]
mov eax, esi
call fcn.004432a9
cmp byte [0x523354], 0
je 0x470900
push str.Newer_version_is_at_a_local_URL.
lea eax, [ebp + 8]
push eax
call fcn.00474809
push eax
call fcn.00474819
push eax
mov eax, 0x523324
call fcn.00473bef
lea ecx, [ebp + 8]
call fcn.00402907
mov bl, 1
lea ecx, [ebp - 0x18]
call fcn.00402907
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 4
lea ecx, [ebp - 0xc]
lea esi, [ebx + 0x30]
call fcn.00470ae5
mov edi, esi
call fcn.004432a9
lea ecx, [ebp - 0xc]
call fcn.00402907
mov eax, esi
call fcn.0045c2d0
push esi
lea eax, [ebp - 0x50]
call fcn.00478a4b
mov eax, dword [ebx + 0x2c]
push dword [eax - 0xc]
push eax
mov eax, esi
call fcn.004434e9
lea eax, [ebp - 0xc]
push eax
call fcn.004441b6
push eax
xor edi, edi
push edi
push dword [ebx + 0x28]
lea eax, [ebx + 0x24]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00478b0e
lea ecx, [ebp - 0xc]
call fcn.00402907
push edi
mov dword [ebp - 0xc], 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.004733d0
push eax
lea eax, [ebp - 0x50]
push eax
lea edi, [ebp - 0xac]
call fcn.0047fab4
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ebx, [ebp - 0xac]
call fcn.0047fb48
mov ebx, dword [ebp - 0x30]
inc dword [ebp - 0xc]
test ebx, ebx
jne 0x4709d6
cmp eax, 1
jne 0x4709d6
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.0045e000
mov eax, dword [ebp - 0x20]
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 0x28]
je 0x470a61
push dword [esi]
mov byte [ebp - 5], 0
call edi
push esi
lea eax, [ebp - 0x14]
push eax
call fcn.00425ecf
push 0x4fb2bc
lea eax, [ebp - 0x14]
push eax
call fcn.00443470
push dword [ebp - 0x14]
call edi
cmp dword [ebp - 0xc], 2
jge 0x470a6c
lea eax, [ebp - 0x10]
push eax
call fcn.004441b6
lea eax, [ebp - 0x1c]
push eax
call fcn.0045c1f0
pop ecx
push dword [eax]
lea eax, [ebp - 0x10]
push 0x102
push eax
call fcn.00469574
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.00402907
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push 0x45
push 0
call fcn.004733d0
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00473441
lea ecx, [ebp - 0x10]
cmp eax, 2
je 0x470a67
call fcn.00402907
lea ecx, [ebp - 0x14]
call fcn.00402907
jmp 0x4709a1
mov byte [ebp - 5], 1
jmp 0x470abe
call fcn.00402907
cmp byte [0x523354], 0
je 0x470ab6
lea eax, [ebp - 0x1c]
push eax
call fcn.0045c1f0
pop ecx
push dword [eax]
lea eax, [ebp + 8]
push str.Failed_to_download_a_newer_version._Error:
push eax
call fcn.00474809
push eax
call fcn.00474819
push eax
call fcn.00474819
push eax
mov eax, 0x523324
call fcn.00473bef
lea ecx, [ebp + 8]
call fcn.00402907
lea ecx, [ebp - 0x1c]
call fcn.00402907
lea ecx, [ebp - 0x14]
call fcn.00402907
lea edi, [ebp - 0xac]
call fcn.0047fb15
cmp byte [ebp - 6], 0
je 0x470ad5
call dword [sym.imp.ole32.dll_CoUninitialize]
lea edi, [ebp - 0x50]
call fcn.00478a91
mov bl, byte [ebp - 5]
jmp 0x470902