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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xc8
mov rax, qword [rcx + 0x30]
mov rdi, qword [rcx + 0x3c]
mov r12, rcx
mov rcx, qword [rcx + 0x70]
mov qword [rsp + 0x30], rax
mov esi, edx
mov qword [rsp + 0x128], r9
mov rbp, r8
mov qword [rsp + 0x98], 0
mov eax, dword [rcx + 0x198]
test eax, eax
je 0x14015ac30
mov r8, qword [rcx + 0x210]
add dword [r12 + 0x20], 1
mov dword [r12 + 0x24], 9
mov dword [r12 + 0x1c], 0
test r8, r8
je 0x14015b020
mov eax, dword [r12 + 0x28]
xor edx, edx
add eax, 1
mov dword [r12 + 0x28], eax
div dword [rcx + 0x220]
test edx, edx
je 0x14015ac40
mov r11d, dword [r12 + 0x1c]
test r11d, r11d
je 0x14015b020
xor r13d, r13d
test esi, esi
jne 0x14015ac80
mov eax, r13d
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r8, qword [rcx + 0x210]
test r8, r8
jne 0x14015abe2
jmp 0x14015abfb
mov rcx, qword [rcx + 0x218]
call r8
test eax, eax
je 0x14015abfb
add dword [r12 + 0x20], 1
mov rdx, qword [rsp + 0x98]
xor r13d, r13d
mov dword [r12 + 0x24], 9
mov dword [r12 + 0x1c], 0
jmp 0x14015b02b
cmp esi, dword [r12 + 0x18]
ja 0x14015b048
mov eax, esi
mov ecx, esi
mov edx, 1
shr eax, 3
add rax, qword [r12 + 0x10]
and ecx, 7
movzx r8d, byte [rax]
shl edx, cl
movzx ecx, r8b
test ecx, edx
jne 0x14015b060
mov rcx, qword [r12]
or edx, r8d
xor r9d, r9d
lea r8, [rsp + 0x98]
mov ebx, dword [rcx + 0x38]
mov byte [rax], dl
lea rax, str.Tree__u_page__u:
mov edx, esi
mov qword [r12 + 0x30], rax
mov dword [r12 + 0x3c], esi
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x48], ebx
call sym.btreeGetPage
mov r13d, eax
test eax, eax
jne 0x14015b000
mov rcx, qword [rsp + 0x98]
movzx eax, byte [rcx]
mov byte [rcx], 0
mov byte [rsp + 0x38], al
call sym.btreeInitPage
test eax, eax
jne 0x14015b110
mov rcx, qword [rsp + 0x98]
call sym.btreeComputeFreeSpace
mov dword [rsp + 0x80], eax
test eax, eax
jne 0x14015b4f8
mov rdx, qword [rsp + 0x98]
lea rcx, str.Tree__u_page__u_cell__u:
mov rbx, qword [rdx + 0x50]
movzx r11d, byte [rdx + 9]
mov qword [r12 + 0x30], rcx
movzx r15d, byte [rbx + r11 + 5]
movzx ecx, byte [rbx + r11 + 6]
mov rax, r11
mov qword [rsp + 0x50], rbx
add eax, 0xc
movzx r14d, byte [rbx + r11 + 3]
mov qword [rsp + 0x78], r11
shl r15d, 8
or r15d, ecx
shl r14d, 8
sub r15d, 1
movzx ecx, r15w
mov dword [rsp + 0x84], ecx
add ecx, 1
mov dword [rsp + 0x6c], ecx
movzx ecx, byte [rdx + 8]
mov edx, ecx
shl ecx, 2
sub eax, ecx
mov ecx, eax
mov dword [rsp + 0x88], eax
movzx eax, byte [rbx + r11 + 4]
or r14d, eax
lea eax, [r14 - 1]
mov dword [rsp + 0x68], eax
lea eax, [rcx + rax*2]
cdqe
add rax, rbx
mov r15, rax
test dl, dl
je 0x14015b080
mov rbx, qword [r12 + 0x68]
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x4c], 0xffffffff
mov dword [rbx], 0
mov edx, dword [rsp + 0x48]
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x58], 1
sub edx, 4
mov r13d, eax
mov ecx, edx
lea rdx, [rsp + 0xa0]
mov qword [rsp + 0x60], rdx
cmp eax, 0xffffffff
je 0x14015b195
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x118], esi
mov esi, dword [rsp + 0x6c]
mov qword [rsp + 0x120], rbp
mov ebp, ecx
mov r9d, dword [r12 + 0x1c]
test r9d, r9d
je 0x14015af9e
movzx r14d, word [r15]
mov dword [r12 + 0x40], r13d
sub r15, 2
rol r14w, 8
movzx edi, r14w
cmp esi, edi
ja 0x14015b0e0
cmp edi, ebp
ja 0x14015b0e0
mov rax, qword [rsp + 0x98]
movzx r14d, r14w
add r14, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rdx, r14
mov rcx, rax
call qword [rax + pe_nt_image_headers64]
movzx eax, word [rsp + 0xb6]
add eax, edi
cmp eax, dword [rsp + 0x48]
ja 0x14015b2a0
mov rax, qword [rsp + 0x98]
cmp byte [rax + 1], 0
je 0x14015aede
mov r10d, dword [rsp + 0x5c]
mov r8, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x128]
test r10d, r10d
je 0x14015b290
cmp r8, rax
setg al
test al, al
jne 0x14015b4d9
mov qword [rsp + 0x128], r8
mov dword [rsp + 0x5c], 0
mov eax, dword [rsp + 0xb0]
movzx edx, word [rsp + 0xb4]
cmp eax, edx
jbe 0x14015af2d
sub eax, edx
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
lea eax, [rax + rdx - 5]
xor edx, edx
div ebp
movzx edx, word [rsp + 0xb6]
mov edx, dword [r14 + rdx - 4]
bswap edx
cmp byte [rcx + 0x21], 0
jne 0x14015b4a8
mov r8d, edx
mov r9d, eax
xor edx, edx
mov rcx, r12
call sym.checkList
mov rax, qword [rsp + 0x98]
cmp byte [rax + 8], 0
jne 0x14015b130
mov rax, qword [rsp + 0x40]
mov r14d, dword [r14]
cmp byte [rax + 0x21], 0
bswap r14d
jne 0x14015b2b8
mov r9, qword [rsp + 0x128]
mov edx, r14d
lea r8, [rsp + 0x128]
mov rcx, r12
call sym.checkTreePage
mov dword [rsp + 0x5c], 0
mov r14d, eax
cmp dword [rsp + 0x4c], eax
je 0x14015af8f
lea rdx, str.Child_page_depth_differs
mov rcx, r12
call sym.checkAppendMsg
mov dword [rsp + 0x4c], r14d
sub r13d, 1
jae 0x14015ae2a
mov rax, qword [rsp + 0x128]
mov rbp, qword [rsp + 0x120]
mov r8d, dword [rsp + 0x58]
mov rdi, qword [rsp + 0x70]
mov qword [rbp], rax
mov eax, dword [rsp + 0x4c]
mov qword [r12 + 0x30], 0
mov esi, dword [rsp + 0x118]
add eax, 1
mov rdx, qword [rsp + 0x98]
mov r13d, eax
test r8d, r8d
jne 0x14015b1b9
movzx eax, byte [rsp + 0x38]
mov byte [rdx], al
mov rcx, qword [rdx + 0x70]
call sym.sqlite3PagerUnrefNotNull
jmp 0x14015b030
mov r8d, eax
lea rdx, str.unable_to_get_the_page._error_code_d
mov rcx, r12
call sym.checkAppendMsg
cmp r13d, 0xc0a
je 0x14015b0c8
nop
mov rdx, qword [rsp + 0x98]
xor r13d, r13d
test rdx, rdx
jne 0x14015afee
mov rax, qword [rsp + 0x30]
mov qword [r12 + 0x3c], rdi
mov qword [r12 + 0x30], rax
jmp 0x14015ac10
mov r8d, esi
lea rdx, str.invalid_page_number__u
mov rcx, r12
call sym.checkAppendMsg
jmp 0x14015ac10
mov r8d, esi
lea rdx, str.2nd_reference_to_page__u
mov rcx, r12
call sym.checkAppendMsg
jmp 0x14015ac10
mov rax, qword [rsp + 0x40]
mov r13d, dword [rbx + r11 + 8]
cmp byte [rax + 0x21], 0
bswap r13d
jne 0x14015b517
mov r9, qword [rsp + 0x128]
mov edx, r13d
mov rcx, r12
xor ebx, ebx
lea r8, [rsp + 0x128]
call sym.checkTreePage
mov dword [rsp + 0x5c], 0
mov dword [rsp + 0x4c], eax
jmp 0x14015ade2
mov dword [r12 + 0x24], 7
jmp 0x14015b020
mov dword [rsp + 0x20], ebp
mov r9d, esi
mov r8d, edi
mov rcx, r12
lea rdx, str.Offset__u_out_of_range__u.._u
call sym.checkAppendMsg
mov dword [rsp + 0x58], 0
jmp 0x14015af94
lea rdx, str.btreeInitPage___returns_error_code__d
mov r8d, eax
mov rcx, r12
call sym.checkAppendMsg
mov rdx, qword [rsp + 0x98]
jmp 0x14015b02b
movzx eax, word [rsp + 0xb6]
lea eax, [rdi + rax - 1]
shl edi, 0x10
mov r10d, edi
or r10d, eax
mov eax, dword [rbx]
lea edx, [rax + 1]
mov eax, edx
mov dword [rbx], edx
shr eax, 1
mov dword [rbx + rdx*4], r10d
cmp edx, 1
ja 0x14015b179
jmp 0x14015b18b
mov dword [rcx], r10d
mov dword [rdx], r8d
mov r8d, eax
shr r8d, 1
cmp eax, 1
jbe 0x14015b18b
mov r10d, dword [rcx]
mov edx, eax
mov eax, r8d
mov ecx, eax
lea rdx, [rbx + rdx*4]
lea rcx, [rbx + rcx*4]
mov r8d, dword [rcx]
cmp r8d, r10d
ja 0x14015b160
mov r14d, dword [rsp + 0x4c]
jmp 0x14015af8f
mov rax, qword [rsp + 0x128]
mov rdx, qword [rsp + 0x98]
mov qword [rbp], rax
mov eax, dword [rsp + 0x4c]
mov qword [r12 + 0x30], 0
add eax, 1
mov ecx, dword [r12 + 0x1c]
mov r13d, eax
test ecx, ecx
jle 0x14015b02b
cmp byte [rdx + 8], 0
mov rax, rdx
jne 0x14015b2dd
mov rbx, qword [r12 + 0x68]
mov edx, dword [rsp + 0x68]
mov dword [rbx], 0
cmp edx, 0xffffffff
je 0x14015b2dd
movsxd rbp, dword [rsp + 0x88]
mov r15, qword [rsp + 0x50]
mov dword [rsp + 0x118], esi
movsxd r14, edx
add rbp, r15
nop dword [rax + rax]
movzx edx, word [rbp + r14*2]
mov rcx, rax
rol dx, 8
movzx esi, dx
movzx edx, dx
add rdx, r15
call qword [rax + 0x78]
movzx eax, ax
lea r8d, [rsi + rax - 1]
mov eax, dword [rbx]
shl esi, 0x10
or r8d, esi
lea edx, [rax + 1]
mov eax, edx
mov dword [rbx], edx
shr eax, 1
mov dword [rbx + rdx*4], r8d
cmp edx, 1
ja 0x14015b269
jmp 0x14015b27b
mov dword [rcx], r8d
mov dword [rdx], r9d
mov r9d, eax
shr r9d, 1
cmp eax, 1
jbe 0x14015b27b
mov r8d, dword [rcx]
mov edx, eax
mov eax, r9d
mov ecx, eax
lea rdx, [rbx + rdx*4]
lea rcx, [rbx + rcx*4]
mov r9d, dword [rcx]
cmp r9d, r8d
ja 0x14015b250
sub r14, 1
cmp r14d, 0xffffffff
je 0x14015b2d6
mov rax, qword [rsp + 0x98]
jmp 0x14015b210
cmp r8, rax
setge al
jmp 0x14015aec6
lea rdx, str.Extends_off_end_of_page
mov rcx, r12
call sym.checkAppendMsg
jmp 0x14015b0f9
mov r9d, dword [rsp + 0x118]
mov r8d, 5
mov edx, r14d
mov rcx, r12
call sym.checkPtrmap
jmp 0x14015af54
mov esi, dword [rsp + 0x118]
mov rax, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x78]
mov r11, qword [rsp + 0x50]
movzx r10d, byte [rax + rdx + 1]
movzx eax, byte [rax + rdx + 2]
shl r10d, 8
or r10d, eax
je 0x14015b398
nop dword [rax]
lea eax, [r10 + 2]
lea edx, [r10 + 3]
movsxd rbp, r10d
cdqe
movsxd rdx, edx
movzx eax, byte [r11 + rax]
movzx edx, byte [r11 + rdx]
shl eax, 8
or eax, edx
lea r8d, [r10 + rax - 1]
mov eax, r10d
shl eax, 0x10
or r8d, eax
mov eax, dword [rbx]
lea edx, [rax + 1]
mov eax, edx
mov dword [rbx], edx
shr eax, 1
mov dword [rbx + rdx*4], r8d
cmp edx, 1
ja 0x14015b369
jmp 0x14015b37b
mov dword [rcx], r8d
mov dword [rdx], r9d
mov r9d, eax
shr r9d, 1
cmp eax, 1
jbe 0x14015b37b
mov r8d, dword [rcx]
mov edx, eax
mov eax, r9d
mov ecx, eax
lea rdx, [rbx + rdx*4]
lea rcx, [rbx + rcx*4]
mov r9d, dword [rcx]
cmp r9d, r8d
ja 0x14015b350
add r10d, 1
movzx eax, byte [r11 + rbp]
movsxd r10, r10d
movzx r10d, byte [r11 + r10]
shl eax, 8
or r10d, eax
jne 0x14015b308
mov eax, dword [rbx]
mov r15d, dword [rsp + 0x84]
test eax, eax
je 0x14015b580
mov qword [rsp + 0x38], rdi
mov r14d, dword [rsp + 0x80]
nop word [rax + rax]
lea rax, [rbx + rax*4]
mov ebp, r15d
mov r15d, dword [rbx + 4]
mov edx, dword [rax]
mov dword [rbx + 4], edx
mov dword [rax], 0xffffffff
mov eax, dword [rbx]
sub eax, 1
mov dword [rbx], eax
cmp eax, 1
jbe 0x14015b432
mov edi, dword [rbx + 4]
mov r8d, 1
mov eax, 2
jmp 0x14015b407
mov dword [rax], edx
lea eax, [rcx + rcx]
mov dword [r9], edi
cmp eax, dword [rbx]
ja 0x14015b432
mov r8d, ecx
mov edx, eax
lea r10, [rbx + rdx*4]
lea edx, [rax + 1]
lea r9, [rbx + rdx*4]
mov rcx, rdx
mov r11d, dword [r10]
mov edx, dword [r9]
cmp r11d, edx
ja 0x14015b42a
mov edx, r11d
mov r9, r10
mov ecx, eax
lea rax, [rbx + r8*4]
cmp edi, edx
jae 0x14015b3f8
mov r8d, r15d
movzx ebp, bp
shr r8d, 0x10
cmp ebp, r8d
jae 0x14015b53c
lea edx, [r8 + r14 - 1]
mov eax, dword [rbx]
sub edx, ebp
mov r14d, edx
test eax, eax
jne 0x14015b3c0
mov rdi, qword [rsp + 0x38]
movzx r15d, r15w
mov eax, dword [rsp + 0x48]
lea r8d, [rdx + rax - 1]
sub r8d, r15d
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x78]
movzx r9d, byte [rax + rbx + 7]
cmp r9d, r8d
je 0x14015b496
mov dword [rsp + 0x20], esi
lea rdx, str.Fragmentation_of__u_bytes_reported_as__u_on_page__u
mov rcx, r12
call sym.checkAppendMsg
mov rdx, qword [rsp + 0x98]
jmp 0x14015b02b
mov r9d, dword [rsp + 0x118]
mov r8d, 3
mov rcx, r12
mov dword [rsp + 0x8c], eax
mov dword [rsp + 0x6c], edx
call sym.checkPtrmap
mov eax, dword [rsp + 0x8c]
mov edx, dword [rsp + 0x6c]
jmp 0x14015af1d
lea rdx, str.Rowid__lld_out_of_order
mov rcx, r12
call sym.checkAppendMsg
mov r8, qword [rsp + 0xa0]
jmp 0x14015aece
lea rdx, str.free_space_corruption
mov r8d, eax
mov rcx, r12
call sym.checkAppendMsg
mov rdx, qword [rsp + 0x98]
jmp 0x14015b02b
lea rax, str.Tree__u_page__u_right_child:
mov r9d, esi
mov edx, r13d
mov rcx, r12
mov qword [r12 + 0x30], rax
mov r8d, 5
call sym.checkPtrmap
jmp 0x14015b097
mov r9d, esi
mov rcx, r12
lea rdx, str.Multiple_uses_for_byte__u_of_page__u
mov dword [rsp + 0x80], r14d
mov rdi, qword [rsp + 0x38]
call sym.checkAppendMsg
mov eax, dword [rbx]
test eax, eax
jne 0x14015b496
mov eax, dword [rsp + 0x48]
mov ebx, dword [rsp + 0x80]
lea r8d, [rax + rbx - 1]
sub r8d, ebp
jmp 0x14015b46e
xor edx, edx
jmp 0x14015b462