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

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x65d326
push rbp
mov rbp, rsp
sub rsp, 0xa8
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], rbx
mov rdx, rbx
mov r10, qword [rdx]
mov qword [rsp + 0x68], r10
mov r11, r10
mov r12, qword [r10 + 0x10]
mov qword [rsp + 0x58], r12
movzx r13d, byte [rdx + 0x40]
mov r15, r12
mov rdx, qword [rdx + 8]
mov qword [rsp + 0x60], rdx
mov r10, qword [r10]
mov qword [rsp + 0x90], r10
nop
dec r13d
mov r12d, dword [r12 + 0x90]
mov dword [rsp + 0x3c], r12d
xor ecx, ecx
xor esi, esi
xor edi, edi
jmp 0x65c442
mov r13d, dword [rsp + 0x40]
dec r13d
mov rax, qword [rsp + 0xc0]
mov edi, dword [rsp + 0x2c]
mov esi, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x88]
mov rax, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0xc0]
mov r10, qword [rsp + 0x90]
mov r11, qword [rsp + 0x68]
mov r12d, dword [rsp + 0x3c]
mov r15, qword [rsp + 0x58]
mov dword [rsp + 0x2c], edi
test r13d, r13d
jl 0x65c9e9
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x88], rcx
mov dword [rsp + 0x40], r13d
movsxd r8, r13d
imul r8, r8, 0x68
mov qword [rsp + 0xa0], r8
lea r9, [rbx + r8]
lea r9, [r9 + 0x358]
mov qword [rsp + 0x78], r9
mov r12, qword [r9 + 0x30]
test r12, r12
je 0x65c53b
mov qword [rsp + 0x98], r12
mov ecx, dword [r9 + 0x18]
mov rbx, r15
nop dword [rax + rax]
call sym.modernc.org_sqlite_lib._sqlite3VdbeResolveLabel
mov rdx, qword [rsp + 0x78]
mov dword [rdx + 0x18], 0
mov rdx, qword [rsp + 0x98]
mov rdi, rdx
mov rbx, qword [rsp + 0x58]
mov r8, rbx
mov r8d, dword [r8 + 0x90]
mov dword [rdx + 0x10], r8d
mov edx, dword [rdi + 8]
mov edi, dword [rdi + 0xc]
mov rax, qword [rsp + 0xb8]
mov ecx, 0x43
mov r8d, 1
mov r9d, edi
mov edi, edx
mov esi, r9d
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov edi, dword [rsp + 0x2c]
inc edi
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0xc0]
mov esi, dword [rsp + 0x30]
mov r8, qword [rsp + 0xa0]
mov r10, qword [rsp + 0x90]
mov r11, qword [rsp + 0x68]
mov r13d, dword [rsp + 0x40]
mov r15, qword [rsp + 0x58]
mov dword [rsp + 0x2c], edi
mov r12, qword [rsp + 0x78]
mov r9, r12
movzx r10d, byte [r12 + 0x39]
mov rdx, qword [r12 + 0x58]
mov qword [rsp + 0x70], rdx
nop word [rax + rax]
cmp r10d, 0xbb
je 0x65c645
mov r10, rbx
movzx r12d, byte [rbx + 0x43]
cmp r12d, 2
jne 0x65c597
movzx r12d, byte [rbx + 0x40]
dec r12d
cmp r13d, r12d
jne 0x65c597
mov r12, rdx
mov edx, dword [rdx + 0x30]
bt edx, 9
setb dl
jmp 0x65c5a0
mov r12, rdx
xor edx, edx
nop dword [rax]
test dl, dl
je 0x65c5ae
mov rdx, r12
mov rcx, qword [r12 + 0x20]
jmp 0x65c5b1
mov rdx, r12
je 0x65c5d5
lea r12, [rcx + 0x64]
movzx r12d, word [r12]
and r12d, 0x80
shr r12w, 7
movzx r12d, r12w
test r12d, r12d
setne r12b
jmp 0x65c5d8
xor r12d, r12d
test r12b, r12b
je 0x65c5e6
mov r12, rdx
movzx esi, word [rdx + 0x1e]
jmp 0x65c5e9
mov r12, rdx
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x88], rcx
je 0x65c636
test esi, esi
jle 0x65c62c
mov rdx, rcx
movsxd rbx, esi
shl rbx, 1
add rbx, qword [rcx + 0x10]
movsx rcx, word [rbx]
cmp ecx, 0x24
jl 0x65c625
mov rcx, r11
mov r11d, dword [r11 + 0x38]
mov dword [rsp + 0x54], r11d
xor ebx, ebx
nop
jmp 0x65d26a
xor ecx, ecx
jmp 0x65d0a6
mov rdx, rcx
xor ecx, ecx
jmp 0x65d0a6
mov rdx, rcx
xor ecx, ecx
nop dword [rax + rax]
jmp 0x65d0a6
mov r10d, dword [r12 + 0x18]
test r10d, r10d
je 0x65c69b
mov rbx, r15
mov ecx, r10d
call sym.modernc.org_sqlite_lib._sqlite3VdbeResolveLabel
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0xc0]
mov esi, dword [rsp + 0x30]
mov edi, dword [rsp + 0x2c]
mov r8, qword [rsp + 0xa0]
mov r9, qword [rsp + 0x78]
mov r11, qword [rsp + 0x68]
mov r13d, dword [rsp + 0x40]
mov r15, qword [rsp + 0x58]
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x88], rcx
mov r10, rdx
mov edx, dword [rdx + 0x30]
bt edx, 0xb
jae 0x65c705
lea rdx, [rbx + r8]
lea rdx, [rdx + 0x3a0]
mov r8, rdx
cmp dword [rdx], 0
jle 0x65c705
mov qword [rsp + 0xa0], r8
mov ecx, dword [r9 + 0x10]
mov rbx, r15
call sym.modernc.org_sqlite_lib._sqlite3VdbeResolveLabel
mov rdx, qword [rsp + 0xa0]
mov esi, dword [rdx]
lea edi, [rsi - 1]
movsxd rdi, edi
lea rdi, [rdi + rdi*4]
shl rdi, 2
add rdi, qword [rdx + 8]
mov rbx, qword [rsp + 0x58]
nop dword [rax + rax]
jmp 0x65cea0
mov ecx, dword [r9 + 0xc]
mov rbx, r15
call sym.modernc.org_sqlite_lib._sqlite3VdbeResolveLabel
mov rdx, qword [rsp + 0x78]
mov rsi, rdx
mov rdx, qword [rdx + 0x30]
nop dword [rax]
test rdx, rdx
je 0x65c74c
mov edi, dword [rdx + 8]
mov rax, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0x58]
mov ecx, 0x43
xor esi, esi
mov r8d, 1
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rsi, qword [rsp + 0x78]
mov rdx, rsi
mov esi, dword [rsi + 0x14]
test esi, esi
jne 0x65c765
mov rbx, qword [rsp + 0x58]
mov r12, rdx
nop
jmp 0x65c80d
nop
mov rax, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0x58]
mov ecx, 9
xor edi, edi
mov r8d, edi
nop dword [rax]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rbx, qword [rsp + 0x58]
mov rdx, rbx
mov r9, qword [rdx]
cmp byte [r9 + 0x67], 0
je 0x65c7a5
lea r10, [0x00a30f90]
mov r12, qword [rsp + 0x78]
jmp 0x65c7c0
mov r11, qword [rsp + 0x78]
mov r12, r11
movsxd r11, dword [r11 + 0x14]
lea r10, [r11 + r11*2]
shl r10, 3
add r10, qword [rdx + 0x88]
mov edx, dword [rdx + 0x90]
mov dword [r10 + 8], edx
mov rdx, rbx
mov r10, qword [rdx]
cmp byte [r10 + 0x67], 0
je 0x65c7e2
lea r10, [0x00a30f90]
nop
jmp 0x65c803
mov r11, r12
mov r12d, dword [r12 + 0x14]
add r12d, 0xfffffffe
movsxd r12, r12d
lea r10, [r12 + r12*2]
shl r10, 3
add r10, qword [rdx + 0x88]
mov r12, r11
mov edx, dword [rdx + 0x90]
mov dword [r10 + 8], edx
mov edi, dword [r12]
test edi, edi
je 0x65c3f6
mov rdx, qword [rsp + 0x70]
mov edx, dword [rdx + 0x30]
mov dword [rsp + 0x50], edx
nop
mov rax, qword [rsp + 0xb8]
mov ecx, 0x3b
xor esi, esi
mov r8d, esi
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov dword [rsp + 0x4c], eax
mov edx, dword [rsp + 0x50]
bt edx, 6
jb 0x65c8ed
mov r9, qword [rsp + 0x78]
mov r10, r9
movzx r9d, byte [r9 + 0x38]
imul r9, r9, 0x68
mov r11, qword [rsp + 0x60]
lea r12, [r9 + r11]
lea r12, [r12 + 0x48]
movzx r12d, word [r12]
and r12d, 0x20
shr r12w, 5
movzx r12d, r12w
lea r9, [r9 + r11]
lea r9, [r9 + 8]
test r12d, r12d
je 0x65c8c0
mov esi, dword [r9 + 0x38]
mov rdx, qword [r9 + 0x20]
movsx rdx, word [rdx + 0x36]
lea r8d, [rsi + rdx]
lea r8d, [r8 - 1]
mov rax, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0x58]
mov ecx, 0x4b
xor edi, edi
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov r10, qword [rsp + 0x78]
mov edi, dword [r10 + 4]
mov rax, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0x58]
mov ecx, 0x88
xor esi, esi
mov r8d, esi
nop dword [rax + rax]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov eax, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x50]
bt edx, 9
jae 0x65c8fa
mov r10, qword [rsp + 0x78]
jmp 0x65c911
bt edx, 0xd
nop
jae 0x65c94f
mov r9, qword [rsp + 0x78]
mov r10, r9
cmp qword [r9 + 0x48], 0
je 0x65c954
bt edx, 0xd
jae 0x65cdff
mov rdx, r10
mov r9, qword [r10 + 0x48]
mov qword [rsp + 0x80], r9
mov r11, r9
mov r12, qword [r9 + 0x30]
test r12, r12
je 0x65c945
mov r13, qword [rsp + 0x90]
xor ecx, ecx
jmp 0x65ce75
mov ecx, 0xffff8000
jmp 0x65ce2d
mov r10, qword [rsp + 0x78]
movzx edx, byte [r10 + 0x39]
cmp edx, 0x43
jne 0x65c987
mov edi, dword [r10 + 0x3c]
mov esi, dword [r10 + 0x1c]
mov rax, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0x58]
mov ecx, 0xa
xor r8d, r8d
nop dword [rax + rax]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
jmp 0x65c9a7
mov esi, dword [r10 + 0x1c]
mov rax, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0x58]
mov ecx, 9
xor edi, edi
mov r8d, edi
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rbx, qword [rsp + 0x58]
mov rdx, rbx
mov r10, qword [rdx]
nop
cmp byte [r10 + 0x67], 0
je 0x65c9c3
lea r10, [0x00a30f90]
jmp 0x65c9da
mov r11d, dword [rsp + 0x4c]
movsxd r11, r11d
lea r10, [r11 + r11*2]
shl r10, 3
add r10, qword [rdx + 0x88]
mov edx, dword [rdx + 0x90]
mov dword [r10 + 8], edx
jmp 0x65c3f6
lea r9, [rbx + 0x358]
xor ecx, ecx
jmp 0x65ca33
mov ecx, dword [rsp + 0x40]
inc ecx
mov r9, qword [rsp + 0x78]
add r9, 0x68
mov rdx, qword [rsp + 0x60]
mov r10, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0xb8]
mov edi, dword [rsp + 0x2c]
mov r11, qword [rsp + 0x68]
mov r12d, dword [rsp + 0x3c]
mov r15, qword [rsp + 0x58]
mov r13, rbx
movzx esi, byte [r13 + 0x40]
nop dword [rax + rax]
cmp ecx, esi
jge 0x65cb6a
mov qword [rsp + 0x78], r9
mov dword [rsp + 0x40], ecx
mov rsi, r9
movzx r8d, byte [r9 + 0x38]
imul r8, r8, 0x68
lea rdi, [r8 + rdx]
lea rdi, [rdi + 8]
mov r15, qword [rdi + 0x20]
cmp qword [r9 + 0x30], 0
jne 0x65cb5a
lea r8, [r8 + rdx]
lea r8, [r8 + 0x48]
movzx r8d, word [r8]
and r8d, 0x20
shr r8w, 5
movzx r8d, r8w
test r8d, r8d
jne 0x65cb3d
mov rdi, qword [r9 + 0x58]
mov r8d, dword [rdi + 0x30]
nop
test r8d, 0x240
je 0x65caaf
mov r9, qword [rdi + 0x20]
jmp 0x65cac0
bt r8d, 0xd
jae 0x65cabc
mov r9, qword [r9 + 0x48]
jmp 0x65cac0
xor r9d, r9d
nop
test r9, r9
je 0x65cb35
mov rdi, r10
cmp byte [r10 + 0x67], 0
jne 0x65c9f4
movzx r10d, byte [r13 + 0x42]
test r10d, r10d
je 0x65caf8
mov r10, r9
mov r9, qword [r9 + 0x18]
mov r9d, dword [r9 + 0x30]
bt r9d, 7
jb 0x65caf5
mov r9d, dword [r13 + 0x4c]
jmp 0x65cafe
mov r9, r10
mov r10, r9
mov r9d, r12d
lea r13, [r10 + 0x64]
movzx r13d, word [r13]
and r13d, 0x1000
shr r13w, 0xc
movzx r13d, r13w
nop word [rax + rax]
test r13d, r13d
je 0x65cbc3
mov r13, r11
mov r11, qword [r11 + 0x60]
jmp 0x65cdcb
mov rdi, r10
jmp 0x65c9f4
mov ecx, dword [r9 + 0x20]
mov edx, dword [r9 + 4]
mov esi, dword [rdi + 0x38]
mov rbx, r11
mov edi, edx
xor r8d, r8d
call sym.modernc.org_sqlite_lib._translateColumnToCopy
jmp 0x65c9f4
mov rdi, rsi
nop dword [rax]
call sym.modernc.org_sqlite_lib._sqlite3WhereRightJoinLoop
jmp 0x65c9f4
mov ecx, dword [r13 + 0x34]
mov rbx, r15
call sym.modernc.org_sqlite_lib._sqlite3VdbeResolveLabel
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0xc0]
mov rdi, rcx
mov edi, dword [rdi + 0x38]
mov word [rdx + 0xe0], di
mov rax, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0x90]
call sym.modernc.org_sqlite_lib._whereInfoFree
mov rdx, qword [rsp + 0x68]
add rdx, 0x26
movzx esi, byte [rdx]
mov edi, dword [rsp + 0x2c]
sub esi, edi
mov byte [rdx], sil
add rsp, 0xa8
pop rbp
ret
mov r13, rsi
mov r11, qword [rsp + 0x58]
mov r8, qword [r11]
mov esi, dword [rsi + 0x20]
cmp byte [r8 + 0x67], 0
je 0x65cbe2
lea r11, [0x00a30f90]
nop
jmp 0x65cbfb
lea r8d, [rsi + 1]
movsxd r8, r8d
lea r8, [r8 + r8*2]
shl r8, 3
add r8, qword [r11 + 0x88]
mov r11, r8
mov qword [rsp + 0xa0], r10
sub r9d, esi
dec r9d
movsxd r9, r9d
lea r9, [r9 + r9*2]
lea r9, [r11 + r9*8]
jmp 0x65cc1b
mov r13, qword [rsp + 0x78]
mov rsi, r11
mov r8d, dword [r11 + 4]
cmp dword [r13 + 4], r8d
jne 0x65cc9e
movzx r8d, byte [r11]
cmp r8d, 0x5e
je 0x65cc38
cmp r8d, 0x5d
jne 0x65cc74
mov r13d, dword [r11 + 8]
nop dword [rax]
cmp r8d, 0x5d
je 0x65ccee
mov r8, r15
mov eax, dword [r15 + 0x30]
bt eax, 7
jb 0x65cc6d
bt eax, 5
nop dword [rax + rax]
jae 0x65cd74
xor eax, eax
jmp 0x65cdad
nop
mov r15, qword [r15 + 0x10]
jmp 0x65ccc0
cmp r8d, 0x87
jne 0x65cc90
mov r13d, dword [r13 + 8]
mov dword [r11 + 4], r13d
mov r11, rsi
mov byte [rsi], 0x8e
mov rsi, r11
jmp 0x65cc9e
cmp r8d, 0x14
jne 0x65cc9e
mov r13d, dword [r13 + 8]
mov dword [r11 + 4], r13d
lea r11, [rsi + 0x18]
cmp r9, r11
ja 0x65cc16
mov rsi, qword [rsp + 0x78]
mov r11, qword [rsp + 0x68]
jmp 0x65c9f4
mov r15, qword [r15 + 0x28]
nop
test r15, r15
je 0x65ccd4
lea rax, [r15 + 0x64]
movzx eax, word [rax]
and eax, 3
cmp eax, 2
jne 0x65ccba
movsxd r13, r13d
shl r13, 1
add r13, qword [r15 + 8]
movsx r13, word [r13]
mov rax, qword [rsp + 0xb8]
mov r15, r8
xor r8d, r8d
jmp 0x65cd03
inc r8d
mov r10, qword [rsp + 0xa0]
mov r12d, dword [rsp + 0x3c]
movzx eax, word [r10 + 0x60]
cmp r8d, eax
jge 0x65cd2c
movsx rax, r13w
movsxd r12, r8d
shl r12, 1
add r12, qword [r10 + 8]
movsx r10, word [r12]
cmp r10d, eax
jne 0x65ccf3
mov r12d, dword [rsp + 0x3c]
jmp 0x65cd32
mov r8d, 0xffffffff
movsx r10, r8w
test r10d, r10d
jl 0x65cd54
mov dword [r11 + 8], r10d
mov r10, rsi
mov r11, qword [rsp + 0x78]
mov r13, r11
mov r11d, dword [r11 + 8]
mov dword [rsi + 4], r11d
jmp 0x65cd5c
mov r10, rsi
mov r13, qword [rsp + 0x78]
mov rax, qword [rsp + 0xb8]
mov rsi, r10
mov r10, qword [rsp + 0xa0]
jmp 0x65cc9e
movsx r13, r13w
jmp 0x65cce3
movsxd r12, eax
shl r12, 4
add r12, qword [r15 + 8]
movzx r12d, word [r12 + 0xe]
lea edi, [r13 + 1]
inc eax
test r12d, 0x20
cmovne r13w, di
mov rdi, qword [rsp + 0x90]
mov r12d, dword [rsp + 0x3c]
movsx r12, r13w
cmp eax, r12d
jle 0x65cd7d
mov r12d, dword [rsp + 0x3c]
jmp 0x65cd74
mov r11, qword [r11 + 0x18]
mov rsi, qword [rsp + 0x78]
mov r13, qword [rsp + 0x68]
test r11, r11
je 0x65cdf7
mov r8, r11
mov r13d, dword [r11 + 0xc]
cmp dword [rsi + 8], r13d
jne 0x65cdf2
mov dword [r11 + 8], 0xffffffff
mov r11, r8
mov dword [r8 + 0xc], 0xffffffff
jmp 0x65cdbd
mov r11, r8
jmp 0x65cdbd
mov r11, r13
jmp 0x65cbc3
mov edi, dword [r10 + 8]
mov rax, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0x58]
mov ecx, 0x88
xor esi, esi
mov r8d, esi
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov eax, dword [rsp + 0x4c]
mov r10, qword [rsp + 0x78]
jmp 0x65c954
mov edi, dword [r10 + 8]
mov esi, dword [r9 + 0x58]
mov rax, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0x58]
mov r8d, ecx
mov ecx, 0x65
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rax, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x80]
call sym.modernc.org_sqlite_lib._sqlite3VdbeSetP4KeyInfo
mov r10, qword [rsp + 0x78]
jmp 0x65cdff
inc ecx
mov r13, r15
mov r15, r13
movsxd rbx, ecx
shl rbx, 5
add rbx, qword [r13 + 0x20]
cmp qword [rbx + 0x18], r12
jne 0x65ce70
jmp 0x65ce2d
mov r10d, dword [r10 + 0x90]
mov dword [r11 + 8], r10d
dec esi
lea rdi, [rdx - 0x14]
nop dword [rax]
test esi, esi
jle 0x65d091
mov rdx, rbx
mov r10, qword [rdx]
cmp byte [r10 + 0x67], 0
je 0x65cebe
lea r10, [0x00a30f90]
jmp 0x65cedd
mov r11, rdi
mov r12d, dword [rdi + 4]
inc r12d
movsxd r12, r12d
lea r10, [r12 + r12*2]
shl r10, 3
add r10, qword [rdx + 0x88]
mov rdi, r11
mov edx, dword [rdx + 0x90]
mov dword [r10 + 8], edx
mov rdx, rdi
movzx r10d, byte [rdi + 0x10]
cmp r10d, 0xbb
je 0x65d056
mov qword [rsp + 0xa0], rdx
mov dword [rsp + 0x34], esi
cmp dword [rdi + 0xc], 0
je 0x65d027
mov r10, qword [rsp + 0x70]
mov r11, r10
mov r10d, dword [r10 + 0x30]
bt r10d, 0xa
jb 0x65cf30
bt r10d, 0x12
setb r10b
jmp 0x65cf33
xor r10d, r10d
mov r12, qword [rsp + 0x78]
mov r13, r12
movzx r10d, r10b
cmp dword [r12], 0
je 0x65cf92
mov dword [rsp + 0x44], r10d
mov edi, dword [rdi]
mov rdx, rbx
mov edx, dword [rdx + 0x90]
lea esi, [r10 + rdx]
lea esi, [rsi + 2]
mov rax, qword [rsp + 0xb8]
mov ecx, 0x19
xor r8d, r8d
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rdx, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x58]
mov esi, dword [rsp + 0x34]
mov r10d, dword [rsp + 0x44]
mov r11, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
test r10d, r10d
je 0x65d027
mov edi, dword [r13 + 8]
mov r8d, dword [rdx + 8]
mov r9d, dword [rdx + 0xc]
mov rdx, rbx
mov esi, dword [rdx + 0x90]
add esi, 2
mov rax, qword [rsp + 0xb8]
mov ecx, 0x1a
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp4Int
mov rbx, qword [rsp + 0x58]
mov rdx, rbx
mov r10, qword [rdx]
cmp byte [r10 + 0x67], 0
je 0x65cfe8
lea r9, [0x00a30f90]
mov r11, qword [rsp + 0xa0]
jmp 0x65d00c
mov r10, qword [rsp + 0xa0]
mov r11, r10
mov r10d, dword [r10 + 4]
inc r10d
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 rdx, r11
mov esi, dword [rsp + 0x34]
mov r11, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
movzx ecx, byte [rdx + 0x10]
mov edi, dword [rdx]
mov esi, dword [rdx + 4]
mov rax, qword [rsp + 0xb8]
xor r8d, r8d
nop dword [rax + rax]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rdx, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x58]
mov esi, dword [rsp + 0x34]
mov r10, rbx
mov r11, qword [r10]
cmp byte [r11 + 0x67], 0
je 0x65d06f
lea r11, [0x00a30f90]
jmp 0x65ce8b
mov r12, rdx
mov edx, dword [rdx + 4]
dec edx
movsxd rdx, edx
lea r11, [rdx + rdx*2]
shl r11, 3
add r11, qword [r10 + 0x88]
mov rdx, r12
jmp 0x65ce8b
mov rax, qword [rsp + 0xb8]
mov r9, qword [rsp + 0x78]
mov r15, rbx
jmp 0x65c705
mov dword [rsp + 0x48], ecx
mov rbx, r9
mov r9d, dword [r9 + 0x18]
test r9d, r9d
je 0x65d0d7
mov rbx, r15
mov ecx, r9d
nop dword [rax]
call sym.modernc.org_sqlite_lib._sqlite3VdbeResolveLabel
mov rax, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0x78]
mov r15, qword [rsp + 0x58]
movzx ecx, byte [rbx + 0x39]
mov edi, dword [rbx + 0x3c]
mov esi, dword [rbx + 0x40]
movzx r8d, byte [rbx + 0x3a]
mov rbx, r15
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rbx, qword [rsp + 0x58]
mov rdx, rbx
mov r9d, dword [rdx + 0x90]
nop dword [rax]
test r9d, r9d
jle 0x65d12e
mov rsi, qword [rsp + 0x78]
mov rdi, rsi
movzx esi, byte [rsi + 0x3b]
lea r8d, [r9 - 1]
movsxd r8, r8d
lea r8, [r8 + r8*2]
shl r8, 3
add r8, qword [rdx + 0x88]
mov word [r8 + 2], si
jmp 0x65d133
mov rdi, qword [rsp + 0x78]
mov rdx, rdi
cmp dword [rdi + 0x24], 0
je 0x65d17f
mov ecx, dword [rdi + 0x28]
mov rax, qword [rsp + 0xb8]
call sym.modernc.org_sqlite_lib._sqlite3VdbeResolveLabel
mov rdx, qword [rsp + 0x78]
mov edi, dword [rdx + 0x24]
mov edx, dword [rdx + 0x40]
dec edx
mov rax, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0x58]
mov ecx, 0x3d
xor r8d, r8d
mov esi, edx
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rdx, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x58]
mov esi, dword [rsp + 0x48]
test esi, esi
je 0x65d1b9
mov rdi, rbx
mov r8, qword [rdi]
nop
cmp byte [r8 + 0x67], 0
je 0x65d19e
lea rsi, [0x00a30f90]
jmp 0x65d1b0
movsxd r8, esi
lea rsi, [r8 + r8*2]
shl rsi, 3
add rsi, qword [rdi + 0x88]
mov edi, dword [rdi + 0x90]
mov dword [rsi + 8], edi
mov rax, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0xc0]
mov edi, dword [rsp + 0x2c]
mov r8, qword [rsp + 0xa0]
mov r9, qword [rsp + 0x78]
mov r11, qword [rsp + 0x68]
mov r13d, dword [rsp + 0x40]
mov r15, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x88]
mov esi, dword [rsp + 0x30]
jmp 0x65c69b
mov dword [rsp + 0x38], ebx
mov edi, dword [r9 + 8]
lea r8d, [rbx + r11]
lea r8d, [r8 + 1]
mov ecx, 0x5e
mov esi, ebx
mov rbx, r15
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov ebx, dword [rsp + 0x38]
inc ebx
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x88]
mov esi, dword [rsp + 0x30]
mov edi, dword [rsp + 0x2c]
mov r8, qword [rsp + 0xa0]
mov r9, qword [rsp + 0x78]
mov r10, qword [rsp + 0xc0]
mov r11d, dword [rsp + 0x54]
mov r12, qword [rsp + 0x70]
mov r13d, dword [rsp + 0x40]
mov r15, qword [rsp + 0x58]
cmp ebx, esi
jl 0x65d1ff
lea r8d, [r11 + 1]
lea rdx, [rcx + 0x38]
mov r10d, dword [rdx]
lea r10d, [rsi + r10]
lea r10d, [r10 + 1]
mov dword [rdx], r10d
movzx r10d, byte [r9 + 0x39]
mov edi, dword [r9 + 8]
cmp r10d, 0x26
mov r10d, 0x18
mov r11d, 0x15
cmove r10d, r11d
mov rbx, r15
mov r9d, esi
xor esi, esi
mov ecx, r10d
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp4Int
mov dword [rsp + 0x48], eax
mov rdx, qword [rsp + 0x78]
mov esi, dword [rdx + 0x40]
mov rbx, qword [rsp + 0x58]
mov ecx, 9
mov edi, 1
xor r8d, r8d
mov rax, qword [rsp + 0xb8]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rax, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x88]
mov esi, dword [rsp + 0x30]
mov edi, dword [rsp + 0x2c]
mov r8, qword [rsp + 0xa0]
mov r9, qword [rsp + 0x78]
mov r10, qword [rsp + 0xc0]
mov r11, qword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
mov r13d, dword [rsp + 0x40]
mov r15, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x48]
jmp 0x65d0a6
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp sym.modernc.org_sqlite_lib._sqlite3WhereEnd