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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0xc8
and qword [rax - 0x70], 0
mov rax, qword [rcx + 0x28]
mov rbp, qword [rcx]
or dword [rsp + 0x3c], 0xffffffff
mov qword [rsp + 0xb8], rax
mov eax, dword [rcx + 0x30]
mov dword [rsp + 0x94], eax
mov eax, dword [rcx + 0x34]
xor edi, edi
mov dword [rsp + 0x80], eax
mov eax, dword [rbp + 0x34]
mov ebx, edx
mov rsi, rcx
mov dword [rsp + 0x44], 1
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x88], rbp
test edx, edx
jne 0x14002d4d3
xor eax, eax
jmp 0x14002dbac
call fcn.14002d100
test eax, eax
jne 0x14002d4cc
lea rax, str.Page__d:
lea r8, [rsp + 0x78]
xor r9d, r9d
mov edx, ebx
mov rcx, rbp
mov dword [rsi + 0x30], ebx
mov qword [rsi + 0x28], rax
call fcn.1400256ac
mov rbp, qword [rsp + 0x78]
test eax, eax
je 0x14002d51c
lea rdx, str.unable_to_get_the_page._error_code_d
mov r8d, eax
mov rcx, rsi
call fcn.14002d078
jmp 0x14002db78
mov al, byte [rbp]
mov rcx, rbp
mov byte [rbp], dil
mov byte [rsp + 0x30], al
call fcn.1400254b4
test eax, eax
je 0x14002d53c
lea rdx, str.btreeInitPage___returns_error_code__d
jmp 0x14002d50c
mov rcx, rbp
call fcn.1400252e0
test eax, eax
je 0x14002d551
lea rdx, str.free_space_corruption
jmp 0x14002d50c
mov rdx, qword [rbp + 0x50]
movzx r9d, byte [rbp + 9]
lea rax, str.On_tree_page__d_cell__d:
mov qword [rsi + 0x28], rax
movzx eax, byte [r9 + rdx + 6]
movzx ecx, byte [r9 + rdx + 5]
movzx r8d, byte [r9 + rdx + 3]
shl ecx, 8
mov qword [rsp + 0x58], rdx
or ecx, eax
movzx eax, byte [r9 + rdx + 4]
shl r8d, 8
or r8d, eax
dec ecx
mov eax, 3
movzx r11d, cx
movzx ecx, byte [rbp + 8]
mov qword [rsp + 0x98], r9
sub eax, ecx
inc r11d
mov dword [rsp + 0x40], r8d
lea eax, [r9 + rax*4]
mov dword [rsp + 0x48], r11d
mov dword [rsp + 0x60], eax
lea eax, [rax + r8*2 - 2]
movsxd r10, eax
add r10, rdx
mov qword [rsp + 0x68], r10
test cl, cl
jne 0x14002d662
lea eax, [r9 + 8]
movsxd rcx, eax
add rcx, rdx
movzx eax, byte [rcx + 2]
movzx ebx, byte [rcx + 1]
shl ebx, 8
or ebx, eax
movzx eax, byte [rcx]
shl eax, 0x18
shl ebx, 8
or ebx, eax
movzx eax, byte [rcx + 3]
or ebx, eax
mov rax, qword [rsp + 0x88]
cmp byte [rax + 0x21], dil
je 0x14002d62a
mov r9d, dword [rsp + 0xf8]
lea rax, str.On_page__d_at_right_child:
mov r8b, 5
mov edx, ebx
mov rcx, rsi
mov qword [rsi + 0x28], rax
call fcn.14002d16c
mov r9, qword [rsp + 0x108]
lea r8, [rsp + 0x108]
mov edx, ebx
mov rcx, rsi
call fcn.14002d458
and dword [rsp + 0x38], edi
mov rdx, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x40]
mov r10, qword [rsp + 0x68]
mov r11d, dword [rsp + 0x48]
mov dword [rsp + 0x3c], eax
jmp 0x14002d669
mov rdi, qword [rsi + 0x58]
and dword [rdi], 0
lea ecx, [r8 - 1]
mov dword [rsp + 0x84], ecx
mov eax, ecx
mov dword [rsp + 0x40], ecx
test ecx, ecx
js 0x14002d92b
cmp dword [rsi + 0x1c], 0
je 0x14002d924
mov dword [rsi + 0x34], eax
movzx ebx, byte [r10]
movzx eax, byte [r10 + 1]
shl ebx, 8
sub r10, 2
or ebx, eax
mov qword [rsp + 0x68], r10
cmp ebx, r11d
jb 0x14002d8df
mov eax, dword [rsp + 0x34]
add eax, 0xfffffffc
cmp ebx, eax
ja 0x14002d8df
mov eax, ebx
lea r8, [rsp + 0xa0]
mov rcx, rbp
add rax, rdx
mov rdx, rax
mov qword [rsp + 0x50], rax
call qword [rbp + Ordinal_133]
movzx r11d, word [rsp + 0xb6]
mov r8d, dword [rsp + 0x34]
lea eax, [rbx + r11]
cmp eax, r8d
jbe 0x14002d707
lea rdx, str.Extends_off_end_of_page
mov rcx, rsi
call fcn.14002d078
jmp 0x14002d8ff
cmp byte [rbp + 2], 0
je 0x14002d770
mov rdx, qword [rsp + 0xa0]
xor ecx, ecx
cmp rdx, qword [rsp + 0x108]
setg cl
xor eax, eax
cmp rdx, qword [rsp + 0x108]
setge al
cmp dword [rsp + 0x38], 0
cmovne eax, ecx
test eax, eax
je 0x14002d763
mov r8, rdx
lea rdx, str.Rowid__lld_out_of_order
mov rcx, rsi
call fcn.14002d078
movzx r11d, word [rsp + 0xb6]
mov rdx, qword [rsp + 0xa0]
mov r8d, dword [rsp + 0x34]
and dword [rsp + 0x38], 0
mov qword [rsp + 0x108], rdx
movzx ecx, word [rsp + 0xb4]
mov eax, dword [rsp + 0xb0]
cmp eax, ecx
jbe 0x14002d81c
sub eax, ecx
xor edx, edx
lea ecx, [r8 - 4]
lea eax, [rax + r8 - 5]
div ecx
movzx ecx, r11w
sub ecx, 4
mov dword [rsp + 0x90], eax
movsxd rdx, ecx
add rdx, qword [rsp + 0x50]
movzx ecx, byte [rdx + 2]
movzx eax, byte [rdx + 3]
movzx r10d, byte [rdx + 1]
shl r10d, 8
or r10d, ecx
movzx ecx, byte [rdx]
shl r10d, 8
shl ecx, 0x18
or r10d, ecx
or r10d, eax
mov rax, qword [rsp + 0x88]
cmp byte [rax + 0x21], 0
mov dword [rsp + 0x70], r10d
je 0x14002d7fe
mov r9d, dword [rsp + 0xf8]
mov r8b, 3
mov edx, r10d
mov rcx, rsi
call fcn.14002d16c
mov r10d, dword [rsp + 0x70]
mov r9d, dword [rsp + 0x90]
mov r8d, r10d
xor edx, edx
mov rcx, rsi
call fcn.14002d214
mov r11w, word [rsp + 0xb6]
cmp byte [rbp + 8], 0
jne 0x14002d8a8
mov rcx, qword [rsp + 0x50]
movzx eax, byte [rcx + 2]
movzx ebx, byte [rcx + 1]
shl ebx, 8
or ebx, eax
movzx eax, byte [rcx]
shl eax, 0x18
shl ebx, 8
or ebx, eax
movzx eax, byte [rcx + 3]
or ebx, eax
mov rax, qword [rsp + 0x88]
cmp byte [rax + 0x21], 0
je 0x14002d86c
mov r9d, dword [rsp + 0xf8]
mov r8b, 5
mov edx, ebx
mov rcx, rsi
call fcn.14002d16c
mov r9, qword [rsp + 0x108]
lea r8, [rsp + 0x108]
mov edx, ebx
mov rcx, rsi
call fcn.14002d458
and dword [rsp + 0x38], 0
mov ebx, eax
cmp eax, dword [rsp + 0x3c]
je 0x14002d904
lea rdx, str.Child_page_depth_differs
mov rcx, rsi
call fcn.14002d078
mov dword [rsp + 0x3c], ebx
jmp 0x14002d904
inc dword [rdi]
mov edx, dword [rdi]
movzx eax, r11w
lea ecx, [rax + rbx - 1]
shl ebx, 0x10
mov eax, edx
or ecx, ebx
mov dword [rdi + rdx*4], ecx
jmp 0x14002d8d9
mov r9d, dword [rdi + rax*4]
mov r8d, edx
mov edx, dword [rdi + r8*4]
cmp r9d, edx
jbe 0x14002d904
mov dword [rdi + rax*4], edx
mov dword [rdi + r8*4], r9d
mov edx, eax
shr eax, 1
jne 0x14002d8c0
jmp 0x14002d904
mov eax, dword [rsp + 0x34]
lea rdx, str.Offset__d_out_of_range__d.._d
mov r9d, r11d
add eax, 0xfffffffc
mov r8d, ebx
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.14002d078
and dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x58]
mov r10, qword [rsp + 0x68]
mov r11d, dword [rsp + 0x48]
sub eax, 1
mov dword [rsp + 0x40], eax
jns 0x14002d682
mov ecx, dword [rsp + 0x84]
mov rdx, qword [rsp + 0x100]
mov rax, qword [rsp + 0x108]
mov qword [rdx], rax
and qword [rsi + 0x28], 0
cmp dword [rsp + 0x44], 0
je 0x14002db71
cmp dword [rsi + 0x1c], 0
jle 0x14002db78
cmp byte [rbp + 8], 0
jne 0x14002d9f7
mov rdi, qword [rsi + 0x58]
movsxd rax, ecx
movsxd rcx, dword [rsp + 0x60]
and dword [rdi], 0
mov qword [rsp + 0x50], rax
test rax, rax
js 0x14002d9f7
lea rsi, [rcx + rax*2]
mov rcx, qword [rsp + 0x58]
add rsi, rcx
movzx ebx, byte [rsi]
movzx eax, byte [rsi + 1]
shl ebx, 8
or ebx, eax
mov edx, ebx
add rdx, rcx
mov rcx, rbp
call qword [rbp + Ordinal_122]
movzx r11d, ax
lea ecx, [r11 + rbx - 1]
shl ebx, 0x10
or ecx, ebx
inc dword [rdi]
mov edx, dword [rdi]
mov dword [rdi + rdx*4], ecx
mov eax, edx
jmp 0x14002d9d0
mov r9d, dword [rdi + rax*4]
mov r8d, edx
mov edx, dword [rdi + r8*4]
cmp r9d, edx
jbe 0x14002d9d4
mov dword [rdi + rax*4], edx
mov dword [rdi + r8*4], r9d
mov edx, eax
shr eax, 1
jne 0x14002d9b7
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
sub rsi, 2
dec rax
mov qword [rsp + 0x50], rax
test rax, rax
jns 0x14002d987
mov rsi, qword [rsp + 0xf0]
mov r9, qword [rsp + 0x58]
mov rax, qword [rsp + 0x98]
movzx r8d, byte [rax + r9 + 1]
movzx eax, byte [rax + r9 + 2]
shl r8d, 8
jmp 0x14002da6c
movsxd r10, r8d
movzx ecx, byte [r10 + r9 + 2]
movzx eax, byte [r10 + r9 + 3]
shl ecx, 8
or ecx, eax
lea edx, [rcx + r8 - 1]
shl r8d, 0x10
or edx, r8d
inc dword [rdi]
mov ecx, dword [rdi]
mov dword [rdi + rcx*4], edx
mov eax, ecx
jmp 0x14002da5a
mov r11d, dword [rdi + rax*4]
mov r8d, ecx
mov ecx, dword [rdi + r8*4]
cmp r11d, ecx
jbe 0x14002da5e
mov dword [rdi + rax*4], ecx
mov dword [rdi + r8*4], r11d
mov ecx, eax
shr eax, 1
jne 0x14002da41
movzx eax, byte [r10 + r9]
movzx r8d, byte [r10 + r9 + 1]
shl eax, 8
or r8d, eax
jg 0x14002da16
mov ebx, dword [rsp + 0x48]
xor r10d, r10d
dec ebx
cmp dword [rdi], 0
mov dword [rsp + 0xf0], r10d
je 0x14002db2f
mov ecx, dword [rdi]
mov r8d, dword [rdi + 4]
mov qword [rsp + 0x50], 1
mov eax, dword [rdi + rcx*4]
mov dword [rdi + 4], eax
or dword [rdi + rcx*4], 0xffffffff
dec dword [rdi]
mov eax, 2
mov edx, eax
mov rcx, rax
cmp dword [rdi], eax
jb 0x14002daeb
mov rbp, qword [rsp + 0x50]
mov eax, dword [rdi + rcx*4 + 4]
cmp dword [rdi + rcx*4], eax
jbe 0x14002dac7
inc edx
inc rcx
mov r11d, dword [rdi + rbp*4]
mov eax, dword [rdi + rcx*4]
cmp r11d, eax
jb 0x14002dae6
mov dword [rdi + rbp*4], eax
mov dword [rdi + rcx*4], r11d
add edx, edx
mov rbp, rcx
add rcx, rcx
cmp edx, dword [rdi]
jbe 0x14002dab9
mov rbp, qword [rsp + 0x78]
mov eax, r8d
movzx ecx, bx
shr eax, 0x10
cmp ecx, eax
jae 0x14002db07
sub eax, ecx
mov ebx, r8d
lea r10d, [r10 + rax - 1]
jmp 0x14002da7a
mov r9d, dword [rsp + 0xf8]
lea rdx, str.Multiple_uses_for_byte__u_of_page__d
shr r8d, 0x10
mov rcx, rsi
call fcn.14002d078
mov r9, qword [rsp + 0x58]
mov r10d, dword [rsp + 0xf0]
mov ecx, dword [rsp + 0x34]
movzx eax, bx
sub ecx, eax
cmp dword [rdi], 0
lea r8d, [r10 + rcx - 1]
jne 0x14002db78
mov rax, qword [rsp + 0x98]
movzx r9d, byte [rax + r9 + 7]
cmp r8d, r9d
je 0x14002db78
mov eax, dword [rsp + 0xf8]
lea rdx, str.Fragmentation_of__d_bytes_reported_as__d_on_page__d
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.14002d078
jmp 0x14002db78
mov al, byte [rsp + 0x30]
mov byte [rbp], al
test rbp, rbp
je 0x14002db86
mov rcx, qword [rbp + 0x70]
call fcn.140020300
mov rax, qword [rsp + 0xb8]
mov qword [rsi + 0x28], rax
mov eax, dword [rsp + 0x94]
mov dword [rsi + 0x30], eax
mov eax, dword [rsp + 0x80]
mov dword [rsi + 0x34], eax
mov eax, dword [rsp + 0x3c]
inc eax
add rsp, 0xc8
pop rdi
pop rsi
pop rbp
pop rbx
ret