Function at 0x416ab6
Capabilities:
Clear file content
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
cmp esi, ebx
jg 0x416b07
jl 0x416ae1
cmp edi, 0x3200000
jae 0x416b07
push 1
push 5
call fcn.0044dfdf
test eax, eax
je 0x416b07
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.0044df99
push dword [ebp + 8]
call dword [sym.imp.___total_physical_size__lu_MB_SetEndOfFile]
jmp 0x416cc9
push 4
mov esi, 0x1000
push esi
push esi
push ebx
call dword [sym.imp.___total_physical_size__lu_MB_VirtualAlloc]
push esi
push ebx
push eax
mov dword [ebp - 4], eax
call fcn.00450230
add esp, 0xc
mov edi, 0x100000
cmp dword [ebp + 0x10], ebx
jl 0x416c3c
jle 0x416c33
cmp dword [0x4d659c], ebx
jne 0x416c3c
mov ecx, dword [ebp + 0x10]
cmp ecx, ebx
jl 0x416b60
jg 0x416b57
cmp dword [ebp + 0xc], 0x3200000
jbe 0x416b60
mov eax, 0x3200000
xor ecx, ecx
jmp 0x416b63
mov eax, dword [ebp + 0xc]
add dword [ebp - 0x10], eax
adc dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0x10]
cmp ecx, ebx
jl 0x416b84
jg 0x416b7b
cmp dword [ebp + 0xc], 0x3200000
jbe 0x416b84
mov eax, 0x3200000
xor ecx, ecx
jmp 0x416b87
mov eax, dword [ebp + 0xc]
sub dword [ebp + 0xc], eax
mov eax, dword [ebp - 0xc]
sbb dword [ebp + 0x10], ecx
mov ecx, dword [ebp - 0x10]
sub ecx, esi
sbb eax, ebx
cmp eax, ebx
jg 0x416ba5
jl 0x416ba1
cmp ecx, ebx
jae 0x416ba5
xor ecx, ecx
xor eax, eax
push ebx
push eax
push ecx
push dword [ebp + 8]
call fcn.0044df99
push dword [ebp + 8]
call dword [sym.imp.___total_physical_size__lu_MB_SetEndOfFile]
push ebx
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.___total_physical_size__lu_MB_WriteFile]
test eax, eax
jle 0x416c57
push dword [ebp + 8]
call dword [sym.imp.___total_physical_size__lu_MB_FlushFileBuffers]
push 0x3e8
push 0x4a41f8
call fcn.004430f8
test eax, eax
je 0x416c28
cmp dword [ebp + 0x14], ebx
jne 0x416c94
push ebx
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.00453160
push edx
push eax
push ebx
push edi
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.00453160
push edx
push eax
push str.Creating_hash_file:__I64d_MB_of__I64d_MB_done
push 0x3f6
call fcn.00447f71
add esp, 0x18
cmp dword [ebp + 0x10], ebx
jg 0x416b39
jl 0x416c3c
cmp dword [ebp + 0xc], ebx
ja 0x416b39
push 0x8000
push ebx
push dword [ebp - 4]
call dword [sym.imp.___total_physical_size__lu_MB_VirtualFree]
cmp dword [0x4d659c], ebx
je 0x416c99
xor eax, eax
jmp 0x416ccc
push str.cant_write_to_file_n
call dword [sym.imp.___total_physical_size__lu_MB_GetLastError]
push eax
push 0x1bd
push str.HashFileUtils
call fcn.0044dc85
push str.failed_n
call fcn.00450f5c
add esp, 0x14
xor esi, esi
push 0x8000
push ebx
push dword [ebp - 4]
call dword [sym.imp.___total_physical_size__lu_MB_VirtualFree]
mov eax, esi
jmp 0x416ccc
xor esi, esi
inc esi
jmp 0x416c81
push ebx
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.00453160
push edx
push eax
push ebx
push edi
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.00453160
push edx
push eax
push str.Creating_hash_file:__I64d_MB_of__I64d_MB_done
push 0x3f6
call fcn.00447f71
add esp, 0x18
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0x10