Function at 0x411457
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 + 0x28]
push edi
push eax
lea eax, [ebp - 0x24]
call fcn.00425c2a
mov eax, dword [ebp - 0x24]
cmp dword [eax - 0xc], 0
pop ecx
lea edi, [ebx + 0x34]
je 0x4114cf
lea eax, [ebp - 0x24]
call fcn.004088e1
cmp byte [0x459e5c], 0
je 0x4114b9
push str.Newer_version_is_at_a_local_URL.
lea eax, [ebp + 8]
call fcn.00416c77
push eax
call fcn.00416c88
push eax
mov eax, 0x459e2c
call fcn.00416005
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040464c
mov bl, 1
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.0040464c
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 4
lea esi, [ebp - 0x10]
mov dword [ebp - 0x28], edi
call fcn.0041176c
call fcn.004088e1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040464c
mov esi, edi
call fcn.00409ce0
push edi
lea eax, [ebp - 0x5c]
call fcn.0041e606
lea eax, [ebx + 0x30]
push edi
call fcn.00409bad
mov eax, dword [0x459100]
mov ecx, 0x459100
call dword [eax + 0xc]
mov esi, eax
lea eax, [ebp - 0x10]
push eax
xor edi, edi
push edi
push dword [ebx + 0x2c]
lea eax, [ebx + 0x28]
push eax
lea eax, [ebp - 0x5c]
add esi, 0x10
push eax
mov dword [ebp - 0x10], esi
call fcn.0041e6d3
lea eax, [esi - 0x10]
call fcn.0040464c
push edi
mov dword [ebp - 0x20], edi
call dword [sym.imp.ole32.dll_CoInitialize]
neg eax
sbb al, al
inc al
mov byte [ebp - 0x11], al
mov eax, dword [ebx + 4]
push edi
call fcn.004156d9
push eax
lea ecx, [ebp - 0x5c]
lea esi, [ebp - 0xb4]
call fcn.00425cee
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ebx, [ebp - 0xb4]
call fcn.00425d91
inc dword [ebp - 0x20]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4115d8
mov eax, dword [edi]
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4115ab
push eax
jmp 0x4115c1
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x4115bc
mov dword [ebp - 0x2c], eax
test ebx, ebx
je 0x4115c7
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax + 0x2c]
je 0x4115d8
mov byte [ebp - 5], 1
jmp 0x4115e2
cmp dword [ebp - 0x10], 0
mov byte [ebp - 5], 0
jne 0x4115f2
cmp dword [ebp - 0xc], 1
jne 0x4115f2
cmp byte [ebp - 5], 0
je 0x4116d6
push dword [edi]
mov byte [ebp - 6], 0
call esi
mov eax, dword [edi]
sub eax, 0x10
call fcn.00409c66
add eax, 0x10
mov dword [ebp - 0xc], eax
push 0x4528d8
lea eax, [ebp - 0xc]
push eax
call fcn.00402105
mov ebx, dword [ebp - 0xc]
push ebx
call esi
cmp dword [ebp - 0x20], 2
jge 0x4116ec
mov eax, dword [0x459100]
mov ecx, 0x459100
call dword [eax + 0xc]
add eax, 0x10
cmp byte [ebp - 5], 0
mov dword [ebp - 0xc], eax
je 0x411651
push 0x111
lea eax, [ebp - 0xc]
push eax
call fcn.00404374
jmp 0x411670
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
call fcn.004225bf
pop ecx
lea edi, [ebp - 0xc]
call fcn.004088e1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.0040464c
mov eax, dword [0x459100]
mov ecx, 0x459100
call dword [eax + 0xc]
mov edi, dword [ebp - 0xc]
add eax, 0x10
push edi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 0x102
push eax
call fcn.004096d2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
add esp, 0xc
push 0x45
push 0
call fcn.004156d9
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041574e
cmp eax, 2
mov eax, dword [ebp - 0x18]
je 0x4116dc
add eax, 0xfffffff0
call fcn.0040464c
lea eax, [edi - 0x10]
call fcn.0040464c
lea eax, [ebx - 0x10]
call fcn.0040464c
jmp 0x411568
mov byte [ebp - 6], 1
jmp 0x411745
add eax, 0xfffffff0
call fcn.0040464c
lea eax, [edi - 0x10]
call fcn.0040464c
cmp byte [0x459e5c], 0
je 0x41173d
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
call fcn.004225bf
pop ecx
push dword [eax]
lea eax, [ebp + 8]
push str.Failed_to_download_a_newer_version._Error:
call fcn.00416c77
push eax
call fcn.00416c88
push eax
call fcn.00416c88
push eax
mov eax, 0x459e2c
call fcn.00416005
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040464c
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.0040464c
lea eax, [ebx - 0x10]
call fcn.0040464c
lea eax, [ebp - 0xb4]
call fcn.00425d53
cmp byte [ebp - 0x11], 0
je 0x41175c
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ebx, [ebp - 0x5c]
call fcn.0041e652
mov bl, byte [ebp - 6]
jmp 0x4114bb