Function at 0x1400dd1c0
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 rbp, qword [rcx]
mov rsi, qword [rcx + 8]
mov rbx, qword [rcx + 0x10]
mov edi, dword [rbp + 0x44]
mov r13d, edx
movzx edx, byte [rsi + 0x20]
lea eax, [rdi - 1]
mov r15, rcx
mov dword [rsp + 0xb8], r9d
mov r14d, r8d
mov byte [rsp + 0x3c], dl
mov dword [rsp + 0x44], eax
mov dword [rbp + 0x44], eax
cmp r13d, 2
je 0x1400dd5e8
test r8d, r8d
jle 0x1400dd43d
cmp dl, 0x59
jne 0x1400dd420
mov ecx, dword [rbx + 0x90]
mov dword [rsp + 0x28], eax
mov r9d, r8d
mov edx, 0x36
mov eax, dword [r15 + 0x34]
mov dword [rsp + 0x40], ecx
mov rcx, r15
mov dword [rsp + 0x20], eax
mov r8d, dword [r15 + 0x3c]
call sym.windowCodeRangeTest
test r14d, r14d
setne r12b
cmp r13d, 1
je 0x1400dd456
mov eax, dword [rbx + 0x90]
mov dword [rsp + 0x4c], eax
movzx eax, byte [rsi + 0x22]
cmp byte [rsi + 0x21], al
jne 0x1400dd274
test r12b, r12b
jne 0x1400dd6d0
cmp r13d, 2
je 0x1400dd659
mov eax, dword [r15 + 0x40]
mov r8d, dword [rsi + 0x84]
mov r14d, dword [r15 + 0x3c]
mov dword [rsp + 0x48], eax
test r8d, r8d
je 0x1400dd6a0
mov r8d, dword [rsi + 0x88]
mov dword [rsp + 0x20], 0
mov r9d, 1
mov edx, 0x56
mov rcx, rbx
call sym.sqlite3VdbeAddOp3
cmp dword [r15 + 0x24], r13d
jne 0x1400dd546
xor r9d, r9d
mov r8d, r14d
mov edx, 0x82
mov rcx, rbx
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
mov eax, dword [rbx + 0x90]
test eax, eax
jle 0x1400dd54c
movsxd rdx, eax
mov ecx, 2
shl rdx, 5
add rdx, qword [rbx + 0x88]
mov word [rdx - 0x1e], cx
mov edx, dword [rsp + 0xb8]
test edx, edx
jne 0x1400dd55b
nop dword [rax]
movzx r13d, byte [rsp + 0x3c]
xor edx, edx
mov r8d, r14d
mov rcx, rbx
mov dword [rsp + 0x20], 0
cmp r13b, 0x4c
setne dl
xor r12d, r12d
lea r9d, [rax + rdx + 1]
mov edx, 0x27
call sym.sqlite3VdbeAddOp3
cmp r13b, 0x4c
je 0x1400dd5a0
mov r9d, dword [rsp + 0x44]
xor r8d, r8d
mov edx, 9
mov rcx, rbx
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x1400dd383
mov r13d, dword [rax]
test r13d, r13d
jne 0x1400dd6e0
mov rdx, qword [r15 + 8]
mov rcx, qword [r15]
xor r9d, r9d
mov r8d, r14d
xor r13d, r13d
call sym.windowReadPeerValues.isra.0
mov eax, dword [rsp + 0x4c]
mov rdx, qword [rsi + 0x18]
xor r8d, r8d
mov r9d, dword [rsp + 0x48]
mov rcx, rbp
mov dword [rsp + 0x20], eax
call sym.windowIfNewPeer
xor eax, eax
cmp dword [rbp + 0x28], r13d
jge 0x1400dd5a0
mov dword [rbp + 0x2c], eax
mov eax, dword [rsp + 0x40]
mov dword [rbp + 0x28], r13d
test eax, eax
je 0x1400dd5ac
nop dword [rax + rax]
mov dword [rsp + 0x20], 0
xor r8d, r8d
mov rcx, rbx
neg edi
mov r9d, dword [rsp + 0x40]
mov edx, 9
call sym.sqlite3VdbeAddOp3
mov rcx, qword [rbx + 0x18]
mov eax, dword [rcx + 0x44]
add eax, dword [rcx + 0x48]
jns 0x1400dd5be
mov r8d, edi
mov rdx, rbx
call sym.resizeResolveLabel
jmp 0x1400dd5ce
mov r9d, dword [rsp + 0x44]
mov r8d, r14d
mov edx, 0x3b
mov rcx, rbx
mov dword [rsp + 0x20], 1
call sym.sqlite3VdbeAddOp3
test r14d, r14d
mov dword [rsp + 0x40], 0
setne r12b
cmp r13d, 1
jne 0x1400dd258
mov r10d, dword [rsi + 0x84]
test r10d, r10d
je 0x1400dd758
mov eax, dword [rbx + 0x90]
mov dword [rsp + 0x4c], eax
movzx eax, byte [rsi + 0x22]
cmp byte [rsi + 0x21], al
jne 0x1400dd528
test r12b, r12b
je 0x1400dd528
cmp byte [rsi + 0x20], 0x59
jne 0x1400dd528
movzx eax, byte [rbp + 0x1f]
test al, al
je 0x1400dd7a0
lea edx, [rax - 1]
movzx ecx, dl
mov byte [rbp + 0x1f], dl
mov r12d, dword [rbp + rcx*4 + 0xe8]
test dl, dl
je 0x1400dd8e8
sub eax, 2
mov byte [rbp + 0x1f], al
movzx eax, al
mov r14d, dword [rbp + rax*4 + 0xe8]
cmp r13d, 2
je 0x1400dd828
mov r9d, dword [r15 + 0x28]
test r9d, r9d
jne 0x1400dd7e8
test r12d, r12d
je 0x1400dd4fc
movzx eax, byte [rbp + 0x1f]
cmp al, 7
ja 0x1400dd8b0
lea edx, [rax + 1]
mov byte [rbp + 0x1f], dl
mov dword [rbp + rax*4 + 0xe8], r12d
test r14d, r14d
je 0x1400dd517
movzx eax, byte [rbp + 0x1f]
cmp al, 7
ja 0x1400dd517
lea edx, [rax + 1]
mov byte [rbp + 0x1f], dl
mov dword [rbp + rax*4 + 0xe8], r14d
cmp r13d, 1
jne 0x1400dd274
nop dword [rax]
mov eax, dword [r15 + 0x38]
mov rcx, r15
mov r14d, dword [r15 + 0x34]
mov dword [rsp + 0x48], eax
call sym.windowReturnOneRow
cmp dword [r15 + 0x24], r13d
je 0x1400dd2c6
mov eax, dword [rbx + 0x90]
mov edx, dword [rsp + 0xb8]
test edx, edx
je 0x1400dd318
lea r9d, [rax + 2]
mov r8d, r14d
mov edx, 0x27
mov rcx, rbx
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
xor r9d, r9d
xor r8d, r8d
mov edx, 9
mov dword [rsp + 0x20], 0
mov rcx, rbx
call sym.sqlite3VdbeAddOp3
cmp byte [rsp + 0x3c], 0x4c
mov r12d, eax
jne 0x1400dd36e
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x1400dd3d8
mov rcx, qword [rbx + 0x18]
neg edi
mov eax, dword [rcx + 0x44]
add eax, dword [rcx + 0x48]
js 0x1400dd407
mov edx, dword [rbx + 0x90]
mov rax, qword [rcx + 0x50]
movsxd rdi, edi
mov dword [rax + rdi*4], edx
mov eax, r12d
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movzx eax, byte [rsi + 0x21]
xor r12d, r12d
cmp al, 0x5a
je 0x1400dd5ce
test r8d, r8d
jle 0x1400dd6c0
cmp byte [rsp + 0x3c], 0x59
jne 0x1400dd420
mov ecx, dword [rbx + 0x90]
cmp al, 0x56
mov eax, dword [rsp + 0x44]
mov r8d, dword [r15 + 0x2c]
mov edx, dword [r15 + 0x34]
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x28], eax
je 0x1400dd7c0
mov dword [rsp + 0x20], edx
mov r9d, r14d
mov edx, 0x39
mov rcx, r15
call sym.windowCodeRangeTest
movzx eax, byte [rsi + 0x21]
mov ecx, dword [rbx + 0x90]
mov dword [rsp + 0x4c], ecx
cmp byte [rsi + 0x22], al
jne 0x1400dd659
test r14d, r14d
jne 0x1400dd788
mov eax, dword [r15 + 0x30]
mov r8d, dword [rsi + 0x84]
mov r14d, dword [r15 + 0x2c]
mov dword [rsp + 0x48], eax
test r8d, r8d
jne 0x1400dd2a1
mov eax, dword [r15 + 0x20]
mov rcx, qword [r15]
mov r9d, 1
mov r8d, r14d
mov rdx, rsi
mov dword [rsp + 0x20], eax
call sym.windowAggStep.isra.0
jmp 0x1400dd53c
mov eax, dword [r15 + 0x20]
mov rcx, qword [r15]
xor r9d, r9d
mov r8d, r14d
mov rdx, rsi
mov dword [rsp + 0x20], eax
call sym.windowAggStep.isra.0
jmp 0x1400dd53c
mov dword [rsp + 0x40], 0
jmp 0x1400dd641
cmp byte [rsi + 0x20], 0x59
jne 0x1400dd274
jmp 0x1400dd490
mov edx, r13d
mov rcx, rbp
call sym.sqlite3GetTempRange
mov rdx, qword [r15 + 8]
mov rcx, qword [r15]
mov r8d, r14d
mov r9d, eax
mov dword [rsp + 0x3c], eax
call sym.windowReadPeerValues.isra.0
mov eax, dword [rsp + 0x4c]
mov rdx, qword [rsi + 0x18]
mov rcx, rbp
mov r9d, dword [rsp + 0x48]
mov r8d, dword [rsp + 0x3c]
mov dword [rsp + 0x20], eax
call sym.windowIfNewPeer
cmp r13d, 1
mov eax, dword [rsp + 0x3c]
jne 0x1400dd3b6
test eax, eax
je 0x1400dd5a0
movzx edx, byte [rbp + 0x1f]
cmp dl, 7
ja 0x1400dd5a0
lea ecx, [rdx + 1]
mov byte [rbp + 0x1f], cl
mov dword [rbp + rdx*4 + 0xe8], eax
jmp 0x1400dd5a0
mov rdx, qword [r15 + 8]
mov rcx, qword [r15]
xor r8d, r8d
call sym.windowAggFinal.isra.0
mov eax, dword [rbx + 0x90]
mov dword [rsp + 0x4c], eax
movzx eax, byte [rsi + 0x21]
cmp byte [rsi + 0x22], al
je 0x1400dd47d
jmp 0x1400dd528
cmp byte [rsi + 0x20], 0x59
jne 0x1400dd659
jmp 0x1400dd490
mov eax, dword [rbp + 0x38]
lea r12d, [rax + 1]
mov eax, r12d
lea r14d, [rax + 1]
mov dword [rbp + 0x38], r14d
jmp 0x1400dd4c6
mov dword [rsp + 0x20], r8d
mov r9d, r14d
mov r8d, edx
mov rcx, r15
mov edx, 0x37
call sym.windowCodeRangeTest
movzx eax, byte [rsi + 0x21]
jmp 0x1400dd641
mov dword [rsp + 0x20], 0
mov r8d, dword [r15 + 0x3c]
mov r9d, r12d
mov rcx, rbx
mov edx, 0x87
call sym.sqlite3VdbeAddOp3
mov dword [rsp + 0x20], r12d
mov r9d, dword [rsp + 0x44]
mov rcx, rbx
mov r8d, dword [r15 + 0x28]
mov edx, 0x39
call sym.sqlite3VdbeAddOp3
jmp 0x1400dd4dd
mov dword [rsp + 0x20], 0
mov r8d, dword [r15 + 0x2c]
mov r9d, r12d
mov edx, 0x87
mov rcx, rbx
call sym.sqlite3VdbeAddOp3
mov r9d, r14d
mov edx, 0x87
mov rcx, rbx
mov dword [rsp + 0x20], 0
mov r8d, dword [r15 + 0x3c]
call sym.sqlite3VdbeAddOp3
mov dword [rsp + 0x20], r12d
mov r8d, r14d
mov rcx, rbx
mov r9d, dword [rsp + 0x44]
mov edx, 0x39
call sym.sqlite3VdbeAddOp3
test r12d, r12d
je 0x1400dd8c0
movzx eax, byte [rbp + 0x1f]
cmp al, 7
ja 0x1400dd659
lea edx, [rax + 1]
mov byte [rbp + 0x1f], dl
mov dword [rbp + rax*4 + 0xe8], r12d
test r14d, r14d
jne 0x1400dd501
jmp 0x1400dd659
cmp r13d, 1
jne 0x1400dd27e
jmp 0x1400dd528
test r14d, r14d
je 0x1400dd659
movzx eax, byte [rbp + 0x1f]
cmp al, 7
ja 0x1400dd659
lea edx, [rax + 1]
mov byte [rbp + 0x1f], dl
mov dword [rbp + rax*4 + 0xe8], r14d
jmp 0x1400dd659
mov eax, dword [rbp + 0x38]
jmp 0x1400dd7aa