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

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x64e558
push rbp
mov rbp, rsp
sub rsp, 0x98
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xd0], r8
mov rdx, rbx
mov r9, rsi
mov r10, rcx
mov r11, qword [rbx]
mov r12, qword [rbx + 0x10]
mov rsi, qword [rsi + 0x20]
mov qword [rsp + 0x40], rsi
mov r13, qword [rcx + 0x20]
xor ecx, ecx
xor ebx, ebx
jmp 0x64dd46
inc ecx
lea r13, [r8 + 0x38]
mov rsi, qword [rsp + 0x40]
mov r8, qword [rsp + 0xd0]
mov r9, r10
mov r10, r15
mov r15, r10
cmp dword [r10 + 0x14], ecx
jle 0x64de33
lea r10, [r13 + 0x12]
mov qword [rsp + 0x78], r10
movzx r8d, word [r10]
and r8d, 0xffffffbf
mov word [r10], r8w
mov r8, r13
mov r10, r9
mov esi, dword [r9 + 0x44]
cmp dword [r13 + 0x1c], esi
jne 0x64dd2d
mov rdx, qword [r13 + 0x28]
nop dword [rax]
test rdi, rdx
je 0x64dd8f
mov rdx, qword [rsp + 0xb0]
jmp 0x64dd2d
movzx edx, word [r13 + 0x14]
test edx, 0xfffff7ff
jne 0x64dda6
mov rdx, qword [rsp + 0xb0]
jmp 0x64dd2d
movzx edx, word [r13 + 0x12]
bt edx, 7
jae 0x64ddbe
mov rdx, qword [rsp + 0xb0]
jmp 0x64dd2d
movzx edx, byte [r9 + 0x3c]
test edx, 0x58
je 0x64de16
mov r9, qword [r13]
mov r13, r9
mov r9d, dword [r9 + 4]
test r9d, 3
je 0x64de03
add r13, 0x34
cmp dword [r13], esi
jne 0x64de03
test edx, 0x18
je 0x64ddfc
bt r9d, 1
jae 0x64ddfc
xor edx, edx
jmp 0x64de05
mov edx, 1
jmp 0x64de05
xor edx, edx
test edx, edx
jne 0x64de16
mov rdx, qword [rsp + 0xb0]
jmp 0x64dd2d
mov rdx, qword [rsp + 0x78]
movzx esi, word [rdx]
or esi, 0x40
mov word [rdx], si
inc ebx
mov rdx, qword [rsp + 0xb0]
jmp 0x64dd2d
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x90], r15
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x28], ebx
test r12, r12
je 0x64de73
mov qword [rsp + 0x88], r9
mov r10, r12
mov r12d, dword [r12]
mov dword [rsp + 0x30], r12d
xor ecx, ecx
xor edi, edi
jmp 0x64e291
xor ecx, ecx
xor edx, edx
mov dword [rsp + 0x3c], edx
mov dword [rsp + 0x2c], ecx
mov rdi, qword [r11]
movsxd r8, ebx
lea r9, [r8 + r8*4]
movsxd r10, ecx
shl r10, 3
lea r9, [r10 + r9*4]
lea r8, [r9 + r8*8]
lea r8, [r8 + 0x88]
mov rbx, rdi
mov rcx, r8
call sym.modernc.org_sqlite_lib._sqlite3DbMallocZero
test rax, rax
je 0x64df4d
lea rdx, [rax + 0x60]
mov esi, dword [rsp + 0x28]
movsxd rsi, esi
lea r8, [rax + rsi*8]
lea r9, [rax + rsi*8]
lea r9, [r9 + 0x80]
lea rsi, [rsi + rsi*2]
lea r10, [r8 + rsi*4]
mov qword [rsp + 0x88], r10
lea rsi, [r8 + rsi*4]
lea rsi, [rsi + 0x80]
mov r11d, dword [rsp + 0x2c]
movsxd r12, r11d
lea r12, [r10 + r12*8]
lea r12, [r12 + 0x80]
mov r13, rax
mov qword [r13 + 8], r9
mov r9, rax
mov qword [r9 + 0x18], rsi
mov rsi, rax
mov qword [rsi + 0x20], r12
mov rsi, rdx
mov r9, qword [rsp + 0x90]
mov qword [rdx], r9
mov rdx, rsi
mov r12, qword [rsp + 0x48]
mov qword [rsi + 8], r12
mov rsi, rdx
mov r12d, dword [rsp + 0x3c]
mov dword [rdx + 0x10], r12d
mov dword [rsi + 0x14], 0
mov rdx, r9
mov rsi, qword [r9 + 0x20]
xor ecx, ecx
xor ebx, ebx
xor edi, edi
jmp 0x64df85
mov rcx, qword [0x00a30e10]
add rcx, 0x66a
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x48]
xor edi, edi
call sym.modernc.org_sqlite_lib._sqlite3ErrorMsg
xor eax, eax
add rsp, 0x98
pop rbp
ret
lea ecx, [rdx + 1]
lea rsi, [r12 + 0x38]
mov rdx, r9
mov r9, rdx
cmp dword [rdx + 0x14], ecx
jle 0x64e15a
mov rdx, rsi
movzx esi, word [rsi + 0x12]
bt esi, 6
jb 0x64dfa5
mov r12, rdx
mov edx, ecx
jmp 0x64df7a
lea rsi, [rdx + 0x20]
mov esi, dword [rsi]
movsxd r12, ebx
lea r12, [r12 + r12*2]
lea r12, [r8 + r12*4]
lea r12, [r12 + 0x80]
mov r13, r12
mov dword [r12], esi
mov rsi, r13
mov dword [r13 + 8], ecx
mov r12, rdx
movzx r13d, word [rdx + 0x14]
and r13d, 0x3fff
nop dword [rax + rax]
cmp r13d, 1
jne 0x64e028
movzx edx, word [rdx + 0x12]
bt edx, 0xf
jb 0x64e01c
cmp ebx, 0x1f
jg 0x64e00c
test ebx, ebx
jl 0x64e248
mov edx, ecx
mov ecx, ebx
mov r13d, 1
shl r13d, cl
jmp 0x64e013
mov edx, ecx
xor r13d, r13d
mov ecx, ebx
lea r15, [rax + 0x74]
or dword [r15], r13d
jmp 0x64e020
mov edx, ecx
mov ecx, ebx
mov r13d, 2
jmp 0x64e02c
mov edx, ecx
mov ecx, ebx
movzx r15d, r13w
cmp r15d, 0x40
jne 0x64e04b
mov r13, r12
movzx r12d, byte [r12 + 0x17]
mov byte [rsi + 4], r12b
mov r12, r13
jmp 0x64e152
test r15d, 0x180
je 0x64e06f
cmp r15d, 0x100
jne 0x64e066
mov byte [rsi + 4], 0x47
jmp 0x64e152
mov byte [rsi + 4], 0x48
jmp 0x64e152
mov qword [rsp + 0x90], rsi
mov byte [rsi + 4], r13b
nop dword [rax + rax]
test r15d, 0x3c
je 0x64e152
mov rsi, r12
mov r12, qword [r12]
mov r12, qword [r12 + 0x18]
mov r13, r12
movzx r10d, byte [r12]
cmp r10d, 0xb0
jne 0x64e0b0
movzx r10d, byte [r12 + 2]
cmp r10d, 0xb1
jne 0x64e0c5
lea r10, [r13 + 0x20]
mov r10, qword [r10]
mov r10d, dword [r10]
jmp 0x64e0e8
cmp r10d, 0x8a
jne 0x64e0e2
lea r12, [r13 + 0x20]
mov r12, qword [r12]
mov r12, qword [r12 + 0x20]
mov r10d, dword [r12]
nop
jmp 0x64e0e8
mov r10d, 1
cmp r10d, 1
setg r10b
movzx r10d, r10b
test r10d, r10d
je 0x64e147
cmp ecx, 0x10
jge 0x64e10e
nop
test ecx, ecx
jl 0x64e243
movzx edi, di
bts edi, ecx
cmp r15d, 0x10
jne 0x64e126
mov r10, qword [rsp + 0x90]
mov r12, r10
mov byte [r10 + 4], 8
jmp 0x64e12e
mov r12, qword [rsp + 0x90]
cmp r15d, 4
jne 0x64e13a
mov byte [r12 + 4], 0x20
mov r10, qword [rsp + 0x88]
mov r12, rsi
jmp 0x64e152
mov r10, qword [rsp + 0x88]
mov r12, rsi
lea ebx, [rcx + 1]
jmp 0x64df7a
mov qword [rsp + 0x58], rax
mov word [rsp + 0x26], di
mov rdx, rax
mov dword [rdx], ebx
xor ecx, ecx
xor edx, edx
jmp 0x64e187
mov ecx, dword [rsp + 0x38]
inc ecx
mov rax, qword [rsp + 0x58]
movzx edi, word [rsp + 0x26]
mov r10, r8
mov r11d, dword [rsp + 0x2c]
cmp ecx, r11d
jge 0x64e229
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x38], ecx
movsxd rdx, ecx
shl rdx, 5
mov rsi, qword [rsp + 0x50]
lea rdx, [rdx + rsi]
lea rdx, [rdx + 8]
mov qword [rsp + 0x90], rdx
mov rdx, qword [rdx]
mov qword [rsp + 0x60], rdx
mov rax, qword [rsp + 0xa8]
xor ebx, ebx
mov edi, 1
mov rcx, rdx
call sym.modernc.org_sqlite_lib._exprIsConst
test eax, eax
je 0x64e1e5
mov r8, qword [rsp + 0x88]
mov edx, dword [rsp + 0x34]
jmp 0x64e16f
mov edx, dword [rsp + 0x34]
movsxd rsi, edx
mov r8, qword [rsp + 0x88]
lea rsi, [r8 + rsi*8]
lea rsi, [rsi + 0x80]
mov r9, rsi
mov r10, qword [rsp + 0x60]
movsx r10, word [r10 + 0x30]
mov dword [rsi], r10d
mov rsi, qword [rsp + 0x90]
movzx esi, byte [rsi + 0x10]
and esi, 1
mov byte [r9 + 4], sil
inc edx
jmp 0x64e16f
mov rcx, rax
mov dword [rcx + 0x10], edx
mov rcx, qword [rsp + 0xd0]
mov word [rcx], di
add rsp, 0x98
pop rbp
ret
call sym.runtime.panicshift
call sym.runtime.panicshift
mov ecx, dword [rsp + 0x38]
inc ecx
mov rax, qword [rsp + 0xa8]
mov ebx, dword [rsp + 0x28]
mov rsi, qword [rsp + 0x40]
mov r8, qword [rsp + 0xd0]
mov r9, r10
mov r10, qword [rsp + 0x50]
mov r11, qword [rsp + 0x48]
mov r12d, dword [rsp + 0x30]
mov r15, qword [rsp + 0x90]
mov rdi, rdx
mov rdx, qword [rsp + 0xb0]
cmp ecx, r12d
jge 0x64e488
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x38], ecx
movsxd rdx, ecx
shl rdx, 5
lea rdx, [rdx + r10]
lea rdx, [rdx + 8]
mov qword [rsp + 0x80], rdx
mov rdx, qword [rdx]
mov qword [rsp + 0x68], rdx
xor ebx, ebx
mov edi, 1
mov rcx, rdx
call sym.modernc.org_sqlite_lib._exprIsConst
test eax, eax
je 0x64e2e7
mov r10, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x70]
jmp 0x64e24d
mov rdx, qword [rsp + 0x80]
movzx edx, byte [rdx + 0x10]
bt edx, 1
jb 0x64e445
mov rdx, qword [rsp + 0x68]
mov rsi, rdx
movzx r8d, byte [rdx]
cmp r8d, 0xa7
jne 0x64e334
mov r9d, dword [rdx + 0x2c]
mov r10, qword [rsp + 0x88]
mov r11, r10
cmp dword [r10 + 0x44], r9d
jne 0x64e340
mov r10, r11
mov rdx, qword [rsp + 0x70]
jmp 0x64e24d
mov r11, qword [rsp + 0x88]
nop dword [rax]
cmp r8d, 0x71
jne 0x64e34c
mov rdi, qword [rdx + 0x10]
jmp 0x64e351
mov rdi, qword [rsp + 0x70]
jne 0x64e430
mov r8, rdi
movzx r9d, byte [rdi]
nop
cmp r9d, 0xa7
jne 0x64e41e
mov r9d, dword [rdi + 0x2c]
mov r10, r11
cmp dword [r11 + 0x44], r9d
jne 0x64e40f
movzx r9d, word [rdi + 0x30]
mov word [rdx + 0x30], r9w
mov rdx, r8
movzx r8d, word [r8 + 0x30]
movsx r9, r8w
test r9d, r9d
jl 0x64e24d
mov rdi, qword [rsp + 0x40]
mov r9, rdi
movsx r8, r8w
shl r8, 4
add r8, qword [rdi + 8]
movzx edi, word [r8 + 0xe]
bt edi, 9
jae 0x64e3c5
mov r8, qword [r8]
nop
jmp 0x64e527
xor eax, eax
mov qword [rsp + 0x80], rdx
test rax, rax
jne 0x64e3db
lea rax, str.BINARY
lea rdx, [rsi + 8]
mov rbx, qword [rdx]
mov rcx, rax
mov rax, qword [rsp + 0xa8]
call sym.modernc.org_sqlite_lib.Xsqlite3_stricmp
test eax, eax
jne 0x64e50f
mov r10, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
jmp 0x64e24d
mov edx, dword [rsp + 0x38]
mov esi, dword [rsp + 0x30]
cmp edx, esi
jmp 0x64e4d6
mov edx, dword [rsp + 0x38]
mov esi, dword [rsp + 0x30]
cmp edx, esi
mov r10, r11
jmp 0x64e4d6
mov edx, dword [rsp + 0x38]
mov esi, dword [rsp + 0x30]
cmp edx, esi
mov r10, r11
nop dword [rax]
jmp 0x64e4d6
mov edx, dword [rsp + 0x38]
mov esi, dword [rsp + 0x30]
cmp edx, esi
mov rax, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
mov ebx, dword [rsp + 0x28]
mov r8, qword [rsp + 0xd0]
mov r9, qword [rsp + 0x88]
mov r10, qword [rsp + 0x50]
mov r11, qword [rsp + 0x48]
mov r12d, esi
mov r15, qword [rsp + 0x90]
jne 0x64e4c9
movzx edx, word [rdx + 0x3c]
bt edx, 7
jae 0x64e4bb
lea rsi, [r9 + 0x40]
movzx esi, word [rsi]
and esi, 0x4000
shr si, 0xe
movzx esi, si
test esi, esi
jne 0x64e4bb
bt edx, 9
setb dl
movzx edx, dl
add edx, 2
jmp 0x64e4ce
bt edx, 6
setb sil
movzx edx, sil
jmp 0x64e4ce
xor r12d, r12d
xor edx, edx
mov ecx, r12d
jmp 0x64de77
mov rax, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
mov ebx, dword [rsp + 0x28]
mov r8, qword [rsp + 0xd0]
mov r9, r10
mov r10, qword [rsp + 0x50]
mov r11, qword [rsp + 0x48]
mov r12d, esi
mov r15, qword [rsp + 0x90]
jmp 0x64e488
mov edx, dword [rsp + 0x38]
mov esi, dword [rsp + 0x30]
cmp edx, esi
mov r10, qword [rsp + 0x88]
jmp 0x64e4d6
lea r8, [r11 + 1]
mov r11, r8
cmp byte [r8], 0
jne 0x64e523
bt edi, 2
jae 0x64e53d
mov eax, 1
jmp 0x64e552
lea rax, [r11 + 1]
jmp 0x64e3c7
inc r11
mov rdi, r11
cmp byte [rdi], 0
setne al
test al, al
jne 0x64e546
jmp 0x64e53d
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
jmp sym.modernc.org_sqlite_lib._allocateIndexInfo