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

Disassembly:
mov r11, rsp
push r13
sub rsp, 0x60
cmp byte [rcx + 0x1f2], 2
mov r13d, r9d
jne 0x1402871b4
movzx eax, byte [r8 + 0x24]
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rbp, qword [rcx]
mov qword [r11 + 0x20], rsi
mov qword [r11 - 0x18], r12
imul rbx, rax, 0x78
mov eax, dword [rcx + 0x200]
mov r12, qword [rcx + 0x10]
mov qword [r11 - 0x20], r14
mov r14, qword [r8 + 0x40]
add rbx, rdx
mov dword [rsp + 0x70], eax
mov esi, dword [r14 + 0x28]
bt esi, 0xd
jb 0x140287195
movzx eax, word [rsp + 0x98]
test al, 0x40
jne 0x140287195
mov qword [r11 - 0x10], rdi
mov qword [r11 - 0x28], r15
mov r15d, esi
and r15d, 0x30
jne 0x140286f12
bt esi, 0xa
jb 0x140286f0a
cmp word [r14 + 0x18], r15w
ja 0x140286f12
test al, 3
jne 0x140286f12
xor eax, eax
jmp 0x140286f17
mov eax, 1
lea rcx, str.SEARCH
test eax, eax
lea r8, str.SCAN
cmovne r8, rcx
lea rdx, [0x140374da0]
mov rcx, rbp
call fcn.14021d520
cmp qword [rbx + 0x30], 0
mov rdx, rax
je 0x140286f58
movzx ecx, byte [rbx + 0x4c]
mov r9, rax
lea r8, str._s_SUBQUERY__d
mov dword [rsp + 0x20], ecx
jmp 0x140286f6b
mov rax, qword [rbx + 0x18]
mov r9, rdx
lea r8, str._s_TABLE__s
mov qword [rsp + 0x20], rax
mov rcx, rbp
call fcn.14021d550
mov rdi, rax
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x140286f9c
lea r8, str._s_AS__s
mov r9, rdi
mov rdx, rdi
mov rcx, rbp
mov qword [rsp + 0x20], rax
call fcn.14021d550
mov rdi, rax
test esi, 0x500
jne 0x140287020
cmp qword [r14 + 0x20], 0
je 0x140287020
mov r8, qword [rbx + 0x28]
mov rdx, r14
mov rcx, rbp
call fcn.140286ad0
mov rcx, qword [r14 + 0x20]
test sil, 0x40
mov rcx, qword [rcx]
mov rbx, rax
lea rax, str.COVERING
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rcx
lea rdx, [0x14033aa95]
cmovne rdx, rax
lea rax, str._s_USING_AUTOMATIC__sINDEX_.0s_s
lea r8, str._s_USING__sINDEX__s_s
mov qword [rsp + 0x20], rdx
bt esi, 0xe
mov r9, rdi
cmovb r8, rax
mov rdx, rdi
mov rcx, rbp
call fcn.14021d550
mov rdx, rbx
mov rcx, rbp
mov rdi, rax
call fcn.14021b8a0
jmp 0x1402870f2
bt esi, 8
jae 0x1402870c3
test sil, 0xf
je 0x1402870c3
lea r8, str._s_USING_INTEGER_PRIMARY_KEY
mov r9, rdi
mov rdx, rdi
mov rcx, rbp
call fcn.14021d550
mov rdi, rax
test sil, 5
je 0x14028706c
lea r8, str._s__rowid__
mov r9, rax
mov rdx, rax
mov rcx, rbp
call fcn.14021d550
jmp 0x1402870ef
cmp r15d, 0x30
jne 0x140287089
lea r8, str._s__rowid___AND_rowid___
mov r9, rax
mov rdx, rax
mov rcx, rbp
call fcn.14021d550
jmp 0x1402870ef
test sil, 0x20
je 0x1402870a6
lea r8, [0x140373640]
mov r9, rax
mov rdx, rax
mov rcx, rbp
call fcn.14021d550
jmp 0x1402870ef
test sil, 0x10
je 0x1402870f2
lea r8, str._s__rowid___
mov r9, rax
mov rdx, rax
mov rcx, rbp
call fcn.14021d550
jmp 0x1402870ef
bt esi, 0xa
jae 0x1402870f2
mov rax, qword [r14 + 0x20]
lea r8, str._s_VIRTUAL_TABLE_INDEX__d:_s
mov r9, rdi
mov qword [rsp + 0x28], rax
mov eax, dword [r14 + 0x18]
mov rdx, rdi
mov rcx, rbp
mov dword [rsp + 0x20], eax
call fcn.14021d550
mov rdi, rax
lea r8, [0x140374da0]
mov r9, rdi
mov rdx, rdi
mov rcx, rbp
call fcn.14021d550
mov ecx, dword [rsp + 0x90]
mov r8d, dword [rsp + 0x70]
mov dword [rsp + 0x20], ecx
mov r9d, r13d
mov edx, 0x9c
mov rcx, r12
mov rdi, rax
call fcn.14023b2f0
mov r8, qword [r12 + 8]
mov rcx, qword [r12]
mov r15, qword [rsp + 0x40]
test r8, r8
je 0x140287185
cmp byte [rcx + 0x50], 0
jne 0x140287185
test eax, eax
jns 0x14028714e
mov eax, dword [r12 + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rbx, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rbx + 0x10]
call fcn.14023b8c0
xor eax, eax
mov qword [rbx + 0x10], rax
test rdi, rdi
jne 0x14028717b
mov qword [rbx + 0x10], rax
mov byte [rbx + 1], al
jmp 0x140287190
mov qword [rbx + 0x10], rdi
mov byte [rbx + 1], 0xff
jmp 0x140287190
mov r8, rdi
or edx, 0xffffffff
call fcn.14023b8c0
mov rdi, qword [rsp + 0x58]
mov r12, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
mov r14, qword [rsp + 0x48]
add rsp, 0x60
pop r13
ret