Function at 0x1400b68b0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [0x1401cf0e8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xd0]
cmp dword [rax + 0x30], 0
je 0x1400b68f6
jmp 0x1400b6df5
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x160]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax + 0x60]
mov rcx, qword [rsp + 0x68]
call fcn.1400e4c60
mov dword [rsp + 0x40], eax
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x20]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x58], rax
mov eax, 1
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x48]
add rax, qword [rcx]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x48]
movsx eax, word [rax + 0x36]
dec eax
cdqe
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x48]
add rax, qword [rcx + 8]
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
call fcn.1400c01d0
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call fcn.1400bf3d0
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x20], 0
mov rax, qword [rsp + 0xa0]
mov r9, qword [rax]
mov r8, qword [rsp + 0x58]
mov edx, 0x1a
mov rcx, qword [rsp + 0xd0]
call fcn.1400be820
test eax, eax
je 0x1400b69db
jmp 0x1400b6df5
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + 0x12]
and eax, 1
test eax, eax
je 0x1400b6a04
lea rdx, str.Cannot_add_a_PRIMARY_KEY_column
mov rcx, qword [rsp + 0xd0]
call fcn.1400502c0
jmp 0x1400b6df5
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x10], 0
je 0x1400b6a29
lea rdx, str.Cannot_add_a_UNIQUE_column
mov rcx, qword [rsp + 0xd0]
call fcn.1400502c0
jmp 0x1400b6df5
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + 0x12]
and eax, 0x60
test eax, eax
jne 0x1400b6b67
cmp qword [rsp + 0x60], 0
je 0x1400b6a5f
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x10]
movzx eax, byte [rax]
cmp eax, 0x79
jne 0x1400b6a5f
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x30]
and rax, 0x4000
test rax, rax
je 0x1400b6aa8
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x48], 0
je 0x1400b6aa8
cmp qword [rsp + 0x60], 0
je 0x1400b6aa8
lea r9, str.Cannot_add_a_REFERENCES_column_with_non_NULL_default_value
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xd0]
call fcn.1400b6860
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 8]
and eax, 0xf
test eax, eax
je 0x1400b6ae0
cmp qword [rsp + 0x60], 0
jne 0x1400b6ae0
lea r9, str.Cannot_add_a_NOT_NULL_column_with_default_value_NULL
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xd0]
call fcn.1400b6860
cmp qword [rsp + 0x60], 0
je 0x1400b6b65
mov qword [rsp + 0xa8], 0
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
mov r9b, 0x41
mov r8b, 1
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call fcn.140085460
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 0
je 0x1400b6b2c
jmp 0x1400b6df5
cmp qword [rsp + 0xa8], 0
jne 0x1400b6b58
lea r9, str.Cannot_add_a_column_with_non_constant_default
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xd0]
call fcn.1400b6860
mov rcx, qword [rsp + 0xa8]
call fcn.140085520
jmp 0x1400b6b98
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + 0x12]
and eax, 0x40
test eax, eax
je 0x1400b6b98
lea r9, str.cannot_add_a_STORED_column
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xd0]
call fcn.1400b6860
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rsp + 0xd8]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x68]
call fcn.140049e20
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
je 0x1400b6cb0
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 8]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0x88], rax
jbe 0x1400b6c56
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax]
cmp eax, 0x3b
je 0x1400b6c36
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax]
lea rcx, [0x1401b05c0]
movzx eax, byte [rcx + rax]
and eax, 1
test eax, eax
je 0x1400b6c56
mov rax, qword [rsp + 0x88]
mov byte [rax], 0
mov rax, qword [rsp + 0x88]
dec rax
mov qword [rsp + 0x88], rax
jmp 0x1400b6bf7
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x40]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x48]
mov r9d, dword [rax + 0x40]
mov r8, qword [rsp + 0x58]
lea rdx, str.UPDATE___w_.sqlite_master_SET_sql__printf___._ds___sql____Q__substr_sql_1length_printf___._ds_sql____WHERE_type__table_AND_name___Q
mov rcx, qword [rsp + 0xd0]
call fcn.1400bf1f0
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x68]
call fcn.140049640
mov rcx, qword [rsp + 0xd0]
call fcn.1400ea310
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x1400b6df5
mov rcx, qword [rsp + 0xd0]
call fcn.1400b5f80
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x20], 2
mov r9d, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x40]
mov edx, 0x63
mov rcx, qword [rsp + 0x70]
call fcn.140085d20
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
call fcn.140087b80
mov r9d, 0xfffffffe
mov r8d, dword [rsp + 0x50]
mov edx, 0x56
mov rcx, qword [rsp + 0x70]
call fcn.140085ce0
mov rcx, qword [rsp + 0x70]
call fcn.140086a50
add eax, 2
mov r9d, eax
mov r8d, dword [rsp + 0x50]
mov edx, 0x3b
mov rcx, qword [rsp + 0x70]
call fcn.140085ce0
mov dword [rsp + 0x20], 3
mov r9d, 2
mov r8d, dword [rsp + 0x40]
mov edx, 0x64
mov rcx, qword [rsp + 0x70]
call fcn.140085d20
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0xd0]
call fcn.1400b5ff0
mov r8w, 3
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0xd0]
call fcn.1400b6300
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x20], 0
jne 0x1400b6dd4
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 8]
and eax, 0xf
test eax, eax
je 0x1400b6dc0
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + 0x12]
and eax, 0x60
test eax, eax
jne 0x1400b6dd4
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x30]
and eax, 0x10000
test eax, eax
je 0x1400b6df5
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x80]
lea rdx, 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
mov rcx, qword [rsp + 0xd0]
call fcn.1400bf1f0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14015c750
add rsp, 0xc8
ret