Function at 0x140283840
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 0x140283b74
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 0x140283b55
movzx eax, word [rsp + 0x98]
test al, 0x40
jne 0x140283b55
mov qword [r11 - 0x10], rdi
mov qword [r11 - 0x28], r15
mov r15d, esi
and r15d, 0x30
jne 0x1402838d2
bt esi, 0xa
jb 0x1402838ca
cmp word [r14 + 0x18], r15w
ja 0x1402838d2
test al, 3
jne 0x1402838d2
xor eax, eax
jmp 0x1402838d7
mov eax, 1
lea rcx, str.SEARCH
test eax, eax
lea r8, str.SCAN
cmovne r8, rcx
lea rdx, [0x14036e0c0]
mov rcx, rbp
call fcn.140219ee0
cmp qword [rbx + 0x30], 0
mov rdx, rax
je 0x140283918
movzx ecx, byte [rbx + 0x4c]
mov r9, rax
lea r8, str._s_SUBQUERY__d
mov dword [rsp + 0x20], ecx
jmp 0x14028392b
mov rax, qword [rbx + 0x18]
mov r9, rdx
lea r8, str._s_TABLE__s
mov qword [rsp + 0x20], rax
mov rcx, rbp
call fcn.140219f10
mov rdi, rax
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14028395c
lea r8, str._s_AS__s
mov r9, rdi
mov rdx, rdi
mov rcx, rbp
mov qword [rsp + 0x20], rax
call fcn.140219f10
mov rdi, rax
test esi, 0x500
jne 0x1402839e0
cmp qword [r14 + 0x20], 0
je 0x1402839e0
mov r8, qword [rbx + 0x28]
mov rdx, r14
mov rcx, rbp
call fcn.140283490
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, [0x140336985]
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.140219f10
mov rdx, rbx
mov rcx, rbp
mov rdi, rax
call fcn.140218260
jmp 0x140283ab2
bt esi, 8
jae 0x140283a83
test sil, 0xf
je 0x140283a83
lea r8, str._s_USING_INTEGER_PRIMARY_KEY
mov r9, rdi
mov rdx, rdi
mov rcx, rbp
call fcn.140219f10
mov rdi, rax
test sil, 5
je 0x140283a2c
lea r8, str._s__rowid__
mov r9, rax
mov rdx, rax
mov rcx, rbp
call fcn.140219f10
jmp 0x140283aaf
cmp r15d, 0x30
jne 0x140283a49
lea r8, str._s__rowid___AND_rowid___
mov r9, rax
mov rdx, rax
mov rcx, rbp
call fcn.140219f10
jmp 0x140283aaf
test sil, 0x20
je 0x140283a66
lea r8, str._s__rowid___
mov r9, rax
mov rdx, rax
mov rcx, rbp
call fcn.140219f10
jmp 0x140283aaf
test sil, 0x10
je 0x140283ab2
lea r8, [0x140372020]
mov r9, rax
mov rdx, rax
mov rcx, rbp
call fcn.140219f10
jmp 0x140283aaf
bt esi, 0xa
jae 0x140283ab2
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.140219f10
mov rdi, rax
lea r8, [0x14036e0c0]
mov r9, rdi
mov rdx, rdi
mov rcx, rbp
call fcn.140219f10
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.140237cb0
mov r8, qword [r12 + 8]
mov rcx, qword [r12]
mov r15, qword [rsp + 0x40]
test r8, r8
je 0x140283b45
cmp byte [rcx + 0x50], 0
jne 0x140283b45
test eax, eax
jns 0x140283b0e
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.140238280
xor eax, eax
mov qword [rbx + 0x10], rax
test rdi, rdi
jne 0x140283b3b
mov qword [rbx + 0x10], rax
mov byte [rbx + 1], al
jmp 0x140283b50
mov qword [rbx + 0x10], rdi
mov byte [rbx + 1], 0xff
jmp 0x140283b50
mov r8, rdi
or edx, 0xffffffff
call fcn.140238280
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