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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xd0
mov rax, qword [rcx + 0x28]
xor ebp, ebp
mov r12, qword [rcx]
mov edi, 1
mov qword [rsp + 0xb8], rax
mov r14d, 0xffffffff
mov eax, dword [rcx + 0x30]
mov r15d, edx
mov dword [rsp + 0x7c], eax
mov rsi, rcx
mov eax, dword [rcx + 0x34]
mov ebx, ebp
mov dword [rsp + 0x80], eax
mov eax, dword [r12 + 0x34]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x3c], r14d
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x40], r12
test edx, edx
je 0x140053083
call fcn.140052430
test eax, eax
jne 0x140053083
lea rax, str.Page__d:
mov dword [rsi + 0x30], r15d
mov qword [rsi + 0x28], rax
lea r8, [rsp + 0x110]
mov rcx, qword [r12]
xor r9d, r9d
mov edx, r15d
call fcn.140043590
test eax, eax
jne 0x14005304e
mov rcx, qword [rsp + 0x110]
mov qword [rsp + 0xc8], r13
mov r13, qword [rcx + 0x10]
mov qword [rsp + 0x68], r13
cmp r15d, dword [r13 + 0x88]
je 0x14005292c
mov rax, qword [rcx + 8]
cmp r15d, edi
mov qword [r13 + 0x50], rax
mov eax, ebp
mov qword [r13 + 0x70], rcx
mov ecx, 0x64
cmove eax, ecx
mov qword [r13 + 0x48], r12
mov byte [r13 + 5], al
mov dword [r13 + 0x88], r15d
movzx eax, byte [r13]
mov rcx, r13
mov byte [rsp + 0x110], al
mov byte [r13], bl
call fcn.140048fb0
test eax, eax
je 0x14005295f
mov r8d, eax
lea rdx, str.btreeInitPage___returns_error_code__d
mov rcx, rsi
call fcn.140052370
jmp 0x14005303b
mov r10, qword [r13 + 0x50]
lea rax, str.On_tree_page__d_cell__d:
movzx r8d, byte [r13 + 5]
mov qword [rsi + 0x28], rax
movzx edx, byte [r13 + 4]
mov qword [rsp + 0x60], r10
movzx ecx, byte [r8 + r10 + 5]
movzx eax, byte [r8 + r10 + 6]
movzx r14d, byte [r10 + r8 + 4]
shl ecx, 8
or ecx, eax
mov qword [rsp + 0xb0], r8
dec ecx
movzx eax, cx
mov ecx, 3
mov dword [rsp + 0x4c], eax
sub ecx, edx
lea r9d, [rax + 1]
movzx eax, byte [r10 + r8 + 3]
shl eax, 8
or r14d, eax
mov dword [rsp + 0x58], r9d
lea eax, [r8 + rcx*4]
mov dword [rsp + 0x74], r14d
mov dword [rsp + 0x78], eax
lea eax, [rax + r14*2]
add eax, 0xfffffffe
movsxd rcx, eax
add rcx, r10
mov qword [rsp + 0x88], rcx
test dl, dl
jne 0x140052a4a
mov edi, dword [r10 + r8 + 8]
bswap edi
cmp byte [r12 + 0x21], bl
je 0x140052a10
lea rax, str.On_page__d_at_right_child:
mov r9d, r15d
mov r8b, 5
mov qword [rsi + 0x28], rax
mov edx, edi
mov rcx, rsi
call fcn.1400524a0
mov r9, qword [rsp + 0x128]
lea r8, [rsp + 0x128]
mov edx, edi
mov rcx, rsi
call fcn.140052830
mov rcx, qword [rsp + 0x88]
mov r9d, dword [rsp + 0x58]
mov r10, qword [rsp + 0x60]
mov edi, dword [rsp + 0x38]
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x48], ebp
jmp 0x140052a50
mov rbx, qword [rsi + 0x60]
mov dword [rbx], ebp
lea r15d, [r14 - 1]
mov dword [rsp + 0x34], r15d
test r15d, r15d
js 0x140052d69
mov r14d, dword [rsp + 0x30]
nop word [rax + rax]
cmp dword [rsi + 0x1c], 0
je 0x140052d5f
mov dword [rsi + 0x34], r15d
lea edi, [r14 - 4]
movzx eax, word [rcx]
sub rcx, 2
ror ax, 8
movzx r13d, ax
mov qword [rsp + 0x88], rcx
cmp r13d, r9d
jb 0x140052faa
cmp r13d, edi
ja 0x140052faa
mov rax, qword [rsp + 0x68]
lea r14, [r10 + r13]
lea r8, [rsp + 0x90]
mov qword [rsp + 0x50], r14
mov rdx, r14
mov rcx, rax
call qword [rax + 0x80]
movzx eax, word [rsp + 0xa6]
mov edx, dword [rsp + 0x30]
add eax, r13d
cmp eax, edx
jbe 0x140052afa
lea rdx, str.Extends_off_end_of_page
mov rcx, rsi
call fcn.140052370
mov edi, ebp
mov dword [rsp + 0x38], ebp
jmp 0x140052d39
mov rax, qword [rsp + 0x68]
cmp byte [rax + 2], 0
je 0x140052b58
cmp dword [rsp + 0x48], 0
mov ecx, ebp
mov rax, qword [rsp + 0x90]
je 0x140052b23
cmp rax, qword [rsp + 0x128]
setg cl
jmp 0x140052b2e
cmp rax, qword [rsp + 0x128]
setge cl
test ecx, ecx
je 0x140052b50
mov r8, rax
lea rdx, str.Rowid__lld_out_of_order
mov rcx, rsi
call fcn.140052370
mov rax, qword [rsp + 0x90]
mov edx, dword [rsp + 0x30]
mov qword [rsp + 0x128], rax
movzx ecx, word [rsp + 0xa4]
mov eax, dword [rsp + 0xa0]
cmp eax, ecx
jbe 0x140052ccb
sub eax, ecx
movzx ecx, word [rsp + 0xa6]
add eax, 0xfffffffb
add eax, edx
xor edx, edx
div edi
mov r12d, dword [rcx + r14 - 4]
mov ebp, eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x40]
bswap r12d
cmp byte [rax + 0x21], 0
je 0x140052bb1
mov r9d, dword [rsp + 0x118]
mov r8b, 3
mov edx, r12d
mov rcx, rsi
call fcn.1400524a0
mov r15d, ebp
mov edi, r12d
test ebp, ebp
jle 0x140052cbf
nop
mov r8d, r15d
dec r15d
cmp dword [rsi + 0x1c], 0
je 0x140052cba
cmp edi, 1
jl 0x140052ca1
test edi, edi
je 0x140052cba
cmp edi, dword [rsi + 0x18]
ja 0x140052c8d
mov edx, edi
mov eax, edi
shr rdx, 3
and eax, 7
add rdx, qword [rsi + 0x10]
movzx ecx, byte [rdx]
bt ecx, eax
jb 0x140052c79
bts ecx, eax
xor r9d, r9d
mov byte [rdx], cl
lea r8, [rsp + 0xa8]
mov rcx, qword [rsi + 8]
mov edx, edi
call fcn.140043590
test eax, eax
jne 0x140052c65
mov rax, qword [rsi]
mov rbp, qword [rsp + 0xa8]
cmp byte [rax + 0x21], 0
mov r14, qword [rbp + 8]
je 0x140052c4d
test r15d, r15d
jle 0x140052c4d
mov edx, dword [r14]
mov r9d, edi
bswap edx
mov r8b, 4
mov rcx, rsi
call fcn.1400524a0
mov edi, dword [r14]
mov rcx, rbp
bswap edi
call fcn.140043af0
test r15d, r15d
jg 0x140052bc0
jmp 0x140052cba
mov r8d, edi
lea rdx, str.failed_to_get_page__d
mov rcx, rsi
call fcn.140052370
jmp 0x140052cba
mov r8d, edi
lea rdx, str.2nd_reference_to_page__d
mov rcx, rsi
call fcn.140052370
jmp 0x140052cba
mov r8d, edi
lea rdx, str.invalid_page_number__d
mov rcx, rsi
call fcn.140052370
jmp 0x140052cba
mov r9d, dword [rsp + 0x70]
lea rdx, str._d_of__d_pages_missing_from_overflow_list_starting_at__d
mov rcx, rsi
mov dword [rsp + 0x20], r12d
call fcn.140052370
mov r14, qword [rsp + 0x50]
mov r12, qword [rsp + 0x40]
xor ebp, ebp
mov r15d, dword [rsp + 0x34]
mov rax, qword [rsp + 0x68]
cmp byte [rax + 4], 0
jne 0x140052f50
cmp byte [r12 + 0x21], 0
mov edi, dword [r14]
bswap edi
je 0x140052cfc
mov r9d, dword [rsp + 0x118]
mov r8b, 5
mov edx, edi
mov rcx, rsi
call fcn.1400524a0
mov r9, qword [rsp + 0x128]
lea r8, [rsp + 0x128]
mov edx, edi
mov rcx, rsi
call fcn.140052830
mov edi, eax
mov dword [rsp + 0x48], ebp
cmp eax, dword [rsp + 0x3c]
je 0x140052d35
lea rdx, str.Child_page_depth_differs
mov rcx, rsi
call fcn.140052370
mov dword [rsp + 0x3c], edi
mov edi, dword [rsp + 0x38]
mov r14d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x88]
sub r15d, 1
mov r9d, dword [rsp + 0x58]
mov r10, qword [rsp + 0x60]
mov dword [rsp + 0x34], r15d
jns 0x140052a70
mov r13, qword [rsp + 0x68]
mov r14d, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x120]
mov rax, qword [rsp + 0x128]
mov qword [rcx], rax
mov qword [rsi + 0x28], rbp
test edi, edi
je 0x14005302a
cmp dword [rsi + 0x1c], 0
jle 0x140053036
cmp byte [r13 + 4], 0
mov r15, qword [rsp + 0x60]
jne 0x140052e2d
mov rbx, qword [rsi + 0x60]
mov dword [rbx], ebp
mov ebp, r14d
sub rbp, 1
js 0x140052e2b
movsxd rax, dword [rsp + 0x78]
lea r14, [rax + rbp*2]
add r14, r15
nop dword [rax]
movzx eax, word [r14]
mov rcx, r13
ror ax, 8
movzx edi, ax
lea rdx, [r15 + rdi]
call qword [r13 + 0x78]
inc dword [rbx]
lea ecx, [rdi - 1]
mov r8d, dword [rbx]
shl edi, 0x10
movzx eax, ax
add ecx, eax
or ecx, edi
mov dword [rbx + r8*4], ecx
mov ecx, r8d
shr ecx, 1
je 0x140052e21
nop dword [rax]
nop word [rax + rax]
mov eax, r8d
lea rdx, [rbx + rcx*4]
mov r8d, dword [rdx]
mov r9d, dword [rbx + rax*4]
cmp r8d, r9d
jbe 0x140052e21
mov dword [rdx], r9d
mov dword [rbx + rax*4], r8d
mov r8d, ecx
shr ecx, 1
jne 0x140052e00
sub r14, 2
sub rbp, 1
jns 0x140052dc0
xor ebp, ebp
mov r12, qword [rsp + 0xb0]
movzx r8d, byte [r15 + r12 + 1]
movzx eax, byte [r15 + r12 + 2]
shl r8d, 8
or r8d, eax
jbe 0x140052eb5
nop word [rax + rax]
movzx edx, byte [r8 + r15 + 2]
movzx eax, byte [r15 + r8 + 3]
inc dword [rbx]
shl edx, 8
or edx, eax
mov r10d, r8d
dec edx
add edx, r8d
shl r8d, 0x10
or edx, r8d
mov r8d, dword [rbx]
mov ecx, r8d
shr ecx, 1
mov dword [rbx + r8*4], edx
je 0x140052ea1
mov eax, r8d
lea rdx, [rbx + rcx*4]
mov r8d, dword [rdx]
mov r9d, dword [rbx + rax*4]
cmp r8d, r9d
jbe 0x140052ea1
mov dword [rdx], r9d
mov dword [rbx + rax*4], r8d
mov r8d, ecx
shr ecx, 1
jne 0x140052e80
movzx r8d, byte [r10 + r15]
movzx eax, byte [r15 + r10 + 1]
shl r8d, 8
or r8d, eax
ja 0x140052e50
mov ecx, dword [rbx]
test ecx, ecx
je 0x140052fe8
mov eax, dword [rbx + rcx*4]
lea rcx, [rbx + rcx*4]
mov r10d, dword [rbx + 4]
mov r8d, 2
mov dword [rbx + 4], eax
mov r9d, 1
mov dword [rcx], 0xffffffff
dec dword [rbx]
cmp dword [rbx], r8d
jb 0x140052f25
nop word [rax + rax]
mov ecx, r8d
lea edx, [r8 + 1]
mov eax, dword [rbx + rdx*4]
cmp dword [rbx + rcx*4], eax
mov eax, r9d
cmovbe edx, r8d
mov ecx, edx
mov edx, dword [rbx + rax*4]
mov r8d, dword [rbx + rcx*4]
cmp edx, r8d
jb 0x140052f25
mov dword [rbx + rax*4], r8d
mov r9d, ecx
lea r8d, [rcx + rcx]
mov dword [rbx + rcx*4], edx
cmp r8d, dword [rbx]
jbe 0x140052ef0
mov r14d, dword [rsp + 0x4c]
mov r8d, r10d
shr r8d, 0x10
movzx eax, r14w
cmp eax, r8d
jae 0x140052fcb
sub r8d, eax
mov dword [rsp + 0x4c], r10d
dec ebp
add ebp, r8d
jmp 0x140052eb5
inc dword [rbx]
mov r8d, dword [rbx]
movzx ecx, word [rsp + 0xa6]
dec ecx
add ecx, r13d
shl r13d, 0x10
or ecx, r13d
mov dword [rbx + r8*4], ecx
mov ecx, r8d
shr ecx, 1
je 0x140052d35
nop dword [rax + rax]
mov eax, r8d
lea rdx, [rbx + rcx*4]
mov r8d, dword [rdx]
mov r9d, dword [rbx + rax*4]
cmp r8d, r9d
jbe 0x140052d35
mov dword [rdx], r9d
mov dword [rbx + rax*4], r8d
mov r8d, ecx
shr ecx, 1
jne 0x140052f80
jmp 0x140052d35
mov r8d, r13d
mov dword [rsp + 0x20], edi
lea rdx, str.Offset__d_out_of_range__d.._d
mov rcx, rsi
call fcn.140052370
mov edi, ebp
mov dword [rsp + 0x38], ebp
jmp 0x140052d3e
mov edi, dword [rsp + 0x118]
lea rdx, str.Multiple_uses_for_byte__u_of_page__d
mov r9d, edi
mov rcx, rsi
call fcn.140052370
mov ecx, dword [rbx]
jmp 0x140052ff4
mov edi, dword [rsp + 0x118]
mov r14d, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x30]
movzx eax, r14w
sub r8d, eax
dec r8d
add r8d, ebp
test ecx, ecx
jne 0x140053036
movzx r9d, byte [r12 + r15 + 7]
cmp r8d, r9d
je 0x140053036
lea rdx, str.Fragmentation_of__d_bytes_reported_as__d_on_page__d
mov dword [rsp + 0x20], edi
mov rcx, rsi
call fcn.140052370
jmp 0x140053036
movzx eax, byte [rsp + 0x110]
mov byte [r13], al
mov r14d, dword [rsp + 0x3c]
mov rcx, qword [r13 + 0x70]
call fcn.140043af0
mov r13, qword [rsp + 0xc8]
jmp 0x140053060
mov r8d, eax
lea rdx, str.unable_to_get_the_page._error_code_d
mov rcx, rsi
call fcn.140052370
mov rax, qword [rsp + 0xb8]
mov qword [rsi + 0x28], rax
mov eax, dword [rsp + 0x7c]
mov dword [rsi + 0x30], eax
mov eax, dword [rsp + 0x80]
mov dword [rsi + 0x34], eax
lea eax, [r14 + 1]
jmp 0x140053085
xor eax, eax
add rsp, 0xd0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret