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

Disassembly:
lea r12, [rsp - 0x50]
cmp r12, qword [r14 + 0x10]
jbe 0x575538
push rbp
mov rbp, rsp
sub rsp, 0xc8
movq qword [rsp + 0xc0], xmm15
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0xe8], rcx
mov qword [rsp + 0xf0], rdi
mov qword [rsp + 0xf8], rsi
mov dword [rsp + 0x100], r8d
mov dword [rsp + 0x104], r9d
mov qword [rsp + 0x108], r10
mov qword [rsp + 0x110], r11
mov byte [rsp + 0x2b], 0
mov dword [rsp + 0x2c], 0
mov ebx, 0x110
nop
call sym.modernc.org_libc._TLS_.Alloc
lea rcx, [sym.modernc.org_sqlite_lib._sqlite3BtreeIntegrityCheck.deferwrap1]
mov qword [rsp + 0x80], rcx
mov rcx, qword [rsp + 0xd8]
mov qword [rsp + 0x88], rcx
lea rdx, [rsp + 0x80]
mov qword [rsp + 0xc0], rdx
mov byte [rsp + 0x2b], 1
mov rbx, qword [rsp + 0xe8]
mov rdx, rbx
mov rsi, qword [rdx + 8]
mov rdi, rsi
mov rsi, qword [rsi + 8]
mov r8, qword [rsp + 0xf0]
mov r9, r8
mov rsi, qword [rsi + 0x30]
cmp dword [r8], 0
jne 0x574bfc
lea r8, [r9 + 4]
cmp dword [r8], 1
sete r8b
movzx r8d, r8b
mov r10d, 1
jmp 0x574c05
mov r8d, 1
xor r10d, r10d
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x3c], r8d
nop
cmp byte [rdx + 0x11], 0
je 0x574c46
inc dword [rdx + 0x14]
mov rdx, rbx
cmp byte [rdx + 0x12], 0
jne 0x574c46
mov rax, rcx
call sym.modernc.org_sqlite_lib._btreeLockCarefully
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0xd8]
mov rbx, rax
mov edi, pe_nt_image_headers64
mov rax, rcx
xor ecx, ecx
call sym.modernc.org_libc.Xmemset
mov rdx, qword [rsp + 0x68]
mov rsi, rdx
mov r8, qword [rsp + 0xe0]
mov qword [rdx + 0x70], r8
mov rdx, rsi
mov r8, qword [rsp + 0x78]
mov qword [rsi], r8
mov rsi, rdx
mov r8, qword [r8]
mov qword [rdx + 8], r8
mov rdx, rsi
mov r8, qword [rsi]
lea r10, [rdx + 0x48]
mov qword [rsp + 0x60], r10
lea r11, [rdx + 0x80]
mov r8d, dword [r8 + 0x40]
mov dword [rsi + 0x18], r8d
mov rsi, rdx
mov r8d, dword [rsp + 0x104]
mov dword [rdx + 0x1c], r8d
mov rdx, r10
mov qword [r10 + 8], r11
mov r8, rdx
mov qword [rdx], 0
mov rdx, r8
mov dword [r8 + 0x10], 0x64
mov r8, rdx
mov dword [rdx + 0x14], 0x3b9aca00
mov rdx, r8
mov dword [r8 + 0x18], 0
mov r8, rdx
mov byte [rdx + 0x1c], 0
mov byte [r8 + 0x1d], 0
mov r8, rsi
mov byte [rsi + 0x65], 1
mov rsi, r8
mov ebx, dword [r8 + 0x18]
nop dword [rax]
test ebx, ebx
je 0x574ef9
shr ebx, 3
inc ebx
mov rax, qword [rsp + 0xd8]
call sym.modernc.org_sqlite_lib._sqlite3MallocZero
mov rcx, qword [rsp + 0x68]
mov rdx, rcx
mov qword [rcx + 0x10], rax
mov rcx, rdx
cmp qword [rdx + 0x10], 0
jne 0x574d5a
nop
mov dword [rdx + 0x24], 7
mov rdx, rcx
mov dword [rcx + 0x1c], 0
mov rcx, rdx
cmp dword [rdx + 0x20], 0
jne 0x574d52
mov dword [rdx + 0x20], 1
mov rsi, rcx
jmp 0x574ef9
mov rcx, qword [rsp + 0x78]
mov ebx, dword [rcx + 0x34]
mov rax, qword [rsp + 0xd8]
call sym.modernc.org_sqlite_lib._pcache1Alloc
mov rdi, qword [rsp + 0x68]
mov rbx, rdi
mov qword [rdi + 0x68], rax
mov rdi, rbx
cmp qword [rbx + 0x68], 0
je 0x574ed4
mov rdx, qword [rsp + 0x78]
mov r8, rdx
mov edx, dword [rdx + 0x34]
test edx, edx
je 0x57551f
mov eax, dword [0x009b86f4]
mov r9d, edx
xor edx, edx
div r9d
lea edx, [rax + 1]
cmp dword [rbx + 0x18], edx
jb 0x574dcc
mov r9d, edx
shr edx, 3
add rdx, qword [rbx + 0x10]
movzx r10d, byte [rdx]
and r9d, 7
bts r10d, r9d
nop
mov byte [rdx], r10b
mov edx, dword [rsp + 0x3c]
test edx, edx
je 0x574e5a
mov rdx, qword [0x00a30e10]
add rdx, 0x182a
mov qword [rdi + 0x30], rdx
mov rsi, qword [r8 + 0x18]
mov rbx, qword [rsi + 0x50]
add rbx, 0x20
mov rax, qword [rsp + 0xd8]
nop
call sym.modernc.org_sqlite_lib._sqlite3Get4byte
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 0x18]
mov rbx, qword [rcx + 0x50]
add rbx, 0x24
mov rax, qword [rsp + 0xd8]
call sym.modernc.org_sqlite_lib._sqlite3Get4byte
mov rbx, qword [rsp + 0x68]
mov ecx, 1
mov edi, dword [rsp + 0x44]
mov esi, eax
mov rax, qword [rsp + 0xd8]
nop
call sym.modernc.org_sqlite_lib._checkList
mov rax, qword [rsp + 0x68]
mov rdi, rax
mov qword [rax + 0x30], 0
mov r8, qword [rsp + 0x78]
mov edx, dword [rsp + 0x38]
nop
test edx, edx
jne 0x574fe8
mov rcx, r8
cmp byte [r8 + 0x21], 0
je 0x574e8b
mov rsi, qword [rsp + 0xf0]
mov r9d, dword [rsp + 0x100]
xor eax, eax
xor ebx, ebx
jmp 0x575455
mov rcx, qword [r8 + 0x18]
mov rbx, qword [rcx + 0x50]
add rbx, 0x40
mov rax, qword [rsp + 0xd8]
nop
call sym.modernc.org_sqlite_lib._sqlite3Get4byte
test eax, eax
je 0x574fda
mov rcx, qword [0x00a30e10]
add rcx, 0x1862
mov rax, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0x68]
xor edi, edi
call sym.modernc.org_sqlite_lib._checkAppendMsg
jmp 0x574fda
nop
mov dword [rbx + 0x24], 7
mov rcx, rdi
mov dword [rdi + 0x1c], 0
mov rdx, rcx
cmp dword [rcx + 0x20], 0
jne 0x574ef6
mov dword [rcx + 0x20], 1
mov rsi, rdx
mov rbx, qword [rsi + 0x68]
mov rax, qword [rsp + 0xd8]
call sym.modernc.org_sqlite_lib._pcache1Free
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rcx + 0x10]
mov rax, qword [rsp + 0xd8]
nop dword [rax + rax]
call sym.modernc.org_sqlite_lib.Xsqlite3_free
mov rcx, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x68]
mov rsi, rdx
mov edx, dword [rdx + 0x20]
mov dword [rcx], edx
cmp dword [rsi + 0x20], 0
nop
jne 0x574f65
mov rax, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0x60]
call sym.modernc.org_sqlite_lib.Xsqlite3_str_reset
mov rcx, qword [rsp + 0x110]
mov qword [rcx], 0
jmp 0x574f82
mov rax, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0x60]
call sym.modernc.org_sqlite_lib._sqlite3StrAccumFinish
mov rcx, qword [rsp + 0x110]
mov qword [rcx], rax
mov rbx, qword [rsp + 0xe8]
mov rcx, rbx
nop
cmp byte [rcx + 0x11], 0
je 0x574faf
dec dword [rcx + 0x14]
mov rcx, rbx
cmp dword [rcx + 0x14], 0
nop
jne 0x574faf
mov rax, qword [rsp + 0xd8]
call sym.modernc.org_sqlite_lib._unlockBtreeMutex
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x24]
mov dword [rsp + 0x2c], eax
mov byte [rsp + 0x2b], 0
mov rdx, qword [rsp + 0xc0]
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 0x2c]
add rsp, 0xc8
pop rbp
ret
mov edx, dword [rsp + 0x38]
mov rdi, qword [rsp + 0x68]
mov r8, qword [rsp + 0x78]
mov r9, r8
mov r8, qword [r8 + 8]
add r8, 0x30
and qword [r8], 0xffffffffffdfffff
mov r8d, dword [rsp + 0x100]
mov rax, qword [rsp + 0xd8]
mov r10, qword [rsp + 0xf8]
mov r11, qword [rsp + 0xf0]
xor ecx, ecx
jmp 0x575080
mov rsi, qword [rbx + 0x78]
movsxd rdi, ecx
imul rdi, rdi, 0x38
lea rbx, [rdi + r10]
mov rcx, rsi
call sym.modernc.org_sqlite_lib._sqlite3VdbeMemSetInt64
mov ecx, dword [rsp + 0x34]
inc ecx
mov edx, dword [rsp + 0x100]
mov rax, qword [rsp + 0xd8]
mov rsi, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0x68]
mov r8d, dword [rsp + 0x38]
mov r9, qword [rsp + 0x78]
mov r10, qword [rsp + 0xf0]
mov edx, r8d
mov r8d, dword [rsp + 0x100]
mov r10, rsi
mov r11, qword [rsp + 0xf0]
nop
cmp r8d, ecx
jle 0x575149
mov rbx, rdi
cmp dword [rdi + 0x1c], 0
je 0x575145
mov dword [rsp + 0x34], ecx
mov qword [rdi + 0x78], 0
lea r12, [r11 + rcx*4]
mov r13, r12
mov r12d, dword [r12]
test r12d, r12d
je 0x57501e
mov r15, r9
cmp byte [r9 + 0x21], 0
nop
je 0x5750f7
cmp r12d, 1
jbe 0x5750f7
test edx, edx
jne 0x5750f7
mov qword [rsp + 0x70], r13
mov ecx, r12d
mov edi, 1
xor esi, esi
nop dword [rax + rax]
call sym.modernc.org_sqlite_lib._checkPtrmap
mov rax, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0x68]
mov r13, qword [rsp + 0x70]
mov rdi, rbx
mov rdx, r13
mov r8d, dword [r13]
mov dword [rbx + 0x38], r8d
mov ecx, dword [rdx]
lea rdx, [rdi + 0xe8]
mov rbx, rdi
mov rdi, rdx
movabs rsi, 0x7fffffffffffffff
nop
call sym.modernc.org_sqlite_lib._checkTreePage
mov rax, qword [rsp + 0xd8]
mov ecx, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x68]
mov r10, qword [rsp + 0xf8]
nop
jmp 0x57501e
test edx, edx
jmp 0x57514e
test edx, edx
mov rbx, rdi
mov rdx, r9
mov rsi, qword [r9 + 8]
mov r8, qword [rsp + 0x58]
mov qword [rsi + 0x30], r8
nop
jne 0x575169
mov ecx, 1
jmp 0x57517d
mov rsi, rbx
jmp 0x574ef9
lea esi, [r10 + 1]
mov rax, rbx
mov rbx, rcx
mov ecx, esi
mov rsi, rbx
cmp dword [rbx + 0x18], ecx
jb 0x575425
cmp dword [rbx + 0x1c], 0
je 0x575425
mov dword [rsp + 0x34], ecx
mov r8, qword [rbx + 0x10]
mov r9d, ecx
shr ecx, 3
add r8, rcx
movzx r8d, byte [r8]
mov r10d, r9d
and r9d, 7
bt r8d, r9d
jb 0x5752e4
cmp r10d, 2
jae 0x5751d0
mov rbx, rax
mov r8, rdx
mov r12d, 0xcccccccd
xor r13d, r13d
jmp 0x575233
mov r8, rdx
mov r11d, dword [rdx + 0x38]
mov r12d, 0xcccccccd
imul r11, r12
shr r11, 0x22
cmp r11d, 0xffffffff
je 0x575440
inc r11d
lea r13d, [r10 - 2]
mov rbx, rax
mov eax, r13d
mov rdi, rdx
xor edx, edx
div r11d
mov edx, dword [rdi + 0x34]
imul r11d, eax
test edx, edx
je 0x575437
lea r13d, [r11 + 2]
mov eax, dword [0x009b86f4]
mov r15d, edx
xor edx, edx
div r15d
lea edx, [rax + 1]
add r11d, 3
cmp edx, r13d
cmove r13d, r11d
mov dword [rsp + 0x44], ecx
mov dword [rsp + 0x40], r9d
nop dword [rax]
cmp r13d, r10d
jne 0x575253
mov rdx, r8
cmp byte [r8 + 0x21], 0
jne 0x5752ed
movups xmmword [rsp + 0x90], xmm15
mov dword [rsp + 0x4c], r10d
lea rdx, [0x00728b80]
mov qword [rsp + 0x90], rdx
lea rax, [rsi + 0xf8]
lea r8, [rsp + 0x4c]
mov qword [rsp + 0x98], r8
lea rbx, [rsp + 0x90]
mov ecx, 1
mov rdi, rcx
call sym.modernc.org_libc.VaList
mov rcx, qword [0x00a30e10]
add rcx, 0x1899
mov rbx, qword [rsp + 0x68]
mov rdi, rax
mov rax, qword [rsp + 0xd8]
call sym.modernc.org_sqlite_lib._checkAppendMsg
mov ecx, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x78]
mov rbx, qword [rsp + 0xd8]
mov rsi, qword [rsp + 0x68]
mov r9d, dword [rsp + 0x40]
mov r10d, dword [rsp + 0x34]
mov r12d, 0xcccccccd
jmp 0x5752ed
mov rbx, rax
mov r12d, 0xcccccccd
mov rax, rsi
mov rsi, qword [rsi + 0x10]
add rsi, rcx
movzx esi, byte [rsi]
bt esi, r9d
nop
jae 0x57541d
cmp r10d, 2
jae 0x575317
mov rcx, rax
mov rsi, rdx
xor r9d, r9d
jmp 0x575374
mov rsi, rdx
mov r8d, dword [rdx + 0x38]
imul r8, r12
shr r8, 0x22
cmp r8d, 0xffffffff
je 0x575432
inc r8d
lea r9d, [r10 - 2]
mov rcx, rax
mov eax, r9d
mov rdi, rdx
xor edx, edx
div r8d
mov edx, dword [rdi + 0x34]
imul r8d, eax
test edx, edx
je 0x57542d
lea r9d, [r8 + 2]
mov eax, dword [0x009b86f4]
mov r11d, edx
xor edx, edx
div r11d
lea edx, [rax + 1]
add r8d, 3
cmp edx, r9d
cmove r9d, r8d
cmp r9d, r10d
jne 0x575415
mov rdx, rsi
cmp byte [rsi + 0x21], 0
je 0x575171
movups xmmword [rsp + 0x90], xmm15
mov dword [rsp + 0x48], r10d
lea rdx, [0x00728b80]
mov qword [rsp + 0x90], rdx
lea rax, [rcx + 0xf8]
lea rsi, [rsp + 0x48]
mov qword [rsp + 0x98], rsi
lea rbx, [rsp + 0x90]
mov edi, 1
mov rcx, rdi
call sym.modernc.org_libc.VaList
mov rcx, qword [0x00a30e10]
add rcx, 0x18ad
mov rbx, qword [rsp + 0x68]
mov rdi, rax
mov rax, qword [rsp + 0xd8]
call sym.modernc.org_sqlite_lib._checkAppendMsg
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x78]
mov rbx, qword [rsp + 0xd8]
mov r10d, dword [rsp + 0x34]
mov r12d, 0xcccccccd
jmp 0x575171
mov rdx, rsi
jmp 0x575171
mov rcx, rax
jmp 0x575171
mov rbx, rsi
jmp 0x575169
call sym.runtime.panicdivide
call sym.runtime.panicdivide
call sym.runtime.panicdivide
nop dword [rax]
call sym.runtime.panicdivide
lea r10, [rsi + rax*4]
mov r10d, dword [r10]
inc eax
cmp ebx, r10d
cmovb ebx, r10d
cmp r9d, eax
jg 0x575445
mov dword [rsp + 0x30], ebx
mov rcx, qword [r8 + 0x18]
mov rbx, qword [rcx + 0x50]
add rbx, 0x34
mov rax, qword [rsp + 0xd8]
call sym.modernc.org_sqlite_lib._sqlite3Get4byte
mov ecx, dword [rsp + 0x30]
nop dword [rax + rax]
cmp eax, ecx
je 0x574fda
movups xmmword [rsp + 0xa0], xmm15
movups xmmword [rsp + 0xb0], xmm15
mov dword [rsp + 0x54], ecx
lea rdx, [0x00728b80]
mov qword [rsp + 0xa0], rdx
mov rsi, qword [rsp + 0x68]
lea r8, [rsi + 0xf8]
lea r9, [rsp + 0x54]
mov qword [rsp + 0xa8], r9
mov dword [rsp + 0x50], eax
mov qword [rsp + 0xb0], rdx
lea r9, [rsp + 0x50]
mov qword [rsp + 0xb8], r9
mov rax, r8
lea rbx, [rsp + 0xa0]
mov ecx, 2
mov rdi, rcx
call sym.modernc.org_libc.VaList
mov rcx, qword [0x00a30e10]
add rcx, 0x1835
mov rbx, qword [rsp + 0x68]
mov rdi, rax
mov rax, qword [rsp + 0xd8]
call sym.modernc.org_sqlite_lib._checkAppendMsg
jmp 0x574fda
nop
call sym.runtime.panicdivide
nop
call sym.runtime.deferreturn
mov eax, dword [rsp + 0x2c]
add rsp, 0xc8
pop rbp
ret
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 dword [rsp + 0x30], r8d
mov dword [rsp + 0x34], r9d
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x40], r11
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 r8d, dword [rsp + 0x30]
mov r9d, dword [rsp + 0x34]
mov r10, qword [rsp + 0x38]
mov r11, qword [rsp + 0x40]
jmp sym.modernc.org_sqlite_lib._sqlite3BtreeIntegrityCheck