Function at 0x140025620
Capabilities:
Execute command
Reference sql statements
Self delete
Set current directory
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x638
mov rbp, rcx
mov rcx, qword [rdx + 0x360]
mov r15, rdx
test rcx, rcx
je 0x140025655
call sym.sqlite3_expert_destroy.part.0
mov qword [r15 + 0x360], 0
cmp byte [rbp + 1], 0
je 0x1400259bb
lea rax, [rsp + 0x120]
mov dword [rsp + 0x50], 0
mov rdi, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
mov ebx, 1
mov qword [rsp + 0x60], rax
mov esi, 1
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x688], r15
nop word [rax + rax]
add rsi, rbp
mov rax, rsi
nop
movzx r12d, byte [rax]
mov r14, rax
mov ecx, r12d
mov r13d, r12d
call rdi
mov r15d, eax
lea rax, [r14 + 1]
test r15d, r15d
jne 0x1400256a0
test r12b, r12b
je 0x14002598f
mov eax, ebx
add dword [rsp + 0x50], 1
sub eax, esi
add eax, r14d
mov ebx, eax
cmp r12b, 0x27
je 0x140025860
cmp r12b, 0x22
je 0x140025860
mov rax, qword [rsp + 0x58]
mov qword [rax], r14
movsxd rax, ebx
lea rsi, [rbp + rax + 1]
jmp 0x140025718
mov r14, rsi
movzx r13d, byte [rsi]
add rsi, 1
test r13b, r13b
je 0x1400258e0
movzx r12d, r13b
mov ecx, r12d
add ebx, 1
call rdi
test eax, eax
je 0x140025700
mov byte [r14], 0
movsxd rsi, ebx
lea r13, [rbp + rsi]
cmp byte [r13], 0
je 0x140025748
add qword [rsp + 0x58], 8
cmp dword [rsp + 0x50], 0x33
jne 0x140025698
movsxd rax, dword [rsp + 0x50]
mov r12d, r15d
mov r15, qword [rsp + 0x688]
mov qword [rsp + 0x88], rax
mov qword [rsp + rax*8 + 0x120], 0
mov rax, qword [rsp + 0x120]
movsx edi, byte [rax]
mov dword [rsp + 0x58], edi
test dil, dil
je 0x140025e9c
mov rdi, rax
nop word [rax + rax]
add rdi, 1
cmp byte [rdi], 0
jne 0x140025790
sub rdi, rax
mov rcx, r15
mov esi, edi
mov dword [rsp + 0x7c], edi
call sym.clearTempFile
and esi, 0x3fffffff
cmp dword [rsp + 0x58], 0x61
je 0x140025900
cmp esi, 2
setg bpl
cmp dword [rsp + 0x58], 0x62
mov byte [rsp + 0x68], bpl
jne 0x140025dd1
test bpl, bpl
je 0x140025dd1
mov rbx, qword [rsp + 0x120]
movsxd r13, esi
mov rbp, rbx
test rbx, rbx
je 0x140025b45
mov edi, 7
lea rdx, str.backup
mov rcx, rbx
cmp r13, rdi
cmovbe rdi, r13
mov r8, rdi
call sym.strncmp
test eax, eax
je 0x140025b73
mov r8d, 5
lea rdx, str.bail
mov rcx, rbx
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
test eax, eax
jne 0x140025d25
cmp dword [rsp + 0x50], 2
je 0x140025f4b
lea rcx, str.Usage:_.bail_onoff_n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
lea ebx, [rax + 1]
mov rax, qword [rsp + 0x58]
movsx r8d, r13b
movsxd rsi, ebx
lea r9, [rbp + rsi]
mov qword [rax], r9
movzx eax, byte [r9]
mov rcx, r9
test al, al
jne 0x1400258a2
jmp 0x1400259c0
add ebx, 1
movsxd rsi, ebx
lea rcx, [rbp + rsi]
movzx eax, byte [rcx]
test al, al
je 0x1400258c0
cmp r13b, al
je 0x1400258f0
cmp al, 0x5c
jne 0x140025890
cmp r8d, 0x22
jne 0x140025890
cmp byte [rbp + rsi + 1], 1
sbb ebx, 0xffffffff
jmp 0x140025890
mov r13, rcx
cmp r8d, 0x22
jne 0x140025730
mov rcx, r9
call sym.resolve_backslashes
jmp 0x140025730
movsxd rsi, ebx
lea r13, [rbp + rsi]
jmp 0x140025730
add ebx, 1
mov byte [rcx], 0
movsxd rsi, ebx
lea r13, [rbp + rsi]
jmp 0x1400258c3
movsxd r13, esi
mov rbx, qword [rsp + 0x120]
mov r8d, 5
lea rdi, [0x140150568]
lea rdx, str.auth
test rbx, rbx
cmovne rdi, rbx
cmp r13, r8
cmovbe r8, r13
mov rcx, rdi
call sym.strncmp
test eax, eax
jne 0x1400259c8
cmp dword [rsp + 0x50], 2
je 0x140025ee0
lea rcx, str.Usage:_.auth_ONOFF_n
call sym.ePutsUtf8.isra.0
mov r14d, 1
mov eax, dword [r15 + 0x28]
test eax, eax
je 0x14002596f
sub eax, 1
mov dword [r15 + 0x28], eax
je 0x140025e8f
movzx eax, byte [r15 + 0x12]
mov byte [r15 + 0x11], al
mov eax, r14d
add rsp, 0x638
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movsxd rax, dword [rsp + 0x50]
mov r12d, r15d
mov r15, qword [rsp + 0x688]
mov qword [rsp + 0x88], rax
mov qword [rsp + rax*8 + 0x120], 0
test eax, eax
jne 0x14002576c
xor r14d, r14d
jmp 0x140025978
mov r13, r9
jmp 0x1400258c3
mov r8d, 8
lea rdx, str.archive
mov rcx, rdi
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
test eax, eax
je 0x140026330
mov byte [rsp + 0x70], 0
cmp esi, 2
setg byte [rsp + 0x68]
cmp dword [rsp + 0x58], 0x64
sete al
test dword [rsp + 0x7c], 0x3ffffffe
setne dl
mov edi, eax
and dil, dl
je 0x1400260d0
movsxd r13, esi
test rbx, rbx
mov r8d, 0xa
mov rbp, rbx
lea rcx, [0x140150568]
lea rdx, str.databases
cmovne rcx, rbx
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
test eax, eax
je 0x1400265fd
cmp byte [rsp + 0x68], 0
jne 0x1400260ed
mov byte [rsp + 0x80], 0
mov byte [rsp + 0x68], dil
test rbx, rbx
mov r8d, 5
lea rcx, [0x140150568]
cmovne rcx, rbx
cmp r13, r8
lea rdx, str.dump
cmovbe r8, r13
call sym.strncmp
test eax, eax
jne 0x14002a270
mov r12d, dword [r15 + 0x7c]
mov r13d, dword [r15 + 0x68]
mov eax, r12d
and eax, 0xfffffca7
mov dword [r15 + 0x7c], eax
mov eax, dword [rsp + 0x50]
cmp eax, 1
je 0x14002a255
mov rdx, qword [rsp + 0x60]
sub eax, 2
lea rbp, [rsp + 0x128]
xor ebx, ebx
lea r14, [rdx + rax*8 + 0x10]
jmp 0x140025b0a
cmp byte [rsi + 1], 0x2d
lea rdi, [rsi + 2]
je 0x140025adb
lea rdi, [rsi + 1]
lea rdx, str.preserve_rowids
mov rcx, rdi
call sym.strcmp
test eax, eax
jne 0x140026460
mov eax, dword [r15 + 0x7c]
or eax, 8
mov dword [r15 + 0x7c], eax
add rbp, 8
cmp rbp, r14
je 0x140029ef1
mov rsi, qword [rbp]
cmp byte [rsi], 0x2d
je 0x140025acd
mov r8, rsi
mov rdx, rsi
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___
call sym.sqlite3_mprintf
mov r8, rax
test rbx, rbx
je 0x1400265f5
mov rdx, rbx
lea rcx, str._z_OR__z
call sym.sqlite3_mprintf
mov rbx, rax
jmp 0x140025afd
cmp r13, 0
mov edi, 1
lea rbp, [0x140150568]
cmovbe rdi, r13
lea rdx, str.backup
mov rcx, rbp
mov r8, rdi
call sym.strncmp
test eax, eax
jne 0x140025d57
mov r8, rbx
lea rdx, str.cannot_run_._s_in_safe_mode
mov rcx, r15
call sym.failIfSafeMode
mov eax, dword [rsp + 0x50]
cmp eax, 1
je 0x1400268e8
mov rdx, qword [rsp + 0x60]
sub eax, 2
xor r9d, r9d
xor ebx, ebx
mov qword [rsp + 0x50], r9
lea r14, [rsp + 0x128]
xor esi, esi
lea rbp, str._append
mov qword [rsp + 0x688], r15
lea rdi, [rdx + rax*8 + 0x10]
mov r15, rbx
jmp 0x140025bed
test r15, r15
je 0x140025be1
test rsi, rsi
jne 0x140025ec5
mov rsi, r15
mov r15, r13
add r14, 8
cmp rdi, r14
je 0x140025c3e
mov r13, qword [r14]
cmp byte [r13], 0x2d
jne 0x140025bd0
cmp byte [r13 + 1], 0x2d
mov rbx, r13
jne 0x140025c05
lea rbx, [r13 + 1]
mov rdx, rbp
mov rcx, rbx
call sym.strcmp
test eax, eax
je 0x140025dc0
lea rdx, str._async
mov rcx, rbx
call sym.strcmp
test eax, eax
jne 0x14002649f
add r14, 8
mov r12d, 1
cmp rdi, r14
jne 0x140025bed
mov rbx, r15
mov r9, qword [rsp + 0x50]
mov r15, qword [rsp + 0x688]
test rbx, rbx
je 0x1400268e8
test rsi, rsi
lea rax, [0x140150af4]
mov rcx, rbx
mov r8d, 6
lea rdx, [rsp + 0x2c0]
cmove rsi, rax
call sym.sqlite3_open_v2
mov rdx, rbx
lea rcx, str.Error:_cannot_open___s__n
mov r14d, eax
test eax, eax
jne 0x14002637c
test r12d, r12d
jne 0x1400263b9
xor edx, edx
mov rcx, r15
call sym.open_db
mov r8, qword [r15]
mov r9, rsi
mov rcx, qword [rsp + 0x2c0]
lea rdx, [0x140150af4]
call sym.sqlite3_backup_init
mov rsi, rax
test rax, rax
je 0x140026365
mov edx, 0x64
mov rcx, rsi
call sym.sqlite3_backup_step
test eax, eax
je 0x140025cc9
mov ebx, eax
mov rcx, rsi
call sym.sqlite3_backup_finish
cmp ebx, 0x65
jne 0x140025f24
mov rsi, qword [rsp + 0x2c0]
mov rcx, rsi
call sym.sqlite3_close
mov ebx, eax
test eax, eax
je 0x14002595a
mov rcx, rsi
call sym.sqlite3_errmsg
mov edx, ebx
lea rcx, str.Error:_sqlite3_close___returns__d:__s_n
mov r8, rax
call sym.ePrintfUtf8
jmp 0x14002595a
mov r8, rdi
lea rdx, str.binary
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140025d87
cmp dword [rsp + 0x50], 2
je 0x140025f60
lea rcx, str.The__.binary__command_is_deprecated._Use__.crnl__instead._nUsage:_.binary_onoff_n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
mov r8, rdi
lea rdx, str.bail
mov rcx, rbp
call sym.strncmp
test eax, eax
je 0x14002583c
mov r8, rdi
lea rdx, str.binary
mov rcx, rbp
call sym.strncmp
test eax, eax
je 0x140025d3b
mov r8d, 0xb
mov rcx, rbp
lea rdx, str.breakpoint
cmp r13, r8
cmovbe r8, r13
xor ebp, ebp
call sym.strncmp
test eax, eax
je 0x1400263e1
mov byte [rsp + 0x70], bpl
mov byte [rsp + 0x68], 1
jmp 0x1400259f9
lea rax, str.apndvfs
mov qword [rsp + 0x50], rax
jmp 0x140025be4
cmp dword [rsp + 0x58], 0x73
sete byte [rsp + 0x70]
movzx eax, byte [rsp + 0x70]
and bpl, al
jne 0x140025e50
cmp dword [rsp + 0x58], 0x63
mov rbx, qword [rsp + 0x120]
jne 0x1400259f9
test rbx, rbx
je 0x140025fad
cmp byte [rbx], 0x63
jne 0x140026483
cmp byte [rbx + 1], 0x64
jne 0x140026483
cmp byte [rbx + 2], 0
jne 0x140026483
lea rdx, str.cannot_run_.cd_in_safe_mode
mov rcx, r15
call sym.failIfSafeMode
cmp dword [rsp + 0x50], 2
je 0x1400266d0
lea rcx, str.Usage:_.cd_DIRECTORY_n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
movsxd r13, esi
mov rbx, qword [rsp + 0x120]
mov r8d, 5
lea rcx, [0x140150568]
lea rdx, str.save
test rbx, rbx
cmovne rcx, rbx
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
test eax, eax
jne 0x140025dad
jmp 0x140025b73
mov rcx, r15
call sym.output_reset
jmp 0x14002596f
mov rcx, r15
xor esi, esi
call sym.clearTempFile
mov dword [rsp + 0x7c], 0
mov rbx, qword [rsp + 0x120]
mov byte [rsp + 0x70], 0
mov byte [rsp + 0x68], 0
jmp 0x1400259f9
lea rcx, str.Usage:_.backup__DB___OPTIONS__FILENAME_n
call sym.ePutsUtf8.isra.0
mov r14d, 1
jmp 0x140025978
xor edx, edx
mov rcx, r15
call sym.open_db
mov rcx, qword [rsp + 0x128]
call sym.booleanValue
mov rcx, qword [r15]
test eax, eax
jne 0x140025f99
cmp byte [r15 + 0x12], 0
je 0x140026451
mov r8, r15
lea rdx, [sym.safeModeAuth]
call sym.sqlite3_set_authorizer
xor r14d, r14d
jmp 0x14002595a
mov rcx, qword [rsp + 0x2c0]
mov r14d, 1
call sym.sqlite3_errmsg
lea rcx, str.Error:__s_n
mov rdx, rax
call sym.ePrintfUtf8
jmp 0x140025ced
mov rcx, qword [rsp + 0x128]
call sym.booleanValue
mov dword [0x14018a1e0], eax
jmp 0x140025f1c
mov rcx, qword [rsp + 0x128]
call sym.booleanValue
mov rbx, qword [r15 + 0x40]
mov rcx, rbx
test eax, eax
je 0x1400265c4
call sym.fflush
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
mov edx, 0x8000
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__setmode]
jmp 0x140025f1c
mov r8, r15
lea rdx, [sym.shellAuth]
call sym.sqlite3_set_authorizer
jmp 0x140025f1c
movsxd r13, esi
cmp esi, 2
jg 0x140026a33
mov byte [rsp + 0x80], 0
lea rbp, [0x140150568]
mov r8d, 6
lea rdx, str.clone
mov rcx, rbp
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
test eax, eax
je 0x140026a08
mov r8d, 0xb
mov rcx, rbp
lea rdx, str.connection
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
mov ebp, eax
test eax, eax
jne 0x14002640a
cmp dword [rsp + 0x50], 1
je 0x140026bc0
cmp dword [rsp + 0x50], 2
je 0x14002a1b8
cmp dword [rsp + 0x50], 3
jne 0x1400265e4
mov rcx, qword [rsp + 0x128]
test rcx, rcx
je 0x1400265e4
lea rdx, str.close
call sym.strcmp
test eax, eax
jne 0x1400265e4
mov rcx, qword [rsp + 0x130]
movzx edx, byte [rcx]
mov eax, edx
sub edx, 0x30
cmp edx, 9
ja 0x1400265e4
cmp byte [rcx + 1], 0
jne 0x1400265e4
movsx eax, al
sub eax, 0x30
cmp eax, 4
jg 0x140025f1c
movsxd rbx, eax
imul rbx, rbx, 0x18
lea rax, [r15 + rbx + 0x250]
cmp qword [r15 + 0x2c8], rax
je 0x14002a1a0
add rbx, r15
mov rcx, qword [rbx + 0x250]
test rcx, rcx
je 0x140025f1c
call sym.close_db
xor r11d, r11d
mov qword [rbx + 0x250], r11
jmp 0x140025f1c
test al, al
je 0x140026c6b
cmp byte [rsp + 0x68], 0
je 0x140026c6b
mov byte [rsp + 0x68], dl
mov rbp, rbx
movsxd r13, esi
test rbx, rbx
je 0x14002672d
mov r8d, 9
lea rdx, str.dbconfig
mov rcx, rbx
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
test eax, eax
je 0x140026759
mov r8d, 7
lea rdx, str.dbinfo
mov rcx, rbp
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
test eax, eax
je 0x140026714
cmp dword [rsp + 0x58], 0x72
mov byte [rsp + 0x80], 1
jne 0x140025a64
test rbx, rbx
mov r8d, 8
lea rcx, [0x140150568]
cmovne rcx, rbx
cmp r13, r8
lea rdx, str.recover
cmovbe r8, r13
call sym.strncmp
test eax, eax
je 0x140026b9d
xor eax, eax
cmp esi, 4
setg byte [rsp + 0x84]
test al, al
je 0x1400261d5
cmp byte [rsp + 0x80], 0
je 0x1400261d5
movsxd r13, esi
test rbx, rbx
mov r8d, 5
lea rcx, [0x140150568]
cmovne rcx, rbx
cmp r13, r8
lea rdx, str.lint
cmovbe r8, r13
call sym.strncmp
mov byte [rsp + 0x80], 1
test eax, eax
je 0x140029e47
cmp dword [rsp + 0x58], 0x6c
je 0x14002aec8
cmp dword [rsp + 0x58], 0x6d
jne 0x14002ae8a
movsxd r13, esi
test rbx, rbx
mov r8d, 5
lea rcx, [0x140150568]
cmovne rcx, rbx
cmp r13, r8
lea rdx, str.mode
cmovbe r8, r13
call sym.strncmp
mov r14d, eax
test eax, eax
jne 0x14002bf07
cmp dword [rsp + 0x50], 1
je 0x14002acfd
mov dword [rsp + 0x58], 0x3c
xor edi, edi
xor esi, esi
xor r12d, r12d
mov byte [rsp + 0x60], 0
mov ebx, 1
mov dword [rsp + 0x68], eax
mov qword [rsp + 0x688], r15
jmp 0x140026274
test rsi, rsi
je 0x14002ad49
test rdi, rdi
jne 0x140029a01
mov rdi, r13
add ebx, 1
cmp dword [rsp + 0x50], ebx
jle 0x14002992f
movsxd rax, ebx
mov r13, qword [rsp + rax*8 + 0x120]
movzx eax, byte [r13]
mov byte [rsp + 0x70], al
cmp al, 0x2d
jne 0x140026252
movzx eax, byte [r13 + 1]
lea rbp, [r13 + 1]
mov byte [rsp + 0x7c], al
cmp al, 0x2d
je 0x14002ae3d
lea rdx, str.wrap
mov rcx, rbp
call sym.strcmp
test eax, eax
jne 0x14002ae13
lea r15d, [rbx + 1]
cmp dword [rsp + 0x50], r15d
jg 0x14002adf7
lea rdx, [0x140157448]
mov rcx, rbp
call sym.strcmp
test eax, eax
je 0x14002adbe
lea rdx, str.wordwrap
mov rcx, rbp
call sym.strcmp
test eax, eax
jne 0x140026309
mov eax, dword [rsp + 0x50]
cmp r15d, eax
jl 0x14002be84
cmp byte [rsp + 0x7c], 0x2d
je 0x14002be7b
lea rdx, [0x140157454]
mov rcx, rbp
call sym.strcmp
test eax, eax
jne 0x14002add6
mov byte [rsp + 0x60], 1
jmp 0x140026267
xor edx, edx
mov rcx, r15
call sym.open_db
lea rdx, str.cannot_run_.archive_in_safe_mode
mov rcx, r15
call sym.failIfSafeMode
mov r9d, dword [rsp + 0x50]
xor edx, edx
mov rcx, r15
mov r8, qword [rsp + 0x60]
call sym.arDotCommand
mov r14d, eax
jmp 0x14002595a
mov rcx, qword [rsp + 0x2c0]
call sym.sqlite3_errmsg
lea rcx, str.Error:__s_n
mov rdx, rax
call sym.ePrintfUtf8
mov rsi, qword [rsp + 0x2c0]
mov rcx, rsi
call sym.sqlite3_close
mov ebx, eax
test eax, eax
je 0x140025ed1
mov rcx, rsi
call sym.sqlite3_errmsg
mov edx, ebx
lea rcx, str.Error:_sqlite3_close___returns__d:__s_n
mov r8, rax
call sym.ePrintfUtf8
jmp 0x140025ed1
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.PRAGMA_synchronousOFF__PRAGMA_journal_modeOFF_
mov rcx, qword [rsp + 0x2c0]
call sym.sqlite3_exec
jmp 0x140025c99
mov eax, dword [0x14018a058]
lea edx, [rax + 1]
mov dword [0x14018a058], edx
cmp eax, 0xffffffff
jne 0x140025f1c
lea rcx, str.Many_.breakpoints_have_run
call sym.puts
jmp 0x140025f1c
cmp esi, 4
jne 0x1400264b3
test rbx, rbx
je 0x1400264b3
mov r8d, 4
lea rdx, str.crnl
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400264b3
cmp dword [rsp + 0x50], 2
je 0x1400265a8
lea rcx, str.Usage:_.crnl_onoff_n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
xor r8d, r8d
xor edx, edx
call sym.sqlite3_set_authorizer
jmp 0x140025f1c
lea rdx, str.newlines
mov rcx, rdi
call sym.strcmp
test eax, eax
jne 0x140026a8b
mov eax, dword [r15 + 0x7c]
or eax, 0x10
jmp 0x140025af9
movsxd r13, esi
cmp esi, 2
jg 0x1400268f9
mov byte [rsp + 0x80], 0
mov rbp, rbx
jmp 0x140025fc8
mov rdx, r13
lea rcx, str.unknown_option:__s_n
call sym.ePrintfUtf8
jmp 0x140025ed1
mov byte [rsp + 0x70], 0
test edi, 0x3ffffffe
setne byte [rsp + 0x68]
cmp dword [rsp + 0x58], 0x6c
sete al
cmp esi, 4
setg byte [rsp + 0x84]
movzx edx, byte [rsp + 0x84]
and dl, al
mov edi, edx
je 0x14002618d
movsxd r13, esi
test rbx, rbx
mov r8d, 7
lea rcx, [0x140150568]
lea rdx, str.limits
cmovne rcx, rbx
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
mov ebp, eax
test eax, eax
je 0x14002cea8
cmp byte [rsp + 0x80], 0
jne 0x14002ce94
mov byte [rsp + 0x84], dil
test rbx, rbx
mov r8d, 5
lea rdi, [0x140150568]
cmovne rdi, rbx
cmp r13, r8
lea rdx, str.load
cmovbe r8, r13
mov rcx, rdi
call sym.strncmp
test eax, eax
je 0x14002cdfa
mov r8d, 4
lea rdx, [0x1401573e8]
mov rcx, rdi
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
test eax, eax
jne 0x14002cddf
cmp dword [rsp + 0x50], 2
je 0x14002d0be
lea rcx, str.Usage:_.log_FILENAME_n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
mov rcx, qword [rsp + 0x128]
call sym.booleanValue
mov rbx, qword [r15 + 0x40]
mov rcx, rbx
test eax, eax
je 0x140025f7c
call sym.fflush
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
mov edx, 0x4000
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__setmode]
jmp 0x140025f1c
lea rcx, str.Usage:_.connection__close___CONNECTION_NUMBER__n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
mov rbx, rax
jmp 0x140025afd
xor edx, edx
mov rcx, r15
call sym.open_db
mov rcx, qword [r15]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x90]
mov r8d, 0xffffffff
lea rdx, str.PRAGMA_database_list
call sym.sqlite3_prepare_v2
mov r14d, eax
test eax, eax
jne 0x14002a5b8
xor esi, esi
xor edi, edi
xor ebx, ebx
mov rcx, qword [rsp + 0x90]
call sym.sqlite3_step
cmp eax, 0x64
jne 0x140026aae
mov rcx, qword [rsp + 0x90]
mov edx, 1
call sym.sqlite3_column_text
mov rcx, qword [rsp + 0x90]
mov edx, 2
mov r12, rax
call sym.sqlite3_column_text
mov rbp, rax
test r12, r12
je 0x14002663e
test rax, rax
je 0x14002663e
add esi, 1
mov rcx, rbx
mov edx, esi
shl edx, 4
call sym.sqlite3_realloc
mov rbx, rax
test rax, rax
je 0x14002814f
lea r13, [rax + rdi]
mov rcx, r12
lea r12, [rbx + rdi + 8]
add rdi, 0x10
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov rcx, rbp
mov qword [r13], rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov qword [r12], rax
jmp 0x14002663e
mov rcx, qword [rsp + 0x128]
call sym.sqlite3_win32_utf8_to_unicode
mov rbx, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, rbx
mov esi, eax
call sym.sqlite3_free
test esi, esi
jne 0x140025f1c
mov rdx, qword [rsp + 0x128]
lea rcx, str.Cannot_change_to_directory___s__n
call sym.ePrintfUtf8
jmp 0x140025954
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x50]
mov rcx, r15
call sym.shell_dbinfo_command
mov r14d, eax
jmp 0x14002595a
cmp r13, 0
mov r8d, 1
lea rbp, [0x140150568]
cmovbe r8, r13
lea rdx, str.dbconfig
mov rcx, rbp
call sym.strncmp
test eax, eax
jne 0x14002611a
xor edx, edx
mov rcx, r15
lea r14, str.defensive
xor ebx, ebx
call sym.open_db
lea rsi, [0x140150568]
lea rbp, [0x14015190c]
cmp dword [rsp + 0x50], 1
lea r13, [rsp + 0x2c0]
lea rdi, str._19s__s_n
lea r12, [0x140151913]
je 0x14002685e
mov rcx, qword [rsp + 0x128]
mov rdi, qword [r14]
test rcx, rcx
je 0x1400268d7
mov rdx, rsi
test rdi, rdi
je 0x1400267ba
mov rdx, rdi
call sym.strcmp
test eax, eax
jne 0x14002688e
cmp dword [rsp + 0x50], 2
je 0x1400268ce
mov rcx, qword [rsp + 0x130]
call sym.booleanValue
mov ebx, dword [r14 + 8]
mov rcx, qword [r15]
xor r9d, r9d
mov r8d, eax
mov edx, ebx
call sym.sqlite3_db_config
mov rcx, qword [r15]
lea r9, [rsp + 0x2c0]
mov r8d, 0xffffffff
mov edx, ebx
call sym.sqlite3_db_config
mov r10d, dword [rsp + 0x2c0]
test r10d, r10d
jne 0x140026b82
lea r8, [0x140151913]
mov rdx, rdi
lea rcx, str._19s__s_n
call sym.oPrintfUtf8
jmp 0x140025f1c
mov rdx, qword [r14]
mov r8, r12
mov rcx, rdi
add ebx, 1
add r14, 0x10
call sym.oPrintfUtf8
cmp ebx, 0x12
je 0x140025f1c
mov edx, dword [r14 + 8]
mov rcx, qword [r15]
mov r9, r13
mov r8d, 0xffffffff
call sym.sqlite3_db_config
mov r11d, dword [rsp + 0x2c0]
test r11d, r11d
je 0x140026840
mov rdx, qword [r14]
mov r8, rbp
mov rcx, rdi
call sym.oPrintfUtf8
add ebx, 1
add r14, 0x10
cmp ebx, 0x12
jne 0x14002677a
cmp dword [rsp + 0x50], 1
jle 0x140025f1c
mov rdx, qword [rsp + 0x128]
lea rcx, str.Error:_unknown_dbconfig___s__n
call sym.ePrintfUtf8
lea rcx, str.Enter__.dbconfig__with_no_arguments_for_a_list_n
call sym.ePutsUtf8.isra.0
jmp 0x140025f1c
mov ebx, dword [r14 + 8]
jmp 0x1400267f3
test rdi, rdi
je 0x1400267c7
mov rcx, rsi
jmp 0x1400267b7
lea rcx, str.missing_FILENAME_argument_on_.backup_n
call sym.ePutsUtf8.isra.0
jmp 0x140025ed1
mov r8d, 8
lea rdx, [0x140158e34]
mov rcx, rbx
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
test eax, eax
je 0x140026949
mov r8d, 6
lea rdx, str.check
mov rcx, rbx
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
test eax, eax
je 0x140026961
mov byte [rsp + 0x80], 1
mov rbp, rbx
jmp 0x140025fc8
cmp dword [rsp + 0x50], 2
je 0x140026991
lea rcx, str.Usage:_.changes_onoff_n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
mov rcx, r15
call sym.output_reset
cmp dword [rsp + 0x50], 2
je 0x1400269ac
lea rcx, str.Usage:_.check_GLOB_PATTERN_n
call sym.ePutsUtf8.isra.0
xor ebx, ebx
mov r14d, 2
mov rcx, rbx
call sym.sqlite3_free
jmp 0x14002595a
mov rcx, qword [rsp + 0x128]
call sym.booleanValue
test eax, eax
je 0x1400269fe
or dword [r15 + 0x7c], 0x20
jmp 0x140025f1c
xor edx, edx
lea rcx, str.testcase_out.txt
call sym.readFile
mov rbx, rax
test rax, rax
je 0x14002697c
mov rsi, qword [rsp + 0x128]
mov rdx, rax
mov rcx, rsi
call sym.testcase_glob
lea rdx, [r15 + 0xa0]
test eax, eax
jne 0x140029ea7
mov r9, rbx
mov r8, rsi
lea rcx, str.testcase__s_FAILED_n_Expected:___s__n______Got:___s__n
mov r14d, 1
call sym.ePrintfUtf8
jmp 0x140026984
and dword [r15 + 0x7c], 0xffffffdf
jmp 0x140025f1c
lea rdx, str.cannot_run_.clone_in_safe_mode
mov rcx, r15
call sym.failIfSafeMode
cmp dword [rsp + 0x50], 2
je 0x14002a240
lea rcx, str.Usage:_.clone_FILENAME_n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
cmp r13, 0
mov eax, 1
lea rbp, [0x140150568]
cmovbe rax, r13
lea rdx, [0x140158e34]
mov rcx, rbp
mov r8, rax
mov r14, rax
call sym.strncmp
test eax, eax
je 0x140026949
mov r8, r14
lea rdx, str.check
mov rcx, rbp
call sym.strncmp
test eax, eax
je 0x140026961
mov byte [rsp + 0x80], 1
jmp 0x140025fc8
lea rdx, str.data_only
mov rcx, rdi
call sym.strcmp
test eax, eax
jne 0x14002a5e9
mov eax, dword [r15 + 0x7c]
or ah, 1
jmp 0x140025af9
mov rcx, qword [rsp + 0x90]
call sym.sqlite3_finalize
test esi, esi
je 0x140026984
movsxd rsi, esi
mov r13, rbx
lea r12, [0x140150568]
shl rsi, 4
lea rbp, str._read_txn
add rsi, rbx
jmp 0x140026b26
cmp byte [r8], 0
lea rax, [0x140155fe3]
cmove r8, rax
mov rax, qword [r13]
mov qword [rsp + 0x20], rdx
lea rcx, str._s:__s__s_s_n
add r13, 0x10
mov rdx, rax
call sym.oPrintfUtf8
mov rcx, qword [r13 - 0x10]
call sym.free
mov rcx, qword [r13 - 8]
call sym.free
cmp r13, rsi
je 0x140026984
mov rdx, qword [r13]
mov rcx, qword [r15]
call sym.sqlite3_txn_state
mov rdx, qword [r13]
mov rcx, qword [r15]
mov edi, eax
call sym.sqlite3_db_readonly
mov r8, qword [r13 + 8]
mov rdx, r12
test edi, edi
je 0x140026b59
cmp edi, 1
lea rdx, str._write_txn
cmove rdx, rbp
test eax, eax
lea r9, [0x140155fdf]
lea rax, [0x140155fdb]
cmovne r9, rax
test r8, r8
jne 0x140026ae0
lea r8, [0x140155fe3]
jmp 0x140026aef
lea r8, [0x14015190c]
mov rdx, rdi
lea rcx, str._19s__s_n
call sym.oPrintfUtf8
jmp 0x140025f1c
xor edx, edx
mov rcx, r15
call sym.open_db
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x50]
mov rcx, r15
call sym.recoverDatabaseCmd
mov r14d, eax
jmp 0x14002595a
mov r13, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rsi, [r15 + 0x250]
lea r12, str.________d:__s_n
lea rdi, str._temporary_file_
jmp 0x140026c1e
test rbx, rbx
je 0x140026da1
cmp byte [rbx], 0
je 0x140026d90
cmp rax, rsi
je 0x140026c49
mov ecx, 1
call r13
mov r9, rbx
mov r8d, ebp
mov rdx, r12
mov rcx, rax
call sym.fPrintfUtf8
add ebp, 1
add rsi, 0x18
cmp ebp, 5
je 0x140025f1c
cmp qword [rsi], 0
mov rbx, qword [rsi + 8]
mov rax, qword [r15 + 0x2c8]
jne 0x140026bde
cmp rax, rsi
jne 0x140026c0e
test rbx, rbx
je 0x140026f07
cmp byte [rbx], 0
jne 0x140026c49
lea rbx, str._temporary_file_
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
mov r8d, ebp
lea rdx, str.ACTIVE__d:__s_n
mov rcx, rax
call sym.fPrintfUtf8
jmp 0x140026c0e
movzx edi, byte [rsp + 0x68]
cmp dword [rsp + 0x58], 0x72
mov byte [rsp + 0x68], dl
mov byte [rsp + 0x80], dil
je 0x14002c671
test al, al
jne 0x14002c669
cmp dword [rsp + 0x58], 0x65
je 0x14002a2d5
cmp dword [rsp + 0x58], 0x66
je 0x14002a670
cmp dword [rsp + 0x58], 0x68
je 0x14002c938
cmp dword [rsp + 0x58], 0x69
jne 0x1400264c3
movsxd r13, esi
test rbx, rbx
mov r8d, 7
lea rdi, [0x140150568]
lea rdx, str.import
cmovne rdi, rbx
cmp r13, r8
cmovbe r8, r13
mov rcx, rdi
call sym.strncmp
mov dword [rsp + 0x84], eax
test eax, eax
je 0x14002c679
mov r8d, 9
lea rbp, str.imposter
mov rcx, rdi
cmp r13, r8
mov rdx, rbp
cmovbe r8, r13
call sym.strncmp
mov edi, eax
test eax, eax
jne 0x140027136
test byte [r15 + 0x7d], 4
je 0x140027122
mov eax, dword [rsp + 0x50]
cmp eax, 3
je 0x140026dc7
cmp eax, 2
jne 0x140026db6
mov rcx, qword [rsp + 0x128]
lea rdx, [0x140151913]
call sym.sqlite3_stricmp
mov r14d, eax
test eax, eax
jne 0x140026db6
xor edx, edx
mov rcx, r15
call sym.open_db
mov dword [rsp + 0x20], 1
mov rdx, qword [r15]
xor r9d, r9d
lea r8, [0x140150af4]
mov ecx, 0x19
call sym.sqlite3_test_control
jmp 0x14002595a
cmp rax, rsi
je 0x140026c42
mov rbx, rdi
jmp 0x140026bf5
lea rbx, str._memory_
cmp rax, rsi
jne 0x140026bf5
jmp 0x140026c49
lea rcx, str.Usage:_.imposter_INDEX_IMPOSTER_n_______.imposter_off_n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
xor edx, edx
mov rcx, r15
lea rbx, [rsp + 0x100]
xor ebp, ebp
call sym.open_db
mov rdx, qword [rsp + 0x128]
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__
mov r8, rdx
call sym.sqlite3_mprintf
mov r9, rbx
or r8d, 0xffffffff
mov rsi, rax
xor eax, eax
mov qword [rsp + 0x20], rax
mov rcx, qword [r15]
mov rdx, rsi
call sym.sqlite3_prepare_v2
mov rcx, rsi
call sym.sqlite3_free
mov rcx, qword [rsp + 0x100]
call sym.sqlite3_step
cmp eax, 0x64
je 0x1400270f8
mov rcx, qword [rsp + 0x100]
lea r14, [0x14015601b]
lea r13, str._z___w_
call sym.sqlite3_finalize
mov rdx, qword [rsp + 0x128]
lea rcx, str.PRAGMA_index_xinfo_q
call sym.sqlite3_mprintf
mov r9, rbx
or r8d, 0xffffffff
xor ebx, ebx
mov r12, rax
xor eax, eax
mov qword [rsp + 0x20], rax
mov rcx, qword [r15]
mov rdx, r12
call sym.sqlite3_prepare_v2
mov rcx, r12
xor r12d, r12d
mov esi, eax
call sym.sqlite3_free
test esi, esi
jne 0x140027054
mov dword [rsp + 0x50], edi
mov rcx, qword [rsp + 0x100]
call sym.sqlite3_step
cmp eax, 0x64
jne 0x140026f71
mov rcx, qword [rsp + 0x100]
mov edx, 2
add esi, 1
call sym.sqlite3_column_text
mov rdi, rax
test rax, rax
je 0x140026f2f
test ebp, ebp
je 0x140026f13
test r12d, r12d
jne 0x140026f13
mov rcx, qword [rsp + 0x100]
mov edx, 5
call sym.sqlite3_column_int
test eax, eax
jne 0x140026f13
test rbx, rbx
je 0x140026f18
mov rcx, rbx
call sym.strlen
mov r12d, eax
mov rdx, rbx
mov r8, rdi
mov rcx, r13
call sym.sqlite3_mprintf
mov rbx, rax
jmp 0x140026e92
lea rbx, str._memory_
jmp 0x140026c49
test rbx, rbx
jne 0x140026ef4
mov rdx, rdi
lea rcx, [0x14015129e]
call sym.sqlite3_mprintf
mov rbx, rax
jmp 0x140026e92
mov rcx, qword [rsp + 0x100]
mov edx, 1
mov rdi, r14
call sym.sqlite3_column_int
add eax, 1
je 0x140026ec5
lea rdi, [rsp + 0x2c0]
mov r9d, esi
mov ecx, 0x14
lea r8, str.expr_d
mov rdx, rdi
call sym.sqlite3_snprintf
jmp 0x140026ec5
mov rcx, qword [rsp + 0x100]
mov edi, dword [rsp + 0x50]
call sym.sqlite3_finalize
test esi, esi
je 0x140027061
test edi, edi
je 0x140027061
test r12d, r12d
jne 0x140026f9d
mov r12d, 0x186a0
mov qword [rsp + 0x20], rbx
mov r9d, r12d
mov r8, rbx
lea rcx, str.CREATE_TABLE___w___s_PRIMARY_KEY__.s__WITHOUT_ROWID
mov rdx, qword [rsp + 0x130]
call sym.sqlite3_mprintf
mov rcx, rbx
mov rsi, rax
call sym.sqlite3_free
mov dword [rsp + 0x20], edi
mov rdx, qword [r15]
mov r9d, 1
lea r8, [0x140150af4]
mov ecx, 0x19
call sym.sqlite3_test_control
mov edx, eax
test eax, eax
jne 0x1400270e1
xor r14d, r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], r14
mov rcx, qword [r15]
call sym.sqlite3_exec
xor r9d, r9d
mov ecx, 0x19
lea r8, [0x140150af4]
mov r14d, eax
xor eax, eax
mov dword [rsp + 0x20], eax
mov rdx, qword [r15]
call sym.sqlite3_test_control
test r14d, r14d
je 0x140027082
mov rcx, qword [r15]
call sym.sqlite3_errmsg
mov rdx, rsi
lea rcx, str.Error_in___s_:__s_n
mov r8, rax
call sym.ePrintfUtf8
mov rcx, rsi
call sym.sqlite3_free
jmp 0x14002595a
mov rcx, qword [rsp + 0x100]
call sym.sqlite3_finalize
mov rdx, qword [rsp + 0x128]
lea rcx, str.no_such_index:___s__n
call sym.ePrintfUtf8
mov rcx, rbx
call sym.sqlite3_free
jmp 0x140025954
mov r13, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 1
lea rbx, [0x140156023]
call r13
mov r8, rsi
lea rdx, str._s__n
mov rcx, rax
call sym.fPrintfUtf8
test ebp, ebp
mov ecx, 1
lea rax, [0x1401557b4]
cmovne rbx, rax
mov rdi, qword [rsp + 0x128]
call r13
lea rdx, str.WARNING:_writing_to_an_imposter_table_will_corrupt_the___s___s__n
mov rcx, rax
mov r9, rbx
mov r8, rdi
call sym.fPrintfUtf8
jmp 0x140027047
lea rcx, str.SQLITE_TESTCTRL_IMPOSTER_returns__d_n
mov r14d, 1
call sym.ePrintfUtf8
jmp 0x140027047
mov rcx, qword [rsp + 0x100]
xor edx, edx
call sym.sqlite3_column_int
mov rcx, qword [rsp + 0x100]
mov edx, 1
mov edi, eax
call sym.sqlite3_column_int
mov ebp, eax
jmp 0x140026e2c
mov rdx, rbp
lea rcx, str.._s_unavailable_without___unsafe_testing_n
call sym.ePrintfUtf8
jmp 0x140025954
cmp esi, 4
setg byte [rsp + 0x84]
cmp dword [rsp + 0x58], 0x65
jne 0x14002bf07
cmp esi, 5
jne 0x14002bf07
test rbx, rbx
je 0x140029925
lea rdx, str.excel
mov rcx, rbx
call sym.strcmp
test eax, eax
jne 0x1400274e5
mov r8, rbx
mov rcx, r15
mov ebp, 2
mov esi, 0x78
lea rdx, str.cannot_run_._s_in_safe_mode
call sym.failIfSafeMode
mov eax, dword [rsp + 0x50]
cmp eax, 1
je 0x14002743c
xor ebx, ebx
mov dword [rsp + 0x68], ebp
mov r13d, 1
mov ebp, esi
mov qword [rsp + 0x70], rax
xor edi, edi
mov rsi, rbx
jmp 0x14002720d
test rsi, rsi
jne 0x14002749d
cmp ebp, 0x65
je 0x14002749d
cmp ebp, 0x78
je 0x140027279
mov rdx, r14
lea rcx, [0x1401509b2]
call sym.sqlite3_mprintf
mov rsi, rax
test rax, rax
je 0x1400271fb
cmp byte [rax], 0x7c
je 0x14002c7e0
mov rax, qword [rsp + 0x70]
add r13, 1
cmp r13, rax
je 0x1400272a8
mov rax, qword [rsp + 0x60]
mov r14, qword [rax + r13*8]
cmp byte [r14], 0x2d
jne 0x1400271c0
cmp byte [r14 + 1], 0x2d
mov rbx, r14
jne 0x14002722a
lea rbx, [r14 + 1]
lea rdx, str._bom
mov rcx, rbx
call sym.strcmp
test eax, eax
je 0x1400274a8
cmp dword [rsp + 0x58], 0x65
je 0x140027254
movzx eax, byte [rbx]
cmp eax, 0x2d
je 0x1400274b4
mov rdx, r14
lea rcx, str.ERROR:_unknown_option:___s_.__Usage:_n
call sym.oPrintfUtf8
mov rcx, qword [r15 + 0x40]
mov rdx, qword [rsp + 0x120]
call sym.showHelp
jmp 0x140025954
xor ebx, ebx
mov rdx, r14
lea rcx, str.ERROR:_extra_parameter:___s_.__Usage:_n
call sym.oPrintfUtf8
mov rcx, qword [r15 + 0x40]
mov rdx, qword [rsp + 0x120]
call sym.showHelp
mov rcx, rbx
call sym.sqlite3_free
jmp 0x140025954
mov rbx, rsi
mov esi, ebp
mov ebp, dword [rsp + 0x68]
test rbx, rbx
je 0x14002743e
xor eax, eax
test ebp, ebp
mov rcx, r15
setne al
add eax, eax
mov dword [r15 + 0x28], eax
call sym.output_reset
cmp esi, 0x65
je 0x14002739c
xor ebp, ebp
cmp esi, 0x78
je 0x14002739c
test rbx, rbx
je 0x14002814f
cmp byte [rbx], 0x7c
je 0x14002735e
mov edx, ebp
mov rcx, rbx
call sym.output_file_open
mov rdx, rax
test rax, rax
je 0x140027343
mov rcx, r15
call sym.output_redir
test rdi, rdi
je 0x140027318
mov rcx, rdi
call sym.oPutsUtf8.isra.0
lea rdx, [r15 + 0x138]
mov r9, rbx
mov ecx, 0x104
lea r8, [0x1401509b2]
call sym.sqlite3_snprintf
mov rcx, rbx
mov r14d, r12d
call sym.sqlite3_free
jmp 0x14002595a
lea rdx, [0x140151913]
mov rcx, rbx
call sym.strcmp
test eax, eax
jne 0x14002738b
mov r12d, 1
jmp 0x140027333
lea rsi, [rbx + 1]
lea rdx, [0x140150c43]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__popen]
mov rdx, rax
test rax, rax
jne 0x140027303
mov rdx, rsi
lea rcx, str.Error:_cannot_open_pipe___s__n
call sym.ePrintfUtf8
jmp 0x140027356
mov rdx, rbx
lea rcx, str.Error:_cannot_write_to___s__n
call sym.ePrintfUtf8
jmp 0x140027356
mov eax, dword [r15 + 0x54]
mov byte [r15 + 0xe], 1
lea r13, [r15 + 0xbe]
lea rbp, [r15 + 0xd2]
movdqu xmm2, xmmword [r15 + 0xbe]
movdqu xmm3, xmmword [r15 + 0xd2]
mov dword [r15 + 0x58], eax
mov eax, dword [r15 + 0x7c]
movups xmmword [r15 + 0xe6], xmm2
mov dword [r15 + 0x80], eax
mov eax, dword [r15 + 0xce]
movups xmmword [r15 + 0xfa], xmm3
mov dword [r15 + 0xf6], eax
mov eax, dword [r15 + 0xe2]
mov dword [r15 + 0x10a], eax
cmp esi, 0x78
je 0x140027452
lea rdx, [0x1401576ff]
mov rcx, r15
mov ebp, 1
call sym.newTempFile
mov rcx, rbx
call sym.sqlite3_free
mov rdx, qword [r15 + 0x98]
lea rcx, [0x1401509b2]
call sym.sqlite3_mprintf
mov rbx, rax
jmp 0x1400272e3
xor edi, edi
lea rcx, str.stdout
call sym.sqlite3_mprintf
mov rbx, rax
jmp 0x1400272ba
lea rdx, [0x140157533]
mov rcx, r15
call sym.newTempFile
and dword [r15 + 0x7c], 0xffffffbf
mov rdx, r13
mov ecx, 0x14
mov dword [r15 + 0x54], 8
lea r8, [0x140150eed]
call sym.sqlite3_snprintf
mov rdx, rbp
mov ecx, 0x14
xor ebp, ebp
lea r8, [0x140150ba1]
call sym.sqlite3_snprintf
jmp 0x140027419
mov rbx, rsi
jmp 0x14002727b
lea rdi, [0x14015602d]
jmp 0x1400271fb
cmp byte [rbx + 1], 0x78
je 0x140028ff6
cmp eax, 0x2d
jne 0x140027254
cmp byte [rbx + 1], 0x65
jne 0x140027254
cmp byte [rbx + 2], 0
jne 0x140027254
mov ebp, 0x65
jmp 0x1400271fb
mov esi, 5
cmp esi, 0xb
jne 0x1400274fa
cmp byte [rsp + 0x70], 0
jne 0x140028ca9
cmp dword [rsp + 0x58], 0x74
sete bpl
cmp esi, 9
sete dil
and dil, bpl
je 0x140028cde
mov r12, rbx
test rbx, rbx
je 0x140028555
mov r8d, 9
lea rdx, str.treetrace
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140027572
or eax, 0xffffffff
cmp dword [rsp + 0x50], 1
je 0x14002754f
mov rcx, qword [rsp + 0x128]
call sym.integerValue
lea r8, [rsp + 0x2c0]
mov edx, 1
mov ecx, 0x1f
mov dword [rsp + 0x2c0], eax
call sym.sqlite3_test_control
jmp 0x140025f1c
test dword [rsp + 0x7c], 0x3ffffffc
setne bpl
and bpl, byte [rsp + 0x70]
jne 0x14002875c
cmp byte [rsp + 0x68], 0
je 0x140028263
mov rcx, rbx
test rbx, rbx
je 0x140027f5d
mov esi, 9
mov r13d, 9
mov r8d, 7
lea rdx, str.tables
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
test eax, eax
jne 0x140027967
xor edx, edx
pxor xmm0, xmm0
mov rcx, r15
movups xmmword [rsp + 0x100], xmm0
lea rdi, [rsp + 0xb8]
call sym.open_db
xor eax, eax
or r8d, 0xffffffff
mov r9, rdi
mov qword [rsp + 0x20], rax
mov rcx, qword [r15]
lea rdx, str.PRAGMA_database_list
call sym.sqlite3_prepare_v2
test eax, eax
jne 0x14002794a
cmp dword [rsp + 0x50], 2
lea rbx, [rsp + 0x100]
jle 0x140027629
cmp dword [rsp + 0x58], 0x69
je 0x140028832
lea r13, str._UNION_ALL
lea r12, [0x140150af4]
lea rbp, [0x14015580e]
mov rcx, qword [rsp + 0xb8]
call sym.sqlite3_step
cmp eax, 0x64
jne 0x1400276ee
mov rcx, qword [rsp + 0xb8]
mov edx, 1
call sym.sqlite3_column_text
mov rsi, rax
test rax, rax
je 0x14002763e
mov rax, qword [rsp + 0x100]
test rax, rax
je 0x140027684
cmp byte [rax], 0
jne 0x140027717
mov rdx, r12
mov rcx, rsi
call sym.sqlite3_stricmp
xor r8d, r8d
test eax, eax
jne 0x140027a5f
lea rdx, str.SELECT_name_FROM
mov rcx, rbx
call sym.appendText
mov r8d, 0x22
mov rdx, rsi
mov rcx, rbx
call sym.appendText
xor r8d, r8d
lea rdx, str..sqlite_schema
mov rcx, rbx
call sym.appendText
xor r8d, r8d
cmp dword [rsp + 0x58], 0x74
je 0x140027a4b
lea rdx, str._WHERE_typeindex___AND_tbl_name_LIKE__1
mov rcx, rbx
call sym.appendText
jmp 0x14002763e
mov rcx, qword [rsp + 0xb8]
call sym.sqlite3_finalize
test eax, eax
je 0x14002772a
mov rcx, rbx
call sym.freeText
mov rcx, qword [r15]
call sym.shellDatabaseError
mov r14d, eax
jmp 0x140025978
xor r8d, r8d
mov rdx, r13
mov rcx, rbx
call sym.appendText
jmp 0x140027684
xor r8d, r8d
lea rdx, str._ORDER_BY_1
mov rcx, rbx
call sym.appendText
xor eax, eax
or r8d, 0xffffffff
mov r9, rdi
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x100]
mov rcx, qword [r15]
call sym.sqlite3_prepare_v2
mov rcx, rbx
mov esi, eax
call sym.freeText
test esi, esi
jne 0x140027707
cmp dword [rsp + 0x50], 1
mov rcx, qword [rsp + 0xb8]
je 0x1400278fc
mov qword [rsp + 0x20], 0xffffffffffffffff
or r9d, 0xffffffff
mov edx, 1
mov r8, qword [rsp + 0x128]
call sym.sqlite3_bind_text
xor ebp, ebp
xor edi, edi
lea r12, [0x1401509b2]
xor ebx, ebx
jmp 0x1400277fb
cmp ebp, edi
jg 0x1400277cc
lea ebp, [rbp + rbp + 0xa]
mov rcx, rbx
movsxd rdx, ebp
shl rdx, 3
call sym.sqlite3_realloc64
mov rbx, rax
test rax, rax
je 0x14002814f
mov rcx, qword [rsp + 0xb8]
xor edx, edx
lea r13, [rbx + rdi*8]
add rdi, 1
call sym.sqlite3_column_text
mov rcx, r12
mov rdx, rax
call sym.sqlite3_mprintf
mov qword [r13], rax
test rax, rax
je 0x14002814f
mov rcx, qword [rsp + 0xb8]
call sym.sqlite3_step
cmp eax, 0x64
je 0x1400277a9
mov rcx, qword [rsp + 0xb8]
call sym.sqlite3_finalize
mov r14d, eax
test eax, eax
jne 0x14002793a
mov ebp, edi
test r14d, r14d
jne 0x140027920
test edi, edi
jle 0x140027920
xor edx, edx
mov rcx, qword [rbx + rdx*8]
mov rax, rcx
jmp 0x140027847
add rax, 1
cmp byte [rax], 0
jne 0x140027843
sub rax, rcx
and eax, 0x3fffffff
cmp esi, eax
cmovl esi, eax
add rdx, 1
cmp ebp, edx
jg 0x14002783a
lea edi, [rsi + 2]
mov eax, 0x50
xor edx, edx
idiv edi
mov ecx, eax
test eax, eax
jne 0x140027878
mov ecx, 1
lea eax, [rbp + rcx - 1]
xor r13d, r13d
lea r12, [0x140150568]
cdq
idiv ecx
cdqe
mov qword [rsp + 0x50], rax
mov rdi, rax
mov eax, esi
mov rsi, rbx
mov rbx, r13
mov r13d, eax
cmp edi, ebx
jle 0x14002791d
mov r8d, r13d
mov r13, rbx
jmp 0x1400278e0
mov r9, qword [rsi + rbx*8]
cmp edi, ebx
lea rdx, [0x140153477]
lea rcx, str._s__s
cmovg rdx, r12
mov dword [rsp + 0x58], r8d
test r9, r9
cmove r9, r12
call sym.oPrintfUtf8
mov rax, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x58]
add rbx, rax
cmp ebx, ebp
jl 0x1400278aa
mov rbx, r13
lea rcx, [0x1401518ff]
mov r13d, r8d
call sym.oPutsUtf8.isra.0
add rbx, 1
jmp 0x14002789e
xor eax, eax
or r9d, 0xffffffff
mov edx, 1
mov qword [rsp + 0x20], rax
lea r8, [0x140158abf]
call sym.sqlite3_bind_text
jmp 0x14002779a
mov rbx, rsi
xor esi, esi
jmp 0x140027931
mov rcx, qword [rbx + rsi*8]
add rsi, 1
call sym.sqlite3_free
cmp ebp, esi
jg 0x140027924
jmp 0x140026984
mov rcx, qword [r15]
call sym.shellDatabaseError
mov r14d, eax
jmp 0x140027825
mov rcx, qword [rsp + 0xb8]
call sym.sqlite3_finalize
mov rcx, qword [r15]
call sym.shellDatabaseError
mov r14d, eax
jmp 0x140025978
mov ebp, 1
cmp dword [rsp + 0x58], 0x69
je 0x140027f72
cmp dword [rsp + 0x58], 0x74
je 0x14002826a
test dword [rsp + 0x7c], 0x3ffffff8
je 0x140027ced
test bpl, bpl
je 0x140027cf6
test rbx, rbx
lea rcx, [0x140150568]
movsxd r13, esi
cmovne rcx, rbx
mov r8d, 9
lea rdx, str.testctrl
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
mov r14d, eax
test eax, eax
je 0x140027b7f
cmp byte [rsp + 0x84], 0
je 0x140027cf6
movsxd r13, esi
mov rbp, rbx
test rbx, rbx
je 0x140027b24
mov r8d, 8
lea rdx, [0x140158df4]
mov rcx, rbx
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
test eax, eax
je 0x140027b50
mov r8d, 6
lea rdx, str.timer
mov rcx, rbp
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
test eax, eax
jne 0x140027cf6
cmp dword [rsp + 0x50], 2
je 0x140027a92
lea rcx, str.Usage:_.timer_onoff_n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
lea rdx, str._WHERE_type_IN__table_view____AND_name_NOT_LIKE_sqlite_____AND_name_LIKE__1
mov rcx, rbx
call sym.appendText
jmp 0x14002763e
mov rdx, rbp
mov rcx, rbx
call sym.appendText
mov rdx, rsi
mov rcx, rbx
mov r8d, 0x27
call sym.appendText
xor r8d, r8d
lea rdx, str..name_FROM
mov rcx, rbx
call sym.appendText
jmp 0x1400276a9
mov rcx, qword [rsp + 0x128]
call sym.booleanValue
mov dword [0x14018a210], eax
test eax, eax
je 0x140025f1c
cmp qword [0x14018a1e8], 0
jne 0x140025f1c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x14018a208], rax
test rax, rax
je 0x140027b0b
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x140027b0b
lea rdx, str.GetProcessTimes
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14018a1e8], rax
test rax, rax
jne 0x140025f1c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rcx, str.Error:_timer_not_available_on_this_system._n
xor ebp, ebp
call sym.ePutsUtf8.isra.0
mov dword [0x14018a210], ebp
jmp 0x140025f1c
cmp r13, 0
mov r8d, 1
lea rbp, [0x140150568]
cmovbe r8, r13
lea rdx, [0x140158df4]
mov rcx, rbp
call sym.strncmp
test eax, eax
jne 0x140027a0f
xor edx, edx
mov rcx, r15
call sym.open_db
xor edx, edx
cmp dword [rsp + 0x50], 1
je 0x140027b72
mov rcx, qword [rsp + 0x128]
call sym.integerValue
mov edx, eax
mov rcx, qword [r15]
call sym.sqlite3_busy_timeout
jmp 0x140025f1c
xor eax, eax
xor edx, edx
mov rcx, r15
mov dword [rsp + 0x100], eax
call sym.open_db
cmp dword [rsp + 0x50], 1
je 0x140027c7b
mov r13, qword [rsp + 0x128]
cmp byte [r13], 0x2d
mov rax, r13
jne 0x140027bc5
movzx edx, byte [r13 + 1]
test dl, dl
je 0x140027bc5
add r13, 1
cmp dl, 0x2d
je 0x140027cc6
lea rdx, str.help
mov rcx, r13
call sym.strcmp
mov edx, eax
mov rax, r13
test edx, edx
jne 0x140027be6
jmp 0x140027c7b
add rax, 1
cmp byte [rax], 0
jne 0x140027be2
sub rax, r13
lea rdi, [0x140159e60]
xor ebp, ebp
or ebx, 0xffffffff
and eax, 0x3fffffff
mov r12, rdi
or esi, 0xffffffff
mov qword [rsp + 0x58], rax
cmp dword [r12 + 0xc], 0
je 0x140027c19
test byte [r15 + 0x7d], 4
je 0x140027c4b
mov rdx, qword [r12]
lea rax, [0x140150568]
mov r8, qword [rsp + 0x58]
mov rcx, r13
test rdx, rdx
cmove rdx, rax
call sym.strncmp
test eax, eax
jne 0x140027c4b
test esi, esi
jns 0x140027cd9
mov esi, dword [r12 + 8]
mov ebx, ebp
add ebp, 1
add r12, 0x18
cmp ebp, 0x13
jne 0x140027c0a
test esi, esi
js 0x1400283f1
lea eax, [rsi - 5]
cmp eax, 0x1d
ja case.0x140027c79.8
lea rdx, [0x140158e3c]
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
lea rcx, str.Available_test_controls:_n
lea rbx, [0x140159e60]
call sym.oPutsUtf8.isra.0
lea rdi, [rbx + 0x1c8]
lea rsi, str.__.testctrl__s__s_n
cmp dword [rbx + 0xc], 0
je 0x140027ca9
test byte [r15 + 0x7d], 4
je 0x140027cb8
mov r8, qword [rbx + 0x10]
mov rdx, qword [rbx]
mov rcx, rsi
call sym.oPrintfUtf8
add rbx, 0x18
cmp rdi, rbx
jne 0x140027c9c
jmp 0x140025954
cmp byte [rax + 2], 0
je 0x140027bc5
lea r13, [rax + 2]
jmp 0x140027bc5
mov rdx, r13
lea rcx, str.Error:_ambiguous_test_control:___s__nUse__.testctrl___help__for_help_n
call sym.ePrintfUtf8
jmp 0x140025954
test bpl, bpl
jne 0x1400279ce
cmp dword [rsp + 0x58], 0x74
je 0x140028154
cmp dword [rsp + 0x58], 0x76
jne 0x14002803b
movsxd rsi, esi
test rbx, rbx
mov eax, 8
lea rdi, [0x140150568]
lea rdx, [0x140158cb1]
cmovne rdi, rbx
cmp rsi, rax
cmova rsi, rax
mov rcx, rdi
mov r8, rsi
call sym.strncmp
test eax, eax
je 0x140027ff0
mov r8, rsi
lea rdx, str.vfsinfo
mov rcx, rdi
call sym.strncmp
test eax, eax
jne 0x140027e06
cmp dword [rsp + 0x50], 2
lea rdx, [0x140150af4]
jne 0x140027d73
mov rdx, qword [rsp + 0x128]
mov rcx, qword [r15]
xor edi, edi
mov qword [rsp + 0x2c0], rdi
test rcx, rcx
je 0x140025f1c
lea r9, [rsp + 0x2c0]
mov r8d, 0x1b
call sym.sqlite3_file_control
mov rax, qword [rsp + 0x2c0]
test rax, rax
je 0x140025f1c
mov rdx, qword [rax + 0x18]
lea rcx, str.vfs.zName_________s__n
call sym.oPrintfUtf8
mov rax, qword [rsp + 0x2c0]
lea rcx, str.vfs.iVersion_____d_n
mov edx, dword [rax]
call sym.oPrintfUtf8
mov rax, qword [rsp + 0x2c0]
lea rcx, str.vfs.szOsFile_____d_n
mov edx, dword [rax + 4]
call sym.oPrintfUtf8
mov rax, qword [rsp + 0x2c0]
lea rcx, str.vfs.mxPathname___d_n
mov edx, dword [rax + 8]
call sym.oPrintfUtf8
jmp 0x140025f1c
mov r8, rsi
lea rdx, str.vfslist
mov rcx, rdi
call sym.strncmp
test eax, eax
jne 0x140027ed5
mov rcx, qword [r15]
xor esi, esi
mov qword [rsp + 0x2c0], rsi
test rcx, rcx
je 0x140027e4c
lea r9, [rsp + 0x2c0]
mov r8d, 0x1b
lea rdx, [0x140150af4]
call sym.sqlite3_file_control
xor ecx, ecx
lea rbp, str._______CURRENT
lea rdi, [0x140150568]
call sym.sqlite3_vfs_find
lea rsi, str.vfs.zName_________s__s_n
mov rbx, rax
jmp 0x140027ecb
cmp qword [rsp + 0x2c0], rbx
mov r8, rdi
mov rdx, qword [rbx + 0x18]
mov rcx, rsi
cmove r8, rbp
call sym.oPrintfUtf8
mov edx, dword [rbx]
lea rcx, str.vfs.iVersion_____d_n
call sym.oPrintfUtf8
mov edx, dword [rbx + 4]
lea rcx, str.vfs.szOsFile_____d_n
call sym.oPrintfUtf8
mov edx, dword [rbx + 8]
lea rcx, str.vfs.mxPathname___d_n
call sym.oPrintfUtf8
cmp qword [rbx + 0x10], 0
je 0x140027ec7
lea rcx, str.____________________________________n
call sym.oPutsUtf8.isra.0
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140027e6d
jmp 0x140025f1c
mov r8, rsi
lea rdx, str.vfsname
mov rcx, rdi
call sym.strncmp
test eax, eax
jne 0x140027fdc
cmp dword [rsp + 0x50], 2
lea rdx, [0x140150af4]
jne 0x140027f05
mov rdx, qword [rsp + 0x128]
mov rcx, qword [r15]
xor ebx, ebx
mov qword [rsp + 0x2c0], rbx
test rcx, rcx
je 0x140025f1c
lea r9, [rsp + 0x2c0]
mov r8d, 0xc
call sym.sqlite3_file_control
mov rdx, qword [rsp + 0x2c0]
test rdx, rdx
je 0x140025f1c
lea rcx, [0x140151227]
call sym.oPrintfUtf8
mov rcx, qword [rsp + 0x2c0]
call sym.sqlite3_free
jmp 0x140025f1c
cmp dword [rsp + 0x58], 0x69
movzx ebp, byte [rsp + 0x68]
mov esi, 9
jne 0x140028587
test rbx, rbx
lea rax, [0x140150568]
movsxd r13, esi
cmovne rax, rbx
lea rdx, str.indices
mov r12, rax
mov eax, 8
cmp r13, rax
mov rcx, r12
cmovbe rax, r13
mov r8, rax
mov rdi, rax
call sym.strncmp
test eax, eax
je 0x1400275cc
mov r8, rdi
lea rdx, str.indexes
mov rcx, r12
call sym.strncmp
test eax, eax
je 0x1400275cc
cmp byte [rsp + 0x84], 0
je 0x140027fdc
test bpl, bpl
jne 0x1400279df
mov rdx, rbx
lea rcx, str.Error:_unknown_command_or_invalid_arguments:____s_._Enter__.help__for_help_n
call sym.ePrintfUtf8
jmp 0x140025954
call sym.sqlite3_sourceid
mov rbx, rax
call sym.sqlite3_libversion
mov r8, rbx
lea rcx, str.SQLite__s__s_n
mov rdx, rax
call sym.oPrintfUtf8
call sym.zlibVersion
lea rcx, str.zlib_version__s_n
mov rdx, rax
call sym.oPrintfUtf8
lea rdx, str.64_bit
lea rcx, str.gcc_12.1.0___s__n
call sym.oPrintfUtf8
jmp 0x140025f1c
cmp dword [rsp + 0x58], 0x77
jne 0x140027fdc
movsxd rsi, esi
test rbx, rbx
mov r8d, 0xb
lea rdi, [0x140150568]
lea rdx, str.wheretrace
cmovne rdi, rbx
cmp rsi, r8
cmovbe r8, rsi
mov rcx, rdi
call sym.strncmp
test eax, eax
jne 0x1400280ad
or eax, 0xffffffff
cmp dword [rsp + 0x50], 1
je 0x14002808a
mov rcx, qword [rsp + 0x128]
call sym.integerValue
lea r8, [rsp + 0x2c0]
mov edx, 3
mov ecx, 0x1f
mov dword [rsp + 0x2c0], eax
call sym.sqlite3_test_control
jmp 0x140025f1c
mov r8d, 6
lea rdx, str.width
mov rcx, rdi
cmp rsi, r8
cmovbe r8, rsi
call sym.strncmp
test eax, eax
jne 0x140027fdc
mov eax, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [r15 + 0x110]
sub eax, 1
shl rdx, 3
mov dword [r15 + 0x120], eax
call sym.realloc
mov qword [r15 + 0x110], rax
test rax, rax
je 0x140028145
movsxd rdx, dword [r15 + 0x120]
test edx, edx
je 0x140028119
lea rax, [rax + rdx*4]
mov qword [r15 + 0x118], rax
mov rsi, qword [rsp + 0x60]
xor ebx, ebx
jmp 0x140028136
mov rcx, qword [rsi + rbx*8]
call sym.integerValue
mov rdx, qword [r15 + 0x110]
mov dword [rdx + rbx*4 - 4], eax
add rbx, 1
cmp dword [rsp + 0x50], ebx
jg 0x140028122
jmp 0x140025f1c
cmp dword [r15 + 0x120], 0
jle 0x140028103
call sym.shell_out_of_memory
mov eax, 6
movsxd r8, esi
test rbx, rbx
lea rcx, [0x140150568]
lea rdx, str.trace
cmovne rcx, rbx
cmp r8, rax
cmova r8, rax
call sym.strncmp
mov r13d, eax
test eax, eax
jne 0x140027fdc
xor edx, edx
mov rcx, r15
mov esi, 1
call sym.open_db
lea r12, str.expanded
lea rbp, str.plain
lea rdi, str.profile
jmp 0x1400281c6
mov rdx, r12
mov rcx, rbx
call sym.optionMatch.part.0
test eax, eax
je 0x1400281f3
mov byte [r15 + 0x10], 1
add rsi, 1
cmp dword [rsp + 0x50], esi
jle 0x140028209
mov rax, qword [rsp + 0x60]
mov rbx, qword [rax + rsi*8]
cmp byte [rbx], 0x2d
je 0x1400281ae
mov rcx, qword [r15 + 0x48]
call sym.output_file_close
xor edx, edx
mov rcx, rbx
call sym.output_file_open
mov qword [r15 + 0x48], rax
jmp 0x1400281c2
mov rdx, rbp
mov rcx, rbx
call sym.optionMatch.part.0
test eax, eax
je 0x140028247
mov byte [r15 + 0x10], 0
jmp 0x1400281c2
cmp qword [r15 + 0x48], 0
mov rcx, qword [r15]
je 0x140028235
test r13d, r13d
jne 0x14002821e
mov r13d, 1
mov r9, r15
lea r8, [sym.sql_trace_callback]
mov edx, r13d
call sym.sqlite3_trace_v2
jmp 0x140025f1c
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call sym.sqlite3_trace_v2
jmp 0x140025f1c
mov rdx, rdi
mov rcx, rbx
call sym.optionMatch.part.0
test eax, eax
je 0x1400284b9
or r13d, 2
jmp 0x1400281c2
mov ebp, edi
mov esi, 9
test rbx, rbx
je 0x140028587
lea rdx, str.testcase
mov rcx, rbx
call sym.strcmp
test eax, eax
je 0x140028506
test dword [rsp + 0x7c], 0x3ffffff8
je 0x140027ced
test bpl, bpl
je 0x140027cf6
movsxd r13, esi
mov rcx, rbx
jmp 0x1400279aa
mov eax, dword [rsp + 0x50]
sub eax, 3
cmp eax, 1
jbe 0x1400282e7
cmp ebx, 0xffffffff
je 0x14002595a
movsxd rax, ebx
mov rdx, r13
lea rcx, str.Usage:_.testctrl__s__s_n
mov r14d, 1
imul rax, rax, 0x18
mov r8, qword [rdi + rax + 0x10]
call sym.oPrintfUtf8
jmp 0x14002595a
mov rcx, qword [rsp + 0x130]
call sym.integerValue
mov dword [rsp + 0x2c0], eax
test eax, eax
jne 0x140028352
mov rcx, qword [rsp + 0x130]
test rcx, rcx
je 0x140028352
lea rdx, [0x140158bc1]
call sym.strcmp
test eax, eax
jne 0x140028352
lea rdx, [rsp + 0x2c0]
mov ecx, 4
call sym.sqlite3_randomness
mov ebx, dword [rsp + 0x2c0]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.___random_seed:__d_n
mov rcx, rax
mov r8d, ebx
call sym.fPrintfUtf8
xor ebx, ebx
cmp dword [rsp + 0x50], 3
je 0x14002838e
xor r13d, r13d
mov rbx, qword [r15]
xor r9d, r9d
lea r8, [0x1401581f3]
mov qword [rsp + 0x40], r13
xor edx, edx
mov qword [rsp + 0x38], r13
mov rcx, rbx
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call sym.sqlite3_table_column_metadata
mov edx, dword [rsp + 0x2c0]
mov r8, rbx
mov ecx, 0x1c
call sym.sqlite3_test_control
jmp 0x14002595a
cmp dword [rsp + 0x50], 5
jne case.0x140027c79.8
mov rcx, qword [rsp + 0x140]
call sym.integerValue
mov rcx, qword [rsp + 0x138]
mov rbx, rax
call sym.integerValue
mov qword [rsp + 0x20], rbx
mov rdx, qword [r15]
mov ecx, 0x19
mov r8, qword [rsp + 0x130]
mov r9, rax
call sym.sqlite3_test_control
jmp 0x14002595a
mov rdx, r13
lea rcx, str.Error:_unknown_test_control:__s_nUse__.testctrl___help__for_help_n
call sym.ePrintfUtf8
cmp ebx, 0xffffffff
je 0x14002595a
jmp 0x1400282c1
or edx, 0xffffffff
cmp dword [rsp + 0x50], 3
je 0x140028481
mov ecx, 0x22
call sym.sqlite3_test_control
mov dword [rsp + 0x100], eax
mov edx, dword [rsp + 0x100]
lea rcx, [0x140156ac1]
call sym.oPrintfUtf8
jmp 0x14002595a
mov rdx, qword [r15]
xor r12d, r12d
mov ecx, 0x1e
lea r8, [rsp + 0x2c0]
mov qword [rsp + 0x2c0], r12
call sym.sqlite3_test_control
mov rdx, qword [rsp + 0x2c0]
lea rcx, str._llu_n
mov dword [rsp + 0x100], eax
call sym.oPrintfUtf8
jmp 0x14002595a
mov rbx, qword [rsp + 0x130]
test rbx, rbx
je 0x1400284aa
lea rdx, [0x140158bdc]
mov rcx, rbx
call sym.strcmp
mov edx, 2
test eax, eax
je 0x140028418
mov rcx, rbx
call sym.booleanValue
mov edx, eax
jmp 0x140028418
lea rdx, [0x140158c87]
mov rcx, rbx
call sym.optionMatch.part.0
test eax, eax
je 0x1400285fa
or r13d, 4
jmp 0x1400281c2
cmp dword [rsp + 0x50], 3
jne case.0x140027c79.8
mov rcx, qword [rsp + 0x130]
call sym.integerValue
mov rdx, qword [r15]
mov ecx, 0x18
mov r8d, eax
call sym.sqlite3_test_control
jmp 0x14002595a
mov rcx, r15
call sym.output_reset
xor edx, edx
lea rcx, str.testcase_out.txt
call sym.output_file_open
mov qword [r15 + 0x40], rax
test rax, rax
je 0x1400285c3
cmp dword [rsp + 0x50], 1
lea rdx, [r15 + 0xa0]
je 0x1400285ad
mov r9, qword [rsp + 0x128]
lea r8, [0x1401509b2]
mov ecx, 0x1e
call sym.sqlite3_snprintf
jmp 0x140025f1c
test dword [rsp + 0x7c], 0x3ffffffc
setne bpl
and bpl, byte [rsp + 0x70]
je 0x140027589
cmp byte [rsp + 0x68], 0
mov esi, 9
jne 0x140028d44
cmp dword [rsp + 0x58], 0x69
je 0x140027f72
test dword [rsp + 0x7c], 0x3ffffff8
je 0x140027ced
test bpl, bpl
je 0x140027cf6
movsxd r13, esi
lea rcx, [0x140150568]
jmp 0x1400279aa
lea r8, [0x140158aff]
mov ecx, 0x1e
call sym.sqlite3_snprintf
jmp 0x140025f1c
lea rcx, str.Error:_cannot_open_testcase_out.txt_n
call sym.ePutsUtf8.isra.0
jmp 0x140028529
cmp dword [rsp + 0x50], 3
jne case.0x140027c79.8
mov rcx, qword [rsp + 0x130]
call sym.booleanValue
mov ecx, esi
mov edx, eax
call sym.sqlite3_test_control
jmp 0x14002595a
lea rdx, str.stmt
mov rcx, rbx
call sym.optionMatch.part.0
test eax, eax
je 0x140028701
or r13d, 1
jmp 0x1400281c2
mov rdx, qword [r15]
mov ecx, 0x11
call sym.sqlite3_test_control
jmp 0x14002595a
cmp dword [rsp + 0x50], 3
jne case.0x140027c79.8
mov rcx, qword [rsp + 0x130]
xor r8d, r8d
xor edx, edx
call sym.strtol
mov rdx, qword [r15]
mov ecx, esi
mov r8d, eax
call sym.sqlite3_test_control
jmp 0x14002595a
cmp dword [rsp + 0x50], 2
jne case.0x140027c79.8
mov ecx, esi
call sym.sqlite3_test_control
mov dword [rsp + 0x100], eax
cmp esi, 0x16
jne 0x14002595a
jmp 0x140028429
cmp dword [rsp + 0x50], 3
jne case.0x140027c79.8
mov rcx, qword [rsp + 0x130]
call sym.booleanValue
mov ecx, esi
mov edx, eax
call sym.sqlite3_test_control
mov dword [rsp + 0x100], eax
jmp 0x140028429
cmp dword [rsp + 0x50], 3
jne case.0x140027c79.8
mov rcx, qword [rsp + 0x130]
call sym.integerValue
mov ecx, 0xb
mov edx, eax
call sym.sqlite3_test_control
jmp 0x14002595a
cmp dword [rsp + 0x50], 2
jne 0x14002871d
lea rdx, [rsp + 0x100]
mov ecx, 0xe
mov dword [rsp + 0x100], 0xffffffff
call sym.sqlite3_test_control
jmp 0x140028429
lea rdx, str.close
mov rcx, rbx
call sym.optionMatch.part.0
test eax, eax
je 0x140028748
or r13d, 8
jmp 0x1400281c2
mov rcx, qword [rsp + 0x130]
call sym.booleanValue
lea rdx, [rsp + 0x100]
mov ecx, 0xe
mov dword [rsp + 0x100], eax
call sym.sqlite3_test_control
jmp 0x14002595a
mov rdx, rbx
lea rcx, str.Unknown_option___s__on__.trace__n
call sym.ePrintfUtf8
jmp 0x140025954
mov esi, 9
mov r13d, 9
mov r8d, 8
lea rdx, str.sha3sum
mov rcx, r12
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
mov edi, eax
test eax, eax
je 0x140028ed2
cmp dword [rsp + 0x58], 0x73
jne 0x140028eb6
movsxd r13, esi
test rbx, rbx
mov eax, 6
lea rdi, [0x140150568]
cmovne rdi, rbx
cmp r13, rax
lea rdx, str.shell
cmovbe rax, r13
mov rcx, rdi
mov r8, rax
mov r12, rax
call sym.strncmp
test eax, eax
je 0x140028ab1
mov r8d, 7
lea rdx, str.system
mov rcx, rdi
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
test eax, eax
je 0x140028ab1
mov r8d, 5
lea rdx, str.show
mov rcx, rdi
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
test eax, eax
jne 0x140028a70
cmp dword [rsp + 0x50], 1
je 0x140028850
lea rcx, str.Usage:_.show_n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
lea rcx, str.Usage:_.indexes__LIKE_PATTERN__n
call sym.ePutsUtf8.isra.0
mov rcx, qword [rsp + 0xb8]
call sym.sqlite3_finalize
jmp 0x140025954
mov eax, dword [r15 + 0x7c]
lea rsi, [0x14015a040]
lea rbx, str._12.12s:__s_n
lea rdx, str.echo
mov rcx, rbx
shr eax, 6
and eax, 1
mov r8, qword [rsi + rax*8]
call sym.oPrintfUtf8
movzx eax, byte [r15 + 9]
lea rdx, [0x140156934]
mov rcx, rbx
and eax, 3
mov r8, qword [rsi + rax*8]
call sym.oPrintfUtf8
cmp dword [r15 + 0x54], 9
lea r8, [0x14015190c]
je 0x1400288bb
cmp byte [r15 + 8], 0
lea r8, [0x140151913]
lea rax, [0x1401561a1]
cmovne r8, rax
lea rdx, [0x14015698c]
mov rcx, rbx
call sym.oPrintfUtf8
xor eax, eax
cmp dword [r15 + 0x68], 0
mov rcx, rbx
setne al
lea rdx, str.headers
mov r8, qword [rsi + rax*8]
call sym.oPrintfUtf8
movsxd rax, dword [r15 + 0x54]
lea edx, [rax - 0xe]
cmp edx, 2
jbe 0x140029032
cmp eax, 1
je 0x140029032
lea rdx, str.line
mov rcx, rbx
mov r8, qword [rdx + rax*8]
lea rdx, str.mode
call sym.oPrintfUtf8
lea rsi, str._12.12s:
lea rdx, str.nullvalue
mov rcx, rsi
lea rdi, [0x1401518ff]
call sym.oPrintfUtf8
lea rcx, [r15 + 0x124]
call sym.output_c_string
mov rcx, rdi
call sym.oPutsUtf8.isra.0
lea rdx, [r15 + 0x138]
mov rax, rdx
jmp 0x14002895b
add rax, 1
cmp byte [rax], 0
jne 0x140028957
sub rax, rdx
lea r8, str.stdout
mov rcx, rbx
test eax, 0x3fffffff
cmovne r8, rdx
lea rdx, str.output
call sym.oPrintfUtf8
lea rdx, str.colseparator
mov rcx, rsi
call sym.oPrintfUtf8
lea rcx, [r15 + 0xbe]
call sym.output_c_string
mov rcx, rdi
call sym.oPutsUtf8.isra.0
lea rdx, str.rowseparator
mov rcx, rsi
call sym.oPrintfUtf8
lea rcx, [r15 + 0xd2]
call sym.output_c_string
mov rcx, rdi
call sym.oPutsUtf8.isra.0
mov eax, dword [r15 + 0x1c]
lea r8, str.stmt
cmp eax, 2
je 0x1400289f8
lea r8, str.vmstep
cmp eax, 3
je 0x1400289f8
test eax, eax
lea r8, [0x140151913]
lea rax, [0x14015190c]
cmovne r8, rax
lea rdx, str.stats
mov rcx, rbx
call sym.oPrintfUtf8
mov rcx, rsi
xor esi, esi
lea rdx, str.width
call sym.oPrintfUtf8
lea rbp, [0x140158987]
jmp 0x140028a37
mov rax, qword [r15 + 0x110]
mov rcx, rbp
mov edx, dword [rax + rsi*4]
add rsi, 1
call sym.oPrintfUtf8
cmp dword [r15 + 0x120], esi
jg 0x140028a21
mov rcx, rdi
call sym.oPutsUtf8.isra.0
mov rax, qword [r15 + 0x2c8]
mov r8, qword [rax + 8]
test r8, r8
je 0x140029891
lea rdx, str.filename
mov rcx, rbx
call sym.oPrintfUtf8
jmp 0x140025f1c
mov r8, r12
lea rdx, str.stats
mov rcx, rdi
call sym.strncmp
test eax, eax
jne 0x140028bfd
cmp dword [rsp + 0x50], 2
je 0x140028bd0
cmp dword [rsp + 0x50], 1
je 0x140028b91
lea rcx, str.Usage:_.stats__onoffstmtvmstep__n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
mov r8, rbx
lea rdx, str.cannot_run_._s_in_safe_mode
mov rcx, r15
call sym.failIfSafeMode
cmp dword [rsp + 0x50], 1
je 0x140028bac
mov rbx, qword [rsp + 0x128]
mov edx, 0x20
mov esi, 2
lea r12, str._z___s_
lea rbp, str._z__s
mov rcx, rbx
call sym.strchr
lea rcx, str.__s_
mov rdx, rbx
test rax, rax
lea rax, [0x1401509b2]
cmove rcx, rax
call sym.sqlite3_mprintf
mov rbx, rax
jmp 0x140028b4f
test rbx, rbx
je 0x140028b55
mov rax, qword [rsp + 0x60]
mov edx, 0x20
mov rdi, qword [rax + rsi*8]
mov rcx, rdi
call sym.strchr
mov rcx, rbp
mov rdx, rbx
mov r8, rdi
test rax, rax
cmovne rcx, r12
add rsi, 1
call sym.sqlite3_mprintf
mov rbx, rax
cmp dword [rsp + 0x50], esi
jg 0x140028b18
call sym.consoleRestore
test rbx, rbx
je 0x140028bbd
mov rcx, rbx
call sym.system
mov esi, eax
call sym.consoleRenewSetup
mov rcx, rbx
call sym.sqlite3_free
test esi, esi
je 0x140025f1c
mov edx, esi
lea rcx, str.System_command_returns__d_n
call sym.ePrintfUtf8
jmp 0x140025f1c
cmp qword [r15 + 0x40], 0
mov rcx, qword [r15]
je 0x140025f1c
mov rdx, r15
call sym.display_stats.part.0.constprop.0
jmp 0x140025f1c
lea rcx, str.Usage:_.system_COMMAND_n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
call sym.consoleRenewSetup
xor ecx, ecx
mov esi, 1
call sym.sqlite3_free
jmp 0x140028b7e
mov rbx, qword [rsp + 0x128]
test rbx, rbx
je 0x140028c44
lea rdx, str.stmt
mov rcx, rbx
call sym.strcmp
test eax, eax
jne 0x140028c24
mov dword [r15 + 0x1c], 2
jmp 0x140025f1c
test bpl, bpl
je 0x140027982
cmp byte [rsp + 0x68], 0
je 0x140027982
test rbx, rbx
lea rcx, [0x140150568]
cmovne rcx, rbx
jmp 0x1400275ab
lea rdx, str.vmstep
mov rcx, rbx
call sym.strcmp
test eax, eax
jne 0x140028c44
mov dword [r15 + 0x1c], 3
jmp 0x140025f1c
mov rcx, rbx
call sym.booleanValue
movzx eax, al
mov dword [r15 + 0x1c], eax
jmp 0x140025f1c
cmp dword [rsp + 0x58], 0x71
jne 0x14002b014
movsxd r13, esi
test rbx, rbx
mov r8d, 5
lea rcx, [0x140150568]
lea rdx, str.quit
cmovne rcx, rbx
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
test eax, eax
je 0x14002a464
cmp esi, 0xb
jne 0x14002c662
cmp byte [rsp + 0x70], 0
je 0x14002c662
test rbx, rbx
je 0x140028ccb
mov r8d, 0xb
lea rdx, str.selecttrace
mov rcx, rbx
call sym.strncmp
test eax, eax
je 0x140027538
mov byte [rsp + 0x70], 1
cmp dword [rsp + 0x58], 0x74
mov esi, 0xb
sete bpl
test dword [rsp + 0x7c], 0x3ffffffc
setne dil
and dil, byte [rsp + 0x70]
je 0x140028ea8
movsxd r13, esi
test rbx, rbx
mov r8d, 9
lea rcx, [0x140150568]
cmovne rcx, rbx
cmp r13, r8
lea rdx, str.selftest
cmovbe r8, r13
call sym.strncmp
test eax, eax
je 0x140028e28
cmp dword [rsp + 0x58], 0x73
je 0x140028d56
test rbx, rbx
lea rax, [0x140150568]
cmovne rax, rbx
mov r12, rax
jmp 0x140028767
mov r13d, 9
lea rcx, [0x140150568]
jmp 0x1400275ab
mov edi, 1
test rbx, rbx
mov r8d, 0xa
lea rcx, [0x140150568]
cmovne rcx, rbx
cmp r13, r8
lea rdx, str.separator
cmovbe r8, r13
call sym.strncmp
mov r14d, eax
test eax, eax
jne 0x140028e1a
mov edi, dword [rsp + 0x50]
lea eax, [rdi - 2]
cmp eax, 1
jbe 0x140028db4
lea rcx, str.Usage:_.separator_COL__ROW__n
call sym.ePutsUtf8.isra.0
sub edi, 1
je 0x140025954
mov r14d, 1
mov rax, qword [rsp + 0x128]
lea rdx, [r15 + 0xbe]
mov r9d, 0x13
lea r8, [0x1401509b5]
mov ecx, 0x14
mov qword [rsp + 0x20], rax
call sym.sqlite3_snprintf
cmp dword [rsp + 0x50], 2
jle 0x14002595a
mov rax, qword [rsp + 0x130]
lea rdx, [r15 + 0xd2]
mov r9d, 0x13
lea r8, [0x1401509b5]
mov ecx, 0x14
mov qword [rsp + 0x20], rax
call sym.sqlite3_snprintf
jmp 0x14002595a
test dil, dil
je 0x14002879b
jmp 0x140028d2e
xor eax, eax
xor edx, edx
mov rcx, r15
xor r12d, r12d
mov qword [rsp + 0xf0], rax
xor ebx, ebx
mov esi, 1
lea rbp, str._init
call sym.open_db
lea rdi, [0x140157d29]
jmp 0x140028e71
mov rdx, rdi
mov rcx, r14
call sym.strcmp
test eax, eax
jne 0x14002900a
add r12d, 1
add rsi, 1
cmp dword [rsp + 0x50], esi
jle 0x140029091
mov rax, qword [rsp + 0x60]
mov r13, qword [rax + rsi*8]
cmp byte [r13], 0x2d
mov r14, r13
je 0x140028fe2
mov rdx, rbp
mov rcx, r14
call sym.strcmp
test eax, eax
jne 0x140028e56
mov ebx, 1
jmp 0x140028e6d
cmp dword [rsp + 0x58], 0x73
movsxd r13, esi
je 0x140028d5b
test bpl, bpl
je 0x14002796c
cmp byte [rsp + 0x68], 0
je 0x14002796c
movsxd r13, esi
jmp 0x140028c11
xor edx, edx
mov rcx, r15
xor r12d, r12d
xor r14d, r14d
call sym.open_db
mov r13d, 1
xor esi, esi
mov dword [rsp + 0x58], 0xe0
jmp 0x140028f25
test rsi, rsi
jne 0x140029880
mov r8d, 0x5c
mov rdx, rbp
lea rcx, [0x1401583fa]
mov rsi, rbp
call sym.sqlite3_strlike
mov r14d, 1
test eax, eax
cmove edi, r14d
add r13, 1
cmp dword [rsp + 0x50], r13d
jle 0x14002946a
mov rax, qword [rsp + 0x60]
mov rbp, qword [rax + r13*8]
cmp byte [rbp], 0x2d
jne 0x140028ef4
cmp byte [rbp + 1], 0x2d
je 0x140029877
lea rbx, [rbp + 1]
lea rdx, [0x140157a30]
mov rcx, rbx
call sym.strcmp
test eax, eax
je 0x14002986d
lea rdx, str.sha3_224
mov rcx, rbx
call sym.strcmp
test eax, eax
je 0x1400298ca
lea rdx, str.sha3_256
mov rcx, rbx
call sym.strcmp
test eax, eax
je 0x1400298ca
lea rdx, str.sha3_384
mov rcx, rbx
call sym.strcmp
test eax, eax
je 0x1400298ca
lea rdx, str.sha3_512
mov rcx, rbx
call sym.strcmp
test eax, eax
je 0x1400298ca
lea rdx, str.debug
mov rcx, rbx
call sym.strcmp
test eax, eax
jne 0x14002989d
mov r12d, 1
jmp 0x140028f21
cmp byte [r13 + 1], 0x2d
jne 0x140028e92
lea r14, [r13 + 1]
jmp 0x140028e92
cmp byte [rbx + 2], 0
mov ebp, 0x78
je 0x1400271fb
jmp 0x1400274be
mov r8, qword [rsp + 0x120]
mov rdx, r13
lea rcx, str.Unknown_option___s__on___s__n
call sym.ePrintfUtf8
lea rcx, str.Should_be_one_of:___init__v_n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
cmp byte [r15 + 0x18], 0
lea rdx, [0x140150568]
lea rcx, [0x140151917]
cmovne rcx, rdx
lea r8, [0x14015190c]
cmp byte [r15 + 0x19], 0
lea rdx, [0x140151913]
cmovne rdx, r8
mov qword [rsp + 0x28], rcx
lea rcx, str._12.12s:__s___wrap__d___wordwrap__s____squote_n
mov qword [rsp + 0x20], rdx
lea rdx, str.line
mov r9d, dword [r15 + 0x14]
mov r8, qword [rdx + rax*8]
lea rdx, str.mode
call sym.oPrintfUtf8
jmp 0x14002891a
xor eax, eax
xor r9d, r9d
lea r8, str.selftest
mov qword [rsp + 0x40], rax
lea rdx, [0x140150af4]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
mov rcx, qword [r15]
call sym.sqlite3_table_column_metadata
test ebx, ebx
jne 0x1400293f7
xor ebx, ebx
test eax, eax
lea rbp, [rsp + 0x2c0]
sete bl
pxor xmm0, xmm0
mov rcx, rbp
xor r8d, r8d
lea rdx, [0x1401581f3]
movups xmmword [rsp + 0x2c0], xmm0
call sym.appendText
mov rcx, qword [r15]
cmp ebx, 1
jne 0x1400293eb
xor r14d, r14d
lea rdi, [rsp + 0xf0]
xor esi, esi
xor r13d, r13d
mov qword [rsp + 0x20], r14
mov r9, rdi
or r8d, 0xffffffff
lea rdx, str.SELECT_tno_op_cmd_ans_FROM_selftest_ORDER_BY_tno
call sym.sqlite3_prepare_v2
xor r14d, r14d
test eax, eax
jne 0x1400293cd
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x60], rbp
mov rcx, qword [rsp + 0xf0]
call sym.sqlite3_step
cmp eax, 0x64
jne 0x140029387
mov rcx, qword [rsp + 0xf0]
xor edx, edx
call sym.sqlite3_column_int
mov rcx, qword [rsp + 0xf0]
mov edx, 1
mov dword [rsp + 0x58], eax
call sym.sqlite3_column_text
mov rcx, qword [rsp + 0xf0]
mov edx, 2
mov qword [rsp + 0x50], rax
call sym.sqlite3_column_text
mov rcx, qword [rsp + 0xf0]
mov edx, 3
mov rdi, rax
call sym.sqlite3_column_text
cmp qword [rsp + 0x50], 0
mov rbp, rax
sete al
test rdi, rdi
sete dl
or al, dl
jne 0x140029143
test rbp, rbp
je 0x140029143
test r12d, r12d
je 0x1400291f7
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov qword [rsp + 0x20], rdi
mov r9, qword [rsp + 0x50]
lea rdx, str._d:__s__s_n
mov r8d, dword [rsp + 0x58]
mov rcx, rax
call sym.fPrintfUtf8
mov rcx, qword [rsp + 0x50]
lea rdx, str.memo
call sym.strcmp
test eax, eax
je 0x1400292d3
mov rcx, qword [rsp + 0x50]
lea rdx, [0x1401582db]
call sym.strcmp
test eax, eax
jne 0x14002933b
xor r10d, r10d
xor r11d, r11d
mov r9, qword [rsp + 0x60]
mov rdx, rdi
mov rax, qword [rsp + 0x2c0]
mov qword [rsp + 0x100], r10
add r13d, 1
lea r8, [sym.captureOutputCallback]
mov dword [rsp + 0x2c8], r11d
mov byte [rax], 0
lea rax, [rsp + 0x100]
mov qword [rsp + 0x20], rax
mov rcx, qword [r15]
call sym.sqlite3_exec
mov ebx, eax
test r12d, r12d
jne 0x1400292bd
mov r9, qword [rsp + 0x100]
test ebx, ebx
jne 0x14002928a
test r9, r9
je 0x1400292e9
mov edx, dword [rsp + 0x58]
mov r8d, 1
lea rcx, str._d:_error_code__d:__s_n
add esi, 1
mov r14d, 1
call sym.oPrintfUtf8
mov rcx, qword [rsp + 0x100]
call sym.sqlite3_free
xor ebx, ebx
jmp 0x140029143
mov rdx, qword [rsp + 0x2c0]
lea rcx, str.Result:__s_n
call sym.oPrintfUtf8
jmp 0x140029279
mov rdx, rdi
lea rcx, [0x140151227]
xor ebx, ebx
call sym.oPrintfUtf8
jmp 0x140029143
mov rdx, qword [rsp + 0x2c0]
mov rcx, rbp
call sym.cli_strcmp
mov r14d, eax
test eax, eax
je 0x1400292b6
mov edi, dword [rsp + 0x58]
mov r8, rbp
lea rcx, str._d:_Expected:___s__n
xor ebx, ebx
add esi, 1
mov r14d, 1
mov edx, edi
call sym.oPrintfUtf8
mov r8, qword [rsp + 0x2c0]
mov edx, edi
lea rcx, str._d:______Got:___s__n
call sym.oPrintfUtf8
jmp 0x140029143
mov r8d, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
lea rcx, str.Unknown_operation___s__on_selftest_line__d_n
mov r14d, 1
mov rbp, qword [rsp + 0x60]
call sym.ePrintfUtf8
mov rcx, qword [rsp + 0xf0]
call sym.sqlite3_finalize
mov rcx, rbp
call sym.freeText
mov r8d, r13d
mov edx, esi
lea rcx, str._d_errors_out_of__d_tests_n
call sym.oPrintfUtf8
jmp 0x14002595a
mov rcx, qword [rsp + 0xf0]
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
call sym.sqlite3_finalize
test ebx, ebx
je 0x140029369
mov rcx, qword [r15]
mov ebx, r13d
xor r13d, r13d
mov r9, rdi
or r8d, 0xffffffff
mov qword [rsp + 0x20], r13
lea rdx, str.VALUES_0_memo_Missing_SELFTEST_table___default_checks_only__________1_run_PRAGMA_integrity_check_ok_
mov r13d, ebx
xor ebx, ebx
call sym.sqlite3_prepare_v2
jmp 0x14002912e
lea rcx, str.Error_querying_the_selftest_table_n
call sym.ePutsUtf8.isra.0
mov rcx, qword [rsp + 0xf0]
call sym.sqlite3_finalize
jmp 0x140025954
mov esi, ebx
lea rdi, [rsp + 0xf0]
jmp 0x1400293a8
lea rbp, [rsp + 0x2c0]
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbp
mov rcx, qword [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 + 0x2c0], rax
call sym.sqlite3_exec
mov rdx, qword [rsp + 0x2c0]
test rdx, rdx
je 0x140029449
lea rcx, str.SELFTEST_initialization_failure:__s_n
call sym.ePrintfUtf8
mov rcx, qword [rsp + 0x2c0]
call sym.sqlite3_free
xor eax, eax
xor r9d, r9d
lea rdx, str.RELEASE_selftest_init
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, qword [r15]
call sym.sqlite3_exec
jmp 0x1400290dc
test edi, edi
lea rax, 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
lea rdx, 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
cmovne rdx, rax
xor r9d, r9d
or r8d, 0xffffffff
mov qword [rsp + 0x20], r9
lea rbp, [rsp + 0xb0]
mov rcx, qword [r15]
lea rdi, [rsp + 0xe0]
mov r9, rbp
lea r13, str.VALUES_
call sym.sqlite3_prepare_v2
pxor xmm0, xmm0
xor r8d, r8d
mov rcx, rdi
lea rdx, str.WITH__sha3sum_query__a_b__AS_
movups xmmword [rsp + 0xf0], xmm0
movups xmmword [rsp + 0xe0], xmm0
call sym.appendText
mov dword [rsp + 0x50], r14d
mov rcx, qword [rsp + 0xb0]
call sym.sqlite3_step
cmp eax, 0x64
jne 0x1400296bb
mov rcx, qword [rsp + 0xb0]
xor edx, edx
call sym.sqlite3_column_text
mov rbx, rax
test rax, rax
je 0x1400294d7
test rsi, rsi
je 0x14002951b
xor r8d, r8d
mov rdx, rax
mov rcx, rsi
call sym.sqlite3_strlike
test eax, eax
jne 0x1400294d7
mov r8d, 7
lea rdx, [0x14015572e]
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140029679
lea rdx, [0x140157afe]
mov rcx, rbx
call sym.strcmp
test eax, eax
je 0x14002965d
lea rdx, [0x140152298]
mov rcx, rbx
call sym.strcmp
test eax, eax
je 0x140029641
lea rdx, [0x140156c68]
mov rcx, rbx
call sym.strcmp
test eax, eax
je 0x140029628
lea rdx, [0x140156c90]
mov rcx, rbx
call sym.strcmp
test eax, eax
jne 0x1400295ca
lea r14, [rsp + 0xf0]
xor r8d, r8d
lea rdx, str.SELECT__FROM
mov rcx, r14
call sym.appendText
xor r8d, r8d
mov rdx, rbx
mov rcx, r14
call sym.appendText
xor r8d, r8d
lea rdx, str._ORDER_BY_tbl__idx__rowid__n
mov rcx, r14
call sym.appendText
mov rdx, r13
xor r8d, r8d
lea r13, [0x14015616c]
mov rcx, rdi
call sym.appendText
mov rdx, qword [rsp + 0xf0]
mov r8d, 0x27
mov rcx, rdi
call sym.appendText
xor r8d, r8d
lea rdx, [0x140150eed]
mov rcx, rdi
mov dword [rsp + 0xf8], r8d
xor r8d, r8d
call sym.appendText
mov r8d, 0x27
mov rdx, rbx
mov rcx, rdi
call sym.appendText
jmp 0x1400294d7
lea rcx, [rsp + 0xf0]
xor r8d, r8d
lea rdx, str.SELECT_tbl_idx_stat_FROM_sqlite_stat1_ORDER_BY_tbl_idx_
call sym.appendText
jmp 0x1400295ca
lea rcx, [rsp + 0xf0]
xor r8d, r8d
lea rdx, str.SELECT_name_seq_FROM_sqlite_sequence_ORDER_BY_name_
call sym.appendText
jmp 0x1400295ca
lea rcx, [rsp + 0xf0]
xor r8d, r8d
lea rdx, str.SELECT_type_name_tbl_name_sql_FROM_sqlite_schema_ORDER_BY_name_
call sym.appendText
jmp 0x1400295ca
lea r14, [rsp + 0xf0]
xor r8d, r8d
lea rdx, str.SELECT__FROM
mov rcx, r14
call sym.appendText
mov rdx, rbx
mov rcx, r14
mov r8d, 0x22
call sym.appendText
xor r8d, r8d
lea rdx, str._NOT_INDEXED_
mov rcx, r14
call sym.appendText
jmp 0x1400295ca
mov r14d, dword [rsp + 0x50]
mov rcx, qword [rsp + 0xb0]
call sym.sqlite3_finalize
mov rdx, qword [rsp + 0xe0]
mov r8d, dword [rsp + 0x58]
test r14d, r14d
je 0x1400298dc
lea rcx, str._s___SELECT_lower_hex_sha3_query_a__d____AS_hash__b_AS_label___FROM__sha3sum_query_
call sym.sqlite3_mprintf
mov rbx, rax
test rbx, rbx
je 0x14002814f
lea rcx, [rsp + 0xf0]
call sym.freeText
mov rcx, rdi
call sym.freeText
test r12d, r12d
je 0x14002985a
mov rdx, rbx
lea rcx, [0x140151227]
call sym.oPrintfUtf8
test rsi, rsi
lea rax, [0x140150568]
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_printf____w__ss.tname__as_tname__printf____w__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 rdi, rax
test rax, rax
je 0x14002814f
test r12d, r12d
je 0x140029778
mov rdx, rax
lea rcx, [0x140151227]
call sym.oPrintfUtf8
xor ecx, ecx
mov r9, rbp
or r8d, 0xffffffff
mov rdx, rdi
mov qword [rsp + 0x20], rcx
mov rcx, qword [r15]
call sym.sqlite3_prepare_v2
mov r14d, eax
test eax, eax
jne 0x140029843
test rsi, rsi
je 0x1400297c1
xor edx, edx
mov rcx, qword [rsp + 0xb0]
or r9d, 0xffffffff
mov r8, rsi
mov qword [rsp + 0x20], rdx
mov edx, 1
call sym.sqlite3_bind_text
mov rcx, qword [rsp + 0xb0]
call sym.sqlite3_step
cmp eax, 0x64
je 0x1400297e8
mov rcx, rdi
call sym.sqlite3_free
mov rcx, rbx
call sym.sqlite3_free
jmp 0x14002595a
mov rcx, qword [rsp + 0xb0]
xor edx, edx
call sym.sqlite3_column_text
lea r9, [rsp + 0x2c0]
or r8d, 0xffffffff
mov rsi, rax
xor eax, eax
mov qword [rsp + 0x20], rax
mov rcx, qword [r15]
mov rdx, rsi
call sym.sqlite3_prepare_v2
mov ebp, eax
test r12d, r12d
je 0x14002982e
mov rdx, rsi
lea rcx, [0x140151227]
call sym.oPrintfUtf8
test ebp, ebp
je 0x1400298f0
mov rcx, qword [rsp + 0xb0]
call sym.sqlite3_finalize
lea rcx, str..sha3sum_failed._n
mov r14d, 1
call sym.ePutsUtf8.isra.0
jmp 0x1400297d3
xor r8d, r8d
mov rdx, rbx
mov rcx, r15
call sym.shell_exec
jmp 0x140029728
mov edi, 1
jmp 0x140028f21
lea rbx, [rbp + 2]
jmp 0x140028f4d
lea rcx, str.Usage:_.sha3sum__OPTIONS___LIKE_PATTERN__n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
lea r8, [0x140150568]
jmp 0x140028a5c
mov r8, qword [rsp + 0x120]
mov rdx, rbp
lea rcx, str.Unknown_option___s__on___s__n
call sym.ePrintfUtf8
mov rcx, qword [r15 + 0x40]
mov rdx, qword [rsp + 0x120]
call sym.showHelp
jmp 0x140025954
lea rcx, [rbx + 5]
call sym.atoi
mov dword [rsp + 0x58], eax
jmp 0x140028f21
lea rcx, str._s___SELECT_lower_hex_sha3_query_group_concat_a____d____AS_hash___FROM__sha3sum_query_
call sym.sqlite3_mprintf
mov rbx, rax
jmp 0x1400296f2
mov rcx, qword [rsp + 0x2c0]
call sym.sqlite3_step
cmp eax, 0x64
je 0x14002c83c
mov rcx, qword [rsp + 0x2c0]
call sym.sqlite3_finalize
mov rcx, qword [rsp + 0xb0]
call sym.sqlite3_finalize
jmp 0x1400297d3
mov esi, 5
jmp 0x1400274fa
mov r14d, dword [rsp + 0x68]
mov r15, qword [rsp + 0x688]
movzx edx, byte [rsp + 0x60]
mov eax, r12d
mov dh, al
mov ebp, edx
test rsi, rsi
je 0x14002ad09
cmp byte [rsi], 0
je 0x140029e23
mov rax, rsi
add rax, 1
cmp byte [rax], 0
jne 0x14002995d
sub rax, rsi
mov r13d, 6
lea rdx, str.lines
mov rcx, rsi
and eax, 0x3fffffff
cmp rax, r13
mov rbx, rax
cmovbe r13, rax
mov r8, r13
call sym.strncmp
test eax, eax
je 0x140029e23
mov r8d, 8
lea rdx, [0x140157522]
mov rcx, rsi
cmp rbx, r8
cmovbe r8, rbx
call sym.strncmp
test eax, eax
jne 0x140029a24
mov dword [r15 + 0x54], 1
test byte [r15 + 0x7c], 0x80
jne 0x1400299cf
mov dword [r15 + 0x68], 1
lea rdx, [r15 + 0xd2]
lea r8, [0x1401518ff]
mov ecx, 0x14
call sym.sqlite3_snprintf
mov eax, dword [rsp + 0x58]
mov word [r15 + 0x18], bp
mov dword [r15 + 0x14], eax
mov eax, dword [r15 + 0x54]
mov dword [r15 + 0x5c], eax
jmp 0x14002595a
cmp byte [rsp + 0x70], 0x2d
mov r15, qword [rsp + 0x688]
je 0x140029a6b
mov rdx, r13
lea rcx, str.extra_argument:___s__n
call sym.ePrintfUtf8
jmp 0x140025954
mov r12d, 5
lea rdx, str.list
mov rcx, rsi
cmp rbx, r12
cmovbe r12, rbx
mov r8, r12
call sym.strncmp
test eax, eax
je 0x140029da4
mov r8, r12
lea rdx, str.html
mov rcx, rsi
call sym.strncmp
test eax, eax
jne 0x140029a8b
mov dword [r15 + 0x54], 4
jmp 0x1400299f4
mov rdx, r13
lea rcx, str.unknown_option:__s_n
call sym.ePrintfUtf8
lea rcx, str.options:_n____noquote_n____quote_n____wordwrap_on_off_n____wrap_N_n____ww_n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
mov r8d, 4
lea rdx, [0x14015752f]
mov rcx, rsi
cmp rbx, r8
cmovbe r8, rbx
mov qword [rsp + 0x50], r8
call sym.strncmp
mov r8, qword [rsp + 0x50]
test eax, eax
je 0x140029d89
lea rdx, [0x140157533]
mov rcx, rsi
call sym.strncmp
test eax, eax
je 0x140029dbf
mov r8, r12
lea rdx, str.tabs
mov rcx, rsi
call sym.strncmp
test eax, eax
je 0x140029d64
mov r8d, 7
lea rdx, [0x140155c83]
mov rcx, rsi
cmp rbx, r8
cmovbe r8, rbx
call sym.strncmp
mov r12d, eax
test eax, eax
jne 0x140029bd9
mov dword [r15 + 0x54], 5
test rdi, rdi
je 0x140029bcd
mov rcx, qword [r15 + 0x90]
test rcx, rcx
je 0x140029b3c
call sym.free
xor ebp, ebp
mov qword [r15 + 0x90], rbp
mov rcx, rdi
call sym.quoteChar
mov ebx, eax
mov rax, rdi
jmp 0x140029b4f
add rax, 1
cmp byte [rax], 0
jne 0x140029b4b
sub rax, rdi
and eax, 0x3fffffff
test bl, bl
je 0x140029c53
lea ecx, [rax + rax + 3]
movsxd rcx, ecx
call sym.malloc
mov qword [r15 + 0x90], rax
test rax, rax
je 0x14002814f
mov byte [rax], bl
mov r12d, 1
jmp 0x140029ba8
mov byte [r8], cl
lea edx, [r12 + 1]
cmp bl, cl
jne 0x140029ba1
movsxd rdx, edx
mov byte [rax + rdx], bl
lea edx, [r12 + 2]
add rdi, 1
mov r12d, edx
movzx ecx, byte [rdi]
movsxd rdx, r12d
lea r8, [rax + rdx]
test cl, cl
jne 0x140029b8a
test bl, bl
je 0x140029bc4
mov byte [r8], bl
add r12d, 1
movsxd rdx, r12d
mov byte [rax + rdx], 0
jmp 0x1400299f4
lea rdi, [0x1401557b4]
jmp 0x140029b22
mov r8, r13
lea rdx, [0x140157454]
mov rcx, rsi
call sym.strncmp
test eax, eax
je 0x140029ce4
mov edi, 6
lea rdx, [0x14015753e]
mov rcx, rsi
cmp rbx, rdi
cmovbe rdi, rbx
mov r8, rdi
call sym.strncmp
test eax, eax
je 0x140029ca7
mov r8d, 9
lea rdx, str.markdown
mov rcx, rsi
cmp rbx, r8
cmovbe r8, rbx
call sym.strncmp
test eax, eax
jne 0x140029c73
mov eax, dword [rsp + 0x58]
mov dword [r15 + 0x54], 0xe
mov word [r15 + 0x18], bp
mov dword [r15 + 0x14], eax
jmp 0x1400299f4
add eax, 1
movsxd rcx, eax
call sym.malloc
mov qword [r15 + 0x90], rax
test rax, rax
jne 0x140029ba8
jmp 0x14002814f
mov r8, rdi
lea rdx, [0x1401557b4]
mov rcx, rsi
call sym.strncmp
test eax, eax
jne 0x140029d21
mov eax, dword [rsp + 0x58]
mov dword [r15 + 0x54], 0xf
mov word [r15 + 0x18], bp
mov dword [r15 + 0x14], eax
jmp 0x1400299f4
mov dword [r15 + 0x54], 0xa
lea rdx, [r15 + 0xbe]
mov ecx, 0x14
lea r8, [0x140157544]
call sym.sqlite3_snprintf
lea rdx, [r15 + 0xd2]
mov ecx, 0x14
lea r8, [0x140157546]
call sym.sqlite3_snprintf
jmp 0x1400299f4
mov dword [r15 + 0x54], 6
lea rdx, [r15 + 0xbe]
lea r8, [0x140150eed]
mov ecx, 0x14
call sym.sqlite3_snprintf
lea rdx, [r15 + 0xd2]
mov ecx, 0x14
lea r8, [0x1401518ff]
call sym.sqlite3_snprintf
jmp 0x1400299f4
mov eax, 4
lea rdx, [0x140156029]
mov rcx, rsi
cmp rbx, rax
cmovbe rax, rbx
mov r8, rax
mov r12, rax
call sym.strncmp
test eax, eax
jne 0x140029dfc
mov eax, dword [rsp + 0x58]
mov dword [r15 + 0x54], 0x10
mov word [r15 + 0x18], bp
mov dword [r15 + 0x14], eax
jmp 0x1400299f4
mov dword [r15 + 0x54], 2
lea rdx, [r15 + 0xbe]
mov ecx, 0x14
lea r8, [0x14015753c]
call sym.sqlite3_snprintf
jmp 0x1400299f4
mov dword [r15 + 0x54], 7
lea rdx, [r15 + 0xbe]
lea r8, [0x140151a09]
jmp 0x140029cfa
mov dword [r15 + 0x54], 2
lea rdx, [r15 + 0xbe]
lea r8, [0x140150eeb]
jmp 0x140029cfa
mov dword [r15 + 0x54], 8
lea rdx, [r15 + 0xbe]
mov ecx, 0x14
lea r8, [0x140150eed]
call sym.sqlite3_snprintf
lea rdx, [r15 + 0xd2]
mov ecx, 0x14
lea r8, [0x140150ba1]
call sym.sqlite3_snprintf
jmp 0x1400299f4
mov r8, rdi
lea rdx, [0x140157551]
mov rcx, rsi
call sym.strncmp
test eax, eax
jne 0x14002c00e
mov dword [r15 + 0x54], 0x11
jmp 0x1400299f4
xor r12d, r12d
lea rdx, [r15 + 0xd2]
mov ecx, 0x14
mov dword [r15 + 0x54], r12d
lea r8, [0x1401518ff]
call sym.sqlite3_snprintf
jmp 0x1400299f4
xor edx, edx
mov rcx, r15
call sym.open_db
cmp dword [rsp + 0x50], 1
je 0x140029ec0
mov rcx, qword [rsp + 0x128]
cmp byte [rcx], 0
je 0x140029ec0
mov rax, rcx
add rax, 1
cmp byte [rax], 0
jne 0x140029e68
sub rax, rcx
mov r8d, eax
and r8d, 0x3fffffff
je 0x140029ec0
lea rdx, str.fkey_indexes
call sym.sqlite3_strnicmp
test eax, eax
jne 0x140029ec0
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [r15]
call sym.lintFkeyIndexes.isra.0
jmp 0x140025f1c
lea rcx, str.testcase__s_ok_n
xor r14d, r14d
call sym.oPrintfUtf8
add dword [r15 + 0x6c], 1
jmp 0x140026984
mov rdx, qword [rsp + 0x120]
lea rcx, str.Usage__s_sub_command__switches...__n
call sym.ePrintfUtf8
lea rcx, str.Where_sub_commands_are:_n
call sym.ePutsUtf8.isra.0
lea rcx, str.____fkey_indexes_n
call sym.ePutsUtf8.isra.0
jmp 0x140025f1c
xor edx, edx
mov rcx, r15
call sym.open_db
test rbx, rbx
lea rax, [0x140155fe6]
mov rcx, qword [r15]
cmovne rax, rbx
mov qword [rsp + 0x20], rax
lea rbp, [rsp + 0x2c0]
lea rdx, [rsp + 0x100]
lea r9, str.SELECT_1_FROM_sqlite_schema_o_WHERE_sql_LIKE_CREATE_VIRTUAL_TABLE___AND__s
mov r8, rbp
mov dword [rsp + 0x100], 0
mov qword [rsp + 0x2c0], 0
call sym.shellPreparePrintf
mov r10d, dword [rsp + 0x100]
test r10d, r10d
je 0x14002d060
mov rsi, qword [rsp + 0x2c0]
test rsi, rsi
je 0x140029f75
mov rcx, rsi
call sym.sqlite3_db_handle
mov rcx, rsi
call sym.sqlite3_finalize
test byte [r15 + 0x7d], 1
je 0x14002d1a0
mov rcx, qword [r15]
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SAVEPOINT_dump__PRAGMA_writable_schemaON
mov qword [r15 + 0x64], 0
mov qword [rsp + 0x20], 0
call sym.sqlite3_exec
mov dword [r15 + 0x50], 0
test rbx, rbx
je 0x14002a18c
mov rdx, rbx
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
call sym.sqlite3_mprintf
mov rcx, qword [r15]
mov r9, r15
mov qword [rsp + 0x20], rbp
lea r8, [sym.dump_callback]
mov rdx, rax
mov rsi, rax
mov qword [rsp + 0x2c0], 0
call sym.sqlite3_exec
cmp eax, 0xb
je 0x14002a0cc
mov rcx, rsi
call sym.sqlite3_free
test byte [r15 + 0x7d], 1
je 0x14002a0a2
mov rcx, rbx
call sym.sqlite3_free
mov r8d, dword [r15 + 0x64]
test r8d, r8d
jne 0x14002a089
mov rcx, qword [r15]
xor r9d, r9d
xor r8d, r8d
lea rdx, str.PRAGMA_writable_schemaOFF_
mov qword [rsp + 0x20], 0
call sym.sqlite3_exec
mov rcx, qword [r15]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0
lea rdx, str.RELEASE_dump_
call sym.sqlite3_exec
test byte [r15 + 0x7d], 1
jne 0x14002a07c
mov ecx, dword [r15 + 0x50]
lea rax, str.ROLLBACK_____due_to_errors_n
test ecx, ecx
lea rcx, str.COMMIT__n
cmovne rcx, rax
call sym.oPutsUtf8.isra.0
mov dword [r15 + 0x68], r13d
mov dword [r15 + 0x7c], r12d
jmp 0x140025f1c
lea rcx, str.PRAGMA_writable_schemaOFF__n
call sym.oPutsUtf8.isra.0
mov dword [r15 + 0x64], 0
jmp 0x14002a01c
mov rdx, rbx
lea rcx, str.SELECT_sql_FROM_sqlite_schema_AS_o_WHERE___s__AND_sql_NOT_NULL__AND_type_IN__index_trigger_view_
call sym.sqlite3_mprintf
mov rcx, r15
mov rsi, rax
mov rdx, rax
call sym.run_table_dump_query.isra.0
mov rcx, rsi
call sym.sqlite3_free
jmp 0x14002a00b
cmp byte [rsi], 0
mov rax, rsi
je 0x14002a0dd
add rax, 1
cmp byte [rax], 0
jne 0x14002a0d4
sub rax, rsi
lea rcx, str.__CORRUPTION_ERROR___n
mov edi, eax
call sym.oPutsUtf8.isra.0
mov rdx, qword [rsp + 0x2c0]
and edi, 0x3fffffff
test rdx, rdx
je 0x14002a125
lea rcx, str.___s___n
call sym.oPrintfUtf8
mov rcx, qword [rsp + 0x2c0]
call sym.sqlite3_free
xor r9d, r9d
mov qword [rsp + 0x2c0], r9
add edi, 0x64
movsxd rcx, edi
call sym.malloc
mov r14, rax
test rax, rax
je 0x140029ff8
mov r9, rsi
lea r8, str._s_ORDER_BY_rowid_DESC
mov rdx, rax
mov ecx, edi
call sym.sqlite3_snprintf
mov rcx, qword [r15]
mov qword [rsp + 0x20], rbp
mov r9, r15
lea r8, [sym.dump_callback]
mov rdx, r14
call sym.sqlite3_exec
test eax, eax
jne 0x14002d264
mov rcx, qword [rsp + 0x2c0]
call sym.sqlite3_free
mov rcx, r14
call sym.free
jmp 0x140029ff8
lea rcx, [0x140155fe6]
call sym.sqlite3_mprintf
mov rbx, rax
jmp 0x140029fb7
lea rcx, str.cannot_close_the_active_database_connection_n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
mov rcx, qword [rsp + 0x128]
movzx edx, byte [rcx]
mov eax, edx
sub edx, 0x30
cmp edx, 9
ja 0x1400265e4
cmp byte [rcx + 1], 0
jne 0x1400265e4
movsx eax, al
mov r8, qword [r15 + 0x2c8]
lea edx, [rax - 0x30]
movsxd rax, edx
imul rax, rax, 0x18
lea rcx, [r15 + rax + 0x250]
cmp edx, 4
jg 0x140025f1c
cmp r8, rcx
je 0x140025f1c
mov rdx, qword [r15]
add rax, r15
xor ebx, ebx
mov qword [r8], rdx
mov rdx, qword [rax + 0x250]
mov qword [r15 + 0x2c8], rcx
mov qword [r15], rdx
mov qword [0x14018a1d8], rdx
mov qword [rax + 0x250], rbx
jmp 0x140025f1c
mov rdx, qword [rsp + 0x128]
mov rcx, r15
call sym.tryToClone
jmp 0x140025f1c
mov rcx, r15
xor edx, edx
xor ebx, ebx
call sym.open_db
mov rcx, qword [r15]
lea rax, [0x140155fe6]
jmp 0x140029f0c
mov eax, dword [rsp + 0x58]
cmp eax, 0x65
je 0x14002a2d8
cmp eax, 0x66
je 0x14002a673
cmp eax, 0x68
jne 0x1400264c3
test rbx, rbx
mov r8d, 8
lea rdi, [0x140150568]
cmovne rdi, rbx
cmp r13, r8
lea rdx, str.headers
cmovbe r8, r13
mov rcx, rdi
call sym.strncmp
test eax, eax
jne 0x14002a60c
cmp dword [rsp + 0x50], 2
je 0x14002a326
lea rcx, str.Usage:_.headers_onoff_n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
movsxd r13, esi
test rbx, rbx
lea rax, [0x140150568]
lea rdx, str.echo
cmovne rax, rbx
mov rdi, rax
mov eax, 5
cmp r13, rax
mov rcx, rdi
cmovbe rax, r13
mov r8, rax
mov rbp, rax
call sym.strncmp
test eax, eax
jne 0x14002a363
cmp dword [rsp + 0x50], 2
je 0x14002a344
lea rcx, str.Usage:_.echo_onoff_n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
mov rcx, qword [rsp + 0x128]
call sym.booleanValue
or dword [r15 + 0x7c], 0x80
mov dword [r15 + 0x68], eax
jmp 0x140025f1c
mov rcx, qword [rsp + 0x128]
call sym.booleanValue
test eax, eax
je 0x14002a4cb
or dword [r15 + 0x7c], 0x40
jmp 0x140025f1c
mov r8d, 4
lea rdx, [0x140156934]
mov rcx, rdi
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
test eax, eax
jne 0x14002a430
cmp dword [rsp + 0x50], 2
jne 0x14002a3ea
cmp byte [r15 + 0xb], 0
mov byte [r15 + 0xa], 0
je 0x14002a3c0
mov rcx, qword [r15]
test rcx, rcx
je 0x14002a3bb
xor edx, edx
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdx
lea rdx, str.PRAGMA_vdbe_traceOFF_
call sym.sqlite3_exec
mov byte [r15 + 0xb], 0
mov rbx, qword [rsp + 0x128]
test rbx, rbx
je 0x14002a418
lea rdx, [0x14015694f]
mov rcx, rbx
call sym.strcmp
test eax, eax
jne 0x14002a3fb
mov byte [r15 + 9], 3
jmp 0x140025f1c
lea rcx, str.Usage:_.eqp_offontracetriggerfull_n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
lea rdx, [0x140156954]
mov rcx, rbx
call sym.strcmp
test eax, eax
jne 0x14002a418
mov byte [r15 + 9], 2
jmp 0x140025f1c
mov rcx, rbx
call sym.booleanValue
mov byte [r15 + 9], al
jmp 0x140025f1c
mov r8, rbp
lea rdx, str.exit
mov rcx, rdi
call sym.strncmp
test eax, eax
jne 0x14002a46f
cmp dword [rsp + 0x50], 1
je 0x14002a464
mov rcx, qword [rsp + 0x128]
call sym.integerValue
mov ecx, eax
test eax, eax
jne 0x14002a4ed
mov r14d, 2
jmp 0x14002595a
mov r8d, 8
lea rdx, [0x14015698c]
mov rcx, rdi
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
test eax, eax
jne 0x14002a53b
cmp dword [rsp + 0x50], 1
je 0x14002a518
mov rbx, qword [rsp + 0x128]
test rbx, rbx
je 0x14002a4fc
lea rdx, [0x1401561a1]
mov rcx, rbx
call sym.strcmp
test eax, eax
jne 0x14002a4fc
cmp dword [r15 + 0x54], 9
je 0x14002a4f2
mov byte [r15 + 8], 1
jmp 0x140025f1c
and dword [r15 + 0x7c], 0xffffffbf
jmp 0x140025f1c
mov edx, dword [r15 + 0x30]
lea rcx, str.line__d:_incorrect_nonce:___s__n
mov r8, r13
call sym.ePrintfUtf8
mov ecx, 1
call sym.exit
mov eax, dword [r15 + 0x60]
mov dword [r15 + 0x54], eax
jmp 0x14002a4c1
mov rcx, rbx
call sym.booleanValue
cmp eax, 1
je 0x14002a518
test eax, eax
je 0x14002a57a
cmp eax, 0x63
jne 0x140025f1c
jmp 0x14002a4ba
mov eax, dword [r15 + 0x54]
cmp eax, 9
je 0x140025f1c
mov dword [r15 + 0x60], eax
mov dword [r15 + 0x54], 9
mov byte [r15 + 8], 0
jmp 0x140025f1c
mov r8d, 7
lea rdx, str.expert
mov rcx, rdi
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
test eax, eax
jne 0x1400264c3
cmp byte [r15 + 0x11], 0
je 0x14002a593
mov rdx, rbx
lea rcx, str.Cannot_run_experimental_commands_such_as___s__in_safe_mode_n
call sym.ePrintfUtf8
jmp 0x140025954
cmp dword [r15 + 0x54], 9
jne 0x14002a589
mov eax, dword [r15 + 0x60]
mov dword [r15 + 0x54], eax
mov byte [r15 + 8], 0
jmp 0x140025f1c
xor edx, edx
mov rcx, r15
call sym.open_db
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
mov rcx, r15
call sym.expertDotCommand.isra.0
jmp 0x140025f1c
mov rcx, qword [r15]
xor ebx, ebx
mov r14d, 1
call sym.sqlite3_errmsg
lea rcx, str.Error:__s_n
mov rdx, rax
call sym.ePrintfUtf8
mov rcx, qword [rsp + 0x90]
call sym.sqlite3_finalize
jmp 0x140026984
lea rdx, str.nosys
mov rcx, rdi
call sym.strcmp
test eax, eax
jne 0x14002aa93
mov eax, dword [r15 + 0x7c]
or ah, 2
jmp 0x140025af9
mov r8d, 5
lea rdx, str.help
mov rcx, rdi
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
test eax, eax
jne 0x140027136
cmp dword [rsp + 0x50], 1
mov rcx, qword [r15 + 0x40]
je 0x14002aaaf
mov rdx, qword [rsp + 0x128]
call sym.showHelp
test eax, eax
jne 0x140025f1c
mov rdx, qword [rsp + 0x128]
lea rcx, str.Nothing_matches__s_n
call sym.oPrintfUtf8
jmp 0x140025f1c
movsxd r13, esi
test rbx, rbx
mov r8d, 9
lea rdi, [0x140150568]
cmovne rdi, rbx
cmp r13, r8
lea rdx, str.filectrl
cmovbe r8, r13
mov rcx, rdi
call sym.strncmp
mov r14d, eax
test eax, eax
je 0x14002a7e0
mov r8d, 0xb
lea rdx, str.fullschema
mov rcx, rdi
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
cmp esi, 4
setg byte [rsp + 0x84]
test eax, eax
jne 0x140027141
xor eax, eax
cmp dword [rsp + 0x50], 2
mov ecx, 0x6e
mov rsi, r15
lea rbp, [rsp + 0x2c0]
mov rdi, rbp
rep movsq qword [rdi], qword [rsi]
mov dword [rsp + 0x328], eax
mov dword [rsp + 0x314], 3
mov dword [rsp + 0x31c], 3
je 0x14002a79e
cmp dword [rsp + 0x50], 1
jne 0x14002a78d
xor edx, edx
mov rcx, r15
call sym.open_db
xor eax, eax
mov r9, rbp
lea r8, [sym.callback]
mov qword [rsp + 0x20], rax
mov rcx, qword [r15]
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
mov r14d, eax
test eax, eax
jne 0x14002a77c
xor eax, eax
lea r9, [rsp + 0x100]
or r8d, 0xffffffff
mov qword [rsp + 0x20], rax
mov rcx, qword [r15]
lea rdx, str.SELECT_rowid_FROM_sqlite_schema_WHERE_name_GLOB_sqlite_stat_134_
call sym.sqlite3_prepare_v2
mov r14d, eax
test eax, eax
je 0x14002a92c
lea rcx, str.__No_STAT_tables_available___n
call sym.oPutsUtf8.isra.0
jmp 0x14002595a
lea rcx, str.Usage:_.fullschema____indent__n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
mov rcx, qword [rsp + 0x128]
cmp byte [rcx], 0x2d
jne 0x14002a78d
lea rdx, str.indent
call sym.optionMatch.part.0
test eax, eax
je 0x14002a78d
mov dword [rsp + 0x314], 0xb
mov dword [rsp + 0x31c], 0xb
jmp 0x14002a71e
xor edx, edx
mov rcx, r15
mov qword [rsp + 0x100], 0
call sym.open_db
cmp dword [rsp + 0x50], 1
je 0x14002aa55
mov rdi, qword [rsp + 0x128]
cmp byte [rdi], 0x2d
jne 0x14002aa4b
lea rdx, str.__schema
mov rcx, rdi
call sym.strcmp
test eax, eax
je 0x14002a9c5
lea rdx, str._schema
mov rcx, rdi
call sym.strcmp
test eax, eax
je 0x14002a9c5
xor esi, esi
movzx eax, byte [rdi + 1]
mov rbx, rdi
test al, al
je 0x14002a859
add rbx, 1
cmp al, 0x2d
je 0x14002aa1c
lea rdx, str.help
mov rcx, rbx
call sym.strcmp
test eax, eax
je 0x14002aa55
cmp byte [rbx], 0
mov rax, rbx
je 0x14002a881
add rax, 1
cmp byte [rax], 0
jne 0x14002a878
sub rax, rbx
xor edi, edi
mov r12d, 0xffffffff
mov r13d, 0xffffffff
and eax, 0x3fffffff
lea rbp, str.chunk_size
mov qword [rsp + 0x688], r15
mov r15d, r14d
mov qword [rsp + 0x58], rax
mov r14, rsi
mov rsi, rbx
mov rbx, rbp
mov rdx, qword [rbx]
lea rax, [0x140150568]
mov r8, qword [rsp + 0x58]
mov rcx, rsi
test rdx, rdx
cmove rdx, rax
call sym.strncmp
test eax, eax
jne 0x14002a8e9
test r13d, r13d
jns 0x14002aa2f
mov r13d, dword [rbx + 8]
mov r12d, edi
add edi, 1
add rbx, 0x18
cmp edi, 9
jne 0x14002a8b7
mov rbx, rsi
mov rsi, r14
mov r14d, r15d
mov r15, qword [rsp + 0x688]
test r13d, r13d
js 0x14002ace9
lea eax, [r13 - 6]
cmp eax, 0x20
ja case.0x14002a92a.7
lea rdx, [0x140158eb4]
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
mov rcx, qword [rsp + 0x100]
call sym.sqlite3_step
mov rcx, qword [rsp + 0x100]
mov ebx, eax
call sym.sqlite3_finalize
cmp ebx, 0x64
jne 0x14002a77c
lea rbx, str.ANALYZE_sqlite_schema__n
mov rcx, rbx
call sym.oPutsUtf8.isra.0
xor r8d, r8d
mov rcx, rbp
lea rax, [0x140156c68]
lea rdx, str.SELECT__FROM_sqlite_stat1
mov qword [rsp + 0x350], rax
mov dword [rsp + 0x314], 5
mov dword [rsp + 0x31c], 5
call sym.shell_exec
mov rcx, rbp
xor r8d, r8d
lea rax, [0x140156c90]
lea rdx, str.SELECT__FROM_sqlite_stat4
mov qword [rsp + 0x350], rax
call sym.shell_exec
mov rcx, rbx
call sym.oPutsUtf8.isra.0
jmp 0x14002595a
mov eax, dword [rsp + 0x50]
cmp eax, 3
jle 0x14002a840
mov edi, eax
lea eax, [rax - 3]
lea rdx, [rsp + 0x138]
mov rsi, qword [rsp + 0x130]
sub edi, 2
lea rcx, [rsp + 0x128]
lea r8, [rax*8]
call sym.memmove
mov dword [rsp + 0x50], edi
mov rdi, qword [rsp + 0x128]
cmp byte [rdi], 0x2d
je 0x14002a842
mov rbx, rdi
jmp 0x14002a859
cmp byte [rdi + 2], 0
je 0x14002a859
lea rbx, [rdi + 2]
jmp 0x14002a859
mov rdx, rsi
lea rcx, str.Error:_ambiguous_file_control:___s__nUse__.filectrl___help__for_help_n
mov r15, qword [rsp + 0x688]
call sym.ePrintfUtf8
jmp 0x140025954
mov rbx, rdi
xor esi, esi
jmp 0x14002a859
lea rcx, str.Available_file_controls:_n
lea rbx, str.chunk_size
call sym.oPutsUtf8.isra.0
lea rdi, [rbx + 0xd8]
lea rsi, str.__.filectrl__s__s_n
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rsi
add rbx, 0x18
call sym.oPrintfUtf8
cmp rbx, rdi
jne 0x14002aa76
jmp 0x140025954
mov rdx, rsi
lea rcx, str.Unknown_option___s__on__.dump__n
call sym.ePrintfUtf8
mov rcx, rbx
call sym.sqlite3_free
jmp 0x140025954
xor edx, edx
call sym.showHelp
jmp 0x140025f1c
cmp dword [rsp + 0x50], 2
lea rbp, [rsp + 0x2c0]
jne 0x14002acbc
mov rcx, qword [r15]
mov rdx, rsi
mov r9, rbp
mov r8d, 0x26
mov dword [rsp + 0x2c0], 0xffffffff
call sym.sqlite3_file_control
mov edx, dword [rsp + 0x2c0]
lea rcx, [0x140156ac1]
call sym.oPrintfUtf8
jmp 0x14002595a
mov edx, dword [rsp + 0x50]
lea eax, [rdx - 2]
cmp eax, 1
jbe 0x14002ab41
cmp r12d, 0xffffffff
je 0x14002595a
movsxd rax, r12d
mov rdx, rbx
lea rcx, str.Usage:_.filectrl__s__s_n
mov r14d, 1
imul rax, rax, 0x18
mov r8, qword [rbp + rax + 0x10]
call sym.oPrintfUtf8
jmp 0x14002595a
or rax, 0xffffffffffffffff
cmp edx, 3
je 0x14002ac2b
mov rcx, qword [r15]
lea r9, [rsp + 0x100]
mov rdx, rsi
mov r8d, 0x24
mov qword [rsp + 0x100], rax
lea rbp, [rsp + 0x2c0]
call sym.sqlite3_file_control
mov r9, qword [rsp + 0x100]
mov rdx, rbp
mov ecx, 0x64
lea r8, [0x1401525bf]
call sym.sqlite3_snprintf
mov rdx, rbp
lea rcx, [0x140151227]
call sym.oPrintfUtf8
jmp 0x14002595a
mov edx, dword [rsp + 0x50]
lea eax, [rdx - 2]
cmp eax, 1
ja case.0x14002a92a.7
or eax, 0xffffffff
cmp edx, 3
je 0x14002ac3d
mov dword [rsp + 0x2c0], eax
mov rcx, qword [r15]
lea rbp, [rsp + 0x2c0]
mov r8d, r13d
mov rdx, rsi
mov r9, rbp
call sym.sqlite3_file_control
movsxd rax, dword [rsp + 0x2c0]
mov qword [rsp + 0x100], rax
jmp 0x14002ab77
cmp dword [rsp + 0x50], 3
jne case.0x14002a92a.7
mov rcx, qword [rsp + 0x130]
call sym.integerValue
mov rcx, qword [r15]
mov r8d, r13d
mov rdx, rsi
lea r9, [rsp + 0x2c0]
mov dword [rsp + 0x2c0], eax
call sym.sqlite3_file_control
jmp 0x14002595a
mov rcx, qword [rsp + 0x130]
call sym.integerValue
jmp 0x14002ab4e
mov rcx, qword [rsp + 0x130]
call sym.booleanValue
jmp 0x14002abbf
cmp dword [rsp + 0x50], 2
jne case.0x14002a92a.7
jmp 0x14002abc6
xor eax, eax
cmp dword [rsp + 0x50], 2
mov qword [rsp + 0x2c0], rax
jne case.0x14002a92a.7
mov rcx, qword [r15]
mov rdx, rsi
lea r9, [rsp + 0x2c0]
mov r8d, 0x10
call sym.sqlite3_file_control
mov rdx, qword [rsp + 0x2c0]
test rdx, rdx
je 0x14002595a
lea rcx, [0x140151227]
call sym.oPrintfUtf8
mov rcx, qword [rsp + 0x2c0]
call sym.sqlite3_free
jmp 0x14002595a
mov rcx, qword [rsp + 0x130]
call sym.atoi
mov rcx, qword [r15]
mov r9, rbp
mov rdx, rsi
mov r8d, 0x26
mov dword [rsp + 0x2c0], eax
call sym.sqlite3_file_control
jmp 0x14002aace
mov rdx, rbx
lea rcx, str.Error:_unknown_file_control:__s_nUse__.filectrl___help__for_help_n
call sym.ePrintfUtf8
jmp case.0x14002a92a.7
mov dword [rsp + 0x58], 0x3c
xor ebp, ebp
xor edi, edi
movsxd rdx, dword [r15 + 0x54]
lea rbx, str.line
mov rax, rdx
mov rdx, qword [rbx + rdx*8]
lea ecx, [rax - 0xe]
cmp ecx, 2
jbe 0x14002be9f
sub eax, 1
je 0x14002be9f
lea rcx, str.current_output_mode:__s_n
call sym.oPrintfUtf8
movsxd rax, dword [r15 + 0x54]
mov rsi, qword [rbx + rax*8]
jmp 0x140029951
lea rdx, str.qbox
mov rcx, r13
lea rsi, [0x140156029]
call sym.strcmp
movzx edx, byte [rsp + 0x60]
test eax, eax
mov eax, 0
cmove r12d, eax
mov eax, 1
cmovne rsi, r13
cmove edx, eax
mov eax, 0x3c
cmovne eax, dword [rsp + 0x58]
mov byte [rsp + 0x60], dl
mov dword [rsp + 0x58], eax
jmp 0x140026267
lea r15d, [rbx + 1]
cmp dword [rsp + 0x50], r15d
jg 0x14002adf7
cmp byte [r13 + 2], 0x77
jne 0x14002ae6b
cmp byte [r14 + 1], 0x77
jne 0x14002ae6b
cmp byte [r14 + 2], 0
jne 0x14002ae6b
mov r14d, dword [rsp + 0x68]
mov r15, qword [rsp + 0x688]
mov r12d, 1
jmp 0x14002993c
lea rdx, str.noquote
mov rcx, rbp
call sym.strcmp
test eax, eax
jne 0x140026252
mov byte [rsp + 0x60], 0
jmp 0x140026267
movsxd rax, r15d
mov ebx, r15d
mov rcx, qword [rsp + rax*8 + 0x120]
call sym.integerValue
mov dword [rsp + 0x58], eax
jmp 0x140026267
cmp byte [r13 + 1], 0x77
jne 0x14002bee7
cmp byte [rbp + 1], 0x77
jne 0x14002bee7
cmp byte [rbp + 2], 0
jne 0x14002bee7
mov r12d, 1
jmp 0x140026267
lea r14, [r13 + 2]
lea rdx, str.wrap
mov rcx, r14
call sym.strcmp
test eax, eax
je 0x14002ad92
lea rdx, [0x140157448]
mov rcx, r14
call sym.strcmp
test eax, eax
je 0x14002ae32
lea rdx, str.wordwrap
mov rcx, r14
call sym.strcmp
test eax, eax
je 0x14002befe
mov rbp, r14
jmp 0x140026309
cmp dword [rsp + 0x58], 0x6e
jne 0x14002af78
mov rdi, rbx
test rbx, rbx
je 0x14002af02
lea rdx, str.nonce
mov rcx, rbx
call sym.strcmp
test eax, eax
jne 0x14002af09
cmp dword [rsp + 0x50], 2
je 0x14002aed0
lea rcx, str.Usage:_.nonce_NONCE_n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
movsxd r13, esi
jmp 0x140026532
mov rdx, qword [r15 + 0x2e0]
mov r13, qword [rsp + 0x128]
test rdx, rdx
je 0x14002a4d5
mov rcx, r13
call sym.cli_strcmp
test eax, eax
jne 0x14002a4d5
mov byte [r15 + 0x11], 0
jmp 0x1400259bb
lea rdi, [0x140150568]
movsxd r13, esi
mov r8d, 0xa
lea rdx, str.nullvalue
mov rcx, rdi
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
test eax, eax
jne 0x140027141
cmp dword [rsp + 0x50], 2
je 0x14002af48
lea rcx, str.Usage:_.nullvalue_STRING_n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
mov rax, qword [rsp + 0x128]
lea rdx, [r15 + 0x124]
mov r9d, 0x13
lea r8, [0x1401509b5]
mov ecx, 0x14
mov qword [rsp + 0x20], rax
call sym.sqlite3_snprintf
jmp 0x140025f1c
cmp dword [rsp + 0x58], 0x6f
jne 0x140027141
movsxd r13, esi
test rbx, rbx
mov r8d, 5
lea rax, [0x140150568]
lea rdx, str.open
cmovne rax, rbx
cmp r13, r8
cmovbe r8, r13
mov rcx, rax
mov rbp, rax
call sym.strncmp
test eax, eax
jne 0x14002afc2
cmp byte [rsp + 0x68], 0
jne 0x14002b0a2
mov r8d, 7
lea rdx, str.output
mov rcx, rbp
cmp r13, r8
lea rdi, str.once
cmovbe r8, r13
call sym.strncmp
test eax, eax
je 0x14002b5dc
mov r8d, 5
lea rdi, str.once
mov rcx, rbp
cmp r13, r8
mov rdx, rdi
cmovbe r8, r13
call sym.strncmp
test eax, eax
je 0x14002b5dc
cmp dword [rsp + 0x58], 0x72
jne 0x14002b532
cmp byte [rsp + 0x80], 0
je 0x14002b532
movsxd r13, esi
mov rbp, rbx
test rbx, rbx
je 0x14002b452
mov r8d, 5
lea rdx, str.read
mov rcx, rbx
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
test eax, eax
je 0x14002b47e
mov r8d, 8
lea rdx, str.restore
mov rcx, rbp
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
test eax, eax
je 0x14002b11a
test dword [rsp + 0x7c], 0x3ffffffc
setne bpl
and bpl, byte [rsp + 0x70]
je 0x14002796c
xor ebp, ebp
jmp 0x140028cf8
cmp dword [rsp + 0x50], 1
je 0x14002b3de
xor r12d, r12d
xor ebp, ebp
mov esi, 1
xor ebx, ebx
lea r14, str.append
jmp 0x14002b0db
test rbx, rbx
jne 0x140029a10
mov rbx, r13
add esi, 1
cmp dword [rsp + 0x50], esi
jle 0x14002b1d0
movsxd rax, esi
mov r13, qword [rsp + rax*8 + 0x120]
cmp byte [r13], 0x2d
jne 0x14002b0c2
cmp byte [r13 + 1], 0x2d
lea rdi, [r13 + 2]
je 0x14002b0fc
lea rdi, [r13 + 1]
lea rdx, [0x140157639]
mov rcx, rdi
call sym.strcmp
test eax, eax
jne 0x14002b430
mov ebp, 1
jmp 0x14002b0ce
lea rdx, str.cannot_run_.restore_in_safe_mode
mov rcx, r15
call sym.failIfSafeMode
cmp dword [rsp + 0x50], 2
je 0x14002b3ca
cmp dword [rsp + 0x50], 3
jne 0x14002b3b9
mov rbx, qword [rsp + 0x130]
mov rsi, qword [rsp + 0x128]
lea rdx, [rsp + 0x2c0]
mov rcx, rbx
call sym.sqlite3_open
mov r14d, eax
test eax, eax
jne 0x14002b32d
xor edx, edx
mov rcx, r15
mov edi, 4
call sym.open_db
mov r8, qword [rsp + 0x2c0]
mov rcx, qword [r15]
mov rdx, rsi
lea r9, [0x140150af4]
call sym.sqlite3_backup_init
mov rbx, rax
test rax, rax
je 0x14002b304
mov edx, 0x64
mov rcx, rbx
call sym.sqlite3_backup_step
mov esi, eax
test eax, eax
je 0x14002b19f
cmp eax, 5
jne 0x14002b38e
sub edi, 1
je 0x14002b362
mov ecx, 0x64
call sym.sqlite3_sleep
jmp 0x14002b19f
mov rcx, qword [r15]
xor esi, esi
xor edi, edi
call sym.close_db
mov rdx, qword [r15 + 0x2c8]
xor r9d, r9d
xor r10d, r10d
mov qword [r15], r9
mov qword [rdx + 8], r10
mov rcx, qword [rdx + 0x10]
call sym.sqlite3_free
mov rdx, qword [r15 + 0x2c8]
xor r11d, r11d
mov qword [rdx + 0x10], r11
mov byte [r15 + 0xd], r12b
mov dword [r15 + 0x34], esi
mov qword [r15 + 0x88], rdi
test rbx, rbx
je 0x14002b2f9
movzx edx, byte [r15 + 0x11]
test ebp, ebp
je 0x14002b2ec
test dl, dl
je 0x14002b296
cmp r12d, 6
je 0x14002b24d
lea rdx, [0x140152a7c]
mov rcx, rbx
call sym.strcmp
test eax, eax
jne 0x14002b34e
mov rdx, rbx
lea rcx, [0x1401509b2]
call sym.sqlite3_mprintf
mov rbx, rax
test rax, rax
je 0x14002814f
mov rdx, qword [r15 + 0x2c8]
mov qword [rdx + 8], rbx
mov rcx, r15
mov edx, 1
call sym.open_db
cmp qword [r15], 0
je 0x14002b2ae
mov rax, qword [r15 + 0x2c8]
mov qword [rax + 0x10], rbx
jmp 0x140025f1c
mov rcx, rbx
call sym.shellDeleteFile
cmp byte [r15 + 0x11], 0
je 0x14002b24d
cmp byte [r15 + 0xd], 6
jne 0x14002b236
jmp 0x14002b24d
lea rcx, str.Error:_cannot_open__s_n
mov rdx, rbx
call sym.ePrintfUtf8
mov rcx, rbx
call sym.sqlite3_free
cmp qword [r15], 0
jne 0x140025f1c
mov rax, qword [r15 + 0x2c8]
xor r8d, r8d
xor edx, edx
mov rcx, r15
mov qword [rax + 8], r8
call sym.open_db
jmp 0x140025f1c
test dl, dl
jne 0x14002b230
jmp 0x14002b24d
cmp r12d, 6
jne 0x14002b2c5
jmp 0x14002b26f
mov rcx, qword [r15]
call sym.sqlite3_errmsg
lea rcx, str.Error:__s_n
mov rdx, rax
call sym.ePrintfUtf8
mov rcx, qword [rsp + 0x2c0]
call sym.close_db
jmp 0x140025ed1
mov rdx, rbx
lea rcx, str.Error:_cannot_open___s__n
call sym.ePrintfUtf8
mov rcx, qword [rsp + 0x2c0]
call sym.close_db
jmp 0x140025ed1
lea rdx, str.cannot_open_disk_based_database_files_in_safe_mode
mov rcx, r15
call sym.failIfSafeMode
jmp 0x14002b24d
mov rcx, rbx
call sym.sqlite3_backup_finish
lea rcx, str.Error:_source_database_is_busy_n
call sym.ePutsUtf8.isra.0
mov r14d, 1
mov rcx, qword [rsp + 0x2c0]
call sym.close_db
jmp 0x14002595a
mov rcx, rbx
call sym.sqlite3_backup_finish
cmp esi, 0x65
je 0x14002b37c
cmp esi, 6
je 0x14002b36a
mov rcx, qword [r15]
call sym.sqlite3_errmsg
lea rcx, str.Error:__s_n
mov rdx, rax
call sym.ePrintfUtf8
jmp 0x14002b376
lea rcx, str.Usage:_.restore__DB__FILE_n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
mov rbx, qword [rsp + 0x128]
lea rsi, [0x140150af4]
jmp 0x14002b14f
mov rcx, qword [r15]
call sym.close_db
xor eax, eax
xor edx, edx
mov qword [r15], rax
mov rax, qword [r15 + 0x2c8]
mov qword [rax + 8], rdx
mov rcx, qword [rax + 0x10]
call sym.sqlite3_free
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
mov rax, qword [r15 + 0x2c8]
mov qword [rax + 0x10], rcx
mov byte [r15 + 0xd], 0
mov dword [r15 + 0x34], r8d
mov qword [r15 + 0x88], r9
jmp 0x14002b2c5
lea rdx, [0x1401525d7]
mov rcx, rdi
call sym.strcmp
test eax, eax
jne 0x14002b6c0
mov r12d, 3
jmp 0x14002b0ce
cmp r13, 0
mov r8d, 1
lea rbp, [0x140150568]
cmovbe r8, r13
lea rdx, str.read
mov rcx, rbp
call sym.strncmp
test eax, eax
jne 0x14002b060
lea rdx, str.cannot_run_.read_in_safe_mode
mov rcx, r15
mov r12, qword [r15 + 0x38]
mov esi, dword [r15 + 0x30]
call sym.failIfSafeMode
cmp dword [rsp + 0x50], 2
jne 0x14002be54
mov r8, qword [rsp + 0x128]
cmp byte [r8], 0x7c
je 0x14002be20
lea rbp, [rsp + 0x2c0]
xor eax, eax
mov ecx, 0xe
mov rdi, rbp
lea rdx, [0x1401508f1]
rep stosd dword [rdi], eax
mov rcx, r8
call sym.fopen
mov rbx, rax
test rax, rax
je 0x14002bdfa
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
mov rdx, rbp
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__fstat64]
test eax, eax
jne 0x14002bdf2
test word [rsp + 0x2c6], 0xb000
je 0x14002bdf2
mov qword [r15 + 0x38], rbx
mov rcx, r15
call sym.process_input
mov rcx, qword [r15 + 0x38]
mov r14d, eax
call sym.fclose
mov qword [r15 + 0x38], r12
mov dword [r15 + 0x30], esi
jmp 0x14002595a
cmp dword [rsp + 0x58], 0x73
jne 0x1400274ea
movsxd r13, esi
test rbx, rbx
mov r8d, 0xa
lea rdi, [0x140150568]
lea rdx, str.scanstats
cmovne rdi, rbx
cmp r13, r8
cmovbe r8, r13
mov rcx, rdi
call sym.strncmp
test eax, eax
jne 0x14002b664
cmp dword [rsp + 0x50], 2
jne 0x14002b653
mov rbx, qword [rsp + 0x128]
test rbx, rbx
je 0x14002b63d
lea rdx, [0x1401579d2]
mov rcx, rbx
call sym.strcmp
mov edx, eax
mov eax, 3
test edx, edx
jne 0x14002b61f
mov byte [r15 + 0xc], al
xor edx, edx
mov rcx, r15
call sym.open_db
mov rcx, qword [r15]
movzx r8d, byte [r15 + 0xc]
xor r9d, r9d
mov edx, 0x3fa
call sym.sqlite3_db_config
lea rcx, str.Warning:_.scanstats_not_available_in_this_build._n
call sym.ePutsUtf8.isra.0
jmp 0x140025f1c
mov rcx, r15
mov r8, rbx
lea rdx, str.cannot_run_._s_in_safe_mode
call sym.failIfSafeMode
mov rcx, qword [rsp + 0x120]
test rcx, rcx
je 0x14002b64a
mov r8d, 5
mov rdx, rdi
cmp r13, r8
cmovbe r8, r13
xor ebp, ebp
call sym.strncmp
test eax, eax
sete bpl
xor esi, esi
jmp 0x140027191
lea rdx, [0x1401579d5]
mov rcx, rbx
call sym.strcmp
mov edx, eax
mov eax, 2
test edx, edx
je 0x14002b5a8
mov rcx, rbx
call sym.booleanValue
jmp 0x14002b5a8
lea rcx, [0x140150568]
jmp 0x14002b5fb
lea rcx, str.Usage:_.scanstats_onoffest_n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
mov r8d, 7
lea rdx, [0x140157a30]
mov rcx, rdi
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
mov dword [rsp + 0x80], eax
test eax, eax
je 0x14002b6de
cmp esi, 0xb
sete bpl
and bpl, byte [rsp + 0x70]
jne 0x140028ca9
test dword [rsp + 0x7c], 0x3ffffffc
setne dil
and dil, byte [rsp + 0x70]
jne 0x140028cf8
jmp 0x140028d5b
mov rdx, r14
mov rcx, rdi
call sym.strcmp
test eax, eax
jne 0x14002b7b2
mov r12d, 2
jmp 0x14002b0ce
xor r8d, r8d
mov rcx, r15
xor edx, edx
mov rsi, r15
mov qword [rsp + 0xa0], r8
lea rbp, [rsp + 0x2c0]
xor r13d, r13d
mov ebx, 1
call sym.open_db
xor r9d, r9d
pxor xmm0, xmm0
xor r10d, r10d
mov ecx, 0x6e
mov rdi, rbp
mov qword [rsp + 0x58], r10
lea r12, str.indent
rep movsq qword [rdi], qword [rsi]
movups xmmword [rsp + 0xc0], xmm0
lea rsi, str.debug
lea rdi, str.nosys
mov dword [rsp + 0x328], r9d
mov dword [rsp + 0x314], 3
mov dword [rsp + 0x31c], 3
jmp 0x14002b76e
cmp qword [rsp + 0x58], 0
jne 0x14002b7d0
mov qword [rsp + 0x58], r14
add rbx, 1
cmp dword [rsp + 0x50], ebx
jle 0x14002b805
mov rax, qword [rsp + 0x60]
mov r14, qword [rax + rbx*8]
cmp byte [r14], 0x2d
jne 0x14002b75d
mov rdx, r12
mov rcx, r14
call sym.optionMatch.part.0
test eax, eax
je 0x14002bd39
mov dword [rsp + 0x314], 0xb
mov dword [rsp + 0x31c], 0xb
jmp 0x14002b76a
lea rdx, str.readonly
mov rcx, r13
call sym.optionMatch.part.0
test eax, eax
je 0x14002b7e1
mov r12d, 4
jmp 0x14002b0ce
lea rcx, str.Usage:_.schema____indent_____nosys___LIKE_PATTERN__n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
lea rdx, str.nofollow
mov rcx, r13
call sym.optionMatch.part.0
test eax, eax
je 0x14002bd1b
or dword [r15 + 0x34], 0x1000000
jmp 0x14002b0ce
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14002b8ba
mov r8d, 0x5c
lea rdx, [0x140157a8c]
call sym.sqlite3_strlike
test eax, eax
je 0x14002b848
mov rcx, qword [rsp + 0x58]
mov r8d, 0x5c
lea rdx, [0x140157afe]
call sym.sqlite3_strlike
test eax, eax
jne 0x14002ba53
mov rdx, qword [rsp + 0x58]
lea rcx, str.CREATE_TABLE__s___n__type_text__n__name_text__n__tbl_name_text__n__rootpage_integer__n__sql_text_n_
call sym.sqlite3_mprintf
mov qword [rsp + 0xd0], rax
mov rbx, rax
test rax, rax
je 0x14002814f
xor ecx, ecx
xor edx, edx
lea rax, [0x140157b1f]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x100]
lea r8, [rsp + 0xd0]
mov qword [rsp + 0xd8], rdx
mov edx, 1
mov qword [rsp + 0x108], rcx
mov rcx, rbp
mov qword [rsp + 0x100], rax
call sym.shell_callback
mov rcx, rbx
call sym.sqlite3_free
xor eax, eax
lea r9, [rsp + 0xa8]
or r8d, 0xffffffff
mov qword [rsp + 0x20], rax
mov rcx, qword [r15]
lea rdx, str.SELECT_name_FROM_pragma_database_list
mov qword [rsp + 0xa8], rax
call sym.sqlite3_prepare_v2
mov r14d, eax
test eax, eax
jne 0x14002bbfd
lea rbx, [rsp + 0xc0]
xor r8d, r8d
lea rdx, str.SELECT_sql_FROM
xor r12d, r12d
mov rcx, rbx
call sym.appendText
lea rax, [0x14015254c]
mov qword [rsp + 0x50], rax
jmp 0x14002b9b8
mov r8d, 0x27
mov rdx, rsi
mov rcx, rbx
call sym.appendText
xor r8d, r8d
lea rdx, str._name__AS_sql__type__tbl_name__name__rowid_
mov rcx, rbx
call sym.appendText
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call sym.appendText
xor r8d, r8d
lea rdx, str._AS_snum_
mov rcx, rbx
call sym.appendText
mov r8d, 0x27
mov rdx, rsi
mov rcx, rbx
call sym.appendText
xor r8d, r8d
lea rdx, str._AS_sname_FROM
mov rcx, rbx
call sym.appendText
mov rcx, rsi
call sym.quoteChar
mov rdx, rsi
mov rcx, rbx
movsx r8d, al
call sym.appendText
xor r8d, r8d
lea rdx, [0x140157bc7]
mov rcx, rbx
call sym.appendText
lea rax, str._UNION_ALL
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0xa8]
call sym.sqlite3_step
cmp eax, 0x64
jne 0x14002ba96
mov rcx, qword [rsp + 0xa8]
xor edx, edx
add r12d, 1
lea rdi, [rsp + 0x100]
call sym.sqlite3_column_text
mov r9d, r12d
mov rdx, rdi
mov ecx, 0x1e
lea r8, [0x140155570]
mov rsi, rax
call sym.sqlite3_snprintf
mov rdx, qword [rsp + 0x50]
xor r8d, r8d
mov rcx, rbx
call sym.appendText
xor r8d, r8d
lea rdx, str.SELECT_shell_add_schema_sql_
mov rcx, rbx
call sym.appendText
lea rdx, [0x140150af4]
mov rcx, rsi
call sym.sqlite3_stricmp
test eax, eax
jne 0x14002b91d
xor r8d, r8d
lea rdx, [0x140151a0b]
mov rcx, rbx
call sym.appendText
jmp 0x14002b92e
mov rcx, qword [rsp + 0x58]
mov r8d, 0x5c
lea rdx, [0x140157b0c]
call sym.sqlite3_strlike
test eax, eax
je 0x14002b848
mov rcx, qword [rsp + 0x58]
mov r8d, 0x5c
lea rdx, [0x140155b4b]
call sym.sqlite3_strlike
test eax, eax
je 0x14002b848
jmp 0x14002b8ba
mov rcx, qword [rsp + 0xa8]
call sym.sqlite3_finalize
mov rdi, qword [rsp + 0x58]
xor r8d, r8d
test rdi, rdi
je 0x14002bd07
lea rdx, str._UNION_ALL_SELECT_shell_module_schema_name___table__name__name__name__9e99__main_FROM_pragma_module_list
mov rcx, rbx
call sym.appendText
xor r8d, r8d
lea rdx, str.__WHERE
mov rcx, rbx
call sym.appendText
mov rdx, rdi
lea rcx, [0x140150e50]
call sym.sqlite3_mprintf
mov rdi, rax
test rax, rax
je 0x14002814f
mov rcx, qword [rsp + 0x58]
mov edx, 0x2a
mov r12d, 1
call sym.strchr
test rax, rax
je 0x14002bcd1
mov rcx, qword [rsp + 0x58]
mov edx, 0x2e
call sym.strchr
xor r8d, r8d
test rax, rax
je 0x14002bcbd
lea rdx, str.lower_printf__s._s_sname_tbl_name__
mov rcx, rbx
call sym.appendText
test r12d, r12d
jne 0x14002bc98
xor r8d, r8d
lea rdx, str._LIKE
mov rcx, rbx
call sym.appendText
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call sym.appendText
xor r8d, r8d
lea rdx, str._ESCAPE_
mov rcx, rbx
call sym.appendText
mov rcx, rbx
xor r8d, r8d
lea rdx, [0x140157c86]
call sym.appendText
mov rcx, rdi
call sym.sqlite3_free
test r13d, r13d
jne 0x14002bc81
xor r8d, r8d
lea rdx, str.sql_IS_NOT_NULL_ORDER_BY_snum__rowid
mov rcx, rbx
call sym.appendText
cmp dword [rsp + 0x80], 0
je 0x14002bc26
mov rdx, qword [rsp + 0xc0]
lea rcx, str.SQL:__s__n
call sym.oPrintfUtf8
mov rcx, rbx
call sym.freeText
mov rdx, qword [rsp + 0xa0]
test rdx, rdx
je 0x14002595a
lea rcx, str.Error:__s_n
call sym.ePrintfUtf8
mov rcx, qword [rsp + 0xa0]
call sym.sqlite3_free
jmp 0x140025954
mov rcx, qword [r15]
call sym.sqlite3_errmsg
lea rcx, str.Error:__s_n
mov rdx, rax
call sym.ePrintfUtf8
mov rcx, qword [rsp + 0xa8]
call sym.sqlite3_finalize
jmp 0x140025954
lea rax, [rsp + 0xa0]
mov rdx, qword [rsp + 0xc0]
mov r9, rbp
lea r8, [sym.callback]
mov qword [rsp + 0x20], rax
mov rcx, qword [r15]
call sym.sqlite3_exec
mov rcx, rbx
mov esi, eax
call sym.freeText
mov rdx, qword [rsp + 0xa0]
test rdx, rdx
jne 0x14002bbdf
test esi, esi
je 0x14002595a
lea rcx, str.Error:_querying_schema_information_n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
xor r8d, r8d
lea rdx, str.name_NOT_LIKE_sqlite____AND
mov rcx, rbx
call sym.appendText
jmp 0x14002bb96
xor r8d, r8d
mov rcx, rbx
lea rdx, str._GLOB
call sym.appendText
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call sym.appendText
jmp 0x14002bb73
lea rdx, str.lower_tbl_name_
mov rcx, rbx
call sym.appendText
jmp 0x14002bb38
mov rcx, qword [rsp + 0x58]
mov edx, 0x3f
call sym.strchr
test rax, rax
jne 0x14002bb0e
mov rcx, qword [rsp + 0x58]
mov edx, 0x5b
xor r12d, r12d
call sym.strchr
test rax, rax
setne r12b
jmp 0x14002bb0e
lea rdx, str.__WHERE
mov rcx, rbx
call sym.appendText
jmp 0x14002bb8d
lea rdx, str.deserialize
mov rcx, r13
call sym.optionMatch.part.0
test eax, eax
je 0x14002bd58
mov r12d, 5
jmp 0x14002b0ce
mov rdx, rsi
mov rcx, r14
call sym.optionMatch.part.0
test eax, eax
je 0x14002bd76
mov dword [rsp + 0x80], 1
jmp 0x14002b76a
lea rdx, str.hexdb
mov rcx, r13
call sym.optionMatch.part.0
test eax, eax
je 0x14002bd99
mov r12d, 6
jmp 0x14002b0ce
mov rdx, rdi
mov rcx, r14
call sym.optionMatch.part.0
test eax, eax
jne 0x14002bdc0
mov rdx, r14
lea rcx, str.Unknown_option:___s__n
call sym.ePrintfUtf8
jmp 0x140025954
lea rdx, str.maxsize
mov rcx, r13
call sym.optionMatch.part.0
test eax, eax
jne 0x14002bdcb
mov rdx, r13
lea rcx, str.unknown_option:__s_n
call sym.ePrintfUtf8
jmp 0x140025954
mov r13d, 1
jmp 0x14002b76a
mov eax, dword [rsp + 0x50]
add esi, 1
cmp esi, eax
jge 0x14002bdac
movsxd rax, esi
mov rcx, qword [rsp + rax*8 + 0x120]
call sym.integerValue
mov qword [r15 + 0x88], rax
jmp 0x14002b0ce
mov rcx, rbx
call sym.fclose
xor r11d, r11d
mov rdx, qword [rsp + 0x128]
lea rcx, str.Error:_cannot_open___s__n
mov qword [r15 + 0x38], r11
call sym.ePrintfUtf8
mov r14d, 1
jmp 0x14002b525
lea rcx, [r8 + 1]
lea rdx, [0x140151c00]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__popen]
mov qword [r15 + 0x38], rax
test rax, rax
je 0x14002be65
mov rcx, r15
call sym.process_input
mov rcx, qword [r15 + 0x38]
mov r14d, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
jmp 0x14002b525
lea rcx, str.Usage:_.read_FILE_n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
mov rdx, qword [rsp + 0x128]
lea rcx, str.Error:_cannot_open___s__n
call sym.ePrintfUtf8
jmp 0x14002be15
lea r14, [r13 + 2]
jmp 0x14002ae82
movsxd rax, r15d
mov ebx, r15d
mov rcx, qword [rsp + rax*8 + 0x120]
call sym.booleanValue
mov r12d, eax
jmp 0x140026267
cmp byte [r15 + 0x18], 0
lea rcx, [0x140150568]
lea rax, [0x140151917]
cmovne rax, rcx
lea r9, [0x140151913]
cmp byte [r15 + 0x19], 0
lea rcx, str.current_output_mode:__s___wrap__d___wordwrap__s____squote_n
mov qword [rsp + 0x20], rax
lea rax, [0x14015190c]
mov r8d, dword [r15 + 0x14]
cmovne r9, rax
call sym.oPrintfUtf8
jmp 0x14002ad3c
lea rdx, str.wordwrap
mov rcx, rbp
call sym.strcmp
test eax, eax
jne 0x140026309
lea r15d, [rbx + 1]
jmp 0x1400262f1
cmp dword [rsp + 0x58], 0x70
jne 0x140028c58
cmp byte [rsp + 0x80], 0
je 0x14002c2f8
movsxd r13, esi
test rbx, rbx
je 0x14002c035
mov r8d, 0xa
lea rdi, str.parameter
mov rcx, rbx
cmp r13, r8
mov rdx, rdi
cmovbe r8, r13
call sym.strncmp
test eax, eax
je 0x14002c29c
mov r8d, 6
lea rdx, str.print
mov rcx, rbx
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
test eax, eax
je 0x14002c17c
mov r8d, 9
mov rcx, rbx
lea rdx, str.progress
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
mov rcx, rbx
test eax, eax
je 0x14002c09e
mov r8d, 7
lea rdx, str.prompt
cmp r13, r8
cmovbe r8, r13
call sym.strncmp
test eax, eax
jne 0x14002b014
mov edi, dword [rsp + 0x50]
cmp edi, 1
je 0x140025f1c
mov rdx, qword [rsp + 0x128]
mov r8d, 0x13
lea rcx, [0x14018a1b0]
call sym.shell_strncpy.isra.0
cmp edi, 2
je 0x140025f1c
mov rdx, qword [rsp + 0x130]
mov r8d, 0x13
lea rcx, [0x14018a190]
call sym.shell_strncpy.isra.0
jmp 0x140025f1c
mov r8, r12
lea rdx, [0x140151913]
mov rcx, rsi
call sym.strncmp
test eax, eax
jne 0x14002c1cb
mov dword [r15 + 0x54], 0x12
jmp 0x1400299f4
cmp r13, 0
mov r14d, 1
lea rdi, str.parameter
cmovbe r14, r13
lea rbp, [0x140150568]
mov rdx, rdi
mov rcx, rbp
mov r8, r14
call sym.strncmp
test eax, eax
je 0x14002c29c
mov r8, r14
lea rdx, str.print
mov rcx, rbp
call sym.strncmp
test eax, eax
je 0x14002c17c
mov rcx, rbp
mov r8, r14
lea rdx, str.progress
call sym.strncmp
mov rcx, rbp
test eax, eax
jne 0x14002bf9e
xor ebx, ebx
xor ebp, ebp
cmp dword [rsp + 0x50], 1
mov qword [r15 + 0x70], 0
mov dword [r15 + 0x78], ebx
je 0x14002c219
mov ebx, 1
lea r14, str.quiet
lea r13, [0x1401578c6]
lea r12, [0x1401578c8]
movsxd rax, ebx
mov rsi, qword [rsp + rax*8 + 0x120]
cmp byte [rsi], 0x2d
jne 0x14002c284
cmp byte [rsi + 1], 0x2d
je 0x14002c293
lea rdi, [rsi + 1]
mov rdx, r14
mov rcx, rdi
call sym.strcmp
test eax, eax
je 0x14002c27b
mov rdx, r13
mov rcx, rdi
call sym.strcmp
test eax, eax
je 0x14002c27b
mov rdx, r12
mov rcx, rdi
call sym.strcmp
test eax, eax
je 0x14002c249
lea rdx, str.once
mov rcx, rdi
call sym.strcmp
test eax, eax
je 0x14002c23c
lea rdx, str.limit
mov rcx, rdi
call sym.strcmp
test eax, eax
jne 0x14002c250
mov eax, dword [rsp + 0x50]
add ebx, 1
cmp ebx, eax
jl 0x14002c1f8
lea rcx, str.Error:_missing_argument_on___limit_n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
mov edi, dword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov ebx, 1
lea rsi, [0x140151a09]
mov rax, rdi
sub eax, 1
je 0x14002c1ba
cmp rbx, 1
je 0x14002c1a7
mov rcx, rsi
call sym.oPutsUtf8.isra.0
mov rcx, qword [rbp + rbx*8]
add rbx, 1
call sym.oPutsUtf8.isra.0
cmp rdi, rbx
jne 0x14002c199
lea rcx, [0x1401518ff]
call sym.oPutsUtf8.isra.0
jmp 0x140025f1c
mov r8d, 5
lea rdx, [0x140157557]
mov rcx, rsi
cmp rbx, r8
cmovbe r8, rbx
call sym.strncmp
test eax, eax
jne 0x14002c264
mov dword [r15 + 0x54], 0xd
jmp 0x1400299f4
movsxd rax, ebx
mov rcx, qword [rsp + rax*8 + 0x120]
call sym.integerValue
mov dword [r15 + 0x74], eax
add ebx, 1
cmp dword [rsp + 0x50], ebx
jg 0x14002c0d3
xor edx, edx
mov rcx, r15
call sym.open_db
mov rcx, qword [r15]
mov r9, r15
mov edx, ebp
lea r8, [sym.progress_handler]
call sym.sqlite3_progress_handler
jmp 0x140025f1c
mov eax, dword [r15 + 0x78]
or eax, 4
mov dword [r15 + 0x78], eax
jmp 0x14002c20c
or dword [r15 + 0x78], 2
jmp 0x14002c20c
mov rdx, rsi
lea rcx, str.Error:_unknown_option:___s__n
call sym.ePrintfUtf8
jmp 0x140025954
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 r14d, 1
call sym.ePutsUtf8.isra.0
jmp 0x1400299f4
mov eax, dword [r15 + 0x78]
or eax, 1
jmp 0x14002c243
mov rcx, rsi
call sym.integerValue
mov ebp, eax
jmp 0x14002c20c
lea rdi, [rsi + 2]
jmp 0x14002c0f5
xor edx, edx
mov rcx, r15
call sym.open_db
mov eax, dword [rsp + 0x50]
cmp eax, 1
je 0x14002c2e7
cmp eax, 2
je 0x14002c3cb
cmp dword [rsp + 0x50], 4
je 0x14002c319
cmp dword [rsp + 0x50], 3
jne 0x14002c2e7
mov rcx, qword [rsp + 0x128]
test rcx, rcx
je 0x14002c2e7
lea rdx, str.unset
call sym.strcmp
test eax, eax
je 0x14002c61d
mov rcx, qword [r15 + 0x40]
mov rdx, rdi
call sym.showHelp
jmp 0x140025f1c
cmp dword [rsp + 0x58], 0x70
jne 0x140028c58
test rbx, rbx
lea rcx, [0x140150568]
movsxd r13, esi
cmovne rcx, rbx
jmp 0x14002bf9e
mov rcx, qword [rsp + 0x128]
test rcx, rcx
je 0x14002c2e7
lea rdx, [0x1401577f4]
call sym.strcmp
mov r14d, eax
test eax, eax
jne 0x14002c2e7
mov rbp, qword [rsp + 0x130]
mov r12, qword [rsp + 0x138]
mov rcx, r15
call sym.bind_table_init
lea rcx, str.REPLACE_INTO_temp.sqlite_parameters_key_value_VALUES__Q__s__
mov r8, r12
mov rdx, rbp
call sym.sqlite3_mprintf
mov rbx, rax
test rax, rax
je 0x14002814f
xor eax, eax
lea rdi, [rsp + 0x98]
or r8d, 0xffffffff
mov rdx, rbx
mov qword [rsp + 0x98], rax
xor eax, eax
mov r9, rdi
mov qword [rsp + 0x20], rax
mov rcx, qword [r15]
call sym.sqlite3_prepare_v2
mov rcx, rbx
mov esi, eax
call sym.sqlite3_free
test esi, esi
jne 0x14002c453
mov rcx, qword [rsp + 0x98]
call sym.sqlite3_step
mov rcx, qword [rsp + 0x98]
call sym.sqlite3_finalize
jmp 0x14002595a
mov rbx, qword [rsp + 0x128]
test rbx, rbx
je 0x14002c5d1
lea rdx, str.clear
mov rcx, rbx
call sym.strcmp
test eax, eax
je 0x14002c5fc
lea rdx, str.list
mov rcx, rbx
call sym.strcmp
test eax, eax
jne 0x14002c5d8
xor edx, edx
lea rdi, [rsp + 0x2c0]
xor eax, eax
or r8d, 0xffffffff
mov qword [rsp + 0x20], rdx
mov rcx, qword [r15]
mov r9, rdi
lea rdx, str.SELECT_max_length_key___FROM_temp.sqlite_parameters_
mov qword [rsp + 0x2c0], rax
call sym.sqlite3_prepare_v2
test eax, eax
je 0x14002c4ed
mov rcx, qword [rsp + 0x2c0]
call sym.sqlite3_finalize
jmp 0x140025f1c
mov rcx, qword [rsp + 0x98]
xor r13d, r13d
call sym.sqlite3_finalize
mov r8, r12
mov rdx, rbp
lea rcx, str.REPLACE_INTO_temp.sqlite_parameters_key_value_VALUES__Q__Q__
mov qword [rsp + 0x98], r13
call sym.sqlite3_mprintf
mov rbx, rax
test rax, rax
je 0x14002814f
xor ebp, ebp
or r8d, 0xffffffff
mov r9, rdi
mov rdx, rax
mov qword [rsp + 0x20], rbp
mov rcx, qword [r15]
call sym.sqlite3_prepare_v2
mov rcx, rbx
mov esi, eax
call sym.sqlite3_free
test esi, esi
je 0x14002c3ac
mov rcx, qword [r15]
xor edi, edi
mov r14d, 1
call sym.sqlite3_errmsg
lea rcx, str.Error:__s_n
mov rdx, rax
call sym.oPrintfUtf8
mov rcx, qword [rsp + 0x98]
call sym.sqlite3_finalize
mov qword [rsp + 0x98], rdi
jmp 0x14002c3ac
mov rcx, qword [rsp + 0x2c0]
call sym.sqlite3_step
cmp eax, 0x64
jne 0x14002c441
mov rcx, qword [rsp + 0x2c0]
xor edx, edx
call sym.sqlite3_column_int
mov rcx, qword [rsp + 0x2c0]
mov ebx, eax
mov eax, 0x28
cmp ebx, eax
cmovle eax, ebx
mov esi, eax
call sym.sqlite3_finalize
xor eax, eax
mov qword [rsp + 0x2c0], rax
test ebx, ebx
je 0x140025f1c
xor eax, eax
mov r9, rdi
lea rdx, str.SELECT_key__quote_value__FROM_temp.sqlite_parameters_
or r8d, 0xffffffff
mov qword [rsp + 0x20], rax
mov rcx, qword [r15]
lea rdi, str.__s__s_n
call sym.sqlite3_prepare_v2
mov rcx, qword [rsp + 0x2c0]
mov edx, eax
mov rax, rcx
test edx, edx
je 0x14002c5b2
jmp 0x14002c5c4
mov rcx, qword [rsp + 0x2c0]
mov edx, 1
call sym.sqlite3_column_text
mov rcx, qword [rsp + 0x2c0]
xor edx, edx
mov rbx, rax
call sym.sqlite3_column_text
mov rcx, rdi
mov r9, rbx
mov edx, esi
mov r8, rax
call sym.oPrintfUtf8
mov rcx, qword [rsp + 0x2c0]
call sym.sqlite3_step
cmp eax, 0x64
je 0x14002c576
mov rax, qword [rsp + 0x2c0]
mov rcx, rax
call sym.sqlite3_finalize
jmp 0x140025f1c
lea rbx, [0x140150568]
lea rdx, str.init
mov rcx, rbx
call sym.strcmp
test eax, eax
jne 0x14002c2e7
mov rcx, r15
call sym.bind_table_init
jmp 0x140025f1c
xor ecx, ecx
xor r9d, r9d
lea rdx, str.DROP_TABLE_IF_EXISTS_temp.sqlite_parameters_
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rcx, qword [r15]
call sym.sqlite3_exec
jmp 0x140025f1c
mov rdx, qword [rsp + 0x130]
lea rcx, str.DELETE_FROM_temp.sqlite_parameters_WHERE_key_Q
call sym.sqlite3_mprintf
mov rbx, rax
test rax, rax
je 0x14002814f
xor esi, esi
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov qword [rsp + 0x20], rsi
mov rcx, qword [r15]
call sym.sqlite3_exec
mov rcx, rbx
call sym.sqlite3_free
jmp 0x140025f1c
xor ebp, ebp
jmp 0x140028cde
movsxd r13, esi
jmp 0x140025a64
movsxd r13, esi
jmp 0x140026151
xor eax, eax
lea rdx, str.cannot_run_.import_in_safe_mode
mov rcx, r15
mov qword [rsp + 0xe0], rax
lea rbp, [rsp + 0x2c0]
call sym.failIfSafeMode
mov eax, dword [rsp + 0x84]
mov ecx, 0x12
mov rdi, rbp
cmp dword [r15 + 0x54], 0xa
lea rdx, [sym.ascii_read_one_field]
rep stosd dword [rdi], eax
lea rax, [sym.csv_read_one_field]
cmove rax, rdx
cmp dword [rsp + 0x50], 1
mov qword [rsp + 0x58], rax
je 0x14002c76f
xor ebx, ebx
mov esi, 1
xor r14d, r14d
xor edi, edi
mov rax, rbx
mov qword [rsp + 0x60], r14
mov ebx, esi
mov r13d, 1
xor r14d, r14d
mov rsi, rax
jmp 0x14002c724
test rsi, rsi
je 0x14002c968
test r14, r14
jne 0x14002c940
mov r14, r12
add r13d, 1
cmp dword [rsp + 0x50], r13d
jle 0x14002c970
movsxd rax, r13d
mov r12, qword [rsp + rax*8 + 0x120]
cmp byte [r12], 0x2d
jne 0x14002c700
cmp byte [r12 + 1], 0x2d
jne 0x14002c742
add r12, 1
cmp byte [r12], 0x2d
jne 0x14002c7a0
cmp byte [r12 + 1], 0x76
jne 0x14002c7a0
cmp byte [r12 + 2], 0
jne 0x14002c7a0
add dword [rsp + 0x84], 1
jmp 0x14002c715
lea rdx, [0x140156015]
test rax, rax
jne 0x14002c776
lea rdx, str.FILE
lea rcx, str.ERROR:_missing__s_argument._Usage:_n
call sym.oPrintfUtf8
mov rcx, qword [r15 + 0x40]
lea rdx, str.import
call sym.showHelp
jmp 0x140025954
lea rdx, str._schema
mov rcx, r12
call sym.strcmp
test eax, eax
jne 0x14002c8c5
mov eax, dword [rsp + 0x50]
sub eax, 1
cmp eax, r13d
jle 0x14002c890
add r13d, 1
movsxd rax, r13d
mov rax, qword [rsp + rax*8 + 0x120]
mov qword [rsp + 0x60], rax
jmp 0x14002c715
mov esi, ebp
movsxd r13, r13d
mov ebp, dword [rsp + 0x68]
lea r14, str._z__s
mov rdx, rax
jmp 0x14002c809
mov rax, qword [rsp + 0x60]
mov rcx, r14
mov r8, qword [rax + r13*8]
call sym.sqlite3_mprintf
mov rdx, rax
add r13, 1
cmp dword [rsp + 0x50], r13d
jg 0x14002c7f5
mov rbx, rdx
test rdx, rdx
je 0x14002743e
xor eax, eax
test ebp, ebp
mov rcx, r15
setne al
xor ebp, ebp
add eax, eax
mov dword [r15 + 0x28], eax
call sym.output_reset
jmp 0x1400272ec
mov rcx, qword [rsp + 0x2c0]
xor edx, edx
call sym.sqlite3_column_double
pxor xmm1, xmm1
comisd xmm0, xmm1
jbe 0x140029906
addsd xmm0, qword [0x14015edc8]
lea r8, [0x140153588]
lea rax, [0x140150568]
lea rcx, str.Digest_includes__d_invalidly_encoded_text_field_s._n
cvttsd2si edx, xmm0
cmp edx, 1
cmovle r8, rax
call sym.ePrintfUtf8
jmp 0x140029906
lea rdx, str._ascii
mov rcx, r12
call sym.strcmp
mov ebx, eax
test eax, eax
jne 0x14002c8ff
mov rax, qword [0x14015edb0]
mov qword [rsp + 0x2fc], rax
lea rax, [sym.ascii_read_one_field]
mov qword [rsp + 0x58], rax
jmp 0x14002c715
lea rdx, str._skip
mov rcx, r12
call sym.strcmp
test eax, eax
jne 0x14002c890
mov eax, dword [rsp + 0x50]
sub eax, 1
cmp eax, r13d
jle 0x14002c890
add r13d, 1
movsxd rax, r13d
mov rcx, qword [rsp + rax*8 + 0x120]
call sym.integerValue
mov edi, eax
jmp 0x14002c715
lea rdx, str._csv
mov rcx, r12
call sym.strcmp
mov ebx, eax
test eax, eax
jne 0x14002cd85
mov rax, qword [0x14015edb8]
mov qword [rsp + 0x2fc], rax
lea rax, [sym.csv_read_one_field]
mov qword [rsp + 0x58], rax
jmp 0x14002c715
movsxd r13, esi
jmp 0x14002a28b
mov rdx, r12
lea rcx, str.ERROR:_extra_argument:___s_.__Usage:_n
call sym.oPrintfUtf8
mov rcx, qword [r15 + 0x40]
lea rdx, str.import
call sym.showHelp
jmp 0x140025954
mov rsi, r12
jmp 0x14002c715
mov rax, rsi
mov esi, ebx
mov rbx, rax
test r14, r14
je 0x14002c763
xor r12d, r12d
xor edx, edx
mov rcx, r15
mov dword [0x14018a1d0], r12d
call sym.open_db
test esi, esi
je 0x14002ca36
cmp byte [r15 + 0xbe], 0
lea rdx, [r15 + 0xbe]
je 0x14002cda9
mov rax, rdx
add rax, 1
cmp byte [rax], 0
jne 0x14002c9b5
sub rax, rdx
test eax, 0x3fffffff
je 0x14002cda9
test eax, 0x3ffffffe
jne 0x14002d253
cmp byte [r15 + 0xd2], 0
lea r12, [r15 + 0xd2]
je 0x14002d242
mov rax, r12
add rax, 1
cmp byte [rax], 0
jne 0x14002c9ef
sub rax, r12
and eax, 0x3fffffff
je 0x14002d242
cmp eax, 2
je 0x14002d1bd
sub eax, 1
jg 0x14002cdce
movzx eax, byte [r15 + 0xbe]
mov dword [rsp + 0x2fc], eax
movzx eax, byte [r15 + 0xd2]
mov dword [rsp + 0x300], eax
mov qword [rsp + 0x2c0], rbx
mov dword [rsp + 0x2e8], 1
cmp byte [rbx], 0x7c
je 0x14002d20e
lea rdx, [0x1401508f1]
mov rcx, rbx
call sym.fopen
mov qword [rsp + 0x2c8], rax
lea rax, [sym.fclose]
cmp qword [rsp + 0x2c8], 0
mov qword [rsp + 0x2d0], rax
je 0x14002cdba
mov eax, dword [rsp + 0x84]
cmp eax, 1
jg 0x14002ca9b
and esi, eax
and sil, 1
je 0x14002cafb
mov eax, dword [rsp + 0x2fc]
lea rcx, str.Column_separator
lea rbx, [rsp + 0x100]
mov byte [rsp + 0x101], 0
mov byte [rsp + 0x100], al
call sym.oPutsUtf8.isra.0
mov rcx, rbx
call sym.output_c_string
lea rcx, str.__row_separator
call sym.oPutsUtf8.isra.0
mov eax, dword [rsp + 0x300]
mov rcx, rbx
mov byte [rsp + 0x100], al
call sym.output_c_string
lea rcx, [0x1401518ff]
call sym.oPutsUtf8.isra.0
mov ecx, 0x78
call sym.sqlite3_malloc64
mov qword [rsp + 0x2d8], rax
test rax, rax
je 0x14002d27d
lea ebx, [rdi - 1]
test edi, edi
jg 0x14002cb30
jmp 0x14002cb44
mov eax, dword [rsp + 0x2fc]
cmp dword [rsp + 0x2f8], eax
jne 0x14002cb3f
mov rax, qword [rsp + 0x58]
mov rcx, rbp
call rax
test rax, rax
jne 0x14002cb20
sub ebx, 1
jae 0x14002cb30
xor edx, edx
mov rcx, rbp
call sym.import_append_char
xor r11d, r11d
mov rdx, qword [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x40], r11
mov r8, r14
mov qword [rsp + 0x38], r11
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x28], r11
mov qword [rsp + 0x20], r11
mov rcx, qword [r15]
call sym.sqlite3_table_column_metadata
test eax, eax
je 0x14002ccf0
mov rax, qword [rsp + 0x60]
xor r10d, r10d
lea rdx, [0x140150af4]
mov r8, r14
lea rcx, str.CREATE_TABLE___w_.__w_
mov qword [rsp + 0xf0], r10
lea rdi, [rsp + 0xf0]
test rax, rax
mov qword [rsp + 0x100], r10
cmovne rdx, rax
call sym.sqlite3_mprintf
mov qword [rsp + 0x50], rax
jmp 0x14002cbec
mov rcx, qword [rsp + 0x2d8]
xor r8d, r8d
mov rdx, rdi
call sym.zAutoColumn
mov eax, dword [rsp + 0x2fc]
cmp dword [rsp + 0x2f8], eax
jne 0x14002cbfb
mov rax, qword [rsp + 0x58]
mov rcx, rbp
call rax
test rax, rax
jne 0x14002cbc9
mov rdx, rdi
lea r8, [rsp + 0x100]
xor ecx, ecx
call sym.zAutoColumn
mov rdi, qword [rsp + 0x100]
mov rbx, rax
test rdi, rdi
je 0x14002cc5e
cmp dword [0x14014a784], 0
mov r12, qword [rsp + 0x2c0]
jne 0x14002d4e0
mov r13, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call r13
mov rcx, rax
mov r9, rdi
mov r8, r12
lea rdx, str.Columns_renamed_during_.import__s_due_to_duplicates:_n_s_n
call sym.fPrintfUtf8
mov rcx, rdi
call sym.sqlite3_free
cmp qword [rsp + 0xf0], 0
je 0x14002cc83
mov r8d, 0x6480
lea rdx, str.shell.c
lea rcx, str.dbCols0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
test rbx, rbx
je 0x14002d4bf
mov rdx, qword [rsp + 0x50]
mov r8, rbx
lea rcx, str._z_z_n
call sym.sqlite3_mprintf
mov rbx, rax
test rax, rax
je 0x14002d27d
cmp dword [rsp + 0x84], 0
je 0x14002ccc5
mov rdx, rax
lea rcx, [0x140151227]
call sym.oPrintfUtf8
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], r9
mov rcx, qword [r15]
xor r9d, r9d
call sym.sqlite3_exec
mov rcx, rbx
mov esi, eax
call sym.sqlite3_free
test esi, esi
jne 0x14002d2a6
mov r8, qword [rsp + 0x60]
mov rdx, r14
lea rcx, str.SELECT_count___FROM_pragma_table_info__Q__Q__
call sym.sqlite3_mprintf
mov r12, rax
test rax, rax
je 0x14002d27d
mov rcx, rax
lea rdi, [rsp + 0xe0]
call sym.strlen
xor r8d, r8d
mov r9, rdi
mov rdx, r12
mov qword [rsp + 0x20], r8
mov rcx, qword [r15]
or r8d, 0xffffffff
mov rsi, rax
call sym.sqlite3_prepare_v2
mov rcx, r12
mov ebx, eax
call sym.sqlite3_free
mov rcx, qword [rsp + 0xe0]
test ebx, ebx
je 0x14002d28a
test rcx, rcx
je 0x14002cd61
call sym.sqlite3_finalize
mov rcx, qword [r15]
call sym.sqlite3_errmsg
lea rcx, str.Error:__s_n
mov rdx, rax
call sym.ePrintfUtf8
mov rcx, rbp
call sym.import_cleanup
jmp 0x140025954
mov rdx, r12
lea rcx, str.ERROR:_unknown_option:___s_.__Usage:_n
call sym.oPrintfUtf8
mov rcx, qword [r15 + 0x40]
lea rdx, str.import
call sym.showHelp
jmp 0x140025954
lea rcx, str.Error:_non_null_column_separator_required_for_import_n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
mov rdx, rbx
lea rcx, str.Error:_cannot_open___s__n
call sym.ePrintfUtf8
jmp 0x140025954
lea rcx, str.Error:_multi_character_row_separators_not_allowed_for_import_n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
mov eax, dword [rsp + 0x58]
cmp eax, 0x6d
je 0x1400261ee
cmp eax, 0x6e
jne 0x140027141
jmp 0x14002ae95
xor r13d, r13d
lea rdx, str.cannot_run_.load_in_safe_mode
mov rcx, r15
mov qword [rsp + 0x2c0], r13
call sym.failIfSafeMode
cmp dword [rsp + 0x50], 1
je 0x14002cf89
mov rbx, qword [rsp + 0x128]
cmp byte [rbx], 0
je 0x14002cf89
cmp dword [rsp + 0x50], 2
je 0x14002cf82
mov rsi, qword [rsp + 0x130]
xor edx, edx
mov rcx, r15
call sym.open_db
mov rcx, qword [r15]
mov r8, rsi
mov rdx, rbx
lea r9, [rsp + 0x2c0]
call sym.sqlite3_load_extension
mov r14d, eax
test eax, eax
je 0x14002595a
mov rdx, qword [rsp + 0x2c0]
lea rcx, str.Error:__s_n
call sym.ePrintfUtf8
mov rcx, qword [rsp + 0x2c0]
call sym.sqlite3_free
jmp 0x140025954
movzx eax, byte [rsp + 0x80]
mov byte [rsp + 0x84], al
jmp 0x14002619e
xor edx, edx
mov rcx, r15
call sym.open_db
cmp dword [rsp + 0x50], 1
je 0x14002cfc4
cmp dword [rsp + 0x50], 3
jg 0x14002cfb3
mov r13, qword [rsp + 0x128]
cmp byte [r13], 0
mov rax, r13
je 0x14002cee3
add rax, 1
cmp byte [rax], 0
jne 0x14002ceda
sub rax, r13
lea rdi, [0x14015a100]
or rbx, 0xffffffffffffffff
mov rdx, r13
mov r12d, eax
mov rsi, rdi
and r12d, 0x3fffffff
jmp 0x14002cf0b
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsi]
mov r8d, r12d
call sym.sqlite3_strnicmp
test eax, eax
jne 0x14002cf22
cmp ebx, 0xffffffff
jne 0x14002cf9a
movsxd rbx, ebp
add ebp, 1
add rsi, 0x10
cmp ebp, 0xc
jne 0x14002cf03
cmp ebx, 0xffffffff
je 0x14002d046
cmp dword [rsp + 0x50], 3
je 0x14002d01e
shl rbx, 4
mov rcx, qword [r15]
or r8d, 0xffffffff
add rbx, rdi
mov edx, dword [rbx + 8]
call sym.sqlite3_limit
mov rbx, qword [rbx]
mov ecx, 1
mov esi, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, esi
mov r8, rbx
lea rdx, str._20s__d_n
mov rcx, rax
call sym.fPrintfUtf8
jmp 0x140025f1c
xor esi, esi
jmp 0x14002ce43
lea rcx, str.Usage:_.load_FILE__ENTRYPOINT__n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
mov rdx, qword [rsp + 0x128]
lea rcx, str.ambiguous_limit:___s__n
call sym.ePrintfUtf8
jmp 0x140025954
lea rcx, str.Usage:_.limit_NAME__NEW_VALUE__n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
lea rbx, [0x14015a100]
mov r13, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdi, str._20s__d_n
lea rbp, [rbx + 0xc0]
mov edx, dword [rbx + 8]
mov rcx, qword [r15]
mov r8d, 0xffffffff
add rbx, 0x10
call sym.sqlite3_limit
mov r12, qword [rbx - 0x10]
mov ecx, 1
mov esi, eax
call r13
mov r9d, esi
mov r8, r12
mov rdx, rdi
mov rcx, rax
call sym.fPrintfUtf8
cmp rbx, rbp
jne 0x14002cfe0
jmp 0x140025f1c
mov rcx, qword [rsp + 0x130]
call sym.integerValue
mov rdx, rbx
mov rcx, qword [r15]
shl rdx, 4
mov r8d, eax
mov edx, dword [rdi + rdx + 8]
call sym.sqlite3_limit
jmp 0x14002cf42
mov rdx, qword [rsp + 0x128]
lea rcx, str.unknown_limit:___s__nenter__.limits__with_no_arguments_for_a_list._n
call sym.ePrintfUtf8
jmp 0x140025954
mov rcx, qword [rsp + 0x2c0]
call sym.sqlite3_step
cmp eax, 0x64
je 0x14002d126
mov rsi, qword [rsp + 0x2c0]
test rsi, rsi
je 0x140029f75
mov rcx, rsi
call sym.sqlite3_db_handle
mov rcx, rsi
mov rdi, rax
call sym.sqlite3_finalize
test eax, eax
je 0x140029f75
mov rcx, rdi
call sym.sqlite3_errmsg
lea rcx, str.SQL_error:__s_n
mov rdx, rax
call sym.ePrintfUtf8
jmp 0x140029f75
cmp byte [r15 + 0x11], 0
mov rbx, qword [rsp + 0x128]
je 0x14002d179
test rbx, rbx
je 0x14002d14a
lea rsi, [0x14015190c]
mov rcx, rbx
mov rdx, rsi
call sym.strcmp
test eax, eax
jne 0x14002d137
mov rcx, qword [r15 + 0x248]
call sym.output_file_close
mov rcx, rbx
mov rdx, rsi
call sym.strcmp
test eax, eax
lea rax, str.stdout
cmove rbx, rax
xor edx, edx
mov rcx, rbx
call sym.output_file_open
mov qword [r15 + 0x248], rax
jmp 0x140025f1c
lea rcx, str.__WARNING:_Script_requires_that_SQLITE_DBCONFIG_DEFENSIVE_be_disabled___n
call sym.oPutsUtf8.isra.0
jmp 0x14002d076
lea rdx, [0x140151913]
mov rcx, rbx
call sym.strcmp
test eax, eax
je 0x14002d0ec
mov ecx, 1
lea rbx, [0x140151913]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str.cannot_set_.log_to_anything_other_than__on__or__off__n
mov rdx, rax
call sym.fPutsUtf8.isra.0
mov rcx, qword [r15 + 0x248]
call sym.output_file_close
jmp 0x14002d110
mov rcx, qword [r15 + 0x248]
call sym.output_file_close
test rbx, rbx
je 0x14002d110
lea rsi, [0x14015190c]
jmp 0x14002d0f8
lea rcx, str.PRAGMA_foreign_keysOFF__n
call sym.oPutsUtf8.isra.0
lea rcx, str.BEGIN_TRANSACTION__n
call sym.oPutsUtf8.isra.0
jmp 0x140029f80
cmp dword [r15 + 0x54], 8
jne 0x14002cdce
lea rdx, [0x140150ba1]
mov rcx, r12
call sym.strcmp
test eax, eax
jne 0x14002cdce
lea r8, [0x1401518ff]
mov rdx, r12
mov ecx, 0x14
call sym.sqlite3_snprintf
mov rax, r12
jmp 0x14002d1fc
add rax, 1
cmp byte [rax], 0
jne 0x14002d1f8
sub rax, r12
and eax, 0x3fffffff
jmp 0x14002ca0f
lea rcx, [rbx + 1]
lea rdx, [0x140151c00]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__popen]
mov qword [rsp + 0x2c8], rax
lea rax, str._pipe_
mov qword [rsp + 0x2c0], rax
mov rax, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
jmp 0x14002ca70
lea rcx, str.Error:_non_null_row_separator_required_for_import_n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
lea rcx, str.Error:_multi_character_column_separators_not_allowed_for_import_n
call sym.ePutsUtf8.isra.0
jmp 0x140025954
mov rdx, qword [rsp + 0x2c0]
lea rcx, str.__ERROR:__s___n
call sym.oPrintfUtf8
jmp 0x14002a172
mov rcx, rbp
call sym.import_cleanup
jmp 0x14002814f
call sym.sqlite3_step
cmp eax, 0x64
je 0x14002d2cc
mov rcx, qword [rsp + 0xe0]
call sym.sqlite3_finalize
jmp 0x1400259bb
mov rcx, qword [r15]
call sym.sqlite3_errmsg
xor edx, edx
lea rcx, str._s_failed:_n_s_n
mov r8, rax
call sym.ePrintfUtf8
mov rcx, rbp
call sym.import_cleanup
jmp 0x140025954
mov rcx, qword [rsp + 0xe0]
xor edx, edx
call sym.sqlite3_column_int
mov rcx, qword [rsp + 0xe0]
mov ebx, eax
call sym.sqlite3_finalize
xor ecx, ecx
mov qword [rsp + 0xe0], rcx
test ebx, ebx
je 0x1400259bb
lea eax, [rbx + rbx]
cdqe
lea rcx, [rax + rsi*2 + 0x14]
call sym.sqlite3_malloc64
mov r13, rax
test rax, rax
je 0x14002d27d
mov r9, qword [rsp + 0x60]
lea ecx, [rsi + 0x14]
test r9, r9
je 0x14002d502
mov qword [rsp + 0x20], r14
lea r8, str.INSERT_INTO___w_.__w__VALUES__
mov rdx, rax
call sym.sqlite3_snprintf
mov rax, r13
jmp 0x14002d345
add rax, 1
cmp byte [rax], 0
jne 0x14002d341
sub rax, r13
xor edx, edx
and eax, 0x3fffffff
mov rcx, rax
lea r8, [r13 + rax]
movzx eax, word [0x14015edc0]
jmp 0x14002d36b
mov word [r8 + rdx*2 - 2], ax
add rdx, 1
cmp ebx, edx
jg 0x14002d365
lea eax, [rbx - 1]
xor edx, edx
mov r12, rax
add rax, rax
test ebx, ebx
cmovle rax, rdx
add rax, r13
add rax, rcx
cmp dword [rsp + 0x84], 1
mov byte [rax], 0x29
mov byte [rax + 1], 0
jle 0x14002d3aa
mov rdx, r13
lea rcx, str.Insert_using:__s_n
call sym.oPrintfUtf8
xor edx, edx
mov r9, rdi
or r8d, 0xffffffff
mov qword [rsp + 0x20], rdx
mov rcx, qword [r15]
mov rdx, r13
call sym.sqlite3_prepare_v2
mov rcx, r13
mov esi, eax
call sym.sqlite3_free
mov rcx, qword [r15]
test esi, esi
jne 0x14002d6ef
call sym.sqlite3_get_autocommit
mov esi, eax
test eax, eax
jne 0x14002d722
mov dword [rsp + 0x50], esi
xor r14d, r14d
mov edi, dword [rsp + 0x2e8]
test ebx, ebx
jle 0x14002d699
xor r13d, r13d
jmp 0x14002d451
test r8, r8
je 0x14002d519
mov qword [rsp + 0x20], 0xffffffffffffffff
lea esi, [r13 + 1]
mov rcx, qword [rsp + 0xe0]
mov r9d, 0xffffffff
mov edx, esi
call sym.sqlite3_bind_text
cmp r12d, r13d
jle 0x14002d446
mov eax, dword [rsp + 0x2fc]
cmp dword [rsp + 0x2f8], eax
jne 0x14002d5f4
cmp ebx, esi
jle 0x14002d54b
mov r13d, esi
mov rax, qword [rsp + 0x58]
mov rcx, rbp
call rax
test r13d, r13d
mov r8, rax
sete al
test r8, r8
jne 0x14002d46d
test al, al
jne 0x14002d487
cmp dword [r15 + 0x54], 0xa
jne 0x14002d402
test r8, r8
je 0x14002d519
cmp byte [r8], 0
jne 0x14002d40b
test al, al
je 0x14002d40b
mov eax, dword [rsp + 0x2fc]
xor esi, esi
cmp dword [rsp + 0x2f8], eax
je 0x14002d6af
cmp esi, ebx
jge 0x14002d55f
cmp dword [rsp + 0x2f8], 0xffffffff
je 0x14002d59a
mov edi, dword [rsp + 0x2e8]
jmp 0x14002d3fd
mov rdx, qword [rsp + 0x2c0]
lea rcx, str._s:_empty_file_n
call sym.ePrintfUtf8
mov rcx, rbp
call sym.import_cleanup
jmp 0x140025954
mov rsi, qword [r15 + 0x38]
xor ecx, ecx
mov r13, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
call r13
cmp rsi, rax
jne 0x14002cc39
mov rcx, qword [r15 + 0x40]
jmp 0x14002cc44
mov r9, r14
lea r8, str.INSERT_INTO___w__VALUES__
mov rdx, rax
call sym.sqlite3_snprintf
jmp 0x14002d33c
xor r8d, r8d
lea rdx, [sym.csv_read_one_field]
cmp qword [rsp + 0x58], rdx
jne 0x14002d40b
cmp r12d, r13d
jne 0x14002d543
lea r8, [0x140150568]
test r13d, r13d
jne 0x14002d40b
xor r8d, r8d
jmp 0x14002d40b
mov eax, dword [rsp + 0x2fc]
cmp dword [rsp + 0x2f8], eax
je 0x14002d6af
mov rcx, qword [rsp + 0xe0]
call sym.sqlite3_step
mov rcx, qword [rsp + 0xe0]
call sym.sqlite3_reset
mov r14d, eax
test eax, eax
jne 0x14002d66a
add dword [rsp + 0x2ec], 1
cmp dword [rsp + 0x2f8], 0xffffffff
jne 0x14002d3ee
mov rcx, rbp
mov esi, dword [rsp + 0x50]
call sym.import_cleanup
mov rcx, qword [rsp + 0xe0]
call sym.sqlite3_finalize
test esi, esi
jne 0x14002d649
cmp dword [rsp + 0x84], 0
je 0x14002595a
mov eax, dword [rsp + 0x2e8]
mov r8d, dword [rsp + 0x2f0]
lea rcx, str.Added__d_rows_with__d_errors_using__d_lines_of_input_n
mov edx, dword [rsp + 0x2ec]
lea r9d, [rax - 1]
call sym.oPrintfUtf8
jmp 0x14002595a
mov dword [rsp + 0x20], esi
mov r9d, ebx
mov r8d, edi
lea rcx, str._s:_d:_expected__d_columns_but_found__d___filling_the_rest_with_NULL_n
mov rdx, qword [rsp + 0x2c0]
lea esi, [r13 + 3]
call sym.ePrintfUtf8
lea edx, [r13 + 2]
cmp ebx, edx
jl 0x14002d446
mov r13d, edx
mov rcx, qword [rsp + 0xe0]
mov edx, r13d
mov esi, r13d
add r13d, 1
call sym.sqlite3_bind_null
cmp ebx, r13d
jge 0x14002d625
add esi, 2
jmp 0x14002d446
xor eax, eax
xor r9d, r9d
lea rdx, [0x140154cf8]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, qword [r15]
call sym.sqlite3_exec
jmp 0x14002d5bb
mov rcx, qword [r15]
call sym.sqlite3_errmsg
mov rdx, qword [rsp + 0x2c0]
mov r8d, edi
lea rcx, str._s:_d:_INSERT_failed:__s_n
mov r9, rax
call sym.ePrintfUtf8
add dword [rsp + 0x2f0], 1
jmp 0x14002d58c
mov eax, dword [rsp + 0x2f8]
cmp dword [rsp + 0x2fc], eax
jne 0x14002d55f
xor esi, esi
mov rax, qword [rsp + 0x58]
mov rcx, rbp
add esi, 1
call rax
mov eax, dword [rsp + 0x2fc]
cmp dword [rsp + 0x2f8], eax
je 0x14002d6af
mov dword [rsp + 0x20], esi
mov r9d, ebx
mov r8d, edi
lea rcx, str._s:_d:_expected__d_columns_but_found__d___extras_ignored_n
mov rdx, qword [rsp + 0x2c0]
call sym.ePrintfUtf8
jmp 0x14002d49d
call sym.sqlite3_errmsg
lea rcx, str.Error:__s_n
mov rdx, rax
call sym.ePrintfUtf8
mov rcx, qword [rsp + 0xe0]
test rcx, rcx
je 0x14002d715
call sym.sqlite3_finalize
mov rcx, rbp
call sym.import_cleanup
jmp 0x140025954
xor eax, eax
xor r9d, r9d
lea rdx, [0x140153c8a]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, qword [r15]
call sym.sqlite3_exec
jmp 0x14002d3e7