Function at 0x493018
Capabilities:
Query environment variable

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x558
mov eax, dword [ecx]
mov dword [ebp - 0x530], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x52c], eax
call fcn.0048f430
mov eax, dword [sym.imp.msvcrt.dll__iob]
xor edx, edx
mov dword [ebp - 0x528], 0
call fcn.00486705
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 4
mov dword [esp + 4], 0
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_setvbuf
mov ebx, dword [sym.imp.msvcrt.dll__isatty]
mov dword [esp], 0
call ebx
mov dword [esp], 1
mov dword [0x4975c8], eax
call ebx
mov dword [0x4975c4], eax
call fcn.004055db
mov dword [esp + 4], 0x4a8ed0
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
mov dword [ebp - 0x534], eax
je 0x4930f2
call fcn.004055db
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 0xc], 0x4a8ed0
mov dword [esp + 4], str.SQLite_header_and_source_version_mismatch_n_s_n_s_n
add eax, 0x40
mov dword [esp], eax
call fcn.00487932
jmp 0x49327e
lea ebx, [ebp - 0x50c]
mov eax, dword [ebp - 0x534]
mov ecx, 0x13d
mov edi, ebx
rep stosd dword es:[edi], eax
mov dword [esp + 4], 1
mov dword [esp], 0x11
mov dword [ebp - 0x4d8], 2
mov dword [ebp - 0x4d4], 2
mov dword [ebp - 0x4d0], 2
mov dword [ebp - 0x504], 1
mov word [ebp - 0x49a], 0x7c
mov word [ebp - 0x486], 0xa
mov dword [ebp - 0x4c0], 4
call fcn.00416d6b
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x488b90
mov dword [esp], 0x10
call fcn.00416d6b
mov dword [esp], 2
call fcn.00416d6b
mov dword [esp + 8], str.sqlite_
mov dword [esp + 4], 0x4ab488
mov dword [esp], 0x14
call fcn.00421a93
mov dword [esp + 8], str.___..._
mov dword [esp + 4], 0x4ab474
mov dword [esp], 0x14
call fcn.00421a93
cmp dword [ebp - 0x530], 0
jle 0x4931d8
cmp dword [ebp - 0x52c], 0
je 0x4931d8
mov eax, dword [ebp - 0x52c]
cmp dword [eax], 0
jne 0x4931f4
mov dword [esp + 8], 0x16c1
mov dword [esp + 4], str..._1_src_shell.c
mov dword [esp], str.argc_1__argv__argv_0_
call fcn.004909d0
mov eax, dword [ebp - 0x52c]
mov dword [ebp - 0x53c], 0
mov ebx, 1
mov dword [ebp - 0x540], 0
mov dword [ebp - 0x548], 1
mov dword [ebp - 0x538], 0
mov eax, dword [eax]
mov dword [0x4ab49c], eax
jmp 0x493336
inc dword [ebp - 0x540]
mov eax, dword [ebp - 0x540]
lea edi, [eax*4]
mov eax, dword [ebp - 0x53c]
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt.dll_realloc
test eax, eax
mov dword [ebp - 0x53c], eax
jne 0x493359
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp], str.out_of_memory_n
add eax, 0x40
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
mov dword [esp], 1
call sub.msvcrt.dll_exit
mov eax, dword [ebp - 0x52c]
mov esi, dword [eax + ebx*4]
cmp byte [esi], 0x2d
jne 0x493347
xor eax, eax
cmp byte [esi + 1], 0x2d
mov dword [esp + 4], str._separator
sete al
add esi, eax
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x4933a6
mov dword [esp + 4], str._nullvalue
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x4933a6
mov dword [esp + 4], str._newline
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x4933a6
mov dword [esp + 4], str._cmd
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x4933a6
mov dword [esp + 4], str._init
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x493372
mov edx, dword [ebp - 0x52c]
mov eax, dword [ebp - 0x530]
inc ebx
mov ecx, ebx
call fcn.00488bdb
mov dword [ebp - 0x538], eax
inc ebx
cmp ebx, dword [ebp - 0x530]
jl 0x49328a
jmp 0x49364d
cmp dword [ebp - 0x38], 0
jne 0x493233
mov dword [ebp - 0x38], esi
jmp 0x49329c
mov eax, dword [ebp - 0x53c]
mov dword [ebp - 0x548], 0
mov dword [eax + edi - 4], esi
jmp 0x49329c
mov dword [esp + 4], str._batch
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x493392
mov dword [0x4975c8], 0
jmp 0x493335
mov dword [esp + 4], str._heap
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x4933bf
mov edx, dword [ebp - 0x52c]
mov eax, dword [ebp - 0x530]
inc ebx
mov ecx, ebx
call fcn.00488bdb
jmp 0x493335
mov dword [esp + 4], str._scratch
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x493472
mov edx, dword [ebp - 0x52c]
mov eax, dword [ebp - 0x530]
lea ecx, [ebx + 1]
call fcn.00488bdb
call fcn.0048673a
cmp eax, 0x61a80
mov esi, eax
jg 0x493408
cmp eax, 0x9c3
mov eax, 0x9c4
cmovle esi, eax
jmp 0x49340d
mov esi, 0x61a80
mov edx, dword [ebp - 0x52c]
mov eax, dword [ebp - 0x530]
add ebx, 2
mov ecx, ebx
call fcn.00488bdb
call fcn.0048673a
cmp eax, 0xa
mov edi, eax
jg 0x49343b
test eax, eax
mov eax, 1
cmovle edi, eax
jmp 0x493440
mov edi, 0xa
mov eax, edi
imul eax, esi
inc eax
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], 6
call fcn.00416d6b
or dword [ebp - 0x4c0], 1
jmp 0x493335
mov dword [esp + 4], str._pagecache
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x493517
mov edx, dword [ebp - 0x52c]
mov eax, dword [ebp - 0x530]
lea ecx, [ebx + 1]
call fcn.00488bdb
call fcn.0048673a
cmp eax, 0x11170
mov esi, eax
jg 0x4934b8
test eax, eax
mov eax, 0
cmovs esi, eax
jmp 0x4934bd
mov esi, 0x11170
mov edx, dword [ebp - 0x52c]
mov eax, dword [ebp - 0x530]
add ebx, 2
mov ecx, ebx
call fcn.00488bdb
call fcn.0048673a
test eax, eax
mov edi, eax
jle 0x4934f1
test esi, esi
jle 0x4934f1
mov eax, esi
imul eax, edi
mov dword [esp], eax
call sub.msvcrt.dll_malloc
jmp 0x4934f3
xor eax, eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], 7
call fcn.00416d6b
or dword [ebp - 0x4c0], 2
jmp 0x493335
mov dword [esp + 4], str._lookaside
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x493598
mov edx, dword [ebp - 0x52c]
mov eax, dword [ebp - 0x530]
lea ecx, [ebx + 1]
xor edi, edi
call fcn.00488bdb
call fcn.0048673a
test eax, eax
mov edx, dword [ebp - 0x52c]
cmovs eax, edi
add ebx, 2
mov esi, eax
mov eax, dword [ebp - 0x530]
mov ecx, ebx
call fcn.00488bdb
call fcn.0048673a
test eax, eax
mov dword [esp + 4], esi
mov dword [esp], 0xd
cmovns edi, eax
mov dword [esp + 8], edi
imul edi, esi
call fcn.00416d6b
test edi, edi
jne 0x493335
and dword [ebp - 0x4c0], 0xfffffffb
jmp 0x493335
mov dword [esp + 4], str._mmap
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x4935e6
mov edx, dword [ebp - 0x52c]
mov eax, dword [ebp - 0x530]
inc ebx
mov ecx, ebx
call fcn.00488bdb
call fcn.0048673a
mov dword [esp], 0x16
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00416d6b
jmp 0x493335
mov dword [esp + 4], str._vfs
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x493335
mov edx, dword [ebp - 0x52c]
mov eax, dword [ebp - 0x530]
inc ebx
mov ecx, ebx
call fcn.00488bdb
mov dword [esp], eax
call fcn.0041723e
test eax, eax
je 0x493633
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.004172ba
jmp 0x493335
mov eax, dword [ebp - 0x52c]
mov eax, dword [eax + ebx*4]
mov dword [esp + 4], str.no_such_VFS:___s__n
mov dword [esp + 8], eax
jmp 0x49386a
cmp dword [ebp - 0x38], 0
mov dword [ebp - 0x544], 0
jne 0x493676
xor eax, eax
cmp dword [ebp - 0x530], 1
mov dword [ebp - 0x38], str.:memory:
sete al
mov dword [ebp - 0x544], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 4], 0
add eax, 0x20
mov dword [ebp - 0x4e4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__access]
test eax, eax
jne 0x4936a9
lea eax, [ebp - 0x50c]
xor edx, edx
call fcn.00489989
xor esi, esi
cmp dword [ebp - 0x538], 0
jne 0x493714
mov ebx, dword [0x4ab460]
test ebx, ebx
jne 0x4936f7
mov dword [esp], str.USERPROFILE
call sub.msvcrt.dll_getenv
mov dword [0x4ab460], eax
call fcn.00487147
test eax, eax
mov ebx, eax
jne 0x4936f7
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp], str.___warning:_cannot_find_home_directory__cannot_read__.sqliterc_n
add eax, 0x40
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
jmp 0x493778
call fcn.00416f1d
mov dword [esp + 4], ebx
mov dword [esp], str._s_.sqliterc
call fcn.00433b08
mov dword [ebp - 0x538], eax
mov esi, eax
mov eax, dword [ebp - 0x538]
mov dword [esp + 4], 0x4a6507
mov dword [esp], eax
call sub.msvcrt.dll_fopen
test eax, eax
mov ebx, eax
je 0x493770
cmp dword [0x4975c8], 0
je 0x49375b
mov eax, dword [ebp - 0x538]
mov dword [esp + 4], str.___Loading_resources_from__s_n
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call fcn.00487932
lea eax, [ebp - 0x50c]
mov edx, ebx
call fcn.0048eef6
mov dword [esp], ebx
call sub.msvcrt.dll_fclose
mov dword [esp], esi
call fcn.00409a90
mov eax, dword [ebp - 0x530]
xor edi, edi
mov esi, 1
dec eax
mov dword [ebp - 0x538], eax
jmp 0x49388e
mov dword [esp + 4], str._heap
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x493c6c
mov dword [esp + 4], str._scratch
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x493c64
mov dword [esp + 4], str._pagecache
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x493c64
mov dword [esp + 4], str._lookaside
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x493c64
mov dword [esp + 4], str._mmap
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x493c6c
mov dword [esp + 4], str._vfs
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x493c6c
mov dword [esp + 4], str._help
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x493c72
mov eax, dword [0x4ab49c]
mov dword [esp + 4], str.Usage:__s__OPTIONS__FILENAME__SQL__nFILENAME_is_the_name_of_an_SQLite_database._A_new_database_is_created_nif_the_file_does_not_previously_exist._n
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call fcn.00487932
mov dword [esp + 8], str.____ascii_______________set_output_mode_to_ascii_n____bail________________stop_after_hitting_an_error_n____batch_______________force_batch_I_O_n____column______________set_output_mode_to_column_n____cmd_COMMAND_________run__COMMAND__before_reading_stdin_n____csv_________________set_output_mode_to_csv_n____echo________________print_commands_before_execution_n____init_FILENAME_______read_process_named_file_n_____no_header__________turn_headers_on_or_off_n____help________________show_this_message_n____html________________set_output_mode_to_HTML_n____interactive_________force_interactive_I_O_n____line________________set_output_mode_to_line_n____list________________set_output_mode_to_list_n____lookaside_SIZE_N____use_N_entries_of_SZ_bytes_for_lookaside_memory_n____mmap_N______________default_mmap_size_set_to_N_n____newline_SEP_________set_output_row_separator._Default:__n_n____nullvalue_TEXT______set_text_string_for_NULL_values._Default__n____pagecache_SIZE_N____use_N_slots_of_SZ_bytes_each_for_page_cache_memory_n____scratch_SIZE_N______use_N_slots_of_SZ_bytes_each_for_scratch_memory_n____separator_SEP_______set_output_column_separator._Default:__n____stats_______________print_memory_stats_before_each_finalize_n____version_____________show_SQLite_version_n____vfs_NAME____________use_NAME_as_the_default_VFS_n
mov dword [esp + 4], str.OPTIONS_include:_n_s
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call fcn.00487932
jmp 0x49327e
mov eax, dword [ebp - 0x52c]
mov ebx, dword [eax + esi*4]
cmp byte [ebx], 0x2d
je 0x49389b
inc esi
cmp esi, dword [ebp - 0x530]
jl 0x49387f
jmp 0x493c92
xor eax, eax
cmp byte [ebx + 1], 0x2d
mov dword [esp + 4], str._init
sete al
add ebx, eax
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x493c6c
mov dword [esp + 4], str._html
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x4938e1
mov dword [ebp - 0x4d8], 4
jmp 0x493dda
mov dword [esp + 4], str._list
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x493904
mov dword [ebp - 0x4d8], 2
jmp 0x493dda
mov dword [esp + 4], str._line
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x493927
mov dword [ebp - 0x4d8], 0
jmp 0x493dda
mov dword [esp + 4], str._column
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x49394a
mov dword [ebp - 0x4d8], 1
jmp 0x493dda
mov dword [esp + 4], str._csv
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x493976
mov dword [ebp - 0x4d8], 8
mov word [ebp - 0x49a], 0x2c
jmp 0x493dda
mov dword [esp + 4], str._ascii
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x4939d5
lea eax, [ebp - 0x49a]
mov dword [esp + 8], 0x4a8337
mov dword [esp], 0x14
mov dword [ebp - 0x4d8], 0xa
mov dword [esp + 4], eax
call fcn.00421a93
lea eax, [ebp - 0x486]
mov dword [esp + 8], 0x4a8339
mov dword [esp], 0x14
mov dword [esp + 4], eax
call fcn.00421a93
jmp 0x493dda
mov dword [esp + 4], str._separator
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x493a11
mov edx, dword [ebp - 0x52c]
mov eax, dword [ebp - 0x530]
inc esi
mov ecx, esi
call fcn.00488bdb
mov dword [esp + 8], 0x4a6a55
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x49a]
jmp 0x493a4b
mov dword [esp + 4], str._newline
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x493a60
mov edx, dword [ebp - 0x52c]
mov eax, dword [ebp - 0x530]
inc esi
mov ecx, esi
call fcn.00488bdb
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x486]
mov dword [esp + 8], 0x4a6a55
mov dword [esp + 4], eax
mov dword [esp], 0x14
call fcn.00421a93
jmp 0x493dda
mov dword [esp + 4], str._nullvalue
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x493a9c
mov edx, dword [ebp - 0x52c]
mov eax, dword [ebp - 0x530]
inc esi
mov ecx, esi
call fcn.00488bdb
mov dword [esp + 8], 0x4a6a55
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x150]
jmp 0x493a4b
mov dword [esp + 4], str._header
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x493abf
mov dword [ebp - 0x4c8], 1
jmp 0x493dda
mov dword [esp + 4], str._noheader
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x493ae2
mov dword [ebp - 0x4c8], 0
jmp 0x493dda
mov dword [esp + 4], str._echo
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x493b05
mov dword [ebp - 0x508], 1
jmp 0x493dda
mov dword [esp + 4], str._eqp
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x493b28
mov dword [ebp - 0x500], 1
jmp 0x493dda
mov dword [esp + 4], str._eqpfull
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x493b4b
mov dword [ebp - 0x500], 2
jmp 0x493dda
mov dword [esp + 4], str._stats
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x493b6e
mov dword [ebp - 0x4fc], 1
jmp 0x493dda
mov dword [esp + 4], str._scanstats
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x493b91
mov dword [ebp - 0x4f8], 1
jmp 0x493dda
mov dword [esp + 4], str._backslash
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x493bb4
mov dword [ebp - 0x4f0], 1
jmp 0x493dda
mov dword [esp + 4], str._bail
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x493bd7
mov dword [0x4ab4a4], 1
jmp 0x493dda
mov dword [esp + 4], str._version
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x493c1a
call fcn.004055db
mov ebx, eax
call fcn.004055d1
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], str._s__s_n
call sub.msvcrt.dll_printf
mov dword [ebp - 0x534], 0
jmp 0x49404f
mov dword [esp + 4], str._interactive
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x493c3d
mov dword [0x4975c8], 1
jmp 0x493dda
mov dword [esp + 4], str._batch
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x493791
mov dword [0x4975c8], 0
jmp 0x493dda
add esi, 2
jmp 0x493dda
inc esi
jmp 0x493dda
mov dword [esp + 4], str._cmd
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x493d8e
cmp esi, dword [ebp - 0x538]
jne 0x493ca6
xor ebx, ebx
cmp dword [ebp - 0x548], 0
je 0x493dee
jmp 0x493ec3
mov edx, dword [ebp - 0x52c]
mov eax, dword [ebp - 0x530]
inc esi
mov ecx, esi
call fcn.00488bdb
cmp byte [eax], 0x2e
mov ebx, eax
jne 0x493cf2
lea edx, [ebp - 0x50c]
call fcn.0048a1e4
test eax, eax
mov edi, eax
je 0x493dda
cmp dword [0x4ab4a4], 0
je 0x493dda
cmp eax, 2
cmove edi, dword [ebp - 0x534]
jmp 0x494049
lea eax, [ebp - 0x50c]
xor edx, edx
call fcn.00489989
lea eax, [ebp - 0x528]
lea ecx, [ebp - 0x50c]
mov edx, ebx
mov dword [esp], eax
mov eax, dword [ebp - 0x50c]
call fcn.00489afc
mov edi, eax
mov eax, dword [ebp - 0x528]
test eax, eax
je 0x493d60
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 4], str.Error:__s_n
add eax, 0x40
mov dword [esp], eax
call fcn.00487932
cmp dword [0x4ab4a4], 0
je 0x493dda
mov dword [ebp - 0x534], edi
test edi, edi
jne 0x49404f
jmp 0x493dcb
test edi, edi
je 0x493dda
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Error:_unable_to_process_SQL___s__n
add eax, 0x40
mov dword [esp], eax
call fcn.00487932
cmp dword [0x4ab4a4], 0
je 0x493dda
jmp 0x494049
mov eax, dword [0x4ab49c]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], str._s:_Error:_unknown_option:__s_n
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call fcn.00487932
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp], str.Use__help_for_a_list_of_options._n
add eax, 0x40
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
mov dword [ebp - 0x534], 1
jmp 0x49404f
mov eax, dword [ebp - 0x4d8]
mov dword [ebp - 0x4d4], eax
jmp 0x49388d
inc ebx
xor edi, edi
cmp ebx, dword [ebp - 0x540]
mov eax, dword [ebp - 0x53c]
je 0x493ebb
mov edi, dword [eax + ebx*4]
cmp byte [edi], 0x2e
jne 0x493e2e
lea edx, [ebp - 0x50c]
mov eax, edi
call fcn.0048a1e4
test eax, eax
je 0x493deb
cmp eax, 2
cmove eax, dword [ebp - 0x534]
mov dword [ebp - 0x534], eax
jmp 0x49404f
lea eax, [ebp - 0x50c]
xor edx, edx
call fcn.00489989
lea eax, [ebp - 0x528]
lea ecx, [ebp - 0x50c]
mov edx, edi
mov dword [esp], eax
mov eax, dword [ebp - 0x50c]
call fcn.00489afc
mov edx, dword [ebp - 0x528]
mov esi, eax
test edx, edx
je 0x493e8c
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], edx
mov dword [esp + 4], str.Error:__s_n
lea edx, [eax + 0x40]
mov dword [esp], edx
call fcn.00487932
mov dword [ebp - 0x534], esi
test esi, esi
jmp 0x493d58
test eax, eax
je 0x493deb
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], edi
mov dword [esp + 4], str.Error:_unable_to_process_SQL:__s_n
lea edx, [eax + 0x40]
mov dword [esp], edx
call fcn.00487932
mov dword [ebp - 0x534], esi
jmp 0x49404f
mov dword [esp], eax
jmp 0x493fdf
cmp dword [0x4975c8], 0
je 0x493fe6
call fcn.004055db
mov ebx, eax
call fcn.004055d1
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], str.SQLite_version__s__.19s_nEnter__.help__for_usage_hints._n
call sub.msvcrt.dll_printf
cmp dword [ebp - 0x544], 0
je 0x493f71
mov dword [esp], str.Connected_to_a
call sub.msvcrt.dll_printf
mov dword [esp], 0xfffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebx, eax
push edx
lea eax, [ebp - 0x522]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
push ecx
push ecx
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov dword [esp + 4], 0xc
mov dword [esp], ebx
call esi
push edi
push edi
mov dword [esp + 4], str.transient_in_memory_database
mov dword [esp], 0x4a6a55
call sub.msvcrt.dll_printf
movzx eax, word [ebp - 0x51a]
mov dword [esp], ebx
mov dword [esp + 4], eax
call esi
push eax
push eax
mov dword [esp], str.._nUse__.open_FILENAME__to_reopen_on_a_persistent_database.
call sub.msvcrt.dll_puts
mov esi, dword [0x4ab460]
test esi, esi
jne 0x493f99
mov dword [esp], str.USERPROFILE
xor ebx, ebx
call sub.msvcrt.dll_getenv
mov dword [0x4ab460], eax
call fcn.00487147
test eax, eax
mov esi, eax
je 0x493fc9
mov eax, esi
call fcn.00486020
lea edi, [eax + 0x14]
mov dword [esp], edi
call sub.msvcrt.dll_malloc
test eax, eax
mov ebx, eax
je 0x493fc9
mov dword [esp + 0xc], esi
mov dword [esp + 8], str._s_.sqlite_history
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00421a93
lea eax, [ebp - 0x50c]
xor edx, edx
call fcn.0048eef6
test ebx, ebx
mov edi, eax
je 0x493ff9
mov dword [esp], ebx
call fcn.00490ccc
jmp 0x493ff9
mov edx, dword [sym.imp.msvcrt.dll__iob]
lea eax, [ebp - 0x50c]
call fcn.0048eef6
mov edi, eax
mov eax, dword [ebp - 0x4bc]
test eax, eax
je 0x494015
mov dword [esp], eax
call fcn.00490ccc
mov dword [ebp - 0x4bc], 0
mov eax, dword [ebp - 0x50c]
test eax, eax
je 0x494027
mov dword [esp], eax
call fcn.0044f1c5
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call fcn.00409a90
mov eax, dword [0x4ab460]
mov dword [esp], eax
call fcn.00490ccc
mov dword [0x4ab460], 0
mov dword [ebp - 0x534], edi
mov eax, dword [ebp - 0x534]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret