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

Disassembly:
sub esp, 0x670
mov eax, dword [0x93e25c]
mov dword [esp + 0x66c], eax
mov eax, dword [esp + 0x684]
mov ecx, dword [eax + 0x38]
mov eax, dword [ecx + 0x3c]
push ebx
mov dword [esp + 4], 0
mov dword [esp + 0x84], 0x64
mov ecx, dword [eax + 0x18]
test ecx, ecx
push esi
mov dword [esp + 0x10], eax
lea ebx, [esp + 0x88]
mov esi, 0xa
je 0x6a835c
push ebp
push edi
mov edx, dword [esp + 0x688]
mov edx, dword [edx + 0x24]
xor ecx, ecx
test edx, edx
jbe 0x6a7c41
mov eax, dword [esp + 0x690]
mov eax, dword [eax + 0xc]
add eax, 4
mov edi, edi
cmp dword [eax], 0xffffffff
je 0x6a830c
inc ecx
add eax, 0x20
cmp ecx, edx
jb 0x6a7c30
mov ecx, dword [esp + 0x694]
mov eax, dword [ecx + 0x5c]
cmp dword [eax], 4
jne 0x6a7c67
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x6a7c67
mov edx, dword [esp + 0x688]
cmp dword [eax + 0x40], edx
je 0x6a830c
mov eax, dword [esp + 0x684]
test eax, eax
mov eax, dword [esp + 0x688]
je 0x6a7c81
mov ebp, dword [eax + 0x1c]
mov edi, dword [eax + 0x2c]
jmp 0x6a7c87
mov ebp, dword [eax + 0x10]
mov edi, dword [eax + 0x28]
test ebp, ebp
je 0x6a81df
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x6a81df
mov ecx, dword [0x977b10]
xor eax, eax
test edi, edi
setne al
add eax, ecx
jne 0x6a7cd8
push 0x51f
push str.._row_row0ins.c
push str.check_table__check_index
call fcn.00651650
mov edx, dword [0x977b18]
mov eax, dword [edx]
xor esi, esi
add esp, 0xc
cmp eax, esi
je 0x6a7cda
mov dword [0x977b18], esi
jmp 0x6a7cda
xor esi, esi
cmp dword [0x977b14], esi
je 0x6a7cf4
push 0x51f
push str.._row_row0ins.c
call fcn.006516c0
add esp, 8
cmp ebp, dword [esp + 0x68c]
je 0x6a7d1f
mov eax, dword [esp + 0x694]
push eax
push 2
push ebp
push 0
call fcn.00686680
mov esi, eax
add esp, 0x10
cmp esi, 0xa
jne 0x6a818c
xor esi, esi
mov eax, dword [esp + 0x690]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x688]
mov dword [esp + 0x14], ecx
mov ecx, dword [edx + 0x24]
lea edx, [esp + 0x220]
push edx
push esi
mov dword [eax + 8], ecx
lea ecx, [esp + 0x28]
push ecx
push 1
push 2
push eax
push esi
push edi
mov dword [esp + 0x244], esi
mov dword [esp + 0x248], esi
mov dword [esp + 0x460], esi
mov dword [esp + 0x464], esi
mov dword [esp + 0x684], 0x15
mov dword [esp + 0x67c], esi
mov dword [esp + 0x680], esi
mov dword [esp + 0x7c], 0x7514483
mov dword [esp + 0xa8], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x78], 1
mov dword [esp + 0x9c], 2
call fcn.0066bc40
add esp, 0x20
mov dword [esp + 0x78], 0x7711e160
mov dword [esp + 0x80], esi
mov eax, dword [esp + 0x24]
push eax
mov ebp, eax
call fcn.0064bc90
mov esi, eax
movzx edx, byte [esi + 0x2a]
movzx eax, byte [esi + 0x2b]
shl edx, 8
add edx, eax
add esp, 4
test dh, dh
lea eax, [esi + 0x63]
js 0x6a7dec
lea eax, [esi + 0x65]
cmp ebp, eax
je 0x6a7ff6
push 0x545
push str.._row_row0ins.c
lea ecx, [esp + 0x18]
push ecx
push 0xffffffffffffffff
push ebx
push edi
push ebp
call fcn.006b25d0
movzx edx, byte [esi + 0x2a]
mov ebx, eax
movzx eax, byte [esi + 0x2b]
shl edx, 8
add edx, eax
add esp, 0x1c
test dh, dh
lea eax, [esi + 0x70]
js 0x6a7e29
lea eax, [esi + 0x74]
cmp ebp, eax
jne 0x6a7e74
test byte [edi + 0xc], 1
je 0x6a7e4b
mov ecx, dword [esp + 0x694]
push ecx
push 0
push 4
push ebx
push edi
push ebp
push 0
call fcn.00687000
jmp 0x6a7e61
mov edx, dword [esp + 0x694]
push edx
push 0
push 4
push ebx
push edi
push ebp
push 0
call fcn.00686eb0
add esp, 0x1c
cmp eax, 0xa
mov esi, eax
jne 0x6a8164
jmp 0x6a7ff6
mov eax, dword [esp + 0x690]
push ebx
push ebp
push eax
call fcn.006b5210
add esp, 0xc
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x6a7f95
mov eax, dword [ebx + 8]
test eax, eax
jns 0x6a7ea0
xor eax, eax
mov al, byte [ebp - 5]
jmp 0x6a7ea5
xor eax, eax
mov al, byte [ebp - 6]
and eax, 0x20
test eax, eax
mov al, byte [edi + 0xc]
je 0x6a7ef4
test al, 1
je 0x6a7ecb
mov ecx, dword [esp + 0x694]
push ecx
push 0
push 4
push ebx
push edi
push ebp
push 0
call fcn.00687000
jmp 0x6a7ee1
mov edx, dword [esp + 0x694]
push edx
push 0
push 4
push ebx
push edi
push ebp
push 0
call fcn.00686eb0
add esp, 0x1c
cmp eax, 0xa
mov esi, eax
jne 0x6a8164
jmp 0x6a7f9b
test al, 1
je 0x6a7f13
mov eax, dword [esp + 0x694]
push eax
push 0x400
push 4
push ebx
push edi
push ebp
push 0
call fcn.00687000
jmp 0x6a7f2c
mov ecx, dword [esp + 0x694]
push ecx
push 0x400
push 4
push ebx
push edi
push ebp
push 0
call fcn.00686eb0
add esp, 0x1c
cmp eax, 0xa
mov esi, eax
jne 0x6a8164
mov eax, dword [esp + 0x684]
test eax, eax
jne 0x6a815f
mov edx, dword [esp + 0x688]
mov eax, dword [edx + 8]
test eax, eax
je 0x6a8091
mov ecx, dword [esp + 0x690]
lea eax, [esp + 0x220]
push eax
mov eax, dword [esp + 0x68c]
push ecx
mov ecx, dword [esp + 0x69c]
lea edx, [esp + 0x28]
push edx
push eax
push ecx
call fcn.006a7460
mov esi, eax
add esp, 0x14
cmp esi, 0xa
jne 0x6a8164
jmp 0x6a7f9b
jl 0x6a80bf
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x977b10]
xor edx, edx
test ecx, ecx
sete dl
add edx, eax
jne 0x6a7fdb
push 0x59c
push str.._row_row0ins.c
push str.cmp__0
call fcn.00651650
mov eax, dword [0x977b18]
mov ecx, dword [eax]
add esp, 0xc
test ecx, ecx
je 0x6a7fdb
mov dword [0x977b18], 0
mov eax, dword [0x977b14]
test eax, eax
je 0x6a7ff6
push 0x59c
push str.._row_row0ins.c
call fcn.006516c0
add esp, 8
mov ecx, dword [esp + 0x24]
mov eax, ecx
and eax, 0x3fff
cmp eax, 0x70
mov esi, 0x7514483
mov dword [esp + 0x5c], esi
je 0x6a8014
cmp eax, 0x74
jne 0x6a807b
push ecx
call fcn.0064bc90
movzx ecx, byte [eax + 0xc]
movzx edx, byte [eax + 0xd]
add eax, 0xc
shl ecx, 8
add ecx, edx
movzx edx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl ecx, 8
add ecx, edx
shl ecx, 8
add ecx, eax
add esp, 4
cmp ecx, 0xffffffff
jne 0x6a8061
mov ecx, dword [esp + 0x24]
mov eax, ecx
and eax, 0x3fff
cmp eax, 0x70
je 0x6a8131
cmp eax, 0x74
je 0x6a8131
lea ecx, [esp + 0x220]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.006a3560
add esp, 8
jmp 0x6a7dc4
push ecx
call fcn.0064bff0
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x5c], esi
jmp 0x6a7dc8
mov eax, dword [esp + 0x690]
mov ecx, dword [esp + 0x688]
push eax
mov eax, dword [esp + 0x698]
push ebp
push str.Trying_to_delete_or_update
call fcn.006a7050
add esp, 0xc
mov esi, 0x25
jmp 0x6a8164
test byte [edi + 0xc], 1
je 0x6a80e0
mov ecx, dword [esp + 0x694]
push ecx
push 0x200
push 4
push ebx
push edi
push ebp
push 0
call fcn.00687000
jmp 0x6a80f9
mov edx, dword [esp + 0x694]
push edx
push 0x200
push 4
push ebx
push edi
push ebp
push 0
call fcn.00686eb0
add esp, 0x1c
cmp eax, 0xa
mov esi, eax
jne 0x6a8164
mov eax, dword [esp + 0x684]
test eax, eax
je 0x6a815f
mov eax, dword [esp + 0x690]
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x68c]
push ebp
mov esi, 0x24
call fcn.006a71e0
add esp, 8
jmp 0x6a8164
mov eax, dword [esp + 0x684]
test eax, eax
je 0x6a815f
mov edx, dword [esp + 0x690]
mov eax, dword [esp + 0x688]
push edx
push ecx
mov ecx, dword [esp + 0x20]
call fcn.006a71e0
mov esi, 0x24
add esp, 8
jmp 0x6a8164
mov esi, 0xa
lea eax, [esp + 0x20]
push eax
call fcn.0064c370
lea ecx, [esp + 0x224]
push ecx
call fcn.006a0660
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x698]
add esp, 8
mov dword [eax + 8], edx
cmp esi, 0xe
jne 0x6a830c
mov edi, dword [esp + 0x18]
mov dword [edi + 0x158], esi
mov esi, dword [esp + 0x694]
push esi
call fcn.006a1240
push esi
call fcn.00646910
mov eax, dword [edi + 0x158]
mov esi, 0xa
add esp, 8
cmp eax, esi
jne 0x6a81d4
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x6a7c11
jmp 0x6a830c
mov esi, dword [edi + 0x158]
jmp 0x6a830c
mov eax, dword [esp + 0x684]
test eax, eax
je 0x6a830c
mov edi, dword [esp + 0x688]
mov esi, dword [esp + 0x18]
mov ebp, dword [0x978ea4]
call fcn.006a6f80
mov ebx, 0x97b624
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x14]
mov edx, 1
xchg dword [ecx], edx
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x6a823b
push 0x506
push str.._row_row0ins.c
push 0x97b620
call fcn.00656980
add esp, 0xc
push ebp
call fcn.006d0b95
push ebp
call fcn.00658930
push ebp
push str._Transaction:_n
call fcn.006d079c
push 0x258
push esi
push ebp
call fcn.00649ee0
push ebp
push str.Foreign_key_constraint_fails_for_table
call fcn.006d079c
mov ecx, dword [edi + 0xc]
push ecx
push esi
push ebp
call fcn.00658dc0
push ebp
push 0x7ef630
call fcn.006d079c
push 1
push edi
push esi
push ebp
call fcn.00664d50
add esp, 0x48
push ebp
push str._nTrying_to_add_to_index
call fcn.006d079c
mov edx, dword [edi + 0x28]
mov eax, dword [edx + 0x10]
push eax
push esi
push ebp
call fcn.00658dc0
push ebp
push str._tuple:_n
call fcn.006d079c
mov ecx, dword [esp + 0x6ac]
push ecx
push ebp
call fcn.00667160
push ebp
push str._nBut_the_parent_table
call fcn.006d079c
mov edx, dword [edi + 0x18]
push edx
push esi
push ebp
call fcn.00658dc0
push ebp
push str._nor_its_.ibd_file_does_not_currently_exist__n
call fcn.006d079c
add esp, 0x40
mov dword [esp + 0x14], ebx
mov edx, 0
mov ecx, dword [esp + 0x14]
xchg dword [ecx], edx
mov eax, dword [0x97b628]
test eax, eax
je 0x6a8307
push 0x97b620
call fcn.00656b20
add esp, 4
mov esi, 0x24
mov eax, dword [esp + 0x10]
test eax, eax
je 0x6a8343
mov ecx, dword [eax + 0x38]
test ecx, ecx
mov edi, dword [eax + 0x18]
mov ebx, eax
je 0x6a8329
push eax
call fcn.006520d0
add esp, 4
test edi, edi
je 0x6a8343
lea ecx, [ecx]
mov ebp, dword [edi + 0x1c]
push edi
push ebx
call fcn.00651fd0
add esp, 8
test ebp, ebp
mov edi, ebp
jne 0x6a8330
pop edi
pop ebp
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x66c]
call fcn.006cedd0
add esp, 0x670
ret
mov ecx, dword [esp + 0x674]
mov eax, esi
pop esi
pop ebx
call fcn.006cedd0
add esp, 0x670
ret