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

Disassembly:
lea r12, [rsp - 0x108]
cmp r12, qword [r14 + 0x10]
jbe 0x574a4c
push rbp
mov rbp, rsp
sub rsp, 0x180
movq qword [rsp + 0x178], xmm15
mov qword [rsp + 0x190], rax
mov qword [rsp + 0x198], rbx
mov dword [rsp + 0x1a0], ecx
mov qword [rsp + 0x1a8], rdi
mov qword [rsp + 0x1b0], rsi
mov byte [rsp + 0x2b], 0
mov dword [rsp + 0x38], 0
mov ebx, 0x50
call sym.modernc.org_libc._TLS_.Alloc
mov qword [rsp + 0xd8], rax
lea rcx, [sym.modernc.org_sqlite_lib._checkTreePage.deferwrap1]
mov qword [rsp + 0x108], rcx
mov rcx, qword [rsp + 0x190]
mov qword [rsp + 0x110], rcx
lea rdx, [rsp + 0x108]
mov qword [rsp + 0x178], rdx
mov byte [rsp + 0x2b], 1
mov rdx, rax
mov rsi, qword [rsp + 0x1b0]
mov qword [rax], rsi
lea rsi, [rdx + 8]
mov qword [rsp + 0xf8], rsi
mov qword [rsi], 0
mov rbx, qword [rsp + 0x198]
mov rsi, rbx
mov r8, qword [rsi + 0x30]
mov qword [rsp + 0xb0], r8
mov r9d, dword [rsi + 0x3c]
mov dword [rsp + 0x80], r9d
mov esi, dword [rsi + 0x40]
mov dword [rsp + 0x30], esi
mov rax, rcx
call sym.modernc.org_sqlite_lib._checkProgress
mov rbx, qword [rsp + 0x198]
mov rcx, rbx
cmp dword [rcx + 0x1c], 0
jne 0x573af9
mov rsi, rbx
mov eax, 1
xor ecx, ecx
mov edx, 0xffffffff
jmp 0x574023
mov rsi, qword [rcx]
mov rdi, rsi
mov esi, dword [rsi + 0x38]
mov ecx, dword [rsp + 0x1a0]
test ecx, ecx
je 0x573ffc
mov qword [rsp + 0xf0], rdi
mov dword [rsp + 0x2c], esi
mov rax, qword [rsp + 0x190]
call sym.modernc.org_sqlite_lib._checkRef
test eax, eax
jne 0x573fd5
mov rdx, qword [rsp + 0x198]
mov r8, rdx
mov r9, qword [0x00a30e10]
add r9, 0x16be
mov qword [rdx + 0x30], r9
mov ecx, dword [rsp + 0x1a0]
mov dword [r8 + 0x3c], ecx
mov rax, qword [rsp + 0x190]
mov rbx, qword [rsp + 0xf0]
mov rdi, qword [rsp + 0xf8]
xor esi, esi
call sym.modernc.org_sqlite_lib._btreeGetPage
nop dword [rax]
test eax, eax
je 0x573c3e
mov dword [rsp + 0x34], eax
movups xmmword [rsp + 0x168], xmm15
mov dword [rsp + 0xac], eax
lea rdx, [0x00728b40]
mov qword [rsp + 0x168], rdx
mov rdx, qword [rsp + 0xd8]
add rdx, 0x38
lea rsi, [rsp + 0xac]
mov qword [rsp + 0x170], rsi
lea rbx, [rsp + 0x168]
mov ecx, 1
mov rdi, rcx
mov rax, rdx
call sym.modernc.org_libc.VaList
mov rcx, qword [0x00a30e10]
add rcx, 0x16d0
mov rbx, qword [rsp + 0x198]
mov rdi, rax
mov rax, qword [rsp + 0x190]
call sym.modernc.org_sqlite_lib._checkAppendMsg
mov edx, dword [rsp + 0x34]
cmp edx, 0xc0a
jne 0x573c25
mov rcx, qword [rsp + 0x198]
mov rsi, rcx
mov dword [rcx + 0x24], 7
jmp 0x573c2d
mov rsi, qword [rsp + 0x198]
mov eax, 1
xor ecx, ecx
mov edx, 0xffffffff
jmp 0x574023
mov rcx, qword [rsp + 0xf8]
mov rdx, rcx
mov rcx, qword [rcx]
movzx esi, byte [rcx]
mov byte [rsp + 0x2a], sil
mov byte [rcx], 0
mov rbx, qword [rdx]
mov rax, qword [rsp + 0x190]
call sym.modernc.org_sqlite_lib._btreeInitPage
test eax, eax
je 0x573d05
movups xmmword [rsp + 0x168], xmm15
mov dword [rsp + 0xa8], eax
lea rdx, [0x00728b40]
mov qword [rsp + 0x168], rdx
mov rax, qword [rsp + 0xd8]
add rax, 0x38
lea rdx, [rsp + 0xa8]
mov qword [rsp + 0x170], rdx
lea rbx, [rsp + 0x168]
mov ecx, 1
mov rdi, rcx
call sym.modernc.org_libc.VaList
mov rcx, qword [0x00a30e10]
add rcx, 0x16f6
mov rbx, qword [rsp + 0x198]
mov rdi, rax
mov rax, qword [rsp + 0x190]
call sym.modernc.org_sqlite_lib._checkAppendMsg
mov rsi, qword [rsp + 0x198]
mov eax, 1
movzx ecx, byte [rsp + 0x2a]
mov edx, 0xffffffff
nop dword [rax]
jmp 0x574023
mov rcx, qword [rsp + 0xf8]
mov rbx, qword [rcx]
mov rax, qword [rsp + 0x190]
call sym.modernc.org_sqlite_lib._btreeComputeFreeSpace
nop dword [rax]
test eax, eax
jne 0x573f46
mov rsi, qword [rsp + 0xf8]
mov r8, rsi
mov rsi, qword [rsi]
mov r9, qword [rsi + 0x50]
movzx esi, byte [rsi + 9]
mov r10, qword [rsp + 0x198]
mov r11, r10
mov r12, qword [0x00a30e10]
add r12, 0x1732
mov qword [r10 + 0x30], r12
lea r10d, [rsi + 5]
movsxd r10, r10d
lea r12, [r10 + r9]
movzx r12d, byte [r12]
shl r12d, 8
lea r10, [r10 + r9]
lea r10, [r10 + 1]
movzx r10d, byte [r10]
lea r13d, [rsi + 3]
movsxd r13, r13d
lea r15, [r13 + r9]
movzx r15d, byte [r15]
shl r15d, 8
lea r13, [r13 + r9]
lea r13, [r13 + 1]
movzx r13d, byte [r13]
mov rax, r8
mov r8, qword [r8]
or r10d, r12d
or r13d, r15d
cmp byte [r8 + 8], 0
jne 0x573dba
movzx r8d, byte [r8 + 1]
test r8d, r8d
jne 0x573dc4
lea r8, [r11 + 0x78]
movsxd r12, r13d
add qword [r8], r12
mov qword [rsp + 0xd0], r9
mov dword [rsp + 0x7c], esi
mov r8, rax
mov r12, qword [rax]
movzx r12d, byte [r12 + 8]
mov r15d, r12d
shl r12d, 2
mov eax, esi
sub esi, r12d
mov dword [rsp + 0x78], esi
lea r12d, [rsi + r13*2]
lea r12d, [r12 + 0xa]
movsxd r12, r12d
add r12, r9
nop dword [rax + rax]
test r15b, r15b
je 0x573e25
mov r15, r11
mov r11, qword [r11 + 0x68]
mov rcx, r11
mov dword [r11], 0
mov edx, 1
mov ebx, 0xffffffff
jmp 0x573efd
mov dword [rsp + 0x74], r10d
mov dword [rsp + 0x50], r13d
mov qword [rsp + 0xb8], r12
lea ecx, [rax + 8]
movsxd rcx, ecx
lea rbx, [rcx + r9]
mov rax, qword [rsp + 0x190]
call sym.modernc.org_sqlite_lib._sqlite3Get4byte
mov rcx, qword [rsp + 0xf0]
cmp byte [rcx + 0x21], 0
je 0x573e9c
mov dword [rsp + 0x70], eax
mov rbx, qword [rsp + 0x198]
mov rdx, rbx
mov r8, qword [0x00a30e10]
add r8, 0x174c
mov qword [rdx + 0x30], r8
mov ecx, eax
mov edi, 5
mov esi, dword [rsp + 0x1a0]
mov rax, qword [rsp + 0x190]
call sym.modernc.org_sqlite_lib._checkPtrmap
mov eax, dword [rsp + 0x70]
mov rdi, qword [rsp + 0xd8]
mov rdx, rdi
mov rsi, qword [rdx]
mov rbx, qword [rsp + 0x198]
mov ecx, eax
mov rax, qword [rsp + 0x190]
nop dword [rax]
call sym.modernc.org_sqlite_lib._checkTreePage
mov esi, dword [rsp + 0x78]
mov r8, qword [rsp + 0xf8]
mov r9, qword [rsp + 0xd0]
mov r10d, dword [rsp + 0x74]
mov r12, qword [rsp + 0xb8]
mov r13d, dword [rsp + 0x50]
mov r15, qword [rsp + 0x198]
xor edx, edx
xor ecx, ecx
mov ebx, eax
mov eax, dword [rsp + 0x7c]
mov qword [rsp + 0xc8], rcx
dec r10d
movzx r10d, r10w
mov dword [rsp + 0x74], r10d
lea r11d, [r10 + 1]
mov dword [rsp + 0x6c], r11d
dec r13d
mov dword [rsp + 0x68], r13d
mov rdi, qword [rsp + 0xd8]
mov dword [rsp + 0xe0], eax
mov eax, 1
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0xe0]
jmp 0x57410e
movups xmmword [rsp + 0x168], xmm15
mov dword [rsp + 0xa4], eax
lea rdx, [0x00728b40]
mov qword [rsp + 0x168], rdx
mov rax, qword [rsp + 0xd8]
add rax, 0x38
lea rdx, [rsp + 0xa4]
mov qword [rsp + 0x170], rdx
lea rbx, [rsp + 0x168]
mov ecx, 1
mov rdi, rcx
call sym.modernc.org_libc.VaList
mov rcx, qword [0x00a30e10]
add rcx, 0x171c
mov rbx, qword [rsp + 0x198]
mov rdi, rax
mov rax, qword [rsp + 0x190]
call sym.modernc.org_sqlite_lib._checkAppendMsg
mov rsi, qword [rsp + 0x198]
mov eax, 1
movzx ecx, byte [rsp + 0x2a]
mov edx, 0xffffffff
jmp 0x574023
mov dword [rsp + 0x38], 0
mov byte [rsp + 0x2b], 0
mov rdx, qword [rsp + 0x178]
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 0x38]
add rsp, 0x180
pop rbp
ret
mov dword [rsp + 0x38], 0
mov byte [rsp + 0x2b], 0
mov rdx, qword [rsp + 0x178]
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 0x38]
add rsp, 0x180
pop rbp
ret
test eax, eax
je 0x574031
mov r8, qword [rsp + 0xf8]
jmp 0x574041
mov rdi, qword [rsp + 0xf8]
mov r8, rdi
mov rdi, qword [rdi]
mov byte [rdi], cl
mov rcx, qword [r8]
test rcx, rcx
je 0x57406b
mov dword [rsp + 0x60], edx
mov rbx, qword [rcx + 0x70]
nop
mov rax, qword [rsp + 0x190]
call sym.modernc.org_sqlite_lib._sqlite3PagerUnrefNotNull
mov edx, dword [rsp + 0x60]
mov rsi, qword [rsp + 0x198]
mov rax, rsi
mov rcx, qword [rsp + 0xb0]
mov qword [rsi + 0x30], rcx
mov rcx, rax
mov ebx, dword [rsp + 0x80]
mov dword [rax + 0x3c], ebx
mov eax, dword [rsp + 0x30]
mov dword [rcx + 0x40], eax
lea eax, [rdx + 1]
mov dword [rsp + 0x38], eax
mov byte [rsp + 0x2b], 0
mov rdx, qword [rsp + 0x178]
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 0x38]
add rsp, 0x180
pop rbp
ret
mov r12, qword [rsp + 0xb8]
add r12, 0xfffffffffffffffe
mov r13d, dword [rsp + 0x58]
dec r13d
mov r15, qword [rsp + 0x198]
mov r11d, dword [rsp + 0x6c]
mov rdi, qword [rsp + 0xd8]
mov ebx, dword [rsp + 0x2c]
mov esi, dword [rsp + 0x78]
mov r8, qword [rsp + 0xf8]
mov r9, qword [rsp + 0xd0]
mov r10d, dword [rsp + 0x74]
mov dword [rsp + 0x5c], ecx
mov ebx, edx
mov rcx, qword [rsp + 0xc8]
mov edx, eax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x60], ebx
test r13d, r13d
jl 0x5745c4
cmp dword [r15 + 0x1c], 0
je 0x5745bc
mov dword [rsp + 0x54], edx
mov qword [rsp + 0xb8], r12
mov dword [rsp + 0x58], r13d
mov dword [r15 + 0x40], r13d
movzx r12d, word [r12]
rol r12w, 8
movzx r10d, r12w
cmp r10d, r11d
jb 0x57415e
mov esi, dword [rsp + 0x2c]
lea eax, [rsi - 4]
cmp r10d, eax
jbe 0x57423a
movups xmmword [rsp + 0x138], xmm15
movups xmmword [rsp + 0x148], xmm15
movups xmmword [rsp + 0x158], xmm15
mov dword [rsp + 0xa0], r10d
lea rdx, [0x00728b80]
mov qword [rsp + 0x138], rdx
lea rax, [rdi + 0x38]
lea rsi, [rsp + 0xa0]
mov qword [rsp + 0x140], rsi
mov dword [rsp + 0x9c], r11d
mov qword [rsp + 0x148], rdx
lea rsi, [rsp + 0x9c]
mov qword [rsp + 0x150], rsi
mov esi, dword [rsp + 0x2c]
lea r8d, [rsi - 4]
mov dword [rsp + 0x98], r8d
mov qword [rsp + 0x158], rdx
lea r8, [rsp + 0x98]
mov qword [rsp + 0x160], r8
lea rbx, [rsp + 0x138]
mov ecx, 3
mov rdi, rcx
nop dword [rax]
call sym.modernc.org_libc.VaList
mov rcx, qword [0x00a30e10]
add rcx, 0x176a
mov rbx, qword [rsp + 0x198]
mov rdi, rax
mov rax, qword [rsp + 0x190]
call sym.modernc.org_sqlite_lib._checkAppendMsg
mov eax, dword [rsp + 0x54]
xor ecx, ecx
mov edx, dword [rsp + 0x60]
jmp 0x5740b4
mov dword [rsp + 0x44], r10d
mov dword [rsp + 0x70], eax
movzx esi, r12w
lea rcx, [rsi + r9]
mov qword [rsp + 0xc0], rcx
mov rsi, r8
mov r8, qword [r8]
mov rdx, qword [r8 + 0x80]
mov r8, qword [rdx]
mov rbx, qword [rsi]
lea rsi, [rdi + 0x18]
mov qword [rsp + 0xe8], rsi
mov rax, qword [rsp + 0x190]
mov rdi, rsi
nop dword [rax]
call r8
mov rsi, qword [rsp + 0xe8]
mov r8, rsi
movzx r9d, word [rsi + 0x16]
mov ecx, dword [rsp + 0x44]
add r9d, ecx
mov r10d, dword [rsp + 0x2c]
nop
cmp r10d, r9d
jb 0x574588
mov rdx, qword [rsp + 0xf8]
mov r9, rdx
mov rdx, qword [rdx]
cmp byte [rdx + 1], 0
nop dword [rax + rax]
je 0x5743ae
mov edx, dword [rsp + 0x54]
test edx, edx
je 0x5742e7
mov rdx, qword [rsi]
mov rax, qword [rsp + 0xd8]
mov rsi, rax
cmp qword [rsi], rdx
setl dl
movzx edx, dl
jmp 0x574300
mov rsi, qword [rsi]
mov rax, qword [rsp + 0xd8]
mov r11, rax
cmp qword [r11], rsi
setle sil
movzx edx, sil
test edx, edx
je 0x57439e
movups xmmword [rsp + 0x168], xmm15
lea rdx, [rax + 0x38]
mov r8, qword [r8]
mov qword [rsp + 0x100], r8
lea r8, [0x00728bc0]
mov qword [rsp + 0x168], r8
lea r9, [rsp + 0x100]
mov qword [rsp + 0x170], r9
lea rbx, [rsp + 0x168]
mov ecx, 1
mov rdi, rcx
mov rax, rdx
call sym.modernc.org_libc.VaList
mov rcx, qword [0x00a30e10]
add rcx, 0x17a0
mov rbx, qword [rsp + 0x198]
mov rdi, rax
mov rax, qword [rsp + 0x190]
call sym.modernc.org_sqlite_lib._checkAppendMsg
mov rax, qword [rsp + 0xd8]
mov ecx, dword [rsp + 0x44]
mov r8, qword [rsp + 0xe8]
mov r9, qword [rsp + 0xf8]
mov r10d, dword [rsp + 0x2c]
mov rsi, rax
mov rdi, r8
mov r8, qword [r8]
mov qword [rax], r8
xor eax, eax
jmp 0x5743bd
mov rsi, qword [rsp + 0xd8]
mov rdi, r8
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x54], eax
mov rdx, rdi
mov r8d, dword [rdi + 0x10]
movzx r11d, word [rdi + 0x14]
cmp r8d, r11d
jbe 0x574498
sub r8d, r11d
lea r8d, [r8 + r10]
lea r8d, [r8 - 5]
cmp r10d, 4
je 0x574a34
mov eax, r8d
mov ecx, dword [rsp + 0x70]
xor edx, edx
div ecx
mov dword [rsp + 0x48], eax
movzx ecx, word [rdi + 0x16]
add ecx, 0xfffffffc
movsxd rcx, ecx
mov rdx, qword [rsp + 0xc0]
lea rbx, [rdx + rcx]
mov rax, qword [rsp + 0x190]
call sym.modernc.org_sqlite_lib._sqlite3Get4byte
mov rcx, qword [rsp + 0xf0]
cmp byte [rcx + 0x21], 0
je 0x574456
mov dword [rsp + 0x40], eax
mov rbx, qword [rsp + 0x198]
mov ecx, eax
mov edi, 3
mov esi, dword [rsp + 0x1a0]
mov rax, qword [rsp + 0x190]
call sym.modernc.org_sqlite_lib._checkPtrmap
mov eax, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x198]
xor ecx, ecx
mov edi, eax
mov esi, dword [rsp + 0x48]
mov rax, qword [rsp + 0x190]
call sym.modernc.org_sqlite_lib._checkList
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x44]
mov rdx, qword [rsp + 0xe8]
mov rsi, qword [rsp + 0xd8]
mov r9, qword [rsp + 0xf8]
mov r10d, dword [rsp + 0x2c]
mov r8, qword [r9]
cmp byte [r8 + 8], 0
je 0x5744d5
mov esi, ecx
shl esi, 0x10
movzx edx, word [rdx + 0x16]
lea ecx, [rdx + rcx]
lea ecx, [rcx - 1]
or ecx, esi
mov rax, qword [rsp + 0x190]
mov rbx, qword [rsp + 0xc8]
call sym.modernc.org_sqlite_lib._btreeHeapInsert
mov eax, dword [rsp + 0x54]
mov edx, dword [rsp + 0x60]
jmp 0x57457f
mov rax, qword [rsp + 0x190]
mov rbx, qword [rsp + 0xc0]
call sym.modernc.org_sqlite_lib._sqlite3Get4byte
mov rcx, qword [rsp + 0xf0]
cmp byte [rcx + 0x21], 0
je 0x574523
mov dword [rsp + 0x70], eax
mov rbx, qword [rsp + 0x198]
mov ecx, eax
mov edi, 5
mov esi, dword [rsp + 0x1a0]
mov rax, qword [rsp + 0x190]
call sym.modernc.org_sqlite_lib._checkPtrmap
mov eax, dword [rsp + 0x70]
mov rdi, qword [rsp + 0xd8]
mov rdx, rdi
mov rsi, qword [rdx]
mov rbx, qword [rsp + 0x198]
mov ecx, eax
mov rax, qword [rsp + 0x190]
call sym.modernc.org_sqlite_lib._checkTreePage
mov edx, dword [rsp + 0x60]
cmp eax, edx
je 0x57457d
mov dword [rsp + 0x64], eax
mov rcx, qword [0x00a30e10]
add rcx, 0x17b8
mov rax, qword [rsp + 0x190]
mov rbx, qword [rsp + 0x198]
xor edi, edi
call sym.modernc.org_sqlite_lib._checkAppendMsg
mov edx, dword [rsp + 0x64]
xor eax, eax
mov ecx, dword [rsp + 0x5c]
jmp 0x5740b4
mov rcx, qword [0x00a30e10]
add rcx, 0x1788
mov rax, qword [rsp + 0x190]
mov rbx, qword [rsp + 0x198]
xor edi, edi
call sym.modernc.org_sqlite_lib._checkAppendMsg
mov eax, dword [rsp + 0x54]
xor ecx, ecx
mov edx, dword [rsp + 0x60]
jmp 0x5740b4
mov r15, qword [rsp + 0x198]
mov r11, qword [rsp + 0x1a8]
mov r12, rdi
mov rdi, qword [rdi]
mov qword [r11], rdi
mov rdi, r15
mov qword [r15 + 0x30], 0
mov r11d, dword [rsp + 0x5c]
test r11d, r11d
je 0x574625
mov r13, rdi
cmp dword [rdi + 0x1c], 0
jle 0x574628
mov r15, r8
mov r8, qword [r8]
cmp byte [r8 + 8], 0
nop
jne 0x5746fe
mov rdi, qword [rdi + 0x68]
mov qword [rsp + 0xc8], rdi
mov r8, rdi
mov dword [rdi], 0
mov ecx, dword [rsp + 0x68]
nop
jmp 0x5746f3
mov r13, rdi
mov rsi, r13
mov eax, r11d
movzx ecx, byte [rsp + 0x2a]
mov edx, ebx
jmp 0x574023
mov dword [rsp + 0x58], ecx
lea edi, [rsi + rcx*2]
lea edi, [rdi + 0xc]
movsxd rdi, edi
add rdi, r9
movzx edi, word [rdi]
mov r8, r15
mov r10, qword [r15]
mov rdx, qword [r10 + 0x78]
mov r10, qword [rdx]
mov rbx, qword [r8]
rol di, 8
movzx r8d, di
mov dword [rsp + 0x44], r8d
movzx edi, di
add rdi, r9
shl r8d, 0x10
mov dword [rsp + 0x70], r8d
mov rax, qword [rsp + 0x190]
mov rcx, rdi
call r10
movzx esi, ax
mov edi, dword [rsp + 0x44]
lea ecx, [rsi + rdi]
lea ecx, [rcx - 1]
mov esi, dword [rsp + 0x70]
or ecx, esi
mov rax, qword [rsp + 0x190]
mov rbx, qword [rsp + 0xc8]
call sym.modernc.org_sqlite_lib._btreeHeapInsert
mov ecx, dword [rsp + 0x58]
dec ecx
mov eax, dword [rsp + 0x7c]
mov ebx, dword [rsp + 0x60]
mov esi, dword [rsp + 0x78]
mov r8, qword [rsp + 0xc8]
mov r9, qword [rsp + 0xd0]
mov r10d, dword [rsp + 0x74]
mov r11d, dword [rsp + 0x5c]
mov r12, qword [rsp + 0xd8]
mov r13, qword [rsp + 0x198]
mov r15, qword [rsp + 0xf8]
test ecx, ecx
jge 0x57463a
mov rcx, r8
mov qword [rsp + 0xc8], rcx
lea edx, [rax + 1]
movsxd rdx, edx
lea rsi, [rdx + r9]
movzx esi, byte [rsi]
shl esi, 8
lea rdx, [rdx + r9]
lea rdx, [rdx + 1]
movzx edx, byte [rdx]
or edx, esi
jmp 0x5747c0
mov dword [rsp + 0x58], edx
lea esi, [rdx + 2]
movsxd rsi, esi
lea rdi, [rsi + r9]
movzx edi, byte [rdi]
shl edi, 8
lea rsi, [rsi + r9]
lea rsi, [rsi + 1]
movzx esi, byte [rsi]
or esi, edi
mov edi, edx
shl edx, 0x10
lea esi, [rdi + rsi]
lea esi, [rsi - 1]
or esi, edx
mov rax, qword [rsp + 0x190]
mov rbx, rcx
mov ecx, esi
call sym.modernc.org_sqlite_lib._btreeHeapInsert
mov edx, dword [rsp + 0x58]
movsxd rdx, edx
mov r9, qword [rsp + 0xd0]
lea rsi, [rdx + r9]
movzx esi, byte [rsi]
shl esi, 8
lea rdx, [rdx + r9]
lea rdx, [rdx + 1]
movzx edx, byte [rdx]
or edx, esi
mov eax, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0xc8]
mov ebx, dword [rsp + 0x60]
mov r10d, dword [rsp + 0x74]
mov r11d, dword [rsp + 0x5c]
mov r12, qword [rsp + 0xd8]
mov r13, qword [rsp + 0x198]
mov r15, qword [rsp + 0xf8]
test edx, edx
jg 0x574728
xor edx, edx
jmp 0x5747ea
sub r8d, esi
mov esi, dword [rsp + 0x4c]
lea edx, [rsi + r8]
lea edx, [rdx - 1]
mov rcx, qword [rsp + 0xc8]
mov r12, qword [rsp + 0xd8]
mov dword [rsp + 0x3c], r10d
mov dword [rsp + 0x4c], edx
lea rsi, [r12 + 0x10]
mov qword [rsp + 0xf0], rsi
mov rax, qword [rsp + 0x190]
mov rbx, rcx
mov rcx, rsi
call sym.modernc.org_sqlite_lib._btreeHeapPull
test eax, eax
je 0x5748ec
mov edx, dword [rsp + 0x3c]
movzx esi, dx
mov r8, qword [rsp + 0xf0]
mov r9, r8
mov r8d, dword [r8]
mov r10d, r8d
shr r8d, 0x10
cmp esi, r8d
jb 0x5747cc
movups xmmword [rsp + 0x118], xmm15
movups xmmword [rsp + 0x128], xmm15
mov rax, qword [rsp + 0xd8]
lea rdx, [rax + 0x38]
mov esi, dword [r9]
shr esi, 0x10
mov dword [rsp + 0x94], esi
lea rsi, [0x00728b80]
mov qword [rsp + 0x118], rsi
lea r8, [rsp + 0x94]
mov qword [rsp + 0x120], r8
mov r8d, dword [rsp + 0x1a0]
mov dword [rsp + 0x90], r8d
mov qword [rsp + 0x128], rsi
lea r9, [rsp + 0x90]
mov qword [rsp + 0x130], r9
lea rbx, [rsp + 0x118]
mov ecx, 2
mov rdi, rcx
mov rax, rdx
call sym.modernc.org_libc.VaList
mov rcx, qword [0x00a30e10]
add rcx, 0x17d1
mov rbx, qword [rsp + 0x198]
mov rdi, rax
mov rax, qword [rsp + 0x190]
call sym.modernc.org_sqlite_lib._checkAppendMsg
mov esi, dword [rsp + 0x3c]
movzx esi, si
mov r8d, dword [rsp + 0x2c]
sub r8d, esi
mov rsi, qword [rsp + 0xc8]
mov r9d, dword [rsp + 0x4c]
lea r8d, [r9 + r8]
lea r8d, [r8 - 1]
cmp dword [rsi], 0
jne 0x574a16
mov esi, dword [rsp + 0x7c]
add esi, 7
movsxd rsi, esi
mov r9, qword [rsp + 0xd0]
add rsi, r9
mov r9, rsi
movzx esi, byte [rsi]
cmp esi, r8d
je 0x574a16
movups xmmword [rsp + 0x138], xmm15
movups xmmword [rsp + 0x148], xmm15
movups xmmword [rsp + 0x158], xmm15
mov dword [rsp + 0x8c], r8d
lea rdx, [0x00728b40]
mov qword [rsp + 0x138], rdx
mov rax, qword [rsp + 0xd8]
add rax, 0x38
lea rsi, [rsp + 0x8c]
mov qword [rsp + 0x140], rsi
movzx esi, byte [r9]
mov dword [rsp + 0x88], esi
mov qword [rsp + 0x148], rdx
lea rdx, [rsp + 0x88]
mov qword [rsp + 0x150], rdx
mov edx, dword [rsp + 0x1a0]
mov dword [rsp + 0x84], edx
lea rdx, [0x00728b80]
mov qword [rsp + 0x158], rdx
lea rdx, [rsp + 0x84]
mov qword [rsp + 0x160], rdx
lea rbx, [rsp + 0x138]
mov ecx, 3
mov rdi, rcx
call sym.modernc.org_libc.VaList
mov rcx, qword [0x00a30e10]
add rcx, 0x17f6
mov rbx, qword [rsp + 0x198]
mov rdi, rax
mov rax, qword [rsp + 0x190]
call sym.modernc.org_sqlite_lib._checkAppendMsg
mov ebx, dword [rsp + 0x60]
mov r8, qword [rsp + 0xf8]
mov r11d, dword [rsp + 0x5c]
mov r13, qword [rsp + 0x198]
jmp 0x574628
call sym.runtime.panicdivide
nop
call sym.runtime.deferreturn
mov eax, dword [rsp + 0x38]
add rsp, 0x180
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], ecx
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 ecx, dword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
jmp sym.modernc.org_sqlite_lib._checkTreePage