Function at 0x67e710
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [0x977b10]
push ebx
push ebp
push esi
xor esi, esi
inc eax
push edi
mov dword [esp + 0x10], esi
jne 0x67e74e
push 0x92f
push str..osos0file.c
push str._offset__0xFFFFFFFF___offset
call fcn.00651650
mov ecx, dword [0x977b18]
mov eax, dword [ecx]
add esp, 0xc
cmp eax, esi
je 0x67e74e
mov dword [0x977b18], esi
cmp dword [0x977b14], esi
je 0x67e768
push 0x92f
push str..osos0file.c
call fcn.006516c0
add esp, 8
mov ecx, dword [0x978f0c]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x30]
inc ecx
mov esi, ebx
mov dword [0x978f0c], ecx
and esi, 0xf
mov edx, dword [0x978ed8]
push edx
mov dword [esp + 0x1c], ebp
call fcn.00687ff0
mov edi, dword [0x978f2c]
mov eax, dword [0x978ed8]
inc edi
push eax
mov dword [0x978f2c], edi
call fcn.00688110
mov ecx, dword [esi*4 + 0x97b000]
push ecx
call fcn.00687ff0
mov edi, dword [esp + 0x38]
add esp, 0xc
push 0
lea edx, [esp + 0x1c]
push edx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x67e7e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x67e878
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
push 0
lea eax, [esp + 0x18]
push eax
push ecx
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
mov eax, dword [esi*4 + 0x97b000]
push eax
call fcn.00688110
mov ecx, dword [0x978ed8]
push ecx
call fcn.00687ff0
mov ecx, dword [0x978f2c]
mov edx, dword [0x978ed8]
dec ecx
push edx
mov dword [0x978f2c], ecx
call fcn.00688110
add esp, 0xc
test edi, edi
je 0x67e841
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x14], eax
je 0x67e8e0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x21
jne 0x67e8ed
cmp dword [esp + 0x10], 0x64
jae 0x67e8ed
push 0xf4240
call fcn.006878d0
mov eax, dword [esp + 0x14]
add esp, 4
inc eax
mov dword [esp + 0x10], eax
jmp 0x67e782
mov ecx, dword [esi*4 + 0x97b000]
push ecx
call fcn.00688110
mov edx, dword [0x978ed8]
push edx
call fcn.00687ff0
mov edx, dword [0x978f2c]
mov eax, dword [0x978ed8]
dec edx
push eax
mov dword [0x978f2c], edx
call fcn.00688110
push 0x93e408
call fcn.00658930
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x20]
push eax
push edi
push ebp
push ecx
push str.__InnoDB:_Error:_File_pointer_positioning_to_file__s_failed_at_nInnoDB:_offset__lu__lu._Operating_system_error_number__lu._nInnoDB:_Some_operating_system_error_numbers_are_described_at_nInnoDB:_http:__dev.mysql.com_doc_refman_5.0_en_operating_system_error_codes.html_n
push 0x93e408
call fcn.006cf108
add esp, 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
mov eax, dword [0x978f20]
test eax, eax
jne 0x67e96c
call edi
push 0x93e408
mov esi, eax
call fcn.00658930
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
push esi
push edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
push ebp
push edx
push str.__InnoDB:_Error:_Write_to_file__s_failed_at_offset__lu__lu._nInnoDB:__lu_bytes_should_have_been_written__only__lu_were_written._nInnoDB:_Operating_system_error_number__lu._nInnoDB:_Check_that_your_OS_and_file_system_support_files_of_this_size._nInnoDB:_Check_also_that_the_disk_is_not_full_or_a_disk_quota_exceeded._n
push 0x93e408
call fcn.006cf108
push esi
call fcn.006d49bb
add esp, 0x28
test eax, eax
je 0x67e950
push esi
call fcn.006d49bb
push eax
push esi
push str.InnoDB:_Error_number__lu_means__s._n
push 0x93e408
call fcn.006cf108
add esp, 0x14
push str.InnoDB:_Some_operating_system_error_numbers_are_described_at_nInnoDB:_http:__dev.mysql.com_doc_refman_5.0_en_operating_system_error_codes.html_n
push 0x93e408
call fcn.006cf108
add esp, 8
mov dword [0x978f20], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret