Function at 0x1400dc850
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
movups xmmword [rsp + 0x50], xmm6
mov r15, qword [rcx + 8]
mov rbx, qword [rcx + 0x10]
mov rdi, qword [rcx]
mov edx, dword [r15 + 0x84]
mov rsi, r15
mov rbp, rcx
test edx, edx
jne 0x1400dcc90
mov qword [rsp + 0x30], r15
mov qword [rsp + 0xb0], rcx
jmp 0x1400dc8d1
lea rcx, str.nth_value
cmp rax, rcx
je 0x1400dc8e5
lea rdx, str.lead
cmp rax, rdx
je 0x1400dca58
lea rcx, [0x140173fa8]
cmp rax, rcx
je 0x1400dca58
mov rsi, qword [rsi + 0x40]
test rsi, rsi
je 0x1400dca18
mov r15, qword [rsi + 0x50]
lea rdx, str.first_value
mov rax, qword [r15 + 0x38]
cmp rax, rdx
jne 0x1400dc898
mov r12d, dword [rdi + 0x44]
movzx eax, byte [rdi + 0x1f]
mov r13d, dword [rsi + 0x64]
lea r14d, [r12 - 1]
mov dword [rdi + 0x44], r14d
test al, al
je 0x1400dcc30
sub eax, 1
mov byte [rdi + 0x1f], al
movzx eax, al
mov ebp, dword [rdi + rax*4 + 0xe8]
mov r9d, dword [rsi + 0x60]
xor r8d, r8d
mov edx, 0x4b
mov rcx, rbx
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
lea rax, str.nth_value
cmp qword [r15 + 0x38], rax
je 0x1400dcc40
mov dword [rsp + 0x20], 0
mov r9d, ebp
mov edx, 0x47
mov rcx, rbx
mov r8d, 1
call sym.sqlite3VdbeAddOp3
mov r9d, dword [rsi + 0x68]
mov dword [rsp + 0x20], ebp
mov r8d, ebp
mov edx, 0x6a
mov rcx, rbx
call sym.sqlite3VdbeAddOp3
mov eax, dword [rsi + 0x68]
mov dword [rsp + 0x20], ebp
mov r9d, r14d
mov edx, 0x36
mov rcx, rbx
lea r8d, [rax + 1]
call sym.sqlite3VdbeAddOp3
mov dword [rsp + 0x20], ebp
xor r9d, r9d
mov r8d, r13d
mov edx, 0x1e
mov rcx, rbx
call sym.sqlite3VdbeAddOp3
mov eax, dword [rsi + 0x60]
mov r9d, dword [rsi + 0x7c]
mov r8d, r13d
mov dword [rsp + 0x20], eax
mov rcx, rbx
mov edx, 0x5e
neg r12d
call sym.sqlite3VdbeAddOp3
mov rcx, qword [rbx + 0x18]
mov eax, dword [rcx + 0x44]
add eax, dword [rcx + 0x48]
js 0x1400dcc20
mov edx, dword [rbx + 0x90]
mov rax, qword [rcx + 0x50]
movsxd r12, r12d
mov dword [rax + r12*4], edx
test ebp, ebp
je 0x1400dc8c4
movzx eax, byte [rdi + 0x1f]
cmp al, 7
ja 0x1400dc8c4
lea edx, [rax + 1]
mov byte [rdi + 0x1f], dl
mov rsi, qword [rsi + 0x40]
mov dword [rdi + rax*4 + 0xe8], ebp
test rsi, rsi
jne 0x1400dc8d1
nop dword [rax]
mov rbp, qword [rsp + 0xb0]
mov dword [rsp + 0x20], 0
mov r9d, dword [rbp + 0x18]
mov edx, 0xa
mov rcx, rbx
mov r8d, dword [rbp + 0x1c]
call sym.sqlite3VdbeAddOp3
nop
movups xmm6, xmmword [rsp + 0x50]
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsi + 0x70]
mov r12d, dword [rdi + 0x44]
mov rax, qword [rax + 0x20]
mov r14d, dword [rax]
mov eax, dword [rsi + 0x64]
mov dword [rsp + 0x38], eax
lea eax, [r12 - 1]
mov dword [rsp + 0x3c], eax
mov dword [rdi + 0x44], eax
movzx eax, byte [rdi + 0x1f]
test al, al
je 0x1400dcc80
sub eax, 1
mov byte [rdi + 0x1f], al
movzx eax, al
mov ebp, dword [rdi + rax*4 + 0xe8]
mov rax, qword [rsp + 0x30]
mov r9d, dword [rsi + 0x60]
mov r13d, dword [rax + 0x58]
cmp r14d, 2
jg 0x1400dcb50
mov dword [rsp + 0x20], 0
xor r8d, r8d
mov edx, 0x4b
mov rcx, rbx
call sym.sqlite3VdbeAddOp3
mov r9d, ebp
mov r8d, r13d
mov edx, 0x87
mov dword [rsp + 0x20], 0
mov rcx, rbx
call sym.sqlite3VdbeAddOp3
cmp r14d, 2
je 0x1400dcb87
lea rax, str.lead
cmp qword [r15 + 0x38], rax
mov r8d, ebp
mov edx, 0x56
sete al
mov dword [rsp + 0x20], 0
mov rcx, rbx
movzx eax, al
lea r9d, [rax + rax - 1]
call sym.sqlite3VdbeAddOp3
mov r14d, dword [rsp + 0x38]
mov dword [rsp + 0x20], ebp
mov edx, 0x1e
mov rcx, rbx
mov r9d, dword [rsp + 0x3c]
mov r8d, r14d
call sym.sqlite3VdbeAddOp3
mov eax, dword [rsi + 0x60]
mov r9d, dword [rsi + 0x7c]
mov r8d, r14d
mov dword [rsp + 0x20], eax
jmp 0x1400dc9b5
mov eax, dword [rsi + 0x7c]
mov dword [rsp + 0x20], r9d
mov r8d, r13d
mov edx, 0x5e
mov rcx, rbx
lea r9d, [rax + 2]
call sym.sqlite3VdbeAddOp3
mov r9d, ebp
mov r8d, r13d
mov edx, 0x87
mov dword [rsp + 0x20], 0
mov rcx, rbx
call sym.sqlite3VdbeAddOp3
lea rax, str.lead
xor r11d, r11d
cmp qword [r15 + 0x38], rax
movzx eax, byte [rdi + 0x1f]
setne r11b
add r11d, 0x6a
test al, al
je 0x1400dd000
sub eax, 1
mov byte [rdi + 0x1f], al
movzx eax, al
mov r14d, dword [rdi + rax*4 + 0xe8]
mov eax, dword [rsi + 0x7c]
mov dword [rsp + 0x20], r14d
mov r8d, r13d
mov edx, 0x5e
mov rcx, rbx
mov dword [rsp + 0x40], r11d
lea r9d, [rax + 1]
call sym.sqlite3VdbeAddOp3
mov dword [rsp + 0x20], ebp
mov edx, dword [rsp + 0x40]
mov r9d, ebp
mov r8d, r14d
mov rcx, rbx
call sym.sqlite3VdbeAddOp3
test r14d, r14d
je 0x1400dcb18
movzx eax, byte [rdi + 0x1f]
cmp al, 7
ja 0x1400dcb18
lea edx, [rax + 1]
mov byte [rdi + 0x1f], dl
mov dword [rdi + rax*4 + 0xe8], r14d
jmp 0x1400dcb18
mov r8d, r12d
mov rdx, rbx
call sym.resizeResolveLabel
jmp 0x1400dc9e6
mov eax, dword [rdi + 0x38]
lea ebp, [rax + 1]
mov dword [rdi + 0x38], ebp
jmp 0x1400dc912
mov rdx, qword [rsp + 0x30]
mov eax, dword [rsi + 0x7c]
mov rcx, rbx
mov r8d, dword [rdx + 0x58]
mov dword [rsp + 0x20], ebp
lea r9d, [rax + 1]
mov edx, 0x5e
call sym.sqlite3VdbeAddOp3
mov r8d, 2
mov edx, ebp
mov rcx, rdi
call sym.windowCheckValue
jmp 0x1400dc95d
mov eax, dword [rdi + 0x38]
lea ebp, [rax + 1]
mov dword [rdi + 0x38], ebp
jmp 0x1400dca96
mov rax, qword [r15 + 0x18]
mov r13d, dword [r15 + 0x64]
xor r12d, r12d
test rax, rax
je 0x1400dcca3
mov r12d, dword [rax]
mov eax, dword [rdi + 0x44]
lea esi, [rax - 1]
lea r14d, [rax - 2]
mov dword [rsp + 0x40], eax
movzx eax, byte [rdi + 0x1f]
mov dword [rsp + 0x48], esi
mov dword [rdi + 0x44], r14d
test al, al
je 0x1400dd028
lea edx, [rax - 1]
movzx ecx, dl
mov byte [rdi + 0x1f], dl
mov esi, dword [rdi + rcx*4 + 0xe8]
mov dword [rsp + 0x30], esi
test dl, dl
je 0x1400dd1ad
sub eax, 2
mov byte [rdi + 0x1f], al
movzx eax, al
mov esi, dword [rdi + rax*4 + 0xe8]
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x38], 0
test r12d, r12d
jne 0x1400dd060
mov r8d, dword [r15 + 0x58]
mov r9d, dword [rsp + 0x30]
mov rcx, rbx
pxor xmm6, xmm6
mov dword [rsp + 0x20], 0
mov edx, 0x87
call sym.sqlite3VdbeAddOp3
mov rdx, qword [rbp + 8]
mov rcx, qword [rbp]
mov r9d, dword [rsp + 0x38]
mov r8d, dword [r15 + 0x58]
call sym.windowReadPeerValues.isra.0
mov dword [rsp + 0x44], esi
mov rsi, rbx
mov rbx, r15
jmp 0x1400dcd83
lea edx, [rax + 1]
shl rax, 5
add rax, qword [rsi + 0x88]
mov dword [rsi + 0x90], edx
mov qword [rax], 0x4b
movups xmmword [rax + 0x10], xmm6
mov rbx, qword [rbx + 0x40]
mov dword [rax + 8], r9d
mov dword [rax + 0xc], 0
test rbx, rbx
je 0x1400dcdb7
mov r9d, dword [rbx + 0x5c]
movsxd rax, dword [rsi + 0x90]
cmp eax, dword [rsi + 0x94]
jl 0x1400dcd50
mov dword [rsp + 0x20], 0
xor r8d, r8d
mov edx, 0x4b
mov rcx, rsi
call sym.growOp3
mov rbx, qword [rbx + 0x40]
test rbx, rbx
jne 0x1400dcd83
mov eax, dword [r15 + 0x84]
mov rbx, rsi
mov r9d, r14d
mov r8d, r13d
mov edx, 0x17
mov rcx, rbx
mov esi, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov r9d, esi
mov r8d, r13d
mov edx, 0x87
mov eax, dword [rbx + 0x90]
mov dword [rsp + 0x20], 0
mov rcx, rbx
mov dword [rsp + 0x44], eax
call sym.sqlite3VdbeAddOp3
mov r9d, r14d
mov edx, 0x36
mov rcx, rbx
mov r8d, dword [r15 + 0x88]
mov dword [rsp + 0x20], esi
call sym.sqlite3VdbeAddOp3
movzx eax, byte [r15 + 0x24]
cmp al, 0x55
je 0x1400dd0c0
cmp al, 0x42
je 0x1400dcf10
mov r14, qword [r15 + 0x18]
test r14, r14
je 0x1400dd090
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, rdi
call sym.sqlite3KeyInfoFromExprList
cmp byte [r15 + 0x24], 0x5e
mov dword [rsp + 0x4c], 0
mov r14, rax
je 0x1400dd109
test r14, r14
je 0x1400dd18d
mov rdx, qword [rbp + 8]
mov rcx, qword [rbp]
mov r8d, r13d
mov r9d, dword [rsp + 0x3c]
call sym.windowReadPeerValues.isra.0
mov dword [rsp + 0x20], r12d
mov r9d, dword [rsp + 0x38]
mov rcx, rbx
mov r8d, dword [rsp + 0x3c]
mov edx, 0x5a
call sym.sqlite3VdbeAddOp3
mov rax, qword [rbx]
cmp byte [rax + 0x67], 0
jne 0x1400dd0f3
movsxd rax, dword [rbx + 0x90]
mov rdx, qword [rbx + 0x88]
mov r8, rax
shl rax, 5
lea rax, [rdx + rax - 0x20]
mov byte [rax + 1], 0xf8
mov qword [rax + 0x10], r14
add r8d, 1
mov r9d, dword [rsp + 0x48]
mov edx, 0xe
mov rcx, rbx
mov dword [rsp + 0x20], r8d
call sym.sqlite3VdbeAddOp3
mov r10d, dword [rsp + 0x4c]
test r10d, r10d
je 0x1400dcf10
mov rcx, qword [rbx]
mov edx, dword [rbx + 0x90]
lea rax, [0x14018a240]
cmp byte [rcx + 0x67], 0
je 0x1400dd0e0
mov dword [rax + 8], edx
mov eax, dword [rbp + 0x20]
mov rcx, qword [rbp]
xor r9d, r9d
mov rdx, r15
mov r8d, r13d
mov dword [rsp + 0x20], eax
call sym.windowAggStep.isra.0
mov rcx, qword [rbx + 0x18]
mov r15d, dword [rsp + 0x40]
mov eax, dword [rcx + 0x44]
neg r15d
add eax, dword [rcx + 0x48]
js 0x1400dd080
mov edx, dword [rbx + 0x90]
mov rax, qword [rcx + 0x50]
movsxd r15, r15d
mov dword [rax + r15*4], edx
mov r14d, dword [rsp + 0x44]
mov edx, 0x27
mov r8d, r13d
mov rcx, rbx
mov dword [rsp + 0x20], 0
mov r9d, r14d
call sym.sqlite3VdbeAddOp3
mov rax, qword [rbx]
mov edx, dword [rbx + 0x90]
cmp byte [rax + 0x67], 0
jne 0x1400dd010
mov eax, r14d
mov rcx, qword [rbx + 0x88]
sub eax, 1
cdqe
shl rax, 5
mov dword [rcx + rax + 8], edx
lea rax, [rcx + rax + 0x40]
mov dword [rax + 8], edx
test esi, esi
je 0x1400dcfbd
movzx eax, byte [rdi + 0x1f]
cmp al, 7
ja 0x1400dcfda
lea edx, [rax + 1]
mov byte [rdi + 0x1f], dl
mov dword [rdi + rax*4 + 0xe8], esi
mov esi, dword [rsp + 0x30]
test esi, esi
je 0x1400dcfda
movzx eax, byte [rdi + 0x1f]
cmp al, 7
ja 0x1400dcfda
lea edx, [rax + 1]
mov byte [rdi + 0x1f], dl
mov dword [rdi + rax*4 + 0xe8], esi
test r12d, r12d
jne 0x1400dd040
mov rdx, qword [rbp + 8]
mov rcx, qword [rbp]
mov r8d, 1
call sym.windowAggFinal.isra.0
jmp 0x1400dca20
mov eax, dword [rdi + 0x38]
lea r14d, [rax + 1]
mov dword [rdi + 0x38], r14d
jmp 0x1400dcbba
mov dword [0x14018a248], edx
lea rax, [0x14018a240]
jmp 0x1400dcfa1
mov eax, dword [rdi + 0x38]
add eax, 1
mov dword [rsp + 0x30], eax
mov esi, eax
add esi, 1
mov dword [rdi + 0x38], esi
jmp 0x1400dccf1
cmp r12d, 1
je 0x1400dd12b
cmp r12d, dword [rdi + 0x28]
jle 0x1400dcfdf
mov eax, dword [rsp + 0x3c]
mov dword [rdi + 0x28], r12d
mov dword [rdi + 0x2c], eax
jmp 0x1400dcfdf
mov edx, r12d
mov rcx, rdi
call sym.sqlite3GetTempRange
mov dword [rsp + 0x38], eax
call sym.sqlite3GetTempRange
mov dword [rsp + 0x3c], eax
jmp 0x1400dcd0a
mov r8d, r15d
mov rdx, rbx
call sym.resizeResolveLabel
jmp 0x1400dcf52
cmp al, 0x5e
je 0x1400dd109
mov r9d, dword [rsp + 0x48]
xor r8d, r8d
mov edx, 9
mov rcx, rbx
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
jmp 0x1400dcf10
mov dword [rsp + 0x20], esi
mov r9d, dword [rsp + 0x48]
mov edx, 0x35
mov rcx, rbx
mov r8d, dword [rsp + 0x30]
call sym.sqlite3VdbeAddOp3
jmp 0x1400dcf10
movsxd rax, r10d
shl rax, 5
add rax, qword [rbx + 0x88]
jmp 0x1400dcf0d
cmp qword [rax + 0x308], 0
je 0x1400dd176
mov r8d, dword [rbx + 0x90]
jmp 0x1400dcece
mov dword [rsp + 0x20], esi
mov r8d, dword [rsp + 0x30]
xor r9d, r9d
mov rcx, rbx
mov edx, 0x35
call sym.sqlite3VdbeAddOp3
mov dword [rsp + 0x4c], eax
jmp 0x1400dce65
mov esi, dword [rsp + 0x3c]
test esi, esi
je 0x1400dd14c
movzx eax, byte [rdi + 0x1f]
cmp al, 7
ja 0x1400dcfdf
lea edx, [rax + 1]
mov byte [rdi + 0x1f], dl
mov dword [rdi + rax*4 + 0xe8], esi
mov esi, dword [rsp + 0x38]
test esi, esi
je 0x1400dcfdf
movzx eax, byte [rdi + 0x1f]
cmp al, 7
ja 0x1400dcfdf
lea edx, [rax + 1]
mov byte [rdi + 0x1f], dl
mov dword [rdi + rax*4 + 0xe8], esi
jmp 0x1400dcfdf
sub dword [r14], 1
jne 0x1400dd0fd
mov rcx, qword [r14 + 0x10]
mov rdx, r14
call sym.sqlite3DbNNFreeNN
jmp 0x1400dd0fd
xor eax, eax
mov r9d, dword [rsp + 0x48]
xor r8d, r8d
mov edx, 9
mov dword [rsp + 0x20], eax
mov rcx, rbx
call sym.sqlite3VdbeAddOp3
jmp 0x1400dcee9
mov esi, dword [rdi + 0x38]
jmp 0x1400dd034