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

Disassembly:
lea r12, [rsp - 0x88]
cmp r12, qword [r14 + 0x10]
jbe 0x61b117
push rbp
mov rbp, rsp
sub rsp, 0x100
movq qword [rsp + 0xf8], xmm15
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x118], rbx
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x128], rdi
mov qword [rsp + 0x130], rsi
mov byte [rsp + 0x23], 0
mov dword [rsp + 0x24], 0
mov ebx, 0x40
call sym.modernc.org_libc._TLS_.Alloc
mov qword [rsp + 0x78], rax
lea rcx, [sym.modernc.org_sqlite_lib._sqlite3ColumnsFromExprList.deferwrap1]
mov qword [rsp + 0xa8], rcx
mov rcx, qword [rsp + 0x110]
mov qword [rsp + 0xb0], rcx
lea rdx, [rsp + 0xa8]
mov qword [rsp + 0xf8], rdx
mov byte [rsp + 0x23], 1
mov rdx, qword [rsp + 0x118]
mov rsi, rdx
lea rbx, [rax + 8]
mov qword [rsp + 0x50], rbx
mov rdi, rbx
mov rdx, qword [rdx]
mov qword [rsp + 0x70], rdx
mov qword [rdi + 8], 0
mov rdi, rbx
mov dword [rdi + 4], 0
mov rdi, rbx
mov dword [rdi], 0
mov rdi, rbx
mov qword [rdi + 0x10], 0
mov rdi, qword [rsp + 0x120]
test rdi, rdi
jne 0x61a8f9
xor r8d, r8d
xor r9d, r9d
jmp 0x61a953
mov edi, dword [rdi]
mov dword [rsp + 0x28], edi
movsxd r8, edi
shl r8, 4
mov rax, rcx
mov rbx, rdx
mov rcx, r8
call sym.modernc.org_sqlite_lib._sqlite3DbMallocZero
mov edx, dword [rsp + 0x28]
cmp edx, 0x7fff
mov esi, 0x7fff
cmovg edx, esi
mov rcx, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x118]
mov rdi, qword [rsp + 0x120]
mov r8d, edx
mov r9, rax
mov rax, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x80], r9
mov r10, qword [rsp + 0x128]
mov r11, r10
mov word [r10], r8w
mov r10, qword [rsp + 0x130]
mov r12, r10
mov qword [r10], r9
mov r10, r9
xor r13d, r13d
xor r15d, r15d
jmp 0x61a9de
mov r13d, dword [rsp + 0x30]
inc r13d
add r9, 0x10
mov rax, qword [rsp + 0x118]
mov r8d, dword [rsp + 0x28]
mov rax, rsi
mov rcx, qword [rsp + 0x110]
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x118]
mov rdi, qword [rsp + 0x120]
mov r10, qword [rsp + 0x80]
mov r11, qword [rsp + 0x128]
mov r12, qword [rsp + 0x130]
mov dword [rsp + 0x30], r13d
cmp r13d, r8d
jge 0x61ad19
cmp dword [rsi + 0x30], 0
jne 0x61ad19
movsxd rsi, r13d
shl rsi, 5
mov qword [rsp + 0xa0], rsi
lea r11, [rdi + rsi]
lea r11, [r11 + 8]
mov qword [rsp + 0x48], r11
mov r12, qword [r11 + 8]
test r12, r12
je 0x61aa3c
lea r10, [rsi + rdi]
lea r10, [r10 + 0x1c]
movzx r10d, word [r10]
test r10d, 3
je 0x61ab23
mov r10, qword [rsp + 0x80]
mov r11, qword [r11]
nop
jmp 0x61ae2c
mov r10, qword [rsp + 0x80]
mov r11, qword [rsp + 0x60]
jmp 0x61ae89
mov r10, qword [rsp + 0x80]
mov r11, qword [rsp + 0x60]
jmp 0x61ae89
mov r10, qword [rsp + 0x80]
mov r11, qword [rsp + 0x98]
movzx r10d, byte [r11]
nop dword [rax]
cmp r10d, 0xa7
jne 0x61ab0e
mov r8d, dword [r11 + 4]
test r8d, 0x3000000
jne 0x61ab09
mov r8, qword [rsp + 0x98]
lea rsi, [r8 + 0x40]
mov rsi, qword [rsi]
test rsi, rsi
je 0x61aafa
movsx r8, word [r11 + 0x30]
test r8d, r8d
jge 0x61aac2
mov r10, rsi
movsx r8, word [rsi + 0x34]
jmp 0x61aac5
mov r10, rsi
test r8d, r8d
jl 0x61aada
movsxd rsi, r8d
shl rsi, 4
add rsi, qword [r10 + 8]
mov rsi, qword [rsi]
jmp 0x61aae8
mov rsi, qword [0x00a30e10]
add rsi, 0x46b0
mov r8d, dword [rsp + 0x28]
mov r12, rsi
mov rsi, qword [rsp + 0xa0]
jmp 0x61ab23
mov rsi, qword [rsp + 0xa0]
mov r8d, dword [rsp + 0x28]
jmp 0x61ab0e
mov r8d, dword [rsp + 0x28]
cmp r10d, 0x3b
jne 0x61ab23
mov r10, qword [rsp + 0x98]
add r10, 8
mov r12, qword [r10]
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x58], r15
test r12, r12
jne 0x61ab37
xor r10d, r10d
jmp 0x61ab8f
mov qword [rsp + 0x40], r12
mov rax, rcx
mov rbx, r12
call sym.modernc.org_sqlite_lib._sqlite3IsTrueOrFalse
test eax, eax
sete cl
mov rax, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x120]
mov r8d, dword [rsp + 0x28]
mov r9, qword [rsp + 0x68]
mov r12, qword [rsp + 0x40]
mov r13d, dword [rsp + 0x30]
mov r15, qword [rsp + 0x58]
mov r10d, ecx
mov rcx, qword [rsp + 0x110]
test r10b, r10b
je 0x61aba7
mov rax, rcx
mov rbx, rdx
mov rcx, r12
nop dword [rax]
call sym.modernc.org_sqlite_lib._sqlite3DbStrDup
jmp 0x61ac13
movups xmmword [rsp + 0xe8], xmm15
lea rdx, [rax + 0x28]
lea esi, [r13 + 1]
mov dword [rsp + 0x3c], esi
lea rsi, [0x00728b40]
mov qword [rsp + 0xe8], rsi
lea r8, [rsp + 0x3c]
mov qword [rsp + 0xf0], r8
lea rbx, [rsp + 0xe8]
mov ecx, 1
mov rdi, rcx
mov rax, rdx
call sym.modernc.org_libc.VaList
mov rcx, qword [0x00a30e10]
add rcx, 0x50c2
mov rbx, qword [rsp + 0x70]
mov rdi, rax
mov rax, qword [rsp + 0x110]
call sym.modernc.org_sqlite_lib._sqlite3MPrintf
mov rdx, qword [rsp + 0x78]
mov rsi, rdx
mov dword [rdx], 0
mov rdx, qword [rsp + 0x68]
mov r15, qword [rsp + 0x58]
jmp 0x61aec0
test rax, rax
mov r8, rdx
mov qword [rdx], rax
jne 0x61ac3f
xor edx, edx
jmp 0x61ac4c
mov rcx, rax
xor edx, edx
jmp 0x61b093
mov rax, rcx
mov r9, r8
mov byte [r8 + 0xb], dl
mov rdx, qword [rsp + 0x120]
mov r8, qword [rsp + 0xa0]
lea r8, [r8 + rdx]
lea r8, [r8 + 0x1c]
movzx r8d, word [r8]
and r8d, 0x100
shr r8w, 8
movzx r8d, r8w
nop
test r8d, r8d
je 0x61aca0
lea r8, [r9 + 0xe]
movzx r10d, word [r8]
or r10d, 0x400
mov word [r8], r10w
test rax, rax
jmp 0x61aca3
test rax, rax
je 0x61a988
mov rbx, qword [rsp + 0x50]
mov rcx, rax
mov rdi, qword [rsp + 0x48]
mov rax, qword [rsp + 0x110]
nop
call sym.modernc.org_sqlite_lib._sqlite3HashInsert
mov rdx, qword [rsp + 0x48]
cmp rax, rdx
je 0x61aceb
mov rdx, qword [rsp + 0x120]
mov rsi, qword [rsp + 0x78]
mov r9, qword [rsp + 0x68]
mov r15, qword [rsp + 0x58]
jmp 0x61a988
mov rax, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x70]
call sym.modernc.org_sqlite_lib._sqlite3OomFault
mov rdx, qword [rsp + 0x120]
mov rsi, qword [rsp + 0x78]
mov r9, qword [rsp + 0x68]
mov r15, qword [rsp + 0x58]
jmp 0x61a988
mov rax, rcx
nop dword [rax]
call sym.modernc.org_sqlite_lib._sqlite3HashClear
mov rcx, qword [rsp + 0x118]
mov rdx, rcx
cmp dword [rcx + 0x30], 0
je 0x61ad46
mov esi, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
xor eax, eax
jmp 0x61ad71
mov dword [rsp + 0x24], 0
mov byte [rsp + 0x23], 0
mov rdx, qword [rsp + 0xf8]
mov rax, qword [rdx]
nop
call rax
mov eax, dword [rsp + 0x24]
add rsp, 0x100
pop rbp
ret
inc eax
cmp eax, esi
jge 0x61adbf
movsxd rdi, eax
shl rdi, 4
add rdi, rcx
mov rdi, qword [rdi]
test rdi, rdi
je 0x61ad6f
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x70]
mov rcx, rdi
nop dword [rax + rax]
call sym.modernc.org_sqlite_lib._sqlite3DbFreeNN
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x118]
mov esi, dword [rsp + 0x30]
jmp 0x61ad6f
nop
test rcx, rcx
je 0x61addf
mov rax, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x70]
call sym.modernc.org_sqlite_lib._sqlite3DbFreeNN
mov rdx, qword [rsp + 0x118]
mov rax, qword [rsp + 0x130]
mov qword [rax], 0
mov rax, qword [rsp + 0x128]
mov word [rax], 0
mov eax, dword [rdx + 0x18]
mov dword [rsp + 0x24], eax
mov byte [rsp + 0x23], 0
mov rdx, qword [rsp + 0xf8]
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 0x24]
add rsp, 0x100
pop rbp
ret
mov r11, r10
mov r10, qword [rsp + 0x80]
test r11, r11
je 0x61ae89
mov qword [rsp + 0x60], r11
mov r10d, dword [r11 + 4]
nop word [rax + rax]
test r10d, 0x82000
je 0x61aa57
bt r10d, 0x13
jae 0x61ae69
mov r10, qword [rsp + 0x60]
add r10, 0x20
mov r10, qword [r10]
add r10, 8
mov r10, qword [r10]
jmp 0x61ae21
movzx r10d, byte [r11]
cmp r10d, 0x71
jne 0x61aa45
mov r10, qword [r11 + 0x10]
jmp 0x61ae21
mov r11, qword [r11 + 0x18]
mov r10, qword [rsp + 0x80]
mov qword [rsp + 0x98], r11
test r11, r11
je 0x61aa79
movzx r10d, byte [r11]
nop
cmp r10d, 0x8d
je 0x61ae7d
jmp 0x61aa69
mov rdx, qword [rsp + 0x68]
mov r15, qword [rsp + 0x58]
mov rax, qword [rsp + 0x40]
mov rsi, rcx
test rax, rax
je 0x61af01
mov qword [rsp + 0x90], rax
nop
mov rbx, qword [rsp + 0x50]
mov rcx, rax
xor edi, edi
mov rax, qword [rsp + 0x110]
call sym.modernc.org_sqlite_lib._findElementWithHash
mov r15, qword [rax + 0x10]
mov rcx, qword [rsp + 0x90]
test rcx, rcx
mov rax, rcx
mov rdx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
mov qword [rsp + 0x58], r15
je 0x61ac33
test r15, r15
je 0x61ac30
lea r8, [r15 + 0x14]
movzx r8d, word [r8]
and r8d, 0x80
shr r8w, 7
movzx r8d, r8w
test r8d, r8d
je 0x61af45
lea r8, [rdx + 0xe]
movzx r9d, word [r8]
or r9d, 0x400
mov word [r8], r9w
nop
mov rcx, rax
xor ebx, ebx
jmp 0x61b0ac
and ebx, 0x3fffffff
test ebx, ebx
jle 0x61af65
lea r8d, [rbx - 1]
nop
jmp 0x61b0c0
mov rax, rsi
inc dword [rsi]
mov rdx, rax
mov edx, dword [rdx]
movups xmmword [rsp + 0xb8], xmm15
movups xmmword [rsp + 0xc8], xmm15
movups xmmword [rsp + 0xd8], xmm15
mov dword [rsp + 0x38], ebx
lea rsi, [0x00728b40]
mov qword [rsp + 0xb8], rsi
lea r8, [rax + 0x28]
lea r9, [rsp + 0x38]
mov qword [rsp + 0xc0], r9
mov qword [rsp + 0x88], rcx
lea r9, [0x00728cc0]
mov qword [rsp + 0xc8], r9
lea r10, [rsp + 0x88]
mov qword [rsp + 0xd0], r10
mov dword [rsp + 0x34], edx
lea rdx, [0x00728b80]
mov qword [rsp + 0xd8], rdx
lea r10, [rsp + 0x34]
mov qword [rsp + 0xe0], r10
lea rbx, [rsp + 0xb8]
mov ecx, 3
mov rdi, rcx
mov rax, r8
call sym.modernc.org_libc.VaList
mov rcx, qword [0x00a30e10]
add rcx, 0x50cb
mov rbx, qword [rsp + 0x70]
mov rdi, rax
mov rax, qword [rsp + 0x110]
call sym.modernc.org_sqlite_lib._sqlite3MPrintf
mov qword [rsp + 0x40], rax
mov rbx, qword [rsp + 0x118]
mov rax, qword [rsp + 0x110]
call sym.modernc.org_sqlite_lib._sqlite3ProgressCheck
mov rax, qword [rsp + 0x78]
mov rcx, rax
cmp dword [rax], 3
jbe 0x61aeae
mov rax, qword [rsp + 0x110]
mov ebx, 4
call sym.modernc.org_sqlite_lib.Xsqlite3_randomness
mov rcx, qword [rsp + 0x78]
jmp 0x61aeae
movzx r11d, dl
movzx r10d, r10b
lea r12, [0x009bf260]
movzx r10d, byte [r10 + r12]
lea edx, [r11 + r10]
lea rax, [r9 + 1]
mov r9, rax
movzx r10d, byte [rax]
test r10b, r10b
jne 0x61b077
nop
jmp 0x61ac49
lea rax, [r8 + 1]
inc rbx
mov r8, rax
cmp byte [rax], 0
jne 0x61b0a5
jmp 0x61af50
dec r8d
nop dword [rax]
test r8d, r8d
jle 0x61b0e4
movsxd r9, r8d
add r9, rcx
movzx r9d, byte [r9]
lea r10, [0x009be7c0]
movzx r9d, byte [r9 + r10]
bt r9d, 2
jb 0x61b0b9
jmp 0x61b0eb
lea r10, [0x009be7c0]
movsxd r9, r8d
add r9, rcx
movsx r9, byte [r9]
cmp r9d, 0x3a
cmove ebx, r8d
nop dword [rax]
jmp 0x61af65
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
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]
jmp sym.modernc.org_sqlite_lib._sqlite3ColumnsFromExprList