Function at 0x140237ce0
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, 0xd8
mov rbp, qword [rcx + 0x30]
mov r13, qword [rcx + 0x38]
mov rbx, rcx
mov rcx, qword [rcx + 0x68]
mov edi, edx
mov r14, r8
mov qword [rsp + 0x138], r9
mov qword [rsp + 0xa8], 0
mov eax, dword [rcx + 0x198]
test eax, eax
je 0x140237d78
add dword [rbx + 0x20], 1
xor r15d, r15d
mov dword [rbx + 0x24], 9
mov r8, qword [rcx + 0x210]
mov dword [rbx + 0x1c], 0
test r8, r8
je 0x140237dc4
mov eax, dword [rbx + 0x28]
xor edx, edx
add eax, 1
mov dword [rbx + 0x28], eax
div dword [rcx + 0x220]
test edx, edx
je 0x140237d90
mov r15d, dword [rbx + 0x1c]
test r15d, r15d
je 0x1402381e2
test edi, edi
jne 0x140237de8
xor r15d, r15d
jmp 0x140237dcc
mov r8, qword [rcx + 0x210]
test r8, r8
jne 0x140237d46
jmp 0x140237d5b
mov rcx, qword [rcx + 0x218]
call r8
test eax, eax
je 0x140237d5b
add dword [rbx + 0x20], 1
mov dword [rbx + 0x24], 9
xor r15d, r15d
mov r12, qword [rsp + 0xa8]
mov dword [rbx + 0x1c], 0
test r12, r12
jne 0x14023814c
mov qword [rbx + 0x30], rbp
mov qword [rbx + 0x38], r13
mov eax, r15d
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rbx]
cmp dword [rbx + 0x18], edi
mov qword [rsp + 0x38], rax
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x58], eax
jb 0x1402381a0
mov eax, edi
mov ecx, edi
mov edx, 1
shr eax, 3
add rax, qword [rbx + 0x10]
and ecx, 7
shl edx, cl
movzx r15d, byte [rax]
mov r8d, r15d
and r15d, edx
jne 0x1402381f0
mov rcx, qword [rsp + 0x38]
or r8d, edx
xor r9d, r9d
mov edx, edi
mov byte [rax], r8b
lea rax, str.Page__u:
mov qword [rbx + 0x30], rax
lea r8, [rsp + 0xa8]
mov dword [rbx + 0x38], edi
call sym.btreeGetPage
test eax, eax
jne 0x1402381d0
mov r12, qword [rsp + 0xa8]
movzx eax, byte [r12]
mov rcx, r12
mov byte [r12], 0
mov byte [rsp + 0x50], al
call sym.btreeInitPage
test eax, eax
mov r15d, eax
jne 0x1402382a0
mov rcx, r12
call sym.btreeComputeFreeSpace
test eax, eax
mov r11d, eax
jne 0x1402386d0
movzx esi, byte [r12 + 9]
lea rax, str.On_tree_page__u_cell__d:
mov r10, qword [r12 + 0x50]
mov qword [rbx + 0x30], rax
mov rdx, rsi
mov qword [rsp + 0x88], rsi
movzx eax, byte [r10 + rsi + 5]
add edx, 0xc
movzx ecx, byte [r10 + rsi + 6]
shl eax, 8
or eax, ecx
sub eax, 1
movzx eax, ax
mov dword [rsp + 0x90], eax
add eax, 1
mov dword [rsp + 0x48], eax
movzx eax, byte [r12 + 8]
mov ecx, eax
shl eax, 2
sub edx, eax
movzx eax, byte [r10 + rsi + 3]
mov r9d, edx
mov dword [rsp + 0x94], edx
movzx edx, byte [r10 + rsi + 4]
shl eax, 8
or eax, edx
sub eax, 1
mov dword [rsp + 0x80], eax
lea eax, [r9 + rax*2]
cdqe
add rax, r10
test cl, cl
mov r15, rax
je 0x140238210
mov rsi, qword [rbx + 0x60]
mov dword [rsp + 0x68], 1
mov dword [rsp + 0x6c], 0xffffffff
mov dword [rsi], 0
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x5c], 1
mov edx, dword [rsp + 0x58]
mov r9, qword [rsp + 0x138]
sub edx, 4
cmp eax, 0xffffffff
mov dword [rsp + 0x40], edx
je 0x140238358
mov qword [rsp + 0x70], r13
mov r13, r15
mov qword [rsp + 0x78], rbp
mov ebp, eax
mov qword [rsp + 0x130], r14
mov r14, r9
mov qword [rsp + 0x60], r10
mov dword [rsp + 0x84], r11d
mov dword [rsp + 0x128], edi
mov r8d, dword [rbx + 0x1c]
test r8d, r8d
je 0x1402380f9
movzx edi, word [r13]
sub r13, 2
mov dword [rbx + 0x3c], ebp
mov eax, dword [rsp + 0x48]
rol di, 8
movzx r15d, di
cmp r15d, eax
jb 0x140238270
cmp dword [rsp + 0x40], r15d
jb 0x140238270
mov rax, qword [rsp + 0x60]
movzx edi, di
mov rcx, r12
lea r8, [rsp + 0xb0]
add rdi, rax
mov rdx, rdi
call qword [r12 + pe_nt_image_headers64]
movzx eax, word [rsp + 0xc6]
add eax, r15d
cmp dword [rsp + 0x58], eax
jb 0x140238640
cmp byte [r12 + 1], 0
je 0x140238044
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0xb0]
test r9d, r9d
je 0x140238630
cmp r14, r8
setl al
test al, al
jne 0x140238675
mov qword [rsp + 0x138], r8
mov r14, r8
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0xc0]
movzx edx, word [rsp + 0xc4]
cmp edx, eax
jae 0x140238094
sub eax, edx
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
lea eax, [rax + rdx - 5]
xor edx, edx
div dword [rsp + 0x40]
movzx edx, word [rsp + 0xc6]
cmp byte [rcx + 0x21], 0
mov edx, dword [rdi + rdx - 4]
bswap edx
jne 0x140238698
mov r8d, edx
mov r9d, eax
xor edx, edx
mov rcx, rbx
call sym.checkList
cmp byte [r12 + 8], 0
jne 0x1402382c0
mov rax, qword [rsp + 0x38]
mov edi, dword [rdi]
cmp byte [rax + 0x21], 0
bswap edi
jne 0x140238658
mov edx, edi
mov r9, r14
mov rcx, rbx
lea r8, [rsp + 0x138]
call sym.checkTreePage
mov edi, eax
mov eax, dword [rsp + 0x6c]
cmp edi, eax
jne 0x140238330
mov r14, qword [rsp + 0x138]
mov dword [rsp + 0x68], 0
nop word cs:[rax + rax]
sub ebp, 1
jae 0x140237f96
mov eax, dword [rsp + 0x6c]
mov r9, r14
mov ecx, dword [rsp + 0x5c]
mov r14, qword [rsp + 0x130]
mov r13, qword [rsp + 0x70]
add eax, 1
mov rbp, qword [rsp + 0x78]
test ecx, ecx
mov r10, qword [rsp + 0x60]
mov r15d, eax
mov qword [r14], r9
mov r11d, dword [rsp + 0x84]
mov edi, dword [rsp + 0x128]
mov qword [rbx + 0x30], 0
jne 0x14023836a
movzx eax, byte [rsp + 0x50]
mov byte [r12], al
mov rcx, qword [r12 + 0x70]
test byte [rcx + 0x34], 0x20
je 0x1402381c0
mov rax, qword [rcx + 0x28]
mov r8, qword [rcx + 8]
mov rdx, qword [rax + 0xa8]
sub dword [rax + 0x98], 1
mov r9, qword [rax + 0x48]
mov qword [rcx + 0x20], rdx
mov edx, dword [rcx + 0x30]
mov qword [rax + 0xa8], rcx
mov rcx, r9
sub edx, 1
imul rdx, qword [rax + 0xc8]
mov rax, qword [r9]
call qword [rax + 0x90]
jmp 0x140237dc4
mov r8d, edi
mov rcx, rbx
xor r15d, r15d
lea rdx, str.invalid_page_number__d
call sym.checkAppendMsg
jmp 0x140237dcc
call sym.sqlite3PcacheRelease
jmp 0x140237dc4
lea rdx, str.unable_to_get_the_page._error_code_d
mov r8d, eax
mov rcx, rbx
call sym.checkAppendMsg
mov r12, qword [rsp + 0xa8]
jmp 0x140237dbb
lea rdx, str.2nd_reference_to_page__d
mov r8d, edi
mov rcx, rbx
call sym.checkAppendMsg
jmp 0x140237d6c
mov rax, qword [rsp + 0x38]
mov esi, dword [r10 + rsi + 8]
cmp byte [rax + 0x21], 0
bswap esi
jne 0x1402386e7
mov r9, qword [rsp + 0x138]
mov edx, esi
mov rcx, rbx
mov dword [rsp + 0x5c], r11d
lea r8, [rsp + 0x138]
mov qword [rsp + 0x40], r10
xor esi, esi
call sym.checkTreePage
mov r10, qword [rsp + 0x40]
mov dword [rsp + 0x68], 0
mov r11d, dword [rsp + 0x5c]
mov dword [rsp + 0x6c], eax
jmp 0x140237f3d
mov eax, dword [rsp + 0x40]
mov r8d, r15d
mov rcx, rbx
mov r9d, dword [rsp + 0x48]
lea rdx, str.Offset__d_out_of_range__d.._d
mov dword [rsp + 0x20], eax
call sym.checkAppendMsg
mov dword [rsp + 0x5c], 0
jmp 0x1402380f0
mov r8d, eax
mov rcx, rbx
xor r15d, r15d
lea rdx, str.btreeInitPage___returns_error_code__d
call sym.checkAppendMsg
jmp 0x14023814c
movzx eax, word [rsp + 0xc6]
lea edx, [r15 + rax - 1]
mov eax, r15d
shl eax, 0x10
or edx, eax
mov eax, dword [rsi]
mov r10d, edx
lea edx, [rax + 1]
mov eax, edx
mov dword [rsi], edx
shr eax, 1
cmp edx, 1
mov dword [rsi + rdx*4], r10d
ja 0x140238315
jmp 0x1402380f0
mov dword [rcx], r10d
mov dword [rdx], r8d
mov r8d, eax
shr r8d, 1
cmp eax, 1
je 0x1402380f0
mov r10d, dword [rcx]
mov edx, eax
mov eax, r8d
lea rdx, [rsi + rdx*4]
mov ecx, eax
lea rcx, [rsi + rcx*4]
mov r8d, dword [rcx]
cmp r10d, r8d
jb 0x1402382f8
jmp 0x1402380f0
lea rdx, str.Child_page_depth_differs
mov rcx, rbx
call sym.checkAppendMsg
mov r14, qword [rsp + 0x138]
mov dword [rsp + 0x6c], edi
mov dword [rsp + 0x68], 0
jmp 0x1402380f0
mov eax, dword [rsp + 0x6c]
mov qword [r14], r9
mov qword [rbx + 0x30], 0
add eax, 1
mov edx, dword [rbx + 0x1c]
test edx, edx
jle 0x140238628
cmp byte [r12 + 8], 0
jne 0x140238462
mov edx, dword [rsp + 0x80]
mov rsi, qword [rbx + 0x60]
cmp edx, 0xffffffff
mov dword [rsi], 0
je 0x140238462
movsxd r15, edx
movsxd rdx, dword [rsp + 0x94]
mov qword [rsp + 0x120], rbx
mov rbx, rsi
mov dword [rsp + 0x38], r11d
mov rsi, r15
mov dword [rsp + 0x128], edi
mov dword [rsp + 0x40], eax
lea r14, [r10 + rdx]
mov r15, r14
mov r14, r10
nop
movzx eax, word [r15 + rsi*2]
mov rcx, r12
rol ax, 8
movzx edi, ax
movzx eax, ax
lea rdx, [r14 + rax]
call qword [r12 + 0x78]
movzx eax, ax
lea r10d, [rdi + rax - 1]
mov eax, dword [rbx]
shl edi, 0x10
or r10d, edi
lea edx, [rax + 1]
mov eax, edx
mov dword [rbx], edx
shr eax, 1
cmp edx, 1
mov dword [rbx + rdx*4], r10d
ja 0x140238429
jmp 0x14023843b
mov dword [rcx], r10d
mov dword [rdx], r8d
mov r8d, eax
shr r8d, 1
cmp eax, 1
je 0x14023843b
mov r10d, dword [rcx]
mov edx, eax
mov eax, r8d
lea rdx, [rbx + rdx*4]
mov ecx, eax
lea rcx, [rbx + rcx*4]
mov r8d, dword [rcx]
cmp r10d, r8d
jb 0x140238410
sub rsi, 1
cmp esi, 0xffffffff
jne 0x1402383d0
mov rsi, rbx
mov r11d, dword [rsp + 0x38]
mov r10, r14
mov rbx, qword [rsp + 0x120]
mov edi, dword [rsp + 0x128]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x88]
movzx edx, byte [r10 + rcx + 1]
movzx ecx, byte [r10 + rcx + 2]
shl edx, 8
or edx, ecx
je 0x1402384fe
nop dword [rax]
movsxd r14, edx
movzx ecx, byte [r10 + r14 + 2]
movzx r8d, byte [r10 + r14 + 3]
shl ecx, 8
or ecx, r8d
lea r9d, [rdx + rcx - 1]
shl edx, 0x10
or r9d, edx
mov edx, dword [rsi]
lea ecx, [rdx + 1]
mov edx, ecx
mov dword [rsi], ecx
shr edx, 1
cmp ecx, 1
mov dword [rsi + rcx*4], r9d
ja 0x1402384d9
jmp 0x1402384ec
mov dword [r8], r9d
mov dword [rcx], r15d
mov r15d, edx
shr r15d, 1
cmp edx, 1
je 0x1402384ec
mov r9d, dword [r8]
mov ecx, edx
mov edx, r15d
lea rcx, [rsi + rcx*4]
mov r8d, edx
lea r8, [rsi + r8*4]
mov r15d, dword [r8]
cmp r9d, r15d
jb 0x1402384c0
movzx edx, byte [r10 + r14]
movzx ecx, byte [r10 + r14 + 1]
shl edx, 8
or edx, ecx
jne 0x140238488
mov ecx, dword [rsi]
mov r9d, dword [rsp + 0x90]
test ecx, ecx
je 0x140238763
mov qword [rsp + 0x40], r13
mov edx, ecx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], r10
nop dword [rax]
lea rdx, [rsi + rdx*4]
mov ebp, r9d
mov r9d, dword [rsi + 4]
mov r8d, dword [rdx]
mov dword [rsi + 4], r8d
mov dword [rdx], 0xffffffff
mov edx, dword [rsi]
sub edx, 1
cmp edx, 1
mov dword [rsi], edx
jbe 0x1402385ab
mov r14d, dword [rsi + 4]
mov r10d, 1
mov edx, 2
mov dword [rsp + 0x38], r11d
jmp 0x140238578
mov dword [rdx], ecx
lea edx, [r8 + r8]
mov dword [r11], r14d
cmp dword [rsi], edx
jb 0x1402385a6
mov r10d, r8d
mov ecx, edx
lea r13, [rsi + rcx*4]
lea ecx, [rdx + 1]
mov r15d, dword [r13]
lea r11, [rsi + rcx*4]
mov r8, rcx
mov ecx, dword [r11]
cmp ecx, r15d
jb 0x14023859d
mov ecx, r15d
mov r11, r13
mov r8d, edx
lea rdx, [rsi + r10*4]
cmp r14d, ecx
jae 0x140238568
mov r11d, dword [rsp + 0x38]
mov r8d, r9d
movzx ebp, bp
mov r14d, r11d
shr r8d, 0x10
cmp ebp, r8d
jae 0x14023871e
mov edx, dword [rsi]
lea r14d, [r8 + r14 - 1]
sub r14d, ebp
mov r11d, r14d
test edx, edx
jne 0x140238528
mov r13, qword [rsp + 0x40]
movzx r15d, r9w
mov rbp, qword [rsp + 0x48]
mov r10, qword [rsp + 0x50]
mov esi, dword [rsp + 0x58]
lea r8d, [r14 + rsi - 1]
sub r8d, r15d
mov rsi, qword [rsp + 0x88]
movzx r9d, byte [r10 + rsi + 7]
cmp r9d, r8d
je 0x140238628
mov dword [rsp + 0x20], edi
lea rdx, str.Fragmentation_of__d_bytes_reported_as__d_on_page__u
mov rcx, rbx
mov dword [rsp + 0x38], eax
call sym.checkAppendMsg
mov eax, dword [rsp + 0x38]
nop dword [rax + rax]
mov r15d, eax
jmp 0x140237dbb
cmp r14, r8
setle al
jmp 0x140238029
lea rdx, str.Extends_off_end_of_page
mov rcx, rbx
call sym.checkAppendMsg
jmp 0x14023828f
mov r9d, dword [rsp + 0x128]
mov r8d, 5
mov edx, edi
mov rcx, rbx
call sym.checkPtrmap
jmp 0x1402380b3
lea rdx, str.Rowid__lld_out_of_order
mov rcx, rbx
call sym.checkAppendMsg
mov r8, qword [rsp + 0xb0]
jmp 0x140238031
mov r8d, 3
mov r9d, dword [rsp + 0x128]
mov rcx, rbx
mov dword [rsp + 0x9c], eax
mov dword [rsp + 0x98], edx
call sym.checkPtrmap
mov eax, dword [rsp + 0x9c]
mov edx, dword [rsp + 0x98]
jmp 0x140238084
lea rdx, str.free_space_corruption
mov r8d, eax
mov rcx, rbx
call sym.checkAppendMsg
jmp 0x140237dbb
mov r9d, edi
mov r8d, 5
mov edx, esi
mov dword [rsp + 0x5c], r11d
lea rax, str.On_page__u_at_right_child:
mov rcx, rbx
mov qword [rsp + 0x40], r10
mov qword [rbx + 0x30], rax
call sym.checkPtrmap
mov r11d, dword [rsp + 0x5c]
mov r10, qword [rsp + 0x40]
jmp 0x140238226
mov r10, qword [rsp + 0x50]
mov r9d, edi
mov rcx, rbx
mov r15d, ebp
lea rdx, str.Multiple_uses_for_byte__u_of_page__u
mov r13, qword [rsp + 0x40]
mov dword [rsp + 0x40], eax
mov rbp, qword [rsp + 0x48]
mov qword [rsp + 0x38], r10
call sym.checkAppendMsg
mov eax, dword [rsi]
mov r10, qword [rsp + 0x38]
test eax, eax
mov eax, dword [rsp + 0x40]
jne 0x140238628
jmp 0x1402385e9
mov r8d, dword [rsp + 0x58]
sub r8d, 1
sub r8d, r9d
jmp 0x1402385f5