Function at 0x410f41
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.004245e0
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
pop ecx
lea edi, [ebx + 0x30]
je 0x410fb9
lea eax, [ebp - 0x20]
call fcn.004088ee
cmp byte [0x457cbc], 0
je 0x410fa3
push str.Newer_version_is_at_a_local_URL.
lea eax, [ebp + 8]
call fcn.00416300
push eax
call fcn.00416311
push eax
mov eax, 0x457c8c
call fcn.0041568f
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.00411253
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.0041b3c4
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.0041b491
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.00414d9b
push eax
lea ecx, [ebp - 0x5c]
lea edi, [ebp - 0xb4]
call fcn.004246a4
lea ebx, [ebp - 0xb4]
call fcn.00424747
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 0x4110ba
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 0x41108e
push eax
jmp 0x4110a3
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x41109e
mov dword [ebp - 0x2c], eax
cmp ebx, esi
je 0x4110a9
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 0x4110ba
mov byte [ebp - 5], 1
jmp 0x4110c3
mov byte [ebp - 5], 0
cmp dword [ebp - 0x14], esi
jne 0x4110d3
cmp dword [ebp - 0x18], 1
jne 0x4110d3
cmp byte [ebp - 5], 0
je 0x4111bd
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 0x4111d3
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 0x41113a
push 0x111
lea eax, [ebp - 0x18]
push eax
call fcn.004043ff
jmp 0x41115c
push dword [ebp - 0x14]
lea eax, [ebp - 0x24]
call fcn.00420eb5
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.00414d9b
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00414e10
cmp eax, 2
mov eax, dword [ebp - 0xc]
je 0x4111c3
add eax, 0xfffffff0
call fcn.004046b1
lea eax, [esi - 0x10]
call fcn.004046b1
lea eax, [edi - 0x10]
call fcn.004046b1
jmp 0x41104b
mov byte [ebp - 6], 1
jmp 0x41122c
add eax, 0xfffffff0
call fcn.004046b1
lea eax, [esi - 0x10]
call fcn.004046b1
cmp byte [0x457cbc], 0
je 0x411224
push dword [ebp - 0x14]
lea eax, [ebp - 0x24]
call fcn.00420eb5
pop ecx
push dword [eax]
lea eax, [ebp + 8]
push str.Failed_to_download_a_newer_version._Error:
call fcn.00416300
push eax
call fcn.00416311
push eax
call fcn.00416311
push eax
mov eax, 0x457c8c
call fcn.0041568f
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.00424709
cmp byte [ebp - 0xd], 0
je 0x411243
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ebx, [ebp - 0x5c]
call fcn.0041b410
mov bl, byte [ebp - 6]
jmp 0x410fa5