Function at 0x180116250
Capabilities:
Reference sql statements

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rsi
push rdi
push r12
push r13
sub rsp, 0xa8
xor edi, edi
mov r8, rdx
mov rdx, qword [rcx]
mov r12, rcx
mov qword [rsp + 0x58], rdi
mov esi, edi
mov qword [r11 - 0x78], rdi
mov eax, dword [r8 + 4]
mov ecx, dword [r8 + 8]
mov dword [rsp + 0xe0], ecx
lea r13d, [rax - 1]
test eax, eax
je 0x1801179f5
mov r9d, dword [r8]
lea rcx, str.SELECT_segid__term___pgno__1____pgno1__FROM__Q._q_idx_WHERE_segid_d_ORDER_BY_1__2
mov r8, qword [rdx + 0x10]
mov rdx, qword [rdx + 8]
mov qword [r11 - 0x28], rbx
mov qword [r11 - 0x30], rbp
mov qword [r11 - 0x38], r14
call sym.QoOBJSl.dll_hqlite3_mprintf
mov rbx, rax
cmp dword [r12 + 0x34], esi
jne 0x18011630f
test rax, rax
je 0x180116304
mov rax, qword [r12]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rdi
lea r8d, [rdi - 1]
mov qword [rsp + 0x28], rcx
mov r9d, 0x85
mov rdx, rbx
mov qword [rsp + 0x20], rdi
mov rcx, qword [rax]
call fcn.1800894d0
mov rsi, qword [rsp + 0x50]
mov dword [r12 + 0x34], eax
jmp 0x180116314
mov dword [r12 + 0x34], 7
jmp 0x18011636e
test rbx, rbx
je 0x18011636e
cmp dword [0x18015a080], edi
je 0x180116365
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x18011632e
call qword [0x18015a100]
mov rcx, rbx
call qword [0x18015a0b8]
dec qword [0x18015d0e8]
movsxd rcx, eax
sub qword [0x18015d0a0], rcx
mov rcx, rbx
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x18011636e
call qword [0x18015a110]
jmp 0x18011636e
mov rcx, rbx
call qword [0x18015a0a8]
lea rbp, [0x180140714]
mov ebx, 0x15
cmp dword [r12 + 0x34], edi
jne 0x18011781b
lea ebp, [rbx - 0x14]
mov qword [rsp + 0x88], r15
mov rbx, qword [rsp + 0xd8]
lea r14, [0x180135c18]
nop
mov rcx, rsi
call sym.QoOBJSl.dll_hqlite3_step
cmp eax, 0x64
jne 0x180117807
test rsi, rsi
je 0x1801163f7
mov rax, qword [rsi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1801163c8
call qword [0x18015a100]
mov rcx, qword [rsi + 0xa0]
test rcx, rcx
je 0x1801163e3
cmp bp, word [rsi + 0xc0]
jae 0x1801163e3
add rcx, 0x38
jmp 0x1801163fa
mov rcx, qword [rsi]
mov edx, 0x19
mov dword [rcx + 0x50], 0x19
call fcn.180009f80
mov rcx, r14
call sym.QoOBJSl.dll_hqlite3_value_blob
mov r15, rax
test rsi, rsi
je 0x18011647b
mov rax, qword [rsi]
mov edx, dword [rsi + 0x38]
cmp byte [rax + 0x61], 0
jne 0x18011641b
test edx, edx
jne 0x18011641b
mov ecx, edi
jmp 0x180116428
mov rcx, rax
call fcn.180006550
mov ecx, eax
mov rax, qword [rsi]
mov dword [rsi + 0x38], ecx
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x18011643a
call qword [0x18015a110]
mov rax, qword [rsi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x18011644c
call qword [0x18015a100]
mov rcx, qword [rsi + 0xa0]
test rcx, rcx
je 0x180116467
cmp bp, word [rsi + 0xc0]
jae 0x180116467
add rcx, 0x38
jmp 0x18011647e
mov rcx, qword [rsi]
mov edx, 0x19
mov dword [rcx + 0x50], 0x19
call fcn.180009f80
mov rcx, r14
movzx eax, word [rcx + 8]
test al, 2
je 0x180116492
cmp byte [rcx + 0xa], 1
jne 0x180116492
mov r14d, dword [rcx + 0xc]
jmp 0x1801164b9
test al, 0x10
je 0x1801164a6
bt ax, 0xe
mov r14d, dword [rcx + 0xc]
jae 0x1801164b9
add r14d, dword [rcx]
jmp 0x1801164b9
test al, 1
je 0x1801164af
mov r14d, edi
jmp 0x1801164b9
mov dl, 1
call fcn.180032480
mov r14d, eax
test rsi, rsi
je 0x18011653c
mov rax, qword [rsi]
mov edx, dword [rsi + 0x38]
cmp byte [rax + 0x61], 0
jne 0x1801164d2
test edx, edx
jne 0x1801164d2
mov ecx, edi
jmp 0x1801164df
mov rcx, rax
call fcn.180006550
mov ecx, eax
mov rax, qword [rsi]
mov dword [rsi + 0x38], ecx
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1801164f1
call qword [0x18015a110]
test rsi, rsi
je 0x18011653c
mov rax, qword [rsi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x180116508
call qword [0x18015a100]
mov rcx, qword [rsi + 0xa0]
test rcx, rcx
je 0x180116528
mov eax, 2
cmp ax, word [rsi + 0xc0]
jae 0x180116528
add rcx, 0x70
jmp 0x180116543
mov rcx, qword [rsi]
mov edx, 0x19
mov dword [rcx + 0x50], 0x19
call fcn.180009f80
lea rcx, [0x180135c18]
movzx eax, word [rcx + 8]
test al, 0x24
je 0x180116555
mov rbp, qword [rcx]
mov qword [rsp + 0x48], rbp
jmp 0x18011658e
test al, 8
je 0x18011656c
movsd xmm0, qword [rcx]
call fcn.180030cd0
mov rbp, rax
mov qword [rsp + 0x48], rax
jmp 0x18011658e
test al, 0x12
je 0x180116586
cmp qword [rcx + 0x10], 0
je 0x180116586
call fcn.180030d10
mov rbp, rax
mov qword [rsp + 0x48], rax
jmp 0x18011658e
mov rbp, rdi
mov qword [rsp + 0x48], rdi
test rsi, rsi
je 0x18011660f
mov rax, qword [rsi]
mov edx, dword [rsi + 0x38]
cmp byte [rax + 0x61], 0
jne 0x1801165a7
test edx, edx
jne 0x1801165a7
mov ecx, edi
jmp 0x1801165b4
mov rcx, rax
call fcn.180006550
mov ecx, eax
mov rax, qword [rsi]
mov dword [rsi + 0x38], ecx
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1801165c6
call qword [0x18015a110]
mov rax, qword [rsi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1801165d8
call qword [0x18015a100]
mov rcx, qword [rsi + 0xa0]
test rcx, rcx
je 0x1801165fb
mov eax, 3
cmp ax, word [rsi + 0xc0]
jae 0x1801165fb
add rcx, 0xa8
jmp 0x180116616
mov rcx, qword [rsi]
mov edx, 0x19
mov dword [rcx + 0x50], 0x19
call fcn.180009f80
lea rcx, [0x180135c18]
movzx eax, word [rcx + 8]
test al, 0x24
je 0x180116630
mov r12, qword [rcx]
mov qword [rsp + 0x40], r12
mov r12, qword [rsp + 0xd0]
jmp 0x180116660
test al, 8
je 0x180116644
movsd xmm0, qword [rcx]
call fcn.180030cd0
mov qword [rsp + 0x40], rax
jmp 0x180116660
test al, 0x12
je 0x18011665b
cmp qword [rcx + 0x10], 0
je 0x18011665b
call fcn.180030d10
mov qword [rsp + 0x40], rax
jmp 0x180116660
mov qword [rsp + 0x40], rdi
test rsi, rsi
je 0x180116698
mov rax, qword [rsi]
mov edx, dword [rsi + 0x38]
cmp byte [rax + 0x61], 0
jne 0x180116679
test edx, edx
jne 0x180116679
mov ecx, edi
jmp 0x180116686
mov rcx, rax
call fcn.180006550
mov ecx, eax
mov rax, qword [rsi]
mov dword [rsi + 0x38], ecx
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x180116698
call qword [0x18015a110]
cmp ebp, dword [rbx + 4]
jl 0x1801177ef
mov rsi, qword [rsp + 0xd8]
mov rcx, r12
movsxd rax, ebp
movsxd rdx, dword [rsi]
shl rdx, 0x25
add rdx, rax
call fcn.180105420
mov rdi, rax
test rax, rax
je 0x180117807
mov ebx, dword [rax + 0xc]
cmp dword [rax + 8], ebx
jg 0x1801166e1
mov eax, 0x10b
mov dword [r12 + 0x34], eax
jmp 0x1801167c3
mov rcx, rdi
call fcn.180104f00
mov rbp, qword [rdi]
movsxd rsi, eax
movzx ecx, byte [rbp]
movzx eax, byte [rbp + 1]
shl ecx, 8
add ecx, eax
cmp ecx, esi
jge 0x1801167a1
cmp esi, ebx
jge 0x1801167a1
movzx ebx, byte [rsi + rbp]
lea r8, [rsi + rbp]
test bl, bl
js 0x18011671f
mov ecx, 1
jmp 0x180116774
movzx edx, byte [r8 + 1]
test dl, dl
js 0x180116737
and ebx, 0x7f
mov ecx, 2
shl ebx, 7
or ebx, edx
jmp 0x180116774
movzx ecx, byte [r8 + 2]
shl ebx, 0xe
or ecx, ebx
test cl, cl
js 0x18011675c
and ecx, 0x1fc07f
mov ebx, edx
and ebx, 0x7f
shl ebx, 7
or ebx, ecx
mov ecx, 3
jmp 0x180116774
lea rdx, [rsp + 0x60]
mov rcx, r8
call fcn.1801296c0
mov ebx, dword [rsp + 0x60]
btr ebx, 0x1f
movzx ecx, al
cmp ebx, r14d
mov eax, r14d
cmovl eax, ebx
test eax, eax
je 0x180116795
movsxd r8, eax
mov rdx, r15
lea eax, [rcx + rsi]
movsxd rcx, eax
add rcx, rbp
call sub.VCRUNTIME140.dll_memcmp
sub ebx, r14d
test eax, eax
cmovne ebx, eax
test ebx, ebx
jns 0x1801167ab
mov eax, 0x10b
mov dword [r12 + 0x34], eax
mov rdx, rdi
mov rcx, r12
call fcn.180115790
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0xd8]
cmp dword [0x18015a080], 0
je 0x180116815
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x1801167de
call qword [0x18015a100]
mov rcx, rdi
call qword [0x18015a0b8]
dec qword [0x18015d0e8]
movsxd rcx, eax
sub qword [0x18015d0a0], rcx
mov rcx, rdi
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x18011681e
call qword [0x18015a110]
jmp 0x18011681e
mov rcx, rdi
call qword [0x18015a0a8]
cmp dword [r12 + 0x34], 0
jne 0x180117807
inc r13d
lea eax, [rbp - 1]
xor edi, edi
mov dword [rsp + 0xe8], eax
mov ecx, edi
nop dword [rax + rax]
cmp r13d, eax
jg 0x180116cf8
movsxd rbp, dword [rsi]
shl rbp, 0x25
movsxd rax, r13d
add rbp, rax
test ecx, ecx
jne 0x180116cda
mov rbx, qword [r12 + 0x38]
lea r15, [r12 + 0x38]
mov esi, edi
test rbx, rbx
je 0x180116980
mov rdx, rbp
mov qword [r15], rdi
mov rcx, rbx
call sym.QoOBJSl.dll_hqlite3_blob_reopen
mov qword [r15], rbx
mov esi, eax
test eax, eax
je 0x180116980
mov qword [r15], rdi
mov rdi, qword [rbx + 0x20]
mov r14, qword [rbx + 0x18]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1801168a8
call qword [0x18015a100]
cmp qword [rdi + 0x2d8], 0
je 0x1801168c2
mov rdx, rbx
mov rcx, rdi
call fcn.180005b30
jmp 0x18011695e
cmp rbx, qword [rdi + 0x1c8]
jae 0x180116903
cmp rbx, qword [rdi + 0x1b8]
jb 0x1801168e7
mov rax, qword [rdi + 0x1b0]
mov qword [rbx], rax
mov qword [rdi + 0x1b0], rbx
jmp 0x18011695e
cmp rbx, qword [rdi + 0x1c0]
jb 0x180116903
mov rax, qword [rdi + 0x1a0]
mov qword [rbx], rax
mov qword [rdi + 0x1a0], rbx
jmp 0x18011695e
cmp dword [0x18015a080], 0
je 0x180116955
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x18011691e
call qword [0x18015a100]
mov rcx, rbx
call qword [0x18015a0b8]
dec qword [0x18015d0e8]
movsxd rcx, eax
sub qword [0x18015d0a0], rcx
mov rcx, rbx
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x18011695e
call qword [0x18015a110]
jmp 0x18011695e
mov rcx, rbx
call qword [0x18015a0a8]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x18011696d
call qword [0x18015a110]
mov rcx, r14
call sym.QoOBJSl.dll_hqlite3_finalize
cmp esi, 4
mov edi, 0
cmove esi, edi
cmp qword [r15], 0
jne 0x1801169b6
test esi, esi
jne 0x1801169b6
mov rcx, qword [r12]
lea r9, str.block
mov r8, qword [r12 + 8]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], edi
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rbp
call sym.QoOBJSl.dll_hqlite3_blob_open
mov esi, eax
cmp esi, 1
jne 0x1801169ca
mov eax, 0x10b
mov dword [r12 + 0x34], eax
jmp 0x180116ccd
test esi, esi
jne 0x180116cc8
mov rax, qword [r15]
test rax, rax
je 0x1801169e5
cmp qword [rax + 0x18], 0
je 0x1801169e5
mov ebx, dword [rax]
jmp 0x1801169e7
mov ebx, edi
call sym.QoOBJSl.dll_hqlite3_initialize
test eax, eax
jne 0x180116cbc
movsxd r12, ebx
lea rcx, [r12 + 0x24]
call fcn.180005840
mov r14, rax
test rax, rax
je 0x180116cb4
lea rbp, [rax + 0x10]
mov dword [rax + 8], ebx
mov qword [rax], rbp
mov rsi, qword [r15]
test rsi, rsi
jne 0x180116a50
lea rax, [0x180140714]
mov ebx, 0x15
mov ecx, ebx
mov qword [rsp + 0x20], rax
mov r9d, 0x16ffc
lea r8, str.misuse
lea rdx, str._s_at_line__d_of___.10s_
call sym.QoOBJSl.dll_hqlite3_log
jmp 0x180116b54
mov rdi, qword [rsi + 0x20]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x180116a63
call qword [0x18015a100]
mov r15, qword [rsi + 0x18]
test ebx, ebx
js 0x180116b17
cmp ebx, dword [rsi]
jg 0x180116b17
test r15, r15
jne 0x180116a89
mov ebx, 4
mov dword [rdi + 0x50], ebx
jmp 0x180116b21
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], 0
je 0x180116aa5
inc dword [rcx + 0x14]
cmp byte [rcx + 0x12], 0
jne 0x180116aa5
call fcn.180020130
mov rcx, qword [rsi + 0x10]
mov r9, rbp
mov edx, dword [rsi + 4]
mov r8d, ebx
cmp byte [rcx], 0
jne 0x180116ac6
mov dword [rsp + 0x20], 0
call fcn.1800263c0
jmp 0x180116acb
call fcn.1800267c0
mov ebx, eax
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], 0
je 0x180116ae6
sub dword [rcx + 0x14], 1
jne 0x180116ae6
call fcn.1800200e0
cmp ebx, 4
jne 0x180116b00
mov rcx, r15
call fcn.180037860
mov qword [rsi + 0x18], 0
mov dword [rdi + 0x50], ebx
jmp 0x180116b21
mov dword [r15 + 0x38], ebx
mov dword [rdi + 0x50], ebx
test ebx, ebx
jne 0x180116b21
cmp qword [rdi + 0x168], 0
je 0x180116b2b
jmp 0x180116b21
mov eax, 1
mov ebx, eax
mov dword [rdi + 0x50], eax
mov edx, ebx
mov rcx, rdi
call fcn.180009f80
cmp byte [rdi + 0x61], 0
jne 0x180116b35
test ebx, ebx
je 0x180116b41
mov edx, ebx
mov rcx, rdi
call fcn.180006550
mov ebx, eax
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x180116b50
call qword [0x18015a110]
test ebx, ebx
je 0x180116bd1
cmp dword [0x18015a080], 0
je 0x180116bb6
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x180116b6f
call qword [0x18015a100]
mov rcx, r14
call qword [0x18015a0b8]
dec qword [0x18015d0e8]
movsxd rcx, eax
sub qword [0x18015d0a0], rcx
mov rcx, r14
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x180116ba4
call qword [0x18015a110]
mov r12, qword [rsp + 0xd0]
mov dword [r12 + 0x34], ebx
jmp 0x180116ccd
mov rcx, r14
call qword [0x18015a0a8]
mov r12, qword [rsp + 0xd0]
mov dword [r12 + 0x34], ebx
jmp 0x180116ccd
mov rax, qword [r14]
mov r9d, ebx
mov r10d, 0x10b
mov byte [r12 + rax], 0
mov rax, qword [r14]
mov byte [r12 + rax + 1], 0
mov rax, qword [r14]
mov r12, qword [rsp + 0xd0]
movzx ecx, byte [rax + 3]
movzx eax, byte [rax + 2]
shl eax, 8
add ecx, eax
mov dword [r14 + 0xc], ecx
inc dword [r12 + 0x68]
mov dword [r12 + 0x34], ebx
mov eax, dword [r14 + 8]
cmp dword [r14 + 0xc], eax
mov eax, dword [rsp + 0xe0]
cmovl r9d, r10d
inc eax
mov dword [r12 + 0x34], r9d
cmp r13d, eax
jl 0x180116c57
mov rdx, qword [r14]
mov ecx, 0x100
movzx eax, byte [rdx + 1]
movzx r8d, byte [rdx]
imul r8d, ecx
add r8w, ax
xor eax, eax
cmp ax, r8w
cmovne r9d, r10d
mov dword [r12 + 0x34], r9d
cmp dword [0x18015a080], 0
je 0x180116ca9
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x180116c72
call qword [0x18015a100]
mov rcx, r14
call qword [0x18015a0b8]
dec qword [0x18015d0e8]
movsxd rcx, eax
sub qword [0x18015d0a0], rcx
mov rcx, r14
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x180116cd2
call qword [0x18015a110]
jmp 0x180116cd2
mov rcx, r14
call qword [0x18015a0a8]
jmp 0x180116cd2
mov r12, qword [rsp + 0xd0]
mov ebx, 7
mov dword [r12 + 0x34], ebx
jmp 0x180116ccd
mov dword [r12 + 0x34], esi
inc dword [r12 + 0x68]
mov rsi, qword [rsp + 0xd8]
mov ecx, dword [r12 + 0x34]
inc r13d
test ecx, ecx
jne 0x180117807
mov eax, dword [rsp + 0xe8]
xor edi, edi
jmp 0x180116840
cmp dword [rsp + 0x40], 0
mov rbp, qword [rsp + 0x48]
je 0x1801177d5
movsxd rbx, dword [rsi]
mov r9d, ebp
mov r8d, ebx
mov dword [rsp + 0xe0], edi
xor edx, edx
mov rcx, r12
mov r13d, ebp
call fcn.180107690
mov rdx, rax
mov qword [rsp + 0xe8], rax
mov rcx, r12
mov r14, rax
call fcn.180107150
test eax, eax
jne 0x1801177cb
mov rcx, rbx
shl rcx, 0x25
mov qword [rsp + 0x40], rcx
nop
lea eax, [r13 + 1]
mov r13d, dword [r14 + 0x1c]
mov dword [rsp + 0xe0], eax
mov r14d, eax
cmp eax, r13d
jge 0x180117286
mov rax, qword [rsp + 0xe8]
movsxd r14, r14d
add r14, rcx
cmp dword [r12 + 0x34], 0
jne 0x180117264
mov rbx, qword [r12 + 0x38]
lea r15, [r12 + 0x38]
xor r13d, r13d
mov esi, r13d
test rbx, rbx
je 0x180116f2f
mov qword [r15], r13
mov rdi, qword [rbx + 0x20]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x180116db4
call qword [0x18015a100]
cmp qword [rbx + 0x18], rsi
jne 0x180116dc1
mov esi, 4
jmp 0x180116e0a
lea r8, [rsp + 0x68]
mov rdx, r14
mov rcx, rbx
call fcn.180044d80
mov esi, eax
test eax, eax
je 0x180116e0a
mov rbp, qword [rsp + 0x68]
lea rax, [0x180138810]
test rbp, rbp
mov r8, r13
mov r9, rbp
mov edx, esi
cmovne r8, rax
mov rcx, rdi
call fcn.18000a080
test rbp, rbp
je 0x180116e0a
mov rdx, rbp
mov rcx, rdi
call fcn.180005ba0
cmp byte [rdi + 0x61], r13b
jne 0x180116e19
test esi, esi
jne 0x180116e19
mov esi, r13d
jmp 0x180116e25
mov edx, esi
mov rcx, rdi
call fcn.180006550
mov esi, eax
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x180116e34
call qword [0x18015a110]
mov qword [r15], rbx
test esi, esi
je 0x180116f2f
mov qword [r15], r13
mov rdi, qword [rbx + 0x20]
mov rbp, qword [rbx + 0x18]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x180116e59
call qword [0x18015a100]
cmp qword [rdi + 0x2d8], r13
je 0x180116e72
mov rdx, rbx
mov rcx, rdi
call fcn.180005b30
jmp 0x180116f11
cmp rbx, qword [rdi + 0x1c8]
jae 0x180116eb6
cmp rbx, qword [rdi + 0x1b8]
jb 0x180116e9a
mov rax, qword [rdi + 0x1b0]
mov qword [rbx], rax
mov qword [rdi + 0x1b0], rbx
jmp 0x180116f11
cmp rbx, qword [rdi + 0x1c0]
jb 0x180116eb6
mov rax, qword [rdi + 0x1a0]
mov qword [rbx], rax
mov qword [rdi + 0x1a0], rbx
jmp 0x180116f11
cmp dword [0x18015a080], r13d
je 0x180116f08
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x180116ed1
call qword [0x18015a100]
mov rcx, rbx
call qword [0x18015a0b8]
dec qword [0x18015d0e8]
movsxd rcx, eax
sub qword [0x18015d0a0], rcx
mov rcx, rbx
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x180116f11
call qword [0x18015a110]
jmp 0x180116f11
mov rcx, rbx
call qword [0x18015a0a8]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x180116f20
call qword [0x18015a110]
mov rcx, rbp
call sym.QoOBJSl.dll_hqlite3_finalize
cmp esi, 4
cmove esi, r13d
cmp qword [r15], r13
jne 0x180116f65
test esi, esi
jne 0x180116f65
mov rcx, qword [r12]
lea r9, str.block
mov r8, qword [r12 + 8]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r13d
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], r14
call sym.QoOBJSl.dll_hqlite3_blob_open
mov esi, eax
cmp esi, 1
jne 0x180116f79
mov eax, 0x10b
mov dword [r12 + 0x34], eax
jmp 0x180117252
test esi, esi
jne 0x18011724d
mov rax, qword [r15]
test rax, rax
je 0x180116f93
cmp qword [rax + 0x18], r13
je 0x180116f93
mov ebx, dword [rax]
jmp 0x180116f96
mov ebx, r13d
call sym.QoOBJSl.dll_hqlite3_initialize
test eax, eax
jne 0x180117241
movsxd r12, ebx
lea rcx, [r12 + 0x24]
call fcn.180005840
mov r14, rax
test rax, rax
je 0x180117239
lea rbp, [rax + 0x10]
mov dword [rax + 8], ebx
mov qword [rax], rbp
mov rsi, qword [r15]
test rsi, rsi
jne 0x180116fff
lea rax, [0x180140714]
mov ebx, 0x15
mov ecx, ebx
mov qword [rsp + 0x20], rax
mov r9d, 0x16ffc
lea r8, str.misuse
lea rdx, str._s_at_line__d_of___.10s_
call sym.QoOBJSl.dll_hqlite3_log
jmp 0x180117104
mov rdi, qword [rsi + 0x20]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x180117012
call qword [0x18015a100]
mov r15, qword [rsi + 0x18]
test ebx, ebx
js 0x1801170be
cmp ebx, dword [rsi]
jg 0x1801170be
test r15, r15
jne 0x180117038
mov ebx, 4
mov dword [rdi + 0x50], ebx
jmp 0x1801170c8
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], r13b
je 0x180117054
inc dword [rcx + 0x14]
cmp byte [rcx + 0x12], r13b
jne 0x180117054
call fcn.180020130
mov rcx, qword [rsi + 0x10]
mov r9, rbp
mov edx, dword [rsi + 4]
mov r8d, ebx
cmp byte [rcx], r13b
jne 0x180117072
mov dword [rsp + 0x20], r13d
call fcn.1800263c0
jmp 0x180117077
call fcn.1800267c0
mov ebx, eax
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], r13b
je 0x180117092
sub dword [rcx + 0x14], 1
jne 0x180117092
call fcn.1800200e0
cmp ebx, 4
jne 0x1801170a8
mov rcx, r15
call fcn.180037860
mov qword [rsi + 0x18], r13
mov dword [rdi + 0x50], ebx
jmp 0x1801170c8
mov dword [r15 + 0x38], ebx
mov dword [rdi + 0x50], ebx
test ebx, ebx
jne 0x1801170c8
cmp qword [rdi + 0x168], r13
je 0x1801170d2
jmp 0x1801170c8
mov eax, 1
mov ebx, eax
mov dword [rdi + 0x50], eax
mov edx, ebx
mov rcx, rdi
call fcn.180009f80
cmp byte [rdi + 0x61], r13b
jne 0x1801170e1
test ebx, ebx
jne 0x1801170e1
mov ebx, r13d
jmp 0x1801170ed
mov edx, ebx
mov rcx, rdi
call fcn.180006550
mov ebx, eax
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1801170fc
call qword [0x18015a110]
test ebx, ebx
je 0x180117181
cmp dword [0x18015a080], r13d
je 0x180117166
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x18011711f
call qword [0x18015a100]
mov rcx, r14
call qword [0x18015a0b8]
dec qword [0x18015d0e8]
movsxd rcx, eax
sub qword [0x18015d0a0], rcx
mov rcx, r14
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x180117154
call qword [0x18015a110]
mov r12, qword [rsp + 0xd0]
mov dword [r12 + 0x34], ebx
jmp 0x180117252
mov rcx, r14
call qword [0x18015a0a8]
mov r12, qword [rsp + 0xd0]
mov dword [r12 + 0x34], ebx
jmp 0x180117252
mov rax, qword [r14]
mov byte [r12 + rax], r13b
mov rax, qword [r14]
mov byte [rax + r12 + 1], r13b
mov rax, qword [r14]
mov r12, qword [rsp + 0xd0]
movzx ecx, byte [rax + 3]
movzx eax, byte [rax + 2]
shl eax, 8
add ecx, eax
mov dword [r14 + 0xc], ecx
mov ecx, 0x100
inc dword [r12 + 0x68]
mov dword [r12 + 0x34], ebx
mov r8, qword [r14]
movzx eax, byte [r8 + 1]
movzx edx, byte [r8]
imul edx, ecx
mov ecx, 0x10b
add dx, ax
mov eax, ebx
cmovne eax, ecx
mov dword [r12 + 0x34], eax
cmp dword [0x18015a080], r13d
je 0x18011722e
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x1801171f7
call qword [0x18015a100]
mov rcx, r14
call qword [0x18015a0b8]
dec qword [0x18015d0e8]
movsxd rcx, eax
sub qword [0x18015d0a0], rcx
mov rcx, r14
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x180117257
call qword [0x18015a110]
jmp 0x180117257
mov rcx, r14
call qword [0x18015a0a8]
jmp 0x180117257
mov r12, qword [rsp + 0xd0]
mov ebx, 7
mov dword [r12 + 0x34], ebx
jmp 0x180117252
mov dword [r12 + 0x34], esi
inc dword [r12 + 0x68]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0xe8]
mov r14d, dword [rsp + 0xe0]
mov r13d, dword [rax + 0x1c]
inc r14d
mov dword [rsp + 0xe0], r14d
cmp r14d, r13d
jl 0x180116d73
xor edi, edi
movsxd r14, r13d
add r14, rcx
cmp dword [r12 + 0x34], 0
jne 0x180117793
mov rbx, qword [r12 + 0x38]
lea r15, [r12 + 0x38]
mov esi, edi
test rbx, rbx
je 0x180117447
mov qword [r15], rdi
mov rdi, qword [rbx + 0x20]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1801172c3
call qword [0x18015a100]
cmp qword [rbx + 0x18], 0
jne 0x1801172d1
mov esi, 4
jmp 0x18011731a
lea r8, [rsp + 0x70]
mov rdx, r14
mov rcx, rbx
call fcn.180044d80
mov esi, eax
test eax, eax
je 0x18011731a
mov rbp, qword [rsp + 0x70]
lea rax, [0x180138810]
xor r8d, r8d
mov r9, rbp
test rbp, rbp
mov edx, esi
mov rcx, rdi
cmovne r8, rax
call fcn.18000a080
test rbp, rbp
je 0x18011731a
mov rdx, rbp
mov rcx, rdi
call fcn.180005ba0
cmp byte [rdi + 0x61], 0
jne 0x180117324
test esi, esi
je 0x180117330
mov edx, esi
mov rcx, rdi
call fcn.180006550
mov esi, eax
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x18011733f
call qword [0x18015a110]
mov qword [r15], rbx
test esi, esi
je 0x180117445
mov qword [r15], 0
mov rdi, qword [rbx + 0x20]
mov rbp, qword [rbx + 0x18]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x180117368
call qword [0x18015a100]
cmp qword [rdi + 0x2d8], 0
je 0x180117382
mov rdx, rbx
mov rcx, rdi
call fcn.180005b30
jmp 0x180117421
cmp rbx, qword [rdi + 0x1c8]
jae 0x1801173c6
cmp rbx, qword [rdi + 0x1b8]
jb 0x1801173aa
mov rax, qword [rdi + 0x1b0]
mov qword [rbx], rax
mov qword [rdi + 0x1b0], rbx
jmp 0x180117421
cmp rbx, qword [rdi + 0x1c0]
jb 0x1801173c6
mov rax, qword [rdi + 0x1a0]
mov qword [rbx], rax
mov qword [rdi + 0x1a0], rbx
jmp 0x180117421
cmp dword [0x18015a080], 0
je 0x180117418
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x1801173e1
call qword [0x18015a100]
mov rcx, rbx
call qword [0x18015a0b8]
dec qword [0x18015d0e8]
movsxd rcx, eax
sub qword [0x18015d0a0], rcx
mov rcx, rbx
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x180117421
call qword [0x18015a110]
jmp 0x180117421
mov rcx, rbx
call qword [0x18015a0a8]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x180117430
call qword [0x18015a110]
mov rcx, rbp
call sym.QoOBJSl.dll_hqlite3_finalize
cmp esi, 4
mov edi, 0
cmove esi, edi
jmp 0x180117447
xor edi, edi
cmp qword [r15], 0
jne 0x18011747d
test esi, esi
jne 0x18011747d
mov rcx, qword [r12]
lea r9, str.block
mov r8, qword [r12 + 8]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], edi
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], r14
call sym.QoOBJSl.dll_hqlite3_blob_open
mov esi, eax
cmp esi, 1
jne 0x180117491
mov eax, 0x10b
mov dword [r12 + 0x34], eax
jmp 0x18011778e
test esi, esi
jne 0x180117789
mov rax, qword [r15]
test rax, rax
je 0x1801174ac
cmp qword [rax + 0x18], 0
je 0x1801174ac
mov ebx, dword [rax]
jmp 0x1801174ae
mov ebx, edi
call sym.QoOBJSl.dll_hqlite3_initialize
test eax, eax
jne 0x18011777d
movsxd r12, ebx
lea rcx, [r12 + 0x24]
call fcn.180005840
mov r14, rax
test rax, rax
je 0x180117775
lea rsi, [rax + 0x10]
mov dword [rax + 8], ebx
mov qword [rax], rsi
mov rbp, qword [r15]
test rbp, rbp
jne 0x180117517
lea rax, [0x180140714]
mov ebx, 0x15
mov ecx, ebx
mov qword [rsp + 0x20], rax
mov r9d, 0x16ffc
lea r8, str.misuse
lea rdx, str._s_at_line__d_of___.10s_
call sym.QoOBJSl.dll_hqlite3_log
jmp 0x180117620
mov rdi, qword [rbp + 0x20]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x18011752a
call qword [0x18015a100]
mov r15, qword [rbp + 0x18]
test ebx, ebx
js 0x1801175df
cmp ebx, dword [rbp]
jg 0x1801175df
test r15, r15
jne 0x180117551
mov ebx, 4
mov dword [rdi + 0x50], ebx
jmp 0x1801175e9
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], 0
je 0x18011756d
inc dword [rcx + 0x14]
cmp byte [rcx + 0x12], 0
jne 0x18011756d
call fcn.180020130
mov rcx, qword [rbp + 0x10]
mov r9, rsi
mov edx, dword [rbp + 4]
mov r8d, ebx
cmp byte [rcx], 0
jne 0x18011758e
mov dword [rsp + 0x20], 0
call fcn.1800263c0
jmp 0x180117593
call fcn.1800267c0
mov ebx, eax
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], 0
je 0x1801175ae
sub dword [rcx + 0x14], 1
jne 0x1801175ae
call fcn.1800200e0
cmp ebx, 4
jne 0x1801175c8
mov rcx, r15
call fcn.180037860
mov qword [rbp + 0x18], 0
mov dword [rdi + 0x50], ebx
jmp 0x1801175e9
mov dword [r15 + 0x38], ebx
mov dword [rdi + 0x50], ebx
test ebx, ebx
jne 0x1801175e9
cmp qword [rdi + 0x168], 0
je 0x1801175f3
jmp 0x1801175e9
mov eax, 1
mov ebx, eax
mov dword [rdi + 0x50], eax
mov edx, ebx
mov rcx, rdi
call fcn.180009f80
cmp byte [rdi + 0x61], 0
jne 0x1801175fd
test ebx, ebx
je 0x180117609
mov edx, ebx
mov rcx, rdi
call fcn.180006550
mov ebx, eax
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x180117618
call qword [0x18015a110]
test ebx, ebx
je 0x18011769d
cmp dword [0x18015a080], 0
je 0x180117682
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x18011763b
call qword [0x18015a100]
mov rcx, r14
call qword [0x18015a0b8]
dec qword [0x18015d0e8]
movsxd rcx, eax
sub qword [0x18015d0a0], rcx
mov rcx, r14
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x180117670
call qword [0x18015a110]
mov r12, qword [rsp + 0xd0]
mov dword [r12 + 0x34], ebx
jmp 0x18011778e
mov rcx, r14
call qword [0x18015a0a8]
mov r12, qword [rsp + 0xd0]
mov dword [r12 + 0x34], ebx
jmp 0x18011778e
mov rax, qword [r14]
mov byte [r12 + rax], 0
mov rax, qword [r14]
mov byte [r12 + rax + 1], 0
mov rax, qword [r14]
mov r12, qword [rsp + 0xd0]
movzx ecx, byte [rax + 3]
movzx eax, byte [rax + 2]
shl eax, 8
add ecx, eax
mov dword [r14 + 0xc], ecx
inc dword [r12 + 0x68]
mov dword [r12 + 0x34], ebx
mov rdx, qword [r14]
movzx eax, byte [rdx]
movzx r8d, byte [rdx + 1]
shl eax, 8
add r8d, eax
cmp r8d, dword [r14 + 0xc]
jge 0x18011770e
mov ecx, r8d
add rcx, rdx
lea rdx, [rsp + 0x78]
call fcn.1801296c0
mov rcx, qword [rsp + 0xe8]
mov rax, qword [rcx + 0x20]
cmp qword [rsp + 0x78], rax
je 0x180117718
mov eax, 0x10b
mov dword [r12 + 0x34], eax
cmp dword [0x18015a080], 0
je 0x18011776a
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x180117733
call qword [0x18015a100]
mov rcx, r14
call qword [0x18015a0b8]
dec qword [0x18015d0e8]
movsxd rcx, eax
sub qword [0x18015d0a0], rcx
mov rcx, r14
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x180117793
call qword [0x18015a110]
jmp 0x180117793
mov rcx, r14
call qword [0x18015a0a8]
jmp 0x180117793
mov r12, qword [rsp + 0xd0]
mov ebx, 7
mov dword [r12 + 0x34], ebx
jmp 0x18011778e
mov dword [r12 + 0x34], esi
inc dword [r12 + 0x68]
mov r14, qword [rsp + 0xe8]
xor r8d, r8d
mov rdx, r14
mov rcx, r12
call fcn.180106f60
mov rdx, r14
mov rcx, r12
call fcn.180107150
mov rcx, qword [rsp + 0x40]
mov edi, 0
test eax, eax
je 0x180116d50
mov rbp, qword [rsp + 0x48]
mov rcx, r14
call fcn.180107570
jmp 0x1801177df
mov ecx, dword [rsi + 8]
mov dword [rsp + 0xe0], ecx
mov rsi, qword [rsp + 0x50]
mov r13d, ebp
mov rbx, qword [rsp + 0xd8]
cmp dword [r12 + 0x34], 0
lea r14, [0x180135c18]
mov ebp, 1
je 0x1801163a0
mov r15, qword [rsp + 0x88]
lea rbp, [0x180140714]
mov ebx, 0x15
mov r14, qword [rsp + 0x50]
test r14, r14
je 0x1801179cc
mov rdi, qword [r14]
test rdi, rdi
jne 0x180117864
lea rdx, str.API_called_with_finalized_prepared_statement
mov ecx, ebx
call sym.QoOBJSl.dll_hqlite3_log
mov r9d, 0x14591
mov qword [rsp + 0x20], rbp
lea r8, str.misuse
mov ecx, ebx
lea rdx, str._s_at_line__d_of___.10s_
call sym.QoOBJSl.dll_hqlite3_log
jmp 0x1801179d0
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x180117873
call qword [0x18015a100]
cmp qword [r14 + 0xb8], 0
jle 0x180117888
mov rdx, r14
mov rcx, rdi
call fcn.18003a060
mov eax, dword [r14 + 0x24]
xor ebp, ebp
mov esi, ebp
cmp eax, 0x2df20da3
je 0x18011789e
cmp eax, 0x319c2973
jne 0x1801178a8
mov rcx, r14
call fcn.180037790
mov esi, eax
mov rbx, qword [r14]
mov rdx, r14
mov rcx, rbx
call fcn.1800379f0
mov rcx, qword [r14 + 8]
mov rax, qword [r14 + 0x10]
test rcx, rcx
je 0x1801178c9
mov qword [rcx + 0x10], rax
jmp 0x1801178cd
mov qword [rbx + 8], rax
mov rcx, qword [r14 + 0x10]
test rcx, rcx
je 0x1801178de
mov rax, qword [r14 + 8]
mov qword [rcx + 8], rax
mov dword [r14 + 0x24], 0x5606c3c8
mov qword [r14], rbp
test rbx, rbx
je 0x18011794b
cmp qword [rbx + 0x2d8], rbp
je 0x180117907
mov rdx, r14
mov rcx, rbx
call fcn.180005b30
jmp 0x1801179a5
cmp r14, qword [rbx + 0x1c8]
jae 0x18011794b
cmp r14, qword [rbx + 0x1b8]
jb 0x18011792f
mov rax, qword [rbx + 0x1b0]
mov qword [r14], rax
mov qword [rbx + 0x1b0], r14
jmp 0x1801179a5
cmp r14, qword [rbx + 0x1c0]
jb 0x18011794b
mov rax, qword [rbx + 0x1a0]
mov qword [r14], rax
mov qword [rbx + 0x1a0], r14
jmp 0x1801179a5
cmp dword [0x18015a080], ebp
je 0x18011799c
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x180117965
call qword [0x18015a100]
mov rcx, r14
call qword [0x18015a0b8]
dec qword [0x18015d0e8]
movsxd rcx, eax
sub qword [0x18015d0a0], rcx
mov rcx, r14
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x1801179a5
call qword [0x18015a110]
jmp 0x1801179a5
mov rcx, r14
call qword [0x18015a0a8]
cmp byte [rdi + 0x61], bpl
jne 0x1801179b6
test esi, esi
jne 0x1801179b6
mov qword [rsp + 0x58], rbp
jmp 0x1801179c4
mov edx, esi
mov rcx, rdi
call fcn.180006550
mov dword [rsp + 0x58], eax
mov rcx, rdi
call fcn.1800c55b0
mov ebx, dword [rsp + 0x58]
cmp dword [r12 + 0x34], 0
mov r14, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x98]
jne 0x1801179ed
mov dword [r12 + 0x34], ebx
mov rbx, qword [rsp + 0xa0]
add rsp, 0xa8
pop r13
pop r12
pop rdi
pop rsi
ret