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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 0xc]
mov ecx, dword [0x631438]
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
cmp ebx, edx
sete al
push esi
push edi
add eax, ecx
jne 0x525cf9
push 0x620ad0
call fcn.004e70c0
add esp, 4
push 0x1d8
push str.C:4017_buildmysql_4.0.17innobase_buf_buf0buf.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:_max_size__curr_size
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]
xor edi, edi
add esp, 0x2c
cmp eax, edi
je 0x525d04
mov dword [0x631440], edi
jmp 0x525d04
mov eax, dword [0x63143c]
xor edi, edi
cmp eax, edi
je 0x525d39
push 0x1d8
push str.C:4017_buildmysql_4.0.17innobase_buf_buf0buf.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
push 0x1da
push str.C:4017_buildmysql_4.0.17innobase_buf_buf0buf.c
push edi
push edi
push 0xd8
push edi
call fcn.004ed9d0
mov esi, eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x10], 1
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov eax, dword [esi + 0x18]
add esp, 0x18
cmp eax, edi
mov dword [esi + 0x14], esi
jne 0x525d75
mov dword [esi + 0x18], esi
cmp esi, edi
jne 0x525d80
xor eax, eax
jmp 0x525e6c
push 0xd8
push esi
call fcn.004e0640
lea edx, [eax - 0x40]
xor ecx, ecx
add esp, 8
cmp esi, edx
mov edx, dword [0x631438]
sete cl
mov dword [ebp - 4], eax
add ecx, edx
jne 0x525e2c
push 0x620ad0
call fcn.004e70c0
add esp, 4
push 0x20e
push str..._innobase_includemem0mem.ic
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:__byte_heap___byte_buf___MEM_BLOCK_HEADER_SIZE___MEM_FIELD_HEADER_SIZE
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], 1
mov eax, dword [edx]
add esp, 0x2c
cmp eax, edi
je 0x525e34
mov dword [0x631440], edi
jmp 0x525e34
cmp dword [0x63143c], edi
je 0x525e6c
push 0x20e
push str..._innobase_includemem0mem.ic
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
mov eax, dword [ebp - 4]
add esp, 0x18
push 0x1de
push str.C:4017_buildmysql_4.0.17innobase_buf_buf0buf.c
push eax
mov dword [0x631568], eax
call fcn.0051dc30
mov eax, dword [0x631568]
push 0x96
push eax
call fcn.0051e350
mov eax, dword [0x631568]
add esp, 0x14
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, 1
xchg dword [ecx], edx
mov dword [ebp - 8], edx
cmp dword [ebp - 8], edi
jne 0x525ebe
mov dword [eax + 0x14], str.C:4017_buildmysql_4.0.17innobase_buf_buf0buf.c
mov dword [eax + 0x18], 0x1e1
jmp 0x525ed1
push 0x1e1
push str.C:4017_buildmysql_4.0.17innobase_buf_buf0buf.c
push eax
call fcn.0051e0f0
add esp, 0xc
lea ecx, [ebx + 1]
shl ecx, 0xe
push ecx
call fcn.0051cef0
mov edx, dword [0x631568]
mov dword [edx + 0x2c], eax
mov eax, dword [0x631568]
mov ecx, dword [eax + 0x2c]
add esp, 4
cmp ecx, edi
jne 0x525efe
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, ebx
shl ecx, 6
add ecx, ebx
shl ecx, 3
push ecx
call fcn.0051cef0
mov edx, dword [0x631568]
mov dword [edx + 0x38], eax
mov eax, dword [0x631568]
mov ecx, dword [eax + 0x38]
add esp, 4
cmp ecx, edi
jne 0x525f2f
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x3c], ebx
mov eax, dword [0x631568]
mov dword [eax + 0x40], ecx
mov eax, dword [0x631568]
mov esi, dword [eax + 0x2c]
add esi, 0x3fff
and esi, 0xffffc000
mov dword [eax + 0x30], esi
mov eax, ecx
mov ecx, dword [0x631568]
shl eax, 0xe
mov dword [ebp - 8], eax
add eax, esi
cmp ebx, edi
mov dword [ecx + 0x34], eax
jbe 0x525f9f
mov edx, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], edx
mov eax, dword [0x631568]
mov ecx, dword [eax + 0x38]
add ecx, ebx
push esi
push ecx
call fcn.005261a0
mov eax, dword [ebp - 4]
add esp, 8
add esi, 0x4000
add ebx, 0x208
dec eax
mov dword [ebp - 4], eax
jne 0x525f73
mov ebx, dword [ebp + 8]
lea edx, [ebx + ebx]
push edx
call fcn.00579670
mov ecx, dword [0x631568]
mov dword [ecx + 0x44], eax
mov edx, dword [0x631568]
push edi
mov dword [edx + 0x48], edi
call fcn.0059a77b
mov ecx, dword [0x631568]
mov dword [ecx + 0x4c], eax
mov edx, dword [0x631568]
mov dword [edx + 0x50], edi
mov eax, dword [0x631568]
mov dword [eax + 0x54], edi
mov ecx, dword [0x631568]
mov dword [ecx + 0x58], edi
mov edx, dword [0x631568]
mov dword [edx + 0x5c], edi
mov eax, dword [0x631568]
mov dword [eax + 0x60], edi
mov ecx, dword [0x631568]
mov dword [ecx + 0x64], edi
mov edx, dword [0x631568]
mov dword [edx + 0x68], edi
mov eax, dword [0x631568]
mov dword [eax + 0x6c], edi
mov ecx, dword [0x631568]
mov dword [ecx + 0x70], edi
mov edx, dword [0x631568]
mov dword [edx + 0x74], edi
mov eax, dword [0x631568]
add esp, 8
mov dword [eax + 0x78], edi
mov esi, 0x80
mov ecx, dword [0x631568]
mov dword [esi + ecx + 0x10], edi
mov edx, dword [0x631568]
push edi
mov dword [esi + edx], edi
call fcn.0051e6f0
mov ecx, dword [0x631568]
mov dword [esi + ecx + 0x20], eax
add esi, 4
add esp, 4
cmp esi, 0x88
jbe 0x526030
mov edx, dword [0x631568]
mov dword [edx + 0xb4], edi
mov eax, dword [0x631568]
mov dword [eax + 0xac], 1
mov ecx, dword [0x631568]
mov dword [ecx + 0xb0], edi
mov edx, dword [0x631568]
mov dword [edx + 0xc4], edi
mov eax, dword [0x631568]
mov dword [eax + 0xc8], edi
mov ecx, dword [0x631568]
mov dword [ecx + 0xcc], edi
mov edx, dword [0x631568]
mov dword [edx + 0xd0], edi
mov eax, dword [0x631568]
mov dword [eax + 0xb8], edi
mov ecx, dword [0x631568]
mov eax, dword [ebp + 0xc]
cmp eax, edi
mov dword [ecx + 0xbc], edi
mov edx, dword [0x631568]
mov dword [edx + 0xc0], edi
jbe 0x52615c
mov ecx, dword [0x631568]
xor edx, edx
mov esi, eax
mov eax, dword [ecx + 0x38]
mov ebx, dword [ecx + 0xb8]
add eax, edx
inc ebx
mov dword [ecx + 0xb8], ebx
mov ecx, dword [0x631568]
mov ecx, dword [ecx + 0xbc]
mov dword [eax + 0x13c], ecx
mov dword [eax + 0x138], edi
mov ecx, dword [0x631568]
mov ecx, dword [ecx + 0xbc]
cmp ecx, edi
je 0x52612b
mov dword [ecx + 0x138], eax
mov ecx, dword [0x631568]
mov dword [ecx + 0xbc], eax
mov ecx, dword [0x631568]
cmp dword [ecx + 0xc0], edi
jne 0x526151
mov dword [ecx + 0xc0], eax
mov ecx, dword [0x631568]
add edx, 0x208
dec esi
jne 0x5260eb
jmp 0x526162
mov ecx, dword [0x631568]
mov eax, ecx
mov dword [ebp + 8], eax
mov edx, 0
mov ecx, dword [ebp + 8]
xchg dword [ecx], edx
cmp dword [eax + 4], edi
je 0x52617f
push eax
call fcn.0051e330
add esp, 4
mov eax, dword [ebp - 8]
shr eax, 8
push eax
call fcn.0052a2b0
mov eax, dword [0x631568]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret