Function at 0x140281150
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 0x140281484
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 0x140281465
movzx eax, word [rsp + 0x98]
test al, 0x40
jne 0x140281465
mov qword [r11 - 0x10], rdi
mov qword [r11 - 0x28], r15
mov r15d, esi
and r15d, 0x30
jne 0x1402811e2
bt esi, 0xa
jb 0x1402811da
cmp word [r14 + 0x18], r15w
ja 0x1402811e2
test al, 3
jne 0x1402811e2
xor eax, eax
jmp 0x1402811e7
mov eax, 1
lea rcx, str.SEARCH
test eax, eax
lea r8, str.SCAN
cmovne r8, rcx
lea rdx, [0x14036b948]
mov rcx, rbp
call fcn.1402177f0
cmp qword [rbx + 0x30], 0
mov rdx, rax
je 0x140281228
movzx ecx, byte [rbx + 0x4c]
mov r9, rax
lea r8, str._s_SUBQUERY__d
mov dword [rsp + 0x20], ecx
jmp 0x14028123b
mov rax, qword [rbx + 0x18]
mov r9, rdx
lea r8, str._s_TABLE__s
mov qword [rsp + 0x20], rax
mov rcx, rbp
call fcn.140217820
mov rdi, rax
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14028126c
lea r8, str._s_AS__s
mov r9, rdi
mov rdx, rdi
mov rcx, rbp
mov qword [rsp + 0x20], rax
call fcn.140217820
mov rdi, rax
test esi, 0x500
jne 0x1402812f0
cmp qword [r14 + 0x20], 0
je 0x1402812f0
mov r8, qword [rbx + 0x28]
mov rdx, r14
mov rcx, rbp
call fcn.140280da0
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, [0x1403349b5]
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.140217820
mov rdx, rbx
mov rcx, rbp
mov rdi, rax
call fcn.140215b70
jmp 0x1402813c2
bt esi, 8
jae 0x140281393
test sil, 0xf
je 0x140281393
lea r8, str._s_USING_INTEGER_PRIMARY_KEY
mov r9, rdi
mov rdx, rdi
mov rcx, rbp
call fcn.140217820
mov rdi, rax
test sil, 5
je 0x14028133c
lea r8, str._s__rowid__
mov r9, rax
mov rdx, rax
mov rcx, rbp
call fcn.140217820
jmp 0x1402813bf
cmp r15d, 0x30
jne 0x140281359
lea r8, str._s__rowid___AND_rowid___
mov r9, rax
mov rdx, rax
mov rcx, rbp
call fcn.140217820
jmp 0x1402813bf
test sil, 0x20
je 0x140281376
lea r8, str._s__rowid___
mov r9, rax
mov rdx, rax
mov rcx, rbp
call fcn.140217820
jmp 0x1402813bf
test sil, 0x10
je 0x1402813c2
lea r8, [0x14036f7d8]
mov r9, rax
mov rdx, rax
mov rcx, rbp
call fcn.140217820
jmp 0x1402813bf
bt esi, 0xa
jae 0x1402813c2
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.140217820
mov rdi, rax
lea r8, [0x14036b948]
mov r9, rdi
mov rdx, rdi
mov rcx, rbp
call fcn.140217820
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.1402355c0
mov r8, qword [r12 + 8]
mov rcx, qword [r12]
mov r15, qword [rsp + 0x40]
test r8, r8
je 0x140281455
cmp byte [rcx + 0x50], 0
jne 0x140281455
test eax, eax
jns 0x14028141e
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.140235b90
xor eax, eax
mov qword [rbx + 0x10], rax
test rdi, rdi
jne 0x14028144b
mov qword [rbx + 0x10], rax
mov byte [rbx + 1], al
jmp 0x140281460
mov qword [rbx + 0x10], rdi
mov byte [rbx + 1], 0xff
jmp 0x140281460
mov r8, rdi
or edx, 0xffffffff
call fcn.140235b90
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