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

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
push 0x633
xor ebx, ebx
push str.._btr_btr0btr.c
push ebx
push ebx
push 0x400
push ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
call fcn.00651e00
mov esi, dword [esp + 0x58]
mov dword [eax + 0x10], 1
mov dword [eax + 0x20], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x14], eax
mov dword [eax + 0x18], eax
mov ecx, dword [esi]
mov dword [esp + 0x28], eax
mov dl, byte [ecx + 0xc]
add esp, 0x18
test dl, 1
je 0x6b71c9
mov ecx, dword [ecx + 0x28]
mov dword [esp + 0x20], ecx
jmp 0x6b71d0
mov edx, dword [ecx + 0x30]
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 0x34]
add ecx, eax
push ecx
push eax
mov edi, eax
call fcn.00648370
mov eax, dword [edi + 0x38]
add esp, 8
cmp eax, ebx
je 0x6b71f1
push edi
call fcn.006520d0
add esp, 4
mov edx, dword [esi]
mov eax, dword [edx + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
push eax
mov dword [esp + 0x3c], ebx
call fcn.0064bc90
mov edi, eax
push edi
call fcn.0064bc10
mov ebp, eax
mov edx, dword [ebp + 4]
mov eax, dword [0x977b10]
xor ecx, ecx
add esp, 8
cmp edx, 0xd5
sete cl
add ecx, eax
jne 0x6b7254
push 0xbc
push str.f:_buildmysql_5.0.45_winbuildmysql_community_nt_5.0.45_buildinnobaseinclude_buf0buf.ic
push str.block__state__BUF_BLOCK_FILE_PAGE
call fcn.00651650
mov edx, dword [0x977b18]
mov eax, dword [edx]
add esp, 0xc
cmp eax, ebx
je 0x6b7254
mov dword [0x977b18], ebx
cmp dword [0x977b14], ebx
je 0x6b726e
push 0xbc
push str.f:_buildmysql_5.0.45_winbuildmysql_community_nt_5.0.45_buildinnobaseinclude_buf0buf.ic
call fcn.006516c0
add esp, 8
cmp dword [esp + 0x28], ebx
mov ebp, dword [ebp + 0x14]
jbe 0x6b7289
mov eax, dword [esp + 0x44]
push esi
mov byte [esp + 0x18], 0x6f
inc ebp
call fcn.006b6880
jmp 0x6b72c9
lea eax, [esp + 0x40]
push eax
push esi
call fcn.006b67f0
add esp, 8
test eax, eax
je 0x6b72a3
mov byte [esp + 0x14], 0x6f
inc ebp
jmp 0x6b72d0
lea ecx, [esp + 0x40]
push ecx
push esi
call fcn.006b6760
add esp, 8
test eax, eax
je 0x6b72bd
mov byte [esp + 0x14], 0x70
dec ebp
jmp 0x6b72d0
push edi
mov byte [esp + 0x18], 0x6f
inc ebp
call fcn.006ae3a0
add esp, 4
mov dword [esp + 0x40], eax
movzx eax, byte [edi + 0x40]
movzx edx, byte [edi + 0x41]
mov ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
shl eax, 8
push ebx
add eax, edx
push eax
mov eax, dword [esp + 0x1c]
push eax
push ebp
push ecx
call fcn.006b5ae0
mov edx, dword [esp + 0x2c]
mov ebp, eax
mov eax, dword [edx + 0xcc]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x24]
push edx
push ebx
push ebp
call fcn.006ad4e0
push ebp
call fcn.0064bc10
mov dword [eax + 0xb8], 1
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
push ebx
push ecx
push edx
lea eax, [ebp + 0x42]
push eax
call fcn.006c68e0
mov eax, dword [esp + 0x74]
add esp, 0x34
test eax, eax
je 0x6b7344
mov dword [esp + 0x24], eax
jmp 0x6b73b6
mov eax, dword [esi]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x24]
test edx, edx
je 0x6b7360
mov edx, dword [esp + 0x44]
push edx
push eax
call fcn.006b2840
add esp, 8
jmp 0x6b7384
mov eax, dword [esp + 0x44]
push eax
call fcn.00666a70
mov ecx, dword [esp + 0x48]
mov ecx, dword [ecx + 4]
add esp, 4
cmp eax, 0x7f
ja 0x6b737e
add ecx, 6
jmp 0x6b7382
lea ecx, [ecx + ecx + 6]
add eax, ecx
push 0x66b
push str.._btr_btr0btr.c
push eax
call fcn.00645730
mov edx, dword [esp + 0x50]
mov ecx, dword [esi]
push edx
push ecx
push eax
mov dword [esp + 0x44], eax
call fcn.006b3180
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 4]
push eax
call fcn.0064bff0
add esp, 0x1c
movzx edx, byte [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
push edx
push eax
push ecx
mov eax, ebp
mov ecx, edi
call fcn.006b6d20
mov eax, dword [esp + 0x4c]
add esp, 0xc
test eax, eax
jne 0x6b749e
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax - 8]
mov ebx, dword [eax - 0x28]
add eax, 0xffffffc0
test ecx, ecx
mov dword [esp + 0x30], eax
je 0x6b7404
push eax
call fcn.006520d0
mov eax, dword [esp + 0x34]
add esp, 4
test ebx, ebx
jne 0x6b7480
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
push edx
push eax
push 0
push 0
push esi
call fcn.006b6a80
mov ebx, dword [esp + 0x4c]
add esp, 0x14
test eax, eax
je 0x6b744d
movzx ecx, byte [edi + 0x40]
movzx edx, byte [edi + 0x41]
shl ecx, 8
add ecx, edx
jne 0x6b744d
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
push 0x38
add eax, 0x54
push eax
push ecx
call fcn.006a07b0
add esp, 0xc
mov al, byte [esp + 0x14]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
push edx
cmp al, 0x70
mov eax, dword [esi]
push eax
push ecx
push edi
push ebp
jne 0x6b74dd
call fcn.006b0040
push ebp
push edi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], edi
call fcn.00683950
jmp 0x6b74f1
mov eax, dword [esp + 0x30]
mov edi, edi
mov edx, dword [ebx + 0x1c]
push ebx
push eax
mov dword [esp + 0x3c], edx
call fcn.00651fd0
mov ebx, dword [esp + 0x3c]
add esp, 8
test ebx, ebx
jne 0x6b747a
jmp 0x6b7408
mov edx, dword [esp + 0x20]
push 0x681
push str.._btr_btr0btr.c
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi]
push edx
push 0
push ecx
push eax
call fcn.006b25d0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x5c]
push edx
mov ebx, eax
mov eax, dword [esp + 0x64]
push eax
push ebx
push ecx
push esi
call fcn.006b6a80
add esp, 0x30
jmp 0x6b7423
call fcn.006aff70
push edi
push ebp
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebp
call fcn.00683600
mov eax, dword [esp + 0x5c]
add esp, 0x1c
test eax, eax
jne 0x6b7502
mov ebx, dword [esp + 0x18]
jmp 0x6b753f
mov eax, dword [esp + 0x20]
mov ecx, dword [esi]
mov edi, dword [esp + 0x24]
push 0x6ad
push str.._btr_btr0btr.c
lea edx, [esp + 0x18]
push edx
push eax
push ebx
push ecx
push edi
call fcn.006b25d0
mov edx, dword [esp + 0x60]
push eax
push edi
push edx
call fcn.006b5210
mov ebx, dword [esp + 0x40]
add esp, 0x28
test eax, eax
jge 0x6b753f
mov ebx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
lea edi, [esi + 4]
push edi
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esi]
lea eax, [esp + 0x34]
push eax
push 4
push ecx
push edx
push ebx
call fcn.006c29b0
mov ecx, dword [esp + 0x6c]
mov eax, dword [esi]
mov edx, dword [esp + 0x68]
push ecx
push 0
push 0
push eax
push edx
push edi
call fcn.006c3310
add esp, 0x3c
test eax, eax
mov dword [esp + 0x38], eax
jne 0x6b7625
mov eax, dword [esp + 0x48]
mov ecx, dword [esi]
push eax
push ecx
push 0
call fcn.006b64b0
xor eax, eax
push edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], eax
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esi]
lea edx, [esp + 0x40]
push edx
push 4
push eax
push ecx
push ebx
call fcn.006c29b0
mov ebx, dword [esp + 0x78]
mov eax, dword [esi]
mov edx, dword [esp + 0x74]
push ebx
push 0
push 0
push eax
push edx
push edi
call fcn.006c3310
mov edi, eax
add esp, 0x48
test edi, edi
jne 0x6b765f
mov eax, dword [esi]
push ebp
push eax
call fcn.00691130
mov eax, dword [esp + 0x30]
add esp, 8
inc eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
xor ebx, ebx
jmp 0x6b71d0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esi]
push edx
push eax
push ecx
call fcn.006911b0
mov edx, dword [esp + 0x20]
push 0x6c9
push str.._btr_btr0btr.c
push edx
call fcn.006483f0
mov eax, dword [esp + 0x54]
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi]
push ebx
push eax
push ecx
push edx
call fcn.006911b0
mov eax, dword [esp + 0x20]
push 0x6f1
push str.._btr_btr0btr.c
push eax
call fcn.006483f0
add esp, 0x1c
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret