Function at 0x1401dcc00
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, 0x58
mov r13d, dword [rcx + 0x30]
mov r15, qword [rcx + 0x10]
mov dword [rsp + 0xa8], edx
mov rbp, rcx
mov r11, r8
test r13d, r13d
jne 0x1401dd258
mov eax, dword [r8 + 0x30]
mov rbx, qword [r8 + 0x28]
mov byte [r8], 1
xor ecx, ecx
mov dword [rsp + 0x34], 0
test eax, eax
jle 0x1401dd2f0
mov dword [rsp + 0x40], ecx
mov r12, rbx
mov dword [rsp + 0x4c], r13d
mov qword [rsp + 0xb0], r8
mov dword [rsp + 0xb8], r9d
jmp 0x1401dcdc7
mov rax, qword [r12]
cmp byte [r12 + 0x1d], 1
mov r13d, dword [rdi]
mov rax, qword [rax + 0x10]
mov r14, qword [rax + 0x20]
mov eax, dword [r14]
adc eax, 0
cmp byte [r12 + 0x1c], 0
je 0x1401dcc96
add eax, r13d
cmp byte [r12 + 0x1e], 0
je 0x1401dcca1
add eax, r13d
add eax, 1
mov rcx, rbp
mov edx, eax
mov dword [rsp + 0x3c], eax
call sym.sqlite3GetTempRange
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov rdx, r14
mov r8d, eax
mov dword [rsp + 0x38], eax
call sym.sqlite3ExprCodeExprList.isra.0
cmp byte [r12 + 0x1d], 0
mov r14d, dword [r14]
je 0x1401dd070
cmp byte [r12 + 0x1c], 0
jne 0x1401dcfd0
cmp byte [r12 + 0x1e], 0
jne 0x1401dd360
mov eax, dword [rsp + 0x38]
mov r8d, dword [r12 + 0x10]
test r8d, r8d
js 0x1401dcd2e
test esi, esi
jne 0x1401dcd0e
mov esi, dword [rbp + 0x44]
sub esi, 1
mov dword [rbp + 0x44], esi
mov dword [rsp + 0x28], eax
mov edx, dword [rsp + 0xb8]
mov r9d, esi
mov rcx, rbp
mov qword [rsp + 0x20], rdi
call dbg.codeDistinct
mov dword [r12 + 0x10], eax
mov r10d, dword [r12 + 0x18]
test r10d, r10d
js 0x1401dcee0
mov r14d, dword [rsp + 0x3c]
mov r13d, dword [rsp + 0x38]
mov edx, 0x61
mov rcx, r15
lea ebx, [r14 + r13 - 1]
lea edi, [r14 - 1]
mov r8d, r13d
mov dword [rsp + 0x20], ebx
mov r9d, edi
call sym.sqlite3VdbeAddOp3
mov r8d, dword [r12 + 0x18]
mov r9d, ebx
mov rcx, r15
mov dword [rsp + 0x28], edi
mov edx, 0x8a
mov dword [rsp + 0x20], r13d
call sym.sqlite3VdbeAddOp4Int
cmp r14d, 1
je 0x1401dd320
mov eax, dword [rsp + 0x3c]
cmp dword [rbp + 0x28], eax
jge 0x1401dcda1
mov dword [rbp + 0x28], eax
mov eax, dword [rsp + 0x38]
mov dword [rbp + 0x2c], eax
test esi, esi
jne 0x1401dcfa4
mov rsi, qword [rsp + 0xb0]
add dword [rsp + 0x34], 1
add r12, 0x20
mov eax, dword [rsp + 0x34]
cmp dword [rsi + 0x30], eax
jle 0x1401dd180
mov rax, qword [r12]
xor esi, esi
mov rdi, qword [rax + 0x20]
test byte [rax + 7], 1
je 0x1401dce2d
mov rax, qword [rax + 0x40]
mov rbx, qword [rax + 0x48]
mov rax, qword [rsp + 0xb0]
mov r14d, dword [rax + 0x24]
test r14d, r14d
je 0x1401dce10
mov rax, qword [r12 + 8]
test byte [rax + 4], 0x20
je 0x1401dce10
mov r13d, dword [rsp + 0xa8]
test r13d, r13d
jne 0x1401dd390
nop dword [rax]
mov eax, dword [rbp + 0x44]
mov r9d, 0x10
mov rdx, rbx
mov rcx, rbp
lea esi, [rax - 1]
mov dword [rbp + 0x44], esi
mov r8d, esi
call sym.sqlite3ExprIfFalse
mov r11d, dword [r12 + 0x18]
test r11d, r11d
jns 0x1401dcc70
test rdi, rdi
je 0x1401dd0c0
mov r13d, dword [rdi]
mov rcx, rbp
mov edx, r13d
call sym.sqlite3GetTempRange
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov rdx, rdi
mov r8d, eax
mov dword [rsp + 0x38], eax
mov ebx, eax
call sym.sqlite3ExprCodeExprList.isra.0
mov r8d, dword [r12 + 0x10]
mov dword [rsp + 0x3c], 0
mov eax, ebx
test r8d, r8d
jns 0x1401dcd01
mov edx, dword [r12 + 0x18]
test edx, edx
js 0x1401dcee0
mov edi, dword [rsp + 0x38]
mov rcx, r15
mov r9d, 0xffffffff
mov edx, 0x61
lea ebx, [rdi - 1]
mov r8d, edi
mov dword [rsp + 0x20], ebx
call sym.sqlite3VdbeAddOp3
mov r8d, dword [r12 + 0x18]
mov r9d, ebx
mov rcx, r15
mov dword [rsp + 0x28], 0xffffffff
mov edx, 0x8a
mov dword [rsp + 0x20], edi
call sym.sqlite3VdbeAddOp4Int
jmp 0x1401dcd8e
movzx eax, r13b
mov word [rsp + 0x3c], ax
mov rax, qword [r12 + 8]
test byte [rax + 4], 0x20
jne 0x1401dd270
mov r9d, dword [rsp + 0x38]
xor r8d, r8d
mov edx, 0xa2
mov rcx, r15
mov rdi, qword [rsp + 0xb0]
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x20]
add eax, dword [rdi + 0xc]
mov edi, dword [rsp + 0x34]
add eax, edi
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov rcx, qword [r15]
mov rdx, qword [r12 + 8]
cmp byte [rcx + 0x67], 0
jne 0x1401dd0a0
movsxd rcx, dword [r15 + 0x90]
lea r8, [rcx + rcx*2]
mov rax, rcx
mov rcx, qword [r15 + 0x88]
lea rcx, [rcx + r8*8 - 0x18]
mov byte [rcx + 1], 0xf9
mov qword [rcx + 0x10], rdx
test eax, eax
jle 0x1401dcf7d
mov r8, qword [r15 + 0x88]
movzx ebx, word [rsp + 0x3c]
lea rax, [rax + rax*2]
lea rax, [r8 + rax*8]
mov word [rax - 0x16], bx
cmp r13d, 1
je 0x1401dd2c0
cmp r13d, dword [rbp + 0x28]
jle 0x1401dcda1
mov eax, dword [rsp + 0x38]
mov dword [rbp + 0x28], r13d
mov dword [rbp + 0x2c], eax
test esi, esi
je 0x1401dcda9
mov rcx, qword [r15 + 0x18]
not esi
mov eax, dword [rcx + 0x44]
add eax, dword [rcx + 0x48]
js 0x1401dd350
mov edx, dword [r15 + 0x90]
mov rax, qword [rcx + 0x50]
movsxd rsi, esi
mov dword [rax + rsi*4], edx
jmp 0x1401dcda9
mov eax, dword [rsp + 0x38]
xor r9d, r9d
mov rdx, rdi
mov rcx, rbp
mov dword [rsp + 0x20], 1
add eax, r14d
add r14d, r13d
mov r8d, eax
mov dword [rsp + 0x44], eax
call sym.sqlite3ExprCodeExprList.isra.0
cmp byte [r12 + 0x1e], 0
mov eax, dword [rsp + 0x44]
je 0x1401dccf7
cmp byte [r12 + 0x1c], 0
je 0x1401dd43b
mov r8d, eax
test r13d, r13d
jle 0x1401dccf7
mov edx, dword [rsp + 0x38]
mov dword [rsp + 0x48], eax
lea ecx, [r13 + r8]
mov ebx, r8d
mov dword [rsp + 0x44], esi
mov esi, ecx
add r14d, edx
sub r14d, r8d
nop dword [rax + rax]
lea r9d, [r14 + rbx]
mov r8d, ebx
mov edx, 0xb5
mov rcx, r15
mov dword [rsp + 0x20], 0
add ebx, 1
call sym.sqlite3VdbeAddOp3
cmp esi, ebx
jne 0x1401dd040
mov esi, dword [rsp + 0x44]
mov eax, dword [rsp + 0x48]
jmp 0x1401dccf7
mov r8d, dword [r12 + 0x18]
mov eax, dword [rsp + 0x38]
mov edx, 0x7e
mov rcx, r15
mov dword [rsp + 0x20], 0
lea r9d, [rax + r14]
add r14d, 1
call sym.sqlite3VdbeAddOp3
jmp 0x1401dccdb
test byte [rdx + 4], 0x10
jne 0x1401dd380
movsxd rax, dword [r15 + 0x90]
jmp 0x1401dcf61
mov rax, qword [r12 + 8]
xor r13d, r13d
mov dword [rsp + 0x38], 0
test byte [rax + 4], 0x20
mov eax, 0
mov word [rsp + 0x3c], ax
je 0x1401dcef8
mov rax, qword [rbp]
mov rbx, qword [rax + 0x10]
nop dword [rax]
mov r9d, dword [rsp + 0x40]
test r9d, r9d
jne 0x1401dd11a
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x24]
mov dword [rsp + 0x40], eax
test eax, eax
je 0x1401dd11a
mov eax, dword [rbp + 0x38]
add eax, 1
mov dword [rsp + 0x40], eax
mov dword [rbp + 0x38], eax
mov edx, dword [r15 + 0x90]
cmp edx, dword [r15 + 0x94]
jge 0x1401dd3e0
lea eax, [rdx + 1]
mov edi, dword [rsp + 0x40]
mov dword [r15 + 0x90], eax
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [r15 + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 4], edi
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov dword [rax], 0x55
mov r9d, 0xfffffffe
mov r8, rbx
mov rcx, r15
call sym.sqlite3VdbeChangeP4
jmp 0x1401dcef8
mov ecx, dword [rsp + 0x40]
mov r13d, dword [rsp + 0x4c]
mov r11, rsi
test ecx, ecx
je 0x1401dd2f0
movsxd rsi, dword [r15 + 0x90]
cmp esi, dword [r15 + 0x94]
jge 0x1401dd408
lea eax, [rsi + 1]
mov dword [r15 + 0x90], eax
movsxd rax, esi
lea rdx, [rax + rax*2]
mov rax, qword [r15 + 0x88]
lea rax, [rax + rdx*8]
mov dword [rax + 4], ecx
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov dword [rax], 0x10
mov ecx, dword [r11 + 0x24]
mov rbx, qword [r11 + 0x18]
test ecx, ecx
jle 0x1401dd21b
mov rdi, r11
nop dword [rax]
cmp qword [rbp + 0x10], 0
je 0x1401dd20a
mov r8d, dword [rdi + 0xc]
mov rdx, qword [rbx + 8]
mov rcx, rbp
add r8d, r13d
call sym.sqlite3ExprCode.part.0
add r13d, 1
add rbx, 0x18
cmp dword [rdi + 0x24], r13d
jg 0x1401dd1f0
mov r11, rdi
mov byte [r11], 0
test esi, esi
je 0x1401dd258
mov eax, dword [r15 + 0x90]
lea edx, [rax - 1]
cmp esi, edx
je 0x1401dd3cc
mov r8, qword [r15]
lea rdx, [0x140440540]
cmp byte [r8 + 0x67], 0
jne 0x1401dd255
mov rdx, qword [r15 + 0x88]
lea r8, [rsi + rsi*2]
lea rdx, [rdx + r8*8]
mov dword [rdx + 8], eax
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
add rdi, 8
test r13d, r13d
jle 0x1401dd0e4
xor r14d, r14d
mov rdx, qword [rdi]
mov rcx, rbp
add r14d, 1
add rdi, 0x20
call dbg.sqlite3ExprCollSeq
test rax, rax
jne 0x1401dd370
cmp r14d, r13d
jl 0x1401dd280
mov rbx, rax
test rax, rax
jne 0x1401dd0f0
mov rax, qword [rbp]
mov rbx, qword [rax + 0x10]
jmp 0x1401dd0f0
mov edi, dword [rsp + 0x38]
test edi, edi
je 0x1401dcda1
movzx eax, byte [rbp + 0x1f]
cmp al, 7
ja 0x1401dcda1
lea edx, [rax + 1]
mov byte [rbp + 0x1f], dl
mov dword [rbp + rax*4 + 0xe8], edi
jmp 0x1401dcda1
mov eax, dword [r11 + 0x24]
test eax, eax
je 0x1401dd307
mov ecx, dword [rsp + 0xa8]
test ecx, ecx
jne 0x1401dd194
mov rbx, qword [r11 + 0x18]
xor esi, esi
test eax, eax
jg 0x1401dd1e9
mov byte [r11], 0
jmp 0x1401dd258
mov ebx, dword [rsp + 0x38]
test ebx, ebx
je 0x1401dcda1
movzx eax, byte [rbp + 0x1f]
cmp al, 7
ja 0x1401dcda1
lea edx, [rax + 1]
mov byte [rbp + 0x1f], dl
mov dword [rbp + rax*4 + 0xe8], ebx
jmp 0x1401dcda1
mov r8d, esi
mov rdx, r15
call dbg.resizeResolveLabel
jmp 0x1401dcda9
mov r8d, dword [rsp + 0x38]
mov eax, r8d
jmp 0x1401dd016
mov rbx, rax
jmp 0x1401dd0f0
call sym.sqlite3DbNNFreeNN
jmp 0x1401dd0aa
mov esi, dword [rsp + 0x40]
test esi, esi
jne 0x1401dd3a5
mov eax, dword [rbp + 0x38]
add eax, 1
mov dword [rsp + 0x40], eax
mov dword [rbp + 0x38], eax
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x40]
mov edx, 0x50
mov rcx, r15
mov r8d, dword [rsp + 0xa8]
call sym.sqlite3VdbeAddOp3
jmp 0x1401dce10
mov dword [r15 + 0x90], esi
jmp 0x1401dd258
mov r8d, dword [rsp + 0x40]
mov edx, 0x55
xor r9d, r9d
mov rcx, r15
mov dword [rsp + 0x20], 0
call dbg.growOp3
mov edx, eax
jmp 0x1401dd167
mov dword [rsp + 0x20], 0
mov r8d, ecx
xor r9d, r9d
mov edx, 0x10
mov rcx, r15
mov qword [rsp + 0xb0], r11
call dbg.growOp3
mov r11, qword [rsp + 0xb0]
movsxd rsi, eax
jmp 0x1401dd1dd
mov r8d, dword [rsp + 0x38]
jmp 0x1401dd016