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

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x34]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
mov dword [eax], 0
mov eax, dword [esi + 4]
push edi
push eax
mov dword [esp + 0x14], 0
call fcn.0064bc90
mov ebp, dword [esi]
mov esi, dword [esp + 0x40]
mov edi, eax
push esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], ebp
call fcn.006672d0
add esp, 8
test eax, eax
jne 0x66972b
push 0x93e408
push str.InnoDB:_Error_in_a_tuple_to_insert_into
call fcn.006d079c
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + 0x38]
mov eax, dword [edx + 0x3c]
push ebp
push eax
push 0x93e408
call fcn.00665130
add esp, 0x14
push 1
push edi
call fcn.00668700
movzx ecx, byte [edi + 0x41]
mov dword [esp + 0x1c], eax
movzx eax, byte [edi + 0x40]
shl eax, 8
add esp, 8
add eax, ecx
mov dword [esp + 0x20], eax
jmp 0x669750
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0x24]
test eax, eax
je 0x66976c
push esi
push ebp
call fcn.006b2840
mov ebx, eax
add esp, 8
mov dword [esp + 0x1c], ebx
jmp 0x6697c1
mov eax, dword [esi + 4]
xor ebx, ebx
test eax, eax
jbe 0x6697aa
xor edi, edi
mov ebp, eax
lea esp, [esp]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + edi + 4]
add ecx, edi
cmp eax, 0xffffffff
jne 0x66979a
add ecx, 8
push ecx
call fcn.00660c80
add esp, 4
add ebx, eax
add edi, 0x20
dec ebp
jne 0x669780
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
cmp ebx, 0x7f
mov eax, dword [esi + 4]
ja 0x6697b7
add eax, 6
jmp 0x6697bb
lea eax, [eax + eax + 6]
add ebx, eax
mov dword [esp + 0x1c], ebx
movzx eax, byte [edi + 0x2a]
movzx ecx, byte [edi + 0x2b]
shl eax, 8
add eax, ecx
and eax, 0x8000
neg eax
sbb eax, eax
and eax, 5
add eax, 0x3f77
shr eax, 1
cmp eax, 0x4000
jbe 0x6697ed
mov eax, 0x4000
cmp ebx, eax
jb 0x669818
push 0
push 0
push esi
push ebp
call fcn.00667370
add esp, 0x10
test eax, eax
mov dword [esp + 0x10], eax
jne 0x669750
pop edi
pop esi
pop ebp
mov eax, 0x22
pop ebx
add esp, 0x20
ret
mov eax, dword [ebp + 0xc]
and eax, 1
mov dword [esp + 0x24], eax
je 0x669878
mov eax, dword [esp + 0x14]
lea edx, [ebx + 0x400]
cmp edx, eax
jbe 0x669878
movzx ecx, byte [edi + 0x36]
movzx eax, byte [edi + 0x37]
shl ecx, 8
add eax, ecx
cmp eax, 2
jb 0x669878
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x669878
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x28]
push edx
push eax
call fcn.006b67f0
add esp, 8
test eax, eax
jne 0x6698a8
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.006b6760
add esp, 8
test eax, eax
jne 0x6698a8
mov eax, dword [esp + 0x14]
cmp eax, ebx
jb 0x669887
cmp eax, 0x200
jae 0x6698c8
push 1
push edi
call fcn.00668670
add esp, 8
cmp eax, ebx
jae 0x6698c8
movzx eax, byte [edi + 0x36]
movzx ecx, byte [edi + 0x37]
shl eax, 8
add eax, ecx
cmp eax, 1
jbe 0x6698c8
mov eax, dword [esp + 0x10]
test eax, eax
je 0x6698bb
push eax
push esi
push ebp
call fcn.006671f0
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0x3e8
pop ebx
add esp, 0x20
ret
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x38]
push eax
push esi
push ecx
push edx
call fcn.00669630
mov ebx, eax
add esp, 0x14
cmp ebx, 0xa
je 0x669909
mov eax, dword [esp + 0x10]
test eax, eax
je 0x6698ff
push eax
push esi
push ebp
call fcn.006671f0
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x20
ret
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x38]
push edi
push 0
push 0
push ebp
push esi
add ebx, 4
push ebx
call fcn.006c3310
mov ecx, dword [esp + 0x58]
add esp, 0x18
test eax, eax
mov dword [ecx], eax
jne 0x669a4b
mov edx, dword [esp + 0x18]
push edi
push ebp
push edx
call fcn.006b66d0
mov eax, dword [esp + 0x24]
push ebx
push 4
push esi
push ebp
push eax
call fcn.006687e0
push edi
push 0
push 0
push ebp
push esi
push ebx
call fcn.006c3310
mov ecx, dword [esp + 0x78]
add esp, 0x38
test eax, eax
mov dword [ecx], eax
jne 0x6699e3
push 0x93e408
push str.InnoDB:_Error:_cannot_insert_tuple
call fcn.006d079c
push esi
push 0x93e408
call fcn.00667160
push 0x93e408
push str._into
call fcn.006d079c
mov edx, dword [esp + 0x60]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + 0x3c]
push ebp
push ecx
push 0x93e408
call fcn.00665130
mov edx, dword [esp + 0x38]
push edx
push str._nInnoDB:_max_insert_size__lu_n
push 0x93e408
call fcn.006cf108
push 0x423
push str.._btr_btr0cur.c
push 0
call fcn.00651650
mov eax, dword [0x977b18]
mov ecx, dword [eax]
add esp, 0x3c
test ecx, ecx
je 0x6699e3
mov dword [0x977b18], 0
mov esi, dword [esp + 0x38]
push esi
call fcn.0068eb00
mov al, byte [esp + 0x38]
add esp, 4
test al, 2
jne 0x669a0f
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x669a0f
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
push edx
call fcn.00683c60
add esp, 4
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x669a34
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add eax, 2
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call fcn.00668d50
add esp, 0x10
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
mov dword [edx], ecx
mov eax, 0xa
pop ebx
add esp, 0x20
ret
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x6699e3
mov esi, dword [esp + 0x38]
cmp dword [esi + 0x10], 1
jne 0x6699e3
push esi
call fcn.00690120
jmp 0x6699ed