Function at 0x43fd01
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x1c], edx
cmp dword [edi + 0x24], 0
mov ecx, dword [edi]
mov dword [ebp - 8], ecx
jne 0x43ffbd
mov esi, dword [edi + 0xf8]
mov dword [ebp - 0x14], esi
mov edx, dword [esi + 0x3c]
call fcn.004577d1
mov ecx, dword [ecx + 0x10]
mov edx, eax
mov ebx, dword [esi]
add edx, edx
mov dword [ebp - 0xc], eax
add ebx, 0x10
mov eax, dword [ecx + edx*8]
movsx ecx, word [esi + 0x22]
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
shl ecx, 4
add eax, 0xfffffff0
add eax, ecx
mov ecx, esi
mov edx, eax
mov dword [ebp - 0x18], eax
call fcn.00444d74
push dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, ebx
mov esi, eax
call fcn.00444719
pop ecx
push 0
mov ecx, edi
mov dword [ebp - 0x20], eax
push dword [eax]
push dword [ebp - 4]
push 0x1a
pop edx
call fcn.00444203
add esp, 0xc
test eax, eax
jne 0x43ffbd
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 0xe]
test al, 1
je 0x43fdab
push str.Cannot_add_a_PRIMARY_KEY_column
push edi
call fcn.0040f67c
pop ecx
pop ecx
jmp 0x43ffbd
mov edx, dword [ebp - 0x14]
cmp dword [edx + 8], 0
je 0x43fdbb
push str.Cannot_add_a_UNIQUE_column
jmp 0x43fd9e
test al, 0x60
jne 0x43fe79
test esi, esi
je 0x43fdd2
mov eax, dword [esi + 0xc]
xor ecx, ecx
cmp byte [eax], 0x79
cmove esi, ecx
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x20]
and eax, 0x4000
or eax, 0
je 0x43fe06
cmp dword [edx + 0x30], 0
je 0x43fe06
test esi, esi
je 0x43fe06
push ebx
push dword [ebp - 4]
push str.Cannot_add_a_REFERENCES_column_with_non_NULL_default_value
push str.SELECT_raise_ABORT__Q__FROM___w_.__w_
push edi
call fcn.0044465f
mov ecx, dword [ebp - 8]
add esp, 0x14
mov eax, dword [ebp - 0x18]
test byte [eax + 4], 0xf
je 0x43fe1e
test esi, esi
jne 0x43fe22
push ebx
push dword [ebp - 4]
push str.Cannot_add_a_NOT_NULL_column_with_default_value_NULL
jmp 0x43fe86
test esi, esi
je 0x43fe94
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push ecx
push eax
push 0x41
push 1
mov edx, esi
call fcn.00428584
add esp, 0x10
test eax, eax
jne 0x43ffbd
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x43fe66
push ebx
push dword [ebp - 4]
push str.Cannot_add_a_column_with_non_constant_default
push str.SELECT_raise_ABORT__Q__FROM___w_.__w_
push edi
call fcn.0044465f
mov esi, dword [ebp - 0x10]
add esp, 0x14
test esi, esi
je 0x43fe94
mov ecx, esi
call fcn.00427b80
mov ecx, dword [esi + 0x14]
mov edx, esi
call fcn.0040c8db
jmp 0x43fe94
test al, 0x40
je 0x43fe94
push ebx
push dword [ebp - 4]
push str.cannot_add_a_STORED_column
push str.SELECT_raise_ABORT__Q__FROM___w_.__w_
push edi
call fcn.0044465f
add esp, 0x14
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
push 0
push dword [eax + 4]
mov edx, dword [eax]
call fcn.0040cde3
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x43fef9
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx + 4]
dec ecx
add ecx, esi
jmp 0x43fecf
mov al, byte [ecx]
cmp al, 0x3b
je 0x43fecb
movzx eax, al
test byte [eax + 0x63a188], 1
je 0x43fed3
mov byte [ecx], 0
dec ecx
cmp ecx, esi
ja 0x43feb9
mov eax, dword [ebp - 0x14]
push ebx
push dword [eax + 0x2c]
push esi
push dword [eax + 0x2c]
push dword [ebp - 4]
push str.UPDATE___w_.sqlite_master_SET_sql__printf___._ds___sql____Q__substr_sql_1length_printf___._ds_sql____WHERE_type__table_AND_name___Q
push edi
call fcn.0044465f
mov ecx, dword [ebp - 8]
add esp, 0x1c
mov edx, esi
call fcn.0040c8db
mov ecx, edi
call fcn.0045a1f8
mov dword [ebp - 8], eax
test eax, eax
je 0x43ffbd
mov ecx, edi
call fcn.0043f8f4
mov ecx, dword [ebp - 8]
mov esi, eax
push 2
push esi
push dword [ebp - 0xc]
push 0x63
pop edx
call fcn.00428b9f
mov ecx, dword [ebp - 8]
add esp, 0xc
mov edx, dword [ebp - 0xc]
call fcn.004296d9
mov ecx, dword [ebp - 8]
push 0
push 0xfffffffffffffffe
push esi
push 0x56
pop edx
call fcn.00428b9f
mov ecx, dword [ebp - 8]
add esp, 0xc
mov eax, dword [ecx + 0x6c]
push 0
add eax, 2
push eax
push esi
push 0x3b
pop edx
call fcn.00428b9f
mov ecx, dword [ebp - 8]
add esp, 0xc
push 3
push 2
push dword [ebp - 0xc]
push 0x64
pop edx
call fcn.00428b9f
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.0043f913
mov edx, dword [ebp - 0xc]
push 3
call fcn.0043fa43
mov eax, dword [ebp - 0x14]
pop ecx
cmp dword [eax + 0x10], 0
jne 0x43ffab
mov eax, dword [ebp - 0x18]
test byte [eax + 4], 0xf
je 0x43ff9f
test byte [eax + 0xe], 0x60
jne 0x43ffab
mov eax, dword [ebp - 0x20]
test dword [eax + 0x1c], 0x10000
je 0x43ffbd
push dword [ebp - 4]
push ebx
push str.SELECT_CASE_WHEN_quick_check_GLOB_CHECK_THEN_raise_ABORT_CHECK_constraint_failed__WHEN_quick_check_GLOB_non__value_in_THEN_raise_ABORT_type_mismatch_on_DEFAULT__ELSE_raise_ABORT_NOT_NULL_constraint_failed__END__FROM_pragma_quick_check__Q__Q__WHERE_quick_check_GLOB_CHECK_OR_quick_check_GLOB_NULL_OR_quick_check_GLOB_non__value_in
push edi
call fcn.0044465f
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret