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

Disassembly:
mov eax, dword [0x60f490]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x30]
cmp edi, eax
ja 0x57434c
jb 0x57434c
mov esi, dword [esp + 0x34]
mov eax, dword [0x60f494]
cmp esi, eax
ja 0x574350
jb 0x574350
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
jmp 0x574350
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
push eax
and esi, 0xfffffe00
call fcn.004f9230
or ecx, 0xffffffff
sub ecx, eax
add esp, 4
cmp ecx, esi
mov ebp, edi
mov dword [esp + 0x34], esi
lea ebx, [esi + eax]
jae 0x574376
inc ebp
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push 0x1ff
push edx
push eax
call fcn.0054f9b0
mov ecx, dword [0x6315e0]
mov ecx, dword [ecx + 0x3c]
mov esi, eax
or eax, 0xffffffff
and edx, 0xfffffe00
sub eax, ecx
add esp, 0xc
cmp eax, edx
mov dword [esp + 0x34], edx
lea edi, [edx + ecx]
jae 0x5743af
inc esi
mov eax, dword [esp + 0x20]
mov ecx, dword [0x60f490]
cmp eax, ecx
ja 0x5743cf
jb 0x5743cf
mov eax, dword [esp + 0x24]
mov ecx, dword [0x60f494]
cmp eax, ecx
ja 0x5743cf
jae 0x5743d9
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebx
jmp 0x5743f9
push edi
push esi
push ebx
push ebp
call fcn.00511450
add esp, 0x10
test eax, eax
jle 0x5743ed
mov eax, edi
jmp 0x5743f1
mov esi, ebp
mov eax, ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], eax
mov ecx, dword [0x6314e0]
mov edx, dword [ecx + 0x7c]
mov eax, dword [0x631438]
cmp edx, 0x10000
sbb edx, edx
inc edx
add edx, eax
jne 0x57449e
push 0x620ad0
call fcn.004e70c0
add esp, 4
push 0xed
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:_RECV_SCAN_SIZE___log_sys__buf_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 eax, dword [0x631440]
mov dword [0x63143c], 1
mov ecx, dword [eax]
add esp, 0x2c
test ecx, ecx
je 0x5744a7
mov dword [0x631440], 0
jmp 0x5744a7
mov eax, dword [0x63143c]
test eax, eax
je 0x5744dc
push 0xed
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
xor eax, eax
mov ecx, dword [0x6314e0]
mov edx, dword [ecx + 0x78]
mov byte [edx + eax], 0
inc eax
cmp eax, 0x10000
jb 0x5744de
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, eax
and edx, 0xfffffe00
cmp edx, eax
mov ebp, ecx
ja 0x57450b
jae 0x574541
mov esi, dword [0x6315e0]
mov edi, dword [0x6314e0]
mov esi, dword [esi + 0x40]
mov edi, dword [edi + 0x78]
sub eax, edx
mov ecx, 0x80
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [0x6314e0]
mov eax, dword [eax + 0x78]
add eax, 4
mov ebx, ecx
shr ebx, 8
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x18]
mov byte [eax], bl
mov eax, dword [esp + 0x30]
cmp ecx, eax
ja 0x5745ec
jb 0x574561
mov eax, dword [esp + 0x34]
cmp edx, eax
ja 0x5745ec
jae 0x5745ec
cmp edx, 0xfffeffff
mov eax, ebp
mov dword [esp + 0x1c], edx
lea esi, [edx + 0x10000]
jbe 0x574576
inc eax
mov ebx, dword [esp + 0x30]
cmp eax, ebx
mov edi, eax
ja 0x57458c
jb 0x574594
mov eax, dword [esp + 0x34]
cmp esi, eax
ja 0x574590
jmp 0x574594
mov eax, dword [esp + 0x34]
mov edi, ebx
mov esi, eax
mov ecx, dword [0x6314e0]
push 0
push edx
push ebp
mov eax, esi
sub eax, edx
mov edx, dword [ecx + 0x78]
push eax
mov eax, dword [esp + 0x24]
push edx
push eax
push 0x5e4e6a3
cmp edi, ebp
call fcn.004faa50
mov ecx, dword [esp + 0x50]
push ecx
push ebx
push esi
push edi
call fcn.00511450
add esp, 0x2c
test eax, eax
jge 0x5745ec
xor eax, eax
mov edx, dword [0x6314e0]
mov ecx, dword [edx + 0x78]
mov byte [ecx + eax], 0
inc eax
cmp eax, 0x10000
jb 0x5745ce
mov ebp, edi
mov edx, esi
jmp 0x574561
pop edi
pop esi
pop ebp
pop ebx
ret