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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x478
mov eax, dword [0x6315a8]
mov ecx, dword [0x60f490]
mov edx, dword [0x60f494]
push ebx
push esi
mov esi, dword [eax + 0x24]
xor ebx, ebx
test esi, esi
push edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], ebx
je 0x547a77
lea edi, [esi + 4]
mov dword [ebp - 8], edi
mov ecx, dword [ebp - 8]
mov edx, 1
xchg dword [ecx], edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x5474c7
mov dword [edi + 0x14], str.C:4017_buildmysql_4.0.17innobase_trx_trx0purge.c
mov dword [edi + 0x18], 0x2aa
jmp 0x5474da
push 0x2aa
push str.C:4017_buildmysql_4.0.17innobase_trx_trx0purge.c
push edi
call fcn.0051e0f0
add esp, 0xc
cmp dword [esi + 0x70], 0xffffffff
je 0x5475ff
mov eax, dword [ebp - 4]
test eax, eax
je 0x547509
mov eax, dword [esi + 0x78]
mov edx, dword [ebp - 0x14]
cmp edx, eax
mov ecx, dword [esi + 0x7c]
ja 0x547509
jb 0x5475ff
mov eax, dword [ebp - 0x10]
cmp eax, ecx
jbe 0x5475ff
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x7c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x30]
xor edx, edx
test eax, eax
sete dl
mov dword [ebp - 0x1c], eax
mov eax, dword [0x631438]
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], ecx
add edx, eax
jne 0x5475b8
push 0x620ad0
call fcn.004e70c0
add esp, 4
push 0x2b5
push str.C:4017_buildmysql_4.0.17innobase_trx_trx0purge.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:_space__0
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 eax, dword [0x631440]
mov dword [0x63143c], 1
mov ecx, dword [eax]
add esp, 0x2c
test ecx, ecx
je 0x5475c1
mov dword [0x631440], 0
jmp 0x5475c1
mov eax, dword [0x63143c]
test eax, eax
je 0x5475f6
push 0x2b5
push str.C:4017_buildmysql_4.0.17innobase_trx_trx0purge.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 [esi + 0x74]
mov ebx, dword [esi + 0x70]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edi
mov edx, 0
mov ecx, dword [ebp - 8]
xchg dword [ecx], edx
mov eax, dword [edi + 4]
test eax, eax
je 0x54761c
push edi
call fcn.0051e330
add esp, 4
mov esi, dword [esi + 0x88]
test esi, esi
jne 0x54749d
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x547a77
mov dword [ebp - 0x474], esi
mov dword [ebp - 0x470], esi
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x34], 0x15
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
cmp dword [eax + 0x80], esi
jne 0x547669
mov edi, 0x6320e0
jmp 0x547690
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x478]
push edx
push 1
push eax
push ebx
push ecx
call fcn.0054b590
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x54768e
mov edi, 0x6320e0
xor esi, esi
cmp edi, 0x6320e0
mov edx, dword [0x6315a4]
mov ecx, dword [ebp - 4]
mov dword [edx + 0xd4], 1
mov eax, dword [0x6315a4]
mov dword [eax + 0xd8], ecx
mov edx, dword [0x6315a4]
mov ecx, dword [ebp - 0x18]
mov dword [edx + 0xe4], ebx
mov eax, dword [0x6315a4]
mov dword [eax + 0xe8], ecx
mov edx, dword [0x6315a4]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0xc4], eax
mov ecx, dword [0x6315a4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0xc8], edx
jne 0x54772d
mov eax, dword [0x6314f8]
mov ecx, dword [0x6315a4]
mov dword [ecx + 0xcc], eax
mov edx, dword [0x6314fc]
mov eax, dword [0x6315a4]
mov dword [eax + 0xd0], edx
mov ecx, dword [0x6315a4]
mov dword [ecx + 0xdc], ebx
mov edx, dword [0x6315a4]
mov dword [edx + 0xe0], esi
jmp 0x547a68
cmp byte [edi + 3], 0xff
je 0x54773a
xor eax, eax
jmp 0x5477e8
xor eax, eax
mov al, byte [edi + 4]
lea ecx, [edi + 4]
cmp eax, 0x80
jb 0x5477ad
cmp eax, 0xc0
jae 0x547764
xor edx, edx
mov dl, byte [ecx + 1]
shl eax, 8
mov esi, edx
add esi, eax
and esi, 0x7fff
jmp 0x5477af
cmp eax, 0xe0
jae 0x547789
xor edx, edx
mov dl, byte [ecx + 1]
shl eax, 8
mov esi, edx
add esi, eax
xor eax, eax
mov al, byte [ecx + 2]
shl esi, 8
add esi, eax
and esi, 0x3fffff
jmp 0x5477af
cmp eax, 0xf0
jae 0x5477a3
push ecx
call fcn.004ed520
mov esi, eax
add esp, 4
and esi, 0x1fffffff
jmp 0x5477af
inc ecx
push ecx
call fcn.004ed520
add esp, 4
mov esi, eax
cmp esi, 0x80
jae 0x5477be
mov eax, 1
jmp 0x5477e7
cmp esi, 0x4000
jae 0x5477cd
mov eax, 2
jmp 0x5477e7
cmp esi, 0x200000
jae 0x5477dc
mov eax, 3
jmp 0x5477e7
cmp esi, 0x10000000
sbb eax, eax
add eax, 5
inc eax
lea ecx, [eax + edi + 3]
push ecx
call fcn.0050a0f0
mov edx, dword [0x6315a4]
mov dword [edx + 0xcc], esi
mov ecx, dword [0x6315a4]
mov dword [ecx + 0xd0], eax
mov edx, dword [0x631568]
mov esi, dword [edx + 0x30]
mov ecx, dword [edx + 0x38]
mov eax, edi
sub eax, esi
shr eax, 0xe
mov ebx, eax
shl ebx, 6
add ebx, eax
lea ebx, [ecx + ebx*8]
add esp, 4
cmp ebx, ecx
mov dword [ebp - 0xc], ebx
jb 0x547849
mov eax, dword [edx + 0x3c]
mov ebx, eax
shl ebx, 6
add ebx, eax
lea eax, [ecx + ebx*8]
mov ebx, dword [ebp - 0xc]
cmp ebx, eax
jb 0x547933
mov ecx, dword [edx + 0x3c]
push ecx
push esi
push edi
push str.InnoDB:_Error:_trying_to_access_a_stray_pointer__lx_nInnoDB:_buf_pool_start_is_at__lx__number_of_pages__lu_n
push 0x620ad0
call fcn.00599e71
mov eax, dword [0x631438]
add esp, 0x14
test eax, eax
jne 0x5478f5
push 0x620ad0
call fcn.004e70c0
add esp, 4
push 0xdd
push str..._innobase_include_buf0buf.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:_0
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
test eax, eax
je 0x5478fe
mov dword [0x631440], 0
jmp 0x5478fe
mov eax, dword [0x63143c]
test eax, eax
je 0x547933
push 0xdd
push str..._innobase_include_buf0buf.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
add esp, 0x18
mov eax, dword [ebx + 0x10]
mov ecx, dword [0x6315a4]
mov dword [ecx + 0xdc], eax
mov eax, dword [0x631568]
mov ecx, dword [eax + 0x30]
mov esi, edi
and esi, 0xffffc000
cmp esi, ecx
jb 0x547970
mov edx, dword [eax + 0x3c]
mov ebx, edx
shl ebx, 6
add ebx, edx
mov edx, dword [eax + 0x38]
cmp esi, dword [edx + ebx*8 - 0x200]
jbe 0x547a5a
mov eax, dword [eax + 0x3c]
push eax
push ecx
push edi
push str.InnoDB:_Error:_trying_to_access_a_stray_pointer__lx_nInnoDB:_buf_pool_start_is_at__lx__number_of_pages__lu_n
push 0x620ad0
call fcn.00599e71
mov eax, dword [0x631438]
add esp, 0x14
test eax, eax
jne 0x547a1c
push 0x620ad0
call fcn.004e70c0
add esp, 4
push 0x11c
push str..._innobase_include_buf0buf.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:_0
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 0x547a25
mov dword [0x631440], 0
jmp 0x547a25
mov eax, dword [0x63143c]
test eax, eax
je 0x547a5a
push 0x11c
push str..._innobase_include_buf0buf.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
add esp, 0x18
mov edx, dword [0x6315a4]
sub edi, esi
mov dword [edx + 0xe0], edi
lea eax, [ebp - 0x478]
push eax
call fcn.0054f250
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret