Function at 0x1402ab2c0
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, 0xc8
mov rax, qword [rcx]
mov qword [rsp + 0x90], rax
movzx eax, byte [rcx + 0x40]
mov r10, rcx
mov dword [rsp + 0xac], edx
mov word [rsp + 0x8a], dx
mov byte [rsp + 0xab], al
mov dword [rsp + 0x8c], eax
cmp eax, 1
jle 0x1402ac090
cmp eax, 2
setne al
setne bl
movzx eax, al
movzx ebx, bl
lea eax, [rax + rax*4 + 5]
lea rbx, [rbx + rbx*4 + 5]
mov r11d, eax
cmp word [rsp + 0xac], 0
mov rdx, qword [r10 + 0x10]
je 0x1402ab346
test rdx, rdx
je 0x1402ab346
movsxd rsi, dword [rdx]
mov dword [rsp + 0x64], esi
lea ecx, [rsi + rsi]
jmp 0x1402ab352
mov dword [rsp + 0x64], 0
xor ecx, ecx
xor esi, esi
movzx edi, byte [rsp + 0xab]
mov qword [rsp + 0x48], r10
mov dword [rsp + 0x40], r11d
lea rdx, [rdi + 4]
imul edx, eax
mov rax, qword [rsp + 0x90]
shl edx, 4
add edx, ecx
mov rcx, qword [rax]
movsxd rdx, edx
call sym.sqlite3DbMallocRawNN
mov qword [rsp + 0xa0], rax
test rax, rax
je 0x1402ac227
mov r11d, dword [rsp + 0x40]
shl rbx, 5
mov r10, qword [rsp + 0x48]
lea rdx, [rax + rbx]
mov rcx, rbx
lea rbx, [rdi*8]
lea r8d, [r11 + r11]
mov qword [rsp + 0x98], rbx
add rcx, rdx
movsxd r8, r8d
mov qword [rsp + 0x80], rdx
mov r9, r8
mov qword [rdx], 0
shl r9, 5
mov qword [rdx + 8], 0
mov qword [rdx + 0x10], 0
add r9, rax
mov qword [rdx + 0x18], 0
mov rdx, rcx
mov qword [rax + 0x18], rdx
add rax, 0x20
add rdx, rbx
cmp rax, r9
jne 0x1402ab3f7
imul r8, qword [rsp + 0x98]
mov r14d, dword [rsp + 0x64]
lea rax, [rcx + r8]
mov qword [rsp + 0x70], rax
test r14d, r14d
jne 0x1402ac0a5
mov rdi, qword [rsp + 0x90]
mov eax, 0x30
mov qword [rsp + 0x70], 0
cmp word [rdi + 0xe0], 0x30
cmovle ax, word [rdi + 0xe0]
mov rdi, qword [rsp + 0x80]
mov word [rdi + 0x10], ax
mov r12d, dword [rsp + 0x8c]
mov r14, qword [rsp + 0x80]
test r12d, r12d
je 0x1402abf4f
xor edi, edi
xor ebp, ebp
mov dword [rsp + 0x60], 0
mov r15d, r11d
mov word [rsp + 0x88], di
mov r14, qword [rsp + 0xa0]
mov qword [rsp + 0x78], 0
mov word [rsp + 0x40], bp
mov dword [rsp + 0x68], 1
mov eax, dword [rsp + 0x78]
mov esi, dword [rsp + 0x68]
mov dword [rsp + 0x6c], eax
test esi, esi
je 0x1402ab8f2
mov rax, qword [rsp + 0x78]
mov dword [rsp + 0x48], 0
xor r13d, r13d
mov r12, qword [rsp + 0x80]
lea r11, [rax*8]
nop dword [rax + rax]
mov rbp, qword [r10 + 0x58]
test rbp, rbp
je 0x1402ab8ed
mov r8, r12
mov r12, r11
jmp 0x1402ab505
mov rbp, qword [rbp + 0x50]
test rbp, rbp
je 0x1402ab8d0
mov rbx, qword [r8]
mov rax, rbx
not rax
and rax, qword [rbp]
jne 0x1402ab4f8
mov rdx, qword [rbp + 8]
test rbx, rdx
jne 0x1402ab4f8
movzx edi, word [r8 + 0x10]
test byte [rbp + 0x39], 0x40
je 0x1402ab52e
cmp di, 2
jle 0x1402ab4f8
movzx r9d, word [rbp + 0x14]
movsx eax, word [rbp + 0x12]
add r9d, edi
mov esi, eax
movsx ecx, r9w
cmp r9w, ax
jg 0x1402ab9d8
lea r9d, [rcx + 0x31]
cmp eax, r9d
jg 0x1402ab570
lea r9d, [rcx + 0x1f]
cmp eax, r9d
jle 0x1402aba90
add esi, 1
movsx eax, si
nop word cs:[rax + rax]
movsx ecx, word [r8 + 0x14]
cmp cx, si
jg 0x1402ab9a0
lea r9d, [rcx + 0x31]
cmp r9d, eax
jl 0x1402ab5a8
lea r9d, [rcx + 0x1f]
cmp r9d, eax
jl 0x1402aba38
sub eax, ecx
lea rcx, str._n_n_t_t_b_b_a_a_a
cdqe
movzx eax, byte [rcx + rax]
add esi, eax
nop dword [rax]
movzx r9d, byte [r8 + 0x16]
add di, word [rbp + 0x16]
or rbx, rdx
test r9b, r9b
js 0x1402ab928
mov rax, qword [r8 + 8]
mov qword [rsp + 0xb8], rax
movsx edx, r9b
cmp dword [rsp + 0x64], edx
jle 0x1402ab97e
mov rcx, qword [rsp + 0x70]
movsx rax, r9b
lea rax, [rcx + rax*2]
movzx ecx, word [rax]
mov qword [rsp + 0x50], rax
test cx, cx
je 0x1402abb11
movsx eax, cx
movsx edx, si
cmp si, cx
jl 0x1402abad0
lea r11d, [rax + 0x31]
mov ecx, esi
cmp edx, r11d
jg 0x1402ab620
lea ecx, [rax + 0x1f]
cmp edx, ecx
jle 0x1402abcbc
lea ecx, [rsi + 1]
nop dword [rax]
mov edx, esi
lea esi, [rcx + 3]
test r13d, r13d
je 0x1402ab990
movsxd rcx, r13d
mov rax, r14
shl rcx, 5
add rcx, r14
jmp 0x1402ab64d
add rax, 0x20
cmp rax, rcx
je 0x1402aba00
cmp rbx, qword [rax]
jne 0x1402ab640
mov r11d, r9d
xor r11b, byte [rax + 0x16]
js 0x1402ab640
cmp si, word [rax + 0x12]
jg 0x1402ab4f8
je 0x1402abaf2
mov rcx, qword [r8]
or rcx, qword [rbp + 8]
shl esi, 0x10
movzx edi, di
movq xmm0, rcx
or esi, edi
movhps xmm0, qword [rsp + 0xb8]
mov dword [rax + 0x10], esi
mov word [rax + 0x14], dx
mov rdx, qword [rax + 0x18]
mov byte [rax + 0x16], r9b
mov rsi, qword [r8 + 0x18]
movups xmmword [rax], xmm0
cmp r12d, 8
jae 0x1402aba40
test r12d, r12d
je 0x1402ab6b5
movzx ecx, byte [rsi]
mov byte [rdx], cl
mov rdx, qword [rax + 0x18]
mov qword [rdx + r12], rbp
cmp r15d, r13d
jg 0x1402ab4f8
movzx edi, word [r14 + 0x12]
movzx eax, word [r14 + 0x10]
mov word [rsp + 0x40], di
mov word [rsp + 0x88], ax
cmp r15d, 1
je 0x1402abe30
movzx eax, word [r14 + 0x32]
cmp di, ax
jge 0x1402abbdc
movzx edi, word [r14 + 0x34]
mov word [rsp + 0x88], di
mov word [rsp + 0x40], ax
mov dword [rsp + 0x60], 1
cmp r15d, 2
je 0x1402ab4f8
movzx eax, word [r14 + 0x52]
cmp ax, word [rsp + 0x40]
jle 0x1402abc0a
movzx edi, word [r14 + 0x54]
mov word [rsp + 0x88], di
mov word [rsp + 0x40], ax
mov dword [rsp + 0x60], 2
cmp r15d, 3
je 0x1402ab4f8
movzx eax, word [r14 + 0x72]
cmp ax, word [rsp + 0x40]
jle 0x1402abc30
movzx edi, word [r14 + 0x74]
mov word [rsp + 0x88], di
mov word [rsp + 0x40], ax
mov dword [rsp + 0x60], 3
cmp r15d, 4
je 0x1402ab4f8
movzx eax, word [r14 + 0x92]
cmp word [rsp + 0x40], ax
jge 0x1402abc56
movzx edi, word [r14 + 0x94]
mov word [rsp + 0x88], di
mov dword [rsp + 0x60], 4
cmp r15d, 5
je 0x1402abc6b
movzx edi, word [r14 + 0xb2]
mov word [rsp + 0x40], di
cmp ax, di
jge 0x1402abc75
movzx eax, word [r14 + 0xb4]
mov word [rsp + 0x88], ax
mov dword [rsp + 0x60], 5
cmp r15d, 6
je 0x1402ab4f8
movzx eax, word [r14 + 0xd2]
cmp word [rsp + 0x40], ax
jge 0x1402abcd3
movzx edi, word [r14 + 0xd4]
mov word [rsp + 0x88], di
mov dword [rsp + 0x60], 6
cmp r15d, 7
je 0x1402abc6b
movzx edx, word [r14 + 0xf2]
cmp ax, dx
jge 0x1402abd91
movzx eax, word [r14 + 0xf4]
mov word [rsp + 0x88], ax
mov dword [rsp + 0x60], 7
cmp r15d, 8
je 0x1402abda3
movzx eax, word [r14 + 0x112]
mov word [rsp + 0x40], ax
cmp dx, ax
jge 0x1402abdad
movzx eax, word [r14 + 0x114]
mov word [rsp + 0x88], ax
mov dword [rsp + 0x60], 8
cmp r15d, 0xa
jne 0x1402ab4f8
movzx eax, word [r14 + 0x132]
cmp ax, word [rsp + 0x40]
jle 0x1402abdbd
movzx edi, word [r14 + 0x134]
mov word [rsp + 0x88], di
mov rbp, qword [rbp + 0x50]
mov word [rsp + 0x40], ax
mov dword [rsp + 0x60], 9
test rbp, rbp
jne 0x1402ab505
nop word [rax + rax]
mov r11, r12
mov r12, r8
add dword [rsp + 0x48], 1
mov eax, dword [rsp + 0x48]
add r12, 0x20
cmp dword [rsp + 0x68], eax
jne 0x1402ab4e0
mov dword [rsp + 0x68], r13d
add qword [rsp + 0x78], 1
mov rax, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x78]
mov qword [rsp + 0x80], r14
cmp dword [rsp + 0x8c], edi
jle 0x1402abec9
mov r14, rax
jmp 0x1402ab4a7
lea rax, [rsp + 0xb8]
mov rdx, qword [r10 + 0x10]
mov qword [rsp + 0x28], rbp
mov rcx, r10
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x6c]
mov qword [rsp + 0x58], r8
mov dword [rsp + 0x20], eax
movzx r9d, word [r10 + 0x3c]
mov qword [rsp + 0x50], r10
mov qword [rsp + 0xb8], 0
call sym.wherePathSatisfiesOrderBy
mov r10, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
test al, al
mov r9d, eax
jns 0x1402ab5c9
lea edx, [rsi - 2]
test r13d, r13d
jne 0x1402ab62e
nop word [rax + rax]
movsxd rax, r13d
add r13d, 1
jmp 0x1402aba25
lea r11d, [rax + 0x31]
mov esi, ecx
cmp ecx, r11d
jg 0x1402ab5a8
lea r9d, [rax + 0x1f]
cmp ecx, r9d
jg 0x1402aba38
sub ecx, eax
movsxd rax, ecx
lea rcx, str._n_n_t_t_b_b_a_a_a
movzx eax, byte [rcx + rax]
add esi, eax
jmp 0x1402ab5a8
lea r11d, [rax + 0x31]
cmp ecx, r11d
jg 0x1402aba80
lea r11d, [rax + 0x1f]
cmp ecx, r11d
jle 0x1402abab0
lea esi, [r9 + 1]
movsx eax, si
jmp 0x1402ab570
cmp r15d, r13d
jg 0x1402ab990
cmp si, word [rsp + 0x40]
jg 0x1402ab4f8
jne 0x1402aba20
cmp dx, word [rsp + 0x88]
jge 0x1402ab4f8
movsxd rax, dword [rsp + 0x60]
shl rax, 5
add rax, r14
jmp 0x1402ab66b
add esi, 1
jmp 0x1402ab5a8
mov rcx, qword [rsi]
lea rdi, [rdx + 8]
and rdi, 0xfffffffffffffff8
mov qword [rdx], rcx
mov ecx, r12d
mov r9, qword [rsi + rcx - 8]
mov qword [rdx + rcx - 8], r9
sub rdx, rdi
lea ecx, [r12 + rdx]
sub rsi, rdx
mov edx, ecx
shr edx, 3
mov ecx, edx
rep movsq qword [rdi], qword [rsi]
mov rdx, qword [rax + 0x18]
jmp 0x1402ab6b5
mov eax, ecx
mov esi, r9d
jmp 0x1402ab570
sub eax, ecx
lea rcx, str._n_n_t_t_b_b_a_a_a
cdqe
movzx eax, byte [rcx + rax]
add esi, eax
movsx eax, si
jmp 0x1402ab570
sub ecx, eax
lea rsi, str._n_n_t_t_b_b_a_a_a
movsxd rax, ecx
movzx esi, byte [rsi + rax]
add esi, r9d
movsx eax, si
jmp 0x1402ab570
lea r11d, [rdx + 0x31]
cmp eax, r11d
jg 0x1402ab620
lea r11d, [rdx + 0x1f]
cmp eax, r11d
jle 0x1402abc85
add ecx, 1
jmp 0x1402ab620
cmp di, word [rax + 0x10]
jg 0x1402ab4f8
jne 0x1402ab66b
cmp dx, word [rax + 0x14]
jl 0x1402ab66b
jmp 0x1402ab4f8
mov rax, qword [r10 + 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 0x1402abc9b
xor r11d, r11d
cmp rax, 1
jbe 0x1402abb72
mov ecx, 0x1e
add rax, rax
mov r11d, ecx
sub ecx, 0xa
cmp rax, 7
jbe 0x1402abb50
and eax, 7
lea rcx, [0x14033e180]
movzx eax, word [rcx + rax*2]
lea r11d, [r11 + rax - 0xa]
add r11w, word [rsp + 0x8a]
movzx eax, word [r10 + 0x3c]
mov word [rsp + 0xa8], ax
and ax, 0x4000
mov word [rsp + 0x58], ax
test edx, edx
jne 0x1402abce3
cmp word [rsp + 0x58], 0
jne 0x1402abde6
movzx eax, word [rsp + 0x8a]
mov ecx, r11d
test word [rsp + 0xa8], 0x100
je 0x1402abbc5
cmp ax, 0xa
jle 0x1402abbcf
sub eax, 0xa
cmp ax, 0xa
jg 0x1402abd60
mov rax, qword [rsp + 0x50]
mov word [rax], cx
jmp 0x1402ab5f5
mov dword [rsp + 0x60], 0
jne 0x1402ab70b
movzx edx, word [r14 + 0x34]
cmp word [rsp + 0x88], dx
jge 0x1402ab70b
mov word [rsp + 0x88], dx
jmp 0x1402ab6fe
jne 0x1402ab73f
movzx edx, word [r14 + 0x54]
cmp word [rsp + 0x88], dx
jge 0x1402ab73f
mov word [rsp + 0x88], dx
jmp 0x1402ab732
jne 0x1402ab773
movzx edx, word [r14 + 0x74]
cmp dx, word [rsp + 0x88]
jle 0x1402ab773
mov word [rsp + 0x88], dx
jmp 0x1402ab766
je 0x1402abe0d
movzx eax, word [rsp + 0x40]
cmp r15d, 5
jne 0x1402ab7b2
mov word [rsp + 0x40], ax
jmp 0x1402ab4f8
je 0x1402abe3d
mov word [rsp + 0x40], ax
jmp 0x1402ab7e0
sub eax, edx
lea rdx, str._n_n_t_t_b_b_a_a_a
cdqe
movzx eax, byte [rdx + rax]
add ecx, eax
jmp 0x1402ab620
bsr r11, rax
mov ecx, 0x3c
xor r11, 0x3f
sub ecx, r11d
lea r11d, [rcx + rcx*4]
shr rax, cl
lea r11d, [r11 + r11 + 0x28]
jmp 0x1402abb5f
sub edx, eax
movsxd rax, edx
lea rdx, str._n_n_t_t_b_b_a_a_a
movzx ecx, byte [rdx + rax]
add ecx, esi
jmp 0x1402ab620
je 0x1402abe60
movzx eax, word [rsp + 0x40]
jmp 0x1402ab815
mov ecx, dword [rsp + 0x64]
mov eax, ecx
sub eax, edx
imul eax, eax, 0x64
cdq
idiv ecx
cdqe
cmp rax, 7
ja 0x1402abdef
mov edx, 0xffffffbe
cmp rax, 1
jbe 0x1402abd2d
mov ecx, 0x1e
add rax, rax
mov edx, ecx
sub ecx, 0xa
cmp rax, 7
jbe 0x1402abd0d
and eax, 7
lea rcx, [0x14033e180]
movzx eax, word [rcx + rax*2]
lea edx, [rdx + rax - 0x4c]
add r11d, edx
cmp word [rsp + 0x58], 0
je 0x1402abba5
add r11d, 0x10
movzx eax, word [rsp + 0x8a]
cmp word [r10 + 0x3e], ax
mov ecx, r11d
cmovle ax, word [r10 + 0x3e]
cmp ax, 0xa
jle 0x1402abbcf
movsx rax, ax
mov ecx, 0x3c
bsr rdx, rax
xor rdx, 0x3f
sub ecx, edx
lea rdx, [0x14033e180]
shr rax, cl
lea ecx, [rcx + rcx*4]
and eax, 7
lea ecx, [r11 + rcx*2 - 3]
add cx, word [rdx + rax*2]
jmp 0x1402abbcf
je 0x1402abe83
mov edx, eax
cmp r15d, 8
jne 0x1402ab852
mov word [rsp + 0x40], dx
jmp 0x1402ab4f8
je 0x1402abea6
mov word [rsp + 0x40], dx
jmp 0x1402ab880
jne 0x1402ab4f8
movzx edx, word [r14 + 0x134]
cmp dx, word [rsp + 0x88]
jle 0x1402ab4f8
mov word [rsp + 0x88], dx
jmp 0x1402ab8ad
add r11d, 0xa
jmp 0x1402abd40
bsr rdx, rax
mov ecx, 0x3c
xor rdx, 0x3f
sub ecx, edx
lea edx, [rcx + rcx*4]
shr rax, cl
lea edx, [rdx + rdx + 0x28]
jmp 0x1402abd1b
movzx edx, word [r14 + 0x94]
cmp dx, word [rsp + 0x88]
jle 0x1402ab7a8
mov word [rsp + 0x88], dx
jmp 0x1402ab7a0
mov dword [rsp + 0x60], 0
jmp 0x1402ab4f8
movzx eax, word [r14 + 0xb4]
cmp word [rsp + 0x88], ax
jge 0x1402ab7e0
mov word [rsp + 0x88], ax
jmp 0x1402ab7d8
movzx edx, word [r14 + 0xd4]
cmp word [rsp + 0x88], dx
jge 0x1402ab815
mov word [rsp + 0x88], dx
jmp 0x1402ab80d
movzx eax, word [r14 + 0xf4]
cmp word [rsp + 0x88], ax
jge 0x1402ab848
mov word [rsp + 0x88], ax
jmp 0x1402ab840
movzx eax, word [r14 + 0x114]
cmp word [rsp + 0x88], ax
jge 0x1402ab880
mov word [rsp + 0x88], ax
jmp 0x1402ab878
mov ebx, dword [rsp + 0x68]
test ebx, ebx
je 0x1402ac200
cmp dword [rsp + 0x68], 1
je 0x1402abf0c
mov edi, dword [rsp + 0x68]
movzx ecx, word [r14 + 0x12]
lea rax, [r14 + 0x20]
lea edx, [rdi - 2]
shl rdx, 5
lea r8, [r14 + rdx + 0x40]
movzx edx, word [rax + 0x12]
cmp dx, cx
jge 0x1402abf03
mov ecx, edx
mov r14, rax
add rax, 0x20
cmp rax, r8
jne 0x1402abef5
mov r9, qword [r14 + 0x18]
mov r8, qword [r10 + 8]
lea rdx, [r10 + 0x364]
xor ecx, ecx
mov ebx, dword [rsp + 0x8c]
mov rax, qword [r9 + rcx*8]
add rcx, 1
add rdx, 0x70
mov qword [rdx - 0x14], rax
movzx eax, byte [rax + 0x10]
lea r11, [rax + rax*2]
mov byte [rdx - 0x34], al
lea rax, [rax + r11*4]
mov eax, dword [r8 + rax*8 + 0x4c]
mov dword [rdx - 0x70], eax
cmp ebx, ecx
jg 0x1402abf24
movzx eax, word [r10 + 0x3c]
and ax, 0x180
cmp ax, 0x100
je 0x1402ac003
movzx ecx, byte [r10 + 0x44]
mov rdx, qword [r10 + 0x10]
and ecx, 0xfffffffb
mov byte [r10 + 0x44], cl
test rdx, rdx
je 0x1402abfce
movsx eax, byte [r14 + 0x16]
movzx r8d, word [r10 + 0x3c]
mov byte [r10 + 0x41], al
test r8b, 0x80
je 0x1402ac10d
cmp eax, dword [rdx]
je 0x1402ac23b
mov rcx, qword [r10 + 0x20]
mov rcx, qword [rcx + 0x48]
test rcx, rcx
je 0x1402abfae
mov ecx, dword [rcx]
cmp eax, ecx
jle 0x1402abfae
mov byte [r10 + 0x41], cl
test r8w, 0x200
je 0x1402abfce
movsx eax, byte [r10 + 0x41]
cmp eax, dword [rdx]
jne 0x1402abfce
mov eax, dword [rsp + 0x8c]
test eax, eax
jne 0x1402ac245
movzx eax, word [r14 + 0x10]
mov rdx, qword [rsp + 0xa0]
mov word [r10 + 0x48], ax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax]
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.sqlite3DbFreeNN
cmp byte [r10 + 0x43], 0
jne 0x1402abf62
cmp word [rsp + 0xac], 0
je 0x1402abf62
mov rdx, qword [r10 + 0x18]
mov rcx, r10
mov r9d, pe_nt_image_headers64
mov r8, r14
lea rax, [rsp + 0xb8]
mov rdi, qword [rsp + 0x98]
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x30], rax
mov rax, qword [r14 + 0x18]
mov rax, qword [rax + rdi - 8]
mov qword [rsp + 0x28], rax
movzx eax, byte [rsp + 0xab]
sub eax, 1
movzx eax, ax
mov dword [rsp + 0x20], eax
call sym.wherePathSatisfiesOrderBy
mov r10, qword [rsp + 0x40]
movsx eax, al
mov rdx, qword [r10 + 0x18]
cmp eax, dword [rdx]
jne 0x1402abf62
mov byte [r10 + 0x43], 2
jmp 0x1402abf62
mov eax, 1
mov ebx, 1
mov r11d, 1
jmp 0x1402ab326
xor edx, edx
lea r8, [rsi + rsi]
mov rcx, rax
mov qword [rsp + 0x48], r10
mov dword [rsp + 0x40], r11d
call sub.msvcrt.dll_memset
mov eax, 0x30
mov r10, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x90]
mov r13d, dword [rsp + 0x8c]
mov r11d, dword [rsp + 0x40]
cmp word [rdi + 0xe0], 0x30
cmovle ax, word [rdi + 0xe0]
mov rdi, qword [rsp + 0x80]
test r13d, r13d
mov word [rdi + 0x10], ax
mov eax, 0xffffffff
cmove eax, dword [rsp + 0x64]
mov byte [rdi + 0x16], al
jmp 0x1402ab459
mov r9, qword [r14 + 8]
mov qword [r10 + 0x68], r9
test al, al
jle 0x1402ac148
cmp al, 1
jne 0x1402abfae
mov r9d, dword [rsp + 0x8c]
test r9d, r9d
je 0x1402abfae
test r8b, 3
je 0x1402abfae
or ecx, 4
mov byte [r10 + 0x44], cl
jmp 0x1402abfae
mov r11d, dword [rsp + 0x8c]
mov byte [r10 + 0x41], 0
test r11d, r11d
je 0x1402abfce
mov rax, qword [r14 + 0x18]
mov rdi, qword [rsp + 0x98]
mov rcx, qword [rax + rdi - 8]
mov eax, dword [rcx + 0x38]
test ah, 0x10
jne 0x1402abfae
and eax, 0x104
cmp eax, 0x104
je 0x1402abfae
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x28], rcx
mov r8, r14
mov rcx, r10
mov qword [rsp + 0x30], rax
movzx eax, byte [rsp + 0xab]
mov r9d, 0x800
mov qword [rsp + 0x40], r10
mov qword [rsp + 0xb8], 0
sub eax, 1
movzx eax, ax
mov dword [rsp + 0x20], eax
call sym.wherePathSatisfiesOrderBy
mov r10, qword [rsp + 0x40]
movsx eax, al
mov rdx, qword [r10 + 0x10]
cmp eax, dword [rdx]
jne 0x1402ac1f2
mov rax, qword [rsp + 0xb8]
or byte [r10 + 0x44], 4
mov qword [r10 + 0x68], rax
movzx r8d, word [r10 + 0x3c]
jmp 0x1402abfae
mov rdi, qword [rsp + 0x90]
lea rdx, str.no_query_solution
mov rcx, rdi
call sym.sqlite3ErrorMsg
mov rdx, qword [rsp + 0xa0]
mov rax, rdi
jmp 0x1402abfe8
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov byte [r10 + 0x43], 2
jmp 0x1402abf97
mov rcx, r10
xor r9d, r9d
mov r8, r14
mov qword [rsp + 0x40], r10
lea rax, [rsp + 0xb8]
mov rdi, qword [rsp + 0x98]
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0x30], rax
mov rax, qword [r14 + 0x18]
mov rax, qword [rax + rdi - 8]
mov qword [rsp + 0x28], rax
movzx eax, byte [rsp + 0xab]
sub eax, 1
movzx eax, ax
mov dword [rsp + 0x20], eax
call sym.wherePathSatisfiesOrderBy
mov r10, qword [rsp + 0x40]
movsx eax, al
mov rdx, qword [r10 + 0x10]
cmp eax, dword [rdx]
jne 0x1402abfce
mov rax, qword [rsp + 0xb8]
or byte [r10 + 0x44], 8
mov qword [r10 + 0x68], rax
jmp 0x1402abfce