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

Disassembly:
push rbp
mov rbp, rsp
add rsp, 0xffffffffffffff80
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov dword [rbp + 0x20], r8d
mov dword [rbp + 0x28], r9d
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 8]
mov qword [rbp - 0x20], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x10]
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x2c], 0
mov rax, qword [rbp - 0x20]
movzx eax, byte [rax + 0x20]
cmp al, 0x4c
setne al
movzx eax, al
mov dword [rbp - 0x30], eax
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sym.sqlite3VdbeMakeLabel
mov dword [rbp - 0x34], eax
mov dword [rbp - 0x10], 0
cmp dword [rbp + 0x18], 2
jne 0x140169edf
mov rax, qword [rbp - 0x20]
movzx eax, byte [rax + 0x21]
cmp al, 0x5a
jne 0x140169edf
mov eax, 0
jmp 0x14016a3e8
cmp dword [rbp + 0x20], 0
jle 0x140169fd5
mov rax, qword [rbp - 0x20]
movzx eax, byte [rax + 0x20]
cmp al, 0x59
jne 0x140169fb0
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.sqlite3VdbeCurrentAddr
mov dword [rbp - 0x10], eax
cmp dword [rbp + 0x18], 2
jne 0x140169f7f
mov rax, qword [rbp - 0x20]
movzx eax, byte [rax + 0x21]
cmp al, 0x56
jne 0x140169f4e
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x2c]
mov rax, qword [rbp + 0x10]
mov r8d, dword [rax + 0x34]
mov r9d, dword [rbp + 0x20]
mov rax, qword [rbp + 0x10]
mov ecx, dword [rbp - 0x34]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov edx, 0x37
mov rcx, rax
call sym.windowCodeRangeTest
jmp 0x140169fd5
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x34]
mov rax, qword [rbp + 0x10]
mov r8d, dword [rax + 0x2c]
mov r9d, dword [rbp + 0x20]
mov rax, qword [rbp + 0x10]
mov ecx, dword [rbp - 0x34]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov edx, 0x39
mov rcx, rax
call sym.windowCodeRangeTest
jmp 0x140169fd5
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x34]
mov rax, qword [rbp + 0x10]
mov r8d, dword [rax + 0x3c]
mov r9d, dword [rbp + 0x20]
mov rax, qword [rbp + 0x10]
mov ecx, dword [rbp - 0x34]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov edx, 0x36
mov rcx, rax
call sym.windowCodeRangeTest
jmp 0x140169fd5
mov ecx, dword [rbp - 0x34]
mov edx, dword [rbp + 0x20]
mov rax, qword [rbp - 0x28]
mov dword [rsp + 0x20], 1
mov r9d, ecx
mov r8d, edx
mov edx, 0x3b
mov rcx, rax
call sym.sqlite3VdbeAddOp3
cmp dword [rbp + 0x18], 1
jne 0x140169ffa
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x84]
test eax, eax
jne 0x140169ffa
mov rax, qword [rbp + 0x10]
mov edx, 0
mov rcx, rax
call sym.windowAggFinal
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.sqlite3VdbeCurrentAddr
mov dword [rbp - 0x2c], eax
mov rax, qword [rbp - 0x20]
movzx edx, byte [rax + 0x21]
mov rax, qword [rbp - 0x20]
movzx eax, byte [rax + 0x22]
cmp dl, al
jne 0x14016a13b
cmp dword [rbp + 0x20], 0
je 0x14016a13b
mov rax, qword [rbp - 0x20]
movzx eax, byte [rax + 0x20]
cmp al, 0x59
jne 0x14016a13b
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sym.sqlite3GetTempReg
mov dword [rbp - 0x38], eax
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sym.sqlite3GetTempReg
mov dword [rbp - 0x3c], eax
cmp dword [rbp + 0x18], 2
jne 0x14016a0c8
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x2c]
mov ecx, dword [rbp - 0x38]
mov rax, qword [rbp - 0x28]
mov r9d, ecx
mov r8d, edx
mov edx, 0x87
mov rcx, rax
call sym.sqlite3VdbeAddOp2
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x3c]
mov ecx, dword [rbp - 0x3c]
mov rax, qword [rbp - 0x28]
mov r9d, ecx
mov r8d, edx
mov edx, 0x87
mov rcx, rax
call sym.sqlite3VdbeAddOp2
mov r8d, dword [rbp - 0x34]
mov ecx, dword [rbp - 0x3c]
mov rax, qword [rbp - 0x28]
mov edx, dword [rbp - 0x38]
mov dword [rsp + 0x20], edx
mov r9d, r8d
mov r8d, ecx
mov edx, 0x39
mov rcx, rax
call sym.sqlite3VdbeAddOp3
jmp 0x14016a11d
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x28]
test eax, eax
je 0x14016a11d
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x3c]
mov ecx, dword [rbp - 0x38]
mov rax, qword [rbp - 0x28]
mov r9d, ecx
mov r8d, edx
mov edx, 0x87
mov rcx, rax
call sym.sqlite3VdbeAddOp2
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x28]
mov r8d, dword [rbp - 0x34]
mov rax, qword [rbp - 0x28]
mov edx, dword [rbp - 0x38]
mov dword [rsp + 0x20], edx
mov r9d, r8d
mov r8d, ecx
mov edx, 0x39
mov rcx, rax
call sym.sqlite3VdbeAddOp3
mov edx, dword [rbp - 0x38]
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sym.sqlite3ReleaseTempReg
mov edx, dword [rbp - 0x3c]
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sym.sqlite3ReleaseTempReg
cmp dword [rbp + 0x18], 1
je 0x14016a14c
cmp dword [rbp + 0x18], 2
je 0x14016a171
jmp 0x14016a1e3
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x34]
mov dword [rbp - 4], eax
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x38]
mov dword [rbp - 8], eax
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym.windowReturnOneRow
jmp 0x14016a251
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x2c]
mov dword [rbp - 4], eax
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x30]
mov dword [rbp - 8], eax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x84]
test eax, eax
je 0x14016a1bc
mov rax, qword [rbp - 0x20]
mov edx, dword [rax + 0x84]
mov rax, qword [rbp - 0x28]
mov r9d, 1
mov r8d, edx
mov edx, 0x56
mov rcx, rax
call sym.sqlite3VdbeAddOp2
jmp 0x14016a251
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x20]
mov r8d, dword [rbp - 4]
mov rdx, qword [rbp - 0x20]
mov rax, qword [rbp + 0x10]
mov dword [rsp + 0x20], ecx
mov r9d, 1
mov rcx, rax
call sym.windowAggStep
jmp 0x14016a251
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
mov dword [rbp - 4], eax
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x40]
mov dword [rbp - 8], eax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x84]
test eax, eax
je 0x14016a22b
mov rax, qword [rbp - 0x20]
mov edx, dword [rax + 0x88]
mov rax, qword [rbp - 0x28]
mov r9d, 1
mov r8d, edx
mov edx, 0x56
mov rcx, rax
call sym.sqlite3VdbeAddOp2
jmp 0x14016a250
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x20]
mov r8d, dword [rbp - 4]
mov rdx, qword [rbp - 0x20]
mov rax, qword [rbp + 0x10]
mov dword [rsp + 0x20], ecx
mov r9d, 0
mov rcx, rax
call sym.windowAggStep
nop
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x24]
cmp dword [rbp + 0x18], eax
jne 0x14016a285
mov edx, dword [rbp - 4]
mov rax, qword [rbp - 0x28]
mov r8d, edx
mov edx, 0x82
mov rcx, rax
call sym.sqlite3VdbeAddOp1
mov rax, qword [rbp - 0x28]
mov edx, 2
mov rcx, rax
call sym.sqlite3VdbeChangeP5
cmp dword [rbp + 0x28], 0
je 0x14016a2ca
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.sqlite3VdbeCurrentAddr
lea ecx, [rax + 2]
mov edx, dword [rbp - 4]
mov rax, qword [rbp - 0x28]
mov r9d, ecx
mov r8d, edx
mov edx, 0x27
mov rcx, rax
call sym.sqlite3VdbeAddOp2
mov rax, qword [rbp - 0x28]
mov edx, 9
mov rcx, rax
call sym.sqlite3VdbeAddOp0
mov dword [rbp - 0xc], eax
jmp 0x14016a31c
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.sqlite3VdbeCurrentAddr
lea edx, [rax + 1]
mov eax, dword [rbp - 0x30]
lea ecx, [rdx + rax]
mov edx, dword [rbp - 4]
mov rax, qword [rbp - 0x28]
mov r9d, ecx
mov r8d, edx
mov edx, 0x27
mov rcx, rax
call sym.sqlite3VdbeAddOp2
cmp dword [rbp - 0x30], 0
je 0x14016a31c
mov edx, dword [rbp - 0x34]
mov rax, qword [rbp - 0x28]
mov r9d, edx
mov r8d, 0
mov edx, 9
mov rcx, rax
call sym.sqlite3VdbeAddOp2
cmp dword [rbp - 0x30], 0
je 0x14016a3b3
mov rax, qword [rbp - 0x20]
mov rax, qword [rax + 0x18]
test rax, rax
je 0x14016a33f
mov rax, qword [rbp - 0x20]
mov rax, qword [rax + 0x18]
mov eax, dword [rax]
jmp 0x14016a344
mov eax, 0
mov dword [rbp - 0x40], eax
cmp dword [rbp - 0x40], 0
je 0x14016a35e
mov edx, dword [rbp - 0x40]
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sym.sqlite3GetTempRange
jmp 0x14016a363
mov eax, 0
mov dword [rbp - 0x44], eax
mov ecx, dword [rbp - 0x44]
mov edx, dword [rbp - 4]
mov rax, qword [rbp + 0x10]
mov r8d, ecx
mov rcx, rax
call sym.windowReadPeerValues
mov rax, qword [rbp - 0x20]
mov rdx, qword [rax + 0x18]
mov r9d, dword [rbp - 8]
mov r8d, dword [rbp - 0x44]
mov rax, qword [rbp - 0x18]
mov ecx, dword [rbp - 0x2c]
mov dword [rsp + 0x20], ecx
mov rcx, rax
call sym.windowIfNewPeer
mov ecx, dword [rbp - 0x40]
mov edx, dword [rbp - 0x44]
mov rax, qword [rbp - 0x18]
mov r8d, ecx
mov rcx, rax
call sym.sqlite3ReleaseTempRange
cmp dword [rbp - 0x10], 0
je 0x14016a3d6
mov edx, dword [rbp - 0x10]
mov rax, qword [rbp - 0x28]
mov r9d, edx
mov r8d, 0
mov edx, 9
mov rcx, rax
call sym.sqlite3VdbeAddOp2
mov edx, dword [rbp - 0x34]
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.sqlite3VdbeResolveLabel
mov eax, dword [rbp - 0xc]
sub rsp, 0xffffffffffffff80
pop rbp
ret