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

Disassembly:
mov r11, rsp
push rbp
push rbx
push rsi
push r13
push r14
lea rbp, [r11 - 0x5f]
sub rsp, 0xf0
mov rax, qword [0x1401a5100]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rax, qword [rcx + 0xb0]
xor r14d, r14d
test rax, rax
mov qword [rsp + 0x38], rcx
mov r10, rcx
cmovne r10, rax
cmp byte [r10 + 0x133], 2
jne 0x1400de4f7
movzx eax, byte [r8 + 0x40]
mov rsi, qword [r8 + 0x60]
mov r13, qword [rcx + 0x10]
mov rcx, qword [rcx]
imul rax, rax, 0x68
mov ebx, dword [rsi + 0x38]
add rax, 8
add rax, rdx
mov qword [rsp + 0x30], rax
bt ebx, 0xd
jb 0x1400de515
test r9b, 0x20
jne 0x1400de515
mov qword [r11 + 0x20], rdi
mov qword [r11 - 0x30], r12
mov qword [r11 - 0x38], r15
mov r15d, ebx
and r15d, 0x30
jne 0x1400de242
mov edi, ebx
and edi, 0x400
jne 0x1400de237
cmp word [rsi + 0x18], r14w
ja 0x1400de242
test r9b, 3
jne 0x1400de242
mov r12d, r14d
jmp 0x1400de250
mov edi, ebx
mov r12d, 1
and edi, 0x400
mov qword [rbp - 0x79], rcx
lea rdx, [rbp - 0x59]
lea rcx, str.SEARCH
mov qword [rbp - 0x71], rdx
test r12d, r12d
mov dword [rbp - 0x69], 0x64
lea r8, str.SCAN
mov qword [rbp - 0x65], 0x3b9aca00
cmovne r8, rcx
mov word [rbp - 0x5d], 0x100
lea rcx, [rbp - 0x79]
mov r9, rax
lea rdx, str._s__S
call fcn.14003a4f0
test ebx, 0x500
jne 0x1400de37e
mov r15, qword [rsp + 0x30]
mov rdi, qword [rsi + 0x20]
mov rax, qword [r15 + 0x20]
test byte [rax + 0x30], 0x80
je 0x1400de2da
mov eax, dword [rdi + 0x64]
and al, 3
cmp al, 2
jne 0x1400de2da
test r12d, r12d
lea rbx, str.PRIMARY_KEY
cmove rbx, r14
test rbx, rbx
je 0x1400de41b
jmp 0x1400de30d
bt ebx, 0x11
jae 0x1400de2e9
lea rbx, str.AUTOMATIC_PARTIAL_COVERING_INDEX
jmp 0x1400de30d
bt ebx, 0xe
jae 0x1400de2f8
lea rbx, str.AUTOMATIC_COVERING_INDEX
jmp 0x1400de30d
test bl, 0x40
lea rax, str.INDEX__s
lea rbx, str.COVERING_INDEX__s
cmove rbx, rax
mov eax, dword [rbp - 0x61]
add eax, 7
cmp eax, dword [rbp - 0x69]
jb 0x1400de330
mov r8d, 7
lea rdx, str._USING
lea rcx, [rbp - 0x79]
call fcn.140039c70
jmp 0x1400de35e
mov dword [rbp - 0x61], eax
add eax, 0xfffffff9
mov r9d, eax
mov rax, qword [str._USING]
add r9, qword [rbp - 0x71]
mov dword [r9], eax
movzx eax, word [0x140188524]
mov word [r9 + 4], ax
movzx eax, byte [0x140188526]
mov byte [r9 + 6], al
mov r8, qword [rdi]
lea rcx, [rbp - 0x79]
mov rdx, rbx
call fcn.14003a4f0
mov rdx, rsi
lea rcx, [rbp - 0x79]
call fcn.1400ddfa0
jmp 0x1400de41b
test bl, 0xf
setne cl
bt ebx, 8
setb al
test al, cl
je 0x1400de3fa
lea r8, str.rowid
lea rdx, str._USING_INTEGER_PRIMARY_KEY___s
lea rcx, [rbp - 0x79]
call fcn.14003a4f0
test bl, 5
je 0x1400de3b3
mov r8d, 0x3d
jmp 0x1400de3e8
cmp r15d, 0x30
jne 0x1400de3d8
lea r8, str.rowid
lea rdx, str.___AND__s
lea rcx, [rbp - 0x79]
call fcn.14003a4f0
mov r8d, 0x3c
jmp 0x1400de3e8
movzx r8d, bl
shr r8d, 4
and r8d, 2
or r8d, 0x3c
lea rdx, str._c__
lea rcx, [rbp - 0x79]
call fcn.14003a4f0
jmp 0x1400de416
test edi, edi
je 0x1400de416
mov r9, qword [rsi + 0x28]
lea rdx, str._VIRTUAL_TABLE_INDEX__d:_s
mov r8d, dword [rsi + 0x18]
lea rcx, [rbp - 0x79]
call fcn.14003a4f0
mov r15, qword [rsp + 0x30]
test byte [r15 + 0x3c], 8
mov r15, qword [rsp + 0xe0]
mov r12, qword [rsp + 0xe8]
je 0x1400de442
lea rdx, str._LEFT_JOIN
lea rcx, [rbp - 0x79]
call fcn.14003a4f0
mov rdi, qword [rbp - 0x71]
test rdi, rdi
je 0x1400de470
mov eax, dword [rbp - 0x61]
mov byte [rax + rdi], r14b
cmp dword [rbp - 0x65], r14d
jbe 0x1400de46c
test byte [rbp - 0x5c], 4
jne 0x1400de46c
lea rcx, [rbp - 0x79]
call fcn.140039d40
mov rdi, rax
jmp 0x1400de470
mov rdi, qword [rbp - 0x71]
mov r8, qword [rsp + 0x38]
movsxd rbx, dword [r13 + 0x90]
movsx edx, word [rsi + 0x14]
mov r8d, dword [r8 + 0x140]
cmp dword [r13 + 0x94], ebx
jg 0x1400de4ab
mov dword [rsp + 0x20], edx
mov r9d, r8d
mov r8d, ebx
mov edx, 0xbc
mov rcx, r13
call fcn.1400653b0
mov ebx, eax
jmp 0x1400de4d9
lea rcx, [rbx + rbx*2]
lea eax, [rbx + 1]
mov dword [r13 + 0x90], eax
mov rax, qword [r13 + 0x88]
mov dword [rax + rcx*8], 0xbc
mov dword [rax + rcx*8 + 4], ebx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r14
mov r9d, 0xfffffffa
mov r8, rdi
mov edx, ebx
mov rcx, r13
call fcn.1400661b0
mov rdi, qword [rsp + 0x138]
mov r14d, ebx
mov eax, r14d
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1401391d0
add rsp, 0xf0
pop r14
pop r13
pop rsi
pop rbx
pop rbp
ret
xor eax, eax
jmp 0x1400de4fa