Function at 0x4bb204
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, 0x48
mov eax, dword [rdx]
cmp eax, 4
mov rsi, rcx
mov rbx, rdx
mov qword [rdx + 4], 0
je 0x4bb232
cmp eax, 9
jne 0x4bb33c
mov r14, qword [rbx + 0x20]
xor r12d, r12d
cmp dword [r14 + 0x10], r12d
jle 0x4bb330
mov r13, qword [r14 + r12*8 + 0x18]
cmp dword [r13 + 0x18], 0
je 0x4bb265
lea rax, [r13 + 0x20]
mov dword [rsp + 0x3c], 0
mov qword [rsp + 0x30], rax
jmp 0x4bb311
mov dword [rbx + 4], 1
jmp 0x4bb476
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x4bb287
call sym.sqlite3Fts5IterClose
mov qword [rbp + 0x10], 0
mov rax, qword [rsp + 0x30]
lea r8, [rbp + 0x10]
xor r10d, r10d
mov r9d, dword [rsi + 0x18]
mov r11, qword [r14 + 8]
cmp byte [rax], 0
setne r10b
test r9d, r9d
je 0x4bb2ad
mov r9d, 2
mov rdx, qword [rbp + 8]
xor eax, eax
or rcx, 0xffffffffffffffff
or r9d, r10d
mov rdi, rdx
repne scasb al, byte [rdi]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], r11
not rcx
lea r8d, [rcx - 1]
mov rcx, qword [rsi]
call sym.sqlite3Fts5IndexQuery
test eax, eax
jne 0x4bb478
mov rax, qword [rbp + 0x10]
mov rbp, qword [rbp + 0x18]
cmp byte [rax + 0x14], 0
mov eax, 1
cmove r15d, eax
test rbp, rbp
jne 0x4bb271
add qword [rsp + 0x30], 0x20
test r15d, r15d
je 0x4bb265
inc dword [rsp + 0x3c]
mov eax, dword [rsp + 0x3c]
cmp eax, dword [r13 + 0x18]
jge 0x4bb328
mov rbp, qword [rsp + 0x30]
xor r15d, r15d
jmp 0x4bb271
inc r12
jmp 0x4bb239
mov dword [rbx + 4], 0
jmp 0x4bb3c2
cmp qword [rdx + 0x10], 0
je 0x4bb265
xor r12d, r12d
xor ebp, ebp
xor eax, eax
mov ecx, dword [rbx + 0x28]
cmp ecx, r12d
setg r8b
test eax, eax
sete dl
inc r12
test r8b, dl
je 0x4bb37b
mov r13, qword [rbx + r12*8 + 0x28]
mov rcx, rsi
mov rdx, r13
call sym.fts5ExprNodeFirst
add ebp, dword [r13 + 4]
jmp 0x4bb34e
mov rdx, qword [rbx + 0x30]
mov r8, qword [rdx + 0x18]
mov qword [rbx + 0x18], r8
mov r8d, dword [rbx]
cmp r8d, 1
je 0x4bb3a4
cmp r8d, 2
jne 0x4bb3aa
test ebp, ebp
jle 0x4bb3b0
mov rcx, rbx
call sym.fts5ExprSetEof
jmp 0x4bb3b0
cmp ecx, ebp
jne 0x4bb3b0
jmp 0x4bb39a
mov edx, dword [rdx + 4]
mov dword [rbx + 4], edx
test eax, eax
jne 0x4bb478
cmp dword [rbx + 4], 0
jne 0x4bb476
mov eax, dword [rbx]
cmp eax, 2
je 0x4bb440
jg 0x4bb3e3
dec eax
jne 0x4bb45b
mov rdx, rbx
mov rcx, rsi
call sym.fts5ExprNodeTest_OR
jmp 0x4bb476
cmp eax, 4
je 0x4bb408
cmp eax, 9
jne 0x4bb45b
mov rdx, rbx
mov rcx, rsi
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.fts5ExprNodeTest_STRING
mov rax, qword [rbx + 0x20]
mov r8, qword [rsi + 8]
mov rdx, qword [rax + 0x18]
cmp dword [r8 + 0x5c], 0
mov rax, qword [rdx + 0x30]
mov ecx, dword [rax + 0x10]
mov dword [rdx + 0x10], ecx
jne 0x4bb42d
mov r8, qword [rax + 8]
mov qword [rdx + 8], r8
mov rax, qword [rax]
mov qword [rbx + 0x18], rax
xor eax, eax
test ecx, ecx
sete al
mov dword [rbx + 8], eax
jmp 0x4bb476
mov rdx, rbx
mov rcx, rsi
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.fts5ExprNodeTest_AND
mov rdx, rbx
mov rcx, rsi
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.fts5ExprNodeTest_NOT
xor eax, eax
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret