Function at 0x409c6e
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x650]
sub esp, 0x6d0
mov eax, dword [0x4b6084]
xor eax, ebp
mov dword [ebp + 0x64c], eax
mov dword [ebp - 0x24], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp + 0x660]
mov dword [ebp + eax - 0x20], ecx
and dword [ebp - 0x38], 0
and dword [ebp - 0x5c], 0
and dword [ebp - 0x18], 0
and dword [ebp - 0x74], 0
mov dword [ebp - 0x68], 1
and dword [ebp - 0x40], 0
and dword [ebp - 0x28], 0
push 0x4a1688
call fcn.0040c6c5
push eax
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
je 0x409cfd
push 0x4a16c8
call fcn.0040c6c5
push eax
push str.SQLite_header_and_source_version_mismatch_n_s_n_s_n
push 2
call fcn.00487c90
pop ecx
push eax
call fcn.0040aa3c
add esp, 0x10
push 1
call fcn.00486d64
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x20]
mov dword [0x4b6adc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004069e3
pop ecx
push 0
call fcn.0048cb75
pop ecx
mov dword [section..data], eax
mov dword [ebp - 0x10], 1
jmp 0x409d33
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x24]
jge 0x40a186
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x20]
mov dword [ebp - 0x1c], eax
xor eax, eax
inc eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1c]
movsx eax, byte [ecx + eax]
cmp eax, 0x2d
je 0x409dbd
cmp dword [ebp + 0x62c], 0
jne 0x409d6f
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 0x62c], eax
jmp 0x409dbd
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
shl eax, 2
push eax
push dword [ebp - 0x28]
call fcn.00486aa4
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x409db0
push str.out_of_memory_n
push 2
call fcn.00487c90
pop ecx
push eax
call fcn.0040aa3c
pop ecx
pop ecx
push 1
call fcn.00486d64
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + eax*4 - 4], edx
xor eax, eax
inc eax
shl eax, 0
mov ecx, dword [ebp - 0x1c]
movsx eax, byte [ecx + eax]
cmp eax, 0x2d
jne 0x409dd6
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
push 0x4a174c
push dword [ebp - 0x1c]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
je 0x409e22
push 0x4a1758
push dword [ebp - 0x1c]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
je 0x409e22
push 0x4a1764
push dword [ebp - 0x1c]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
je 0x409e22
push 0x4a1770
push dword [ebp - 0x1c]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x409e40
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
call fcn.0040149d
add esp, 0xc
jmp 0x40a181
push 0x4a1778
push dword [ebp - 0x1c]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x409e74
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
call fcn.0040149d
add esp, 0xc
mov dword [ebp - 0x5c], eax
jmp 0x40a181
push 0x4a1780
push dword [ebp - 0x1c]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x409e93
and dword [section..data], 0
jmp 0x40a181
push 0x4a1788
push dword [ebp - 0x1c]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x409eab
jmp 0x40a181
push 0x4a1790
push dword [ebp - 0x1c]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x409f70
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
call fcn.0040149d
add esp, 0xc
push eax
call fcn.004064f9
pop ecx
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x61a80
jle 0x409ef5
mov dword [ebp - 0x30], 0x61a80
cmp dword [ebp - 0x30], 0x9c4
jge 0x409f05
mov dword [ebp - 0x30], 0x9c4
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
call fcn.0040149d
add esp, 0xc
push eax
call fcn.004064f9
pop ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xa
jle 0x409f35
mov dword [ebp - 0x2c], 0xa
cmp dword [ebp - 0x2c], 1
jge 0x409f42
mov dword [ebp - 0x2c], 1
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x30]
inc eax
push eax
call fcn.00486a99
pop ecx
push eax
push 6
call fcn.0046a6d5
add esp, 0x10
mov eax, dword [ebp + 0x28]
or eax, 1
mov dword [ebp + 0x28], eax
jmp 0x40a181
push 0x4a179c
push dword [ebp - 0x1c]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a028
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
call fcn.0040149d
add esp, 0xc
push eax
call fcn.004064f9
pop ecx
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x11170
jle 0x409fba
mov dword [ebp - 0x34], 0x11170
cmp dword [ebp - 0x34], 0x320
jge 0x409fca
mov dword [ebp - 0x34], 0x320
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
call fcn.0040149d
add esp, 0xc
push eax
call fcn.004064f9
pop ecx
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xa
jge 0x409ffa
mov dword [ebp - 0x44], 0xa
push dword [ebp - 0x44]
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0x34]
inc eax
push eax
call fcn.00486a99
pop ecx
push eax
push 7
call fcn.0046a6d5
add esp, 0x10
mov eax, dword [ebp + 0x28]
or eax, 2
mov dword [ebp + 0x28], eax
jmp 0x40a181
push 0x4a17a8
push dword [ebp - 0x1c]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a0c2
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
call fcn.0040149d
add esp, 0xc
push eax
call fcn.004064f9
pop ecx
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jge 0x40a06c
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
call fcn.0040149d
add esp, 0xc
push eax
call fcn.004064f9
pop ecx
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jge 0x40a099
and dword [ebp - 0x4c], 0
push dword [ebp - 0x4c]
push dword [ebp - 0x48]
push 0xd
call fcn.0046a6d5
add esp, 0xc
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x4c]
test eax, eax
jne 0x40a0bd
mov eax, dword [ebp + 0x28]
and eax, 0xfffffffb
mov dword [ebp + 0x28], eax
jmp 0x40a181
push 0x4a17b4
push dword [ebp - 0x1c]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a113
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
call fcn.0040149d
add esp, 0xc
push eax
call fcn.004064f9
pop ecx
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edx
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
push 0x16
call fcn.0046a6d5
add esp, 0x14
jmp 0x40a181
push 0x4a17bc
push dword [ebp - 0x1c]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a181
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
call fcn.0040149d
add esp, 0xc
push eax
call fcn.004119cc
pop ecx
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x40a15d
push 1
push dword [ebp - 0x54]
call fcn.00411a43
pop ecx
pop ecx
jmp 0x40a181
mov eax, dword [ebp - 0x10]
push dword [ebp + eax*4 - 0x20]
push str.no_such_VFS:___s__n
push 2
call fcn.00487c90
pop ecx
push eax
call fcn.0040aa3c
add esp, 0xc
push 1
call fcn.00486d64
jmp 0x409d2c
cmp dword [ebp + 0x62c], 0
jne 0x40a1b2
mov dword [ebp + 0x62c], 0x4a17d8
cmp dword [ebp - 0x24], 1
jne 0x40a1a8
mov dword [ebp - 0x58], 1
jmp 0x40a1ac
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x74], eax
push 1
call fcn.00487c90
pop ecx
mov dword [ebp + 0x10], eax
push 0
push dword [ebp + 0x62c]
call fcn.0048cb08
pop ecx
pop ecx
test eax, eax
jne 0x40a1dd
push 0
lea eax, [ebp - 0xc]
push eax
call fcn.00406b01
pop ecx
pop ecx
push dword [ebp - 0x5c]
lea eax, [ebp - 0xc]
push eax
call fcn.0040774c
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x40a1fc
mov eax, dword [ebp - 0x18]
jmp 0x40aa1b
mov dword [ebp - 0x10], 1
jmp 0x40a20c
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x24]
jge 0x40a7d6
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x20]
mov dword [ebp - 0x14], eax
xor eax, eax
inc eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x14]
movsx eax, byte [ecx + eax]
cmp eax, 0x2d
je 0x40a236
jmp 0x40a205
xor eax, eax
inc eax
shl eax, 0
mov ecx, dword [ebp - 0x14]
movsx eax, byte [ecx + eax]
cmp eax, 0x2d
jne 0x40a24f
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
push 0x4a17e4
push dword [ebp - 0x14]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a26e
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
jmp 0x40a7d1
push str._html
push dword [ebp - 0x14]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a28d
mov dword [ebp + 0x1c], 4
jmp 0x40a7d1
push str._list
push dword [ebp - 0x14]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a2ac
mov dword [ebp + 0x1c], 2
jmp 0x40a7d1
push str._line
push dword [ebp - 0x14]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a2c8
and dword [ebp + 0x1c], 0
jmp 0x40a7d1
push str._column
push dword [ebp - 0x14]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a2e7
mov dword [ebp + 0x1c], 1
jmp 0x40a7d1
push str._csv
push dword [ebp - 0x14]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a319
mov dword [ebp + 0x1c], 7
push 2
push 0x4a1814
lea eax, [ebp + 0x30]
push eax
call fcn.00483670
add esp, 0xc
jmp 0x40a7d1
push str._ascii
push dword [ebp - 0x14]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a35e
mov dword [ebp + 0x1c], 9
push 0x4a1820
lea eax, [ebp + 0x30]
push eax
push 0x14
call fcn.0040d408
add esp, 0xc
push 0x4a1824
lea eax, [ebp + 0x44]
push eax
push 0x14
call fcn.0040d408
add esp, 0xc
jmp 0x40a7d1
push str._separator
push dword [ebp - 0x14]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a3a3
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
call fcn.0040149d
add esp, 0xc
push eax
push 0x4a1834
lea eax, [ebp + 0x30]
push eax
push 0x14
call fcn.0040d408
add esp, 0x10
jmp 0x40a7d1
push str._newline
push dword [ebp - 0x14]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a3e8
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
call fcn.0040149d
add esp, 0xc
push eax
push 0x4a1844
lea eax, [ebp + 0x44]
push eax
push 0x14
call fcn.0040d408
add esp, 0x10
jmp 0x40a7d1
push str._nullvalue
push dword [ebp - 0x14]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a430
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
call fcn.0040149d
add esp, 0xc
push eax
push 0x4a1854
lea eax, [ebp + 0x378]
push eax
push 0x14
call fcn.0040d408
add esp, 0x10
jmp 0x40a7d1
push str._header
push dword [ebp - 0x14]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a44f
mov dword [ebp + 0x24], 1
jmp 0x40a7d1
push str._noheader
push dword [ebp - 0x14]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a46b
and dword [ebp + 0x24], 0
jmp 0x40a7d1
push str._echo
push dword [ebp - 0x14]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a48a
mov dword [ebp - 8], 1
jmp 0x40a7d1
push str._eqp
push dword [ebp - 0x14]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a4a9
mov dword [ebp - 4], 1
jmp 0x40a7d1
push str._stats
push dword [ebp - 0x14]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a4c8
mov dword [ebp], 1
jmp 0x40a7d1
push str._scanstats
push dword [ebp - 0x14]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a4e7
mov dword [ebp + 4], 1
jmp 0x40a7d1
push str._bail
push dword [ebp - 0x14]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a509
mov dword [0x4b6ad0], 1
jmp 0x40a7d1
push str._version
push dword [ebp - 0x14]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a541
call fcn.0040c6c5
push eax
call fcn.0040c6bb
push eax
push str._s__s_n
call fcn.0040aa77
add esp, 0xc
xor eax, eax
jmp 0x40aa1b
push str._interactive
push dword [ebp - 0x14]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a563
mov dword [section..data], 1
jmp 0x40a7d1
push str._batch
push dword [ebp - 0x14]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a582
and dword [section..data], 0
jmp 0x40a7d1
push str._heap
push dword [ebp - 0x14]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a5a1
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
jmp 0x40a7d1
push str._scratch
push dword [ebp - 0x14]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a5c1
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
jmp 0x40a7d1
push str._pagecache
push dword [ebp - 0x14]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a5e1
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
jmp 0x40a7d1
push str._lookaside
push dword [ebp - 0x14]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a601
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
jmp 0x40a7d1
push str._mmap
push dword [ebp - 0x14]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a620
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
jmp 0x40a7d1
push str._vfs
push dword [ebp - 0x14]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a63f
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
jmp 0x40a7d1
push str._help
push dword [ebp - 0x14]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a65f
push 1
call fcn.00409b62
pop ecx
jmp 0x40a7d1
push str._cmd
push dword [ebp - 0x14]
call fcn.004867d0
pop ecx
pop ecx
test eax, eax
jne 0x40a795
mov eax, dword [ebp - 0x24]
dec eax
cmp dword [ebp - 0x10], eax
jne 0x40a684
jmp 0x40a7d6
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
call fcn.0040149d
add esp, 0xc
mov dword [ebp - 0x14], eax
xor eax, eax
inc eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x14]
movsx eax, byte [ecx + eax]
cmp eax, 0x2e
jne 0x40a6f1
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x14]
call fcn.00401c87
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40a6ec
cmp dword [0x4b6ad0], 0
je 0x40a6ec
cmp dword [ebp - 0x18], 2
jne 0x40a6de
and dword [ebp - 0x60], 0
jmp 0x40a6e4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
jmp 0x40aa1b
jmp 0x40a793
push 0
lea eax, [ebp - 0xc]
push eax
call fcn.00406b01
pop ecx
pop ecx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xc]
push eax
push fcn.00407f72
push dword [ebp - 0x14]
push dword [ebp - 0xc]
call fcn.00408d6a
add esp, 0x14
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x38], 0
je 0x40a763
push dword [ebp - 0x38]
push 0x4a1910
push 2
call fcn.00487c90
pop ecx
push eax
call fcn.0040aa3c
add esp, 0xc
cmp dword [0x4b6ad0], 0
je 0x40a761
cmp dword [ebp - 0x18], 0
je 0x40a752
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x64], eax
jmp 0x40a759
mov dword [ebp - 0x64], 1
mov eax, dword [ebp - 0x64]
jmp 0x40aa1b
jmp 0x40a793
cmp dword [ebp - 0x18], 0
je 0x40a793
push dword [ebp - 0x14]
push str.Error:_unable_to_process_SQL___s__n
push 2
call fcn.00487c90
pop ecx
push eax
call fcn.0040aa3c
add esp, 0xc
cmp dword [0x4b6ad0], 0
je 0x40a793
mov eax, dword [ebp - 0x18]
jmp 0x40aa1b
jmp 0x40a7d1
push dword [ebp - 0x14]
push dword [0x4b6adc]
push str._s:_Error:_unknown_option:__s_n
push 2
call fcn.00487c90
pop ecx
push eax
call fcn.0040aa3c
add esp, 0x10
push str.Use__help_for_a_list_of_options._n
push 2
call fcn.00487c90
pop ecx
push eax
call fcn.0040aa3c
pop ecx
pop ecx
xor eax, eax
inc eax
jmp 0x40aa1b
jmp 0x40a205
cmp dword [ebp - 0x68], 0
jne 0x40a8fc
and dword [ebp - 0x10], 0
jmp 0x40a7ed
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x40]
jge 0x40a8ee
xor eax, eax
inc eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + ecx*4]
movsx eax, byte [ecx + eax]
cmp eax, 0x2e
jne 0x40a84d
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
push dword [ecx + eax*4]
call fcn.00401c87
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40a848
cmp dword [ebp - 0x18], 2
jne 0x40a83a
and dword [ebp - 0x6c], 0
jmp 0x40a840
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
jmp 0x40aa1b
jmp 0x40a8e9
push 0
lea eax, [ebp - 0xc]
push eax
call fcn.00406b01
pop ecx
pop ecx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xc]
push eax
push fcn.00407f72
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
push dword [ecx + eax*4]
push dword [ebp - 0xc]
call fcn.00408d6a
add esp, 0x14
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x38], 0
je 0x40a8bc
push dword [ebp - 0x38]
push str.Error:__s_n
push 2
call fcn.00487c90
pop ecx
push eax
call fcn.0040aa3c
add esp, 0xc
cmp dword [ebp - 0x18], 0
je 0x40a8ab
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x70], eax
jmp 0x40a8b2
mov dword [ebp - 0x70], 1
mov eax, dword [ebp - 0x70]
jmp 0x40aa1b
cmp dword [ebp - 0x18], 0
je 0x40a8e9
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
push dword [ecx + eax*4]
push str.Error:_unable_to_process_SQL:__s_n
push 2
call fcn.00487c90
pop ecx
push eax
call fcn.0040aa3c
add esp, 0xc
mov eax, dword [ebp - 0x18]
jmp 0x40aa1b
jmp 0x40a7e6
push dword [ebp - 0x28]
call fcn.00486a94
pop ecx
jmp 0x40a9d6
cmp dword [section..data], 0
je 0x40a9bf
and dword [ebp - 0x3c], 0
call fcn.0040c6c5
push eax
call fcn.0040c6bb
push eax
push str.SQLite_version__s__.19s_nEnter__.help__for_usage_hints._n
call fcn.0040aa77
add esp, 0xc
cmp dword [ebp - 0x74], 0
je 0x40a94d
push str.Connected_to_a
call fcn.0040aa77
pop ecx
push str.transient_in_memory_database
call fcn.0040726d
pop ecx
push str.._nUse__.open_FILENAME__to_reopen_on_a_persistent_database._n
call fcn.0040aa77
pop ecx
call fcn.0040627c
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x40a99e
push dword [ebp - 0x50]
call fcn.004092b1
pop ecx
add eax, 0x14
mov dword [ebp - 0x78], eax
push dword [ebp - 0x78]
call fcn.00486a99
pop ecx
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x40a99e
push dword [ebp + 0x658]
call fcn.0047f395
pop ecx
push dword [ebp - 0x50]
push str._s_.sqlite_history
push dword [ebp - 0x3c]
push dword [ebp - 0x78]
call fcn.0040d408
add esp, 0x10
push 0
lea eax, [ebp - 0xc]
push eax
call fcn.004072c7
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x3c], 0
je 0x40a9bd
push dword [ebp - 0x3c]
call fcn.00486a94
pop ecx
jmp 0x40a9d6
push 0
call fcn.00487c90
pop ecx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004072c7
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
push 0
lea eax, [ebp - 0xc]
push eax
call fcn.00407d91
pop ecx
pop ecx
cmp dword [ebp - 0xc], 0
je 0x40a9f4
push dword [ebp - 0xc]
call fcn.0040c786
pop ecx
jmp 0x40aa0c
push dword [ebp + 0x658]
call fcn.0047ca61
pop ecx
push dword [ebp + 0x658]
call fcn.0047d888
pop ecx
push dword [ebp + 0x630]
call fcn.0040d51d
pop ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x64c]
xor ecx, ebp
call fcn.00481163
add ebp, 0x650
leave
ret 0x10