Function at 0x14029e460
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xd8
movzx r12d, byte [rcx + 0x40]
mov rbp, qword [rcx]
cmp r12d, 1
mov qword [rsp + 0x80], rcx
mov dword [rsp + 0x9c], edx
mov word [rsp + 0x92], dx
mov byte [rsp + 0x9b], r12b
jle 0x14029f1f0
xor eax, eax
cmp r12d, 2
mov rdi, rcx
setne al
setne bl
lea eax, [rax + rax*4 + 5]
movzx ebx, bl
lea rbx, [rbx + rbx*4 + 5]
mov dword [rsp + 0x50], eax
mov rdx, qword [rdi + 0x10]
test rdx, rdx
je 0x14029e4e3
cmp word [rsp + 0x9c], 0
je 0x14029e4e3
movsxd rsi, dword [rdx]
mov dword [rsp + 0x68], esi
lea ecx, [rsi + rsi]
jmp 0x14029e4ef
xor ecx, ecx
xor esi, esi
mov dword [rsp + 0x68], 0
movzx r13d, byte [rsp + 0x9b]
lea rdx, [r13 + 4]
imul edx, eax
shl edx, 4
add edx, ecx
mov rcx, qword [rbp]
movsxd rdx, edx
call sym.sqlite3DbMallocRawNN
test rax, rax
mov rdi, rax
je 0x14029f364
shl rbx, 5
lea r10, [rax + rbx]
mov eax, dword [rsp + 0x50]
lea r9, [r10 + rbx]
mov qword [r10], 0
mov qword [r10 + 8], 0
lea rbx, [r13*8]
mov rdx, r9
mov qword [r10 + 0x10], 0
lea ecx, [rax + rax]
mov qword [r10 + 0x18], 0
mov rax, rdi
mov r8, rcx
shl rcx, 5
add rcx, rdi
mov qword [rax + 0x18], rdx
add rax, 0x20
add rdx, rbx
cmp rax, rcx
jne 0x14029e566
mov edx, dword [rsp + 0x68]
test edx, edx
jne 0x14029f20a
mov eax, dword [rbp + 0xd0]
mov edx, 0x30
mov qword [rsp + 0x70], 0
cmp eax, edx
cmova eax, edx
test r12d, r12d
mov word [r10 + 0x10], ax
je 0x14029f299
xor eax, eax
xor r15d, r15d
mov qword [rsp + 0x48], 0
mov esi, 1
mov word [rsp + 0x90], ax
mov eax, dword [rsp + 0x48]
mov qword [rsp + 0xa8], rdi
mov word [rsp + 0x56], r15w
mov r15, rdi
mov edi, esi
test edi, edi
mov dword [rsp + 0x64], 0
mov qword [rsp + 0xa0], rbp
mov dword [rsp + 0x94], r12d
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0x88], r10
mov qword [rsp + 0xb8], r13
mov dword [rsp + 0x7c], eax
jle 0x14029ea80
mov rax, qword [rsp + 0x48]
mov dword [rsp + 0x78], edi
mov rdi, r15
xor r13d, r13d
mov rbp, qword [rsp + 0x88]
mov r15, qword [rsp + 0x80]
shl rax, 3
mov qword [rsp + 0x58], rax
xor eax, eax
nop dword [rax]
mov rbx, qword [r15 + 0x58]
test rbx, rbx
je 0x14029ea3f
mov dword [rsp + 0x60], eax
jmp 0x14029e66d
mov rbx, qword [rbx + 0x50]
test rbx, rbx
je 0x14029ea28
mov rsi, qword [rbp]
mov rax, rsi
not rax
and rax, qword [rbx]
jne 0x14029e660
mov rcx, qword [rbx + 8]
test rsi, rcx
jne 0x14029e660
test byte [rbx + 0x39], 0x40
movzx r14d, word [rbp + 0x10]
je 0x14029e697
cmp r14w, 2
jle 0x14029e660
movzx edx, word [rbx + 0x14]
movsx r8d, word [rbx + 0x12]
add edx, r14d
cmp dx, r8w
mov r9d, r8d
movsx eax, dx
jg 0x14029eb50
lea edx, [rax + 0x31]
cmp edx, r8d
jl 0x14029ebc0
lea edx, [rax + 0x1f]
cmp edx, r8d
jge 0x14029ebf0
lea edx, [r8 + 1]
movsx eax, dx
nop word [rax + rax]
movsx r8d, word [rbp + 0x14]
cmp r8w, dx
mov r12d, r8d
jg 0x14029eb20
lea r9d, [r8 + 0x31]
mov r12d, edx
cmp r9d, eax
jl 0x14029e718
lea edx, [r8 + 0x1f]
cmp edx, eax
jl 0x14029ebb0
lea rdx, str._n_n_t_t_b_b_a_a_a
sub eax, r8d
cdqe
movzx eax, byte [rdx + rax]
add r12d, eax
nop dword [rax]
movzx r8d, byte [rbp + 0x16]
or rsi, rcx
add r14w, word [rbx + 0x16]
test r8b, r8b
mov r10d, r14d
js 0x14029ea88
mov rax, qword [rbp + 8]
mov qword [rsp + 0xc8], rax
movsx edx, r8b
cmp dword [rsp + 0x68], edx
jle 0x14029ead7
mov rcx, qword [rsp + 0x70]
movsx rax, r8b
lea r9, [rcx + rax*2]
movzx eax, word [r9]
test ax, ax
je 0x14029ec32
cmp r12w, ax
movsx edx, ax
movsx ecx, r12w
jl 0x14029ec10
lea r9d, [rdx + 0x31]
mov eax, r12d
cmp r9d, ecx
jl 0x14029e798
lea eax, [rdx + 0x1f]
cmp eax, ecx
jge 0x14029ee57
lea eax, [r12 + 1]
nop word [rax + rax]
add eax, 3
cmp qword [rsp + 0x48], 0
mov ecx, r12d
mov r12d, eax
je 0x14029eaeb
test r13d, r13d
jle 0x14029eb10
movsxd r14, r13d
mov rax, rdi
xor edx, edx
shl r14, 5
add r14, rdi
jmp 0x14029e7dc
add rax, 0x20
add edx, 1
cmp rax, r14
je 0x14029e7ed
cmp rsi, qword [rax]
jne 0x14029e7d0
mov r11d, r8d
xor r11b, byte [rax + 0x16]
js 0x14029e7d0
mov r14, rax
cmp edx, r13d
jl 0x14029eb78
cmp dword [rsp + 0x50], r13d
jg 0x14029eb10
cmp r12w, word [rsp + 0x56]
jg 0x14029e660
jne 0x14029e81d
cmp cx, word [rsp + 0x90]
jge 0x14029e660
movsxd r14, dword [rsp + 0x64]
shl r14, 5
add r14, rdi
mov rax, qword [rbp]
movzx r10d, r10w
shl r12d, 0x10
or rax, qword [rbx + 8]
mov byte [r14 + 0x16], r8b
or r12d, r10d
mov rsi, qword [rsp + 0x58]
mov word [r14 + 0x14], cx
mov rdx, qword [rbp + 0x18]
mov dword [r14 + 0x10], r12d
mov rcx, qword [r14 + 0x18]
movq xmm0, rax
movhps xmm0, qword [rsp + 0xc8]
mov r8, rsi
movups xmmword [r14], xmm0
call sym.memcpy
mov rax, qword [r14 + 0x18]
cmp dword [rsp + 0x50], r13d
mov qword [rax + rsi], rbx
jg 0x14029e660
movzx ecx, word [rdi + 0x12]
movzx eax, word [rdi + 0x10]
cmp dword [rsp + 0x50], 1
mov word [rsp + 0x56], cx
mov word [rsp + 0x90], ax
je 0x14029ef57
movzx eax, word [rdi + 0x32]
cmp cx, ax
jge 0x14029ecfb
movzx ecx, word [rdi + 0x34]
mov word [rsp + 0x90], cx
mov word [rsp + 0x56], ax
mov dword [rsp + 0x64], 1
movzx eax, word [rdi + 0x52]
cmp ax, word [rsp + 0x56]
jle 0x14029ed28
movzx ecx, word [rdi + 0x54]
mov word [rsp + 0x90], cx
mov word [rsp + 0x56], ax
mov dword [rsp + 0x64], 2
movzx eax, word [rdi + 0x72]
cmp word [rsp + 0x56], ax
jge 0x14029ed4d
movzx ecx, word [rdi + 0x74]
mov word [rsp + 0x90], cx
mov dword [rsp + 0x64], 3
movzx edx, word [rdi + 0x92]
cmp dx, ax
jle 0x14029ed68
movzx eax, word [rdi + 0x94]
mov word [rsp + 0x90], ax
mov eax, edx
mov dword [rsp + 0x64], 4
cmp dword [rsp + 0x50], 5
je 0x14029efca
movzx edx, word [rdi + 0xb2]
cmp ax, dx
jge 0x14029ed90
movzx eax, word [rdi + 0xb4]
mov word [rsp + 0x90], ax
mov dword [rsp + 0x64], 5
movzx eax, word [rdi + 0xd2]
cmp dx, ax
jge 0x14029eda8
movzx ecx, word [rdi + 0xd4]
mov word [rsp + 0x90], cx
mov dword [rsp + 0x64], 6
movzx edx, word [rdi + 0xf2]
cmp ax, dx
jge 0x14029edc0
movzx eax, word [rdi + 0xf4]
mov word [rsp + 0x90], ax
mov dword [rsp + 0x64], 7
movzx eax, word [rdi + 0x112]
cmp dx, ax
mov word [rsp + 0x56], ax
jge 0x14029eed0
movzx eax, word [rdi + 0x114]
mov word [rsp + 0x90], ax
mov dword [rsp + 0x64], 8
movzx eax, word [rdi + 0x132]
cmp ax, word [rsp + 0x56]
jle 0x14029eeed
movzx ecx, word [rdi + 0x134]
mov word [rsp + 0x90], cx
mov rbx, qword [rbx + 0x50]
mov word [rsp + 0x56], ax
mov dword [rsp + 0x64], 9
test rbx, rbx
jne 0x14029e66d
nop dword [rax + rax]
mov eax, dword [rsp + 0x60]
add rbp, 0x20
mov ecx, dword [rsp + 0x78]
add eax, 1
cmp eax, ecx
jne 0x14029e648
mov r15, rdi
mov edi, r13d
add qword [rsp + 0x48], 1
mov rcx, qword [rsp + 0x48]
cmp dword [rsp + 0x94], ecx
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x88], r15
jle 0x14029eff6
mov r15, rax
mov eax, dword [rsp + 0x48]
test edi, edi
mov dword [rsp + 0x7c], eax
jg 0x14029e617
xor edi, edi
jmp 0x14029ea45
mov rdx, qword [r15 + 0x10]
mov qword [rsp + 0x28], rbx
mov r8, rbp
mov rcx, r15
lea rax, [rsp + 0xc8]
mov dword [rsp + 0x6c], r10d
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x7c]
mov qword [rsp + 0xc8], 0
mov dword [rsp + 0x20], eax
movzx r9d, word [r15 + 0x3c]
call sym.wherePathSatisfiesOrderBy
mov r10d, dword [rsp + 0x6c]
test al, al
mov r8d, eax
jns 0x14029e73d
cmp qword [rsp + 0x48], 0
lea ecx, [r12 - 2]
mov eax, r12d
jne 0x14029e7ad
test byte [rbx + 0x3b], 2
je 0x14029e7ad
lea r12d, [rax - 0xa]
test r13d, r13d
lea r10d, [r14 - 0x1e]
jg 0x14029e7b6
nop word cs:[rax + rax]
movsxd r14, r13d
add r13d, 1
jmp 0x14029e822
lea edx, [rax + 0x31]
cmp edx, r8d
jl 0x14029e718
lea edx, [rax + 0x1f]
cmp edx, r8d
jl 0x14029ebb0
lea rdx, str._n_n_t_t_b_b_a_a_a
sub r8d, eax
movsxd rax, r8d
movzx eax, byte [rdx + rax]
add r12d, eax
jmp 0x14029e718
lea r9d, [r8 + 0x31]
cmp r9d, eax
jl 0x14029e6d8
lea r9d, [r8 + 0x1f]
cmp r9d, eax
jge 0x14029ebd0
add edx, 1
movsx eax, dx
jmp 0x14029e6d8
cmp r12w, word [r14 + 0x12]
jg 0x14029e660
jne 0x14029e829
cmp word [r14 + 0x10], r10w
jl 0x14029e660
jne 0x14029e829
cmp cx, word [r14 + 0x14]
jl 0x14029e829
jmp 0x14029e660
add r12d, 1
jmp 0x14029e718
mov eax, r8d
mov edx, r8d
jmp 0x14029e6d8
lea r10, str._n_n_t_t_b_b_a_a_a
sub eax, r8d
cdqe
movzx eax, byte [r10 + rax]
add edx, eax
movsx eax, dx
jmp 0x14029e6d8
sub r8d, eax
lea rax, str._n_n_t_t_b_b_a_a_a
movsxd r8, r8d
movzx edx, byte [rax + r8]
add edx, r9d
movsx eax, dx
jmp 0x14029e6d8
lea r9d, [rcx + 0x31]
cmp r9d, edx
jl 0x14029e798
lea r9d, [rcx + 0x1f]
cmp r9d, edx
jge 0x14029ee40
add eax, 1
jmp 0x14029e798
mov rax, qword [r15 + 0x20]
mov rax, qword [rax + 0x20]
mov ecx, dword [rax]
add ecx, 0x3b
movsxd rax, ecx
imul rax, rax, 0xffffffff88888889
shr rax, 0x20
add eax, ecx
sar ecx, 0x1f
sar eax, 4
sub eax, ecx
cdqe
cmp rax, 7
ja 0x14029ee28
xor r11d, r11d
cmp rax, 1
jbe 0x14029ec9a
mov ecx, 0x1e
nop dword [rax]
add rax, rax
mov r11d, ecx
sub ecx, 0xa
cmp rax, 7
jbe 0x14029ec78
lea rcx, [0x140336980]
and eax, 7
movzx eax, word [rcx + rax*2]
lea r11d, [r11 + rax - 0xa]
movzx eax, word [r15 + 0x3c]
add r11w, word [rsp + 0x92]
mov word [rsp + 0x98], ax
and ax, 0x4000
test r8b, r8b
mov word [rsp + 0x6c], ax
jne 0x14029ee6f
cmp word [rsp + 0x6c], 0
je 0x14029edcd
add r11d, 0xa
movzx edx, word [r15 + 0x3e]
mov eax, r11d
movzx ecx, word [rsp + 0x92]
cmp cx, dx
cmovle edx, ecx
cmp dx, 0xa
jg 0x14029edff
mov word [r9], ax
jmp 0x14029e765
mov dword [rsp + 0x64], 0
jne 0x14029e8c8
movzx edx, word [rdi + 0x34]
cmp word [rsp + 0x90], dx
jge 0x14029e8c8
mov word [rsp + 0x90], dx
jmp 0x14029e8bb
jne 0x14029e8f0
movzx edx, word [rdi + 0x54]
cmp word [rsp + 0x90], dx
jge 0x14029e8f0
mov word [rsp + 0x90], dx
jmp 0x14029e8e3
je 0x14029ef22
movzx eax, word [rsp + 0x56]
movzx edx, word [rdi + 0x92]
cmp dx, ax
jg 0x14029e923
jne 0x14029e93c
movzx ecx, word [rdi + 0x94]
cmp word [rsp + 0x90], cx
jge 0x14029e93c
mov word [rsp + 0x90], cx
jmp 0x14029e932
je 0x14029ef64
mov edx, eax
movzx eax, word [rdi + 0xd2]
cmp dx, ax
jl 0x14029e97e
je 0x14029ef86
mov eax, edx
movzx edx, word [rdi + 0xf2]
cmp ax, dx
jl 0x14029e9a5
je 0x14029efa8
mov edx, eax
jmp 0x14029e9bc
test word [rsp + 0x98], 0x100
mov eax, r11d
je 0x14029ef15
movzx ecx, word [rsp + 0x92]
lea edx, [rcx - 0xa]
cmp cx, 0xa
jle 0x14029ecf2
cmp dx, 0xa
jle 0x14029ecf2
movsx rdx, dx
bsr rax, rdx
lea ecx, [rax - 3]
lea eax, [rcx + rcx*4]
shr rdx, cl
lea rcx, [0x140336980]
and edx, 7
lea eax, [r11 + rax*2 - 3]
add ax, word [rcx + rdx*2]
jmp 0x14029ecf2
bsr rcx, rax
sub ecx, 3
lea r11d, [rcx + rcx*4]
shr rax, cl
lea r11d, [r11 + r11 + 0x28]
jmp 0x14029ec87
sub edx, ecx
lea rcx, str._n_n_t_t_b_b_a_a_a
movsxd rdx, edx
movzx edx, byte [rcx + rdx]
add eax, edx
jmp 0x14029e798
sub ecx, edx
movsxd rax, ecx
lea rcx, str._n_n_t_t_b_b_a_a_a
movzx eax, byte [rcx + rax]
add eax, r12d
jmp 0x14029e798
mov ecx, dword [rsp + 0x68]
mov eax, ecx
sub eax, edx
imul eax, eax, 0x64
cdq
idiv ecx
cmp eax, 7
movsxd rdx, eax
jg 0x14029ef41
cmp eax, 1
mov ecx, 0xffffffbe
jle 0x14029eeb8
mov ecx, 0x1e
add rdx, rdx
mov eax, ecx
sub ecx, 0xa
cmp rdx, 7
jbe 0x14029ee98
lea rcx, [0x140336980]
and edx, 7
movzx edx, word [rcx + rdx*2]
lea ecx, [rax + rdx - 0x4c]
add r11d, ecx
cmp word [rsp + 0x6c], 0
je 0x14029edcd
add r11d, 0x10
jmp 0x14029ecd2
je 0x14029efd4
movzx eax, word [rdi + 0x132]
mov word [rsp + 0x56], dx
cmp ax, word [rsp + 0x56]
jg 0x14029e9fa
jne 0x14029e660
movzx edx, word [rdi + 0x134]
cmp dx, word [rsp + 0x90]
jle 0x14029e660
mov word [rsp + 0x90], dx
jmp 0x14029ea09
movzx edx, word [rsp + 0x92]
jmp 0x14029ece8
movzx edx, word [rdi + 0x74]
cmp word [rsp + 0x90], dx
jge 0x14029e913
mov word [rsp + 0x90], dx
jmp 0x14029e90b
bsr rax, rdx
lea ecx, [rax - 3]
lea eax, [rcx + rcx*4]
shr rdx, cl
lea eax, [rax + rax + 0x28]
jmp 0x14029eea6
mov dword [rsp + 0x64], 0
jmp 0x14029e660
movzx eax, word [rdi + 0xb4]
cmp word [rsp + 0x90], ax
jge 0x14029e96e
mov word [rsp + 0x90], ax
jmp 0x14029e966
movzx edx, word [rdi + 0xd4]
cmp word [rsp + 0x90], dx
jge 0x14029e995
mov word [rsp + 0x90], dx
jmp 0x14029e98d
movzx eax, word [rdi + 0xf4]
cmp word [rsp + 0x90], ax
jge 0x14029e9bc
mov word [rsp + 0x90], ax
jmp 0x14029e9b4
mov word [rsp + 0x56], ax
jmp 0x14029e660
movzx eax, word [rdi + 0x114]
cmp ax, word [rsp + 0x90]
jle 0x14029e9e8
mov word [rsp + 0x90], ax
jmp 0x14029e9e0
mov esi, edi
mov rbp, qword [rsp + 0xa0]
mov r14, r15
test esi, esi
mov r12d, dword [rsp + 0x94]
mov rbx, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xa8]
mov r13, qword [rsp + 0xb8]
je 0x14029f350
cmp esi, 1
jle 0x14029f05c
movzx ecx, word [r15 + 0x12]
lea edx, [rsi - 2]
lea rax, [r15 + 0x20]
shl rdx, 5
lea r8, [r15 + rdx + 0x40]
movzx edx, word [rax + 0x12]
cmp dx, cx
jge 0x14029f053
mov ecx, edx
mov r14, rax
add rax, 0x20
cmp r8, rax
jne 0x14029f045
mov rax, qword [rsp + 0x80]
mov rcx, qword [r14 + 0x18]
mov r8, qword [rax + 8]
lea rdx, [rax + 0x364]
lea r9, [rcx + r13*8]
mov rax, qword [rcx]
add rcx, 8
add rdx, 0x70
mov qword [rdx - 0x14], rax
movzx eax, byte [rax + 0x10]
mov byte [rdx - 0x34], al
imul rax, rax, 0x68
mov eax, dword [r8 + rax + 0x4c]
mov dword [rdx - 0x70], eax
cmp r9, rcx
jne 0x14029f077
mov rax, qword [rsp + 0x80]
movzx eax, word [rax + 0x3c]
mov word [rsp + 0x50], ax
and ax, 0x180
cmp ax, 0x100
je 0x14029f16a
mov rsi, qword [rsp + 0x80]
movzx ecx, byte [rsi + 0x44]
mov rdx, qword [rsi + 0x10]
mov byte [rsp + 0x50], cl
and ecx, 0xfffffffb
test rdx, rdx
mov byte [rsi + 0x44], cl
je 0x14029f13a
movzx r8d, word [rsi + 0x3c]
movsx eax, byte [r14 + 0x16]
test r8b, 0x80
mov byte [rsi + 0x41], al
je 0x14029f255
cmp eax, dword [rdx]
je 0x14029f378
mov rsi, qword [rsp + 0x80]
mov rcx, qword [rsi + 0x20]
mov rcx, qword [rcx + 0x48]
test rcx, rcx
je 0x14029f119
mov ecx, dword [rcx]
cmp eax, ecx
jle 0x14029f119
mov byte [rsi + 0x41], cl
test r8w, 0x200
je 0x14029f13a
mov rax, qword [rsp + 0x80]
movsx eax, byte [rax + 0x41]
cmp eax, dword [rdx]
jne 0x14029f13a
test r12d, r12d
jne 0x14029f381
movzx eax, word [r14 + 0x10]
mov rcx, qword [rsp + 0x80]
mov word [rcx + 0x48], ax
mov rcx, qword [rbp]
mov rdx, rdi
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.sqlite3DbFreeNN
mov rax, qword [rsp + 0x80]
cmp byte [rax + 0x43], 0
jne 0x14029f0bd
cmp word [rsp + 0x9c], 0
je 0x14029f0bd
mov rdx, qword [rax + 0x18]
mov rsi, rax
mov rcx, rax
mov r9d, pe_nt_image_headers64
lea rax, [rsp + 0xc8]
mov r8, r14
mov qword [rsp + 0x30], rax
mov rax, qword [r14 + 0x18]
mov rax, qword [rax + rbx - 8]
mov qword [rsp + 0x28], rax
movzx eax, byte [rsp + 0x9b]
sub eax, 1
movzx eax, ax
mov dword [rsp + 0x20], eax
call sym.wherePathSatisfiesOrderBy
mov rdx, qword [rsi + 0x18]
movsx eax, al
cmp eax, dword [rdx]
jne 0x14029f0bd
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x43], 2
jmp 0x14029f0bd
mov eax, 1
mov ebx, 1
mov dword [rsp + 0x50], 1
mov rdi, rcx
jmp 0x14029e4c3
movsxd rax, r8d
xor edx, edx
mov qword [rsp + 0x48], r10
imul rax, rbx
lea r8, [rsi + rsi]
add rax, r9
mov rcx, rax
mov qword [rsp + 0x70], rax
call sub.msvcrt.dll_memset
mov eax, dword [rbp + 0xd0]
mov edx, 0x30
mov r10, qword [rsp + 0x48]
cmp eax, edx
cmova eax, edx
test r12d, r12d
mov word [r10 + 0x10], ax
je 0x14029f290
mov byte [r10 + 0x16], 0xff
jmp 0x14029e5a9
mov r9, qword [r14 + 8]
test al, al
mov qword [rsi + 0x68], r9
jle 0x14029f2a1
test r12d, r12d
je 0x14029f119
cmp al, 1
jne 0x14029f119
test r8b, 3
je 0x14029f119
or ecx, 4
mov byte [rsi + 0x44], cl
jmp 0x14029f119
movzx eax, byte [rsp + 0x68]
mov byte [r10 + 0x16], al
mov r14, r10
jmp 0x14029f09e
test r12d, r12d
mov byte [rsi + 0x41], 0
je 0x14029f13a
mov rax, qword [r14 + 0x18]
mov rcx, qword [rax + rbx - 8]
mov eax, dword [rcx + 0x38]
test ah, 0x10
jne 0x14029f119
not eax
test eax, 0x104
je 0x14029f119
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x28], rcx
mov r9d, 0x800
mov r8, r14
mov qword [rsp + 0x30], rax
mov rcx, rsi
movzx eax, byte [rsp + 0x9b]
mov qword [rsp + 0xc8], 0
sub eax, 1
movzx eax, ax
mov dword [rsp + 0x20], eax
call sym.wherePathSatisfiesOrderBy
mov rdx, qword [rsi + 0x10]
movsx eax, al
cmp eax, dword [rdx]
jne 0x14029f334
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0xc8]
or byte [rcx + 0x44], 4
mov qword [rcx + 0x68], rax
mov rax, qword [rsp + 0x80]
movzx r8d, word [rax + 0x3c]
jmp 0x14029f119
lea rdx, str.no_query_solution
mov rcx, rbp
call sym.sqlite3ErrorMsg
jmp 0x14029f14b
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov byte [rsi + 0x43], 2
jmp 0x14029f0fb
lea rax, [rsp + 0xc8]
xor r9d, r9d
mov r8, r14
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0x30], rax
mov rax, qword [r14 + 0x18]
mov rax, qword [rax + rbx - 8]
mov rbx, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
movzx eax, byte [rsp + 0x9b]
mov rcx, rbx
sub eax, 1
movzx eax, ax
mov dword [rsp + 0x20], eax
call sym.wherePathSatisfiesOrderBy
mov rdx, qword [rbx + 0x10]
movsx eax, al
cmp eax, dword [rdx]
jne 0x14029f13a
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0xc8]
or byte [rcx + 0x44], 8
mov qword [rcx + 0x68], rax
jmp 0x14029f13a