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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xc0
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
mov qword [rbp - 0x40], rax
mov word [rbp - 0x1e], 0
mov dword [rbp - 0x24], 0
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x10]
mov qword [rbp - 0x48], rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x20]
mov qword [rbp - 0x50], rax
mov dword [rbp - 0xc], 0
mov eax, dword [rbp - 0xc]
mov dword [rbp - 4], eax
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 0x20]
mov qword [rbp - 0x18], rax
jmp 0x1400bdb9f
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x12]
and eax, 0xffffffbf
mov edx, eax
mov rax, qword [rbp - 0x18]
mov word [rax + 0x12], dx
mov rax, qword [rbp - 0x18]
mov edx, dword [rax + 0x1c]
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0x44]
cmp edx, eax
jne 0x1400bdb89
mov rax, qword [rbp - 0x18]
mov rax, qword [rax + 0x28]
and rax, qword [rbp + 0x20]
test rax, rax
jne 0x1400bdb8c
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx eax, ax
and ah, 0xf7
test eax, eax
je 0x1400bdb8f
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x12]
movzx eax, ax
and eax, 0x80
test eax, eax
jne 0x1400bdb92
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax + 0x3c]
movzx eax, al
and eax, 0x58
test eax, eax
je 0x1400bdb6e
mov rdx, qword [rbp + 0x28]
mov rax, qword [rbp - 0x18]
mov rcx, rax
call dbg.constraintCompatibleWithOuterJoin
test eax, eax
je 0x1400bdb95
add dword [rbp - 0xc], 1
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x12]
or eax, 0x40
mov edx, eax
mov rax, qword [rbp - 0x18]
mov word [rax + 0x12], dx
jmp 0x1400bdb96
nop
jmp 0x1400bdb96
nop
jmp 0x1400bdb96
nop
jmp 0x1400bdb96
nop
jmp 0x1400bdb96
nop
add dword [rbp - 4], 1
add qword [rbp - 0x18], 0x38
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x14]
cmp dword [rbp - 4], eax
jl 0x1400bdaea
mov dword [rbp - 0x1c], 0
cmp qword [rbp - 0x48], 0
je 0x1400bdd97
mov rax, qword [rbp - 0x48]
mov eax, dword [rax]
mov dword [rbp - 0x54], eax
mov dword [rbp - 4], 0
jmp 0x1400bdd16
mov rax, qword [rbp - 0x48]
mov edx, dword [rbp - 4]
movsxd rdx, edx
shl rdx, 5
add rax, rdx
add rax, 8
mov rax, qword [rax]
mov qword [rbp - 0x60], rax
mov rax, qword [rbp - 0x60]
mov rdx, rax
mov ecx, 0
call dbg.sqlite3ExprIsConstant
test eax, eax
jne 0x1400bdd0b
mov rax, qword [rbp - 0x48]
mov edx, dword [rbp - 4]
movsxd rdx, edx
shl rdx, 5
add rax, rdx
add rax, 0x18
movzx eax, byte [rax]
movzx eax, al
and eax, 2
test eax, eax
jne 0x1400bdd24
mov rax, qword [rbp - 0x60]
movzx eax, byte [rax]
cmp al, 0xa7
jne 0x1400bdc52
mov rax, qword [rbp - 0x60]
mov edx, dword [rax + 0x2c]
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0x44]
cmp edx, eax
je 0x1400bdd0e
mov rax, qword [rbp - 0x60]
movzx eax, byte [rax]
cmp al, 0x71
jne 0x1400bdd27
mov rax, qword [rbp - 0x60]
mov rax, qword [rax + 0x10]
mov qword [rbp - 0x68], rax
mov rax, qword [rbp - 0x68]
movzx eax, byte [rax]
cmp al, 0xa7
jne 0x1400bdd27
mov rax, qword [rbp - 0x68]
mov edx, dword [rax + 0x2c]
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0x44]
cmp edx, eax
jne 0x1400bdd27
mov rax, qword [rbp - 0x68]
movzx edx, word [rax + 0x30]
mov rax, qword [rbp - 0x60]
mov word [rax + 0x30], dx
mov rax, qword [rbp - 0x68]
movzx eax, word [rax + 0x30]
test ax, ax
js 0x1400bdd11
mov rax, qword [rbp - 0x50]
mov rcx, qword [rax + 8]
mov rax, qword [rbp - 0x68]
movzx eax, word [rax + 0x30]
movsx rdx, ax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 3
add rax, rcx
mov rcx, rax
call dbg.sqlite3ColumnColl
mov qword [rbp - 0x30], rax
cmp qword [rbp - 0x30], 0
jne 0x1400bdcf1
lea rax, [0x1401a997e]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x60]
mov rax, qword [rax + 8]
mov rdx, qword [rbp - 0x30]
mov rcx, rax
call dbg.sqlite3_stricmp
test eax, eax
jne 0x1400bdd27
jmp 0x1400bdd12
nop
jmp 0x1400bdd12
nop
jmp 0x1400bdd12
nop
add dword [rbp - 4], 1
mov eax, dword [rbp - 4]
cmp eax, dword [rbp - 0x54]
jl 0x1400bdbd6
jmp 0x1400bdd28
nop
jmp 0x1400bdd28
nop
mov eax, dword [rbp - 4]
cmp eax, dword [rbp - 0x54]
jne 0x1400bdd97
mov eax, dword [rbp - 0x54]
mov dword [rbp - 0x1c], eax
mov rax, qword [rbp + 0x10]
movzx eax, word [rax + 0x3c]
movzx eax, ax
and eax, 0x80
test eax, eax
je 0x1400bdd7e
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax + 0x41]
and eax, 0x40
test al, al
jne 0x1400bdd7e
mov rax, qword [rbp + 0x10]
movzx eax, word [rax + 0x3c]
movzx eax, ax
and eax, 0x200
test eax, eax
je 0x1400bdd74
mov eax, 3
jmp 0x1400bdd79
mov eax, 2
mov dword [rbp - 0x24], eax
jmp 0x1400bdd97
mov rax, qword [rbp + 0x10]
movzx eax, word [rax + 0x3c]
movzx eax, ax
and eax, 0x40
test eax, eax
je 0x1400bdd97
mov dword [rbp - 0x24], 1
mov eax, dword [rbp - 0xc]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
mov rdx, rax
mov eax, dword [rbp - 0x1c]
cdqe
shl rax, 3
add rdx, rax
mov eax, dword [rbp - 0xc]
cdqe
shl rax, 3
add rax, rdx
lea rdx, [rax + 0x88]
mov rax, qword [rbp - 0x40]
mov rax, qword [rax]
mov rcx, rax
call dbg.sqlite3DbMallocZero
mov qword [rbp - 0x70], rax
cmp qword [rbp - 0x70], 0
jne 0x1400bde04
mov rax, qword [rbp - 0x40]
lea rdx, [0x1401a9e6c]
mov rcx, rax
call dbg.sqlite3ErrorMsg
mov eax, 0
jmp 0x1400be1e5
mov rax, qword [rbp - 0x70]
add rax, 0x60
mov qword [rbp - 0x78], rax
mov eax, dword [rbp - 0xc]
cdqe
add rax, 4
lea rdx, [rax*8]
mov rax, qword [rbp - 0x78]
add rax, rdx
mov qword [rbp - 0x80], rax
mov eax, dword [rbp - 0xc]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp - 0x80]
add rax, rdx
mov qword [rbp - 0x88], rax
mov eax, dword [rbp - 0x1c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp - 0x88]
add rax, rdx
mov qword [rbp - 0x90], rax
mov rax, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x80]
mov qword [rax + 8], rdx
mov rax, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x88]
mov qword [rax + 0x18], rdx
mov rax, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x90]
mov qword [rax + 0x20], rdx
mov rax, qword [rbp - 0x78]
mov rdx, qword [rbp + 0x18]
mov qword [rax], rdx
mov rax, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x40]
mov qword [rax + 8], rdx
mov rax, qword [rbp - 0x78]
mov edx, dword [rbp - 0x24]
mov dword [rax + 0x10], edx
mov rax, qword [rbp - 0x78]
mov dword [rax + 0x14], 0
mov dword [rbp - 8], 0
mov eax, dword [rbp - 8]
mov dword [rbp - 4], eax
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 0x20]
mov qword [rbp - 0x18], rax
jmp 0x1400be0f8
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x12]
movzx eax, ax
and eax, 0x40
test eax, eax
je 0x1400be0ee
mov eax, dword [rbp - 8]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp - 0x80]
add rdx, rax
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x20]
mov dword [rdx], eax
mov eax, dword [rbp - 8]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp - 0x80]
add rdx, rax
mov eax, dword [rbp - 4]
mov dword [rdx + 8], eax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
and ax, 0x3fff
mov word [rbp - 0x32], ax
cmp word [rbp - 0x32], 1
jne 0x1400bdf99
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x12]
test ax, ax
js 0x1400bdf93
mov rax, qword [rbp - 0x78]
mov edx, dword [rax + 0x14]
cmp dword [rbp - 8], 0x1f
jg 0x1400bdf85
mov eax, dword [rbp - 8]
mov r8d, 1
mov ecx, eax
shl r8d, cl
mov eax, r8d
jmp 0x1400bdf8a
mov eax, 0
or edx, eax
mov rax, qword [rbp - 0x78]
mov dword [rax + 0x14], edx
mov word [rbp - 0x32], 2
cmp word [rbp - 0x32], 0x40
jne 0x1400bdfcd
mov eax, dword [rbp - 8]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp - 0x80]
add rdx, rax
mov rax, qword [rbp - 0x18]
movzx eax, byte [rax + 0x17]
mov byte [rdx + 4], al
jmp 0x1400be0e8
movzx eax, word [rbp - 0x32]
and eax, 0x180
test eax, eax
je 0x1400be02e
cmp word [rbp - 0x32], 0x100
jne 0x1400be008
mov eax, dword [rbp - 8]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp - 0x80]
add rax, rdx
mov byte [rax + 4], 0x47
jmp 0x1400be0e8
mov eax, dword [rbp - 8]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp - 0x80]
add rax, rdx
mov byte [rax + 4], 0x48
jmp 0x1400be0e8
mov eax, dword [rbp - 8]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp - 0x80]
add rax, rdx
movzx edx, word [rbp - 0x32]
mov byte [rax + 4], dl
movzx eax, word [rbp - 0x32]
and eax, 0x3c
test eax, eax
je 0x1400be0e8
mov rax, qword [rbp - 0x18]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov rcx, rax
call dbg.sqlite3ExprIsVector
test eax, eax
je 0x1400be0e8
cmp dword [rbp - 8], 0xf
jg 0x1400be098
mov eax, dword [rbp - 8]
mov edx, 1
mov ecx, eax
shl edx, cl
mov eax, edx
mov edx, eax
movzx eax, word [rbp - 0x1e]
or eax, edx
mov word [rbp - 0x1e], ax
cmp word [rbp - 0x32], 0x10
jne 0x1400be0c0
mov eax, dword [rbp - 8]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp - 0x80]
add rax, rdx
mov byte [rax + 4], 8
cmp word [rbp - 0x32], 4
jne 0x1400be0e8
mov eax, dword [rbp - 8]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp - 0x80]
add rax, rdx
mov byte [rax + 4], 0x20
add dword [rbp - 8], 1
jmp 0x1400be0ef
nop
add dword [rbp - 4], 1
add qword [rbp - 0x18], 0x38
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x14]
cmp dword [rbp - 4], eax
jl 0x1400bdee2
mov rax, qword [rbp - 0x70]
mov edx, dword [rbp - 8]
mov dword [rax], edx
mov dword [rbp - 8], 0
mov eax, dword [rbp - 8]
mov dword [rbp - 4], eax
jmp 0x1400be1c0
mov rax, qword [rbp - 0x48]
mov edx, dword [rbp - 4]
movsxd rdx, edx
shl rdx, 5
add rax, rdx
add rax, 8
mov rax, qword [rax]
mov qword [rbp - 0x98], rax
mov rax, qword [rbp - 0x98]
mov rdx, rax
mov ecx, 0
call dbg.sqlite3ExprIsConstant
test eax, eax
jne 0x1400be1bb
mov rax, qword [rbp - 0x98]
movzx eax, word [rax + 0x30]
mov edx, dword [rbp - 8]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp - 0x88]
add rdx, rcx
cwde
mov dword [rdx], eax
mov rax, qword [rbp - 0x48]
mov edx, dword [rbp - 4]
movsxd rdx, edx
shl rdx, 5
add rax, rdx
add rax, 0x18
movzx edx, byte [rax]
mov eax, dword [rbp - 8]
cdqe
lea rcx, [rax*8]
mov rax, qword [rbp - 0x88]
add rax, rcx
and edx, 1
mov byte [rax + 4], dl
add dword [rbp - 8], 1
jmp 0x1400be1bc
nop
add dword [rbp - 4], 1
mov eax, dword [rbp - 4]
cmp eax, dword [rbp - 0x1c]
jl 0x1400be123
mov rax, qword [rbp - 0x70]
mov edx, dword [rbp - 8]
mov dword [rax + 0x10], edx
mov rax, qword [rbp + 0x30]
movzx edx, word [rbp - 0x1e]
mov word [rax], dx
mov rax, qword [rbp - 0x70]
add rsp, 0xc0
pop rbp
ret