Function at 0x572280
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, 1
push edi
mov edi, dword [esp + 0x2c]
mov eax, esi
cmp eax, edi
mov eax, dword [0x631438]
sbb ecx, ecx
inc ecx
add ecx, eax
jne 0x572327
push 0x620ad0
call fcn.004e70c0
add esp, 4
push 0x895
push str.C:4017_buildmysql_4.0.17innobaseloglog0recv.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:_apply_automatically___TRUE
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 edx, dword [0x631440]
mov dword [0x63143c], esi
mov eax, dword [edx]
add esp, 0x2c
test eax, eax
je 0x572330
mov dword [0x631440], 0
jmp 0x572330
mov eax, dword [0x63143c]
test eax, eax
je 0x572365
push 0x895
push str.C:4017_buildmysql_4.0.17innobaseloglog0recv.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 edi, dword [esp + 0x34]
mov eax, esi
cmp eax, edi
mov eax, dword [0x631438]
sbb ecx, ecx
inc ecx
add ecx, eax
jne 0x572400
push 0x620ad0
call fcn.004e70c0
add esp, 4
push 0x896
push str.C:4017_buildmysql_4.0.17innobaseloglog0recv.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:_store_to_hash___TRUE
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 edx, dword [0x631440]
mov dword [0x63143c], esi
mov eax, dword [edx]
add esp, 0x2c
test eax, eax
je 0x572409
mov dword [0x631440], 0
jmp 0x572409
mov eax, dword [0x63143c]
test eax, eax
je 0x57243e
push 0x896
push str.C:4017_buildmysql_4.0.17innobaseloglog0recv.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 edi, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x44]
xor esi, esi
mov dword [esp + 0x18], eax
lea eax, [edi + ecx]
cmp edi, eax
mov ebp, edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x14], eax
jae 0x57281e
add edi, 9
jmp 0x57247e
mov ebp, dword [esp + 0x38]
test esi, esi
jne 0x57281e
xor edx, edx
mov dl, byte [ebp]
xor eax, eax
mov al, byte [edi - 8]
xor ecx, ecx
mov cl, byte [edi - 7]
mov esi, edx
shl esi, 8
add esi, eax
mov eax, dword [esp + 0x18]
shl esi, 8
xor edx, edx
mov dl, byte [edi - 6]
add esi, ecx
and eax, 0x1ff
shl eax, 0x17
shl esi, 8
mov ecx, ebx
shr ecx, 9
add eax, ecx
add esi, edx
and eax, 0x3fffffff
and esi, 0x7fffffff
inc eax
cmp esi, eax
jne 0x572760
push ebp
call fcn.00570ad0
add esp, 4
test eax, eax
je 0x572760
xor edx, edx
mov dl, byte [ebp]
xor eax, eax
mov al, byte [edi - 8]
xor ecx, ecx
mov cl, byte [edi - 7]
shl edx, 8
add edx, eax
xor eax, eax
mov al, byte [edi - 6]
shl edx, 8
add edx, ecx
shl edx, 8
add edx, eax
test edx, 0x80000000
je 0x57252a
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
cmp edx, ecx
mov esi, dword [eax + 4]
ja 0x572525
jb 0x57252a
cmp ebx, esi
jbe 0x57252a
mov dword [eax], edx
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov cl, byte [edi - 5]
xor edx, edx
mov dl, byte [edi - 4]
mov ebp, ecx
shl ebp, 8
add ebp, edx
test eax, eax
mov edx, dword [0x6315e0]
mov dword [esp + 0x3c], ebp
jne 0x572559
cmp ebp, 0x200
jne 0x5725db
mov eax, dword [esp + 0x18]
or ecx, 0xffffffff
sub ecx, ebp
cmp ecx, ebx
mov dword [esp + 0x24], ebx
jae 0x57256b
inc eax
mov ecx, dword [edx + 0x58]
cmp eax, ecx
mov esi, dword [edx + 0x5c]
ja 0x57257e
jb 0x5725db
lea eax, [ebx + ebp]
cmp eax, esi
jbe 0x5725db
mov eax, dword [edx + 0x60]
test eax, eax
jbe 0x5725db
xor edx, edx
mov dl, byte [edi]
xor ecx, ecx
mov cl, byte [edi - 1]
mov esi, edx
xor edx, edx
mov dl, byte [edi + 1]
mov ebx, ecx
shl ebx, 8
add ebx, esi
shl ebx, 8
mov ebp, edx
xor edx, edx
mov dl, byte [edi + 2]
add ebx, ebp
shl ebx, 8
add ebx, edx
cmp ebx, eax
jae 0x5725cd
shl ebp, 8
sub eax, ebp
shl ecx, 0x18
sub eax, ecx
shl esi, 0x10
sub eax, esi
sub eax, edx
cmp eax, 0x80000000
ja 0x57274f
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x1c]
mov edx, dword [0x6315e0]
mov esi, dword [edx + 0x54]
test esi, esi
mov ecx, dword [edx + 0x50]
lea eax, [edx + 0x50]
jne 0x572653
test ecx, ecx
jne 0x572653
mov cl, byte [edi - 3]
mov esi, ecx
xor ecx, ecx
mov cl, byte [edi - 2]
shl esi, 8
add ecx, esi
test ecx, ecx
jbe 0x572653
mov edx, dword [esp + 0x18]
or esi, 0xffffffff
sub esi, ecx
cmp esi, ebx
mov dword [esp + 0x24], ebx
jb 0x572614
add ecx, ebx
jmp 0x572617
add ecx, ebx
inc edx
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, dword [0x6315e0]
lea edx, [eax + 0x50]
mov ecx, dword [edx]
mov dword [eax + 0x58], ecx
mov edx, dword [edx + 4]
mov eax, dword [0x6315e0]
mov dword [eax + 0x5c], edx
mov eax, dword [0x6315e0]
lea ecx, [eax + 0x50]
mov edx, dword [ecx]
mov dword [eax + 0x68], edx
mov eax, dword [ecx + 4]
mov ecx, dword [0x6315e0]
mov dword [ecx + 0x6c], eax
mov edx, dword [0x6315e0]
mov esi, dword [esp + 0x18]
or eax, 0xffffffff
sub eax, ebp
cmp eax, ebx
mov dword [esp + 0x24], ebx
jb 0x572668
add ebx, ebp
jmp 0x57266b
add ebx, ebp
inc esi
mov eax, dword [edx + 0x58]
cmp esi, eax
mov ecx, dword [edx + 0x5c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
ja 0x57268b
jb 0x572718
cmp ebx, ecx
jbe 0x572718
mov ecx, dword [edx + 0x4c]
add ecx, 0x800
cmp ecx, 0x200000
jb 0x5726bd
push str.InnoDB:_Error:_log_parsing_buffer_overflow._Recovery_may_have_failed__n
push 0x620ad0
call fcn.00599e71
mov edx, dword [0x6315e0]
add esp, 8
mov dword [edx + 0x78], 1
jmp 0x5726d7
mov eax, dword [edx + 0x78]
test eax, eax
jne 0x5726e1
mov eax, dword [esp + 0x38]
push ebx
push esi
push eax
call fcn.00573250
add esp, 0xc
mov dword [esp + 0x40], eax
mov edx, dword [0x6315e0]
mov ebp, dword [esp + 0x3c]
mov dword [edx + 0x58], esi
mov ecx, dword [0x6315e0]
xor edx, edx
mov dword [ecx + 0x5c], ebx
mov dl, byte [edi - 1]
xor eax, eax
mov al, byte [edi]
xor ecx, ecx
mov cl, byte [edi + 1]
shl edx, 8
add edx, eax
xor eax, eax
mov al, byte [edi + 2]
shl edx, 8
add edx, ecx
mov ecx, dword [0x6315e0]
shl edx, 8
add edx, eax
mov dword [ecx + 0x60], edx
cmp ebp, 0x200
jae 0x57272a
mov dword [esp + 0x10], 1
jmp 0x572738
add dword [esp + 0x38], 0x200
add edi, 0x200
mov edx, dword [esp + 0x38]
cmp edx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
jb 0x57247a
jmp 0x57281e
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x10], 1
jmp 0x57281a
mov eax, dword [esp + 0x18]
and eax, 0x1ff
shl eax, 0x17
mov ecx, ebx
shr ecx, 9
add eax, ecx
and eax, 0x3fffffff
inc eax
cmp esi, eax
jne 0x572812
push ebp
call fcn.00570ad0
add esp, 4
test eax, eax
jne 0x572812
mov edi, 1
xor ecx, ecx
mov dword [esp + 0x38], eax
xor edx, edx
mov dl, byte [eax + ebp]
and edi, 0x7fffffff
mov eax, edx
shl edx, cl
add eax, edx
add edi, eax
inc ecx
cmp ecx, 0x18
jbe 0x5727b8
xor ecx, ecx
mov eax, dword [esp + 0x38]
inc eax
cmp eax, 0x1fc
mov dword [esp + 0x38], eax
jb 0x57279d
xor eax, eax
mov al, byte [ebp + 0x1fc]
xor ecx, ecx
mov cl, byte [ebp + 0x1fd]
xor edx, edx
mov dl, byte [ebp + 0x1fe]
push edi
shl eax, 8
add eax, ecx
xor ecx, ecx
mov cl, byte [ebp + 0x1ff]
shl eax, 8
add eax, edx
mov edx, dword [esp + 0x1c]
shl eax, 8
add eax, ecx
push eax
push ebx
push edx
push esi
push str.InnoDB:_Log_block_no__lu_at_lsn__lu__lu_has_nInnoDB:_ok_header__but_checksum_field_contains__lu__should_be__lu_n
push 0x620ad0
call fcn.00599e71
add esp, 0x1c
mov dword [esp + 0x10], 1
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [ecx + 4], ebx
mov eax, dword [0x6315ec]
test eax, eax
jne 0x572846
mov eax, dword [0x6315fc]
test eax, eax
je 0x572885
mov eax, dword [0x631600]
test eax, eax
jne 0x572885
mov edx, dword [0x6315f8]
inc edx
test esi, esi
mov dword [0x6315f8], edx
jne 0x572866
mov eax, edx
xor edx, edx
mov edi, 0x50
div edi
test edx, edx
jne 0x572885
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
push eax
mov eax, edx
push eax
push str.InnoDB:_Doing_recovery:_scanned_up_to_log_sequence_number__lu__lu_n
push 0x620ad0
mov dword [esp + 0x30], edx
call fcn.00599e71
add esp, 0x10
mov eax, dword [esp + 0x40]
test eax, eax
je 0x572903
mov ecx, dword [0x6315e0]
mov eax, dword [ecx + 0x78]
test eax, eax
jne 0x572903
mov edi, dword [esp + 0x34]
push edi
call fcn.00572910
add esp, 4
test edi, edi
je 0x5728f0
mov edx, dword [0x6315e0]
mov edx, dword [edx + 0x80]
xor ecx, ecx
test edx, edx
mov eax, edx
je 0x5728cb
mov ebx, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
add ecx, ebx
test eax, eax
jne 0x5728bf
mov eax, dword [edx + 0x38]
test eax, eax
je 0x5728d8
add ecx, 0x4000
cmp ecx, dword [esp + 0x30]
jbe 0x5728f0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x5728f0
push 0
call fcn.00571a10
add esp, 4
mov eax, dword [0x6315e0]
cmp dword [eax + 0x64], 0x80000
jbe 0x572903
call fcn.00573440
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret