Function at 0x447bd0
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0x14
push ebp
mov ebp, dword [esp + 0x1c]
cmp dword [ebp + 0x24], 0
push edi
mov edi, dword [ebp]
mov dword [esp + 8], edi
jne 0x447e92
push ebx
mov ebx, dword [ebp + 0xf4]
mov edx, dword [ebx + 0x3c]
push esi
mov ecx, edi
call fcn.00415690
mov ecx, dword [edi + 0x10]
mov esi, dword [ebx]
mov dword [esp + 0x14], eax
shl eax, 4
mov edx, dword [eax + ecx]
movsx eax, word [ebx + 0x22]
mov ecx, dword [ebx + 4]
shl eax, 4
lea ecx, [eax + ecx - 0x10]
add esi, 0x10
mov eax, ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ecx
call fcn.00414120
mov edx, dword [esp + 0x18]
push edx
push esi
mov dword [esp + 0x30], eax
call fcn.00413da0
mov eax, dword [eax]
mov edi, dword [esp + 0x20]
push 0
push eax
push edi
push 0x1a
mov eax, ebp
call fcn.0042dbd0
add esp, 0x18
test eax, eax
jne 0x447e90
mov ecx, dword [esp + 0x1c]
movzx eax, word [ecx + 0xe]
test al, 1
je 0x447c7f
push str.Cannot_add_a_PRIMARY_KEY_column
mov edi, ebp
call fcn.0042b190
add esp, 4
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x14
ret
cmp dword [ebx + 8], 0
je 0x447c9c
push str.Cannot_add_a_UNIQUE_column
mov edi, ebp
call fcn.0042b190
add esp, 4
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x14
ret
test al, 0x60
jne 0x447d58
mov edx, dword [esp + 0x28]
test edx, edx
je 0x447cc0
mov eax, dword [edx + 0xc]
cmp byte [eax], 0x79
jne 0x447cc0
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x20]
and eax, 0x4000
xor ecx, ecx
or eax, ecx
je 0x447cf1
cmp dword [ebx + 0x30], ecx
je 0x447cf1
test edx, edx
je 0x447cf1
push str.Cannot_add_a_REFERENCES_column_with_non_NULL_default_value
push ebp
mov eax, esi
mov ecx, edi
call fcn.0043cd90
mov edx, dword [esp + 0x30]
add esp, 8
mov eax, dword [esp + 0x1c]
test byte [eax + 4], 0xf
je 0x447d06
test edx, edx
jne 0x447d0a
push str.Cannot_add_a_NOT_NULL_column_with_default_value_NULL
jmp 0x447d61
test edx, edx
je 0x447d6e
mov ecx, dword [esp + 0x10]
push 0x41
push 1
push ecx
lea ecx, [esp + 0x34]
mov eax, edx
mov dword [esp + 0x34], 0
call fcn.0043a0f0
add esp, 0xc
test eax, eax
jne 0x447e90
cmp dword [esp + 0x28], eax
jne 0x447d49
push str.Cannot_add_a_column_with_non_constant_default
push ebp
mov eax, esi
mov ecx, edi
call fcn.0043cd90
add esp, 8
mov esi, dword [esp + 0x28]
call fcn.00410e00
mov esi, dword [esp + 0x20]
jmp 0x447d6e
test al, 0x40
je 0x447d6e
push str.cannot_add_a_STORED_column
push ebp
mov eax, esi
mov ecx, edi
call fcn.0043cd90
add esp, 8
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
push 0
push edx
push eax
push ecx
call fcn.00419d30
mov edi, eax
add esp, 0x10
test edi, edi
je 0x447de0
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 4]
lea eax, [edi + eax - 1]
cmp eax, edi
jbe 0x447dbb
lea ecx, [ecx]
mov cl, byte [eax]
cmp cl, 0x3b
je 0x447db3
movzx ecx, cl
test byte [ecx + 0x4c81e0], 1
je 0x447dbb
mov byte [eax], 0
dec eax
cmp eax, edi
ja 0x447da0
mov eax, dword [ebx + 0x2c]
mov edx, dword [esp + 0x18]
push esi
push eax
push edi
push eax
push edx
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 ebp
call fcn.0042dc60
mov eax, dword [esp + 0x2c]
push edi
push eax
call fcn.0040a090
add esp, 0x24
mov ecx, ebp
call fcn.00444800
mov esi, eax
test esi, esi
je 0x447e90
mov eax, ebp
call fcn.00413930
mov ecx, dword [esp + 0x14]
push 2
mov edi, eax
push edi
push ecx
push 0x63
push esi
call fcn.0043a200
mov ecx, dword [esp + 0x28]
mov edx, esi
call fcn.00411110
push 0x56
push esi
mov eax, 0xfffffffe
mov ecx, edi
call fcn.0043a2b0
mov eax, esi
call fcn.00411010
push 0x3b
add eax, 2
push esi
mov ecx, edi
call fcn.0043a2b0
mov edx, dword [esp + 0x38]
push 3
push 2
push edx
push 0x64
push esi
call fcn.0043a200
mov edx, edi
mov eax, ebp
call fcn.00413950
mov edi, dword [esp + 0x4c]
push 3
mov esi, ebp
call fcn.00443000
add esp, 0x3c
cmp dword [ebx + 0x10], 0
jne 0x447e78
mov eax, dword [esp + 0x1c]
test byte [eax + 4], 0xf
je 0x447e90
test byte [eax + 0xe], 0x60
je 0x447e90
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push str.SELECT_CASE_WHEN_quick_check_GLOB_CHECK_THEN_raise_ABORT_CHECK_constraint_failed__ELSE_raise_ABORT_NOT_NULL_constraint_failed__END__FROM_pragma_quick_check__Q__Q__WHERE_quick_check_GLOB_CHECK_OR_quick_check_GLOB_NULL
push ebp
call fcn.0042dc60
add esp, 0x10
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x14
ret