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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov rbp, qword [rdx + 0x60]
mov r14, qword [rcx + 0x10]
movzx eax, word [rbp + 0x3e]
mov rsi, rcx
mov dword [rsp + 0xc0], r8d
mov r8, qword [rbp + 0x20]
mov rdi, rdx
mov word [rsp + 0x48], ax
mov eax, dword [rcx + 0x38]
movzx ecx, word [rbp + 0x18]
mov rdx, qword [r8 + 0x20]
lea ebx, [rax + 1]
add r9d, ecx
mov dword [rsp + 0x3c], ecx
mov r12d, ebx
mov rcx, qword [rsi]
add eax, r9d
mov dword [rsp + 0x58], r9d
mov dword [rsi + 0x38], eax
test rdx, rdx
je 0x1401b5c50
call sym.sqlite3DbStrDup
movzx edx, word [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x50], edx
test dx, dx
jne 0x1401b5ae0
movzx ebx, word [rsp + 0x48]
mov ecx, dword [rsp + 0x50]
cmp dword [rsp + 0x3c], ecx
jle 0x1401b5a30
mov qword [rsp + 0x48], r14
jmp 0x1401b5915
mov rax, qword [r14]
test byte [rax + 5], 0x10
je 0x1401b5907
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x1401b5907
mov byte [rax + rbx], 0x41
add rbx, 1
cmp dword [rsp + 0x3c], ebx
jle 0x1401b5a30
mov rax, qword [rbp + 0x48]
lea r15d, [r12 + rbx]
mov r8, rdi
mov r9d, ebx
mov rcx, rsi
mov r13d, ebx
mov r14, qword [rax + rbx*8]
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], eax
mov rdx, r14
call dbg.codeEqualityTerm
mov r8d, eax
cmp r15d, eax
je 0x1401b5980
cmp dword [rsp + 0x58], 1
jne 0x1401b5a00
test r12d, r12d
je 0x1401b5a20
movzx eax, byte [rsi + 0x1f]
cmp al, 7
ja 0x1401b5a20
lea edx, [rax + 1]
mov byte [rsi + 0x1f], dl
mov dword [rsi + rax*4 + 0xe8], r12d
mov r12d, r8d
nop
movzx eax, word [r14 + 0x14]
test al, 1
jne 0x1401b58f0
test ah, 1
jne 0x1401b5907
mov rax, qword [r14]
mov r11, qword [rax + 0x18]
test byte [r14 + 0x13], 8
je 0x1401b5a58
mov eax, dword [rsi + 0x30]
test eax, eax
jne 0x1401b5907
mov rax, qword [rsp + 0x40]
mov rcx, r11
mov qword [rsp + 0x50], r11
movzx r13d, byte [rax + rbx]
call dbg.sqlite3ExprAffinity
mov r11, qword [rsp + 0x50]
cmp al, 0x40
jle 0x1401b5aa0
cmp r13b, 0x40
jle 0x1401b5aa0
cmp al, 0x42
jg 0x1401b5ab2
cmp r13b, 0x42
jg 0x1401b5ab2
mov rax, qword [rsp + 0x40]
jmp 0x1401b5903
mov dword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x48]
mov r9d, r15d
mov edx, 0x50
call sym.sqlite3VdbeAddOp3
jmp 0x1401b5980
mov r12d, r8d
jmp 0x1401b5980
mov rax, qword [rsp + 0xd0]
mov rdi, qword [rsp + 0x40]
mov qword [rax], rdi
mov eax, r12d
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, r11
call dbg.sqlite3ExprCanBeNull
test eax, eax
je 0x1401b59a8
mov rcx, qword [rsp + 0x48]
lea r8d, [r13 + r12]
mov edx, 0x32
mov dword [rsp + 0x20], 0
mov r9d, dword [rdi + 0xc]
mov qword [rsp + 0x50], r11
call sym.sqlite3VdbeAddOp3
mov r11, qword [rsp + 0x50]
jmp 0x1401b59a8
or r13d, 0x40
cmp al, 0x41
cmovl eax, r13d
cmp al, 0x41
je 0x1401b59f3
mov rax, qword [rsp + 0x40]
movsx edx, byte [rax + rbx]
cmp dl, 0x41
je 0x1401b59f3
mov rcx, r11
call sym.sqlite3ExprNeedsNoAffinityChange.part.0
test eax, eax
je 0x1401b5907
jmp 0x1401b59f3
mov eax, dword [rsp + 0x50]
mov r15d, dword [rdi + 8]
xor r8d, r8d
mov r9d, ebx
mov edx, 0x4b
mov rcx, r14
lea eax, [rax + rbx - 1]
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
cmp dword [rsp + 0xc0], 1
mov rcx, r14
mov r8d, r15d
sbb edx, edx
mov dword [rsp + 0x20], 0
xor r9d, r9d
and edx, 4
add edx, 0x20
call sym.sqlite3VdbeAddOp3
movsxd r10, dword [r14 + 0x90]
mov ecx, dword [r14 + 0x94]
cmp r10d, ecx
jge 0x1401b5c98
movsxd rax, r10d
lea edx, [r10 + 1]
lea r8, [rax + rax*2]
mov rax, qword [r14 + 0x88]
mov dword [r14 + 0x90], edx
lea rax, [rax + r8*8]
mov qword [rax], 9
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
cmp dword [rsp + 0xc0], 1
sbb r11d, r11d
and r11d, 3
add r11d, 0x15
cmp edx, ecx
jge 0x1401b5c63
movsxd rax, edx
lea ecx, [rdx + 1]
lea r8, [rax + rax*2]
mov rax, qword [r14 + 0x88]
mov dword [r14 + 0x90], ecx
lea rax, [rax + r8*8]
xor r8d, r8d
mov byte [rax], r11b
mov r11d, dword [rsp + 0x50]
mov word [rax + 2], r8w
mov dword [rax + 4], r15d
mov dword [rax + 8], 0
mov dword [rax + 0xc], ebx
mov dword [rax + 0x10], r11d
mov byte [rax + 1], 0xfd
mov dword [rdi + 0x14], edx
mov rdx, qword [r14]
lea rax, [0x1404013a0]
cmp byte [rdx + 0x67], 0
je 0x1401b5c38
mov dword [rax + 8], ecx
xor r9d, r9d
mov qword [rsp + 0xb0], rsi
mov esi, r15d
mov r15d, ebx
mov ebx, dword [rsp + 0x50]
mov r13d, r9d
nop
lea eax, [r15 + r13]
mov r9d, r13d
mov r8d, esi
mov edx, 0x5e
mov dword [rsp + 0x20], eax
mov rcx, r14
add r13d, 1
call sym.sqlite3VdbeAddOp3
cmp r13d, ebx
jne 0x1401b5c00
mov rsi, qword [rsp + 0xb0]
jmp 0x1401b58ce
mov rax, qword [r14 + 0x88]
lea rdx, [r10 + r10*2]
lea rax, [rax + rdx*8]
jmp 0x1401b5be4
mov rdx, r8
call dbg.computeIndexAffStr
mov rcx, qword [rsi]
mov rdx, rax
jmp 0x1401b58b2
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], ebx
mov edx, r11d
mov rcx, r14
xor r9d, r9d
mov r8d, r15d
mov dword [rsp + 0x5c], r10d
mov dword [rsp + 0x28], eax
call dbg.addOp4IntSlow
mov ecx, dword [r14 + 0x90]
movsxd r10, dword [rsp + 0x5c]
mov edx, eax
jmp 0x1401b5bd1
mov edx, 9
mov rcx, r14
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0
call dbg.growOp3
mov edx, dword [r14 + 0x90]
mov ecx, dword [r14 + 0x94]
movsxd r10, eax
jmp 0x1401b5b74