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

Disassembly:
sub esp, 0x64
push ebx
mov ebx, ecx
xor eax, eax
push ebp
push esi
push edi
mov ebp, dword [ebx]
mov edi, edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], eax
cmp byte [ebp + 0x41], al
jne 0x44064f
cmp byte [ebx + 0x1bf], al
jne 0x44064f
cmp dword [ebx + 0x40], eax
jg 0x44064f
call fcn.0044b8b4
test eax, eax
jne 0x44064f
cmp dword [esp + 0x7c], eax
je 0x43fd87
mov esi, dword [esp + 0x78]
lea eax, [esp + 0x2c]
push eax
push esi
mov edx, edi
mov ecx, ebx
call fcn.0043d854
mov edi, eax
mov dword [esp + 0x24], edi
pop ecx
pop ecx
test edi, edi
js 0x44064f
cmp byte [ebp + 0x91], 0
jne 0x43fd0b
mov edx, dword [esp + 0x7c]
mov ecx, ebx
call fcn.00441abe
cmp dword [esi + 4], 0
jne 0x43fd0b
test eax, eax
je 0x43fd0b
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax + 0x40]
push 1
cmp eax, dword [ecx + 0x1c]
pop eax
cmove edi, eax
mov dword [esp + 0x1c], edi
push dword [esp + 0x2c]
mov edx, ebx
lea ecx, [esp + 0x5c]
push str.index
push edi
call fcn.0043ca5f
mov esi, dword [esp + 0x88]
add esp, 0xc
mov edx, esi
call fcn.0043ca97
lea eax, [esi + 8]
xor edx, edx
push eax
mov ecx, ebx
call fcn.0043d398
mov esi, eax
mov dword [esp + 0x2c], esi
pop ecx
test esi, esi
je 0x44064f
xor eax, eax
inc eax
cmp edi, eax
jne 0x43fd74
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, dword [esi + 0x40]
je 0x43fd74
push dword [esi]
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push ebx
call fcn.00415d7f
add esp, 0xc
jmp 0x44064f
test byte [esi + 0x2a], 0x20
je 0x43fda9
mov ecx, esi
call fcn.0043d90c
mov dword [esp + 0x30], eax
jmp 0x43fda9
mov esi, dword [ebx + 0x1e0]
mov dword [esp + 0x28], esi
test esi, esi
je 0x44064f
mov edx, dword [esi + 0x40]
mov ecx, ebp
call fcn.0044b984
mov edi, eax
mov dword [esp + 0x1c], edi
mov eax, dword [ebp + 0x10]
mov ecx, edi
mov edi, dword [esi]
shl ecx, 4
push 7
add eax, ecx
mov dword [esp + 0x54], ecx
push str.sqlite_
push edi
mov dword [esp + 0x2c], eax
call fcn.00415e6d
add esp, 0xc
test eax, eax
jne 0x43fdfb
cmp byte [ebp + 0x91], al
jne 0x43fdfb
push 9
lea eax, [edi + 7]
push str.altertab_
push eax
call fcn.00415e6d
add esp, 0xc
test eax, eax
je 0x43fdfb
push edi
push str.table__s_may_not_be_indexed
jmp 0x43fd66
cmp dword [esi + 0xc], 0
je 0x43fe13
push str.views_may_not_be_indexed
push ebx
call fcn.00415d7f
pop ecx
pop ecx
jmp 0x44064f
test byte [esi + 0x2a], 0x10
je 0x43fe20
push str.virtual_tables_may_not_be_indexed
jmp 0x43fe06
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x43feb6
mov edx, eax
mov ecx, ebp
call fcn.0043d76e
mov dword [esp + 0x18], eax
test eax, eax
je 0x44064f
mov edx, eax
mov ecx, ebx
call fcn.0043d8bd
test eax, eax
jne 0x44064f
cmp byte [ebp + 0x91], al
jne 0x43fe78
mov edi, dword [esp + 0x18]
mov ecx, ebp
push eax
mov edx, edi
call fcn.0043d271
pop ecx
test eax, eax
je 0x43fe78
push edi
push str.there_is_already_a_table_named__s
jmp 0x43fd66
mov edi, dword [esp + 0x20]
mov ecx, ebp
mov edx, dword [esp + 0x18]
push dword [edi]
call fcn.0043d3d4
pop ecx
test eax, eax
je 0x43fee6
cmp dword [esp + 0x94], 0
jne 0x43fea6
push dword [esp + 0x18]
push str.index__s_already_exists
jmp 0x43fd66
mov edx, dword [esp + 0x1c]
mov ecx, ebx
call fcn.00440ee1
jmp 0x44064f
mov eax, dword [esi + 8]
xor ecx, ecx
inc ecx
jmp 0x43fec2
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x43febe
push ecx
push edi
push str.sqlite_autoindex__s__d
push ebp
call fcn.0041535b
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
je 0x44064f
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
mov edx, str.sqlite_temp_master
mov edi, dword [esp + 0x1c]
mov ecx, str.sqlite_master
push eax
cmp edi, 1
mov dword [esp + 0x40], eax
push 0
cmove ecx, edx
push ecx
mov dword [esp + 0x60], ecx
mov ecx, ebx
push 0x12
pop edx
call fcn.0043cdfd
add esp, 0xc
test eax, eax
jne 0x44064f
push dword [esp + 0x3c]
inc eax
mov ecx, ebx
push dword [esi]
cmp edi, eax
push dword [esp + 0x20]
push 3
pop edx
cmovne edx, eax
call fcn.0043cdfd
add esp, 0xc
test eax, eax
jne 0x44064f
mov ecx, dword [esp + 0x80]
test ecx, ecx
jne 0x43ffa5
movsx eax, word [esi + 0x22]
imul ecx, eax, 0x18
mov eax, dword [esi + 4]
mov ecx, dword [ecx + eax - 0x18]
mov dword [esp + 0x3c], ecx
call fcn.00415cec
mov dword [esp + 0x40], eax
mov ecx, ebp
push 0
lea eax, [esp + 0x40]
push eax
push 0x1b
pop edx
call fcn.004370aa
push eax
xor edx, edx
mov ecx, ebx
call fcn.00437ce1
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x80], ecx
test ecx, ecx
je 0x44064f
mov edx, dword [esp + 0x90]
call fcn.00437d66
jmp 0x43ffc8
mov eax, dword [ebx]
mov edi, dword [ecx]
cmp edi, dword [eax + 0x60]
jle 0x43ffca
push str.index
push str.too_many_columns_in__s
push ebx
call fcn.00415d7f
mov ecx, dword [esp + 0x8c]
add esp, 0xc
mov edi, dword [ecx]
test edi, edi
jle 0x440003
mov eax, dword [ecx + 4]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
mov ecx, dword [eax]
cmp byte [ecx], 0x5f
jne 0x43ffef
mov ecx, dword [ecx + 8]
call fcn.00415cec
inc eax
add esi, eax
mov eax, dword [esp + 0x3c]
add eax, 0x18
mov dword [esp + 0x3c], eax
sub edi, 1
jne 0x43ffd9
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
call fcn.00415cec
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
test ecx, ecx
je 0x44001e
movzx ecx, word [ecx + 0x32]
jmp 0x440021
xor ecx, ecx
inc ecx
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x28]
inc edx
add eax, edx
push eax
mov eax, dword [esp + 0x88]
movzx edx, word [eax]
add dx, cx
mov ecx, ebp
call fcn.0043fbeb
cmp byte [ebp + 0x41], 0
mov edi, eax
pop ecx
pop ecx
jne 0x440642
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [edi], eax
inc eax
add eax, ecx
mov dword [esp + 0x34], eax
lea eax, [ecx + 1]
push eax
push dword [esp + 0x1c]
push dword [edi]
call fcn.0047e230
mov eax, dword [esp + 0x90]
add esp, 0xc
mov byte [edi + 0x36], al
neg eax
mov dword [edi + 0xc], esi
sbb ecx, ecx
mov eax, dword [edi + 0x38]
and eax, 0xfffffff7
and ecx, 8
or ecx, eax
xor eax, eax
and ecx, 0xfffffffc
cmp dword [esp + 0x2c], eax
sete al
or ecx, eax
mov dword [edi + 0x38], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x50]
mov eax, dword [eax + ecx + 0xc]
mov ecx, dword [esp + 0x80]
mov dword [edi + 0x18], eax
mov ax, word [ecx]
mov word [edi + 0x32], ax
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4400f1
push 0
push eax
push 0x10
mov edx, esi
mov ecx, ebx
call fcn.00436b4d
mov eax, dword [esp + 0x98]
add esp, 0xc
and dword [esp + 0x8c], 0
mov ecx, dword [esp + 0x80]
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x24], edx
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4c]
mov byte [esp + 0x17], al
mov eax, dword [ecx + 4]
mov dword [esp + 0x20], eax
cmp dword [ecx], edx
jle 0x44028d
and dword [esp + 0x3c], edx
mov ecx, dword [eax]
call fcn.0043e043
mov eax, dword [esp + 0x20]
mov edx, esi
push 0
mov ecx, ebx
push dword [eax]
push 0x20
call fcn.00436b4d
xor edx, edx
add esp, 0xc
cmp dword [ebx + 0x40], edx
jne 0x440642
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
call fcn.00436cca
cmp byte [eax], 0x9a
je 0x4401a1
cmp esi, dword [ebx + 0x1e0]
je 0x4402dd
cmp dword [edi + 0x28], edx
jne 0x440185
push edx
mov edx, dword [esp + 0x84]
mov ecx, ebp
call fcn.0043791c
mov dword [edi + 0x28], eax
cmp byte [ebp + 0x41], 0
pop ecx
jne 0x440185
mov eax, dword [eax + 4]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x24]
push 0xfffffffffffffffe
pop eax
mov edx, eax
mov eax, dword [edi + 4]
push edx
pop ebx
mov word [eax + ecx*2], bx
and dword [edi + 0x38], 0xfffffff7
mov ebx, dword [esp + 0x44]
jmp 0x4401cb
movsx edx, word [eax + 0x20]
test edx, edx
jns 0x4401af
movsx edx, word [esi + 0x20]
jmp 0x4401c0
mov eax, dword [esi + 4]
imul ecx, edx, 0x18
cmp byte [ecx + eax + 0x14], 0
jne 0x4401c0
and dword [edi + 0x38], 0xfffffff7
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x24]
mov word [eax + ecx*2], dx
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
cmp byte [eax], 0x5f
jne 0x44020a
mov ecx, dword [eax + 8]
call fcn.00415cec
lea esi, [eax + 1]
mov eax, dword [esp + 0x38]
push esi
push dword [eax + 8]
push dword [esp + 0x3c]
call fcn.0047e230
mov eax, dword [esp + 0x40]
add esp, 0xc
lea ecx, [esi + eax]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
jmp 0x440218
test edx, edx
js 0x440220
mov eax, dword [esi + 4]
imul ecx, edx, 0x18
mov eax, dword [ecx + eax + 0x10]
mov dword [esp + 0x38], eax
test eax, eax
jne 0x440229
mov eax, str.BINARY
mov dword [esp + 0x38], eax
cmp byte [ebp + 0x91], 0
jne 0x440243
mov edx, eax
mov ecx, ebx
call fcn.0043e303
test eax, eax
je 0x440642
mov edx, dword [esp + 0x24]
mov eax, dword [edi + 0x20]
mov ecx, dword [esp + 0x38]
mov dword [eax + edx*4], ecx
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + 0xc]
xor eax, eax
cmp byte [esp + 0x17], 4
cmovb ecx, eax
mov eax, dword [edi + 0x1c]
add dword [esp + 0x3c], 0x18
mov byte [edx + eax], cl
inc edx
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x20]
add eax, 0x18
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
cmp edx, dword [ecx]
jl 0x440118
mov eax, dword [esp + 0x30]
test eax, eax
je 0x44032a
and dword [esp + 0x3c], 0
xor ecx, ecx
cmp cx, word [eax + 0x32]
jae 0x44033e
mov esi, dword [esp + 0x3c]
mov ebx, eax
mov ebp, dword [esp + 0x24]
mov eax, dword [ebx + 4]
mov ecx, dword [edi + 4]
movzx edx, word [edi + 0x32]
movzx eax, word [eax + esi*2]
mov dword [esp + 0x3c], eax
cwde
push eax
call fcn.0043e6de
pop ecx
test eax, eax
je 0x4402ef
mov eax, 0xffff
add word [edi + 0x34], ax
jmp 0x440313
push str.expressions_prohibited_in_PRIMARY_KEY_and_UNIQUE_constraints
push ebx
call fcn.00415d7f
pop ecx
pop ecx
jmp 0x440642
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x3c]
mov word [ecx + ebp*2], ax
mov eax, dword [ebx + 0x20]
mov ecx, dword [edi + 0x20]
mov eax, dword [eax + esi*4]
mov dword [ecx + ebp*4], eax
mov eax, dword [ebx + 0x1c]
mov ecx, dword [edi + 0x1c]
mov al, byte [esi + eax]
mov byte [ecx + ebp], al
inc ebp
movzx eax, word [ebx + 0x32]
inc esi
cmp esi, eax
jl 0x4402b4
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x28]
jmp 0x44033e
mov eax, dword [edi + 4]
or ecx, 0xffffffff
mov word [eax + edx*2], cx
mov eax, dword [edi + 0x20]
mov dword [eax + edx*4], str.BINARY
mov ecx, edi
call fcn.004406a7
mov eax, dword [ebx + 0x1e0]
test eax, eax
jne 0x44035c
mov ecx, edi
call fcn.0043e68d
mov eax, dword [ebx + 0x1e0]
cmp esi, eax
jne 0x44041b
mov ecx, dword [esi + 8]
jmp 0x44040f
movzx eax, word [ecx + 0x32]
mov edx, eax
mov dword [esp + 0x24], edx
movzx edx, word [edi + 0x32]
cmp ax, dx
jne 0x44040c
xor edx, edx
and dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
cmp word [esp + 0x38], ax
jae 0x440401
mov eax, dword [edi + 4]
mov esi, dword [ecx + 4]
sub eax, esi
movzx ebp, word [ecx + 0x32]
mov ebx, eax
mov dword [esp + 0x38], eax
mov ax, word [esi]
cmp ax, word [ebx + esi]
jne 0x4403f1
mov eax, dword [ecx + 0x20]
mov eax, dword [eax + edx*4]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x20]
mov eax, dword [eax + edx*4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x38]
je 0x4403e5
push dword [esp + 0x38]
push eax
call fcn.00415e09
mov edx, dword [esp + 0x44]
pop ecx
pop ecx
test eax, eax
jne 0x4403f1
mov ecx, dword [esp + 0x30]
inc edx
add esi, 2
mov dword [esp + 0x3c], edx
cmp edx, ebp
jl 0x4403a6
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
movzx eax, ax
cmp edx, eax
je 0x440442
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x30], ecx
test ecx, ecx
jne 0x44036c
cmp byte [ebp + 0x91], 0
je 0x44049d
mov ecx, dword [edi + 0x18]
mov edx, dword [edi]
add ecx, 0x18
push edi
call fcn.00417138
pop ecx
test eax, eax
je 0x44047f
xor eax, eax
inc eax
mov byte [ebp + 0x41], al
jmp 0x440642
mov al, byte [ecx + 0x36]
mov dl, byte [edi + 0x36]
cmp al, dl
je 0x440476
cmp al, 0xa
je 0x440470
cmp dl, 0xa
je 0x44046c
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push ebx
call fcn.00415d7f
mov ecx, dword [esp + 0x3c]
add esp, 0xc
mov al, byte [ecx + 0x36]
cmp al, 0xa
jne 0x440476
mov al, byte [edi + 0x36]
mov byte [ecx + 0x36], al
mov dword [esp + 0x48], ecx
jmp 0x440642
or dword [ebp + 0x18], 2
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x44060f
mov eax, dword [ebp + 0x8c]
mov dword [edi + 0x2c], eax
jmp 0x44060b
test byte [esi + 0x2a], 0x20
je 0x4404af
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x44060f
inc dword [ebx + 0x48]
mov ecx, ebx
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x44], eax
call fcn.0044db00
mov dword [esp + 0x30], eax
test eax, eax
je 0x440642
push dword [esp + 0x1c]
xor eax, eax
mov ecx, ebx
lea edx, [eax + 1]
call fcn.00440f82
pop ecx
mov ecx, dword [esp + 0x30]
xor eax, eax
push eax
push eax
push eax
mov edx, 0x9f
call fcn.00429abf
mov ecx, dword [esp + 0x3c]
add esp, 0xc
mov dword [edi + 0x2c], eax
push 0
push dword [esp + 0x48]
push dword [esp + 0x24]
push 0x79
pop edx
call fcn.00429abf
add esp, 0xc
cmp dword [esp + 0x88], 0
je 0x440560
mov edx, dword [ebx + 0x1f8]
add edx, dword [ebx + 0x1f4]
mov eax, dword [esp + 0x2c]
mov ecx, edx
sub ecx, dword [eax]
push dword [eax]
cmp byte [edx - 1], 0x3b
lea eax, [ecx - 1]
cmovne eax, ecx
cmp dword [esp + 0x88], 0
push eax
mov ecx, str._UNIQUE
mov eax, 0x4b015b
cmovne eax, ecx
push eax
push str.CREATE_s_INDEX__.s
push ebp
call fcn.0041535b
add esp, 0x14
jmp 0x440562
xor eax, eax
mov ecx, dword [esp + 0x50]
push eax
push dword [esp + 0x48]
mov dword [esp + 0x54], eax
push dword [esi]
mov eax, dword [ebp + 0x10]
push dword [edi]
push dword [esp + 0x64]
push dword [eax + ecx]
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q__d__Q__
push ebx
call fcn.0043d1c7
mov edx, dword [esp + 0x6c]
add esp, 0x20
mov ecx, ebp
call fcn.00413e42
cmp dword [esp + 0x7c], 0
je 0x4405ed
push dword [esp + 0x44]
mov edx, edi
mov ecx, ebx
call fcn.0043f8eb
mov edx, dword [esp + 0x20]
pop ecx
mov ecx, ebx
call fcn.0043e342
push dword [edi]
push str.name_q_AND_typeindex
push ebp
call fcn.0041535b
mov ebx, dword [esp + 0x3c]
add esp, 0xc
mov edx, dword [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.00429c4b
pop ecx
xor eax, eax
mov edx, 0x93
push eax
push eax
push eax
mov ecx, ebx
call fcn.00429abf
add esp, 0xc
jmp 0x4405f1
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
mov edx, dword [edi + 0x2c]
dec ecx
mov dword [eax + 0x58], ecx
mov ecx, ebx
call fcn.0042a11a
mov ecx, dword [ebx + 0x20]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x7c]
cmp byte [ebp + 0x91], 0
jne 0x44061c
test eax, eax
jne 0x440642
cmp dword [esp + 0x84], 5
jne 0x440633
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x440633
cmp byte [ecx + 0x36], 5
jne 0x440695
mov eax, dword [esi + 8]
mov dword [edi + 0x14], eax
mov dword [esi + 8], edi
mov dword [esp + 0x48], edi
xor edi, edi
test edi, edi
je 0x44064f
mov edx, edi
mov ecx, ebp
call fcn.0043d448
mov edx, dword [esp + 0x8c]
mov ecx, ebp
call fcn.00437583
mov edx, dword [esp + 0x80]
mov ecx, ebp
call fcn.00437db3
mov edx, dword [esp + 0x7c]
mov ecx, ebp
call fcn.00440bbc
mov edx, dword [esp + 0x18]
mov ecx, ebp
call fcn.00413e42
mov eax, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
cmp byte [eax + 0x36], 5
je 0x44069c
mov ecx, eax
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x44068d
mov eax, dword [ecx + 0x14]
mov dword [edi + 0x14], eax
mov dword [ecx + 0x14], edi
jmp 0x44063c