Function at 0x14029d6e0
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, 0x158
movaps xmmword [rsp + 0x140], xmm6
mov eax, dword [rsp + 0x1c0]
mov qword [rsp + 0x1a8], rdx
mov rdx, qword [rcx]
test ax, ax
mov ebx, r9d
mov qword [rsp + 0x1a0], rcx
mov qword [rsp + 0x1b0], r8
mov word [rsp + 0x7e], r9w
mov rdx, qword [rdx]
je 0x14029d738
test byte [rdx + 0x60], 0x40
jne 0x14029dbea
mov rdi, qword [rsp + 0x1a8]
mov esi, dword [rdi]
cmp si, 0x3f
ja 0x14029dbea
mov ecx, esi
mov edx, 1
movzx r10d, si
shl rdx, cl
mov ecx, ebx
and cx, 0x803
cmp cx, 1
sbb r11d, r11d
add r11d, 0x183
cmp cx, 1
sbb edi, edi
add di, 0x183
sub rdx, 1
mov word [rsp + 0x90], di
mov r15, rdx
je 0x14029e1ba
xor r13d, r13d
mov qword [rsp + 0x98], r15
xor r9d, r9d
xor ebp, ebp
lea rdi, [sym.exprNodeIsConstant]
mov r15d, r10d
mov qword [rsp + 0xa8], 0
mov r10, r13
movq xmm6, rdi
movzx edi, ax
movzx eax, ax
mov qword [rsp + 0xb8], 0
mov dword [rsp + 0xb0], edi
lea rdx, [sym.sqlite3SelectWalkFail]
mov edi, ebx
and di, 0x800
movq xmm1, rdx
mov qword [rsp + 0xa0], rax
mov word [rsp + 0xb4], di
mov edi, ebx
punpcklqdq xmm6, xmm1
and di, 0x80
mov dword [rsp + 0xc0], esi
mov word [rsp + 0x94], di
mov edi, ebx
and edi, 0x40
mov dword [rsp + 0xc8], r11d
mov word [rsp + 0x96], di
lea rdi, [0x14033cae0]
mov dword [rsp + 0xcc], ebx
jmp 0x14029d85e
mov rax, qword [rsp + 0x98]
cmp r10, rax
jae 0x14029e441
cmp qword [rsp + 0xa0], r9
lea rax, [r9 + 1]
je 0x14029e44e
mov r9, rax
test r9, r9
mov eax, r9d
je 0x14029d872
mov rbx, qword [rbp + 8]
or qword [rsp + 0xa8], rbx
cmp dword [rsp + 0xb0], eax
jle 0x14029e17f
mov rax, qword [rsp + 0x1b0]
cmp word [rsp + 0xb4], 0
mov rax, qword [rax + 0x18]
mov rbp, qword [rax + r9*8]
jne 0x14029d838
mov eax, dword [rbp + 0x38]
test ah, 4
jne 0x14029e193
cmp word [rsp + 0x94], 0
je 0x14029d8b9
xor r13d, r13d
mov word [rbp + 0x1e], r13w
movzx edx, byte [rbp + 0x10]
mov rsi, qword [rsp + 0x1a0]
imul rdx, rdx, 0x68
add rdx, qword [rsi + 8]
test r15d, r15d
mov esi, dword [rdx + 0x4c]
mov dword [rsp + 0x30], esi
je 0x14029dc6e
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x28], rbp
xor r13d, r13d
mov qword [rsp + 0x38], r9
lea rbx, [rax + 8]
mov rbp, rbx
mov qword [rsp + 0x40], rbx
mov rbx, r10
jmp 0x14029d919
add r13d, 1
add rbp, 0x20
cmp r15d, r13d
je 0x14029daac
mov rsi, rbx
mov ecx, r13d
shr rsi, cl
and esi, 1
jne 0x14029d908
mov rdx, qword [rbp]
test rdx, rdx
je 0x14029d908
mov eax, dword [rdx + 4]
test eax, 0x82000
je 0x14029d95c
test eax, 0x80000
je 0x14029dc10
mov rax, qword [rdx + 0x20]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14029d908
mov eax, dword [rdx + 4]
test eax, 0x82000
jne 0x14029d93a
movzx eax, byte [rdx]
add eax, 0x59
test al, 0xfd
jne 0x14029d908
mov eax, dword [rsp + 0x30]
cmp dword [rdx + 0x2c], eax
jne 0x14029d908
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x58], rdx
mov r12d, 0x101
not rax
mov qword [rsp + 0x48], rax
movzx eax, word [rdx + 0x30]
mov rdx, qword [rsp + 0x1a0]
mov byte [rsp + 0xf8], 0
mov dword [rsp + 0xf0], 0
mov word [rsp + 0xf9], r12w
add rdx, 0x70
cmp ax, 0xfffe
movq xmm0, rdx
mov edx, dword [rsp + 0xc8]
punpcklqdq xmm0, xmm0
movaps xmmword [rsp + 0xd0], xmm0
pxor xmm0, xmm0
movaps xmmword [rsp + 0xe0], xmm0
mov dword [rsp + 0xf4], edx
mov edx, dword [rsp + 0x30]
mov dword [rsp + 0xfc], edx
je 0x14029d908
lea r12, [rsp + 0xd0]
mov word [rsp + 0x128], ax
mov rcx, r12
call sym.whereScanNext
test rax, rax
je 0x14029d908
mov rdx, qword [rsp + 0x58]
mov dword [rsp + 0x50], r13d
xor r14d, r14d
mov r13, qword [rsp + 0x48]
mov qword [rsp + 0x48], rdx
nop
mov rdx, qword [rax + 0x28]
test r13, rdx
jne 0x14029da4f
test rdx, rdx
jne 0x14029da48
test byte [rax + 0x14], 0x82
jne 0x14029e254
test r14, r14
cmove r14, rax
mov rcx, r12
call sym.whereScanNext
test rax, rax
jne 0x14029da30
test r14, r14
mov r13d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
je 0x14029d908
movzx eax, word [r14 + 0x14]
cmp ax, 1
je 0x14029e270
test al, 0x82
je 0x14029da8d
cmp word [rdx + 0x30], 0
jns 0x14029e2c1
mov ecx, r13d
mov eax, 1
add r13d, 1
shl rax, cl
add rbp, 0x20
or rbx, rax
cmp r15d, r13d
jne 0x14029d919
mov rbp, qword [rsp + 0x28]
mov r10, rbx
mov r9, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov eax, dword [rbp + 0x38]
test ah, 0x10
je 0x14029dc77
mov rsi, qword [rbp + 8]
or qword [rsp + 0xb8], rsi
mov rax, qword [rsp + 0xb8]
mov rsi, rbx
xor ebx, ebx
mov qword [rsp + 0x38], rbp
mov r13, qword [rsp + 0x1a0]
mov rbp, rsi
mov r12d, 1
mov rsi, r10
movabs r14, 0x20000000ff
mov qword [rsp + 0x40], r9
not rax
mov qword [rsp + 0x30], rax
jmp 0x14029db66
mov rax, qword [rdx]
and rax, r14
cmp rax, 0xa7
je 0x14029e207
test dword [rdx + 4], 0x810000
jne 0x14029dc22
lea rcx, [r13 + 0x258]
mov qword [rsp + 0x28], rdx
call sym.sqlite3WhereExprUsageFull
mov rdx, qword [rsp + 0x28]
test rax, rax
je 0x14029dc22
test qword [rsp + 0x30], rax
je 0x14029db75
add ebx, 1
add rbp, 0x20
cmp r15d, ebx
je 0x14029db8c
bt rsi, rbx
jb 0x14029db5a
mov rdx, qword [rbp]
test rdx, rdx
jne 0x14029db15
mov rax, r12
mov ecx, ebx
shl rax, cl
or rsi, rax
add ebx, 1
add rbp, 0x20
cmp r15d, ebx
jne 0x14029db66
mov rbp, qword [rsp + 0x38]
mov r10, rsi
mov r9, qword [rsp + 0x40]
jmp 0x14029d838
mov rbp, r15
mov r15d, r9d
mov r9, qword [rsp + 0x88]
mov r10, r14
mov ebx, eax
or byte [rsp + 0x48], bl
cmp byte [rsp + 0x48], 0
jne 0x14029ded5
mov r13, r10
mov r10d, r15d
mov r15, qword [rsp + 0x98]
mov esi, dword [rsp + 0xc0]
cmp r13, r15
je 0x14029e1ba
lea ecx, [r10 - 1]
test ecx, ecx
jg 0x14029e378
xor eax, eax
movaps xmm6, xmmword [rsp + 0x140]
add rsp, 0x158
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x14029d930
jmp 0x14029d908
mov eax, 1
movups xmmword [rsp + 0xd8], xmm6
lea rcx, [rsp + 0xd0]
mov word [rsp + 0xf4], ax
mov dword [rsp + 0xf8], 0
call sym.walkExpr
cmp word [rsp + 0xf4], 0
je 0x14029db5a
mov rax, r12
mov ecx, ebx
shl rax, cl
or rsi, rax
jmp 0x14029db80
test ah, 0x10
jne 0x14029e3d2
test ah, 1
jne 0x14029e1eb
mov r14, qword [rbp + 0x20]
test r14, r14
je 0x14029dbea
test byte [r14 + 0x64], 4
jne 0x14029dbea
movzx ebx, byte [r14 + 0x62]
movzx esi, word [r14 + 0x60]
movzx r13d, word [r14 + 0x5e]
test bl, bl
mov byte [rsp + 0x48], bl
mov word [rsp + 0x6e], si
je 0x14029e2b0
shr eax, 0xf
xor eax, 1
and eax, 1
test si, si
mov byte [rsp + 0x48], al
je 0x14029dbb5
mov rax, qword [rsp + 0x1a8]
xor ebx, ebx
mov r11, r14
xor r8d, r8d
mov dword [rsp + 0xc4], r9d
mov r14, r10
mov qword [rsp + 0x88], r9
mov r9d, r15d
mov r15, rbp
mov byte [rsp + 0xb7], 0
add rax, 8
mov byte [rsp + 0xb6], 0
mov qword [rsp + 0x70], rax
mov eax, ebx
mov word [rsp + 0x92], r13w
jmp 0x14029dd6d
movzx r10d, word [r15 + 0x3e]
cmp r10d, r8d
jg 0x14029dd7a
mov rbx, qword [r15 + 0x48]
mov rsi, qword [rbx + r8*8]
movzx r10d, word [rsi + 0x14]
test word [rsp + 0x90], r10w
je 0x14029e0e3
movzx esi, byte [rsp + 0x48]
xor edx, edx
test r10w, 0x180
cmovne esi, edx
mov byte [rsp + 0x48], sil
movzx edx, word [rsp + 0x6e]
add r8, 1
cmp edx, r8d
jle 0x14029db9e
movzx ecx, word [r15 + 0x18]
mov edx, r8d
cmp ecx, r8d
jg 0x14029dd20
test r9d, r9d
setg r13b
test r11, r11
je 0x14029e132
mov rbx, qword [r11 + 0x38]
mov dword [rsp + 0x28], 0xffffffff
mov r10, qword [r11 + 8]
mov rsi, qword [r11 + 0x18]
movzx ebx, byte [rbx + r8]
movsx r10, word [r10 + r8*2]
and ebx, 1
cmp r10w, word [rsi + 0x34]
je 0x14029dde8
cmp byte [rsp + 0x48], 0
movsx ebp, r10w
mov dword [rsp + 0x28], ebp
je 0x14029dde8
test ebp, ebp
js 0x14029e1c8
cmp ecx, edx
jg 0x14029dde8
lea rcx, [r10 + r10*2]
mov r10, qword [rsi + 8]
lea rcx, [r10 + rcx*8]
test byte [rcx + 8], 0xf
setne byte [rsp + 0x48]
nop word [rax + rax]
test r13b, r13b
mov dword [rsp + 0x40], r8d
je 0x14029e14a
movzx r10d, word [rsp + 0x7e]
mov qword [rsp + 0x60], r15
xor esi, esi
mov r15, r14
mov r12, qword [rsp + 0x70]
mov byte [rsp + 0x6d], al
mov r14d, r9d
mov qword [rsp + 0x38], r11
mov byte [rsp + 0x7d], bl
and r10w, 0xc0
mov qword [rsp + 0x50], r8
mov dword [rsp + 0x78], edx
jmp 0x14029de41
add esi, 1
add r12, 0x20
cmp r14d, esi
jle 0x14029de98
test bpl, bpl
je 0x14029de98
mov rbx, r15
mov ecx, esi
mov ebp, r13d
shr rbx, cl
and ebx, 1
jne 0x14029de30
mov rdx, qword [r12]
test rdx, rdx
mov rcx, rdx
je 0x14029de30
nop dword [rax]
mov eax, dword [rcx + 4]
test eax, 0x82000
je 0x14029df1b
test eax, 0x80000
je 0x14029df00
mov rax, qword [rcx + 0x20]
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x14029de60
add esi, 1
add r12, 0x20
mov ebp, r13d
cmp r14d, esi
jg 0x14029de3c
nop dword [rax]
movzx ebx, byte [rsp + 0x6d]
mov r10, r15
mov r15d, r14d
mov rbp, qword [rsp + 0x60]
movzx r13d, word [rsp + 0x92]
mov r9, qword [rsp + 0x88]
mov esi, dword [rsp + 0x40]
test esi, esi
je 0x14029decd
movzx eax, r13w
cmp eax, esi
jle 0x14029dbb1
test bl, bl
je 0x14029dbc0
mov rsi, qword [rbp + 8]
or qword [rsp + 0xb8], rsi
test r15d, r15d
je 0x14029d838
mov rax, qword [rsp + 0x1a8]
lea rbx, [rax + 8]
jmp 0x14029dad6
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14029de86
mov eax, dword [rcx + 4]
test eax, 0x82000
jne 0x14029de6e
test r10w, r10w
setne bpl
cmp dword [rsp + 0x28], 0xffffffff
jl 0x14029e0a8
movzx eax, byte [rcx]
add eax, 0x59
test al, 0xfd
jne 0x14029de30
mov eax, dword [rsp + 0x30]
cmp dword [rcx + 0x2c], eax
jne 0x14029de30
movsx eax, word [rcx + 0x30]
mov ecx, dword [rsp + 0x28]
cmp eax, ecx
jne 0x14029de30
cmp dword [rsp + 0x28], 0xffffffff
je 0x14029dfca
mov rax, qword [rsp + 0x1a0]
mov dword [rsp + 0x58], r10d
mov rax, qword [rax]
mov rcx, rax
mov qword [rsp + 0x80], rax
call sym.sqlite3ExprCollSeq
mov r10d, dword [rsp + 0x58]
test rax, rax
je 0x14029e16b
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rdx + 0x40]
mov r8, qword [rdx + rcx*8]
mov rcx, qword [rax]
jmp 0x14029dfb9
movzx edx, byte [rdi + rdx]
cmp byte [rdi + rax], dl
jne 0x14029de30
add rbx, 1
movzx eax, byte [rcx + rbx]
movzx edx, byte [r8 + rbx]
cmp eax, edx
jne 0x14029dfa8
test eax, eax
jne 0x14029dfb5
cmp word [rsp + 0x94], 0
mov r9d, r14d
mov r14, r15
movzx eax, byte [rsp + 0x6d]
mov r15, qword [rsp + 0x60]
mov r11, qword [rsp + 0x38]
movzx ebx, byte [rsp + 0x7d]
mov r8, qword [rsp + 0x50]
mov edx, dword [rsp + 0x78]
je 0x14029e001
lea ecx, [r8 + 1]
mov word [r15 + 0x1e], cx
movsxd rcx, esi
mov r10, qword [rsp + 0x1a8]
shl rcx, 5
cmp word [rsp + 0x96], 0
movzx r10d, byte [r10 + rcx + 0x18]
jne 0x14029e068
mov ecx, r10d
and ecx, 1
cmp byte [rsp + 0xb6], 0
jne 0x14029e1d7
mov ebp, ebx
mov byte [rsp + 0xb6], 1
xor ebp, ecx
cmp bl, cl
mov byte [rsp + 0xb7], bpl
je 0x14029e068
movzx ecx, byte [rsp + 0xc4]
mov ebx, 1
shl rbx, cl
mov rcx, qword [rsp + 0x1d0]
or qword [rcx], rbx
and r10d, 2
je 0x14029e083
movzx ecx, word [r15 + 0x18]
cmp ecx, edx
jne 0x14029e14a
or dword [r15 + 0x38], 0x80000
cmp dword [rsp + 0x28], 0xffffffff
mov edx, 1
mov ecx, esi
cmove eax, edx
mov edx, 1
shl rdx, cl
or r14, rdx
jmp 0x14029dd5b
mov rdx, qword [rsp + 0x38]
mov dword [rsp + 0x58], r10d
movsxd rax, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x30]
shl rax, 5
add rax, qword [rdx + 0x50]
mov rdx, qword [rax + 8]
call sym.sqlite3ExprCompareSkip
mov r10d, dword [rsp + 0x58]
test eax, eax
jne 0x14029de30
mov rdx, qword [r12]
jmp 0x14029df60
test r9d, r9d
setg r13b
and r10d, 1
je 0x14029dd81
lea r10d, [r8 + 1]
mov rbp, qword [rsi]
cmp ecx, r10d
jle 0x14029dd81
lea r10, [r8 + 1]
jmp 0x14029e11d
add r10, 1
cmp ecx, r10d
jle 0x14029dd81
mov rsi, qword [rbx + r10*8]
cmp qword [rsi], rbp
jne 0x14029e110
xor r13d, r13d
test r11, r11
jne 0x14029dd8a
xor ebx, ebx
test r13b, r13b
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x28], 0xffffffff
jne 0x14029ddf6
mov rbp, r15
mov r10, r14
mov r15d, r9d
mov r9, qword [rsp + 0x88]
movzx r13d, word [rsp + 0x92]
mov ebx, eax
jmp 0x14029deb9
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
jmp 0x14029df8e
mov rbp, qword [rsp + 0x1c8]
mov eax, dword [rbp + 0x38]
test ah, 4
je 0x14029d8a6
cmp byte [rbp + 0x20], 0
mov esi, dword [rsp + 0xc0]
mov ebx, dword [rsp + 0xcc]
je 0x14029e44e
and bx, 0x280
add bx, 0xff80
je 0x14029e44e
mov eax, esi
jmp 0x14029dbec
cmp dword [rsp + 0x28], 0xfffffffe
setne byte [rsp + 0x48]
jmp 0x14029dde8
xor bl, byte [rsp + 0xb7]
cmp bl, cl
jne 0x14029e14a
jmp 0x14029e068
mov r11d, 1
xor r14d, r14d
xor r13d, r13d
mov byte [rsp + 0x48], 1
mov word [rsp + 0x6e], r11w
jmp 0x14029dcce
mov eax, dword [rdx + 0x2c]
cmp eax, dword [r13 + 0x260]
je 0x14029e3c8
mov r9d, dword [r13 + 0x25c]
mov ecx, 1
cmp r9d, 1
jg 0x14029e23d
jmp 0x14029dc22
add rcx, 1
cmp rcx, r9
je 0x14029dc22
cmp eax, dword [r13 + rcx*4 + 0x260]
jne 0x14029e230
mov eax, 1
shl rax, cl
jmp 0x14029db53
mov r14, rax
mov r13d, dword [rsp + 0x50]
movzx eax, word [r14 + 0x14]
mov rdx, qword [rsp + 0x48]
cmp ax, 1
jne 0x14029da7e
mov rax, qword [rsp + 0x28]
movzx ecx, word [rax + 0x3c]
test ecx, ecx
je 0x14029d908
mov rdx, qword [rax + 0x48]
xor eax, eax
jmp 0x14029e298
add eax, 1
add rdx, 8
cmp ecx, eax
je 0x14029d908
cmp qword [rdx], r14
jne 0x14029e289
cmp ecx, eax
jg 0x14029da8d
jmp 0x14029d908
cmp word [rsp + 0x6e], 0
jne 0x14029dcce
jmp 0x14029dbc0
mov rax, qword [rsp + 0x1a0]
mov rdx, qword [rbp]
mov rcx, qword [rax]
mov qword [rsp + 0x48], rcx
call sym.sqlite3ExprCollSeq
mov rcx, qword [rsp + 0x48]
test rax, rax
mov r12, rax
je 0x14029e3e3
mov rax, qword [r14]
test byte [rax + 5], 4
mov r14, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
je 0x14029e384
test byte [r14 + 5], 2
jne 0x14029e3b2
test r9, r9
je 0x14029e31b
test byte [r9 + 5], 2
jne 0x14029e434
mov rdx, r14
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x48], rcx
call sym.sqlite3ExprCollSeq
mov rcx, qword [rsp + 0x48]
test rax, rax
mov r9, qword [rsp + 0x50]
je 0x14029e434
mov r9, qword [rax]
lea rcx, [0x14033cae0]
mov r12, qword [r12]
jmp 0x14029e361
movzx edx, byte [rcx + rdx]
cmp byte [rcx + rax], dl
jne 0x14029d908
add rsi, 1
movzx eax, byte [r12 + rsi]
movzx edx, byte [r9 + rsi]
cmp eax, edx
jne 0x14029e350
test eax, eax
jne 0x14029e35d
jmp 0x14029da8d
cmp ecx, 0x3f
jle 0x14029e3ef
mov eax, ecx
jmp 0x14029dbec
test byte [r9 + 5], 2
jne 0x14029e434
test r14, r14
je 0x14029e39b
test byte [r14 + 5], 2
jne 0x14029e3b2
mov rdx, r9
mov qword [rsp + 0x48], rcx
call sym.sqlite3ExprCollSeq
mov rcx, qword [rsp + 0x48]
test rax, rax
jne 0x14029e340
mov rdx, r14
call sym.sqlite3ExprCollSeq
test rax, rax
je 0x14029d908
jmp 0x14029e340
mov eax, 1
jmp 0x14029db53
mov rsi, qword [rbp + 8]
or qword [rsp + 0xb8], rsi
jmp 0x14029d838
mov rax, qword [rcx]
mov r12, qword [rax + 0x10]
jmp 0x14029e2eb
mov eax, 1
mov rdx, r13
shl rax, cl
not rdx
sub rax, 1
test rdx, rax
je 0x14029e37d
mov edx, 1
sub ecx, 1
je 0x14029dbea
mov rax, rdx
mov r8, r13
shl rax, cl
not r8
sub rax, 1
test r8, rax
jne 0x14029e40f
mov eax, ecx
jmp 0x14029dbec
mov rdx, r9
call sym.sqlite3ExprCollSeq
jmp 0x14029e3ba
mov esi, dword [rsp + 0xc0]
je 0x14029e1ba
mov eax, 0xffffffff
jmp 0x14029dbec