Function at 0x422f80
Capabilities:
Check if file exists
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ae01
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x270
push ebx
push esi
mov esi, ecx
push edi
mov dword [esi], vtable.CProgressManager.0
mov eax, dword [section..data]
mov ecx, section..data
mov dword [ebp - 0x18], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 8], eax
mov dword [ebp - 4], 0
mov eax, dword [section..data]
mov ecx, section..data
lea ebx, [esi + 0xc]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x10], eax
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
test edi, edi
mov dword [esi + 0x14], eax
setne al
mov byte [esi + 0x28], al
test edi, edi
je 0x42303b
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x423010
sub edx, ecx
sar edx, 1
push edx
push edi
lea ecx, [esi + 8]
call fcn.00402300
push edi
lea eax, [esi + 0x10]
push str._s.dl
push eax
call fcn.0040be40
add esp, 0xc
xorps xmm0, xmm0
mov dword [esi + 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x2c], 0
movq qword [esi + 0x30], xmm0
movq qword [esi + 0x44], xmm0
mov dword [esi + 0x4c], 1
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
test edi, edi
je 0x423256
push dword [esi + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x423133
push 0x24c
push eax
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x274]
push eax
call fcn.00434de0
add esp, 0xc
lea eax, [ebp - 0x278]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x423133
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x258], 0
jbe 0x423133
mov eax, dword [ebp - 0x264]
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0x260]
mov dword [esi + 0x48], eax
lea eax, [ebp - 0x28]
push eax
mov dword [esi + 0x40], 1
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
jge 0x423133
mov dword [esi + 0x4c], 0
push edi
push str._s.bfdown
push ebx
call fcn.0040be40
add esp, 0xc
push dword [esi + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x423156
push dword [ebx]
jmp 0x423250
mov ebx, dword [ebx]
push 0
push 0
push 4
push 0
push 0
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4231a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x4231b5
mov ecx, ebx
call fcn.0041c900
push 0
push 0
push 4
push 0
push 0
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4231b5
cmp dword [0x46237c], 6
jb 0x4231b5
push ecx
mov ecx, ebx
call fcn.0041d300
mov dword [esi + 4], edi
cmp edi, 0xffffffff
je 0x423256
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
je 0x42323d
push ebx
call fcn.00431a3c
add esp, 4
mov edi, eax
push 0
lea eax, [ebp + 0xc]
push eax
push ebx
push edi
push dword [esi + 4]
mov dword [ebp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x423230
cmp dword [ebp + 0xc], 0x18
jbe 0x423230
cmp dword [edi], 0x2e42462e
jne 0x423230
cmp dword [edi + 4], 2
jne 0x423230
mov eax, dword [edi + 0x14]
lea eax, [eax + eax*4]
lea eax, [eax*4 + 0x18]
cmp eax, ebx
jne 0x423230
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov eax, dword [edi + 0x14]
mov dword [esi + 0x20], eax
lea eax, [edi + 0x18]
mov dword [esi + 0x24], eax
jmp 0x423256
test edi, edi
je 0x42323d
push edi
call fcn.00431e88
add esp, 4
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi + 0xc]
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8