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

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x5bcc03
push rbp
mov rbp, rsp
sub rsp, 0xa8
movq qword [rsp + 0xa0], xmm15
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0xc8], rcx
mov dword [rsp + 0xd0], edi
mov dword [rsp + 0xd4], esi
mov byte [rsp + 0x37], 0
mov dword [rsp + 0x38], 0
mov ebx, 0x50
nop dword [rax]
call sym.modernc.org_libc._TLS_.Alloc
lea rcx, [sym.modernc.org_sqlite_lib._exprCodeInlineFunction.deferwrap1]
mov qword [rsp + 0x90], rcx
mov rcx, qword [rsp + 0xb8]
mov qword [rsp + 0x98], rcx
lea rdx, [rsp + 0x90]
mov qword [rsp + 0xa0], rdx
mov byte [rsp + 0x37], 1
movups xmmword [rsp + 0x58], xmm15
movups xmmword [rsp + 0x68], xmm15
movups xmmword [rsp + 0x78], xmm15
mov rbx, qword [rsp + 0xc0]
mov rdx, rbx
mov rdx, qword [rdx + 0x10]
mov qword [rsp + 0x48], rdx
mov esi, dword [rsp + 0xd0]
cmp esi, 2
jg 0x5bc854
test esi, esi
jne 0x5bc760
mov rdx, qword [rsp + 0xc8]
mov rsi, rdx
lea r8, [rsi + 8]
lea r9, [rbx + 0x44]
mov r10, r9
mov edx, dword [rdx]
mov dword [rsp + 0x3c], edx
nop
dec dword [r9]
mov r8, qword [r8]
mov r9d, dword [r10]
mov dword [rsp + 0x44], r9d
mov rax, rcx
mov rcx, r8
mov edi, dword [rsp + 0xd4]
call sym.modernc.org_sqlite_lib._sqlite3ExprCode
mov eax, 1
jmp 0x5bcb6b
cmp esi, 1
jne 0x5bc7f3
mov r9, qword [rsp + 0xc8]
lea r10, [r9 + 0x28]
mov r10, qword [r10]
movzx r11d, byte [r10]
nop dword [rax]
cmp r11d, 0xa7
jne 0x5bc7ca
lea rdx, [r9 + 8]
mov rbx, qword [rdx]
mov edx, dword [r10 + 0x2c]
mov rax, rcx
mov ecx, edx
mov edi, 1
nop
call sym.modernc.org_sqlite_lib._sqlite3ExprImpliesNonNullRow
mov rbx, qword [rsp + 0x48]
mov ecx, 0x47
mov edi, eax
mov esi, dword [rsp + 0xd4]
xor r8d, r8d
mov rax, qword [rsp + 0xb8]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
jmp 0x5bc7e7
nop
mov rax, rcx
mov rbx, rdx
mov ecx, 0x4b
xor edi, edi
mov esi, dword [rsp + 0xd4]
mov r8d, edi
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov eax, dword [rsp + 0xd4]
jmp 0x5bcac8
cmp esi, 2
jne 0x5bca31
mov rdx, qword [rsp + 0xc8]
lea r8, [rdx + 8]
mov r8, qword [r8]
add rdx, 0x28
mov rdi, qword [rdx]
mov rax, rcx
mov rcx, r8
mov esi, 0xffffffff
nop dword [rax]
call sym.modernc.org_sqlite_lib._sqlite3ExprImpliesExpr
mov rbx, qword [rsp + 0x48]
mov ecx, 0x47
mov edi, eax
mov esi, dword [rsp + 0xd4]
xor r8d, r8d
mov rax, qword [rsp + 0xb8]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov eax, dword [rsp + 0xd4]
jmp 0x5bcac8
cmp esi, 4
jg 0x5bc9b1
nop dword [rax]
cmp esi, 3
jne 0x5bc8bc
mov rdx, qword [rsp + 0xc8]
lea r8, [rdx + 8]
mov r8, qword [r8]
add rdx, 0x28
mov rdi, qword [rdx]
mov rax, rcx
xor ebx, ebx
mov rcx, r8
mov esi, 0xffffffff
call sym.modernc.org_sqlite_lib._sqlite3ExprCompare
mov rbx, qword [rsp + 0x48]
mov ecx, 0x47
mov edi, eax
mov esi, dword [rsp + 0xd4]
xor r8d, r8d
mov rax, qword [rsp + 0xb8]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov eax, dword [rsp + 0xd4]
jmp 0x5bcac8
mov rdx, qword [0x00a30e10]
add rdx, 0x259a
mov qword [rsp + 0x58], rdx
mov rdx, qword [0x00a30e10]
add rdx, 0x259f
mov qword [rsp + 0x60], rdx
mov rdx, qword [0x00a30e10]
add rdx, 0x25a4
mov qword [rsp + 0x68], rdx
mov rdx, qword [0x00a30e10]
add rdx, 0x1dff
mov qword [rsp + 0x70], rdx
mov rdx, qword [0x00a30e10]
add rdx, 0x1dfa
mov qword [rsp + 0x78], rdx
mov rdx, qword [0x00a30e10]
add rdx, 0x25ac
mov qword [rsp + 0x80], rdx
mov rdx, qword [rsp + 0xc8]
add rdx, 8
mov rbx, qword [rdx]
mov rax, rcx
call sym.modernc.org_sqlite_lib._sqlite3ExprAffinity
movsx rcx, al
cmp ecx, 0x40
jg 0x5bc962
mov rdx, qword [0x00a30e10]
add rdx, 0x25b4
nop
jmp 0x5bc977
lea edx, [rcx - 0x41]
movsxd rax, edx
cmp rax, 6
jae 0x5bcaeb
mov rdx, qword [rsp + rax*8 + 0x58]
nop
mov rax, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0x48]
mov ecx, 0x75
xor edi, edi
mov esi, dword [rsp + 0xd4]
mov r8d, edi
mov r9, rdx
mov r10d, edi
nop dword [rax]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp4
mov eax, dword [rsp + 0xd4]
jmp 0x5bcac8
cmp esi, 5
je 0x5bca54
cmp esi, 6
jne 0x5bca31
mov r9, qword [rsp + 0xc8]
add r9, 8
mov r9, qword [r9]
movzx r10d, byte [r9]
cmp r10d, 0xa7
jne 0x5bca07
mov edi, dword [r9 + 0x2c]
nop
test edi, edi
jl 0x5bca07
movsx rsi, word [r9 + 0x30]
mov rax, rcx
mov rbx, rdx
mov ecx, 0x5d
mov r8d, dword [rsp + 0xd4]
nop dword [rax]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
jmp 0x5bca25
nop
mov rax, rcx
mov rbx, rdx
mov ecx, 0x4b
xor edi, edi
mov esi, dword [rsp + 0xd4]
mov r8d, edi
nop
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov eax, dword [rsp + 0xd4]
jmp 0x5bcac8
mov rdx, qword [rsp + 0xc8]
add rdx, 8
mov rdx, qword [rdx]
mov rax, rcx
mov rcx, rdx
mov edi, dword [rsp + 0xd4]
call sym.modernc.org_sqlite_lib._sqlite3ExprCodeTarget
jmp 0x5bcac8
mov qword [rsp + 0x50], rax
mov rbx, rax
mov edi, 0x48
mov rax, rcx
xor ecx, ecx
call sym.modernc.org_libc.Xmemset
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov byte [rdx], 0x9d
lea rdx, [rcx + 0x20]
mov rsi, qword [rsp + 0xc8]
mov qword [rdx], rsi
mov rax, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0xc0]
mov edi, dword [rsp + 0xd4]
nop dword [rax]
call sym.modernc.org_sqlite_lib._sqlite3ExprCodeTarget
mov dword [rsp + 0x38], eax
mov byte [rsp + 0x37], 0
mov rdx, qword [rsp + 0xa0]
mov rsi, qword [rdx]
call rsi
mov eax, dword [rsp + 0x38]
add rsp, 0xa8
pop rbp
ret
mov dword [rsp + 0x38], eax
mov byte [rsp + 0x37], 0
mov rdx, qword [rsp + 0xa0]
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 0x38]
add rsp, 0xa8
pop rbp
ret
mov ecx, 6
call sym.runtime.panicIndex
mov dword [rsp + 0x40], eax
movsxd rdx, eax
shl rdx, 5
mov r9, qword [rsp + 0xc8]
lea rdx, [rdx + r9]
lea rdx, [rdx + 8]
mov qword [rsp + 0x88], rdx
nop
mov rbx, qword [rsp + 0x48]
mov ecx, 0x33
mov edi, dword [rsp + 0xd4]
mov esi, dword [rsp + 0x44]
xor r8d, r8d
mov rax, qword [rsp + 0xb8]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rdx]
mov rax, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0xc0]
mov edi, dword [rsp + 0xd4]
call sym.modernc.org_sqlite_lib._sqlite3ExprCode
mov eax, dword [rsp + 0x40]
inc eax
mov edx, dword [rsp + 0x3c]
cmp eax, edx
jl 0x5bcaf5
mov rbx, qword [rsp + 0x48]
mov rdx, rbx
mov esi, dword [rdx + 0x90]
mov rdi, qword [rdx]
nop
lea r8d, [rsi - 1]
cmp byte [rdi + 0x67], 0
je 0x5bcb98
lea rdi, [0x00a30f90]
jmp 0x5bcbaa
movsxd r9, r8d
lea rdi, [r9 + r9*2]
shl rdi, 3
add rdi, qword [rdx + 0x88]
movzx edi, byte [rdi]
cmp edi, 0x50
jne 0x5bcbcf
nop
test esi, esi
jle 0x5bcbcf
movsxd rsi, r8d
lea rsi, [rsi + rsi*2]
shl rsi, 3
add rsi, qword [rdx + 0x88]
mov word [rsi + 2], 1
mov rax, qword [rsp + 0xb8]
mov ecx, dword [rsp + 0x44]
nop dword [rax + rax]
call sym.modernc.org_sqlite_lib._sqlite3VdbeResolveLabel
mov eax, dword [rsp + 0xd4]
jmp 0x5bcac8
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x24], esi
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov edi, dword [rsp + 0x20]
mov esi, dword [rsp + 0x24]
jmp sym.modernc.org_sqlite_lib._exprCodeInlineFunction