Function at 0x4119b0
Capabilities:
Delete file
Get file size
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x2024
call fcn.004382f0
mov eax, dword [0x466910]
xor eax, esp
mov dword [esp + 0x2020], eax
push ebp
mov ebp, dword [esp + 0x202c]
push ebp
call fcn.00411920
test al, al
jne 0x411a06
push str.VerifyDownloader_returns_fails._Not_match_size_for_all_temp_download_parts_
mov ecx, 0x467be0
call fcn.0040f810
add esp, 4
xor al, al
pop ebp
mov ecx, dword [esp + 0x2020]
xor ecx, esp
call fcn.004331c4
add esp, 0x2024
ret 4
push ebx
push edi
xor ebx, ebx
push 0x1ffe
lea ecx, [esp + 0x32]
xor eax, eax
push ebx
push ecx
mov byte [esp + 0x1a], bl
mov word [esp + 0x38], ax
call fcn.00437170
add esp, 0xc
push ebx
push 0x80
push 2
lea edx, [esp + 0x2c]
push edx
push 1
lea eax, [ebp + 4]
push 0x40000000
push eax
mov dword [esp + 0x3c], 0xc
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [esp + 0x10], edi
cmp edi, 0xffffffff
je 0x411be8
push esi
xor esi, esi
mov byte [esp + 0x13], bl
mov dword [esp + 0x1c], esi
cmp dword [0x467bb4], ebx
jbe 0x411b81
lea esp, [esp]
mov eax, dword [ebp + 0x1020]
sub eax, dword [ebp + 0x101c]
mov byte [esp + 0x13], bl
sar eax, 2
cmp eax, esi
jbe 0x411b7d
mov ecx, dword [ebp + 0x1020]
sub ecx, dword [ebp + 0x101c]
sar ecx, 2
cmp esi, ecx
jb 0x411ab3
call fcn.00434079
mov edx, dword [ebp + 0x101c]
mov edi, dword [edx + esi*4]
cmp edi, ebx
je 0x411b79
push ebx
push 0x80
push 3
lea eax, [esp + 0x30]
push eax
push 1
push SysReAllocStringLen
lea ecx, [edi + 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x411b79
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, dword [edi + 0x30]
jne 0x411b79
mov dword [esp + 0x18], ebx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0x1000
lea eax, [esp + 0x3c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x411b40
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x411b46
push ebx
lea ecx, [esp + 0x24]
push ecx
push eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x3c]
push edx
push eax
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x18], ebx
jne 0x411b02
cmp esi, ebx
je 0x411b58
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
inc eax
mov byte [esp + 0x13], 1
mov dword [esp + 0x1c], eax
cmp eax, dword [0x467bb4]
jae 0x411b81
mov esi, eax
jmp 0x411a80
mov edi, dword [esp + 0x14]
mov byte [esp + 0x12], bl
xor esi, esi
cmp edi, ebx
je 0x411b9f
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0x13], bl
je 0x411be7
cmp esi, dword [ebp + 0x1b78]
jne 0x411bb4
mov byte [esp + 0x12], 1
jmp 0x411be7
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp + 4]
push eax
call edi
lea ecx, [ebp + 0xb1c]
push ecx
call edi
mov edx, dword [ebp + 0x1b78]
push edx
push esi
push str._File_Size_not_Matching_MD5_Failed:_d:_d
mov ecx, 0x467be0
call fcn.0040f810
add esp, 0xc
mov byte [esp + 0x12], bl
pop esi
mov ecx, dword [esp + 0x202c]
mov al, byte [esp + 0xe]
pop edi
pop ebx
pop ebp
xor ecx, esp
call fcn.004331c4
add esp, 0x2024
ret 4