Function at 0x410f53
Capabilities:
Delete file
Get file size

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 eax, [ebp - 0x20]
call fcn.004245ec
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
pop ecx
lea edi, [ebx + 0x30]
je 0x410fcb
lea eax, [ebp - 0x20]
call fcn.004088ee
cmp byte [0x457cbc], 0
je 0x410fb5
push str.Newer_version_is_at_a_local_URL.
lea eax, [ebp + 8]
call fcn.0041630f
push eax
call fcn.00416320
push eax
mov eax, 0x457c8c
call fcn.004156a1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004046b1
mov bl, 1
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.004046b1
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 4
lea esi, [ebp - 0x14]
mov dword [ebp - 0x28], edi
call fcn.00411265
call fcn.004088ee
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004046b1
mov esi, edi
call fcn.00409c29
push edi
lea eax, [ebp - 0x5c]
call fcn.0041b3d0
lea eax, [ebx + 0x2c]
push edi
call fcn.00409af6
mov eax, dword [0x456f60]
mov ecx, 0x456f60
call dword [eax + 0xc]
mov edi, eax
lea eax, [ebp - 0x14]
push eax
xor esi, esi
push esi
push dword [ebx + 0x28]
lea eax, [ebx + 0x24]
push eax
lea eax, [ebp - 0x5c]
add edi, 0x10
push eax
mov dword [ebp - 0x14], edi
call fcn.0041b49d
lea eax, [edi - 0x10]
call fcn.004046b1
push esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ole32.dll_CoInitialize]
neg eax
sbb al, al
inc al
mov byte [ebp - 0xd], al
mov eax, dword [ebx]
push esi
call fcn.00414dad
push eax
lea ecx, [ebp - 0x5c]
lea edi, [ebp - 0xb4]
call fcn.004246b0
lea ebx, [ebp - 0xb4]
call fcn.00424753
inc dword [ebp - 0x1c]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x3c]
xor esi, esi
mov dword [ebp - 0x14], eax
cmp eax, esi
jne 0x4110cc
mov eax, dword [edi]
push esi
push 0x80
push 3
push esi
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4110a0
push eax
jmp 0x4110b5
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x4110b0
mov dword [ebp - 0x2c], eax
cmp ebx, esi
je 0x4110bb
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax + 0x28]
je 0x4110cc
mov byte [ebp - 5], 1
jmp 0x4110d5
mov byte [ebp - 5], 0
cmp dword [ebp - 0x14], esi
jne 0x4110e5
cmp dword [ebp - 0x18], 1
jne 0x4110e5
cmp byte [ebp - 5], 0
je 0x4111cf
push dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 6], 0
call ebx
mov eax, dword [edi]
push 0x10
pop esi
sub eax, esi
call fcn.00409baf
add eax, esi
mov dword [ebp - 0xc], eax
push 0x4512e4
lea eax, [ebp - 0xc]
push eax
call fcn.00402192
mov edi, dword [ebp - 0xc]
push edi
call ebx
cmp dword [ebp - 0x1c], 2
jge 0x4111e5
mov eax, dword [0x456f60]
mov ebx, 0x456f60
mov ecx, ebx
call dword [eax + 0xc]
add eax, esi
cmp byte [ebp - 5], 0
mov dword [ebp - 0x18], eax
je 0x41114c
push 0x111
lea eax, [ebp - 0x18]
push eax
call fcn.004043ff
jmp 0x41116e
push dword [ebp - 0x14]
lea eax, [ebp - 0x24]
call fcn.00420ec1
pop ecx
lea edi, [ebp - 0x18]
call fcn.004088ee
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.004046b1
mov edi, dword [ebp - 0xc]
mov eax, dword [0x456f60]
mov ecx, ebx
call dword [eax + 0xc]
add eax, esi
mov esi, dword [ebp - 0x18]
push esi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push 0x102
push eax
call fcn.00409662
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add esp, 0xc
push 0x45
push 0
call fcn.00414dad
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00414e22
cmp eax, 2
mov eax, dword [ebp - 0xc]
je 0x4111d5
add eax, 0xfffffff0
call fcn.004046b1
lea eax, [esi - 0x10]
call fcn.004046b1
lea eax, [edi - 0x10]
call fcn.004046b1
jmp 0x41105d
mov byte [ebp - 6], 1
jmp 0x41123e
add eax, 0xfffffff0
call fcn.004046b1
lea eax, [esi - 0x10]
call fcn.004046b1
cmp byte [0x457cbc], 0
je 0x411236
push dword [ebp - 0x14]
lea eax, [ebp - 0x24]
call fcn.00420ec1
pop ecx
push dword [eax]
lea eax, [ebp + 8]
push str.Failed_to_download_a_newer_version._Error:
call fcn.0041630f
push eax
call fcn.00416320
push eax
call fcn.00416320
push eax
mov eax, 0x457c8c
call fcn.004156a1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004046b1
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.004046b1
lea eax, [edi - 0x10]
call fcn.004046b1
lea eax, [ebp - 0xb4]
call fcn.00424715
cmp byte [ebp - 0xd], 0
je 0x411255
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ebx, [ebp - 0x5c]
call fcn.0041b41c
mov bl, byte [ebp - 6]
jmp 0x410fb7