Function at 0x416e87
Capabilities:
Execute command
Reference sql statements
Self delete
Set current directory
Write and execute a file
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x5f8
cmp qword [rdx + 0x360], 0
mov rdi, rcx
mov r13, rdx
je 0x416eba
xor r8d, r8d
mov edx, 1
mov rcx, r13
call sym.expertFinish
xor ebp, ebp
mov ebx, 1
movsxd rbx, ebx
mov r15d, ebp
cmp byte [rdi + rbx], 0
je 0x416f9c
cmp rbp, 0x33
je 0x416f96
movzx ecx, byte [rdi + rbx]
lea r12, [rbx + rdi]
movsxd rsi, ebx
inc rbx
mov r14d, ecx
call qword [sym.imp.msvcrt.dll_isspace]
test eax, eax
jne 0x416edb
test r14b, r14b
je 0x416f9c
lea rax, [rsp + 0xe0]
cmp r14b, 0x27
je 0x416f13
cmp r14b, 0x22
jne 0x416f60
lea ebx, [rsi + 1]
movsx edx, r14b
movsxd rcx, ebx
add rcx, rdi
mov qword [rax + rbp*8], rcx
movsxd r10, ebx
lea r9, [rdi + r10]
mov al, byte [r9]
test al, al
je 0x416f59
lea r8d, [rbx + 1]
cmp r14b, al
je 0x416f52
cmp al, 0x5c
jne 0x416f4e
cmp edx, 0x22
jne 0x416f4e
cmp byte [rdi + r10 + 1], 0
cmovne ebx, r8d
inc ebx
jmp 0x416f24
mov byte [r9], 0
mov ebx, r8d
cmp edx, 0x22
jne 0x416f8e
jmp 0x416f89
mov qword [rax + rbp*8], r12
movzx ecx, byte [rdi + rsi]
lea r14, [rdi + rsi]
mov ebx, esi
test cl, cl
je 0x416f86
call qword [sym.imp.msvcrt.dll_isspace]
lea ebx, [rsi + 1]
inc rsi
test eax, eax
je 0x416f64
mov byte [r14], 0
mov rcx, r12
call sym.resolve_backslashes
inc rbp
jmp 0x416ec1
mov r15d, 0x33
movsxd rax, r15d
test r15d, r15d
mov qword [rsp + 0x50], rax
mov qword [rsp + rax*8 + 0xe0], 0
je 0x41ec2d
mov r12, qword [rsp + 0xe0]
mov rcx, r12
call sym.strlen30
movsx edi, byte [r12]
mov rcx, r13
movsxd rsi, eax
call sym.clearTempFile
cmp edi, 0x61
jne 0x41708b
lea rdx, str.auth
movsxd r8, esi
mov rcx, r12
call sym.cli_strncmp
test eax, eax
jne 0x41708b
cmp r15d, 2
je 0x417026
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rcx, str.Usage:_.auth_ONOFF_n
mov rdx, rax
call sym.fputs
jmp 0x41e0a2
xor edx, edx
mov rcx, r13
call sym.open_db
mov rcx, qword [rsp + 0xe8]
call sym.booleanValue
test eax, eax
mov ebx, eax
je 0x41705d
mov rcx, qword [r13]
lea rdx, [sym.shellAuth]
mov r8, r13
xor ebx, ebx
call sym.sqlite3_set_authorizer
jmp 0x41e0a2
cmp byte [r13 + 0x12], 0
mov rcx, qword [r13]
je 0x41707c
lea rdx, [sym.safeModeAuth]
mov r8, r13
call sym.sqlite3_set_authorizer
jmp 0x41e0a2
xor r8d, r8d
xor edx, edx
call sym.sqlite3_set_authorizer
jmp 0x41e0a2
cmp esi, 2
setg bpl
cmp edi, 0x62
sete bl
and bl, bpl
je 0x4170b3
lea rdx, str.backup
movsxd r8, esi
mov rcx, r12
call sym.cli_strncmp
test eax, eax
je 0x4170e9
cmp edi, 0x73
sete byte [rsp + 0x60]
test bpl, bpl
je 0x4172db
cmp byte [rsp + 0x60], 0
je 0x4172db
lea rdx, str.save
movsxd r8, esi
mov rcx, r12
call sym.cli_strncmp
test eax, eax
jne 0x4174a9
mov r8, r12
mov rcx, r13
mov ebx, 1
lea rdx, str.cannot_run_._s_in_safe_mode
xor r12d, r12d
xor ebp, ebp
call sym.failIfSafeMode
xor edi, edi
xor esi, esi
cmp r15d, ebx
jle 0x4171bf
mov r14, qword [rsp + rbx*8 + 0xe0]
cmp byte [r14], 0x2d
jne 0x417180
cmp byte [r14 + 1], 0x2d
mov r9, r14
jne 0x41712e
lea r9, [r14 + 1]
lea rdx, str._append
mov rcx, r9
mov qword [rsp + 0x50], r9
call sym.cli_strcmp
test eax, eax
je 0x4171a1
mov r9, qword [rsp + 0x50]
lea rdx, str._async
mov rcx, r9
call sym.cli_strcmp
test eax, eax
je 0x4171aa
mov ecx, 2
call qword [sym.__acrt_iob_func]
lea rdx, str.unknown_option:__s_n
mov r8, r14
mov rcx, rax
call sym.utf8_printf
jmp 0x41c368
test rsi, rsi
je 0x4171b4
test rdi, rdi
je 0x4171b1
mov ecx, 2
call qword [sym.__acrt_iob_func]
lea rcx, str.Usage:_.backup__DB___OPTIONS__FILENAME_n
mov rdx, rax
jmp 0x4171d9
lea r12, str.apndvfs
jmp 0x4171b7
mov ebp, 1
jmp 0x4171b7
mov rdi, rsi
mov rsi, r14
inc rbx
jmp 0x417109
test rsi, rsi
jne 0x4171e3
mov ecx, 2
call qword [sym.__acrt_iob_func]
lea rcx, str.missing_FILENAME_argument_on_.backup_n
mov rdx, rax
call sym.fputs
jmp 0x41c368
test rdi, rdi
jne 0x4171ef
lea rdi, [0x004d45f9]
lea rdx, [rsp + 0x280]
mov r9, r12
mov r8d, 6
mov rcx, rsi
call sym.sqlite3_open_v2
test eax, eax
mov ebx, eax
jne 0x41c244
test ebp, ebp
je 0x417239
mov rcx, qword [rsp + 0x280]
lea rdx, str.PRAGMA_synchronousOFF__PRAGMA_journal_modeOFF_
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0
call sym.sqlite3_exec
xor edx, edx
mov rcx, r13
call sym.open_db
mov r8, qword [r13]
mov r9, rdi
mov rcx, qword [rsp + 0x280]
lea rdx, [0x004d45f9]
call sym.sqlite3_backup_init
test rax, rax
mov rsi, rax
jne 0x417273
mov rcx, qword [rsp + 0x280]
jmp 0x41c291
mov edx, 0x64
mov rcx, rsi
call sym.sqlite3_backup_step
test eax, eax
mov edi, eax
je 0x417273
mov rcx, rsi
call sym.sqlite3_backup_finish
cmp edi, 0x65
je 0x4172c9
mov rcx, qword [rsp + 0x280]
mov ebx, 1
call sym.sqlite3_errmsg
mov ecx, 2
mov qword [rsp + 0x50], rax
call qword [sym.__acrt_iob_func]
mov r8, qword [rsp + 0x50]
lea rdx, str.Error:__s_n
mov rcx, rax
call sym.utf8_printf
mov rcx, qword [rsp + 0x280]
call sym.close_db
jmp 0x41e0a2
test bl, bl
je 0x4173f9
lea rdx, str.bail
movsxd r14, esi
mov rcx, r12
mov r8, r14
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x417340
cmp r15d, 2
jne 0x41731c
mov rcx, qword [rsp + 0xe8]
call sym.booleanValue
mov dword [0x00509164], eax
jmp 0x41e0a2
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rcx, str.Usage:_.bail_onoff_n
mov rdx, rax
call sym.fputs
jmp 0x41e0a2
lea rdx, str.binary
mov r8, r14
mov rcx, r12
call sym.cli_strncmp
test eax, eax
jne 0x4173b2
cmp r15d, 2
jne 0x41738e
mov rcx, qword [rsp + 0xe8]
call sym.booleanValue
mov rcx, qword [r13 + 0x40]
test eax, eax
mov ebx, eax
je 0x417384
mov edx, 1
xor ebx, ebx
call sym.setBinaryMode
jmp 0x41e0a2
call sym.setTextMode.constprop.93
jmp 0x41e0a2
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rcx, str.Usage:_.binary_onoff_n
mov rdx, rax
call sym.fputs
jmp 0x41e0a2
lea rdx, str.breakpoint
mov r8, r14
mov rcx, r12
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x4174a9
mov eax, dword [0x00509058]
lea edx, [rax + 1]
inc eax
mov dword [0x00509058], edx
je 0x4173e8
xor ebx, ebx
jmp 0x41e0a2
lea rcx, str.Many_.breakpoints_have_run
call sym.puts
jmp 0x41e0a2
cmp edi, 0x63
jne 0x4174a9
lea rdx, [0x004d8117]
mov rcx, r12
call sym.cli_strcmp
test eax, eax
mov ebx, eax
jne 0x4174a9
lea rdx, str.cannot_run_.cd_in_safe_mode
mov rcx, r13
call sym.failIfSafeMode
cmp r15d, 2
jne 0x417485
mov rsi, qword [rsp + 0xe8]
mov rcx, rsi
call sym.sqlite3_win32_utf8_to_unicode
mov rdi, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, rdi
mov ebp, eax
call sym.sqlite3_free
test ebp, ebp
jne 0x41e0a2
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rdx, str.Cannot_change_to_directory___s__n
mov r8, rsi
mov rcx, rax
call sym.utf8_printf
jmp 0x41e0a2
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rcx, str.Usage:_.cd_DIRECTORY_n
mov rdx, rax
call sym.fputs
jmp 0x41e0a2
cmp edi, 0x63
jne 0x417613
test bpl, bpl
je 0x417613
lea rdx, [0x004d816d]
movsxd rbx, esi
mov rcx, r12
mov r8, rbx
call sym.cli_strncmp
test eax, eax
jne 0x417527
cmp r15d, 2
jne 0x417503
mov rcx, qword [rsp + 0xe8]
call sym.booleanValue
test eax, eax
mov ebx, eax
je 0x4174f9
or dword [r13 + 0x7c], 0x20
xor ebx, ebx
jmp 0x41e0a2
and dword [r13 + 0x7c], 0xffffffdf
jmp 0x41e0a2
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rcx, str.Usage:_.changes_onoff_n
mov rdx, rax
call sym.fputs
jmp 0x41e0a2
lea rdx, str.check
mov r8, rbx
mov rcx, r12
call sym.cli_strncmp
test eax, eax
jne 0x41761c
mov rcx, r13
call sym.output_reset
cmp r15d, 2
je 0x417576
mov ecx, 2
xor ebx, ebx
mov r15d, 2
call qword [sym.__acrt_iob_func]
lea rcx, str.Usage:_.check_GLOB_PATTERN_n
mov rdx, rax
call sym.fputs
jmp 0x417603
lea rcx, str.testcase_out.txt
xor edx, edx
call sym.readFile
test rax, rax
mov rbx, rax
je 0x417603
mov rsi, qword [rsp + 0xe8]
mov rdx, rax
mov rcx, rsi
call sym.testcase_glob
lea r8, [r13 + 0xa0]
test eax, eax
mov qword [rsp + 0x50], r8
mov rax, qword [sym.__acrt_iob_func]
jne 0x4175e1
mov ecx, 2
mov r15d, 1
call rax
mov r8, qword [rsp + 0x50]
mov qword [rsp + 0x20], rbx
mov r9, rsi
lea rdx, str.testcase__s_FAILED_n_Expected:___s__n______Got:___s__n
mov rcx, rax
call sym.utf8_printf
jmp 0x417603
mov ecx, 1
xor r15d, r15d
call rax
mov r8, qword [rsp + 0x50]
lea rdx, str.testcase__s_ok_n
mov rcx, rax
call sym.utf8_printf
inc dword [r13 + 0x6c]
mov rcx, rbx
mov ebx, r15d
call sym.sqlite3_free
jmp 0x41e0a2
cmp edi, 0x63
jne 0x417a15
lea rdx, str.clone
movsxd rbx, esi
mov rcx, r12
mov r8, rbx
call sym.cli_strncmp
test eax, eax
jne 0x4177d7
lea rdx, str.cannot_run_.clone_in_safe_mode
mov rcx, r13
call sym.failIfSafeMode
cmp r15d, 2
jne 0x4177b3
mov rsi, qword [rsp + 0xe8]
xor edx, edx
mov qword [rsp + 0x280], 0
mov rcx, rsi
call qword [sym.imp.msvcrt.dll__access]
test eax, eax
mov ebx, eax
jne 0x417699
mov ecx, 2
call qword [sym.__acrt_iob_func]
lea rdx, str.File___s__already_exists._n
mov r8, rsi
mov rcx, rax
call sym.utf8_printf
jmp 0x41e0a2
lea rdx, [rsp + 0x280]
mov rcx, rsi
call sym.sqlite3_open
test eax, eax
je 0x4176e3
mov rcx, qword [rsp + 0x280]
call sym.sqlite3_errmsg
mov ecx, 2
mov qword [rsp + 0x50], rax
call qword [sym.__acrt_iob_func]
mov r8, qword [rsp + 0x50]
lea rdx, str.Cannot_create_output_database:__s_n
mov rcx, rax
call sym.utf8_printf
jmp 0x41779f
mov rcx, qword [r13]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0
lea rdx, str.PRAGMA_writable_schemaON_
call sym.sqlite3_exec
mov rcx, qword [rsp + 0x280]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0
lea rdx, str.BEGIN_EXCLUSIVE_
call sym.sqlite3_exec
mov rdx, qword [rsp + 0x280]
lea r9, [sym.tryToCloneData]
mov rcx, r13
lea r8, str.typetable
call sym.tryToCloneSchema
mov rdx, qword [rsp + 0x280]
xor r9d, r9d
mov rcx, r13
lea r8, str.type_table
call sym.tryToCloneSchema
mov rcx, qword [rsp + 0x280]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0
lea rdx, str.COMMIT_
call sym.sqlite3_exec
mov rcx, qword [r13]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0
lea rdx, str.PRAGMA_writable_schemaOFF_
call sym.sqlite3_exec
mov rcx, qword [rsp + 0x280]
xor ebx, ebx
call sym.close_db
jmp 0x41e0a2
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rcx, str.Usage:_.clone_FILENAME_n
mov rdx, rax
call sym.fputs
jmp 0x41e0a2
lea rdx, str.connection
mov r8, rbx
mov rcx, r12
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x417a15
cmp r15d, 1
jne 0x4178a8
lea rsi, [r13 + 0x250]
lea rdi, str._memory_
lea rbp, str._temporary_file_
lea r12, str._not_open_
mov rax, qword [rsi]
mov rdx, qword [r13 + 0x2c8]
test rax, rax
jne 0x417830
cmp rsi, rdx
mov r9, r12
jne 0x417847
mov r9, qword [rsi + 8]
test r9, r9
je 0x417844
cmp byte [r9], 0
jne 0x417847
mov r9, rbp
jmp 0x417847
mov r9, rdi
cmp rsi, rdx
mov qword [rsp + 0x50], r9
jne 0x41786d
mov ecx, 1
call qword [sym.__acrt_iob_func]
mov r9, qword [rsp + 0x50]
mov r8d, ebx
lea rdx, str.ACTIVE__d:__s_n
jmp 0x41788c
test rax, rax
je 0x417894
mov ecx, 1
call qword [sym.__acrt_iob_func]
mov r9, qword [rsp + 0x50]
mov r8d, ebx
lea rdx, str.________d:__s_n
mov rcx, rax
call sym.utf8_printf
inc ebx
add rsi, 0x18
cmp ebx, 5
jne 0x417819
jmp 0x4173e1
cmp r15d, 2
jne 0x417936
mov rcx, qword [rsp + 0xe8]
movzx eax, byte [rcx]
mov edx, eax
sub eax, 0x30
cmp eax, 9
ja 0x4179f1
cmp byte [rcx + 1], 0
jne 0x4179f1
movsx edx, dl
mov r8, qword [r13 + 0x2c8]
sub edx, 0x30
movsxd rax, edx
imul rax, rax, 0x18
lea rcx, [r13 + rax + 0x250]
cmp r8, rcx
je 0x4173e1
cmp edx, 4
ja 0x4173e1
mov rdx, qword [r13]
add rax, r13
mov qword [r8], rdx
mov rdx, qword [rax + 0x250]
mov qword [r13 + 0x2c8], rcx
mov qword [r13], rdx
mov qword [0x00509158], rdx
mov qword [rax + 0x250], 0
jmp 0x41e0a2
cmp r15d, 3
jne 0x4179f1
mov rcx, qword [rsp + 0xe8]
lea rdx, str.close
call sym.cli_strcmp
test eax, eax
mov ebx, eax
jne 0x4179f1
mov rdx, qword [rsp + 0xf0]
movzx eax, byte [rdx]
mov esi, eax
sub eax, 0x30
cmp eax, 9
ja 0x4179f1
cmp byte [rdx + 1], 0
jne 0x4179f1
movsx esi, sil
sub esi, 0x30
cmp esi, 4
ja 0x4173e1
movsxd rsi, esi
imul rax, rsi, 0x18
lea rax, [r13 + rax + 0x250]
cmp qword [r13 + 0x2c8], rax
jne 0x4179c5
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rcx, str.cannot_close_the_active_database_connection_n
mov rdx, rax
call sym.fputs
jmp 0x41e0a2
imul rsi, rsi, 0x18
add rsi, r13
mov rcx, qword [rsi + 0x250]
test rcx, rcx
je 0x4173e1
call sym.close_db
mov qword [rsi + 0x250], 0
jmp 0x41e0a2
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rcx, str.Usage:_.connection__close___CONNECTION_NUMBER__n
mov rdx, rax
call sym.fputs
jmp 0x41e0a2
cmp edi, 0x64
sete bl
cmp esi, 1
setg byte [rsp + 0x50]
test bl, bl
je 0x417c2b
cmp byte [rsp + 0x50], 0
je 0x417c2b
lea rdx, str.databases
movsxd r8, esi
mov rcx, r12
call sym.cli_strncmp
test eax, eax
mov r14d, eax
jne 0x417c2b
xor edx, edx
mov rcx, r13
call sym.open_db
mov rcx, qword [r13]
or r8d, 0xffffffff
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x280]
lea rdx, str.PRAGMA_database_list
call sym.sqlite3_prepare_v2
test eax, eax
mov ebx, eax
je 0x417ac3
mov rcx, qword [r13]
xor ebp, ebp
xor esi, esi
mov ebx, 1
call sym.sqlite3_errmsg
mov ecx, 2
mov qword [rsp + 0x50], rax
call qword [sym.__acrt_iob_func]
mov r8, qword [rsp + 0x50]
lea rdx, str.Error:__s_n
mov rcx, rax
call sym.utf8_printf
jmp 0x417b60
xor ebp, ebp
xor edi, edi
xor esi, esi
mov rcx, qword [rsp + 0x280]
call sym.sqlite3_step
cmp eax, 0x64
jne 0x417b60
mov rcx, qword [rsp + 0x280]
mov edx, 1
call sym.sqlite3_column_text
mov rcx, qword [rsp + 0x280]
mov edx, 2
mov r12, rax
call sym.sqlite3_column_text
test r12, r12
mov r15, rax
je 0x417ac9
test rax, rax
je 0x417ac9
lea edx, [rdi + 0x10]
mov rcx, rsi
inc ebp
call sym.sqlite3_realloc
mov rsi, rax
mov rcx, rax
call sym.shell_check_oom
lea rdx, [rsi + rdi]
mov rcx, r12
mov qword [rsp + 0x50], rdx
lea r12, [rsi + rdi + 8]
add rdi, 0x10
call qword [sym.imp.msvcrt.dll__strdup]
mov rdx, qword [rsp + 0x50]
mov rcx, r15
mov qword [rdx], rax
call qword [sym.imp.msvcrt.dll__strdup]
mov qword [r12], rax
jmp 0x417ac9
mov rcx, qword [rsp + 0x280]
mov rdi, rsi
lea r15, [0x004d4196]
call sym.sqlite3_finalize
cmp ebp, r14d
je 0x417c1e
mov rdx, qword [rdi]
mov rcx, qword [r13]
call sym.sqlite3_txn_state
mov rdx, qword [rdi]
mov rcx, qword [r13]
mov r12d, eax
call sym.sqlite3_db_readonly
test r12d, r12d
mov r9, qword [rdi + 8]
mov rdx, r15
je 0x417bbc
lea rdx, str._write_txn
dec r12d
lea rcx, str._read_txn
cmove rdx, rcx
test eax, eax
lea rcx, [0x004d7deb]
lea rax, [0x004d7de7]
cmove rax, rcx
test r9, r9
je 0x417bdb
cmp byte [r9], 0
jne 0x417be2
lea r9, [0x004d7def]
mov qword [rsp + 0x20], rax
mov rcx, qword [r13 + 0x40]
inc r14d
add rdi, 0x10
mov qword [rsp + 0x28], rdx
mov r8, qword [rdi - 0x10]
lea rdx, str._s:__s__s_s_n
call sym.utf8_printf
mov rcx, qword [rdi - 0x10]
call sym.free
mov rcx, qword [rdi - 8]
call sym.free
jmp 0x417b77
mov rcx, rsi
call sym.sqlite3_free
jmp 0x41e0a2
test bpl, bpl
je 0x418119
test bl, bl
je 0x418119
lea rdx, str.dbconfig
movsxd r14, esi
mov rcx, r12
mov r8, r14
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x417d77
xor edx, edx
mov rcx, r13
xor esi, esi
call sym.open_db
lea rax, [rsp + 0x280]
lea r14, str.defensive
mov qword [rsp + 0x50], rax
lea r12, [0x004d5a3c]
lea rbp, [0x004d5a43]
cmp r15d, 1
mov rdi, qword [r14]
je 0x417ce1
mov rcx, qword [rsp + 0xe8]
mov rdx, rdi
call sym.cli_strcmp
test eax, eax
je 0x417cb3
inc esi
add r14, 0x10
cmp esi, 0x12
jne 0x417c89
jmp 0x417d24
cmp r15d, 2
je 0x417ce1
mov edx, dword [r14 + 8]
mov rcx, qword [rsp + 0xf0]
mov dword [rsp + 0x58], edx
call sym.booleanValue
mov edx, dword [rsp + 0x58]
xor r9d, r9d
mov rcx, qword [r13]
mov r8d, eax
call sym.sqlite3_db_config
mov edx, dword [r14 + 8]
or r8d, 0xffffffff
mov r9, qword [rsp + 0x50]
mov rcx, qword [r13]
call sym.sqlite3_db_config
mov rcx, qword [r13 + 0x40]
mov r9, rbp
mov r8, rdi
cmp dword [rsp + 0x280], 0
lea rdx, str._19s__s_n
cmovne r9, r12
call sym.utf8_printf
cmp r15d, 1
je 0x417ca6
jmp 0x41e0a2
dec r15d
jle 0x41e0a2
mov r8, qword [rsp + 0xe8]
mov ecx, 2
mov rsi, qword [sym.__acrt_iob_func]
mov qword [rsp + 0x50], r8
call rsi
mov r8, qword [rsp + 0x50]
lea rdx, str.Error:_unknown_dbconfig___s__n
mov rcx, rax
call sym.utf8_printf
mov ecx, 2
call rsi
lea rdx, str.Enter__.dbconfig__with_no_arguments_for_a_list_n
mov rcx, rax
call sym.utf8_printf
jmp 0x41e0a2
lea rdx, str.dbinfo
mov r8, r14
mov rcx, r12
call sym.cli_strncmp
test eax, eax
jne 0x418394
lea rbp, [0x004d45f9]
dec r15d
je 0x417da5
mov rbp, qword [rsp + 0xe8]
xor edx, edx
mov rcx, r13
mov ebx, 1
mov qword [rsp + 0xc0], 0
call sym.open_db
mov rcx, qword [r13]
test rcx, rcx
je 0x41e0a2
mov qword [rsp + 0x20], 0
or r8d, 0xffffffff
lea r9, [rsp + 0xc0]
lea rdx, str.SELECT_data_FROM_sqlite_dbpage__1__WHERE_pgno1
call sym.sqlite3_prepare_v2
test eax, eax
mov ebx, eax
je 0x417e38
mov rcx, qword [r13]
mov ebx, 1
call sym.sqlite3_errmsg
mov ecx, 2
mov qword [rsp + 0x50], rax
call qword [sym.__acrt_iob_func]
mov r8, qword [rsp + 0x50]
lea rdx, str.error:__s_n
mov rcx, rax
call sym.utf8_printf
mov rcx, qword [rsp + 0xc0]
call sym.sqlite3_finalize
jmp 0x41e0a2
mov rcx, qword [rsp + 0xc0]
or r9d, 0xffffffff
mov r8, rbp
mov edx, 1
mov qword [rsp + 0x20], 0
call sym.sqlite3_bind_text
mov rcx, qword [rsp + 0xc0]
call sym.sqlite3_step
cmp eax, 0x64
jne 0x417ee9
mov rcx, qword [rsp + 0xc0]
xor edx, edx
call sym.sqlite3_column_bytes
cmp eax, 0x64
jle 0x417ee9
mov rcx, qword [rsp + 0xc0]
xor edx, edx
lea rdi, [rsp + 0x280]
call sym.sqlite3_column_blob
mov rcx, rax
mov rsi, rax
call sym.shell_check_oom
mov ecx, 0x19
rep movsd dword [rdi], dword [rsi]
mov rcx, qword [rsp + 0xc0]
call sym.sqlite3_finalize
movzx eax, byte [rsp + 0x291]
movzx r9d, byte [rsp + 0x290]
shl r9d, 8
add r9d, eax
lea rax, [rsp + 0x280]
cmp r9d, 1
mov qword [rsp + 0x50], rax
jne 0x417f1a
mov r9d, 0x10000
jmp 0x417f1a
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rcx, str.unable_to_read_database_header_n
mov rdx, rax
call sym.fputs
mov rcx, qword [rsp + 0xc0]
call sym.sqlite3_finalize
jmp 0x41e0a2
mov rcx, qword [r13 + 0x40]
lea r8, str.database_page_size:
lea rdx, str.__20s__d_n
lea rsi, str.file_change_counter:
lea r15, [rsi + 0xc0]
call sym.utf8_printf
mov rcx, qword [r13 + 0x40]
lea r8, str.write_format:
movzx r9d, byte [rsp + 0x292]
lea rdx, str.__20s__d_n
lea r14, str.__utf16le_
call sym.utf8_printf
mov rcx, qword [r13 + 0x40]
lea r8, str.read_format:
movzx r9d, byte [rsp + 0x293]
lea rdx, str.__20s__d_n
call sym.utf8_printf
mov rcx, qword [r13 + 0x40]
lea r8, str.reserved_bytes:
movzx r9d, byte [rsp + 0x294]
lea rdx, str.__20s__d_n
call sym.utf8_printf
movsxd r8, dword [rsi + 8]
mov rcx, qword [r13 + 0x40]
mov r12, r8
add r8, qword [rsp + 0x50]
movzx edx, byte [r8]
movzx eax, byte [r8 + 1]
shl edx, 0x18
shl eax, 0x10
lea edx, [rdx + rax]
movzx eax, byte [r8 + 2]
shl eax, 8
add eax, edx
movzx edx, byte [r8 + 3]
mov r8, qword [rsi]
lea edi, [rax + rdx]
lea rdx, str.__20s__u
mov r9d, edi
call sym.utf8_printf
cmp r12d, 0x38
jne 0x41801b
mov rdx, qword [r13 + 0x40]
lea rcx, str.__utf8_
cmp edi, 1
je 0x418016
cmp edi, 2
mov rcx, r14
je 0x418016
cmp edi, 3
jne 0x41801b
lea rcx, str.__utf16be_
call sym.fputs
mov rdx, qword [r13 + 0x40]
mov ecx, 0xa
add rsi, 0x10
call sym.fputc
cmp rsi, r15
jne 0x417fa6
test rbp, rbp
jne 0x418049
lea rcx, str.main.sqlite_schema
call sym.sqlite3_mprintf
jmp 0x418079
lea rdx, [0x004d4794]
mov rcx, rbp
call sym.cli_strcmp
lea rdx, [0x004d84d2]
lea rcx, [0x004d40ca]
test eax, eax
je 0x418074
lea rcx, str.__w_.sqlite_schema
mov rdx, rbp
call sym.sqlite3_mprintf
lea rsi, str.number_of_tables:
mov rdi, rax
lea r15, [rsi + 0x50]
lea r14, str.__20s__d_n
mov rcx, qword [rsi + 8]
mov rdx, rdi
add rsi, 0x10
call sym.sqlite3_mprintf
mov rcx, qword [r13]
mov rdx, rax
mov r12, rax
call sym.db_int
mov rcx, r12
mov dword [rsp + 0x50], eax
call sym.sqlite3_free
mov r8, qword [rsi - 0x10]
mov rdx, r14
mov rcx, qword [r13 + 0x40]
mov r9d, dword [rsp + 0x50]
call sym.utf8_printf
cmp rsi, r15
jne 0x41808e
mov rcx, rdi
call sym.sqlite3_free
mov rcx, qword [r13]
mov rdx, rbp
mov r8d, 0x23
lea r9, [rsp + 0xb0]
call sym.sqlite3_file_control
mov rcx, qword [r13 + 0x40]
lea r8, [0x004d84f8]
mov r9d, dword [rsp + 0xb0]
lea rdx, str.__20s__u_n
call sym.utf8_printf
jmp 0x41e0a2
cmp edi, 0x72
jne 0x41838b
lea rdx, str.recover
movsxd r8, esi
mov rcx, r12
call sym.cli_strncmp
test eax, eax
jne 0x41a3c3
xor edx, edx
mov rcx, r13
mov ebx, 1
call sym.open_db
lea rax, str.lost_and_found
mov dword [rsp + 0xc0], 1
mov qword [rsp + 0x58], rax
lea rax, [0x004d4196]
mov qword [rsp + 0x50], rax
lea eax, [r15 - 1]
mov dword [rsp + 0x280], 1
mov dword [rsp + 0x60], eax
cmp r15d, ebx
jle 0x4182b6
movsxd r14, ebx
shl r14, 3
mov rdi, qword [rsp + r14 + 0xe0]
cmp byte [rdi], 0x2d
mov rsi, rdi
jne 0x4181ab
cmp byte [rdi + 1], 0x2d
jne 0x4181ab
lea rsi, [rdi + 1]
mov rcx, rsi
call sym.strlen30
cmp eax, 0x11
mov ebp, eax
jg 0x41827c
lea rcx, str._ignore_freelist
cdqe
mov rdx, rsi
mov r8, rax
mov qword [rsp + 0x68], rax
call sym.memcmp
test eax, eax
jne 0x4181eb
mov dword [rsp + 0xc0], 0
jmp 0x4182af
cmp ebp, 0xc
jg 0x418220
lea rcx, str._recovery_db
movsxd r8, ebp
mov rdx, rsi
call sym.memcmp
test eax, eax
jne 0x418225
cmp ebx, dword [rsp + 0x60]
jge 0x418225
mov rax, qword [rsp + r14 + 0xe8]
inc ebx
mov qword [rsp + 0x50], rax
jmp 0x4182af
cmp ebp, 0xf
jg 0x41827c
lea rcx, str._lost_and_found
movsxd r8, ebp
mov rdx, rsi
call sym.memcmp
test eax, eax
jne 0x418252
cmp ebx, dword [rsp + 0x60]
jge 0x418252
mov rax, qword [rsp + r14 + 0xe8]
inc ebx
mov qword [rsp + 0x58], rax
jmp 0x4182af
cmp ebp, 0xa
jg 0x41827c
mov r8, qword [rsp + 0x68]
lea rcx, str._no_rowids
mov rdx, rsi
call sym.memcmp
test eax, eax
jne 0x41827c
mov dword [rsp + 0x280], 0
jmp 0x4182af
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rdx, str.unexpected_option:__s_n
mov r8, rdi
mov rcx, rax
call sym.utf8_printf
mov rcx, qword [r13 + 0x40]
mov rdx, r12
call sym.showHelp
jmp 0x41e0a2
inc ebx
jmp 0x418181
mov rcx, qword [r13]
mov r9, r13
lea r8, [sym.recoverSqlCb]
lea rdx, [0x004d45f9]
call sym.sqlite3_recover_init_sql
mov r8, qword [rsp + 0x50]
mov edx, 0x315
mov rcx, rax
mov rbx, rax
call sym.sqlite3_recover_config
mov r8, qword [rsp + 0x58]
mov edx, 1
mov rcx, rbx
call sym.sqlite3_recover_config
lea r8, [rsp + 0x280]
mov edx, 3
mov rcx, rbx
call sym.sqlite3_recover_config
lea r8, [rsp + 0xc0]
mov edx, 2
mov rcx, rbx
call sym.sqlite3_recover_config
mov rcx, rbx
call sym.sqlite3_recover_run
test rbx, rbx
je 0x418334
cmp dword [rbx + 0x60], 0
je 0x41837c
mov rcx, rbx
call sym.sqlite3_recover_errmsg
test rbx, rbx
mov r9d, 7
mov r8, rax
je 0x41834e
mov r9d, dword [rbx + 0x60]
mov dword [rsp + 0x58], r9d
mov ecx, 2
mov qword [rsp + 0x50], r8
call qword [sym.__acrt_iob_func]
mov r9d, dword [rsp + 0x58]
lea rdx, str.sql_error:__s___d__n
mov r8, qword [rsp + 0x50]
mov rcx, rax
call sym.fprintf
mov rcx, rbx
call sym.sqlite3_recover_finish
mov ebx, eax
jmp 0x41e0a2
cmp edi, 0x64
jne 0x418873
lea rdx, str.dump
movsxd r8, esi
mov rcx, r12
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41a3c3
mov eax, dword [r13 + 0x68]
mov r12d, 1
xor esi, esi
mov r14d, dword [r13 + 0x7c]
mov dword [rsp + 0x50], eax
mov eax, r14d
and eax, 0xfffffca7
mov dword [r13 + 0x7c], eax
cmp r15d, r12d
jle 0x4184d4
mov rdi, qword [rsp + r12*8 + 0xe0]
cmp byte [rdi], 0x2d
jne 0x41849b
cmp byte [rdi + 1], 0x2d
lea rbp, [rdi + 2]
je 0x4183f8
lea rbp, [rdi + 1]
lea rdx, str.preserve_rowids
mov rcx, rbp
call sym.cli_strcmp
test eax, eax
jne 0x418415
or dword [r13 + 0x7c], 8
jmp 0x4184cc
lea rdx, str.newlines
mov rcx, rbp
call sym.cli_strcmp
test eax, eax
jne 0x418432
or dword [r13 + 0x7c], 0x10
jmp 0x4184cc
lea rdx, str.data_only
mov rcx, rbp
call sym.cli_strcmp
test eax, eax
jne 0x41844f
or dword [r13 + 0x7c], 0x100
jmp 0x4184cc
lea rdx, str.nosys
mov rcx, rbp
call sym.cli_strcmp
test eax, eax
jne 0x41846c
or dword [r13 + 0x7c], 0x200
jmp 0x4184cc
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rdx, str.Unknown_option___s__on__.dump__n
mov r8, rdi
mov rcx, rax
call sym.fprintf
mov rcx, rsi
call sym.sqlite3_free
jmp 0x41e0a2
lea rcx, str.name_LIKE__Q_ESCAPE__OR_EXISTS____SELECT_1_FROM_sqlite_schema_WHERE_____name_LIKE__Q_ESCAPE__AND____sql_LIKE_CREATE_VIRTUAL_TABLE___AND____substr_o.name__1__length_name_1____name___
mov r8, rdi
mov rdx, rdi
call sym.sqlite3_mprintf
test rsi, rsi
mov r8, rax
je 0x4184c9
lea rcx, str._z_OR__z
mov rdx, rsi
call sym.sqlite3_mprintf
mov rsi, rax
jmp 0x4184cc
mov rsi, rax
inc r12
jmp 0x4183d0
xor edx, edx
mov rcx, r13
call sym.open_db
test byte [r13 + 0x7d], 1
jne 0x418505
mov rdx, qword [r13 + 0x40]
lea rcx, str.PRAGMA_foreign_keysOFF__n
call sym.fputs
mov rdx, qword [r13 + 0x40]
lea rcx, str.BEGIN_TRANSACTION__n
call sym.fputs
mov rcx, qword [r13]
xor r9d, r9d
xor r8d, r8d
mov qword [r13 + 0x64], 0
mov qword [rsp + 0x20], 0
lea rdx, str.SAVEPOINT_dump__PRAGMA_writable_schemaON
call sym.sqlite3_exec
test rsi, rsi
mov dword [r13 + 0x50], 0
jne 0x418548
lea rcx, [0x004d86ef]
call sym.sqlite3_mprintf
mov rsi, rax
lea rcx, str.SELECT_name__type__sql_FROM_sqlite_schema_AS_o_WHERE___s__AND_typetable__AND_sql_NOT_NULL_ORDER_BY_tbl_namesqlite_sequence__rowid
mov rdx, rsi
call sym.sqlite3_mprintf
mov rcx, qword [r13]
mov r9, r13
mov qword [rsp + 0x280], 0
lea r12, [rsp + 0x280]
mov rdx, rax
mov rdi, rax
mov qword [rsp + 0x20], r12
lea r8, [sym.dump_callback]
call sym.sqlite3_exec
cmp eax, 0xb
jne 0x418658
mov rcx, rdi
call sym.strlen30
mov rdx, qword [r13 + 0x40]
lea rcx, str.__CORRUPTION_ERROR___n
mov r15d, eax
call sym.fputs
mov r8, qword [rsp + 0x280]
test r8, r8
je 0x4185e3
mov rcx, qword [r13 + 0x40]
lea rdx, str.___s___n
call sym.utf8_printf
mov rcx, qword [rsp + 0x280]
call sym.sqlite3_free
mov qword [rsp + 0x280], 0
add r15d, 0x64
movsxd rcx, r15d
call sym.malloc
test rax, rax
mov rbp, rax
je 0x418658
mov r9, rdi
mov rdx, rax
mov ecx, r15d
lea r8, str._s_ORDER_BY_rowid_DESC
call sym.sqlite3_snprintf
mov rcx, qword [r13]
mov r9, r13
mov rdx, rbp
mov qword [rsp + 0x20], r12
lea r8, [sym.dump_callback]
call sym.sqlite3_exec
test eax, eax
je 0x418643
mov rcx, qword [r13 + 0x40]
lea rdx, str.__ERROR:__s___n
mov r8, qword [rsp + 0x280]
call sym.utf8_printf
mov rcx, qword [rsp + 0x280]
call sym.sqlite3_free
mov rcx, rbp
call sym.free
mov rcx, rdi
call sym.sqlite3_free
test byte [r13 + 0x7d], 1
jne 0x4187d6
lea rcx, str.SELECT_sql_FROM_sqlite_schema_AS_o_WHERE___s__AND_sql_NOT_NULL__AND_type_IN__index_trigger_view_
mov rdx, rsi
call sym.sqlite3_mprintf
mov rcx, qword [r13]
or r8d, 0xffffffff
mov r9, r12
mov qword [rsp + 0x20], 0
mov rdx, rax
mov rdi, rax
call sym.sqlite3_prepare_v2
test eax, eax
mov ebp, eax
jne 0x4186ac
mov rcx, qword [rsp + 0x280]
test rcx, rcx
jne 0x4186ec
mov rdx, qword [r13]
mov rcx, rdi
call sym.shell_error_context
mov rcx, qword [r13]
mov r12, rax
call sym.sqlite3_errmsg
mov rcx, qword [r13 + 0x40]
mov r8d, ebp
mov qword [rsp + 0x20], r12
lea rdx, str.__ERROR:___d___s___n_s
mov r9, rax
call sym.utf8_printf
mov rcx, r12
call sym.sqlite3_free
jmp 0x4187c4
call sym.sqlite3_step
mov rcx, qword [rsp + 0x280]
mov ebp, eax
call sym.sqlite3_column_count
mov r15d, eax
cmp ebp, 0x64
mov rcx, qword [rsp + 0x280]
jne 0x41879a
xor edx, edx
mov r12d, 1
call sym.sqlite3_column_text
mov rcx, qword [r13 + 0x40]
lea rdx, [0x004d40ca]
mov r8, rax
mov rbp, rax
call sym.utf8_printf
cmp r15d, r12d
jle 0x418764
mov rcx, qword [rsp + 0x280]
mov edx, r12d
inc r12d
call sym.sqlite3_column_text
mov rcx, qword [r13 + 0x40]
lea rdx, [0x004d8849]
mov r8, rax
call sym.utf8_printf
jmp 0x418737
test rbp, rbp
jne 0x418770
lea rbp, [0x004d4196]
mov al, byte [rbp]
test al, al
je 0x41e0ca
cmp al, 0x2d
je 0x418784
inc rbp
jmp 0x418770
cmp byte [rbp + 1], 0x2d
jne 0x41877f
mov rdx, qword [r13 + 0x40]
lea rcx, [0x004db15b]
jmp 0x41e0d5
call sym.sqlite3_finalize
test eax, eax
mov ebp, eax
je 0x4187ce
mov rcx, qword [r13]
call sym.sqlite3_errmsg
mov rcx, qword [r13 + 0x40]
mov r8d, ebp
lea rdx, str.__ERROR:___d___s___n
mov r9, rax
call sym.utf8_printf
cmp bpl, 0xb
je 0x4187ce
inc dword [r13 + 0x50]
mov rcx, rdi
call sym.sqlite3_free
mov rcx, rsi
call sym.sqlite3_free
cmp dword [r13 + 0x64], 0
je 0x4187fd
mov rdx, qword [r13 + 0x40]
lea rcx, str.PRAGMA_writable_schemaOFF__n
call sym.fputs
mov dword [r13 + 0x64], 0
mov rcx, qword [r13]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0
lea rdx, str.PRAGMA_writable_schemaOFF_
call sym.sqlite3_exec
mov rcx, qword [r13]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0
lea rdx, str.RELEASE_dump_
call sym.sqlite3_exec
test byte [r13 + 0x7d], 1
jne 0x418862
cmp dword [r13 + 0x50], 0
lea rdx, str.ROLLBACK_____due_to_errors_n
mov rcx, qword [r13 + 0x40]
lea rax, str.COMMIT__n
cmove rdx, rax
call sym.fprintf
mov eax, dword [rsp + 0x50]
mov dword [r13 + 0x7c], r14d
mov dword [r13 + 0x68], eax
jmp 0x41e0a2
cmp edi, 0x65
jne 0x418cdd
lea rdx, str.echo
movsxd r14, esi
mov rcx, r12
mov r8, r14
call sym.cli_strncmp
test eax, eax
jne 0x4188e8
cmp r15d, 2
jne 0x4188c4
mov rcx, qword [rsp + 0xe8]
call sym.booleanValue
test eax, eax
mov ebx, eax
je 0x4188ba
or dword [r13 + 0x7c], 0x40
xor ebx, ebx
jmp 0x41e0a2
and dword [r13 + 0x7c], 0xffffffbf
jmp 0x41e0a2
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rcx, str.Usage:_.echo_onoff_n
mov rdx, rax
call sym.fputs
jmp 0x41e0a2
lea rdx, [0x004d88af]
mov r8, r14
mov rcx, r12
call sym.cli_strncmp
test eax, eax
jne 0x4189be
cmp r15d, 2
jne 0x41899a
cmp byte [r13 + 0xb], 0
mov byte [r13 + 0xa], 0
je 0x418941
mov rcx, qword [r13]
test rcx, rcx
je 0x41893c
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.PRAGMA_vdbe_traceOFF_
call sym.sqlite3_exec
mov byte [r13 + 0xb], 0
mov rsi, qword [rsp + 0xe8]
lea rdx, [0x004d88ca]
mov rcx, rsi
call sym.cli_strcmp
test eax, eax
mov ebx, eax
jne 0x418968
mov byte [r13 + 9], 3
jmp 0x41e0a2
lea rdx, [0x004d88cf]
mov rcx, rsi
call sym.cli_strcmp
test eax, eax
mov ebx, eax
jne 0x418987
mov byte [r13 + 9], 2
jmp 0x41e0a2
mov rcx, rsi
xor ebx, ebx
call sym.booleanValue
mov byte [r13 + 9], al
jmp 0x41e0a2
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rcx, str.Usage:_.eqp_offontracetriggerfull_n
mov rdx, rax
call sym.fputs
jmp 0x41e0a2
lea rdx, str.exit
mov r8, r14
mov rcx, r12
call sym.cli_strncmp
test eax, eax
jne 0x4189fb
dec r15d
jne 0x4189e3
mov ebx, 2
jmp 0x41e0a2
mov rcx, qword [rsp + 0xe8]
call sym.integerValue
test eax, eax
mov ecx, eax
je 0x4189d9
jmp 0x41b29f
lea rdx, [0x004d47e9]
mov r8, r14
mov rcx, r12
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x418aab
dec r15d
jne 0x418a3f
mov eax, dword [r13 + 0x54]
cmp eax, 9
je 0x4173e1
mov dword [r13 + 0x60], eax
mov dword [r13 + 0x54], 9
mov byte [r13 + 8], 0
jmp 0x41e0a2
mov rsi, qword [rsp + 0xe8]
lea rdx, [0x004d7fbc]
mov rcx, rsi
call sym.cli_strcmp
test eax, eax
jne 0x418a6b
cmp dword [r13 + 0x54], 9
jne 0x418aa1
mov eax, dword [r13 + 0x60]
mov dword [r13 + 0x54], eax
jmp 0x418aa1
mov rcx, rsi
call sym.booleanValue
cmp eax, 1
je 0x418a1c
test eax, eax
jne 0x418a97
cmp dword [r13 + 0x54], 9
jne 0x418a8b
mov eax, dword [r13 + 0x60]
mov dword [r13 + 0x54], eax
mov byte [r13 + 8], 0
xor ebx, ebx
jmp 0x41e0a2
cmp eax, 0x63
je 0x418a5a
jmp 0x4173e1
mov byte [r13 + 8], 1
jmp 0x41e0a2
lea rdx, str.expert
mov r8, r14
mov rcx, r12
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41a3c3
cmp byte [r13 + 0x11], 0
je 0x418af5
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rdx, str.Cannot_run_experimental_commands_such_as___s__in_safe_mode_n
mov r8, r12
mov rcx, rax
call sym.fprintf
jmp 0x41e0a2
xor edx, edx
mov rcx, r13
call sym.open_db
cmp qword [r13 + 0x360], 0
mov qword [rsp + 0x280], 0
je 0x418b2e
lea rdx, str.src_shell.c
mov r8d, 0x4c31
lea rcx, str.pState__expert.pExpert0
call sym._assert
mov r14, qword [sym.__acrt_iob_func]
lea rdx, [r13 + 0x360]
mov ecx, 4
xor eax, eax
mov rdi, rdx
xor r12d, r12d
xor edx, edx
rep stosd dword [rdi], eax
mov edi, 1
mov qword [rsp + 0x50], r14
test dl, 1
jne 0x418c60
cmp r15d, edi
jle 0x418c60
movsxd rbp, edi
shl rbp, 3
mov rsi, qword [rsp + rbp + 0xe0]
cmp byte [rsi], 0x2d
jne 0x418b86
cmp byte [rsi + 1], 0x2d
jne 0x418b86
inc rsi
mov rcx, rsi
call sym.strlen30
cmp eax, 1
jle 0x418c37
lea rdx, str._verbose
movsxd r9, eax
mov r8, r9
mov qword [rsp + 0x58], r9
call sym.cli_strncmp
mov r9, qword [rsp + 0x58]
test eax, eax
mov edx, eax
jne 0x418bc9
mov dword [r13 + 0x368], 1
jmp 0x418c59
lea rdx, str._sample
mov r8, r9
mov rcx, rsi
call sym.cli_strncmp
test eax, eax
mov edx, eax
jne 0x418c37
lea eax, [r15 - 1]
cmp edi, eax
jne 0x418c01
mov ecx, 2
mov rax, qword [rsp + 0x50]
call rax
lea rdx, str.option_requires_an_argument:__s_n
mov r8, rsi
jmp 0x418c4c
mov rsi, qword [rsp + rbp + 0xe8]
mov dword [rsp + 0x58], edx
inc edi
mov rcx, rsi
call sym.integerValue
mov edx, dword [rsp + 0x58]
cmp eax, 0x64
mov r12d, eax
jbe 0x418c59
mov ecx, 2
call r14
lea rdx, str.value_out_of_range:__s_n
mov r8, rsi
jmp 0x418c4c
mov ecx, 2
call qword [sym.__acrt_iob_func]
lea rdx, str.unknown_option:__s_n
mov r8, rsi
mov rcx, rax
call sym.fprintf
mov edx, 1
inc edi
jmp 0x418b57
test edx, edx
jne 0x418ccb
mov rcx, qword [r13]
lea rdx, [rsp + 0x280]
call sym.sqlite3_expert_new
test rax, rax
mov qword [r13 + 0x360], rax
jne 0x418cbb
mov r8, qword [rsp + 0x280]
test r8, r8
jne 0x418c95
lea r8, [0x004d542f]
mov qword [rsp + 0x50], r8
mov ecx, 2
call qword [sym.__acrt_iob_func]
mov r8, qword [rsp + 0x50]
lea rdx, str.sqlite3_expert_new:__s_n
mov rcx, rax
call sym.fprintf
jmp 0x418ccb
mov r8d, r12d
mov edx, 1
mov rcx, rax
call sym.sqlite3_expert_config
mov rcx, qword [rsp + 0x280]
call sym.sqlite3_free
jmp 0x41e0a2
cmp edi, 0x66
jne 0x419329
lea rdx, str.filectrl
movsxd r14, esi
mov rcx, r12
mov r8, r14
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x419168
xor edx, edx
mov rcx, r13
xor edi, edi
mov qword [rsp + 0xc0], 0
call sym.open_db
lea rsi, str.help
cmp r15d, 1
je 0x418d96
mov rsi, qword [rsp + 0xe8]
cmp byte [rsi], 0x2d
jne 0x418d96
lea rdx, str.__schema
mov rcx, rsi
call sym.cli_strcmp
test eax, eax
je 0x418d5d
lea rdx, str._schema
mov rcx, rsi
call sym.cli_strcmp
test eax, eax
jne 0x418d96
xor edi, edi
cmp r15d, 3
jle 0x418d96
mov rdi, qword [rsp + 0xf0]
mov eax, 3
mov rdx, qword [rsp + rax*8 + 0xe0]
mov qword [rsp + rax*8 + 0xd0], rdx
inc rax
cmp r15d, eax
jg 0x418d72
mov rsi, qword [rsp + 0xe8]
sub r15d, 2
cmp byte [rsi], 0x2d
jne 0x418dba
mov dl, byte [rsi + 1]
test dl, dl
je 0x418dba
lea rax, [rsi + 1]
cmp dl, 0x2d
jne 0x418db7
cmp byte [rsi + 2], 0
je 0x418db7
add rsi, 2
jmp 0x418dba
mov rsi, rax
lea rdx, str.help
mov rcx, rsi
call sym.cli_strcmp
lea rbp, str.chunk_size
test eax, eax
jne 0x418e14
mov rcx, qword [r13 + 0x40]
lea rdx, str.Available_file_controls:_n
lea rbx, [rbp + 0xd8]
lea rsi, str.__.filectrl__s__s_n
call sym.utf8_printf
mov r9, qword [rbp + 0x10]
mov rdx, rsi
add rbp, 0x18
mov r8, qword [rbp - 0x18]
mov rcx, qword [r13 + 0x40]
call sym.utf8_printf
cmp rbp, rbx
jne 0x418df2
jmp 0x41915e
mov rcx, rsi
or r12d, 0xffffffff
call sym.strlen30
mov r14d, r12d
mov r9, rbp
xor r10d, r10d
cdqe
mov qword [rsp + 0x50], rax
mov rdx, qword [r9]
mov rcx, rsi
mov dword [rsp + 0x60], r10d
mov r8, qword [rsp + 0x50]
mov qword [rsp + 0x58], r9
call sym.cli_strncmp
mov r9, qword [rsp + 0x58]
test eax, eax
mov r10d, dword [rsp + 0x60]
jne 0x418e88
test r14d, r14d
jns 0x418e66
mov r14d, dword [r9 + 8]
mov r12d, r10d
jmp 0x418e88
mov ecx, 2
call qword [sym.__acrt_iob_func]
lea rdx, str.Error:_ambiguous_file_control:___s__nUse__.filectrl___help__for_help_n
mov r8, rsi
mov rcx, rax
call sym.utf8_printf
jmp 0x41915e
inc r10d
add r9, 0x18
cmp r10d, 9
jne 0x418e30
test r14d, r14d
jns 0x418ebc
mov ecx, 2
call qword [sym.__acrt_iob_func]
lea rdx, str.Error:_unknown_file_control:__s_nUse__.filectrl___help__for_help_n
mov r8, rsi
mov rcx, rax
call sym.utf8_printf
jmp 0x4190e3
cmp r14d, 0x14
je 0x419000
jg 0x418ef3
cmp r14d, 0xa
je 0x418fa4
jg 0x418eda
cmp r14d, 6
jmp 0x418f03
cmp r14d, 0xd
je 0x418fa4
cmp r14d, 0x10
je 0x41900c
jmp 0x4190e3
cmp r14d, 0x23
je 0x419000
jg 0x418f0a
cmp r14d, 0x22
je 0x418f6a
jmp 0x4190e3
cmp r14d, 0x24
je 0x418f1f
cmp r14d, 0x26
je 0x41906c
jmp 0x4190e3
lea eax, [r15 - 2]
cmp eax, 1
ja 0x4190e3
or rax, 0xffffffffffffffff
cmp r15d, 3
jne 0x418f43
mov rcx, qword [rsp + 0xf0]
call sym.integerValue
mov rcx, qword [r13]
lea r9, [rsp + 0xc0]
mov rdx, rdi
mov r8d, 0x24
mov qword [rsp + 0xc0], rax
call sym.sqlite3_file_control
jmp 0x418ff5
cmp r15d, 3
jne 0x4190e3
mov rcx, qword [rsp + 0xf0]
call sym.integerValue
mov rcx, qword [r13]
mov r8d, r14d
mov rdx, rdi
lea r9, [rsp + 0x280]
mov dword [rsp + 0x280], eax
call sym.sqlite3_file_control
jmp 0x4190db
lea eax, [r15 - 2]
cmp eax, 1
ja 0x4190e3
or eax, 0xffffffff
cmp r15d, 3
jne 0x418fc7
mov rcx, qword [rsp + 0xf0]
call sym.booleanValue
mov dword [rsp + 0x280], eax
mov rcx, qword [r13]
lea r9, [rsp + 0x280]
mov r8d, r14d
mov rdx, rdi
call sym.sqlite3_file_control
movsxd rax, dword [rsp + 0x280]
mov qword [rsp + 0xc0], rax
mov r15d, 1
jmp 0x4190e6
cmp r15d, 2
jne 0x4190e3
jmp 0x418fce
mov qword [rsp + 0x280], 0
cmp r15d, 2
jne 0x4190e3
mov rcx, qword [r13]
mov r8d, 0x10
mov rdx, rdi
lea r9, [rsp + 0x280]
call sym.sqlite3_file_control
mov r8, qword [rsp + 0x280]
test r8, r8
je 0x4190e6
mov rcx, qword [r13 + 0x40]
lea rdx, [0x004d559f]
call sym.utf8_printf
mov rcx, qword [rsp + 0x280]
call sym.sqlite3_free
jmp 0x4190e6
lea r14, [rsp + 0x280]
cmp r15d, 2
jle 0x4190a3
mov rcx, qword [rsp + 0xf0]
call sym.atoi
mov rcx, qword [r13]
mov r9, r14
mov rdx, rdi
mov r8d, 0x26
mov dword [rsp + 0x280], eax
call sym.sqlite3_file_control
mov rcx, qword [r13]
mov r8d, 0x26
mov rdx, rdi
mov r9, r14
mov dword [rsp + 0x280], 0xffffffff
call sym.sqlite3_file_control
mov rcx, qword [r13 + 0x40]
lea rdx, [0x004d8a88]
mov r8d, dword [rsp + 0x280]
call sym.utf8_printf
mov r15d, 2
jmp 0x4190e6
xor r15d, r15d
test r15d, r15d
jne 0x419119
test r12d, r12d
js 0x419119
movsxd rax, r12d
mov rcx, qword [r13 + 0x40]
mov r8, rsi
mov ebx, 1
imul rax, rax, 0x18
lea rdx, str.Usage:_.filectrl__s__s_n
mov r9, qword [rbp + rax + 0x10]
call sym.utf8_printf
jmp 0x41e0a2
dec r15d
jne 0x41e0a2
mov r9, qword [rsp + 0xc0]
lea rsi, [rsp + 0x280]
mov ecx, 0x64
lea r8, [0x004d8aa4]
mov rdx, rsi
call sym.sqlite3_snprintf
mov rcx, qword [r13 + 0x40]
mov r8, rsi
lea rdx, [0x004d559f]
call sym.fprintf
jmp 0x41e0a2
mov ebx, 1
jmp 0x41e0a2
lea rdx, str.fullschema
mov r8, r14
mov rcx, r12
call sym.cli_strncmp
test eax, eax
jne 0x41a3c3
cmp r15d, 2
mov ecx, 0xdc
mov rsi, r13
lea rdi, [rsp + 0x280]
rep movsd dword [rdi], dword [rsi]
lea rsi, [rsp + 0x280]
mov dword [rsp + 0x2e8], 0
mov dword [rsp + 0x2d4], 3
mov dword [rsp + 0x2dc], 3
jne 0x4191f3
mov rcx, qword [rsp + 0xe8]
lea rdx, str.indent
call sym.optionMatch
test eax, eax
je 0x4191f8
mov dword [rsp + 0x2d4], 0xb
mov dword [rsp + 0x2dc], 0xb
jmp 0x41921c
dec r15d
je 0x41921c
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rcx, str.Usage:_.fullschema____indent__n
mov rdx, rax
call sym.fputs
jmp 0x41e0a2
xor edx, edx
mov rcx, r13
call sym.open_db
mov rcx, qword [r13]
mov r9, rsi
mov qword [rsp + 0x20], 0
lea r8, [sym.callback]
lea rdx, str.SELECT_sql_FROM___SELECT_sql_sql__type_type__tbl_name_tbl_name__name_name__rowid_x_____FROM_sqlite_schema_UNION_ALL___SELECT_sql__type__tbl_name__name__rowid_FROM_sqlite_temp_schema__WHERE_type_meta_AND_sql_NOTNULL_AND_name_NOT_LIKE_sqlite___ORDER_BY_x
call sym.sqlite3_exec
test eax, eax
mov ebx, eax
jne 0x419297
mov rcx, qword [r13]
or r8d, 0xffffffff
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xc0]
lea rdx, str.SELECT_rowid_FROM_sqlite_schema_WHERE_name_GLOB_sqlite_stat_134_
call sym.sqlite3_prepare_v2
mov rcx, qword [rsp + 0xc0]
mov ebx, eax
call sym.sqlite3_step
mov rcx, qword [rsp + 0xc0]
mov edi, eax
call sym.sqlite3_finalize
cmp edi, 0x64
je 0x4192ac
mov rdx, qword [r13 + 0x40]
lea rcx, str.__No_STAT_tables_available___n
call sym.fputs
jmp 0x41e0a2
mov rdx, qword [r13 + 0x40]
lea rcx, str.ANALYZE_sqlite_schema__n
call sym.fputs
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0x2d4], 5
lea rax, [0x004d8c3f]
mov dword [rsp + 0x2dc], 5
lea rdx, str.SELECT__FROM_sqlite_stat1
mov qword [rsp + 0x310], rax
call sym.shell_exec
mov rcx, rsi
xor r8d, r8d
lea rax, [0x004d8c67]
lea rdx, str.SELECT__FROM_sqlite_stat4
mov qword [rsp + 0x310], rax
call sym.shell_exec
mov rdx, qword [r13 + 0x40]
lea rcx, str.ANALYZE_sqlite_schema__n
call sym.fputs
jmp 0x41e0a2
cmp edi, 0x68
jne 0x4193ff
lea rdx, str.headers
movsxd r14, esi
mov rcx, r12
mov r8, r14
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x419395
cmp r15d, 2
jne 0x419371
mov rcx, qword [rsp + 0xe8]
call sym.booleanValue
or dword [r13 + 0x7c], 0x80
mov dword [r13 + 0x68], eax
jmp 0x41e0a2
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rcx, str.Usage:_.headers_onoff_n
mov rdx, rax
call sym.fputs
jmp 0x41e0a2
lea rdx, str.help
mov r8, r14
mov rcx, r12
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41a3c3
dec r15d
mov rcx, qword [r13 + 0x40]
je 0x4193f3
mov r8, qword [rsp + 0xe8]
mov rdx, r8
mov qword [rsp + 0x50], r8
call sym.showHelp
mov r8, qword [rsp + 0x50]
test eax, eax
mov ebx, eax
jne 0x4173e1
mov rcx, qword [r13 + 0x40]
lea rdx, str.Nothing_matches__s_n
call sym.utf8_printf
jmp 0x41e0a2
xor edx, edx
call sym.showHelp
jmp 0x41e0a2
cmp edi, 0x69
jne 0x41a3c3
lea rdx, str.import
movsxd rbx, esi
mov rcx, r12
mov r8, rbx
call sym.cli_strncmp
test eax, eax
mov dword [rsp + 0x58], eax
jne 0x419f78
lea rdx, str.cannot_run_.import_in_safe_mode
mov rcx, r13
mov esi, 1
mov qword [rsp + 0xa0], 0
call sym.failIfSafeMode
cmp dword [r13 + 0x54], 0xa
lea rax, [rsp + 0x280]
mov ecx, 0x12
mov rdi, rax
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x58]
mov ebx, 1
lea rdx, [sym.ascii_read_one_field]
mov dword [rsp + 0x68], 0
mov qword [rsp + 0x60], 0
rep stosd dword [rdi], eax
lea rax, [sym.csv_read_one_field]
cmovne rdx, rax
mov qword [rsp + 0x70], rax
xor edi, edi
xor ebp, ebp
mov r14, rdx
cmp r15d, ebx
jle 0x419608
movsxd rax, ebx
mov r12, qword [rsp + rax*8 + 0xe0]
cmp byte [r12], 0x2d
jne 0x4194c3
cmp byte [r12 + 1], 0x2d
jne 0x4194c3
inc r12
cmp byte [r12], 0x2d
je 0x4194ef
test rdi, rdi
je 0x4195f9
test rbp, rbp
je 0x4195fe
mov rcx, qword [r13 + 0x40]
lea rdx, str.ERROR:_extra_argument:___s_.__Usage:_n
mov r8, r12
jmp 0x4195df
lea rdx, [0x004d8d12]
mov rcx, r12
call sym.cli_strcmp
test eax, eax
jne 0x41950b
inc dword [rsp + 0x58]
jmp 0x419601
lea rdx, str._schema
mov rcx, r12
call sym.cli_strcmp
test eax, eax
jne 0x41953d
lea eax, [r15 - 1]
cmp eax, ebx
jle 0x41953d
inc ebx
movsxd rax, ebx
mov rax, qword [rsp + rax*8 + 0xe0]
mov qword [rsp + 0x60], rax
jmp 0x419601
lea rdx, str._skip
mov rcx, r12
call sym.cli_strcmp
test eax, eax
jne 0x419573
lea eax, [r15 - 1]
cmp eax, ebx
jle 0x419573
inc ebx
movsxd rax, ebx
mov rcx, qword [rsp + rax*8 + 0xe0]
call sym.integerValue
mov dword [rsp + 0x68], eax
jmp 0x419601
lea rdx, str._ascii
mov rcx, r12
call sym.cli_strcmp
test eax, eax
mov esi, eax
jne 0x4195a3
movabs rax, 0x1e0000001f
mov qword [rsp + 0x2bc], rax
lea r14, [sym.ascii_read_one_field]
jmp 0x419601
lea rdx, str._csv
mov rcx, r12
call sym.cli_strcmp
test eax, eax
mov esi, eax
jne 0x4195d1
movabs rax, 0xa0000002c
mov r14, qword [rsp + 0x70]
mov qword [rsp + 0x2bc], rax
jmp 0x419601
mov rcx, qword [r13 + 0x40]
lea rdx, str.ERROR:_unknown_option:___s_.__Usage:_n
mov r8, r12
call sym.utf8_printf
mov rcx, qword [r13 + 0x40]
lea rdx, str.import
call sym.showHelp
jmp 0x419f6e
mov rdi, r12
jmp 0x419601
mov rbp, r12
inc ebx
jmp 0x41949d
test rbp, rbp
jne 0x41962f
lea r8, str.FILE
test rdi, rdi
mov rcx, qword [r13 + 0x40]
lea rax, [0x004d7e30]
cmovne r8, rax
lea rdx, str.ERROR:_missing__s_argument._Usage:_n
jmp 0x4195df
mov dword [0x00509150], 0
xor edx, edx
mov rcx, r13
call sym.open_db
test esi, esi
je 0x419730
lea rcx, [r13 + 0xbe]
call sym.strlen30
test eax, eax
jne 0x419672
mov ecx, 2
call qword [sym.__acrt_iob_func]
lea rcx, str.Error:_non_null_column_separator_required_for_import_n
mov rdx, rax
jmp 0x4196d8
dec eax
jle 0x41968d
mov ecx, 2
call qword [sym.__acrt_iob_func]
lea rcx, str.Error:_multi_character_column_separators_not_allowed_for_import_n
mov rdx, rax
jmp 0x4196d8
lea rbx, [r13 + 0xd2]
mov rcx, rbx
call sym.strlen30
test eax, eax
jne 0x4196b7
mov ecx, 2
call qword [sym.__acrt_iob_func]
lea rcx, str.Error:_non_null_row_separator_required_for_import_n
mov rdx, rax
jmp 0x4196d8
cmp eax, 2
jne 0x41970e
cmp dword [r13 + 0x54], 8
je 0x4196e2
mov ecx, 2
call qword [sym.__acrt_iob_func]
lea rcx, str.Error:_multi_character_row_separators_not_allowed_for_import_n
mov rdx, rax
call sym.fputs
jmp 0x419f6e
lea rdx, [0x004d4898]
call sym.cli_strcmp
test eax, eax
jne 0x4196c3
lea r8, [0x004d54ab]
mov ecx, 0x14
mov rdx, rbx
call sym.sqlite3_snprintf
mov rcx, rbx
call sym.strlen30
dec eax
jg 0x4196c3
movzx eax, byte [r13 + 0xbe]
mov dword [rsp + 0x2bc], eax
movzx eax, byte [r13 + 0xd2]
mov dword [rsp + 0x2c0], eax
cmp byte [rdi], 0x7c
mov qword [rsp + 0x280], rdi
mov dword [rsp + 0x2a8], 1
jne 0x419779
lea rcx, [rdi + 1]
lea rdx, [0x004d5aa3]
call qword [sym.imp.msvcrt.dll__popen]
mov qword [rsp + 0x288], rax
lea rax, str._pipe_
mov qword [rsp + 0x280], rax
mov rax, qword [sym.imp.msvcrt.dll__pclose]
jmp 0x419797
lea rdx, [0x004d4489]
mov rcx, rdi
call sym.fopen
mov qword [rsp + 0x288], rax
mov rax, qword [sym.fclose]
cmp qword [rsp + 0x288], 0
mov qword [rsp + 0x290], rax
jne 0x4197cc
mov ecx, 2
call qword [sym.__acrt_iob_func]
lea rdx, str.Error:_cannot_open___s__n
mov r8, rdi
mov rcx, rax
call sym.utf8_printf
jmp 0x419f6e
cmp dword [rsp + 0x58], 1
jg 0x4197dd
and esi, dword [rsp + 0x58]
and sil, 1
je 0x419851
mov eax, dword [rsp + 0x2bc]
lea rdx, str.Column_separator
mov byte [rsp + 0xc1], 0
mov rcx, qword [r13 + 0x40]
lea rbx, [rsp + 0xc0]
mov byte [rsp + 0xc0], al
call sym.utf8_printf
mov rcx, qword [r13 + 0x40]
mov rdx, rbx
call sym.output_c_string
mov rcx, qword [r13 + 0x40]
lea rdx, str.__row_separator
call sym.utf8_printf
mov eax, dword [rsp + 0x2c0]
mov rdx, rbx
mov rcx, qword [r13 + 0x40]
mov byte [rsp + 0xc0], al
call sym.output_c_string
mov rcx, qword [r13 + 0x40]
lea rdx, [0x004d54ab]
call sym.utf8_printf
mov ecx, 0x78
call sym.sqlite3_malloc64
test rax, rax
mov qword [rsp + 0x298], rax
je 0x4198c7
mov ebx, dword [rsp + 0x68]
jmp 0x41988d
mov eax, dword [rsp + 0x2bc]
cmp dword [rsp + 0x2b8], eax
jne 0x41988b
mov rcx, qword [rsp + 0x50]
call r14
test rax, rax
jne 0x41986e
dec ebx
test ebx, ebx
jg 0x41987e
cmp qword [rsp + 0x60], 0
je 0x4198d6
mov rdx, qword [rsp + 0x60]
lea rcx, str.__w_.__w_
mov r8, rbp
call sym.sqlite3_mprintf
lea rcx, str.SELECT__FROM__s
mov rdx, rax
mov rdi, rax
call sym.sqlite3_mprintf
test rax, rax
mov rbx, rax
jne 0x4198e7
mov rcx, qword [rsp + 0x50]
call sym.import_cleanup
jmp 0x41e03d
lea rcx, [0x004d5893]
mov rdx, rbp
call sym.sqlite3_mprintf
jmp 0x4198ad
test rdi, rdi
je 0x4198c7
lea r12, [rsp + 0xa0]
mov rcx, rax
call sym.strlen30
mov rcx, qword [r13]
or r8d, 0xffffffff
mov r9, r12
mov qword [rsp + 0x20], 0
mov rdx, rbx
mov ebp, eax
call sym.sqlite3_prepare_v2
mov rcx, qword [rsp + 0x50]
xor edx, edx
mov esi, eax
call sym.import_append_char
test esi, esi
je 0x419bc0
mov rcx, qword [r13]
call sym.sqlite3_errmsg
lea rcx, str.no_such_table:_
mov rdx, rax
call sym.sqlite3_strglob
test eax, eax
je 0x419967
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x419b8c
call sym.sqlite3_finalize
jmp 0x419b8c
lea rcx, str.CREATE_TABLE__s
mov rdx, rdi
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xc0], 0
lea r15, [rsp + 0xb0]
call sym.sqlite3_mprintf
mov rsi, rax
mov rcx, qword [rsp + 0x50]
call r14
test rax, rax
je 0x4199c9
mov rcx, qword [rsp + 0x298]
xor r8d, r8d
mov rdx, r15
call sym.zAutoColumn
mov eax, dword [rsp + 0x2bc]
cmp dword [rsp + 0x2b8], eax
je 0x419999
lea r8, [rsp + 0xc0]
mov rdx, r15
xor ecx, ecx
call sym.zAutoColumn
mov r9, qword [rsp + 0xc0]
mov r15, rax
test r9, r9
je 0x419a5f
mov rax, qword [rsp + 0x280]
cmp dword [0x004cf744], 0
mov qword [rsp + 0x60], rax
je 0x419a29
mov rax, qword [r13 + 0x38]
mov qword [rsp + 0x70], r9
xor ecx, ecx
mov qword [rsp + 0x68], rax
call qword [sym.__acrt_iob_func]
cmp qword [rsp + 0x68], rax
mov r9, qword [rsp + 0x70]
jne 0x419a29
mov rax, qword [r13 + 0x40]
jmp 0x419a3e
mov qword [rsp + 0x68], r9
mov ecx, 2
call qword [sym.__acrt_iob_func]
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
lea rdx, str.Columns_renamed_during_.import__s_due_to_duplicates:_n_s_n
mov rcx, rax
call sym.utf8_printf
mov rcx, qword [rsp + 0xc0]
call sym.sqlite3_free
cmp qword [rsp + 0xb0], 0
je 0x419a83
lea rdx, str.src_shell.c
mov r8d, 0x5e9e
lea rcx, str.dbCols0
call sym._assert
test r15, r15
jne 0x419adb
mov r8, qword [rsp + 0x280]
mov ecx, 2
mov qword [rsp + 0x58], r8
call qword [sym.__acrt_iob_func]
mov r8, qword [rsp + 0x58]
lea rdx, str._s:_empty_file_n
mov rcx, rax
call sym.utf8_printf
mov rcx, rsi
call sym.sqlite3_free
mov rcx, rbx
call sym.sqlite3_free
mov rcx, rdi
call sym.sqlite3_free
mov rcx, qword [rsp + 0x50]
call sym.import_cleanup
jmp 0x419f6e
lea rcx, str._z_z_n
mov rdx, rsi
mov r8, r15
call sym.sqlite3_mprintf
cmp dword [rsp + 0x58], 0
mov rsi, rax
je 0x419b0a
mov rcx, qword [r13 + 0x40]
lea rdx, [0x004d559f]
mov r8, rax
call sym.utf8_printf
mov rcx, qword [r13]
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], 0
call sym.sqlite3_exec
test eax, eax
je 0x419b5e
mov rcx, qword [r13]
call sym.sqlite3_errmsg
mov ecx, 2
mov qword [rsp + 0x58], rax
call qword [sym.__acrt_iob_func]
mov r9, qword [rsp + 0x58]
mov r8, rsi
lea rdx, str._s_failed:_n_s_n
mov rcx, rax
call sym.utf8_printf
jmp 0x419ab4
mov rcx, rsi
call sym.sqlite3_free
mov rcx, qword [r13]
or r8d, 0xffffffff
mov r9, r12
mov qword [rsp + 0x20], 0
mov rdx, rbx
call sym.sqlite3_prepare_v2
test eax, eax
jne 0x41994c
jmp 0x419bc0
mov rcx, qword [r13]
xor esi, esi
call sym.sqlite3_errmsg
mov ecx, 2
mov qword [rsp + 0x58], rax
call qword [sym.__acrt_iob_func]
mov r8, qword [rsp + 0x58]
lea rdx, str.Error:__s_n
mov rcx, rax
call sym.utf8_printf
jmp 0x419ab4
mov rcx, rbx
call sym.sqlite3_free
mov rcx, qword [rsp + 0xa0]
call sym.sqlite3_column_count
mov rcx, qword [rsp + 0xa0]
mov r15d, eax
call sym.sqlite3_finalize
test r15d, r15d
mov qword [rsp + 0xa0], 0
je 0x41ec2d
lea ecx, [rbp + r15 + 0xa]
add ecx, ecx
movsxd rcx, ecx
call sym.sqlite3_malloc64
test rax, rax
mov rbx, rax
je 0x4198c7
lea ecx, [rbp + 0x14]
mov rdx, rax
mov r9, rdi
lea r8, str.INSERT_INTO__s_VALUES__
call sym.sqlite3_snprintf
mov rcx, rbx
call sym.strlen30
mov edx, 1
cdqe
add rax, rbx
cmp edx, r15d
jge 0x419c50
mov byte [rax], 0x2c
inc edx
add rax, 2
mov byte [rax - 1], 0x3f
jmp 0x419c3c
cmp dword [rsp + 0x58], 1
mov byte [rax], 0x29
mov byte [rax + 1], 0
jle 0x419c71
mov rcx, qword [r13 + 0x40]
lea rdx, str.Insert_using:__s_n
mov r8, rbx
call sym.utf8_printf
mov rcx, qword [r13]
or r8d, 0xffffffff
mov r9, r12
mov rdx, rbx
mov qword [rsp + 0x20], 0
call sym.sqlite3_prepare_v2
test eax, eax
je 0x419cdb
mov rcx, qword [r13]
xor esi, esi
call sym.sqlite3_errmsg
mov ecx, 2
mov qword [rsp + 0x58], rax
call qword [sym.__acrt_iob_func]
mov r8, qword [rsp + 0x58]
lea rdx, str.Error:__s_n
mov rcx, rax
call sym.utf8_printf
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x419ab4
call sym.sqlite3_finalize
jmp 0x419ab4
mov rcx, rbx
call sym.sqlite3_free
mov rcx, rdi
call sym.sqlite3_free
mov rcx, qword [r13]
call sym.sqlite3_get_autocommit
test eax, eax
mov ebp, eax
je 0x419d19
mov rcx, qword [r13]
lea rdx, [0x004d6b55]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0
call sym.sqlite3_exec
lea eax, [r15 - 1]
xor ebx, ebx
mov dword [rsp + 0x60], eax
mov edi, dword [rsp + 0x2a8]
xor esi, esi
cmp esi, r15d
jge 0x419e12
mov rcx, qword [rsp + 0x50]
call r14
test rax, rax
mov r8, rax
jne 0x419d4d
test esi, esi
je 0x419e10
cmp dword [r13 + 0x54], 0xa
jne 0x419d67
test r8, r8
je 0x419d67
cmp byte [r8], 0
jne 0x419d67
test esi, esi
je 0x419e12
mov rcx, qword [rsp + 0xa0]
lea r12d, [rsi + 1]
or r9, 0xffffffffffffffff
mov qword [rsp + 0x20], r9
mov edx, r12d
call sym.sqlite3_bind_text
cmp dword [rsp + 0x60], esi
jle 0x419e09
mov eax, dword [rsp + 0x2bc]
cmp dword [rsp + 0x2b8], eax
je 0x419e09
mov r8, qword [rsp + 0x280]
mov ecx, 2
mov qword [rsp + 0x68], r8
call qword [sym.__acrt_iob_func]
mov r8, qword [rsp + 0x68]
mov dword [rsp + 0x28], r12d
mov r9d, edi
mov dword [rsp + 0x20], r15d
lea rdx, str._s:_d:_expected__d_columns_but_found__d___filling_the_rest_with_NULL_n
mov rcx, rax
lea r12d, [rsi + 2]
call sym.utf8_printf
mov r8d, r12d
cmp r8d, r15d
jg 0x419dfe
mov rcx, qword [rsp + 0xa0]
mov edx, r8d
mov dword [rsp + 0x68], r8d
call sym.sqlite3_bind_null
mov r8d, dword [rsp + 0x68]
inc r8d
jmp 0x419dda
mov eax, dword [rsp + 0x60]
sub eax, esi
mov esi, eax
add esi, r12d
inc esi
jmp 0x419d2c
xor esi, esi
mov eax, dword [rsp + 0x2bc]
cmp dword [rsp + 0x2b8], eax
jne 0x419e74
mov rcx, qword [rsp + 0x50]
inc esi
call r14
mov eax, dword [rsp + 0x2bc]
cmp dword [rsp + 0x2b8], eax
je 0x419e22
mov r8, qword [rsp + 0x280]
mov ecx, 2
mov qword [rsp + 0x68], r8
call qword [sym.__acrt_iob_func]
mov r8, qword [rsp + 0x68]
mov dword [rsp + 0x28], esi
mov r9d, edi
mov dword [rsp + 0x20], r15d
lea rdx, str._s:_d:_expected__d_columns_but_found__d___extras_ignored_n
mov rcx, rax
call sym.utf8_printf
cmp esi, r15d
jl 0x419ee9
mov rcx, qword [rsp + 0xa0]
call sym.sqlite3_step
mov rcx, qword [rsp + 0xa0]
call sym.sqlite3_reset
test eax, eax
mov ebx, eax
je 0x419ee2
mov rcx, qword [r13]
call sym.sqlite3_errmsg
mov r8, qword [rsp + 0x280]
mov ecx, 2
mov rsi, rax
mov qword [rsp + 0x68], r8
call qword [sym.__acrt_iob_func]
mov r8, qword [rsp + 0x68]
mov r9d, edi
mov qword [rsp + 0x20], rsi
lea rdx, str._s:_d:_INSERT_failed:__s_n
mov rcx, rax
call sym.utf8_printf
inc dword [rsp + 0x2b0]
jmp 0x419ee9
inc dword [rsp + 0x2ac]
cmp dword [rsp + 0x2b8], 0xffffffff
jne 0x419d23
mov rcx, qword [rsp + 0x50]
call sym.import_cleanup
mov rcx, qword [rsp + 0xa0]
call sym.sqlite3_finalize
test ebp, ebp
je 0x419f31
mov rcx, qword [r13]
lea rdx, [0x004d7abf]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0
call sym.sqlite3_exec
cmp dword [rsp + 0x58], 0
je 0x41e0a2
mov eax, dword [rsp + 0x2a8]
lea rdx, str.Added__d_rows_with__d_errors_using__d_lines_of_input_n
mov rcx, qword [r13 + 0x40]
mov r9d, dword [rsp + 0x2b0]
mov r8d, dword [rsp + 0x2ac]
dec eax
mov dword [rsp + 0x20], eax
call sym.utf8_printf
jmp 0x41e0a2
mov ebx, 1
jmp 0x41e0a2
lea rdx, str.imposter
mov r8, rbx
mov rcx, r12
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41a3c3
test byte [r13 + 0x7d], 4
jne 0x419fc6
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea r8, str.imposter
lea rdx, str.._s_unavailable_without___unsafe_testing_n
mov rcx, rax
call sym.utf8_printf
jmp 0x41e0a2
cmp r15d, 3
je 0x41a00e
cmp r15d, 2
je 0x419ff6
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rdx, str.Usage:_.imposter_INDEX_IMPOSTER_n_______.imposter_off_n
mov rcx, rax
call sym.utf8_printf
jmp 0x41e0a2
mov rcx, qword [rsp + 0xe8]
lea rdx, [0x004d5a43]
call sym.sqlite3_stricmp
test eax, eax
jne 0x419fd2
xor edx, edx
mov rcx, r13
call sym.open_db
cmp r15d, 2
jne 0x41a043
mov rdx, qword [r13]
xor r9d, r9d
mov dword [rsp + 0x20], 1
mov ecx, 0x19
lea r8, [0x004d45f9]
call sym.sqlite3_test_control
jmp 0x41e0a2
mov rsi, qword [rsp + 0xe8]
lea rcx, str.SELECT_rootpage__0_FROM_sqlite_schema_WHERE_name_q_AND_typeindexUNION_ALL_SELECT_rootpage__1_FROM_sqlite_schema_WHERE_name_q_AND_typetable___AND_sql_LIKE___without__rowid__
lea rdi, [rsp + 0xc0]
mov r8, rsi
mov rdx, rsi
call sym.sqlite3_mprintf
mov rcx, qword [r13]
or r8d, 0xffffffff
mov r9, rdi
mov qword [rsp + 0x20], 0
mov rdx, rax
mov rbp, rax
call sym.sqlite3_prepare_v2
mov rcx, rbp
call sym.sqlite3_free
mov rcx, qword [rsp + 0xc0]
call sym.sqlite3_step
cmp eax, 0x64
jne 0x41a0c6
mov rcx, qword [rsp + 0xc0]
xor edx, edx
call sym.sqlite3_column_int
mov rcx, qword [rsp + 0xc0]
mov edx, 1
mov r12d, eax
call sym.sqlite3_column_int
mov ebp, eax
jmp 0x41a0cb
xor ebp, ebp
xor r12d, r12d
mov rcx, qword [rsp + 0xc0]
lea r15, [rsp + 0x280]
call sym.sqlite3_finalize
lea rcx, str.PRAGMA_index_xinfo_q
mov rdx, rsi
call sym.sqlite3_mprintf
mov rcx, qword [r13]
mov r9, rdi
or r8d, 0xffffffff
mov rsi, rax
mov rdx, rax
xor edi, edi
mov qword [rsp + 0x20], 0
call sym.sqlite3_prepare_v2
mov rcx, rsi
xor esi, esi
mov r14d, eax
call sym.sqlite3_free
test r14d, r14d
mov rcx, qword [rsp + 0xc0]
je 0x41a154
mov rcx, qword [rsp + 0xc0]
call sym.sqlite3_finalize
test ebx, ebx
mov r14, qword [sym.__acrt_iob_func]
je 0x41a225
test r12d, r12d
jne 0x41a260
jmp 0x41a225
call sym.sqlite3_step
cmp eax, 0x64
jne 0x41a12a
mov rcx, qword [rsp + 0xc0]
mov edx, 2
inc ebx
call sym.sqlite3_column_text
test rax, rax
mov r8, rax
jne 0x41a1b1
mov rcx, qword [rsp + 0xc0]
mov edx, 1
call sym.sqlite3_column_int
lea r8, [0x004d7e36]
inc eax
je 0x41a1b1
lea r8, str.expr_d
mov r9d, ebx
mov rdx, r15
mov ecx, 0x14
call sym.sqlite3_snprintf
mov r8, r15
test ebp, ebp
je 0x41a1f8
test edi, edi
jne 0x41a1f8
mov rcx, qword [rsp + 0xc0]
mov edx, 5
mov qword [rsp + 0x50], r8
call sym.sqlite3_column_int
mov r8, qword [rsp + 0x50]
test eax, eax
mov edi, eax
jne 0x41a1f6
test rsi, rsi
je 0x41a1fd
xor eax, eax
mov rdi, rsi
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rax, rcx
not rax
lea edi, [rax - 1]
jmp 0x41a20e
xor edi, edi
test rsi, rsi
jne 0x41a20e
lea rcx, [0x004d5893]
mov rdx, r8
call sym.sqlite3_mprintf
jmp 0x41a21d
lea rcx, str._z___w_
mov rdx, rsi
call sym.sqlite3_mprintf
mov rsi, rax
jmp 0x41a11d
mov r8, qword [rsp + 0xe8]
mov ecx, 2
mov ebx, 1
mov qword [rsp + 0x50], r8
call r14
mov r8, qword [rsp + 0x50]
lea rdx, str.no_such_index:___s__n
mov rcx, rax
call sym.utf8_printf
mov rcx, rsi
call sym.sqlite3_free
jmp 0x41e0a2
test edi, edi
jne 0x41a269
mov edi, 0x186a0
mov rdx, qword [rsp + 0xf0]
mov r9d, edi
mov r8, rsi
mov qword [rsp + 0x20], rsi
lea rcx, str.CREATE_TABLE___w___s_PRIMARY_KEY__.s__WITHOUT_ROWID
call sym.sqlite3_mprintf
mov rcx, rsi
mov rdi, rax
call sym.sqlite3_free
mov rdx, qword [r13]
mov dword [rsp + 0x20], r12d
mov r9d, 1
lea r8, [0x004d45f9]
mov ecx, 0x19
call sym.sqlite3_test_control
test eax, eax
jne 0x41a391
mov rcx, qword [r13]
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], 0
call sym.sqlite3_exec
mov rdx, qword [r13]
xor r9d, r9d
mov dword [rsp + 0x20], 0
lea r8, [0x004d45f9]
mov ebx, eax
mov ecx, 0x19
call sym.sqlite3_test_control
test ebx, ebx
je 0x41a32e
mov rcx, qword [r13]
call sym.sqlite3_errmsg
mov ecx, 2
mov qword [rsp + 0x50], rax
call r14
mov r9, qword [rsp + 0x50]
mov r8, rdi
lea rdx, str.Error_in___s_:__s_n
mov rcx, rax
call sym.utf8_printf
jmp 0x41a3b6
mov ecx, 1
call r14
lea rdx, str._s__n
mov r8, rdi
mov rcx, rax
call sym.utf8_printf
mov r8, qword [rsp + 0xe8]
test ebp, ebp
mov ecx, 1
lea rax, [0x004d7e3e]
lea r9, [0x004d69c3]
cmove r9, rax
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
call r14
mov r9, qword [rsp + 0x58]
lea rdx, str.WARNING:_writing_to_an_imposter_table_will_corrupt_the___s___s__n
mov r8, qword [rsp + 0x50]
mov rcx, rax
call sym.fprintf
jmp 0x41a3b6
mov ecx, 2
mov dword [rsp + 0x50], eax
mov ebx, 1
call r14
mov r8d, dword [rsp + 0x50]
lea rdx, str.SQLITE_TESTCTRL_IMPOSTER_returns__d_n
mov rcx, rax
call sym.fprintf
mov rcx, rdi
call sym.sqlite3_free
jmp 0x41e0a2
cmp edi, 0x6c
sete al
cmp esi, 4
setg byte [rsp + 0x58]
test al, al
je 0x41a576
cmp byte [rsp + 0x58], 0
je 0x41a576
lea rdx, str.limits
movsxd r8, esi
mov rcx, r12
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41a587
xor edx, edx
mov rcx, r13
call sym.open_db
cmp r15d, 1
jne 0x41a454
lea rbx, [0x004dc280]
or ebp, 0xffffffff
lea rsi, [rbx + 0xc0]
lea rdi, str._20s__d_n
mov edx, dword [rbx + 8]
mov r8d, ebp
add rbx, 0x10
mov rcx, qword [r13]
call sym.sqlite3_limit
mov rdx, qword [rbx - 0x10]
mov rcx, rdi
mov r8d, eax
call sym.printf
cmp rbx, rsi
jne 0x41a428
jmp 0x4173e1
cmp r15d, 3
jle 0x41a47e
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rcx, str.Usage:_.limit_NAME__NEW_VALUE__n
mov rdx, rax
call sym.fputs
jmp 0x41e0a2
mov rdi, qword [rsp + 0xe8]
lea r14, [0x004dc280]
xor r12d, r12d
or rsi, 0xffffffffffffffff
mov rbp, r14
mov rcx, rdi
call sym.strlen30
mov dword [rsp + 0x50], eax
mov r8d, dword [rsp + 0x50]
mov rdx, rdi
mov rcx, qword [r14]
call sym.sqlite3_strnicmp
test eax, eax
jne 0x41a4e5
inc esi
je 0x41a4e2
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rdx, str.ambiguous_limit:___s__n
mov r8, rdi
mov rcx, rax
call sym.utf8_printf
jmp 0x41e0a2
movsxd rsi, r12d
inc r12d
add r14, 0x10
cmp r12d, 0xc
jne 0x41a4a3
cmp esi, 0xffffffff
jne 0x41a51e
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rdx, str.unknown_limit:___s__nenter__.limits__with_no_arguments_for_a_list._n
mov r8, rdi
mov rcx, rax
call sym.utf8_printf
jmp 0x41e0a2
mov rax, rsi
shl rax, 4
cmp r15d, 3
mov edi, dword [rbp + rax + 8]
jne 0x41a54a
mov rcx, qword [rsp + 0xf0]
call sym.integerValue
mov rcx, qword [r13]
mov edx, edi
mov r8d, eax
call sym.sqlite3_limit
mov rcx, qword [r13]
or r8d, 0xffffffff
mov edx, edi
shl rsi, 4
call sym.sqlite3_limit
mov rdx, qword [rbp + rsi]
lea rcx, str._20s__d_n
mov r8d, eax
call sym.printf
jmp 0x41e0a2
test bpl, bpl
je 0x41aa5d
test al, al
je 0x41aa5d
lea rdx, str.lint
movsxd r8, esi
mov rcx, r12
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41aa66
xor edx, edx
mov rcx, r13
call sym.open_db
cmp r15d, 1
jne 0x41a604
mov rsi, qword [sym.__acrt_iob_func]
mov ecx, 2
call rsi
lea rdx, str.Usage__s_sub_command__switches...__n
mov r8, r12
mov rcx, rax
call sym.fprintf
mov ecx, 2
call rsi
lea rcx, str.Where_sub_commands_are:_n
mov rdx, rax
call sym.fputs
mov ecx, 2
call rsi
lea rcx, str.____fkey_indexes_n
mov rdx, rax
call sym.fputs
jmp 0x41e0a2
mov rsi, qword [rsp + 0xe8]
mov rcx, rsi
call sym.strlen30
test eax, eax
mov r8d, eax
jle 0x41a5b3
lea rdx, str.fkey_indexes
call sym.sqlite3_strnicmp
test eax, eax
jne 0x41a5b3
mov rax, qword [r13 + 0x40]
xor r14d, r14d
mov dword [rsp + 0x60], 0
mov ebx, 2
mov qword [rsp + 0xc0], 0
mov rbp, qword [r13]
mov qword [rsp + 0x50], rax
lea rax, [0x004d4196]
mov qword [rsp + 0x68], rax
cmp r15d, ebx
jle 0x41a6fc
mov rdi, qword [rsp + rbx*8 + 0xe0]
mov rcx, rdi
call sym.strlen30
cmp eax, 1
jle 0x41a6a2
mov r8d, eax
mov rdx, rdi
mov dword [rsp + 0x58], eax
lea rcx, str._verbose
call sym.sqlite3_strnicmp
test eax, eax
jne 0x41a6c7
mov dword [rsp + 0x60], 1
jmp 0x41a6f4
mov ecx, 2
call qword [sym.__acrt_iob_func]
mov r9, rsi
mov r8, r12
lea rdx, str.Usage:__s__s___verbose____groupbyparent__n
mov rcx, rax
call sym.fprintf
jmp 0x41aa56
mov r9d, dword [rsp + 0x58]
lea rcx, str._groupbyparent
mov rdx, rdi
mov r8d, r9d
call sym.sqlite3_strnicmp
test eax, eax
jne 0x41a6a2
lea rax, [0x004d7e44]
mov r14d, 1
mov qword [rsp + 0x68], rax
inc rbx
jmp 0x41a660
lea rax, [sym.shellFkeyCollateClause]
mov r9d, 1
mov rcx, rbp
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov r8d, 4
mov qword [rsp + 0x28], rax
lea rdx, str.fkey_collate_clause
mov qword [rsp + 0x20], 0
call sym.sqlite3_create_function
test eax, eax
jne 0x41aa2a
mov qword [rsp + 0x20], 0
or r8d, 0xffffffff
mov rcx, rbp
lea r9, [rsp + 0xc0]
lea rdx, str.SELECT______EXPLAIN_QUERY_PLAN_SELECT_1_FROM___quote_s.name____WHERE____group_concat_quote_s.name___.__quote_f._from_________fkey_collate_clause________f._table___COALESCE_f._to___p._name____s.name__f._from____AND_________SEARCH___s.name___USING_COVERING_INDEX____group_concat_____AND____________s.name______group_concat_f._from_________________f._table______group_concat_COALESCE_f._to___p._name_____________CREATE_INDEX___quote_s.name___group_concat_f._from__________ON___quote_s.name_______group_concat_quote_f._from___________fkey_collate_clause___________f._table___COALESCE_f._to___p._name____s.name__f._from___________________f._table__FROM_sqlite_schema_AS_s__pragma_foreign_key_list_s.name__AS_f_LEFT_JOIN_pragma_table_info_AS_p_ON__pk_1seq_AND_p.argf._table___GROUP_BY_s.name__f.id_ORDER_BY__CASE_WHEN___THEN_f._table__ELSE_s.name_END_
call sym.sqlite3_prepare_v2
test eax, eax
mov esi, eax
jne 0x41aa2a
mov rcx, qword [rsp + 0xc0]
mov r8d, r14d
mov edx, 1
xor ebx, ebx
call sym.sqlite3_bind_int
lea rax, [rsp + 0x280]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0xc0]
call sym.sqlite3_step
cmp eax, 0x64
jne 0x41a9dd
mov rcx, qword [rsp + 0xc0]
xor edx, edx
mov qword [rsp + 0x280], 0
call sym.sqlite3_column_text
mov rcx, qword [rsp + 0xc0]
mov edx, 1
mov r12, rax
call sym.sqlite3_column_text
mov rcx, qword [rsp + 0xc0]
mov edx, 2
mov rdi, rax
call sym.sqlite3_column_text
mov rcx, qword [rsp + 0xc0]
mov edx, 3
mov qword [rsp + 0x70], rax
call sym.sqlite3_column_text
mov rcx, qword [rsp + 0xc0]
mov edx, 4
mov r15, rax
call sym.sqlite3_column_text
mov rcx, qword [rsp + 0xc0]
mov edx, 5
mov qword [rsp + 0x78], rax
call sym.sqlite3_column_text
test r12, r12
mov qword [rsp + 0x58], rax
je 0x41a79b
test rdi, rdi
je 0x41a79b
mov r9, qword [rsp + 0x80]
or r8d, 0xffffffff
mov rdx, r12
mov rcx, rbp
mov qword [rsp + 0x20], 0
call sym.sqlite3_prepare_v2
test eax, eax
mov r8d, eax
jne 0x41a9da
mov rcx, qword [rsp + 0x280]
or r12d, 0xffffffff
call sym.sqlite3_step
cmp eax, 0x64
jne 0x41a8e8
mov rcx, qword [rsp + 0x280]
mov edx, 3
xor r12d, r12d
call sym.sqlite3_column_text
test rax, rax
je 0x41a8e8
mov rdx, rax
mov rcx, rdi
mov qword [rsp + 0x88], rax
mov r12d, 1
call sym.sqlite3_strglob
mov r8, qword [rsp + 0x88]
test eax, eax
je 0x41a8e8
lea rcx, str.SEARCH__USING_INTEGER_PRIMARY_KEY__rowid__
mov rdx, r8
xor r12d, r12d
call sym.sqlite3_strglob
test eax, eax
sete r12b
mov rcx, qword [rsp + 0x280]
call sym.sqlite3_finalize
test eax, eax
mov r8d, eax
jne 0x41a9da
cmp r12d, 0xffffffff
jne 0x41a92e
mov ecx, 2
mov dword [rsp + 0x50], eax
call qword [sym.__acrt_iob_func]
lea rcx, str.Error:_internal_error
mov rdx, rax
call sym.fputs
mov r8d, dword [rsp + 0x50]
jmp 0x41a9da
test r14d, r14d
je 0x41a98d
mov eax, r12d
xor eax, 1
or eax, dword [rsp + 0x60]
je 0x41e0ee
test rbx, rbx
jne 0x41a97c
mov r8, qword [rsp + 0x58]
lea rdx, str.___Parent_table__s_n
mov rcx, qword [rsp + 0x50]
call sym.fprintf
mov rcx, rbx
call sym.sqlite3_free
mov rdx, qword [rsp + 0x58]
lea rcx, [0x004d40ca]
call sym.sqlite3_mprintf
mov rbx, rax
jmp 0x41a98d
mov rcx, qword [rsp + 0x58]
mov rdx, rbx
call sym.sqlite3_stricmp
test eax, eax
jne 0x41a948
test r12d, r12d
jne 0x41a9aa
mov qword [rsp + 0x20], r15
mov r9, qword [rsp + 0x78]
lea rdx, str._s_s______s_n
mov r8, qword [rsp + 0x68]
jmp 0x41a9cb
cmp dword [rsp + 0x60], 0
je 0x41a79b
mov r9, qword [rsp + 0x70]
mov qword [rsp + 0x20], r15
lea rdx, str._s__no_extra_indexes_required_for__s_____s___n
mov r8, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
call sym.fprintf
jmp 0x41a79b
mov esi, r8d
mov rcx, rbx
call sym.sqlite3_free
test esi, esi
je 0x41aa15
mov rcx, rbp
call sym.sqlite3_errmsg
mov ecx, 2
mov qword [rsp + 0x50], rax
call qword [sym.__acrt_iob_func]
mov r8, qword [rsp + 0x50]
lea rdx, [0x004d559f]
mov rcx, rax
call sym.fprintf
mov rcx, qword [rsp + 0xc0]
call sym.sqlite3_finalize
test esi, esi
jne 0x41aa56
test eax, eax
je 0x41aa56
mov rcx, rbp
call sym.sqlite3_errmsg
mov ecx, 2
mov qword [rsp + 0x50], rax
call qword [sym.__acrt_iob_func]
mov r8, qword [rsp + 0x50]
lea rdx, [0x004d559f]
mov rcx, rax
call sym.fprintf
xor ebx, ebx
jmp 0x41e0a2
cmp edi, 0x6c
jne 0x41ac35
lea rdx, str.load
movsxd rbx, esi
mov rcx, r12
mov r8, rbx
call sym.cli_strncmp
test eax, eax
jne 0x41ab5b
lea rdx, str.cannot_run_.load_in_safe_mode
mov rcx, r13
mov qword [rsp + 0x280], 0
call sym.failIfSafeMode
cmp r15d, 1
je 0x41aab1
mov rbx, qword [rsp + 0xe8]
cmp byte [rbx], 0
jne 0x41aad5
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rcx, str.Usage:_.load_FILE__ENTRYPOINT__n
mov rdx, rax
call sym.fputs
jmp 0x41e0a2
xor r8d, r8d
cmp r15d, 2
je 0x41aae6
mov r8, qword [rsp + 0xf0]
xor edx, edx
mov rcx, r13
mov qword [rsp + 0x50], r8
call sym.open_db
mov r8, qword [rsp + 0x50]
mov rdx, rbx
mov rcx, qword [r13]
lea r9, [rsp + 0x280]
call sym.sqlite3_load_extension
test eax, eax
mov ebx, eax
je 0x41e0a2
mov r8, qword [rsp + 0x280]
mov ecx, 2
mov ebx, 1
mov qword [rsp + 0x50], r8
call qword [sym.__acrt_iob_func]
mov r8, qword [rsp + 0x50]
lea rdx, str.Error:__s_n
mov rcx, rax
call sym.utf8_printf
mov rcx, qword [rsp + 0x280]
call sym.sqlite3_free
jmp 0x41e0a2
lea rdx, [0x004d97e3]
mov r8, rbx
mov rcx, r12
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41b202
cmp r15d, 2
je 0x41aba1
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rcx, str.Usage:_.log_FILENAME_n
mov rdx, rax
call sym.fputs
jmp 0x41e0a2
cmp byte [r13 + 0x11], 0
mov rsi, qword [rsp + 0xe8]
je 0x41abf7
lea rdx, [0x004d5a3c]
mov rcx, rsi
call sym.cli_strcmp
test eax, eax
je 0x41abf7
lea rdx, [0x004d5a43]
mov rcx, rsi
call sym.cli_strcmp
test eax, eax
je 0x41abf7
lea rsi, [0x004d5a43]
mov ecx, 1
call qword [sym.__acrt_iob_func]
lea rcx, str.cannot_set_.log_to_anything_other_than__on__or__off__n
mov rdx, rax
call sym.fputs
mov rcx, qword [r13 + 0x248]
call sym.output_file_close
lea rdx, [0x004d5a3c]
mov rcx, rsi
call sym.cli_strcmp
test eax, eax
lea rax, str.stdout
cmove rsi, rax
xor edx, edx
mov rcx, rsi
call sym.output_file_open
mov qword [r13 + 0x248], rax
jmp 0x41e0a2
cmp edi, 0x6d
jne 0x41b202
lea rdx, [0x004d9833]
movsxd r8, esi
mov rcx, r12
call sym.cli_strncmp
test eax, eax
jne 0x41ba2f
xor ebp, ebp
xor edi, edi
mov r12d, 0x3c
mov qword [rsp + 0x50], 0
mov r14d, 1
xor esi, esi
cmp r15d, r14d
jle 0x41adfa
lea rdx, str.wrap
movsxd rax, r14d
mov rbx, qword [rsp + rax*8 + 0xe0]
mov rcx, rbx
call sym.optionMatch
test eax, eax
je 0x41acbc
lea edx, [r14 + 1]
cmp r15d, edx
jle 0x41acbc
movsxd rax, edx
mov dword [rsp + 0x58], edx
mov rcx, qword [rsp + rax*8 + 0xe0]
call sym.integerValue
mov r12d, eax
jmp 0x41ad05
lea rdx, [0x004d983d]
mov rcx, rbx
call sym.optionMatch
test eax, eax
jne 0x41addf
lea rdx, str.wordwrap
mov rcx, rbx
call sym.optionMatch
test eax, eax
je 0x41ad11
lea edx, [r14 + 1]
cmp r15d, edx
jle 0x41ad11
movsxd rax, edx
mov dword [rsp + 0x58], edx
mov rcx, qword [rsp + rax*8 + 0xe0]
call sym.booleanValue
mov ebp, eax
mov edx, dword [rsp + 0x58]
mov r14d, edx
jmp 0x41adf2
lea rdx, [0x004d9849]
mov rcx, rbx
call sym.optionMatch
test eax, eax
jne 0x41ade4
lea rdx, str.noquote
mov rcx, rbx
call sym.optionMatch
test eax, eax
jne 0x41ade9
test rsi, rsi
jne 0x41ad74
lea rdx, str.qbox
mov rcx, rbx
call sym.cli_strcmp
mov edx, 0x3c
test eax, eax
cmove ebp, esi
mov sil, 1
cmove edi, esi
cmove r12d, edx
lea rsi, [0x004d7e49]
cmovne rsi, rbx
jmp 0x41adf2
cmp qword [rsp + 0x50], 0
je 0x41aded
cmp byte [rbx], 0x2d
mov ecx, 2
mov rsi, qword [sym.__acrt_iob_func]
jne 0x41adc1
call rsi
lea rdx, str.unknown_option:__s_n
mov r8, rbx
mov ebx, 1
mov rcx, rax
call sym.utf8_printf
mov ecx, 2
call rsi
lea rdx, str.options:_n____noquote_n____quote_n____wordwrap_on_off_n____wrap_N_n____ww_n
mov rcx, rax
call sym.utf8_printf
jmp 0x41e0a2
call rsi
lea rdx, str.extra_argument:___s__n
mov r8, rbx
mov ebx, 1
mov rcx, rax
call sym.utf8_printf
jmp 0x41e0a2
mov bpl, 1
jmp 0x41adf2
mov dil, 1
jmp 0x41adf2
xor edi, edi
jmp 0x41adf2
mov qword [rsp + 0x50], rbx
inc r14d
jmp 0x41ac73
test rsi, rsi
jne 0x41ae83
movsxd rdx, dword [r13 + 0x54]
lea rbx, str.line
mov rcx, qword [r13 + 0x40]
mov rax, rdx
mov r8, qword [rbx + rdx*8]
lea edx, [rdx - 0xe]
cmp edx, 2
jbe 0x41ae25
dec eax
jne 0x41ae6f
cmp byte [r13 + 0x18], 0
lea rax, [0x004d5a47]
lea rdx, [0x004d4196]
lea r9, [0x004d5a43]
cmove rdx, rax
cmp byte [r13 + 0x19], 0
lea rax, [0x004d5a3c]
mov qword [rsp + 0x28], rdx
lea rdx, str.current_output_mode:__s___wrap__d___wordwrap__s____squote_n
cmove rax, r9
mov r9d, dword [r13 + 0x14]
mov qword [rsp + 0x20], rax
call sym.fprintf
jmp 0x41ae7b
lea rdx, str.current_output_mode:__s_n
call sym.fprintf
movsxd rax, dword [r13 + 0x54]
mov rsi, qword [rbx + rax*8]
mov rcx, rsi
call sym.strlen30
lea rdx, str.lines
movsxd r14, eax
mov r8, r14
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41aeb0
mov dword [r13 + 0x54], 0
jmp 0x41af34
lea rdx, [0x004d9912]
mov r8, r14
mov rcx, rsi
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41aefc
test byte [r13 + 0x7c], 0x80
mov dword [r13 + 0x54], 1
jne 0x41aedf
mov dword [r13 + 0x68], 1
lea rdx, [r13 + 0xd2]
mov ecx, 0x14
lea r8, [0x004d54ab]
call sym.sqlite3_snprintf
jmp 0x41b11b
lea rdx, str.list
mov r8, r14
mov rcx, rsi
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41af51
mov dword [r13 + 0x54], 2
lea rdx, [r13 + 0xbe]
lea r8, [0x004d4737]
mov ecx, 0x14
call sym.sqlite3_snprintf
lea rdx, [r13 + 0xd2]
lea r8, [0x004d54ab]
mov ecx, 0x14
call sym.sqlite3_snprintf
jmp 0x41b1f5
lea rdx, str.html
mov r8, r14
mov rcx, rsi
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41af76
mov dword [r13 + 0x54], 4
jmp 0x41b1f5
lea rdx, [0x004d9924]
mov r8, r14
mov rcx, rsi
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41afa6
mov dword [r13 + 0x54], 7
lea rdx, [r13 + 0xbe]
lea r8, [0x004d9928]
jmp 0x41af2a
lea rdx, [0x004d992a]
mov r8, r14
mov rcx, rsi
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41aff1
lea rdx, [r13 + 0xbe]
mov dword [r13 + 0x54], 8
mov ecx, 0x14
lea r8, [0x004d4739]
call sym.sqlite3_snprintf
lea rdx, [r13 + 0xd2]
lea r8, [0x004d4898]
jmp 0x41af42
lea rdx, str.tabs
mov r8, r14
mov rcx, rsi
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41b024
mov dword [r13 + 0x54], 2
lea rdx, [r13 + 0xbe]
lea r8, [0x004d9933]
jmp 0x41af42
lea rdx, [0x004d9935]
mov r8, r14
mov rcx, rsi
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41b07d
cmp qword [rsp + 0x50], 0
mov dword [r13 + 0x54], 5
jne 0x41b058
lea rax, [0x004d69c3]
mov qword [rsp + 0x50], rax
mov rcx, qword [r13 + 0x90]
test rcx, rcx
je 0x41e0fc
call sym.free
mov qword [r13 + 0x90], 0
jmp 0x41e0fc
lea rdx, [0x004d9849]
mov r8, r14
mov rcx, rsi
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41b0b0
mov dword [r13 + 0x54], 6
lea rdx, [r13 + 0xbe]
lea r8, [0x004d4739]
jmp 0x41af2a
lea rdx, [0x004d993c]
mov r8, r14
mov rcx, rsi
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41b0fb
lea rdx, [r13 + 0xbe]
mov dword [r13 + 0x54], 0xa
mov ecx, 0x14
lea r8, [0x004d9942]
call sym.sqlite3_snprintf
lea rdx, [r13 + 0xd2]
lea r8, [0x004d9944]
jmp 0x41af42
lea rdx, str.markdown
mov r8, r14
mov rcx, rsi
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41b12c
mov dword [r13 + 0x54], 0xe
mov dword [r13 + 0x14], r12d
mov byte [r13 + 0x18], dil
mov byte [r13 + 0x19], bpl
jmp 0x41b1f5
lea rdx, [0x004d69c3]
mov r8, r14
mov rcx, rsi
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41b14e
mov dword [r13 + 0x54], 0xf
jmp 0x41b11b
lea rdx, [0x004d7e49]
mov r8, r14
mov rcx, rsi
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41b170
mov dword [r13 + 0x54], 0x10
jmp 0x41b11b
lea rdx, [0x004d994f]
mov r8, r14
mov rcx, rsi
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41b192
mov dword [r13 + 0x54], 0x11
jmp 0x41b1f5
lea rdx, [0x004d5a43]
mov r8, r14
mov rcx, rsi
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41b1b4
mov dword [r13 + 0x54], 0x12
jmp 0x41b1f5
lea rdx, [0x004d9955]
mov r8, r14
mov rcx, rsi
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41b1d6
mov dword [r13 + 0x54], 0xd
jmp 0x41b1f5
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rcx, str.Error:_mode_should_be_one_of:_ascii_box_column_csv_html_insert_json_line_list_markdown_qbox_quote_table_tabs_tcl_n
mov rdx, rax
call sym.fputs
mov eax, dword [r13 + 0x54]
mov dword [r13 + 0x5c], eax
jmp 0x41e0a2
cmp edi, 0x6e
jne 0x41b324
lea rdx, str.nonce
mov rcx, r12
call sym.cli_strcmp
test eax, eax
jne 0x41b2ae
cmp r15d, 2
je 0x41b24c
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rcx, str.Usage:_.nonce_NONCE_n
mov rdx, rax
call sym.fputs
jmp 0x41e0a2
mov rdx, qword [r13 + 0x2e0]
mov rbx, qword [rsp + 0xe8]
test rdx, rdx
je 0x41b26f
mov rcx, rbx
call sym.cli_strcmp
test eax, eax
mov r15d, eax
je 0x41b2a4
mov r8d, dword [r13 + 0x30]
mov ecx, 2
mov dword [rsp + 0x50], r8d
call qword [sym.__acrt_iob_func]
mov r8d, dword [rsp + 0x50]
mov r9, rbx
lea rdx, str.line__d:_incorrect_nonce:___s__n
mov rcx, rax
call sym.fprintf
mov ecx, 1
call sym.exit
mov byte [r13 + 0x11], 0
jmp 0x41ec2d
lea rdx, str.nullvalue
movsxd r8, esi
mov rcx, r12
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41ba2f
cmp r15d, 2
jne 0x41b300
mov rax, qword [rsp + 0xe8]
lea rdx, [r13 + 0x124]
mov r9d, 0x13
mov ecx, 0x14
lea r8, [0x004d4092]
mov qword [rsp + 0x20], rax
call sym.sqlite3_snprintf
jmp 0x41e0a2
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rcx, str.Usage:_.nullvalue_STRING_n
mov rdx, rax
call sym.fputs
jmp 0x41e0a2
cmp edi, 0x6f
jne 0x41b64b
lea rdx, str.open
movsxd rbx, esi
mov rcx, r12
mov r8, rbx
call sym.cli_strncmp
test eax, eax
jne 0x41b621
cmp byte [rsp + 0x50], 0
je 0x41b621
xor r12d, r12d
xor r14d, r14d
mov edi, 1
xor esi, esi
cmp r15d, edi
jle 0x41b4cc
lea rdx, [0x004d9a30]
movsxd rax, edi
mov rbx, qword [rsp + rax*8 + 0xe0]
mov rcx, rbx
call sym.optionMatch
test eax, eax
jne 0x41b49a
lea rdx, str.append
mov rcx, rbx
call sym.optionMatch
test eax, eax
jne 0x41b4a2
lea rdx, str.readonly
mov rcx, rbx
call sym.optionMatch
test eax, eax
jne 0x41b4aa
lea rdx, str.nofollow
mov rcx, rbx
call sym.optionMatch
test eax, eax
je 0x41b3db
or dword [r13 + 0x34], 0x1000000
jmp 0x41b4c5
lea rdx, str.deserialize
mov rcx, rbx
call sym.optionMatch
test eax, eax
jne 0x41b4b2
lea rdx, str.hexdb
mov rcx, rbx
call sym.optionMatch
test eax, eax
jne 0x41b4ba
lea rdx, str.maxsize
mov rcx, rbx
call sym.optionMatch
test eax, eax
je 0x41b442
lea ebp, [rdi + 1]
cmp r15d, ebp
jle 0x41b442
movsxd rax, ebp
mov edi, ebp
mov rcx, qword [rsp + rax*8 + 0xe0]
call sym.integerValue
mov qword [r13 + 0x88], rax
jmp 0x41b4c5
cmp byte [rbx], 0x2d
jne 0x41b46e
mov ecx, 2
call qword [sym.__acrt_iob_func]
lea rdx, str.unknown_option:__s_n
mov r8, rbx
mov ebx, 1
mov rcx, rax
call sym.utf8_printf
jmp 0x41e0a2
test rsi, rsi
je 0x41b4c2
mov ecx, 2
call qword [sym.__acrt_iob_func]
lea rdx, str.extra_argument:___s__n
mov r8, rbx
mov ebx, 1
mov rcx, rax
call sym.utf8_printf
jmp 0x41e0a2
mov r14d, 1
jmp 0x41b4c5
mov r12d, 2
jmp 0x41b4c5
mov r12d, 4
jmp 0x41b4c5
mov r12d, 5
jmp 0x41b4c5
mov r12d, 6
jmp 0x41b4c5
mov rsi, rbx
inc edi
jmp 0x41b362
mov rcx, qword [r13]
call sym.close_db
mov rax, qword [r13 + 0x2c8]
mov qword [r13], 0
mov rcx, qword [rax + 0x10]
mov qword [rax + 8], 0
call sym.sqlite3_free
mov rax, qword [r13 + 0x2c8]
test rsi, rsi
mov qword [rax + 0x10], 0
mov byte [r13 + 0xd], r12b
mov dword [r13 + 0x34], 0
mov qword [r13 + 0x88], 0
jne 0x41b52c
cmp r12d, 6
jne 0x41b5f6
jmp 0x41b549
test r14d, r14d
je 0x41b549
cmp byte [r13 + 0x11], 0
je 0x41b541
cmp byte [r13 + 0xd], 6
jne 0x41b552
jmp 0x41b57f
mov rcx, rsi
call sym.shellDeleteFile
cmp byte [r13 + 0x11], 0
je 0x41b57f
jmp 0x41b538
test rsi, rsi
jne 0x41b55b
xor ebx, ebx
jmp 0x41b59e
lea rdx, [0x004d4d0f]
mov rcx, rsi
call sym.cli_strcmp
test eax, eax
je 0x41b584
lea rdx, str.cannot_open_disk_based_database_files_in_safe_mode
mov rcx, r13
call sym.failIfSafeMode
jmp 0x41b584
test rsi, rsi
je 0x41b557
lea rcx, [0x004d40ca]
mov rdx, rsi
call sym.sqlite3_mprintf
mov rcx, rax
mov rbx, rax
call sym.shell_check_oom
mov rax, qword [r13 + 0x2c8]
mov edx, 1
mov rcx, r13
mov qword [rax + 8], rbx
call sym.open_db
cmp qword [r13], 0
jne 0x41b5e4
mov ecx, 2
call qword [sym.__acrt_iob_func]
lea rdx, str.Error:_cannot_open__s_n
mov r8, rbx
mov rcx, rax
call sym.utf8_printf
mov rcx, rbx
call sym.sqlite3_free
jmp 0x41b5f6
mov rax, qword [r13 + 0x2c8]
mov qword [rax + 0x10], rbx
xor ebx, ebx
jmp 0x41e0a2
cmp qword [r13], 0
jne 0x4173e1
mov rax, qword [r13 + 0x2c8]
xor edx, edx
mov rcx, r13
xor ebx, ebx
mov qword [rax + 8], 0
call sym.open_db
jmp 0x41e0a2
lea rdx, str.output
mov r8, rbx
mov rcx, r12
call sym.cli_strncmp
test eax, eax
je 0x41b674
lea rdx, str.once
mov r8, rbx
mov rcx, r12
call sym.cli_strncmp
jmp 0x41b66c
cmp edi, 0x65
jne 0x41ba2f
cmp esi, 5
jne 0x41ba2f
lea rdx, str.excel
mov rcx, r12
call sym.cli_strcmp
test eax, eax
jne 0x41ba2f
mov r8, r12
mov rcx, r13
mov byte [rsp + 0x280], 0
lea rdx, str.cannot_run_._s_in_safe_mode
call sym.failIfSafeMode
cmp edi, 0x65
je 0x41b6b2
movsxd r8, esi
mov rcx, r12
xor r14d, r14d
lea rdx, str.once
call sym.cli_strncmp
test eax, eax
sete r14b
xor ebx, ebx
jmp 0x41b6bd
mov r14d, 2
mov ebx, 0x78
lea rax, [rsp + 0xe0]
mov esi, 1
xor ebp, ebp
mov qword [rsp + 0x58], rax
cmp r15d, esi
mov dword [rsp + 0x50], esi
jle 0x41b82e
mov rax, qword [rsp + 0x58]
mov r8, qword [rax + rsi*8]
cmp byte [r8], 0x2d
jne 0x41b797
cmp byte [r8 + 1], 0x2d
mov qword [rsp + 0x50], r8
jne 0x41b706
lea rax, [r8 + 1]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
lea rdx, str._bom
mov qword [rsp + 0x60], r8
call sym.cli_strcmp
mov r8, qword [rsp + 0x60]
test eax, eax
jne 0x41b735
mov dword [rsp + 0x280], 0xbfbbef
jmp 0x41b826
cmp edi, 0x65
je 0x41b776
mov rcx, qword [rsp + 0x50]
lea rdx, [0x004d9aca]
mov qword [rsp + 0x60], r8
call sym.cli_strcmp
test eax, eax
je 0x41b81a
mov rcx, qword [rsp + 0x50]
lea rdx, [0x004d9acd]
call sym.cli_strcmp
mov r8, qword [rsp + 0x60]
test eax, eax
je 0x41b821
mov rcx, qword [r13 + 0x40]
lea rdx, str.ERROR:_unknown_option:___s_.__Usage:_n
call sym.utf8_printf
mov rcx, qword [r13 + 0x40]
mov rdx, r12
call sym.showHelp
jmp 0x41ba25
test rbp, rbp
jne 0x41b7f1
cmp ebx, 0x65
je 0x41b7f1
cmp ebx, 0x78
je 0x41b7ef
lea rcx, [0x004d40ca]
mov rdx, r8
call sym.sqlite3_mprintf
test rax, rax
mov rbp, rax
je 0x41b826
cmp byte [rax], 0x7c
jne 0x41b826
movsxd rdi, dword [rsp + 0x50]
lea rsi, str._z__s
inc rdi
cmp r15d, edi
jle 0x41b82e
mov rax, qword [rsp + 0x58]
mov rdx, rbp
mov rcx, rsi
mov r8, qword [rax + rdi*8]
call sym.sqlite3_mprintf
mov rbp, rax
jmp 0x41b7ce
xor ebp, ebp
mov rcx, qword [r13 + 0x40]
lea rdx, str.ERROR:_extra_parameter:___s_.__Usage:_n
call sym.utf8_printf
mov rcx, qword [r13 + 0x40]
mov rdx, r12
call sym.showHelp
mov rcx, rbp
call sym.sqlite3_free
jmp 0x41ba25
mov ebx, 0x78
jmp 0x41b826
mov ebx, 0x65
inc rsi
jmp 0x41b6d1
test rbp, rbp
jne 0x41b842
lea rcx, str.stdout
call sym.sqlite3_mprintf
mov rbp, rax
test r14d, r14d
je 0x41b84d
mov r14d, 2
mov dword [r13 + 0x28], r14d
mov rcx, r13
call sym.output_reset
cmp ebx, 0x65
je 0x41b869
xor esi, esi
cmp ebx, 0x78
jne 0x41b936
mov eax, dword [r13 + 0x54]
lea r12, [r13 + 0xbe]
cmp ebx, 0x78
mov byte [r13 + 0xe], 1
lea r14, [r13 + 0xd2]
mov ecx, 5
mov rsi, r12
mov dword [r13 + 0x58], eax
mov eax, dword [r13 + 0x7c]
mov dword [r13 + 0x80], eax
lea rax, [r13 + 0xe6]
mov rdi, rax
rep movsd dword [rdi], dword [rsi]
lea rax, [r13 + 0xfa]
mov ecx, 5
mov rsi, r14
mov rdi, rax
rep movsd dword [rdi], dword [rsi]
jne 0x41b904
lea rdx, [0x004d992a]
mov rcx, r13
xor esi, esi
call sym.newTempFile
lea r8, [0x004d4739]
mov rdx, r12
mov ecx, 0x14
and dword [r13 + 0x7c], 0xffffffbf
mov dword [r13 + 0x54], 8
call sym.sqlite3_snprintf
lea r8, [0x004d4898]
mov rdx, r14
mov ecx, 0x14
call sym.sqlite3_snprintf
jmp 0x41b918
lea rdx, [0x004d9af7]
mov rcx, r13
mov esi, 1
call sym.newTempFile
mov rcx, rbp
call sym.sqlite3_free
mov rdx, qword [r13 + 0x98]
lea rcx, [0x004d40ca]
call sym.sqlite3_mprintf
mov rbp, rax
mov rcx, rbp
call sym.shell_check_oom
cmp byte [rbp], 0x7c
jne 0x41b97e
lea rsi, [rbp + 1]
lea rdx, [0x004d483f]
mov rcx, rsi
call qword [sym.imp.msvcrt.dll__popen]
test rax, rax
mov r9, rax
mov qword [r13 + 0x40], rax
jne 0x41b9d9
mov ecx, 2
mov rbx, qword [sym.__acrt_iob_func]
call rbx
lea rdx, str.Error:_cannot_open_pipe___s__n
mov r8, rsi
jmp 0x41b9bf
mov edx, esi
mov rcx, rbp
call sym.output_file_open
test rax, rax
mov r9, rax
mov qword [r13 + 0x40], rax
jne 0x41b9d9
lea rdx, [0x004d5a43]
mov rcx, rbp
call sym.cli_strcmp
mov rbx, qword [sym.__acrt_iob_func]
test eax, eax
je 0x41b9c7
mov ecx, 2
call rbx
lea rdx, str.Error:_cannot_write_to___s__n
mov r8, rbp
mov rcx, rax
call sym.utf8_printf
mov ecx, 1
call rbx
mov ebx, 1
mov qword [r13 + 0x40], rax
jmp 0x41ba18
cmp byte [rsp + 0x280], 0
je 0x41b9fb
lea rcx, [rsp + 0x280]
mov r8d, 3
mov edx, 1
call sym.fwrite
lea rdx, [r13 + 0x138]
mov r9, rbp
mov ecx, 0x104
lea r8, [0x004d40ca]
xor ebx, ebx
call sym.sqlite3_snprintf
mov rcx, rbp
call sym.sqlite3_free
jmp 0x41e0a2
mov ebx, 1
jmp 0x41e0a2
cmp edi, 0x70
jne 0x41bfcd
test bpl, bpl
je 0x41bfcd
lea rdx, str.parameter
movsxd r14, esi
mov rcx, r12
mov r8, r14
call sym.cli_strncmp
test eax, eax
jne 0x41bdeb
xor edx, edx
mov rcx, r13
call sym.open_db
cmp r15d, 1
je 0x41bdd4
cmp r15d, 2
jne 0x41bc13
mov rsi, qword [rsp + 0xe8]
lea rdx, str.clear
mov rcx, rsi
call sym.cli_strcmp
test eax, eax
mov ebx, eax
jne 0x41babd
mov rcx, qword [r13]
lea rdx, str.DROP_TABLE_IF_EXISTS_temp.sqlite_parameters_
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0
call sym.sqlite3_exec
jmp 0x41e0a2
lea rdx, str.list
mov rcx, rsi
call sym.cli_strcmp
test eax, eax
mov ebx, eax
jne 0x41bbed
mov rcx, qword [r13]
or r8d, 0xffffffff
mov qword [rsp + 0x20], 0
lea rdi, [rsp + 0x280]
mov qword [rsp + 0x280], 0
lea rdx, str.SELECT_max_length_key___FROM_temp.sqlite_parameters_
mov r9, rdi
call sym.sqlite3_prepare_v2
test eax, eax
je 0x41bb12
xor esi, esi
jmp 0x41bb3e
mov rcx, qword [rsp + 0x280]
call sym.sqlite3_step
cmp eax, 0x64
jne 0x41bb0e
mov rcx, qword [rsp + 0x280]
xor edx, edx
mov esi, 0x28
call sym.sqlite3_column_int
cmp eax, 0x28
cmovle esi, eax
mov rcx, qword [rsp + 0x280]
call sym.sqlite3_finalize
test esi, esi
mov qword [rsp + 0x280], 0
je 0x41e0a2
mov rcx, qword [r13]
mov r9, rdi
or r8d, 0xffffffff
mov qword [rsp + 0x20], 0
lea rdx, str.SELECT_key__quote_value__FROM_temp.sqlite_parameters_
lea rbp, str.__s__s_n
call sym.sqlite3_prepare_v2
mov edi, eax
test edi, edi
mov rcx, qword [rsp + 0x280]
je 0x41bba6
mov rcx, qword [rsp + 0x280]
call sym.sqlite3_finalize
jmp 0x41e0a2
call sym.sqlite3_step
cmp eax, 0x64
jne 0x41bb94
mov rcx, qword [rsp + 0x280]
mov edx, 1
call sym.sqlite3_column_text
mov rcx, qword [rsp + 0x280]
xor edx, edx
mov r12, rax
call sym.sqlite3_column_text
mov rcx, qword [r13 + 0x40]
mov r8d, esi
mov rdx, rbp
mov r9, rax
mov qword [rsp + 0x20], r12
call sym.utf8_printf
jmp 0x41bb88
lea rdx, str.init
mov rcx, rsi
call sym.cli_strcmp
test eax, eax
mov ebx, eax
jne 0x41bdd4
mov rcx, r13
call sym.bind_table_init.isra.42
jmp 0x41e0a2
cmp r15d, 4
jne 0x41bd6d
mov rcx, qword [rsp + 0xe8]
lea rdx, [0x004d9bec]
call sym.cli_strcmp
test eax, eax
mov ebx, eax
jne 0x41bdd4
mov rbp, qword [rsp + 0xf0]
mov rcx, r13
mov r12, qword [rsp + 0xf8]
lea rdi, [rsp + 0x280]
call sym.bind_table_init.isra.42
lea rcx, str.REPLACE_INTO_temp.sqlite_parameters_key_value_VALUES__Q__s__
mov rdx, rbp
mov r8, r12
call sym.sqlite3_mprintf
mov rcx, rax
mov rsi, rax
call sym.shell_check_oom
mov rcx, qword [r13]
or r8d, 0xffffffff
mov r9, rdi
mov qword [rsp + 0x20], 0
mov rdx, rsi
mov qword [rsp + 0x280], 0
call sym.sqlite3_prepare_v2
mov rcx, rsi
mov r14d, eax
call sym.sqlite3_free
test r14d, r14d
je 0x41bd4e
mov rcx, qword [rsp + 0x280]
call sym.sqlite3_finalize
mov r8, r12
mov rdx, rbp
mov qword [rsp + 0x280], 0
lea rcx, str.REPLACE_INTO_temp.sqlite_parameters_key_value_VALUES__Q__Q__
call sym.sqlite3_mprintf
mov rcx, rax
mov rsi, rax
call sym.shell_check_oom
mov rcx, qword [r13]
mov r9, rdi
or r8d, 0xffffffff
mov qword [rsp + 0x20], 0
mov rdx, rsi
call sym.sqlite3_prepare_v2
mov rcx, rsi
mov edi, eax
call sym.sqlite3_free
test edi, edi
je 0x41bd4e
mov rcx, qword [r13]
mov ebx, 1
call sym.sqlite3_errmsg
mov rcx, qword [r13 + 0x40]
lea rdx, str.Error:__s_n
mov r8, rax
call sym.utf8_printf
mov rcx, qword [rsp + 0x280]
call sym.sqlite3_finalize
mov qword [rsp + 0x280], 0
mov rcx, qword [rsp + 0x280]
call sym.sqlite3_step
mov rcx, qword [rsp + 0x280]
call sym.sqlite3_finalize
jmp 0x41e0a2
cmp r15d, 3
jne 0x41bdd4
mov rcx, qword [rsp + 0xe8]
lea rdx, str.unset
call sym.cli_strcmp
test eax, eax
mov ebx, eax
jne 0x41bdd4
mov rdx, qword [rsp + 0xf0]
lea rcx, str.DELETE_FROM_temp.sqlite_parameters_WHERE_key_Q
call sym.sqlite3_mprintf
mov rcx, rax
mov rsi, rax
call sym.shell_check_oom
mov rcx, qword [r13]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0
mov rdx, rsi
call sym.sqlite3_exec
mov rcx, rsi
call sym.sqlite3_free
jmp 0x41e0a2
mov rcx, qword [r13 + 0x40]
lea rdx, str.parameter
xor ebx, ebx
call sym.showHelp
jmp 0x41e0a2
lea rdx, str.print
mov r8, r14
mov rcx, r12
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41be4f
lea rdi, [0x004d40ca]
mov esi, 1
cmp r15d, esi
mov rdx, qword [r13 + 0x40]
jle 0x41be40
cmp esi, 1
je 0x41be27
mov ecx, 0x20
call sym.fputc
mov r8, qword [rsp + rsi*8 + 0xe0]
mov rdx, rdi
inc rsi
mov rcx, qword [r13 + 0x40]
call sym.utf8_printf
jmp 0x41be0f
mov ecx, 0xa
call sym.fputc
jmp 0x41e0a2
lea rdx, str.progress
mov r8, r14
mov rcx, r12
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41bfd2
mov qword [r13 + 0x70], 0
xor r12d, r12d
mov esi, 1
mov dword [r13 + 0x78], 0
lea r14, [0x004d9cb5]
cmp r15d, esi
jle 0x41bfa8
movsxd rax, esi
mov rdi, qword [rsp + rax*8 + 0xe0]
cmp byte [rdi], 0x2d
jne 0x41bf96
cmp byte [rdi + 1], 0x2d
lea rbp, [rdi + 2]
je 0x41beb5
lea rbp, [rdi + 1]
lea rdx, str.quiet
mov rcx, rbp
call sym.cli_strcmp
test eax, eax
je 0x41bed7
mov rdx, r14
mov rcx, rbp
call sym.cli_strcmp
test eax, eax
jne 0x41bee1
or dword [r13 + 0x78], 1
jmp 0x41bfa1
lea rdx, [0x004d9cb7]
mov rcx, rbp
call sym.cli_strcmp
test eax, eax
jne 0x41befe
or dword [r13 + 0x78], 2
jmp 0x41bfa1
lea rdx, str.once
mov rcx, rbp
call sym.cli_strcmp
test eax, eax
jne 0x41bf1b
or dword [r13 + 0x78], 4
jmp 0x41bfa1
lea rdx, str.limit
mov rcx, rbp
call sym.cli_strcmp
test eax, eax
jne 0x41bf6f
inc esi
cmp r15d, esi
jg 0x41bf59
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rdx, str.Error:_missing_argument_on___limit_n
mov rcx, rax
call sym.utf8_printf
jmp 0x41e0a2
movsxd rax, esi
mov rcx, qword [rsp + rax*8 + 0xe0]
call sym.integerValue
mov dword [r13 + 0x74], eax
jmp 0x41bfa1
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rdx, str.Error:_unknown_option:___s__n
mov r8, rdi
mov rcx, rax
call sym.utf8_printf
jmp 0x41e0a2
mov rcx, rdi
call sym.integerValue
mov r12d, eax
inc esi
jmp 0x41be8a
xor edx, edx
mov rcx, r13
call sym.open_db
mov rcx, qword [r13]
mov r9, r13
mov edx, r12d
lea r8, [sym.progress_handler]
call sym.sqlite3_progress_handler
jmp 0x41e0a2
cmp edi, 0x70
jne 0x41c037
lea rdx, str.prompt
movsxd r8, esi
mov rcx, r12
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41c05b
cmp r15d, 1
je 0x4173e1
mov rdx, qword [rsp + 0xe8]
mov r8d, 0x13
lea rcx, [0x00509130]
call sym.shell_strncpy
cmp r15d, 2
je 0x4173e1
mov rdx, qword [rsp + 0xf0]
mov r8d, 0x13
lea rcx, [0x00509110]
call sym.shell_strncpy
jmp 0x41e0a2
cmp edi, 0x71
jne 0x41c05b
lea rdx, str.quit
movsxd r8, esi
mov rcx, r12
call sym.cli_strncmp
test eax, eax
je 0x4189d9
jmp 0x41ca6c
cmp edi, 0x72
jne 0x41c373
test bpl, bpl
je 0x41c373
lea rdx, str.read
movsxd rbx, esi
mov rcx, r12
mov r8, rbx
call sym.cli_strncmp
test eax, eax
jne 0x41c1b2
lea rdx, str.cannot_run_.read_in_safe_mode
mov rcx, r13
mov rdi, qword [r13 + 0x38]
mov esi, dword [r13 + 0x30]
call sym.failIfSafeMode
cmp r15d, 2
je 0x41c0cb
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rcx, str.Usage:_.read_FILE_n
mov rdx, rax
call sym.fputs
jmp 0x41e0a2
mov rbp, qword [rsp + 0xe8]
cmp byte [rbp], 0x7c
jne 0x41c110
lea rcx, [rbp + 1]
lea rdx, [0x004d5aa3]
call qword [sym.imp.msvcrt.dll__popen]
test rax, rax
mov qword [r13 + 0x38], rax
je 0x41c183
mov rcx, r13
call sym.process_input
mov rcx, qword [r13 + 0x38]
mov ebx, eax
call qword [sym.imp.msvcrt.dll__pclose]
jmp 0x41c1a5
lea rdx, [0x004d4489]
mov rcx, rbp
call sym.fopen
test rax, rax
mov rbx, rax
je 0x41c160
mov rcx, rax
call qword [sym.imp.msvcrt.dll__fileno]
lea rdx, [rsp + 0x280]
mov ecx, eax
call qword [sym.imp.msvcrt.dll__fstat64]
cmp eax, 0xffffffff
je 0x41c158
test eax, eax
mov dx, word [rsp + 0x286]
jne 0x41c158
test dx, 0xb000
jne 0x41c16a
mov rcx, rbx
call sym.fclose
mov qword [r13 + 0x38], 0
jmp 0x41c183
mov qword [r13 + 0x38], rbx
mov rcx, r13
call sym.process_input
mov rcx, qword [r13 + 0x38]
mov ebx, eax
call sym.fclose
jmp 0x41c1a5
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rdx, str.Error:_cannot_open___s__n
mov r8, rbp
mov rcx, rax
call sym.utf8_printf
mov qword [r13 + 0x38], rdi
mov dword [r13 + 0x30], esi
jmp 0x41e0a2
lea rdx, str.restore
mov r8, rbx
mov rcx, r12
call sym.cli_strncmp
test eax, eax
jne 0x41ca6c
lea rdx, str.cannot_run_.restore_in_safe_mode
mov rcx, r13
call sym.failIfSafeMode
cmp r15d, 2
jne 0x41c1f2
mov rsi, qword [rsp + 0xe8]
lea rdi, [0x004d45f9]
jmp 0x41c22e
cmp r15d, 3
jne 0x41c20a
mov rsi, qword [rsp + 0xf0]
mov rdi, qword [rsp + 0xe8]
jmp 0x41c22e
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rcx, str.Usage:_.restore__DB__FILE_n
mov rdx, rax
call sym.fputs
jmp 0x41e0a2
lea rdx, [rsp + 0x280]
mov rcx, rsi
call sym.sqlite3_open
test eax, eax
mov ebx, eax
je 0x41c25b
mov ecx, 2
call qword [sym.__acrt_iob_func]
lea rdx, str.Error:_cannot_open___s__n
mov r8, rsi
jmp 0x41c2b2
xor edx, edx
mov rcx, r13
mov ebp, 4
call sym.open_db
mov r8, qword [rsp + 0x280]
mov rdx, rdi
mov rcx, qword [r13]
lea r9, [0x004d45f9]
call sym.sqlite3_backup_init
test rax, rax
mov rdi, rax
jne 0x41c2df
mov rcx, qword [r13]
call sym.sqlite3_errmsg
mov ecx, 2
mov qword [rsp + 0x50], rax
call qword [sym.__acrt_iob_func]
mov r8, qword [rsp + 0x50]
lea rdx, str.Error:__s_n
mov rcx, rax
call sym.utf8_printf
mov rcx, qword [rsp + 0x280]
call sym.close_db
jmp 0x41c368
cmp eax, 5
jne 0x41c2f4
dec ebp
je 0x41c2f4
mov ecx, 0x64
call sym.sqlite3_sleep
mov edx, 0x64
mov rcx, rdi
call sym.sqlite3_backup_step
test eax, eax
mov esi, eax
je 0x41c2df
jmp 0x41c2cc
mov rcx, rdi
call sym.sqlite3_backup_finish
cmp esi, 0x65
je 0x41c356
sub esi, 5
mov rbx, qword [sym.__acrt_iob_func]
cmp esi, 1
ja 0x41c328
mov ecx, 2
call rbx
lea rcx, str.Error:_source_database_is_busy_n
mov rdx, rax
call sym.fputs
jmp 0x41c351
mov rcx, qword [r13]
call sym.sqlite3_errmsg
mov ecx, 2
mov qword [rsp + 0x50], rax
call rbx
mov r8, qword [rsp + 0x50]
lea rdx, str.Error:__s_n
mov rcx, rax
call sym.utf8_printf
mov ebx, 1
mov rcx, qword [rsp + 0x280]
call sym.close_db
jmp 0x41e0a2
mov r15d, 1
jmp 0x41ec2d
cmp edi, 0x73
jne 0x41ca6c
lea rdx, str.scanstats
movsxd rbp, esi
mov rcx, r12
mov r8, rbp
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41c431
cmp r15d, 2
mov rsi, qword [sym.__acrt_iob_func]
jne 0x41c411
mov rdi, qword [rsp + 0xe8]
lea rdx, [0x004d9db4]
mov rcx, rdi
call sym.cli_strcmp
test eax, eax
jne 0x41c3ca
mov byte [r13 + 0xc], 2
jmp 0x41c3d6
mov rcx, rdi
call sym.booleanValue
mov byte [r13 + 0xc], al
xor edx, edx
mov rcx, r13
call sym.open_db
movzx r8d, byte [r13 + 0xc]
xor r9d, r9d
mov edx, 0x3fa
mov rcx, qword [r13]
call sym.sqlite3_db_config
mov ecx, 2
call rsi
lea rcx, str.Warning:_.scanstats_not_available_in_this_build._n
mov rdx, rax
call sym.fputs
jmp 0x41e0a2
mov ecx, 2
mov ebx, 1
call rsi
lea rcx, str.Usage:_.scanstats_onoffest_n
mov rdx, rax
call sym.fputs
jmp 0x41e0a2
lea rdx, [0x004d9e08]
mov r8, rbp
mov rcx, r12
call sym.cli_strncmp
test eax, eax
mov r14d, eax
jne 0x41ca4e
xor edx, edx
mov rcx, r13
mov rsi, r13
mov qword [rsp + 0x98], 0
lea rdi, [rsp + 0x280]
mov ebp, 1
call sym.open_db
mov ecx, 0xdc
rep movsd dword [rdi], dword [rsi]
lea rsi, [rsp + 0xa0]
xor edi, edi
mov dword [rsp + 0x2e8], 0
mov dword [rsp + 0x2d4], 3
mov rcx, rsi
mov dword [rsp + 0x2dc], 3
lea r12, str.debug
call sym.initText
lea rax, [rsp + 0x280]
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x58], rax
cmp r15d, ebp
jle 0x41c593
mov rbx, qword [rsp + rbp*8 + 0xe0]
lea rdx, str.indent
mov rcx, rbx
call sym.optionMatch
test eax, eax
je 0x41c509
mov dword [rsp + 0x2d4], 0xb
mov dword [rsp + 0x2dc], 0xb
jmp 0x41c58b
mov rdx, r12
mov rcx, rbx
call sym.optionMatch
test eax, eax
jne 0x41c576
lea rdx, str.nosys
mov rcx, rbx
call sym.optionMatch
test eax, eax
jne 0x41c57e
cmp byte [rbx], 0x2d
jne 0x41c552
mov ecx, 2
call qword [sym.__acrt_iob_func]
lea rdx, str.Unknown_option:___s__n
mov r8, rbx
mov rcx, rax
call sym.utf8_printf
jmp 0x41ca44
test rdi, rdi
je 0x41c588
mov ecx, 2
call qword [sym.__acrt_iob_func]
lea rcx, str.Usage:_.schema____indent_____nosys___LIKE_PATTERN__n
mov rdx, rax
call sym.fputs
jmp 0x41ca44
mov r14d, 1
jmp 0x41c58b
mov dword [rsp + 0x50], 1
jmp 0x41c58b
mov rdi, rbx
inc rbp
jmp 0x41c4ca
lea rbx, [rsp + 0xb0]
test rdi, rdi
je 0x41c683
lea rdx, [0x004d9e5f]
mov r8d, 0x5c
mov rcx, rdi
call sym.sqlite3_strlike
test eax, eax
jne 0x41c62c
lea rcx, str.CREATE_TABLE__s___n__type_text__n__name_text__n__tbl_name_text__n__rootpage_integer__n__sql_text_n_
mov rdx, rdi
call sym.sqlite3_mprintf
mov rcx, rax
mov qword [rsp + 0xb0], rax
call sym.shell_check_oom
mov rcx, qword [rsp + 0x58]
mov r8, rbx
mov edx, 1
lea rax, [0x004d9ecb]
mov qword [rsp + 0xb8], 0
lea r9, [rsp + 0xc0]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], 0
call sym.callback
mov rcx, qword [rsp + 0xb0]
call sym.sqlite3_free
jmp 0x41c683
lea rdx, [0x004d9ecf]
mov r8d, 0x5c
mov rcx, rdi
call sym.sqlite3_strlike
test eax, eax
je 0x41c5bd
lea rdx, [0x004d9edd]
mov r8d, 0x5c
mov rcx, rdi
call sym.sqlite3_strlike
test eax, eax
je 0x41c5bd
lea rdx, [0x004d84d2]
mov r8d, 0x5c
mov rcx, rdi
call sym.sqlite3_strlike
test eax, eax
je 0x41c5bd
mov rcx, qword [r13]
mov r9, rbx
or r8d, 0xffffffff
mov qword [rsp + 0x20], 0
lea rdx, str.SELECT_name_FROM_pragma_database_list
mov qword [rsp + 0xb0], 0
call sym.sqlite3_prepare_v2
test eax, eax
mov ebx, eax
je 0x41c6f4
mov rcx, qword [r13]
call sym.sqlite3_errmsg
mov ecx, 2
mov qword [rsp + 0x50], rax
call qword [sym.__acrt_iob_func]
mov r8, qword [rsp + 0x50]
lea rdx, str.Error:__s_n
mov rcx, rax
call sym.utf8_printf
mov rcx, qword [rsp + 0xb0]
call sym.sqlite3_finalize
jmp 0x41ca44
xor r8d, r8d
mov rcx, rsi
xor r12d, r12d
lea rdx, str.SELECT_sql_FROM
call sym.appendText
lea rax, [rsp + 0xc0]
lea r15, [0x004d4777]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0xb0]
call sym.sqlite3_step
mov rcx, qword [rsp + 0xb0]
cmp eax, 0x64
jne 0x41c83b
xor edx, edx
inc r12d
call sym.sqlite3_column_text
mov rdx, qword [rsp + 0x60]
mov r9d, r12d
mov ecx, 0x1e
lea r8, [0x004d65af]
mov rbp, rax
call sym.sqlite3_snprintf
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
call sym.appendText
xor r8d, r8d
mov rcx, rsi
lea rdx, str.SELECT_shell_add_schema_sql_
call sym.appendText
lea rdx, [0x004d45f9]
mov rcx, rbp
call sym.sqlite3_stricmp
lea rdx, [0x004d5940]
xor r8d, r8d
test eax, eax
je 0x41c7a7
mov r8d, 0x27
mov rdx, rbp
lea r15, str._UNION_ALL
mov rcx, rsi
call sym.appendText
xor r8d, r8d
mov rcx, rsi
lea rdx, str._name__AS_sql__type__tbl_name__name__rowid_
call sym.appendText
mov rdx, qword [rsp + 0x60]
xor r8d, r8d
mov rcx, rsi
call sym.appendText
xor r8d, r8d
mov rcx, rsi
lea rdx, str._AS_snum_
call sym.appendText
mov r8d, 0x27
mov rdx, rbp
mov rcx, rsi
call sym.appendText
xor r8d, r8d
mov rcx, rsi
lea rdx, str._AS_sname_FROM
call sym.appendText
mov rcx, rbp
call sym.quoteChar
mov rdx, rbp
mov rcx, rsi
movsx r8d, al
call sym.appendText
xor r8d, r8d
mov rcx, rsi
lea rdx, [0x004d9f8a]
call sym.appendText
jmp 0x41c71d
call sym.sqlite3_finalize
test rdi, rdi
je 0x41c857
lea rdx, str._UNION_ALL_SELECT_shell_module_schema_name___table__name__name__name__9e99__main_FROM_pragma_module_list
xor r8d, r8d
mov rcx, rsi
call sym.appendText
lea rdx, str.__WHERE
xor r8d, r8d
mov rcx, rsi
call sym.appendText
test rdi, rdi
je 0x41c957
lea rcx, [0x004d4af4]
mov rdx, rdi
mov r12d, 1
call sym.sqlite3_mprintf
mov rcx, rax
mov rbp, rax
call sym.shell_check_oom
mov edx, 0x2a
mov rcx, rdi
call sym.strchr
test rax, rax
jne 0x41c8cd
mov edx, 0x3f
mov rcx, rdi
call sym.strchr
test rax, rax
jne 0x41c8cd
mov edx, 0x5b
mov rcx, rdi
xor r12d, r12d
call sym.strchr
test rax, rax
setne r12b
mov edx, 0x2e
mov rcx, rdi
call sym.strchr
lea rdx, str.lower_printf__s._s_sname_tbl_name__
xor r8d, r8d
test rax, rax
jne 0x41c8f0
lea rdx, str.lower_tbl_name_
mov rcx, rsi
call sym.appendText
test r12d, r12d
mov rcx, rsi
lea rax, str._LIKE
lea rdx, str._GLOB
cmove rdx, rax
xor r8d, r8d
call sym.appendText
xor r8d, r8d
mov rdx, rbp
mov rcx, rsi
call sym.appendText
test r12d, r12d
jne 0x41c93d
lea rdx, str._ESCAPE_
xor r8d, r8d
mov rcx, rsi
call sym.appendText
lea rdx, [0x004da05f]
mov rcx, rsi
xor r8d, r8d
call sym.appendText
mov rcx, rbp
call sym.sqlite3_free
cmp dword [rsp + 0x50], 0
je 0x41c970
lea rdx, str.name_NOT_LIKE_sqlite____AND
xor r8d, r8d
mov rcx, rsi
call sym.appendText
lea rdx, str.sql_IS_NOT_NULL_ORDER_BY_snum__rowid
xor r8d, r8d
mov rcx, rsi
call sym.appendText
test r14d, r14d
mov rdx, qword [rsp + 0xa0]
je 0x41c9a4
mov rcx, qword [r13 + 0x40]
mov r8, rdx
lea rdx, str.SQL:__s__n
call sym.utf8_printf
jmp 0x41c9c8
mov r9, qword [rsp + 0x58]
lea rax, [rsp + 0x98]
mov rcx, qword [r13]
mov qword [rsp + 0x20], rax
lea r8, [sym.callback]
call sym.sqlite3_exec
mov ebx, eax
mov rcx, rsi
call sym.freeText
mov r8, qword [rsp + 0x98]
test r8, r8
mov qword [rsp + 0x50], r8
je 0x41ca18
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
mov r8, qword [rsp + 0x50]
lea rdx, str.Error:__s_n
mov rcx, rax
call sym.utf8_printf
mov rcx, qword [rsp + 0x98]
call sym.sqlite3_free
jmp 0x41e0a2
test ebx, ebx
je 0x41e0a2
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rcx, str.Error:_querying_schema_information_n
mov rdx, rax
call sym.fputs
jmp 0x41e0a2
mov ebx, 1
jmp 0x41e0a2
cmp esi, 0xb
jne 0x41ca6c
lea rdx, str.selecttrace
mov r8d, 0xb
mov rcx, r12
call sym.cli_strncmp
test eax, eax
je 0x41ca96
cmp edi, 0x74
sete bpl
cmp esi, 9
jne 0x41cad0
test bpl, bpl
je 0x41cad0
lea rdx, str.treetrace
mov r8d, 9
mov rcx, r12
call sym.cli_strncmp
test eax, eax
jne 0x41cad0
or eax, 0xffffffff
dec r15d
je 0x41caab
mov rcx, qword [rsp + 0xe8]
call sym.integerValue
lea r8, [rsp + 0x280]
mov edx, 1
mov ecx, 0x1f
mov dword [rsp + 0x280], eax
call sym.sqlite3_test_control
xor ebx, ebx
jmp 0x41e0a2
cmp esi, 3
setg r14b
and r14b, byte [rsp + 0x60]
mov byte [rsp + 0x68], r14b
je 0x41cf8c
lea rdx, str.selftest
movsxd r8, esi
mov rcx, r12
call sym.cli_strncmp
test eax, eax
mov dword [rsp + 0x60], eax
jne 0x41cf95
xor edx, edx
mov rcx, r13
xor esi, esi
mov qword [rsp + 0xb0], 0
lea rbp, [0x004d8d12]
mov ebx, 1
call sym.open_db
mov dword [rsp + 0x50], 0
cmp r15d, ebx
jle 0x41cbc7
mov rdi, qword [rsp + rbx*8 + 0xe0]
cmp byte [rdi], 0x2d
mov r14, rdi
jne 0x41cb54
cmp byte [rdi + 1], 0x2d
jne 0x41cb54
lea r14, [rdi + 1]
lea rdx, str._init
mov rcx, r14
call sym.cli_strcmp
test eax, eax
je 0x41cbba
mov rdx, rbp
mov rcx, r14
call sym.cli_strcmp
test eax, eax
jne 0x41cb7c
inc dword [rsp + 0x50]
jmp 0x41cbbf
mov rbx, qword [sym.__acrt_iob_func]
mov ecx, 2
call rbx
lea rdx, str.Unknown_option___s__on___s__n
mov r9, r12
mov r8, rdi
mov rcx, rax
call sym.utf8_printf
mov ecx, 2
call rbx
lea rcx, str.Should_be_one_of:___init__v_n
mov rdx, rax
call sym.fputs
jmp 0x41cf82
mov esi, 1
inc rbx
jmp 0x41cb31
mov rcx, qword [r13]
xor r9d, r9d
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
lea r8, str.selftest
mov qword [rsp + 0x30], 0
lea rdx, [0x004d45f9]
mov qword [rsp + 0x28], 0
lea r15, [rsp + 0x280]
mov qword [rsp + 0x20], 0
call sym.sqlite3_table_column_metadata
test esi, esi
jne 0x41cc27
xor esi, esi
test eax, eax
sete sil
jmp 0x41ccab
mov rcx, qword [r13]
xor r8d, r8d
xor r9d, r9d
mov qword [rsp + 0x20], r15
lea rdx, str.SAVEPOINT_selftest_init__nCREATE_TABLE_IF_NOT_EXISTS_selftest__n__tno_INTEGER_PRIMARY_KEY__n__op_TEXT__n__cmd_TEXT__n__ans_TEXT_n__CREATE_TEMP_TABLE___shell_self__op_cmd_ans___nINSERT_INTO___shell_self__rowid_op_cmd__n__VALUES_coalesce__SELECT__max_tno_100__10_FROM_selftest__10___n_________memo_Tests_generated_by___init___nINSERT_INTO___shell_self__n__SELECT_run__n____SELECT_hex_sha3_query_SELECT_type_name_tbl_name_sql_FROM_sqlite_schema_ORDER_BY_2_224____n____hex_sha3_query_SELECT_type_name_tbl_name_sql_FROM_sqlite_schema_ORDER_BY_2_224____nINSERT_INTO___shell_self__n__SELECT_run_____SELECT_hex_sha3_query_SELECT__FROM___________printf__w_name_____NOT_INDEXED_224____n____hex_sha3_query_printf_SELECT__FROM___w__NOT_INDEXED_name__224___n__FROM___n____SELECT_name_FROM_sqlite_schema_n_____WHERE_typetable_n_______AND_name__selftest_n_______AND_coalesce_rootpage_0__0_n____n_ORDER_BY_name__nINSERT_INTO___shell_self__n__VALUES_run_PRAGMA_integrity_check_ok___nINSERT_INTO_selftest_tno_op_cmd_ans___SELECT_rowid10_op_cmd_ans_FROM___shell_self___nDROP_TABLE___shell_self__
mov qword [rsp + 0x280], 0
call sym.sqlite3_exec
mov r8, qword [rsp + 0x280]
test r8, r8
mov qword [rsp + 0x58], r8
je 0x41cc8c
mov ecx, 2
call qword [sym.__acrt_iob_func]
mov r8, qword [rsp + 0x58]
lea rdx, str.SELFTEST_initialization_failure:__s_n
mov rcx, rax
call sym.utf8_printf
mov rcx, qword [rsp + 0x280]
call sym.sqlite3_free
mov rcx, qword [r13]
lea rdx, str.RELEASE_selftest_init
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0
call sym.sqlite3_exec
mov rcx, r15
xor edi, edi
call sym.initText
xor r8d, r8d
mov rcx, r15
lea rdx, [0x004da5ba]
call sym.appendText
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x68], rax
mov rcx, qword [r13]
or r8d, 0xffffffff
cmp esi, 1
mov qword [rsp + 0x20], 0
lea rdx, str.SELECT_tno_op_cmd_ans_FROM_selftest_ORDER_BY_tno
lea r9, [rsp + 0xb0]
je 0x41cd00
lea rdx, str.VALUES_0_memo_Missing_SELFTEST_table___default_checks_only__________1_run_PRAGMA_integrity_check_ok_
call sym.sqlite3_prepare_v2
test eax, eax
je 0x41cd35
mov ecx, 2
call qword [sym.__acrt_iob_func]
lea rcx, str.Error_querying_the_selftest_table_n
mov rdx, rax
call sym.fputs
mov rcx, qword [rsp + 0xb0]
call sym.sqlite3_finalize
jmp 0x41cf82
xor ebx, ebx
mov rcx, qword [rsp + 0xb0]
call sym.sqlite3_step
cmp eax, 0x64
jne 0x41cf45
mov rcx, qword [rsp + 0xb0]
xor edx, edx
call sym.sqlite3_column_int
mov rcx, qword [rsp + 0xb0]
mov edx, 1
mov r12d, eax
call sym.sqlite3_column_text
mov rcx, qword [rsp + 0xb0]
mov edx, 2
mov rbp, rax
call sym.sqlite3_column_text
mov rcx, qword [rsp + 0xb0]
mov edx, 3
mov r14, rax
call sym.sqlite3_column_text
test r14, r14
sete dl
test rbp, rbp
mov qword [rsp + 0x58], rax
sete al
or dl, al
jne 0x41cd37
cmp qword [rsp + 0x58], 0
je 0x41cd37
cmp dword [rsp + 0x50], 0
je 0x41cdd8
mov r9, r14
mov r8, rbp
mov edx, r12d
lea rcx, str._d:__s__s_n
call sym.printf
lea rdx, str.memo
mov rcx, rbp
call sym.cli_strcmp
test eax, eax
jne 0x41ce03
mov rcx, qword [r13 + 0x40]
lea rdx, [0x004d559f]
mov r8, r14
call sym.utf8_printf
jmp 0x41cf3e
lea rdx, [0x004da691]
mov rcx, rbp
call sym.cli_strcmp
test eax, eax
jne 0x41cf15
mov rax, qword [rsp + 0x280]
lea r8, [sym.captureOutputCallback]
mov r9, r15
mov rdx, r14
mov qword [rsp + 0xc0], 0
mov dword [rsp + 0x288], 0
mov byte [rax], 0
mov rax, qword [rsp + 0x68]
mov rcx, qword [r13]
mov qword [rsp + 0x20], rax
call sym.sqlite3_exec
inc dword [rsp + 0x60]
mov ebx, eax
cmp dword [rsp + 0x50], 0
je 0x41ce81
mov rcx, qword [r13 + 0x40]
lea rdx, str.Result:__s_n
mov r8, qword [rsp + 0x280]
call sym.utf8_printf
test ebx, ebx
mov rdx, qword [rsp + 0xc0]
jne 0x41ce92
test rdx, rdx
je 0x41cec1
mov rcx, qword [r13 + 0x40]
mov qword [rsp + 0x20], rdx
mov r8d, r12d
inc edi
lea rdx, str._d:_error_code__d:__s_n
mov r9d, 1
call sym.utf8_printf
mov rcx, qword [rsp + 0xc0]
call sym.sqlite3_free
jmp 0x41cf0e
mov rdx, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x58]
call sym.cli_strcmp
test eax, eax
mov ebx, eax
je 0x41cf3e
mov rcx, qword [r13 + 0x40]
lea rdx, str._d:_Expected:___s__n
mov r8d, r12d
inc edi
mov r9, qword [rsp + 0x58]
call sym.utf8_printf
mov rcx, qword [r13 + 0x40]
mov r8d, r12d
mov r9, qword [rsp + 0x280]
lea rdx, str._d:______Got:___s__n
call sym.utf8_printf
mov ebx, 1
jmp 0x41cf3e
mov ecx, 2
xor esi, esi
mov ebx, 1
call qword [sym.__acrt_iob_func]
mov r9d, r12d
mov r8, rbp
lea rdx, str.Unknown_operation___s__on_selftest_line__d_n
mov rcx, rax
call sym.utf8_printf
jmp 0x41cf45
xor esi, esi
jmp 0x41cd37
mov rcx, qword [rsp + 0xb0]
call sym.sqlite3_finalize
test esi, esi
je 0x41cf5d
xor esi, esi
jmp 0x41ccd4
mov rcx, r15
call sym.freeText
mov rcx, qword [r13 + 0x40]
mov r8d, edi
mov r9d, dword [rsp + 0x60]
lea rdx, str._d_errors_out_of__d_tests_n
call sym.utf8_printf
jmp 0x41e0a2
mov ebx, 1
jmp 0x41e0a2
cmp edi, 0x73
jne 0x41d04b
lea rdx, str.separator
movsxd r14, esi
mov rcx, r12
mov r8, r14
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41d07e
lea eax, [r15 - 2]
cmp eax, 1
jbe 0x41cfdc
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rcx, str.Usage:_.separator_COL__ROW__n
mov rdx, rax
call sym.fputs
cmp r15d, 1
je 0x41e0a2
mov rax, qword [rsp + 0xe8]
lea rdx, [r13 + 0xbe]
mov r9d, 0x13
mov ecx, 0x14
lea r8, [0x004d4092]
mov qword [rsp + 0x20], rax
call sym.sqlite3_snprintf
cmp r15d, 2
je 0x41e0a2
mov rax, qword [rsp + 0xf0]
lea rdx, [r13 + 0xd2]
mov r9d, 0x13
mov ecx, 0x14
lea r8, [0x004d4092]
mov qword [rsp + 0x20], rax
call sym.sqlite3_snprintf
jmp 0x41e0a2
cmp byte [rsp + 0x50], 0
je 0x41d0f5
test bpl, bpl
je 0x41d0f5
lea rdx, str.tables
movsxd r8, esi
mov rcx, r12
call sym.cli_strncmp
test eax, eax
je 0x41d12e
jmp 0x41d4c1
cmp byte [rsp + 0x68], 0
jne 0x41e18a
lea rdx, str.shell
mov r8, r14
mov rcx, r12
call sym.cli_strncmp
test eax, eax
je 0x41e77b
lea rdx, str.system
mov r8, r14
mov rcx, r12
call sym.cli_strncmp
test eax, eax
je 0x41e77b
lea rdx, str.show
mov r8, r14
mov rcx, r12
call sym.cli_strncmp
test eax, eax
mov ebx, eax
je 0x41e88a
lea rdx, str.stats
mov r8, r14
mov rcx, r12
call sym.cli_strncmp
test eax, eax
mov ebx, eax
je 0x41eb8f
cmp edi, 0x69
jne 0x41d4b8
lea rdx, str.indices
mov r8, rsi
mov rcx, r12
call sym.cli_strncmp
test eax, eax
je 0x41d12e
lea rdx, str.indexes
mov r8, rsi
mov rcx, r12
call sym.cli_strncmp
test eax, eax
jne 0x41e080
lea rbx, [rsp + 0x280]
lea rbp, [rsp + 0xc0]
mov rcx, rbx
call sym.initText
xor edx, edx
mov rcx, r13
call sym.open_db
mov rcx, qword [r13]
or r8d, 0xffffffff
mov r9, rbp
mov qword [rsp + 0x20], 0
lea rdx, str.PRAGMA_database_list
call sym.sqlite3_prepare_v2
test eax, eax
je 0x41d186
mov rcx, qword [rsp + 0xc0]
call sym.sqlite3_finalize
jmp 0x41d2fd
cmp r15d, 2
jle 0x41d1c2
cmp edi, 0x69
jne 0x41d1c2
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rcx, str.Usage:_.indexes__LIKE_PATTERN__n
mov rdx, rax
call sym.fputs
mov rcx, qword [rsp + 0xc0]
call sym.sqlite3_finalize
jmp 0x41e0a2
lea r14, str._UNION_ALL
lea r12, [0x004d45f9]
mov rcx, qword [rsp + 0xc0]
call sym.sqlite3_step
mov rcx, qword [rsp + 0xc0]
cmp eax, 0x64
jne 0x41d2b1
mov edx, 1
call sym.sqlite3_column_text
test rax, rax
mov rsi, rax
je 0x41d1d0
mov rax, qword [rsp + 0x280]
test rax, rax
je 0x41d220
cmp byte [rax], 0
je 0x41d220
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call sym.appendText
mov rdx, r12
mov rcx, rsi
call sym.sqlite3_stricmp
lea rdx, str.SELECT_name_FROM
xor r8d, r8d
test eax, eax
je 0x41d263
lea rdx, [0x004d6a1c]
mov rcx, rbx
call sym.appendText
mov r8d, 0x27
mov rdx, rsi
mov rcx, rbx
call sym.appendText
lea rdx, str..name_FROM
xor r8d, r8d
mov rcx, rbx
call sym.appendText
mov r8d, 0x22
mov rdx, rsi
mov rcx, rbx
call sym.appendText
xor r8d, r8d
mov rcx, rbx
lea rdx, str..sqlite_schema
call sym.appendText
lea rdx, str._WHERE_type_IN__table_view____AND_name_NOT_LIKE_sqlite_____AND_name_LIKE__1
xor r8d, r8d
cmp edi, 0x74
je 0x41d2a4
lea rdx, str._WHERE_typeindex___AND_tbl_name_LIKE__1
mov rcx, rbx
call sym.appendText
jmp 0x41d1d0
call sym.sqlite3_finalize
test eax, eax
mov edi, eax
jne 0x41d2f1
lea rdx, str._ORDER_BY_1
xor r8d, r8d
mov rcx, rbx
call sym.appendText
mov rcx, qword [r13]
mov r9, rbp
or r8d, 0xffffffff
mov rdx, qword [rsp + 0x280]
mov qword [rsp + 0x20], 0
call sym.sqlite3_prepare_v2
mov edi, eax
mov rcx, rbx
call sym.freeText
test edi, edi
je 0x41d30e
mov rcx, qword [r13]
call sym.shellDatabaseError
mov r15d, eax
jmp 0x41ec2d
dec r15d
mov rcx, qword [rsp + 0xc0]
je 0x41d32e
or r9, 0xffffffffffffffff
mov r8, qword [rsp + 0xe8]
mov qword [rsp + 0x20], r9
jmp 0x41d342
mov qword [rsp + 0x20], 0
or r9d, 0xffffffff
lea r8, [0x004dae1a]
mov edx, 1
xor r12d, r12d
xor ebx, ebx
call sym.sqlite3_bind_text
lea r14, [0x004d40ca]
xor esi, esi
mov rcx, qword [rsp + 0xc0]
mov ebp, ebx
call sym.sqlite3_step
cmp eax, 0x64
jne 0x41d3c1
cmp r12d, ebx
jg 0x41d392
lea r12d, [r12 + r12 + 0xa]
mov rcx, rsi
movsxd rdx, r12d
shl rdx, 3
call sym.sqlite3_realloc64
mov rcx, rax
mov rsi, rax
call sym.shell_check_oom
mov rcx, qword [rsp + 0xc0]
lea rbp, [rsi + rbx*8]
xor edx, edx
inc rbx
call sym.sqlite3_column_text
mov rcx, r14
mov rdx, rax
call sym.sqlite3_mprintf
mov qword [rbp], rax
mov rcx, rax
call sym.shell_check_oom
jmp 0x41d35a
mov rcx, qword [rsp + 0xc0]
call sym.sqlite3_finalize
test eax, eax
mov ebx, eax
je 0x41d3df
mov rcx, qword [r13]
call sym.shellDatabaseError
mov ebx, eax
test ebx, ebx
jne 0x41d497
test ebp, ebp
jle 0x41d497
xor edx, edx
mov rcx, qword [rsi + rdx*8]
call sym.strlen30
cmp edi, eax
cmovl edi, eax
inc rdx
cmp ebp, edx
jg 0x41d3f1
lea r8d, [rdi + 2]
mov eax, 0x50
mov ecx, 1
lea r15, [0x004d4196]
cdq
idiv r8d
test eax, eax
cmovg ecx, eax
xor r12d, r12d
lea eax, [rcx + rbp - 1]
cdq
idiv ecx
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], r12d
jle 0x41d497
movsxd rax, dword [rsp + 0x50]
mov r14, r12
mov qword [rsp + 0x58], rax
cmp ebp, r14d
mov rcx, qword [r13 + 0x40]
jle 0x41d485
mov rax, qword [rsi + r14*8]
lea r8, [0x004d58d0]
mov r9d, edi
cmp dword [rsp + 0x50], r14d
lea rdx, str._s__s
cmovg r8, r15
test rax, rax
cmove rax, r15
mov qword [rsp + 0x20], rax
call sym.utf8_printf
add r14, qword [rsp + 0x58]
jmp 0x41d446
mov rdx, rcx
mov ecx, 0xa
inc r12
call sym.fputc
jmp 0x41d432
xor edi, edi
cmp ebp, edi
jle 0x41d4ab
mov rcx, qword [rsi + rdi*8]
inc rdi
call sym.sqlite3_free
jmp 0x41d499
mov rcx, rsi
call sym.sqlite3_free
jmp 0x41e0a2
cmp edi, 0x74
jne 0x41dce9
lea rdx, str.testcase
mov rcx, r12
call sym.cli_strcmp
test eax, eax
mov ebx, eax
jne 0x41d54f
mov rcx, r13
call sym.output_reset
lea rcx, str.testcase_out.txt
xor edx, edx
call sym.output_file_open
test rax, rax
mov qword [r13 + 0x40], rax
jne 0x41d50f
mov ecx, 2
call qword [sym.__acrt_iob_func]
lea rcx, str.Error:_cannot_open_testcase_out.txt_n
mov rdx, rax
call sym.fputs
lea rdx, [r13 + 0xa0]
dec r15d
je 0x41d539
mov r9, qword [rsp + 0xe8]
lea r8, [0x004d40ca]
mov ecx, 0x1e
call sym.sqlite3_snprintf
jmp 0x41e0a2
lea r8, [0x004dae53]
mov ecx, 0x1e
call sym.sqlite3_snprintf
jmp 0x41e0a2
cmp esi, 7
jle 0x41da2b
lea rdx, str.testctrl
movsxd r8, esi
mov rcx, r12
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41da2b
test byte [r13 + 0x7d], 4
jne 0x41d5a6
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea r8, str.testctrl
lea rdx, str.._s_unavailable_without___unsafe_testing_n
mov rcx, rax
call sym.utf8_printf
jmp 0x41e0a2
lea rsi, str.help
xor edx, edx
mov rcx, r13
call sym.open_db
cmp r15d, 1
je 0x41d5e9
mov rsi, qword [rsp + 0xe8]
cmp byte [rsi], 0x2d
jne 0x41d5e9
mov dl, byte [rsi + 1]
test dl, dl
je 0x41d5e9
lea rax, [rsi + 1]
cmp dl, 0x2d
jne 0x41d5e6
cmp byte [rsi + 2], 0
je 0x41d5e6
add rsi, 2
jmp 0x41d5e9
mov rsi, rax
lea rdx, str.help
mov rcx, rsi
call sym.cli_strcmp
lea rdi, [0x004dc040]
test eax, eax
jne 0x41d648
mov rcx, qword [r13 + 0x40]
lea rdx, str.Available_test_controls:_n
lea rbx, [rdi + 0x180]
lea rsi, str.__.testctrl__s__s_n
call sym.utf8_printf
mov r9, qword [rdi + 0x10]
mov rdx, rsi
add rdi, 0x18
mov r8, qword [rdi - 0x18]
mov rcx, qword [r13 + 0x40]
call sym.utf8_printf
cmp rbx, rdi
jne 0x41d621
mov ebx, 1
jmp 0x41e0a2
mov rcx, rsi
or rbp, 0xffffffffffffffff
xor r14d, r14d
call sym.strlen30
mov r12d, ebp
mov r9, rdi
cdqe
mov qword [rsp + 0x50], rax
mov rdx, qword [r9]
mov rcx, rsi
mov qword [rsp + 0x58], r9
mov r8, qword [rsp + 0x50]
call sym.cli_strncmp
mov r9, qword [rsp + 0x58]
test eax, eax
jne 0x41d6b7
test r12d, r12d
jns 0x41d690
mov r12d, dword [r9 + 8]
movsxd rbp, r14d
jmp 0x41d6b7
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rdx, str.Error:_ambiguous_test_control:___s__nUse__.testctrl___help__for_help_n
mov r8, rsi
mov rcx, rax
call sym.utf8_printf
jmp 0x41e0a2
inc r14d
add r9, 0x18
cmp r14d, 0x10
jne 0x41d664
test r12d, r12d
jns 0x41d6eb
mov ecx, 2
call qword [sym.__acrt_iob_func]
lea rdx, str.Error:_unknown_test_control:__s_nUse__.testctrl___help__for_help_n
mov r8, rsi
mov rcx, rax
call sym.utf8_printf
jmp case.0x41d758.7
movsxd rax, ebp
imul rax, rax, 0x18
add rax, rdi
cmp dword [rax + 0xc], 0
je 0x41d73c
cmp byte [r13 + 0x11], 0
je 0x41d73c
mov r8d, dword [r13 + 0x30]
mov ecx, 2
mov r9, qword [rax]
mov dword [rsp + 0x50], r8d
mov qword [rsp + 0x58], r9
call qword [sym.__acrt_iob_func]
mov r9, qword [rsp + 0x58]
lea rdx, str.line__d:__.testctrl__s__may_not_be_used_in_safe_mode_n
mov r8d, dword [rsp + 0x50]
mov rcx, rax
call sym.utf8_printf
jmp 0x41b29a
lea eax, [r12 - 5]
cmp eax, 0x19
ja case.0x41d758.7
lea rdx, [0x004db170]
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
cmp r15d, 3
jne case.0x41d758.7
mov rcx, qword [rsp + 0xf0]
xor r8d, r8d
xor edx, edx
call sym.strtol
mov rdx, qword [r13]
mov ecx, 0xf
mov r8d, eax
jmp 0x41d9b0
cmp r15d, 2
jne case.0x41d758.7
mov ecx, r12d
xor r15d, r15d
call sym.sqlite3_test_control
cmp r12d, 0x16
setne r15b
lea r15d, [r15 + r15 + 1]
jmp 0x41d9bc
cmp r15d, 3
jne case.0x41d758.7
mov rcx, qword [rsp + 0xf0]
call sym.integerValue
mov ecx, 0xb
mov edx, eax
jmp 0x41d8e0
lea eax, [r15 - 3]
cmp eax, 1
ja case.0x41d758.7
mov r12, qword [rsp + 0xf0]
mov rcx, r12
call sym.integerValue
test eax, eax
mov dword [rsp + 0x280], eax
jne 0x41d831
lea rdx, [0x004daf47]
mov rcx, r12
call sym.cli_strcmp
test eax, eax
jne 0x41d831
lea rdx, [rsp + 0x280]
mov ecx, 4
call sym.sqlite3_randomness
mov edx, dword [rsp + 0x280]
lea rcx, str.___random_seed:__d_n
call sym.printf
xor r12d, r12d
cmp r15d, 3
je 0x41d87f
mov r12, qword [r13]
lea r8, [0x004da5ba]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov rcx, r12
mov qword [rsp + 0x20], 0
call sym.sqlite3_table_column_metadata
mov edx, dword [rsp + 0x280]
mov r8, r12
mov ecx, 0x1c
call sym.sqlite3_test_control
jmp 0x41d93f
cmp r15d, 3
jne case.0x41d758.7
mov rcx, qword [rsp + 0xf0]
mov r15d, 1
call sym.booleanValue
mov ecx, r12d
mov edx, eax
call sym.sqlite3_test_control
jmp 0x41d9bc
cmp r15d, 3
jne case.0x41d758.7
mov rcx, qword [rsp + 0xf0]
call sym.booleanValue
mov ecx, r12d
mov edx, eax
call sym.sqlite3_test_control
jmp 0x41d9bc
mov rdx, qword [r13]
mov ecx, 0x11
call sym.sqlite3_test_control
jmp 0x41d93f
cmp r15d, 5
jne case.0x41d758.7
mov rcx, qword [rsp + 0x100]
call sym.integerValue
mov rcx, qword [rsp + 0xf8]
mov r12, rax
call sym.integerValue
mov rdx, qword [r13]
mov qword [rsp + 0x20], r12
mov ecx, 0x19
mov r8, qword [rsp + 0xf0]
mov r9, rax
call sym.sqlite3_test_control
mov r15d, 3
jmp 0x41d9bc
mov rdx, qword [r13]
lea r8, [rsp + 0x280]
mov ecx, 0x1e
mov qword [rsp + 0x280], 0
mov r15d, 3
call sym.sqlite3_test_control
mov rcx, qword [r13 + 0x40]
lea rdx, str._llu_n
mov r8, qword [rsp + 0x280]
mov dword [rsp + 0x50], eax
call sym.utf8_printf
mov eax, dword [rsp + 0x50]
jmp 0x41d9bc
cmp r15d, 3
jne case.0x41d758.7
mov rcx, qword [rsp + 0xf0]
call sym.integerValue
mov rdx, qword [r13]
mov ecx, 0x18
mov r8d, eax
call sym.sqlite3_test_control
jmp 0x41d9bc
xor r15d, r15d
xor eax, eax
test r15d, r15d
jne 0x41d9eb
test ebp, ebp
js 0x41d9eb
imul rbp, rbp, 0x18
mov rcx, qword [r13 + 0x40]
mov r8, rsi
mov ebx, 1
lea rdx, str.Usage:_.testctrl__s__s_n
mov r9, qword [rdi + rbp + 0x10]
call sym.utf8_printf
jmp 0x41e0a2
cmp r15d, 1
jne 0x41da09
mov rcx, qword [r13 + 0x40]
lea rdx, [0x004d8a88]
mov r8d, eax
call sym.fprintf
jmp 0x41e0a2
cmp r15d, 2
jne 0x4173e1
mov rcx, qword [r13 + 0x40]
lea rdx, str.0x_08x_n
mov r8d, eax
call sym.fprintf
jmp 0x41e0a2
cmp byte [rsp + 0x58], 0
je 0x41db74
test bpl, bpl
je 0x41db74
lea rdx, [0x004daf88]
movsxd rbp, esi
mov rcx, r12
mov r8, rbp
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41da88
xor edx, edx
mov rcx, r13
call sym.open_db
xor edx, edx
dec r15d
je 0x41da7a
mov rcx, qword [rsp + 0xe8]
call sym.integerValue
mov edx, eax
mov rcx, qword [r13]
call sym.sqlite3_busy_timeout
jmp 0x41e0a2
lea rdx, str.timer
mov r8, rbp
mov rcx, r12
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41db7d
cmp r15d, 2
jne 0x41db50
mov rcx, qword [rsp + 0xe8]
call sym.booleanValue
test eax, eax
mov dword [0x00509190], eax
je 0x4173e1
cmp qword [0x00509168], 0
jne 0x4173e1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test rax, rax
mov qword [0x00509188], rax
je 0x41db27
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x41db27
lea rdx, str.GetProcessTimes
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x00509168], rax
jne 0x4173e1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, 2
call qword [sym.__acrt_iob_func]
lea rcx, str.Error:_timer_not_available_on_this_system._n
mov rdx, rax
call sym.fputs
mov dword [0x00509190], 0
jmp 0x41e0a2
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rcx, str.Usage:_.timer_onoff_n
mov rdx, rax
call sym.fputs
jmp 0x41e0a2
cmp edi, 0x74
jne 0x41dce9
lea rdx, str.trace
movsxd r8, esi
mov rcx, r12
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41df9a
xor edx, edx
mov rcx, r13
xor esi, esi
call sym.open_db
mov ebp, 1
lea r14, str.expanded
lea r12, str.plain
cmp r15d, ebp
jle 0x41dcad
mov rdi, qword [rsp + rbp*8 + 0xe0]
cmp byte [rdi], 0x2d
jne 0x41dc8e
mov rdx, r14
mov rcx, rdi
call sym.optionMatch
test eax, eax
je 0x41dbeb
mov byte [r13 + 0x10], 1
jmp 0x41dca5
mov rdx, r12
mov rcx, rdi
call sym.optionMatch
test eax, eax
je 0x41dc04
mov byte [r13 + 0x10], 0
jmp 0x41dca5
lea rdx, str.profile
mov rcx, rdi
call sym.optionMatch
test eax, eax
je 0x41dc1f
or esi, 2
jmp 0x41dca5
lea rdx, [0x004db012]
mov rcx, rdi
call sym.optionMatch
test eax, eax
je 0x41dc37
or esi, 4
jmp 0x41dca5
lea rdx, str.stmt
mov rcx, rdi
call sym.optionMatch
test eax, eax
je 0x41dc4f
or esi, 1
jmp 0x41dca5
lea rdx, str.close
mov rcx, rdi
call sym.optionMatch
test eax, eax
je 0x41dc67
or esi, 8
jmp 0x41dca5
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rdx, str.Unknown_option___s__on__.trace__n
mov r8, rdi
mov rcx, rax
call sym.fprintf
jmp 0x41e0a2
mov rcx, qword [r13 + 0x48]
call sym.output_file_close
xor edx, edx
mov rcx, rdi
call sym.output_file_open
mov qword [r13 + 0x48], rax
inc rbp
jmp 0x41dbb8
cmp qword [r13 + 0x48], 0
mov rcx, qword [r13]
jne 0x41dcca
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call sym.sqlite3_trace_v2
jmp 0x41e0a2
test esi, esi
jne 0x41dcd3
mov esi, 1
lea r8, [sym.sql_trace_callback]
mov r9, r13
mov edx, esi
call sym.sqlite3_trace_v2
jmp 0x41e0a2
cmp edi, 0x76
jne 0x41df9a
lea rdx, [0x004db037]
mov r8, rsi
mov rcx, r12
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41dd46
call sym.sqlite3_sourceid
mov qword [rsp + 0x50], rax
call sym.sqlite3_libversion
mov rcx, qword [r13 + 0x40]
lea rdx, str.SQLite__s__s_n
mov r9, qword [rsp + 0x50]
mov r8, rax
call sym.utf8_printf
mov rcx, qword [r13 + 0x40]
lea rdx, str.gcc_8.1.0_n
call sym.utf8_printf
jmp 0x41e0a2
lea rdx, str.vfsinfo
mov r8, rsi
mov rcx, r12
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41de20
lea rdx, [0x004d45f9]
cmp r15d, 2
jne 0x41dd77
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x280], 0
mov rcx, qword [r13]
test rcx, rcx
je 0x41e0a2
lea r9, [rsp + 0x280]
mov r8d, 0x1b
call sym.sqlite3_file_control
mov rax, qword [rsp + 0x280]
test rax, rax
je 0x41e0a2
mov rcx, qword [r13 + 0x40]
lea rdx, str.vfs.zName_________s__n
mov r8, qword [rax + 0x18]
call sym.utf8_printf
mov rcx, qword [r13 + 0x40]
lea rdx, str.vfs.iVersion_____d_n
mov rax, qword [rsp + 0x280]
mov r8d, dword [rax]
call sym.fprintf
mov rcx, qword [r13 + 0x40]
lea rdx, str.vfs.szOsFile_____d_n
mov rax, qword [rsp + 0x280]
mov r8d, dword [rax + 4]
call sym.fprintf
mov rcx, qword [r13 + 0x40]
lea rdx, str.vfs.mxPathname___d_n
mov rax, qword [rsp + 0x280]
mov r8d, dword [rax + 8]
call sym.fprintf
jmp 0x41e0a2
lea rdx, str.vfslist
mov r8, rsi
mov rcx, r12
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41df0a
mov qword [rsp + 0x280], 0
mov rcx, qword [r13]
test rcx, rcx
je 0x41de6b
lea r9, [rsp + 0x280]
mov r8d, 0x1b
lea rdx, [0x004d45f9]
call sym.sqlite3_file_control
lea rdi, str._______CURRENT
xor ecx, ecx
call sym.sqlite3_vfs_find
lea rbp, [0x004d4196]
lea r12, str.vfs.zName_________s__s_n
mov rsi, rax
test rsi, rsi
je 0x41e0a2
cmp qword [rsp + 0x280], rsi
mov r9, rbp
mov rdx, r12
mov rcx, qword [r13 + 0x40]
mov r8, qword [rsi + 0x18]
cmove r9, rdi
call sym.utf8_printf
mov rcx, qword [r13 + 0x40]
lea rdx, str.vfs.iVersion_____d_n
mov r8d, dword [rsi]
call sym.fprintf
mov rcx, qword [r13 + 0x40]
lea rdx, str.vfs.szOsFile_____d_n
mov r8d, dword [rsi + 4]
call sym.fprintf
mov rcx, qword [r13 + 0x40]
lea rdx, str.vfs.mxPathname___d_n
mov r8d, dword [rsi + 8]
call sym.fprintf
cmp qword [rsi + 0x10], 0
je 0x41df04
mov rdx, qword [r13 + 0x40]
lea rcx, str.____________________________________n
call sym.fputs
mov rsi, qword [rsi + 0x10]
jmp 0x41de8a
lea rdx, str.vfsname
mov r8, rsi
mov rcx, r12
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41e080
lea rdx, [0x004d45f9]
cmp r15d, 2
jne 0x41df3b
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x280], 0
mov rcx, qword [r13]
test rcx, rcx
je 0x41e0a2
lea r9, [rsp + 0x280]
mov r8d, 0xc
call sym.sqlite3_file_control
mov r8, qword [rsp + 0x280]
test r8, r8
je 0x41e0a2
mov rcx, qword [r13 + 0x40]
lea rdx, [0x004d559f]
call sym.utf8_printf
mov rcx, qword [rsp + 0x280]
call sym.sqlite3_free
jmp 0x41e0a2
cmp edi, 0x77
jne 0x41e080
lea rdx, str.wheretrace
mov r8, rsi
mov rcx, r12
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41dff3
or eax, 0xffffffff
dec r15d
je 0x41dfd0
mov rcx, qword [rsp + 0xe8]
call sym.integerValue
lea r8, [rsp + 0x280]
mov edx, 3
mov ecx, 0x1f
mov dword [rsp + 0x280], eax
call sym.sqlite3_test_control
jmp 0x41e0a2
lea rdx, str.width
mov r8, rsi
mov rcx, r12
call sym.cli_strncmp
test eax, eax
jne 0x41e080
mov rcx, qword [r13 + 0x110]
lea eax, [r15 - 1]
movsxd rdx, r15d
shl rdx, 3
mov dword [r13 + 0x120], eax
call sym.realloc
test rax, rax
mov qword [r13 + 0x110], rax
jne 0x41e042
cmp dword [r13 + 0x120], 0
jle 0x41e042
call sym.shell_out_of_memory
movsxd rdx, dword [r13 + 0x120]
test edx, edx
je 0x41e058
lea rax, [rax + rdx*4]
mov qword [r13 + 0x118], rax
xor ebx, ebx
inc rbx
cmp r15d, ebx
jle 0x4173e1
mov rcx, qword [rsp + rbx*8 + 0xe0]
call sym.integerValue
mov rdx, qword [r13 + 0x110]
mov dword [rdx + rbx*4 - 4], eax
jmp 0x41e05a
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rdx, str.Error:_unknown_command_or_invalid_arguments:____s_._Enter__.help__for_help_n
mov r8, r12
mov rcx, rax
call sym.utf8_printf
mov eax, dword [r13 + 0x28]
test eax, eax
je 0x41e0ba
dec eax
mov dword [r13 + 0x28], eax
jne 0x41e0ba
mov rcx, r13
call sym.output_reset
mov al, byte [r13 + 0x12]
mov r15d, ebx
mov byte [r13 + 0x11], al
jmp 0x41ec2d
mov rdx, qword [r13 + 0x40]
lea rcx, [0x004d58ec]
call sym.fputs
mov rcx, qword [rsp + 0x280]
call sym.sqlite3_step
mov ebp, eax
jmp 0x418703
test r12d, r12d
jne 0x41a79b
jmp 0x41a992
mov rcx, qword [rsp + 0x50]
call sym.quoteChar
mov rcx, qword [rsp + 0x50]
mov ebp, eax
call sym.strlen30
test bpl, bpl
je 0x41e11b
lea eax, [rax + rax + 2]
inc eax
movsxd rcx, eax
call sym.malloc
mov qword [r13 + 0x90], rax
mov rcx, rax
mov rsi, rax
call sym.shell_check_oom
xor edx, edx
test bpl, bpl
je 0x41e146
mov byte [rsi], bpl
mov edx, 1
mov rdi, qword [rsp + 0x50]
mov r8b, byte [rdi]
movsxd rcx, edx
add rcx, rsi
test r8b, r8b
je 0x41e174
lea eax, [rdx + 1]
cmp bpl, r8b
mov byte [rcx], r8b
jne 0x41e16d
cdqe
mov byte [rsi + rax], bpl
lea eax, [rdx + 2]
inc rdi
mov edx, eax
jmp 0x41e14b
test bpl, bpl
je 0x41e17e
inc edx
mov byte [rcx], bpl
movsxd rdx, edx
mov byte [rsi + rdx], 0
jmp 0x41b1f5
lea rdx, str.sha3sum
mov r8, r14
mov rcx, r12
call sym.cli_strncmp
test eax, eax
mov ebx, eax
jne 0x41d089
xor edx, edx
mov rcx, r13
xor r14d, r14d
call sym.open_db
xor edi, edi
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x50], 1
mov dword [rsp + 0x58], 0xe0
cmp r15d, dword [rsp + 0x50]
jle 0x41e322
mov rax, qword [rsp + 0x50]
mov rbp, qword [rsp + rax*8 + 0xe0]
cmp byte [rbp], 0x2d
jne 0x41e2bb
cmp byte [rbp + 1], 0x2d
lea rsi, [rbp + 2]
je 0x41e1fe
lea rsi, [rbp + 1]
lea rdx, [0x004d9e08]
mov rcx, rsi
call sym.cli_strcmp
test eax, eax
je 0x41e30b
lea rdx, str.sha3_224
mov rcx, rsi
call sym.cli_strcmp
test eax, eax
je 0x41e261
lea rdx, str.sha3_256
mov rcx, rsi
call sym.cli_strcmp
test eax, eax
je 0x41e261
lea rdx, str.sha3_384
mov rcx, rsi
call sym.cli_strcmp
test eax, eax
je 0x41e261
lea rdx, str.sha3_512
mov rcx, rsi
call sym.cli_strcmp
test eax, eax
jne 0x41e273
lea rcx, [rsi + 5]
call sym.atoi
mov dword [rsp + 0x58], eax
jmp 0x41e318
lea rdx, str.debug
mov rcx, rsi
call sym.cli_strcmp
test eax, eax
je 0x41e312
mov ecx, 2
call qword [sym.__acrt_iob_func]
mov r9, r12
mov r8, rbp
lea rdx, str.Unknown_option___s__on___s__n
mov rcx, rax
call sym.utf8_printf
mov rcx, qword [r13 + 0x40]
mov rdx, r12
call sym.showHelp
jmp 0x41e771
test rdi, rdi
je 0x41e2df
mov ecx, 2
call qword [sym.__acrt_iob_func]
lea rcx, str.Usage:_.sha3sum__OPTIONS___LIKE_PATTERN__n
mov rdx, rax
call sym.fputs
jmp 0x41e771
mov r8d, 0x5c
mov rdx, rbp
mov rdi, rbp
lea rcx, [0x004da7a4]
call sym.sqlite3_strlike
mov dword [rsp + 0x60], 1
test eax, eax
mov eax, 1
cmove ebx, eax
jmp 0x41e318
mov ebx, 1
jmp 0x41e318
mov r14d, 1
inc qword [rsp + 0x50]
jmp 0x41e1ce
mov rcx, qword [r13]
lea rax, str.SELECT_lower_name__as_tname_FROM_sqlite_schema_WHERE_typetable_AND_coalesce_rootpage_0__1_AND_name_NOT_LIKE_sqlite___ORDER_BY_1_collate_nocase
test ebx, ebx
mov qword [rsp + 0x20], 0
lea rdx, str.SELECT_lower_name__as_tname_FROM_sqlite_schema_WHERE_typetable_AND_coalesce_rootpage_0__1_UNION_ALL_SELECT_sqlite_schema_ORDER_BY_1_collate_nocase
cmove rdx, rax
or r8d, 0xffffffff
lea r12, [rsp + 0xa0]
lea rbx, [rsp + 0x280]
mov r9, r12
call sym.sqlite3_prepare_v2
lea rbp, [rsp + 0xc0]
mov rcx, rbx
call sym.initText
lea r15, str.VALUES_
mov rcx, rbp
call sym.initText
xor r8d, r8d
mov rcx, rbp
lea rdx, str.WITH__sha3sum_query__a_b__AS_
call sym.appendText
mov rcx, qword [rsp + 0xa0]
call sym.sqlite3_step
mov rcx, qword [rsp + 0xa0]
cmp eax, 0x64
jne 0x41e51e
xor edx, edx
call sym.sqlite3_column_text
test rax, rax
mov rsi, rax
je 0x41e390
test rdi, rdi
jne 0x41e40d
lea rdx, [0x004d692e]
mov r8d, 7
mov rcx, rsi
call sym.cli_strncmp
test eax, eax
je 0x41e424
lea rdx, str.SELECT__FROM
xor r8d, r8d
mov rcx, rbx
call sym.appendText
mov r8d, 0x22
mov rdx, rsi
mov rcx, rbx
call sym.appendText
lea rdx, str._NOT_INDEXED_
xor r8d, r8d
jmp 0x41e4b8
xor r8d, r8d
mov rdx, rax
mov rcx, rdi
call sym.sqlite3_strlike
test eax, eax
je 0x41e3c2
jmp 0x41e390
lea rdx, [0x004d9ecf]
mov rcx, rsi
call sym.cli_strcmp
lea rdx, str.SELECT_type_name_tbl_name_sql_FROM_sqlite_schema_ORDER_BY_name_
xor r8d, r8d
test eax, eax
je 0x41e4b8
lea rdx, [0x004d57bc]
mov rcx, rsi
call sym.cli_strcmp
lea rdx, str.SELECT_name_seq_FROM_sqlite_sequence_ORDER_BY_name_
xor r8d, r8d
test eax, eax
je 0x41e4b8
lea rdx, [0x004d8c3f]
mov rcx, rsi
call sym.cli_strcmp
lea rdx, str.SELECT_tbl_idx_stat_FROM_sqlite_stat1_ORDER_BY_tbl_idx_
xor r8d, r8d
test eax, eax
je 0x41e4b8
lea rdx, [0x004d8c67]
mov rcx, rsi
call sym.cli_strcmp
test eax, eax
jne 0x41e4c0
lea rdx, str.SELECT__FROM
xor r8d, r8d
mov rcx, rbx
call sym.appendText
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call sym.appendText
lea rdx, str._ORDER_BY_tbl__idx__rowid__n
xor r8d, r8d
mov rcx, rbx
call sym.appendText
mov rdx, r15
xor r8d, r8d
mov rcx, rbp
call sym.appendText
mov rdx, qword [rsp + 0x280]
mov rcx, rbp
mov r8d, 0x27
lea r15, [0x004d7f87]
call sym.appendText
xor r8d, r8d
mov rcx, rbp
mov dword [rsp + 0x288], 0
lea rdx, [0x004d4739]
call sym.appendText
mov r8d, 0x27
mov rdx, rsi
mov rcx, rbp
call sym.appendText
jmp 0x41e390
call sym.sqlite3_finalize
cmp dword [rsp + 0x60], 0
lea rcx, str._s___SELECT_lower_hex_sha3_query_a__d____AS_hash__b_AS_label___FROM__sha3sum_query_
mov r8d, dword [rsp + 0x58]
mov rdx, qword [rsp + 0xc0]
jne 0x41e545
lea rcx, str._s___SELECT_lower_hex_sha3_query_group_concat_a____d____AS_hash___FROM__sha3sum_query_
call sym.sqlite3_mprintf
mov rcx, rax
mov rsi, rax
call sym.shell_check_oom
mov rcx, rbx
call sym.freeText
mov rcx, rbp
call sym.freeText
test r14d, r14d
je 0x41e57f
mov rcx, qword [r13 + 0x40]
lea rdx, [0x004d559f]
mov r8, rsi
call sym.utf8_printf
jmp 0x41e58d
xor r8d, r8d
mov rdx, rsi
mov rcx, r13
call sym.shell_exec
lea rax, [0x004d4196]
test rdi, rdi
lea rdx, str._AND_name_LIKE__tspec
cmove rdx, rax
lea rcx, str.SELECT_lower_name__as_tname_FROM_sqlite_schema_nWHERE_typetable_AND_coalesce_rootpage_0__1_nAND_name_NOT_LIKE_sqlite____s_nORDER_BY_1_collate_nocase
call sym.sqlite3_mprintf
lea rcx, str.with_tabcols_as_materialized__nselect_tname__cname_nfrom___select_ss.tname_as_tname__ti.name_as_cname_n_from___z__ss_n_inner_join_pragma_table_info_tname__ti___nselect_SELECT_total_bad_text_count__AS_bad_text_count_nFROM__group_concat_query___UNION_ALL____as_btc_query_n_from__select_SELECT_COUNT___AS_bad_text_count_nFROM_tname_WHERE__ngroup_concat_CAST_CAST_cname_AS_BLOB__AS_TEXT___cname_n__AND_typeof_cname_text___n_OR___as_query__tname_from_tabcols_group_by_tname_
mov rdx, rax
call sym.sqlite3_mprintf
mov rcx, rax
mov rbp, rax
call sym.shell_check_oom
test r14d, r14d
je 0x41e5e0
mov rcx, qword [r13 + 0x40]
lea rdx, [0x004d559f]
mov r8, rbp
call sym.utf8_printf
mov rcx, qword [r13]
or r8d, 0xffffffff
mov r9, r12
mov rdx, rbp
mov qword [rsp + 0x20], 0
call sym.sqlite3_prepare_v2
test eax, eax
mov ebx, eax
je 0x41e626
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rdx, str..sha3sum_failed._n
mov rcx, rax
call sym.utf8_printf
jmp 0x41e75c
test rdi, rdi
je 0x41e64d
mov rcx, qword [rsp + 0xa0]
or r9d, 0xffffffff
mov r8, rdi
mov edx, 1
mov qword [rsp + 0x20], 0
call sym.sqlite3_bind_text
mov rcx, qword [rsp + 0xa0]
call sym.sqlite3_step
cmp eax, 0x64
jne 0x41e75c
mov rcx, qword [rsp + 0xa0]
xor edx, edx
call sym.sqlite3_column_text
mov rcx, qword [r13]
or r8d, 0xffffffff
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xb0]
mov rdx, rax
mov r12, rax
call sym.sqlite3_prepare_v2
test r14d, r14d
mov edi, eax
je 0x41e6b0
mov rcx, qword [r13 + 0x40]
lea rdx, [0x004d559f]
mov r8, r12
call sym.utf8_printf
test edi, edi
jne 0x41e742
mov rcx, qword [rsp + 0xb0]
call sym.sqlite3_step
cmp eax, 0x64
jne 0x41e733
mov rcx, qword [rsp + 0xb0]
xor edx, edx
call sym.sqlite3_column_double
xorps xmm1, xmm1
comisd xmm0, xmm1
jbe 0x41e733
addsd xmm0, qword [0x004e0550]
lea rax, [0x004d4196]
mov ecx, 2
lea r9, [0x004d5bb8]
cvttsd2si r8d, xmm0
cmp r8d, 1
mov dword [rsp + 0x58], r8d
cmovle r9, rax
mov qword [rsp + 0x50], r9
call qword [sym.__acrt_iob_func]
mov r9, qword [rsp + 0x50]
lea rdx, str.Digest_includes__d_invalidly_encoded_text_field_s._n
mov r8d, dword [rsp + 0x58]
mov rcx, rax
call sym.utf8_printf
mov rcx, qword [rsp + 0xb0]
call sym.sqlite3_finalize
jmp 0x41e747
mov edi, 1
mov rcx, qword [rsp + 0xa0]
call sym.sqlite3_finalize
test edi, edi
jne 0x41e602
mov rcx, rbp
call sym.sqlite3_free
mov rcx, rsi
call sym.sqlite3_free
jmp 0x41e0a2
mov ebx, 1
jmp 0x41e0a2
lea rdx, str.cannot_run_._s_in_safe_mode
mov r8, r12
mov rcx, r13
call sym.failIfSafeMode
cmp r15d, 1
jne 0x41e7b7
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rcx, str.Usage:_.system_COMMAND_n
mov rdx, rax
call sym.fputs
jmp 0x41e0a2
mov rbx, qword [rsp + 0xe8]
mov edx, 0x20
mov esi, 2
lea rdi, str._z__s
lea rbp, str._z___s_
mov rcx, rbx
call sym.strchr
lea rcx, [0x004d40ca]
mov rdx, rbx
test rax, rax
lea rax, str.__s_
cmovne rcx, rax
call sym.sqlite3_mprintf
mov rbx, rax
cmp r15d, esi
jle 0x41e842
test rbx, rbx
je 0x41e842
mov r8, qword [rsp + rsi*8 + 0xe0]
mov edx, 0x20
mov rcx, r8
mov qword [rsp + 0x50], r8
call sym.strchr
mov r8, qword [rsp + 0x50]
mov rcx, rbp
mov rdx, rbx
test rax, rax
cmove rcx, rdi
inc rsi
call sym.sqlite3_mprintf
mov rbx, rax
jmp 0x41e7ff
test rbx, rbx
mov esi, 1
je 0x41e856
mov rcx, rbx
call sym.system
mov esi, eax
mov rcx, rbx
call sym.sqlite3_free
test esi, esi
je 0x4173e1
mov ecx, 2
xor ebx, ebx
call qword [sym.__acrt_iob_func]
lea rdx, str.System_command_returns__d_n
mov r8d, esi
mov rcx, rax
call sym.fprintf
jmp 0x41e0a2
dec r15d
je 0x41e8b3
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rcx, str.Usage:_.show_n
mov rdx, rax
call sym.fputs
jmp 0x41e0a2
mov eax, dword [r13 + 0x7c]
lea rsi, [0x004dc1c0]
mov rcx, qword [r13 + 0x40]
lea r8, str.echo
lea rdx, str._12.12s:__s_n
shr eax, 6
and eax, 1
mov r9, qword [rsi + rax*8]
call sym.utf8_printf
mov al, byte [r13 + 9]
lea r8, [0x004d88af]
mov rcx, qword [r13 + 0x40]
lea rdx, str._12.12s:__s_n
and eax, 3
mov r9, qword [rsi + rax*8]
call sym.utf8_printf
cmp dword [r13 + 0x54], 9
lea r9, [0x004d5a3c]
je 0x41e926
cmp byte [r13 + 8], 0
lea r9, [0x004d7fbc]
lea rax, [0x004d5a43]
cmove r9, rax
mov rcx, qword [r13 + 0x40]
lea r8, [0x004d47e9]
lea rdx, str._12.12s:__s_n
call sym.utf8_printf
xor eax, eax
mov rcx, qword [r13 + 0x40]
cmp dword [r13 + 0x68], 0
lea r8, str.headers
lea rdx, str._12.12s:__s_n
setne al
mov r9, qword [rsi + rax*8]
call sym.utf8_printf
movsxd r9, dword [r13 + 0x54]
lea r8, str.line
mov rcx, qword [r13 + 0x40]
lea edx, [r9 - 0xe]
mov rax, r9
cmp edx, 2
jbe 0x41e981
dec eax
jne 0x41e9da
cmp byte [r13 + 0x18], 0
lea rax, [0x004d5a47]
mov r9, qword [r8 + r9*8]
lea rdx, [0x004d4196]
lea r10, [0x004d5a43]
cmove rdx, rax
cmp byte [r13 + 0x19], 0
lea rax, [0x004d5a3c]
mov qword [rsp + 0x30], rdx
lea r8, [0x004d9833]
cmove rax, r10
mov qword [rsp + 0x28], rax
mov eax, dword [r13 + 0x14]
lea rdx, str._12.12s:__s___wrap__d___wordwrap__s____squote_n
mov dword [rsp + 0x20], eax
call sym.utf8_printf
jmp 0x41e9f1
mov r9, qword [r8 + r9*8]
lea rdx, str._12.12s:__s_n
lea r8, [0x004d9833]
call sym.utf8_printf
mov rcx, qword [r13 + 0x40]
lea r8, str.nullvalue
lea rdx, str._12.12s:
call sym.utf8_printf
mov rcx, qword [r13 + 0x40]
lea rdx, [r13 + 0x124]
call sym.output_c_string
mov rdx, qword [r13 + 0x40]
mov ecx, 0xa
call sym.fputc
lea rdx, [r13 + 0x138]
mov rcx, rdx
call sym.strlen30
mov rcx, qword [r13 + 0x40]
lea r9, str.stdout
lea r8, str.output
test eax, eax
cmovne r9, rdx
lea rdx, str._12.12s:__s_n
call sym.utf8_printf
mov rcx, qword [r13 + 0x40]
lea r8, str.colseparator
lea rdx, str._12.12s:
call sym.utf8_printf
mov rcx, qword [r13 + 0x40]
lea rdx, [r13 + 0xbe]
call sym.output_c_string
mov rdx, qword [r13 + 0x40]
mov ecx, 0xa
call sym.fputc
mov rcx, qword [r13 + 0x40]
lea r8, str.rowseparator
lea rdx, str._12.12s:
call sym.utf8_printf
mov rcx, qword [r13 + 0x40]
lea rdx, [r13 + 0xd2]
call sym.output_c_string
mov rdx, qword [r13 + 0x40]
mov ecx, 0xa
call sym.fputc
mov eax, dword [r13 + 0x1c]
lea r9, str.stmt
cmp eax, 2
je 0x41eaf3
lea r9, str.vmstep
cmp eax, 3
je 0x41eaf3
lea r9, [0x004d5a43]
test eax, eax
lea rax, [0x004d5a3c]
cmovne r9, rax
mov rcx, qword [r13 + 0x40]
xor esi, esi
lea r8, str.stats
lea rdx, str._12.12s:__s_n
lea rdi, [0x004dacf5]
call sym.utf8_printf
mov rcx, qword [r13 + 0x40]
lea r8, str.width
lea rdx, str._12.12s:
call sym.utf8_printf
cmp dword [r13 + 0x120], esi
mov rcx, qword [r13 + 0x40]
jle 0x41eb4f
mov rax, qword [r13 + 0x110]
mov rdx, rdi
mov r8d, dword [rax + rsi*4]
inc rsi
call sym.fprintf
jmp 0x41eb2a
mov rdx, rcx
mov ecx, 0xa
call sym.fputc
mov rax, qword [r13 + 0x2c8]
mov r9, qword [rax + 8]
test r9, r9
jne 0x41eb73
lea r9, [0x004d4196]
mov rcx, qword [r13 + 0x40]
lea r8, str.filename
lea rdx, str._12.12s:__s_n
call sym.utf8_printf
jmp 0x41e0a2
cmp r15d, 2
jne 0x41ebf3
mov rsi, qword [rsp + 0xe8]
lea rdx, str.stmt
mov rcx, rsi
call sym.cli_strcmp
test eax, eax
jne 0x41ebbd
mov dword [r13 + 0x1c], 2
jmp 0x41e0a2
lea rdx, str.vmstep
mov rcx, rsi
call sym.cli_strcmp
test eax, eax
jne 0x41ebdd
mov dword [r13 + 0x1c], 3
jmp 0x41e0a2
mov rcx, rsi
call sym.booleanValue
and eax, 0xff
mov dword [r13 + 0x1c], eax
jmp 0x41e0a2
dec r15d
jne 0x41ec09
mov rcx, qword [r13]
mov rdx, r13
call sym.display_stats.constprop.95
jmp 0x41e0a2
mov ecx, 2
mov ebx, 1
call qword [sym.__acrt_iob_func]
lea rcx, str.Usage:_.stats__onoffstmtvmstep__n
mov rdx, rax
call sym.fputs
jmp 0x41e0a2
mov eax, r15d
add rsp, 0x5f8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret