Function at 0x41144a
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.0041ab34
mov eax, dword [ebp - 0x24]
cmp dword [eax - 0xc], 0
pop ecx
lea edi, [ebx + 0x34]
je 0x4114c2
lea eax, [ebp - 0x24]
call fcn.004087db
cmp byte [0x45aed4], 0
je 0x4114ac
push str.Newer_version_is_at_a_local_URL.
lea eax, [ebp + 8]
call fcn.00416bf9
push eax
call fcn.00416c0a
push eax
mov eax, 0x45aea4
call fcn.00415f87
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004045dc
mov bl, 1
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.004045dc
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 4
lea esi, [ebp - 0x10]
mov dword [ebp - 0x28], edi
call fcn.0041175f
call fcn.004087db
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004045dc
mov esi, edi
call fcn.00409c45
push edi
lea eax, [ebp - 0x5c]
call fcn.0041c902
lea eax, [ebx + 0x30]
push edi
call fcn.00409b12
mov eax, dword [0x45a180]
mov ecx, 0x45a180
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.0041c9cf
lea eax, [esi - 0x10]
call fcn.004045dc
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.00415635
push eax
lea ecx, [ebp - 0x5c]
lea esi, [ebp - 0xb4]
call fcn.00425880
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ebx, [ebp - 0xb4]
call fcn.00425923
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 0x4115cb
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 0x41159e
push eax
jmp 0x4115b4
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x4115af
mov dword [ebp - 0x2c], eax
test ebx, ebx
je 0x4115ba
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 0x4115cb
mov byte [ebp - 5], 1
jmp 0x4115d5
cmp dword [ebp - 0x10], 0
mov byte [ebp - 5], 0
jne 0x4115e5
cmp dword [ebp - 0xc], 1
jne 0x4115e5
cmp byte [ebp - 5], 0
je 0x4116c9
push dword [edi]
mov byte [ebp - 6], 0
call esi
mov eax, dword [edi]
sub eax, 0x10
call fcn.00409bcb
add eax, 0x10
mov dword [ebp - 0xc], eax
push 0x4540b0
lea eax, [ebp - 0xc]
push eax
call fcn.004020a2
mov ebx, dword [ebp - 0xc]
push ebx
call esi
cmp dword [ebp - 0x20], 2
jge 0x4116df
mov eax, dword [0x45a180]
mov ecx, 0x45a180
call dword [eax + 0xc]
add eax, 0x10
cmp byte [ebp - 5], 0
mov dword [ebp - 0xc], eax
je 0x411644
push 0x111
lea eax, [ebp - 0xc]
push eax
call fcn.00404304
jmp 0x411663
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
call fcn.004204b9
pop ecx
lea edi, [ebp - 0xc]
call fcn.004087db
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004045dc
mov eax, dword [0x45a180]
mov ecx, 0x45a180
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.00409637
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
add esp, 0xc
push 0x45
push 0
call fcn.00415635
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004156aa
cmp eax, 2
mov eax, dword [ebp - 0x18]
je 0x4116cf
add eax, 0xfffffff0
call fcn.004045dc
lea eax, [edi - 0x10]
call fcn.004045dc
lea eax, [ebx - 0x10]
call fcn.004045dc
jmp 0x41155b
mov byte [ebp - 6], 1
jmp 0x411738
add eax, 0xfffffff0
call fcn.004045dc
lea eax, [edi - 0x10]
call fcn.004045dc
cmp byte [0x45aed4], 0
je 0x411730
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
call fcn.004204b9
pop ecx
push dword [eax]
lea eax, [ebp + 8]
push str.Failed_to_download_a_newer_version._Error:
call fcn.00416bf9
push eax
call fcn.00416c0a
push eax
call fcn.00416c0a
push eax
mov eax, 0x45aea4
call fcn.00415f87
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004045dc
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004045dc
lea eax, [ebx - 0x10]
call fcn.004045dc
lea eax, [ebp - 0xb4]
call fcn.004258e5
cmp byte [ebp - 0x11], 0
je 0x41174f
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ebx, [ebp - 0x5c]
call fcn.0041c94e
mov bl, byte [ebp - 6]
jmp 0x4114ae