Function at 0x4c8487
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 dbg.sqlite3VdbeMakeLabel
mov dword [rbp - 0x34], eax
mov dword [rbp - 0x10], 0
cmp dword [rbp + 0x18], 2
jne 0x4c8514
mov rax, qword [rbp - 0x20]
movzx eax, byte [rax + 0x21]
cmp al, 0x5a
jne 0x4c8514
mov eax, 0
jmp 0x4c8a20
cmp dword [rbp + 0x20], 0
jle 0x4c8610
mov rax, qword [rbp - 0x20]
movzx eax, byte [rax + 0x20]
cmp al, 0x59
jne 0x4c85eb
mov rax, qword [rbp - 0x28]
mov rcx, rax
call dbg.sqlite3VdbeCurrentAddr
mov dword [rbp - 0x10], eax
cmp dword [rbp + 0x18], 2
jne 0x4c85b8
mov rax, qword [rbp - 0x20]
movzx eax, byte [rax + 0x21]
cmp al, 0x56
jne 0x4c8585
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x2c]
mov rdx, qword [rbp + 0x10]
mov ecx, dword [rdx + 0x34]
mov r8d, dword [rbp + 0x20]
mov edx, dword [rbp - 0x34]
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], eax
mov r9d, r8d
mov r8d, ecx
mov edx, 0x37
mov rcx, qword [rbp + 0x10]
call dbg.windowCodeRangeTest
jmp 0x4c8610
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x34]
mov rdx, qword [rbp + 0x10]
mov ecx, dword [rdx + 0x2c]
mov r8d, dword [rbp + 0x20]
mov edx, dword [rbp - 0x34]
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], eax
mov r9d, r8d
mov r8d, ecx
mov edx, 0x39
mov rcx, qword [rbp + 0x10]
call dbg.windowCodeRangeTest
jmp 0x4c8610
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x34]
mov rdx, qword [rbp + 0x10]
mov ecx, dword [rdx + 0x3c]
mov r8d, dword [rbp + 0x20]
mov edx, dword [rbp - 0x34]
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], eax
mov r9d, r8d
mov r8d, ecx
mov edx, 0x36
mov rcx, qword [rbp + 0x10]
call dbg.windowCodeRangeTest
jmp 0x4c8610
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 dbg.sqlite3VdbeAddOp3
cmp dword [rbp + 0x18], 1
jne 0x4c8632
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x84]
test eax, eax
jne 0x4c8632
mov edx, 0
mov rcx, qword [rbp + 0x10]
call dbg.windowAggFinal
mov rax, qword [rbp - 0x28]
mov rcx, rax
call dbg.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 0x4c8773
cmp dword [rbp + 0x20], 0
je 0x4c8773
mov rax, qword [rbp - 0x20]
movzx eax, byte [rax + 0x20]
cmp al, 0x59
jne 0x4c8773
mov rax, qword [rbp - 0x18]
mov rcx, rax
call dbg.sqlite3GetTempReg
mov dword [rbp - 0x38], eax
mov rax, qword [rbp - 0x18]
mov rcx, rax
call dbg.sqlite3GetTempReg
mov dword [rbp - 0x3c], eax
cmp dword [rbp + 0x18], 2
jne 0x4c8700
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 dbg.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 dbg.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 dbg.sqlite3VdbeAddOp3
jmp 0x4c8755
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x28]
test eax, eax
je 0x4c8755
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 dbg.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 dbg.sqlite3VdbeAddOp3
mov edx, dword [rbp - 0x38]
mov rax, qword [rbp - 0x18]
mov rcx, rax
call dbg.sqlite3ReleaseTempReg
mov edx, dword [rbp - 0x3c]
mov rax, qword [rbp - 0x18]
mov rcx, rax
call dbg.sqlite3ReleaseTempReg
cmp dword [rbp + 0x18], 1
je 0x4c8784
cmp dword [rbp + 0x18], 2
je 0x4c87a6
jmp 0x4c881a
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 rcx, qword [rbp + 0x10]
call dbg.windowReturnOneRow
jmp 0x4c888a
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 0x4c87f1
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 dbg.sqlite3VdbeAddOp2
jmp 0x4c888a
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x20]
mov ecx, dword [rbp - 4]
mov rax, qword [rbp - 0x20]
mov dword [rsp + 0x20], edx
mov r9d, 1
mov r8d, ecx
mov rdx, rax
mov rcx, qword [rbp + 0x10]
call dbg.windowAggStep
jmp 0x4c888a
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 0x4c8862
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 dbg.sqlite3VdbeAddOp2
jmp 0x4c8889
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x20]
mov ecx, dword [rbp - 4]
mov rax, qword [rbp - 0x20]
mov dword [rsp + 0x20], edx
mov r9d, 0
mov r8d, ecx
mov rdx, rax
mov rcx, qword [rbp + 0x10]
call dbg.windowAggStep
nop
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x24]
cmp dword [rbp + 0x18], eax
jne 0x4c88be
mov edx, dword [rbp - 4]
mov rax, qword [rbp - 0x28]
mov r8d, edx
mov edx, 0x82
mov rcx, rax
call dbg.sqlite3VdbeAddOp1
mov rax, qword [rbp - 0x28]
mov edx, 2
mov rcx, rax
call dbg.sqlite3VdbeChangeP5
cmp dword [rbp + 0x28], 0
je 0x4c8903
mov rax, qword [rbp - 0x28]
mov rcx, rax
call dbg.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 dbg.sqlite3VdbeAddOp2
mov rax, qword [rbp - 0x28]
mov edx, 9
mov rcx, rax
call dbg.sqlite3VdbeAddOp0
mov dword [rbp - 0xc], eax
jmp 0x4c8955
mov rax, qword [rbp - 0x28]
mov rcx, rax
call dbg.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 dbg.sqlite3VdbeAddOp2
cmp dword [rbp - 0x30], 0
je 0x4c8955
mov edx, dword [rbp - 0x34]
mov rax, qword [rbp - 0x28]
mov r9d, edx
mov r8d, 0
mov edx, 9
mov rcx, rax
call dbg.sqlite3VdbeAddOp2
cmp dword [rbp - 0x30], 0
je 0x4c89eb
mov rax, qword [rbp - 0x20]
mov rax, qword [rax + 0x18]
test rax, rax
je 0x4c8978
mov rax, qword [rbp - 0x20]
mov rax, qword [rax + 0x18]
mov eax, dword [rax]
jmp 0x4c897d
mov eax, 0
mov dword [rbp - 0x40], eax
cmp dword [rbp - 0x40], 0
je 0x4c8997
mov edx, dword [rbp - 0x40]
mov rax, qword [rbp - 0x18]
mov rcx, rax
call dbg.sqlite3GetTempRange
jmp 0x4c899c
mov eax, 0
mov dword [rbp - 0x44], eax
mov edx, dword [rbp - 0x44]
mov eax, dword [rbp - 4]
mov r8d, edx
mov edx, eax
mov rcx, qword [rbp + 0x10]
call dbg.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 dbg.windowIfNewPeer
mov ecx, dword [rbp - 0x40]
mov edx, dword [rbp - 0x44]
mov rax, qword [rbp - 0x18]
mov r8d, ecx
mov rcx, rax
call dbg.sqlite3ReleaseTempRange
cmp dword [rbp - 0x10], 0
je 0x4c8a0e
mov edx, dword [rbp - 0x10]
mov rax, qword [rbp - 0x28]
mov r9d, edx
mov r8d, 0
mov edx, 9
mov rcx, rax
call dbg.sqlite3VdbeAddOp2
mov edx, dword [rbp - 0x34]
mov rax, qword [rbp - 0x28]
mov rcx, rax
call dbg.sqlite3VdbeResolveLabel
mov eax, dword [rbp - 0xc]
sub rsp, 0xffffffffffffff80
pop rbp
ret