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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x663e85
push rbp
mov rbp, rsp
sub rsp, 0x68
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rbx
mov dword [rsp + 0x88], ecx
mov dword [rsp + 0x8c], edi
mov dword [rsp + 0x90], esi
mov dword [rsp + 0x94], r8d
mov dword [rsp + 0x98], r9d
mov rbx, qword [rbx]
mov qword [rsp + 0x58], rbx
call sym.modernc.org_sqlite_lib._sqlite3GetVdbe
mov rbx, qword [rsp + 0x80]
mov rcx, rbx
mov rcx, qword [rcx + 8]
mov rdx, qword [rsp + 0x58]
mov rsi, rdx
movzx edx, byte [rdx + 0x1f]
mov rcx, qword [rcx + 0x18]
test edx, edx
jne 0x663a22
lea rdx, [rsi + 0x38]
mov r8, rdx
inc dword [rdx]
mov edx, dword [r8]
jmp 0x663a45
lea r8, [rsi + 0x1f]
mov r9, r8
movzx r10d, byte [r8]
dec r10d
mov byte [r8], r10b
movzx r8d, byte [r9]
lea r8, [rsi + r8*4]
lea r8, [r8 + 0xe8]
mov edx, dword [r8]
mov qword [rsp + 0x50], rax
mov r8, rsi
movzx esi, byte [rsi + 0x1f]
test esi, esi
jne 0x663a63
lea rsi, [r8 + 0x38]
mov r9, rsi
inc dword [rsi]
mov esi, dword [r9]
jmp 0x663a86
lea r9, [r8 + 0x1f]
mov r10, r9
movzx r11d, byte [r9]
dec r11d
mov byte [r9], r11b
movzx r9d, byte [r10]
lea r9, [r8 + r9*4]
lea r9, [r9 + 0xe8]
mov esi, dword [r9]
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x34], esi
lea r9, [r8 + 0x38]
mov r10, r9
inc dword [r9]
lea r9, [rcx + 8]
mov qword [rsp + 0x60], r9
lea r11, [r8 + 0x44]
mov r12, r11
mov r10d, dword [r10]
mov dword [rsp + 0x30], r10d
nop
dec dword [r11]
mov r11d, dword [r12]
mov dword [rsp + 0x44], r11d
mov rax, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x8c]
mov edi, edx
call sym.modernc.org_sqlite_lib._windowReadPeerValues
mov rax, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x94]
mov edi, dword [rsp + 0x34]
call sym.modernc.org_sqlite_lib._windowReadPeerValues
mov rdx, qword [rsp + 0x60]
mov rsi, rdx
movzx edx, byte [rdx + 0x10]
bt edx, 0
jae 0x663b2e
mov r11d, dword [rsp + 0x88]
cmp r11d, 0x36
jne 0x663b14
mov eax, 0x38
jmp 0x663b27
cmp r11d, 0x39
jne 0x663b22
mov eax, 0x37
nop
jmp 0x663b27
mov eax, 0x39
mov ecx, 0x6b
jmp 0x663b3a
mov eax, dword [rsp + 0x88]
mov ecx, 0x6a
mov dword [rsp + 0x3c], ecx
mov dword [rsp + 0x4c], eax
bt edx, 1
jae 0x663c8b
nop
mov rax, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x50]
mov ecx, 0x33
mov edi, dword [rsp + 0x38]
xor esi, esi
mov r8d, esi
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov dword [rsp + 0x48], eax
mov edx, dword [rsp + 0x4c]
cmp edx, 0x36
je 0x663bcb
cmp edx, 0x37
je 0x663ba7
nop dword [rax]
cmp edx, 0x39
jne 0x663bee
mov rax, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x50]
mov ecx, 9
xor edi, edi
mov esi, dword [rsp + 0x98]
mov r8d, edi
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
jmp 0x663bee
mov rax, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x50]
mov ecx, 0x32
mov edi, dword [rsp + 0x34]
mov esi, dword [rsp + 0x98]
xor r8d, r8d
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
jmp 0x663bee
nop
mov rax, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x50]
mov ecx, 0x33
mov edi, dword [rsp + 0x34]
mov esi, dword [rsp + 0x98]
xor r8d, r8d
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
nop
mov rax, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x50]
mov ecx, 9
xor edi, edi
mov esi, dword [rsp + 0x44]
mov r8d, edi
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rbx, qword [rsp + 0x50]
mov rdx, rbx
mov r9, qword [rdx]
nop
cmp byte [r9 + 0x67], 0
je 0x663c31
lea r9, [0x00a30f90]
mov r10d, dword [rsp + 0x4c]
cmp r10d, 0x36
jmp 0x663c51
mov r10d, dword [rsp + 0x48]
movsxd r10, r10d
lea r9, [r10 + r10*2]
shl r9, 3
add r9, qword [rdx + 0x88]
mov r10d, dword [rsp + 0x4c]
cmp r10d, 0x36
mov edx, dword [rdx + 0x90]
mov dword [r9 + 8], edx
je 0x663c66
nop dword [rax]
cmp r10d, 0x39
jne 0x663c6c
mov eax, dword [rsp + 0x44]
jmp 0x663c73
mov eax, dword [rsp + 0x98]
mov ecx, 0x32
mov edi, dword [rsp + 0x34]
mov esi, eax
xor r8d, r8d
mov rax, qword [rsp + 0x78]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov r9, qword [0x00a30e10]
add r9, 0x688
mov rax, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x50]
mov ecx, 0x75
xor edi, edi
mov esi, dword [rsp + 0x30]
mov r8d, edi
mov r10d, 0xffffffff
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp4
mov rax, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x50]
mov ecx, 0x39
mov edi, dword [rsp + 0x30]
xor esi, esi
mov r8d, dword [rsp + 0x38]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov dword [rsp + 0x40], eax
mov ecx, dword [rsp + 0x4c]
cmp ecx, 0x39
jne 0x663cf3
mov edx, dword [rsp + 0x3c]
cmp edx, 0x6a
je 0x663d05
jmp 0x663cf7
mov edx, dword [rsp + 0x3c]
cmp ecx, 0x37
jne 0x663d29
nop dword [rax]
cmp edx, 0x6b
jne 0x663d29
mov rax, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x50]
mov edi, dword [rsp + 0x34]
mov esi, dword [rsp + 0x98]
mov r8d, dword [rsp + 0x38]
nop
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov edx, dword [rsp + 0x3c]
mov rax, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x50]
mov ecx, edx
mov edi, dword [rsp + 0x90]
mov esi, dword [rsp + 0x38]
mov r8d, esi
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rbx, qword [rsp + 0x50]
mov rdx, rbx
mov r9, qword [rdx]
nop
cmp byte [r9 + 0x67], 0
je 0x663d64
lea r9, [0x00a30f90]
jmp 0x663d7b
mov r10d, dword [rsp + 0x40]
movsxd r10, r10d
lea r9, [r10 + r10*2]
shl r9, 3
add r9, qword [rdx + 0x88]
mov edx, dword [rdx + 0x90]
mov dword [r9 + 8], edx
mov rax, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x4c]
mov edi, dword [rsp + 0x34]
mov esi, dword [rsp + 0x98]
mov r8d, dword [rsp + 0x38]
nop
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x58]
call sym.modernc.org_sqlite_lib._sqlite3ExprNNCollSeq
mov rbx, qword [rsp + 0x50]
mov rcx, rax
mov edi, 0xfffffffe
mov rax, qword [rsp + 0x78]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAppendP4
mov rbx, qword [rsp + 0x50]
mov rdx, rbx
mov r9d, dword [rdx + 0x90]
nop
test r9d, r9d
jle 0x663e04
lea esi, [r9 - 1]
movsxd rsi, esi
lea rsi, [rsi + rsi*2]
shl rsi, 3
add rsi, qword [rdx + 0x88]
mov word [rsi + 2], pe_nt_image_headers64
mov rax, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x44]
call sym.modernc.org_sqlite_lib._sqlite3VdbeResolveLabel
nop
mov edx, dword [rsp + 0x38]
test edx, edx
je 0x663e48
mov rax, qword [rsp + 0x58]
mov rcx, rax
movzx eax, byte [rax + 0x1f]
cmp eax, 8
jge 0x663e4d
lea rax, [rcx + 0x1f]
movzx ebx, byte [rax]
lea esi, [rbx + 1]
mov byte [rax], sil
lea rax, [rcx + rbx*4]
lea rax, [rax + 0xe8]
mov dword [rax], edx
jmp 0x663e4d
mov rcx, qword [rsp + 0x58]
nop
mov eax, dword [rsp + 0x34]
test eax, eax
je 0x663e7f
mov rdx, rcx
movzx ecx, byte [rcx + 0x1f]
nop dword [rax]
cmp ecx, 8
jge 0x663e7f
lea rcx, [rdx + 0x1f]
movzx ebx, byte [rcx]
lea esi, [rbx + 1]
mov byte [rcx], sil
lea rcx, [rdx + rbx*4]
lea rcx, [rcx + 0xe8]
mov dword [rcx], eax
add rsp, 0x68
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], ecx
mov dword [rsp + 0x1c], edi
mov dword [rsp + 0x20], esi
mov dword [rsp + 0x24], r8d
mov dword [rsp + 0x28], r9d
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x18]
mov edi, dword [rsp + 0x1c]
mov esi, dword [rsp + 0x20]
mov r8d, dword [rsp + 0x24]
mov r9d, dword [rsp + 0x28]
jmp sym.modernc.org_sqlite_lib._windowCodeRangeTest