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

Disassembly:
lea r12, [rsp - 0x98]
cmp r12, qword [r14 + 0x10]
jbe 0x6a5d12
push rbp
mov rbp, rsp
sub rsp, 0x110
movq qword [rsp + 0x108], xmm15
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x128], rbx
mov byte [rsp + 0x23], 0
mov dword [rsp + 0x28], 0
mov ebx, 0x30
call sym.modernc.org_libc._TLS_.Alloc
mov qword [rsp + 0x68], rax
lea rcx, [sym.modernc.org_sqlite_lib._statNext.deferwrap1]
mov qword [rsp + 0x98], rcx
mov rcx, qword [rsp + 0x120]
mov qword [rsp + 0xa0], rcx
lea rdx, [rsp + 0x98]
mov qword [rsp + 0x108], rdx
mov byte [rsp + 0x23], 1
mov rdx, qword [rsp + 0x128]
mov rdi, qword [rdx]
mov rdi, qword [rdi + 0x18]
movsxd r8, dword [rdx + 0x14]
shl r8, 5
add r8, qword [rdi + 0x20]
mov rdi, qword [r8 + 8]
mov qword [rsp + 0x50], rdi
mov rbx, qword [rdx + 0x828]
mov rdi, qword [rdi + 8]
nop
mov rdi, qword [rdi]
mov qword [rsp + 0x40], rdi
mov rax, rcx
call sym.modernc.org_sqlite_lib.Xsqlite3_free
mov rbx, qword [rsp + 0x128]
mov rcx, rbx
mov qword [rcx + 0x828], 0
mov rcx, qword [rsp + 0x50]
jmp 0x6a52c9
mov rcx, qword [rsp + 0x50]
mov rdx, rbx
mov esi, dword [rdx + 0x818]
test esi, esi
jl 0x6a5351
movsxd rsi, esi
shl rsi, 6
lea r8, [rsi + rbx]
lea r8, [r8 + 0x18]
cmp byte [rdx + 0x11], 0
jne 0x6a533a
nop
mov dword [rdx + 0x83c], 0
mov rdx, rbx
mov dword [rdx + 0x840], 0
mov rdx, rbx
mov qword [rdx + 0x848], 0
mov rdx, rbx
mov qword [rdx + 0x850], 0
mov rdx, rbx
mov qword [rdx + 0x860], 0
mov rdx, rbx
mov dword [rdx + 0x838], 0
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x78], rsi
mov rax, qword [rsp + 0x120]
jmp 0x6a57ac
nop
mov dword [rdx + 0x83c], 0
mov rcx, rbx
mov dword [rbx + 0x840], 0
mov rdx, rcx
mov qword [rcx + 0x848], 0
mov rcx, rdx
mov qword [rdx + 0x850], 0
mov rdx, rcx
mov qword [rcx + 0x860], 0
mov rcx, rdx
mov dword [rdx + 0x838], 0
mov rbx, qword [rcx + 8]
mov rax, qword [rsp + 0x120]
call sym.modernc.org_sqlite_lib.Xsqlite3_step
cmp eax, 0x64
jne 0x6a5717
mov rdx, qword [rsp + 0x128]
mov rbx, qword [rdx + 8]
mov rax, qword [rsp + 0x120]
mov ecx, 1
call sym.modernc.org_sqlite_lib.Xsqlite3_column_int64
mov rdx, qword [rsp + 0x68]
mov rsi, rdx
mov rdi, qword [rsp + 0x40]
mov edi, dword [rdi + 0x20]
nop
mov dword [rdx], edi
cmp dword [rsi], 0
je 0x6a56d4
mov qword [rsp + 0x70], rax
mov rdi, qword [rsp + 0x128]
lea rdx, [rdi + 0x18]
mov qword [rsp + 0x78], rdx
mov rbx, qword [rsp + 0x50]
mov rcx, rax
mov rax, qword [rsp + 0x120]
mov rdi, rdx
nop dword [rax]
call sym.modernc.org_sqlite_lib._statGetPage
mov rdx, qword [rsp + 0x78]
mov rsi, rdx
mov r8, qword [rsp + 0x70]
mov dword [rdx], r8d
mov dword [rsi + 0x10], 0
mov rsi, qword [rsp + 0x128]
mov r8, rsi
cmp byte [rsi + 0x11], 0
jne 0x6a548e
mov dword [rsp + 0x24], eax
mov rbx, qword [0x00a30e10]
add rbx, 0x86e3
mov rax, qword [rsp + 0x120]
xor ecx, ecx
call sym.modernc.org_sqlite_lib.Xsqlite3_mprintf
mov rdx, qword [rsp + 0x78]
mov qword [rdx + 0x18], rax
test rax, rax
mov eax, dword [rsp + 0x24]
mov edx, 7
cmove eax, edx
mov r8, qword [rsp + 0x128]
mov rsi, r8
mov dword [r8 + 0x818], 0
mov rdi, rsi
mov dword [rsi + 0x838], 1
test eax, eax
jne 0x6a575a
mov rdx, rdi
movsxd rsi, dword [rdi + 0x818]
shl rsi, 6
lea rsi, [rsi + rdx]
lea rsi, [rsi + 0x18]
mov qword [rsp + 0x58], rsi
mov rbx, qword [rdi + 8]
mov rax, qword [rsp + 0x120]
xor ecx, ecx
call sym.modernc.org_sqlite_lib.Xsqlite3_column_text
mov rdx, qword [rsp + 0x128]
mov rsi, rdx
mov qword [rdx + 0x820], rax
mov rcx, qword [rsp + 0x58]
mov rdi, rcx
mov edi, dword [rdi]
mov dword [rsi + 0x81c], edi
mov rax, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x50]
call sym.modernc.org_sqlite_lib._statDecodePage
test eax, eax
jne 0x6a575a
mov rax, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x128]
call sym.modernc.org_sqlite_lib._statSizeAndOffset
mov rcx, qword [rsp + 0x58]
mov rdx, rcx
movzx ecx, byte [rcx + 0x20]
nop dword [rax]
cmp ecx, 5
jg 0x6a5571
cmp ecx, 2
je 0x6a554f
cmp ecx, 5
jne 0x6a559d
mov rbx, qword [rsp + 0x128]
mov rsi, rbx
mov r8, qword [0x00a30e10]
add r8, 0x8702
mov qword [rsi + 0x830], r8
jmp 0x6a55bd
cmp ecx, 0xa
je 0x6a557b
cmp ecx, 0xd
jne 0x6a559d
mov rbx, qword [rsp + 0x128]
mov rsi, rbx
mov r8, qword [0x00a30e10]
add r8, 0x870b
mov qword [rsi + 0x830], r8
jmp 0x6a55bd
mov rbx, qword [rsp + 0x128]
mov rsi, rbx
mov r8, qword [0x00a30e10]
add r8, 0x8710
mov qword [rsi + 0x830], r8
lea rsi, [rbx + 0x83c]
mov r8d, dword [rsi]
mov r9, rdx
add r8d, dword [rdx + 0x24]
mov dword [rsi], r8d
lea rsi, [rbx + 0x848]
mov r8, r9
movsxd r9, dword [r9 + 0x28]
add qword [rsi], r9
mov rsi, r8
mov r8d, dword [r8 + 0x3c]
mov r9, rbx
cmp dword [r9 + 0x840], r8d
jge 0x6a55fc
mov dword [r9 + 0x840], r8d
mov r8, rbx
cmp byte [r8 + 0x11], 0
je 0x6a560d
xor edx, edx
jmp 0x6a56ac
movups xmmword [rsp + 0xa8], xmm15
mov rax, qword [rsp + 0x68]
lea rdx, [rax + 0x10]
mov rsi, qword [rsi + 0x18]
mov qword [rsp + 0x80], rsi
lea rsi, [0x00728cc0]
mov qword [rsp + 0xa8], rsi
lea r9, [rsp + 0x80]
mov qword [rsp + 0xb0], r9
lea rbx, [rsp + 0xa8]
mov ecx, 1
mov rdi, rcx
mov rax, rdx
nop dword [rax]
call sym.modernc.org_libc.VaList
mov rbx, qword [0x00a30e10]
add rbx, 0x1265
mov rcx, rax
mov rax, qword [rsp + 0x120]
nop
call sym.modernc.org_sqlite_lib.Xsqlite3_mprintf
mov rbx, qword [rsp + 0x128]
mov rdx, rbx
mov qword [rdx + 0x828], rax
test rax, rax
mov edx, 0
mov esi, 7
cmove edx, esi
mov rsi, qword [rsp + 0x58]
xor eax, eax
xor ecx, ecx
jmp 0x6a5793
lea rsi, [rbx + 0x850]
movsxd r8, ecx
add qword [rsi], r8
mov rsi, rbx
cmp byte [rsi + 0x11], 0
jne 0x6a52c4
jmp 0x6a57a5
mov rcx, qword [rsp + 0x128]
mov rdx, rcx
mov byte [rcx + 0x10], 1
mov rbx, qword [rdx + 8]
mov rax, qword [rsp + 0x120]
call sym.modernc.org_sqlite_lib.Xsqlite3_reset
mov dword [rsp + 0x28], eax
mov byte [rsp + 0x23], 0
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rdx]
call rcx
mov eax, dword [rsp + 0x28]
add rsp, 0x110
pop rbp
ret
mov rcx, qword [rsp + 0x128]
mov rdx, rcx
mov byte [rcx + 0x10], 1
mov rbx, qword [rdx + 8]
mov rax, qword [rsp + 0x120]
call sym.modernc.org_sqlite_lib.Xsqlite3_reset
mov dword [rsp + 0x28], eax
mov byte [rsp + 0x23], 0
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rdx]
call rcx
mov eax, dword [rsp + 0x28]
add rsp, 0x110
pop rbp
ret
mov dword [rsp + 0x28], eax
mov byte [rsp + 0x23], 0
mov rdx, qword [rsp + 0x108]
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 0x28]
add rsp, 0x110
pop rbp
ret
movsxd r9, eax
shl r9, 5
add r9, qword [rsi + 0x30]
mov r9d, dword [r9]
add ecx, r9d
inc eax
mov rsi, r8
mov r8, rsi
cmp dword [rsi + 0x24], eax
jg 0x6a577d
nop dword [rax + rax]
jmp 0x6a56b5
mov eax, edx
jmp 0x6a575a
inc dword [rdx + 0x10]
mov rdx, r8
mov r9d, dword [r8 + 0x10]
cmp dword [r8 + 0x24], r9d
jle 0x6a57dc
movsxd r9, r9d
shl r9, 5
add r9, qword [r8 + 0x30]
mov qword [rsp + 0x48], r9
jmp 0x6a5a35
mov r8, rdx
cmp dword [rdx + 0x38], 0
je 0x6a57a9
jmp 0x6a5cf6
mov r8, rdx
cmp dword [rdx + 0x38], 0
je 0x6a59b9
mov r9d, dword [rdx + 0x10]
cmp dword [rdx + 0x24], r9d
jl 0x6a59b9
mov rdx, rbx
inc dword [rdx + 0x818]
mov rdx, rbx
cmp dword [rdx + 0x818], 0x20
jge 0x6a596c
mov r9d, dword [r8 + 0x10]
cmp dword [r8 + 0x24], r9d
jne 0x6a582b
lea r9, [rsi + rbx]
lea r9, [r9 + 0x58]
mov r8d, dword [r8 + 0x38]
mov dword [r9], r8d
jmp 0x6a5845
lea r10, [rsi + rbx]
lea r10, [r10 + 0x58]
movsxd r9, r9d
shl r9, 5
add r9, qword [r8 + 0x30]
mov r8d, dword [r9 + 4]
mov dword [r10], r8d
lea rdi, [rsi + rbx]
lea rdi, [rdi + 0x58]
mov qword [rsp + 0x78], rdi
mov rdx, rdi
mov edx, dword [rdx]
mov rbx, rcx
mov ecx, edx
nop dword [rax]
call sym.modernc.org_sqlite_lib._statGetPage
mov rdx, qword [rsp + 0x128]
mov rsi, rdx
inc dword [rdx + 0x838]
mov rdx, qword [rsp + 0x78]
mov dword [rdx + 0x10], 0
mov rdx, rsi
cmp byte [rsi + 0x11], 0
jne 0x6a595c
mov dword [rsp + 0x30], eax
movups xmmword [rsp + 0xb8], xmm15
movups xmmword [rsp + 0xc8], xmm15
mov rax, qword [rsp + 0x68]
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x60]
mov r8, rsi
mov rsi, qword [rsi + 0x18]
mov qword [rsp + 0x88], rsi
lea rsi, [0x00728cc0]
mov qword [rsp + 0xb8], rsi
lea r9, [rsp + 0x88]
mov qword [rsp + 0xc0], r9
mov r8d, dword [r8 + 0x10]
mov dword [rsp + 0x34], r8d
lea r8, [0x00728b40]
mov qword [rsp + 0xc8], r8
lea r10, [rsp + 0x34]
mov qword [rsp + 0xd0], r10
lea rbx, [rsp + 0xb8]
mov ecx, 2
mov rdi, rcx
mov rax, rdx
call sym.modernc.org_libc.VaList
mov rbx, qword [0x00a30e10]
add rbx, 0x86fa
mov rcx, rax
mov rax, qword [rsp + 0x120]
call sym.modernc.org_sqlite_lib.Xsqlite3_mprintf
mov rdx, qword [rsp + 0x78]
mov qword [rdx + 0x18], rax
test rax, rax
mov eax, dword [rsp + 0x30]
mov edx, 7
cmove eax, edx
mov rdx, qword [rsp + 0x128]
mov rsi, qword [rsp + 0x60]
inc dword [rsi + 0x10]
mov rdi, rdx
jmp 0x6a54a9
call sym.modernc.org_sqlite_lib._statResetCsr
mov rdi, qword [0x00a30e10]
add rdi, 0x6676
mov rax, qword [rsp + 0x120]
mov ebx, 0xb
mov ecx, 0x36bce
call sym.modernc.org_sqlite_lib._sqlite3ReportError
mov dword [rsp + 0x28], eax
mov byte [rsp + 0x23], 0
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rdx]
call rcx
mov eax, dword [rsp + 0x28]
add rsp, 0x110
pop rbp
ret
mov rbx, r8
nop dword [rax]
call sym.modernc.org_sqlite_lib._statClearPage
mov rbx, qword [rsp + 0x128]
mov rcx, rbx
dec dword [rcx + 0x818]
mov rcx, rbx
cmp byte [rcx + 0x11], 0
je 0x6a5a0f
cmp dword [rcx + 0x818], 0
jge 0x6a5a0f
mov dword [rsp + 0x28], 0
mov byte [rsp + 0x23], 0
mov rdx, qword [rsp + 0x108]
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 0x28]
add rsp, 0x110
pop rbp
ret
mov rcx, qword [rsp + 0x50]
jmp 0x6a52c9
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
mov r9, qword [rsp + 0x48]
mov r8, r9
mov r10d, dword [r9 + 0x1c]
nop dword [rax]
cmp dword [r9 + 8], r10d
jle 0x6a57ce
mov rdi, rcx
cmp byte [rcx + 0x11], 0
je 0x6a5a8d
inc dword [rcx + 0x14]
mov rcx, rdi
cmp byte [rdi + 0x12], 0
jne 0x6a5a90
mov rbx, rcx
call sym.modernc.org_sqlite_lib._btreeLockCarefully
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x128]
mov rsi, qword [rsp + 0x78]
mov r8, qword [rsp + 0x48]
jmp 0x6a5a90
mov rcx, rdi
mov rdi, rcx
mov r9, qword [rcx + 8]
mov r10d, dword [r9 + 0x34]
mov r9d, dword [r9 + 0x38]
mov r11d, r10d
sub r10d, r9d
sub r11d, r10d
mov dword [rsp + 0x2c], r11d
nop
cmp byte [rcx + 0x11], 0
je 0x6a5af3
dec dword [rcx + 0x14]
mov rcx, rdi
cmp dword [rdi + 0x14], 0
nop
jne 0x6a5af3
mov rbx, rcx
call sym.modernc.org_sqlite_lib._unlockBtreeMutex
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x128]
mov rsi, qword [rsp + 0x78]
mov r8, qword [rsp + 0x48]
mov r11d, dword [rsp + 0x2c]
mov rcx, rbx
inc dword [rcx + 0x838]
nop dword [rax]
call sym.modernc.org_sqlite_lib._statSizeAndOffset
mov rcx, qword [rsp + 0x48]
mov rdx, rcx
mov esi, dword [rcx + 8]
dec esi
cmp dword [rcx + 0x1c], esi
jge 0x6a5b37
mov rbx, qword [rsp + 0x128]
lea rsi, [rbx + 0x850]
mov r8d, dword [rsp + 0x2c]
add r8d, 0xfffffffc
movsxd r8, r8d
add qword [rsi], r8
jmp 0x6a5b6f
mov rbx, qword [rsp + 0x128]
lea rsi, [rbx + 0x850]
movsxd r8, dword [rcx + 0x18]
add qword [rsi], r8
lea rsi, [rbx + 0x848]
mov r8, rdx
mov edx, dword [rdx + 0x18]
mov r9d, dword [rsp + 0x2c]
sub r9d, edx
lea edx, [r9 - 4]
movsxd rdx, edx
add qword [rsi], rdx
mov rdx, r8
mov r8d, dword [rdx + 0x1c]
lea r9d, [r8 + 1]
mov dword [rdx + 0x1c], r9d
mov rdx, rbx
cmp byte [rdx + 0x11], 0
jne 0x6a5a19
mov dword [rsp + 0x30], r8d
mov rbx, qword [rdx + 8]
mov rax, qword [rsp + 0x120]
xor ecx, ecx
nop dword [rax + rax]
call sym.modernc.org_sqlite_lib.Xsqlite3_column_text
mov rdx, qword [rsp + 0x128]
mov rsi, rdx
mov qword [rdx + 0x820], rax
mov rdx, rsi
mov rdi, qword [rsp + 0x48]
mov r8d, dword [rsp + 0x30]
movsxd r9, r8d
shl r9, 2
add r9, qword [rdi + 0x10]
mov edi, dword [r9]
mov dword [rsi + 0x81c], edi
mov rdi, qword [0x00a30e10]
add rdi, 0x86e5
mov qword [rdx + 0x830], rdi
movups xmmword [rsp + 0xd8], xmm15
movups xmmword [rsp + 0xe8], xmm15
movups xmmword [rsp + 0xf8], xmm15
mov rax, qword [rsp + 0x68]
add rax, 0x10
mov rdx, qword [rsp + 0x60]
mov rdi, rdx
mov rdx, qword [rdx + 0x18]
mov qword [rsp + 0x90], rdx
lea rdx, [0x00728cc0]
mov qword [rsp + 0xd8], rdx
lea rdx, [rsp + 0x90]
mov qword [rsp + 0xe0], rdx
mov edx, dword [rdi + 0x10]
mov dword [rsp + 0x3c], edx
lea rdx, [0x00728b40]
mov qword [rsp + 0xe8], rdx
lea rdi, [rsp + 0x3c]
mov qword [rsp + 0xf0], rdi
mov dword [rsp + 0x38], r8d
mov qword [rsp + 0xf8], rdx
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x100], rdx
lea rbx, [rsp + 0xd8]
mov ecx, 3
mov rdi, rcx
call sym.modernc.org_libc.VaList
mov rbx, qword [0x00a30e10]
add rbx, 0x86ee
mov rcx, rax
mov rax, qword [rsp + 0x120]
call sym.modernc.org_sqlite_lib.Xsqlite3_mprintf
mov rdx, qword [rsp + 0x128]
mov qword [rdx + 0x828], rax
test rax, rax
mov edx, 0
mov esi, 7
cmove edx, esi
mov dword [rsp + 0x28], edx
mov byte [rsp + 0x23], 0
mov rdx, qword [rsp + 0x108]
mov rsi, qword [rdx]
call rsi
mov eax, dword [rsp + 0x28]
add rsp, 0x110
pop rbp
ret
mov rdx, r8
jmp 0x6a57dc
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
nop dword [rax]
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.modernc.org_sqlite_lib._statNext