Function at 0x411208
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.00424ee8
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
pop ecx
lea edi, [ebx + 0x30]
je 0x411280
lea eax, [ebp - 0x20]
call fcn.0040896f
cmp byte [0x458cfc], 0
je 0x41126a
push str.Newer_version_is_at_a_local_URL.
lea eax, [ebp + 8]
call fcn.0041692e
push eax
call fcn.0041693f
push eax
mov eax, 0x458ccc
call fcn.00415cee
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040469f
mov bl, 1
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040469f
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 4
lea esi, [ebp - 0x14]
mov dword [ebp - 0x28], edi
call fcn.0041151a
call fcn.0040896f
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040469f
mov esi, edi
call fcn.00409d6a
push edi
lea eax, [ebp - 0x5c]
call fcn.0041ba0b
lea eax, [ebx + 0x2c]
push edi
call fcn.00409c37
mov eax, dword [0x457fa0]
mov ecx, 0x457fa0
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.0041bad8
lea eax, [edi - 0x10]
call fcn.0040469f
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.00415425
push eax
lea ecx, [ebp - 0x5c]
lea edi, [ebp - 0xb4]
call fcn.00424fac
lea ebx, [ebp - 0xb4]
call fcn.0042504f
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 0x411381
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 0x411355
push eax
jmp 0x41136a
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x411365
mov dword [ebp - 0x2c], eax
cmp ebx, esi
je 0x411370
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 0x411381
mov byte [ebp - 5], 1
jmp 0x41138a
mov byte [ebp - 5], 0
cmp dword [ebp - 0x14], esi
jne 0x41139a
cmp dword [ebp - 0x18], 1
jne 0x41139a
cmp byte [ebp - 5], 0
je 0x411484
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.00409cf0
add eax, esi
mov dword [ebp - 0xc], eax
push 0x4528b0
lea eax, [ebp - 0xc]
push eax
call fcn.00402171
mov edi, dword [ebp - 0xc]
push edi
call ebx
cmp dword [ebp - 0x1c], 2
jge 0x41149a
mov eax, dword [0x457fa0]
mov ebx, 0x457fa0
mov ecx, ebx
call dword [eax + 0xc]
add eax, esi
cmp byte [ebp - 5], 0
mov dword [ebp - 0x18], eax
je 0x411401
push 0x111
lea eax, [ebp - 0x18]
push eax
call fcn.004043e2
jmp 0x411423
push dword [ebp - 0x14]
lea eax, [ebp - 0x24]
call fcn.00421806
pop ecx
lea edi, [ebp - 0x18]
call fcn.0040896f
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.0040469f
mov edi, dword [ebp - 0xc]
mov eax, dword [0x457fa0]
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.0040976f
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add esp, 0xc
push 0x45
push 0
call fcn.00415425
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0041549a
cmp eax, 2
mov eax, dword [ebp - 0xc]
je 0x41148a
add eax, 0xfffffff0
call fcn.0040469f
lea eax, [esi - 0x10]
call fcn.0040469f
lea eax, [edi - 0x10]
call fcn.0040469f
jmp 0x411312
mov byte [ebp - 6], 1
jmp 0x4114f3
add eax, 0xfffffff0
call fcn.0040469f
lea eax, [esi - 0x10]
call fcn.0040469f
cmp byte [0x458cfc], 0
je 0x4114eb
push dword [ebp - 0x14]
lea eax, [ebp - 0x24]
call fcn.00421806
pop ecx
push dword [eax]
lea eax, [ebp + 8]
push str.Failed_to_download_a_newer_version._Error:
call fcn.0041692e
push eax
call fcn.0041693f
push eax
call fcn.0041693f
push eax
mov eax, 0x458ccc
call fcn.00415cee
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040469f
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.0040469f
lea eax, [edi - 0x10]
call fcn.0040469f
lea eax, [ebp - 0xb4]
call fcn.00425011
cmp byte [ebp - 0xd], 0
je 0x41150a
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ebx, [ebp - 0x5c]
call fcn.0041ba57
mov bl, byte [ebp - 6]
jmp 0x41126c