Function at 0x4f61d0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [0x631438]
push ebx
push ebp
push esi
xor esi, esi
inc eax
test eax, eax
push edi
mov dword [esp + 0x10], esi
jne 0x4f626e
push 0x620ad0
call fcn.004e70c0
add esp, 4
push 0x54e
push str.C:4017_buildmysql_4.0.17innobaseosos0file.c
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
call fcn.004d1950
add esp, 4
push eax
push str.__InnoDB:_Assertion_failure_in_thread__lu_in_file__s_line__lu_n
push 0x620ad0
call fcn.00599e71
push str.InnoDB:_Failing_assertion:__offset__0xFFFFFFFF___offset
push 0x620ad0
call fcn.00599e71
push str._nInnoDB:_We_intentionally_generate_a_memory_trap._n
push 0x620ad0
call fcn.00599e71
push str.InnoDB:_Send_a_detailed_bug_report_to_mysql_lists.mysql.com_n
push 0x620ad0
call fcn.00599e71
mov ecx, dword [0x631440]
mov dword [0x63143c], 1
mov eax, dword [ecx]
add esp, 0x2c
cmp eax, esi
je 0x4f6276
mov dword [0x631440], esi
jmp 0x4f6276
cmp dword [0x63143c], esi
je 0x4f62ab
push 0x54e
push str.C:4017_buildmysql_4.0.17innobaseosos0file.c
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
call fcn.004d1950
add esp, 4
push eax
push str.InnoDB:_Thread__lu_stopped_in_file__s_line__lu_n
push 0x620ad0
call fcn.00599e71
push 0x3b9aca00
call fcn.004e7040
add esp, 0x18
mov ecx, dword [0x6314bc]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x30]
inc ecx
mov ebx, edi
mov dword [0x6314bc], ecx
and ebx, 0xf
mov edx, dword [ebx*4 + 0x6323e0]
push edx
mov dword [esp + 0x1c], ebp
call fcn.0051f690
mov esi, dword [esp + 0x30]
add esp, 4
push 0
lea eax, [esp + 0x1c]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4f62ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4f6455
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
push 0
lea ecx, [esp + 0x18]
push ecx
push edx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
mov eax, dword [0x63148c]
test eax, eax
jne 0x4f6408
push edi
call fcn.004f5da0
mov ecx, dword [0x631438]
add esp, 4
dec eax
neg eax
sbb eax, eax
inc eax
add eax, ecx
jne 0x4f63ca
push 0x620ad0
call fcn.004e70c0
add esp, 4
push 0x577
push str.C:4017_buildmysql_4.0.17innobaseosos0file.c
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
call fcn.004d1950
add esp, 4
push eax
push str.__InnoDB:_Assertion_failure_in_thread__lu_in_file__s_line__lu_n
push 0x620ad0
call fcn.00599e71
push str.InnoDB:_Failing_assertion:_TRUE__os_file_flush_file_
push 0x620ad0
call fcn.00599e71
push str._nInnoDB:_We_intentionally_generate_a_memory_trap._n
push 0x620ad0
call fcn.00599e71
push str.InnoDB:_Send_a_detailed_bug_report_to_mysql_lists.mysql.com_n
push 0x620ad0
call fcn.00599e71
mov ecx, dword [0x631440]
mov dword [0x63143c], 1
mov eax, dword [ecx]
add esp, 0x2c
test eax, eax
je 0x4f63d3
mov dword [0x631440], 0
jmp 0x4f63d3
mov eax, dword [0x63143c]
test eax, eax
je 0x4f6408
push 0x577
push str.C:4017_buildmysql_4.0.17innobaseosos0file.c
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
call fcn.004d1950
add esp, 4
push eax
push str.InnoDB:_Thread__lu_stopped_in_file__s_line__lu_n
push 0x620ad0
call fcn.00599e71
push 0x3b9aca00
call fcn.004e7040
add esp, 0x18
mov edx, dword [ebx*4 + 0x6323e0]
push edx
call fcn.0051f940
add esp, 4
test esi, esi
je 0x4f6426
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x14], eax
je 0x4f6499
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x21
jne 0x4f64a6
cmp dword [esp + 0x10], 0x64
jae 0x4f64a6
push 0xf4240
call fcn.004e7040
mov eax, dword [esp + 0x14]
add esp, 4
inc eax
mov dword [esp + 0x10], eax
jmp 0x4f62c5
mov ecx, dword [ebx*4 + 0x6323e0]
push ecx
call fcn.0051f940
push 0x620ad0
call fcn.004e70c0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x20]
push eax
push esi
push ebp
push edx
push str.__InnoDB:_Error:_File_pointer_positioning_to_file__s_failed_at_nInnoDB:_offset__lu__lu._Operating_system_error_number__lu._nInnoDB:_Look_from_section_13.2_at_http:__www.innodb.com_ibman.html_nInnoDB:_what_the_error_number_means._n
push 0x620ad0
call fcn.00599e71
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 [0x6314d0]
test eax, eax
jne 0x4f6525
call esi
push 0x620ad0
mov esi, eax
call fcn.004e70c0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
push esi
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push ebp
push eax
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 0x620ad0
call fcn.00599e71
push esi
call fcn.0059d7d9
add esp, 0x28
test eax, eax
je 0x4f6509
push esi
call fcn.0059d7d9
push eax
push esi
push str.InnoDB:_Error_number__lu_means__s._n
push 0x620ad0
call fcn.00599e71
add esp, 0x14
push str.InnoDB:_See_also_section_13.2_at_http:__www.innodb.com_ibman.html_nInnoDB:_about_operating_system_error_numbers._n
push 0x620ad0
call fcn.00599e71
add esp, 8
mov dword [0x6314d0], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret