Function at 0x140345a60
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, 0x108
mov qword [rsp + 0x158], rdx
mov edx, dword [rsp + 0x170]
mov qword [rsp + 0x150], rcx
mov qword [rsp + 0x160], r8
mov dword [rsp + 0xc8], r9d
mov word [rsp + 0x78], r9w
test dx, dx
je 0x140345ab5
mov rax, qword [rcx]
mov rax, qword [rax]
test byte [rax + 0x5c], 0x40
jne 0x140345de7
mov rax, qword [rsp + 0x158]
mov eax, dword [rax]
mov dword [rsp + 0xcc], eax
mov esi, eax
cmp ax, 0x3f
ja 0x140345de7
mov ecx, esi
movzx r10d, ax
mov eax, 1
xor esi, esi
shl rax, cl
test dword [rsp + 0xc8], 0x803
setne sil
add si, 0x182
sub rax, 1
mov word [rsp + 0x94], si
mov qword [rsp + 0xa0], rax
je 0x140345ed6
movzx eax, dx
xor r11d, r11d
lea r15, [0x140768440]
mov r13d, r10d
mov dword [rsp + 0xc0], eax
movzx eax, dx
mov r14, r11
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x88], 0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0x98], 0
jmp 0x140345b9c
cmp r14, qword [rsp + 0xa0]
jae 0x1403465a8
mov rcx, qword [rsp + 0x88]
lea rax, [rcx + 1]
cmp qword [rsp + 0xa8], rcx
je 0x14034659e
mov rdi, qword [rsp + 0x30]
mov qword [rsp + 0x88], rax
mov rsi, qword [rdi + 8]
or qword [rsp + 0x98], rsi
mov rsi, qword [rsp + 0x88]
mov dword [rsp + 0x38], esi
cmp dword [rsp + 0xc0], esi
jle 0x140345e9d
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + rsi*8]
mov qword [rsp + 0x30], rax
test word [rsp + 0x78], 0x800
jne 0x140345b5b
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x28]
test dh, 4
jne 0x140345ebb
movzx eax, word [rsp + 0x78]
and ax, 0x80
mov word [rsp + 0x96], ax
je 0x140345c02
mov rax, qword [rsp + 0x30]
xor ecx, ecx
mov word [rax + 0x1e], cx
mov rax, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x150]
movzx ecx, byte [rax + 0x10]
lea rax, [rcx*8]
sub rax, rcx
shl rax, 4
add rax, qword [rsi + 8]
mov eax, dword [rax + 0x4c]
mov dword [rsp + 0x3c], eax
test r13d, r13d
je 0x1403464f0
mov rax, qword [rsp + 0x158]
mov r12, qword [rsp + 0x98]
xor edi, edi
add rax, 8
not r12
mov qword [rsp + 0x40], rax
mov rbp, rax
mov rax, r12
mov r12d, r13d
mov r13, rax
mov rsi, r14
mov ecx, edi
shr rsi, cl
and esi, 1
jne 0x140345cb0
mov rbx, qword [rbp]
test rbx, rbx
jne 0x140345c8d
jmp 0x140345cb0
mov rax, qword [rbx + 0x20]
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x140345cb0
mov eax, dword [rbx + 4]
test eax, 0x41000
je 0x140345e00
test eax, 0x40000
jne 0x140345c80
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140345c8d
nop dword [rax + rax]
add edi, 1
add rbp, 0x20
cmp r12d, edi
jne 0x140345c60
mov rax, qword [rsp + 0x30]
mov r13d, r12d
mov edx, dword [rax + 0x28]
test dh, 0x10
jne 0x140345ee8
test dh, 1
jne 0x140345fbb
mov rax, qword [rsp + 0x30]
mov r11, qword [rax + 0x20]
test r11, r11
je 0x140345de7
test byte [r11 + 0x64], 4
jne 0x140345de7
movzx eax, word [r11 + 0x5e]
movzx esi, byte [r11 + 0x62]
mov word [rsp + 0xc6], ax
movzx eax, word [r11 + 0x60]
mov byte [rsp + 0x7b], sil
mov dword [rsp + 0x7c], eax
test sil, sil
je 0x1403464e1
and dh, 0x80
je 0x14034650f
test eax, eax
je 0x140345d8a
mov byte [rsp + 0x7b], 0
jmp 0x140345fd5
mov ebp, r12d
add esi, 1
add rdi, 0x20
cmp r13d, esi
jle 0x140345d58
test bpl, bpl
jne 0x140346120
mov esi, dword [rsp + 0x40]
test esi, esi
je 0x140346170
movzx eax, word [rsp + 0xc6]
cmp eax, esi
jg 0x140346170
cmp byte [rsp + 0x48], 0
jne 0x14034617b
cmp byte [rsp + 0x7b], 0
jne 0x14034617b
mov r11, r14
mov r10d, r13d
cmp r14, qword [rsp + 0xa0]
je 0x140345ed6
lea ecx, [r10 - 1]
test ecx, ecx
jle 0x140345de7
mov eax, 1
mov rdx, r11
shl rax, cl
sub rax, 1
and rdx, rax
cmp rdx, rax
je 0x140346589
mov r8d, 1
jmp 0x140345de2
mov rax, r8
mov rdx, r11
shl rax, cl
sub rax, 1
and rdx, rax
cmp rdx, rax
je 0x140346589
sub ecx, 1
jne 0x140345dc9
xor eax, eax
add rsp, 0x108
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movzx eax, byte [rbx]
add eax, 0x5a
test al, 0xfd
jne 0x140345cb0
mov eax, dword [rsp + 0x3c]
cmp dword [rbx + 0x2c], eax
jne 0x140345cb0
mov rax, qword [rsp + 0x150]
movsx r8d, word [rbx + 0x30]
mov r9, r13
mov qword [rsp + 0x28], 0
mov edx, dword [rsp + 0x3c]
lea rcx, [rax + 0x70]
movzx eax, word [rsp + 0x94]
mov dword [rsp + 0x20], eax
call dbg.sqlite3WhereFindTerm
mov r8, rax
test rax, rax
je 0x140345cb0
movzx eax, word [rax + 0x14]
cmp ax, 1
je 0x140346538
mov qword [rsp + 0x48], r8
test al, 0x82
je 0x140345e7b
cmp word [rbx + 0x30], 0
jns 0x140346457
mov ecx, edi
mov eax, 1
add edi, 1
add rbp, 0x20
shl rax, cl
or r14, rax
cmp r12d, edi
jne 0x140345c60
jmp 0x140345cbc
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x28]
test dh, 4
je 0x140345be4
cmp byte [rax + 0x1d], 0
mov r11, r14
je 0x140346590
test byte [rsp + 0xc8], 0x80
jne 0x140346590
movzx eax, byte [rsp + 0xcc]
jmp 0x140345de9
mov rsi, qword [rsp + 0x30]
mov rsi, qword [rsi + 8]
or qword [rsp + 0xb0], rsi
mov rdi, qword [rsp + 0x40]
xor ebp, ebp
lea rbx, [dbg.exprNodeIsConstant]
lea rsi, [dbg.sqlite3SelectWalkFail]
jmp 0x140345f4c
mov rax, qword [rsp + 0x150]
mov rdx, r12
lea rcx, [rax + 0x258]
call sym.sqlite3WhereExprUsageNN
test rax, rax
je 0x140345f69
mov rdx, qword [rsp + 0xb0]
not rdx
test rdx, rax
je 0x140345f5a
add ebp, 1
add rdi, 0x20
cmp r13d, ebp
jle 0x140345b5b
bt r14, rbp
jb 0x140345f3c
mov r12, qword [rdi]
test r12, r12
jne 0x140345f10
mov eax, 1
mov ecx, ebp
shl rax, cl
or r14, rax
jmp 0x140345f3c
mov eax, 1
lea rcx, [rsp + 0xd0]
mov rdx, r12
mov qword [rsp + 0xd8], rbx
mov word [rsp + 0xf4], ax
mov qword [rsp + 0xe0], rsi
mov dword [rsp + 0xf8], 0
call dbg.walkExpr
cmp word [rsp + 0xf4], 0
je 0x140345f3c
mov eax, 1
mov ecx, ebp
shl rax, cl
or r14, rax
jmp 0x140345f3c
xor edx, edx
mov dword [rsp + 0x7c], 1
xor r11d, r11d
mov word [rsp + 0xc6], dx
mov byte [rsp + 0x7b], 1
movzx ecx, byte [rsp + 0x38]
mov eax, 1
xor r12d, r12d
mov qword [rsp + 0x58], 1
mov byte [rsp + 0x48], 0
shl rax, cl
mov byte [rsp + 0xc5], 0
mov qword [rsp + 0xb8], rax
mov byte [rsp + 0xc4], 0
jmp 0x140346065
movzx edx, word [rdi + 0x2e]
cmp edx, r12d
jg 0x14034607d
mov rdi, qword [rsp + 0x30]
mov rcx, qword [rdi + 0x38]
mov r8, qword [rcx + r12*8]
movzx edx, word [r8 + 0x14]
test word [rsp + 0x94], dx
je 0x1403463a6
movzx edi, byte [rsp + 0x7b]
test dx, 0x180
mov eax, 0
cmovne edi, eax
mov byte [rsp + 0x7b], dil
add qword [rsp + 0x58], 1
add r12, 1
cmp dword [rsp + 0x7c], r12d
jle 0x140345d74
mov rdi, qword [rsp + 0x30]
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x50], r12d
movzx eax, word [rdi + 0x18]
cmp eax, r12d
jg 0x140346010
test r13d, r13d
setg r10b
test r11, r11
je 0x1403463f1
mov rcx, qword [r11 + 0x38]
mov rdx, qword [r11 + 8]
mov dword [rsp + 0x38], 0xffffffff
movzx ecx, byte [rcx + r12]
movzx edx, word [rdx + r12*2]
and ecx, 1
mov byte [rsp + 0x93], cl
mov rcx, qword [r11 + 0x18]
cmp dx, word [rcx + 0x44]
je 0x1403460f0
movsx edi, dx
cmp byte [rsp + 0x7b], 0
mov dword [rsp + 0x38], edi
je 0x1403460f0
test edi, edi
js 0x140346412
cmp eax, dword [rsp + 0x50]
jg 0x1403460f0
movsx rax, dx
shl rax, 5
add rax, qword [rcx + 8]
cmp byte [rax + 0x18], 0
setne byte [rsp + 0x7b]
nop dword [rax]
test r10b, r10b
je 0x140345d58
lea rax, [r12*8]
mov qword [rsp + 0x80], r12
xor esi, esi
mov r12d, r10d
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x158]
lea rdi, [rax + 8]
nop
mov rbx, r14
mov ecx, esi
shr rbx, cl
and ebx, 1
jne 0x140345d40
mov r8, qword [rdi]
mov rdx, r8
test r8, r8
jne 0x140346159
jmp 0x140345d40
mov rax, qword [rdx + 0x20]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140345d40
mov eax, dword [rdx + 4]
test eax, 0x41000
je 0x1403461b0
test eax, 0x40000
jne 0x140346148
mov rdx, qword [rdx + 0x10]
jmp 0x140346150
cmp byte [rsp + 0x48], 0
je 0x140345d8a
mov rcx, qword [rsp + 0x30]
mov rsi, qword [rcx + 8]
or qword [rsp + 0xb0], rsi
test r13d, r13d
je 0x140345b5b
mov rax, qword [rsp + 0x158]
add rax, 8
mov qword [rsp + 0x40], rax
jmp 0x140345ef9
test byte [rsp + 0x78], 0xc0
setne bpl
cmp dword [rsp + 0x38], 0xffffffff
jl 0x140346330
movzx eax, byte [rdx]
add eax, 0x5a
test al, 0xfd
jne 0x140345d43
mov eax, dword [rsp + 0x3c]
cmp dword [rdx + 0x2c], eax
jne 0x140345d43
movsx eax, word [rdx + 0x30]
cmp eax, dword [rsp + 0x38]
jne 0x140345d43
cmp dword [rsp + 0x38], 0xffffffff
je 0x140346264
mov rax, qword [rsp + 0x150]
mov rdx, r8
mov qword [rsp + 0x70], r11
mov rcx, qword [rax]
mov qword [rsp + 0x68], rcx
call dbg.sqlite3ExprCollSeq
mov rcx, qword [rsp + 0x68]
mov r11, qword [rsp + 0x70]
test rax, rax
je 0x140346406
mov rcx, qword [rsp + 0x60]
mov rdx, qword [r11 + 0x40]
mov r8, qword [rdx + rcx]
mov rcx, qword [rax]
jmp 0x140346253
movzx edx, byte [r15 + rdx]
cmp byte [r15 + rax], dl
jne 0x140345d43
add rbx, 1
movzx eax, byte [rcx + rbx]
movzx edx, byte [r8 + rbx]
cmp eax, edx
jne 0x140346240
test eax, eax
jne 0x14034624f
cmp word [rsp + 0x96], 0
mov r12, qword [rsp + 0x80]
je 0x140346285
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x58]
mov word [rax + 0x1e], cx
mov rdi, qword [rsp + 0x158]
movsxd rax, esi
shl rax, 5
movzx eax, byte [rdi + rax + 0x18]
test byte [rsp + 0x78], 0x40
jne 0x1403462e8
cmp byte [rsp + 0xc4], 0
jne 0x140346436
mov edx, eax
and edx, 1
cmp dl, byte [rsp + 0x93]
je 0x140346421
mov rcx, qword [rsp + 0x180]
mov rdi, qword [rsp + 0xb8]
mov byte [rsp + 0xc5], 1
mov byte [rsp + 0xc4], 1
or qword [rcx], rdi
nop dword [rax + rax]
test al, 2
je 0x140346306
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + 0x18]
cmp eax, dword [rsp + 0x50]
jne 0x140345d58
or dword [rcx + 0x28], 0x80000
movzx edi, byte [rsp + 0x48]
cmp dword [rsp + 0x38], 0xffffffff
mov eax, 1
mov ecx, esi
cmove edi, eax
mov eax, 1
shl rax, cl
mov byte [rsp + 0x48], dil
or r14, rax
jmp 0x140346050
movsxd rax, dword [rsp + 0x40]
shl rax, 5
add rax, qword [r11 + 0x50]
mov r8, qword [rax + 8]
test r8, r8
jne 0x140346361
jmp 0x140345d43
mov rax, qword [r8 + 0x20]
mov r8, qword [rax + 8]
test r8, r8
je 0x140345d43
mov eax, dword [r8 + 4]
test eax, 0x41000
je 0x140346380
test eax, 0x40000
jne 0x140346350
mov r8, qword [r8 + 0x10]
jmp 0x140346358
mov r9d, dword [rsp + 0x3c]
xor ecx, ecx
mov qword [rsp + 0x68], r11
call sym.sqlite3ExprCompare.part.0
mov r11, qword [rsp + 0x68]
test eax, eax
jne 0x140345d43
mov r8, qword [rdi]
jmp 0x1403461f4
test r13d, r13d
setg r10b
and edx, 1
je 0x140346084
mov rdx, qword [rsp + 0x58]
mov r9, qword [r8]
cmp eax, edx
jg 0x1403463dc
jmp 0x140346084
add rdx, 1
cmp eax, edx
jle 0x140346084
mov r8, qword [rcx + rdx*8]
cmp qword [r8], r9
jne 0x1403463d0
xor r10d, r10d
test r11, r11
jne 0x14034608d
mov dword [rsp + 0x38], 0xffffffff
mov byte [rsp + 0x93], 0
jmp 0x1403460f0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
jmp 0x140346224
cmp dword [rsp + 0x38], 0xfffffffe
setne byte [rsp + 0x7b]
jmp 0x1403460f0
mov byte [rsp + 0xc5], 0
mov byte [rsp + 0xc4], 1
jmp 0x1403462e8
mov edx, eax
movzx ecx, byte [rsp + 0x93]
xor cl, byte [rsp + 0xc5]
and edx, 1
cmp cl, dl
jne 0x140345d58
jmp 0x1403462e8
mov rax, qword [rsp + 0x150]
mov rdx, qword [rbp]
mov rcx, qword [rax]
mov qword [rsp + 0x50], rcx
call dbg.sqlite3ExprCollSeq
mov rcx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x48]
test rax, rax
mov rbx, rax
je 0x14034657d
mov rax, qword [r8]
mov r9, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
test byte [rax + 5], 2
jne 0x140346528
mov r8, r9
call sym.sqlite3BinaryCompareCollSeq
test rax, rax
je 0x140345cb0
mov r8, qword [rax]
mov rcx, qword [rbx]
jmp 0x1403464cb
movzx ebx, byte [r15 + rdx]
cmp byte [r15 + rax], bl
jne 0x140345cb0
add rsi, 1
movzx eax, byte [rcx + rsi]
movzx edx, byte [r8 + rsi]
cmp eax, edx
jne 0x1403464b8
test eax, eax
jne 0x1403464c7
jmp 0x140345e7b
test eax, eax
jne 0x140345fd5
jmp 0x140345d8a
test dh, 0x10
je 0x140345cd0
mov rdi, qword [rsp + 0x30]
mov rcx, qword [rdi + 8]
or qword [rsp + 0xb0], rcx
jmp 0x140345b5b
mov byte [rsp + 0x7b], 1
test eax, eax
jne 0x140345fd5
jmp 0x14034617b
mov r8, rdx
mov rdx, r9
call sym.sqlite3BinaryCompareCollSeq
jmp 0x1403464a3
mov rax, qword [rsp + 0x30]
movzx edx, word [rax + 0x2c]
test dx, dx
je 0x140345cb0
mov rax, qword [rax + 0x38]
sub edx, 1
lea rdx, [rax + rdx*8 + 8]
cmp qword [rax], r8
je 0x140345e7b
add rax, 8
cmp rdx, rax
jne 0x140346556
add edi, 1
add rbp, 0x20
cmp r12d, edi
jne 0x140345c60
jmp 0x140345cbc
mov rax, qword [rcx]
mov rbx, qword [rax + 0x10]
jmp 0x140346486
mov eax, ecx
jmp 0x140345de9
cmp qword [rsp + 0xa0], r11
je 0x140345ed6
mov eax, 0xffffffff
jmp 0x140345de9
jne 0x14034659e
jmp 0x140345ed6