Function at 0x1802b74b0
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 r13
push r14
push r15
sub rsp, 0xc0
mov rax, qword [rcx + 0x28]
mov edi, 1
mov rbp, qword [rcx]
xor r15d, r15d
mov qword [rsp + 0xa0], rax
mov r13d, edx
mov eax, dword [rcx + 0x30]
mov rsi, rcx
mov dword [rsp + 0x5c], eax
mov r14d, edi
mov eax, dword [rcx + 0x34]
mov ebx, r15d
mov dword [rsp + 0x60], eax
mov eax, dword [rbp + 0x34]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x34], edi
mov qword [rsp + 0x70], rbp
test edx, edx
je 0x1802b7bc5
call fcn.1802b70f0
test eax, eax
jne 0x1802b7bc5
lea rax, str.Page__d:
mov dword [rsi + 0x30], r13d
mov qword [rsi + 0x28], rax
lea r8, [rsp + 0x90]
mov rax, qword [rbp]
xor r9d, r9d
mov edx, r13d
mov rcx, rax
call qword [rax + 0x108]
test eax, eax
jne 0x1802b7b91
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0xb8], r12
mov r12, qword [rcx + 0x10]
cmp r13d, dword [r12 + 4]
je 0x1802b75a9
mov rax, qword [rcx + 8]
cmp r13d, edi
mov qword [r12 + 0x50], rax
mov eax, r15d
mov qword [r12 + 0x70], rcx
mov ecx, 0x64
cmove eax, ecx
mov qword [r12 + 0x48], rbp
mov byte [r12 + 9], al
mov dword [r12 + 4], r13d
movzx eax, byte [r12]
mov rcx, r12
mov byte [rsp + 0x100], al
mov byte [r12], bl
call fcn.1802ac0a0
test eax, eax
je 0x1802b75dc
mov r8d, eax
lea rdx, str.btreeInitPage___returns_error_code__d
mov rcx, rsi
call fcn.1802b7030
jmp 0x1802b7b31
mov rcx, r12
call fcn.1802abe60
test eax, eax
je 0x1802b75ff
mov r8d, eax
lea rdx, str.free_space_corruption
mov rcx, rsi
call fcn.1802b7030
jmp 0x1802b7b31
mov r13, qword [r12 + 0x50]
lea rax, str.On_tree_page__d_cell__d:
movzx r8d, byte [r12 + 9]
mov qword [rsi + 0x28], rax
movzx edx, byte [r12 + 8]
mov qword [rsp + 0x50], r13
movzx ecx, byte [r8 + r13 + 5]
movzx eax, byte [r8 + r13 + 6]
movzx r10d, byte [r8 + r13 + 4]
shl ecx, 8
or ecx, eax
mov qword [rsp + 0x98], r8
dec ecx
movzx eax, cx
mov ecx, 3
mov dword [rsp + 0x40], eax
sub ecx, edx
lea r9d, [rax + 1]
movzx eax, byte [r8 + r13 + 3]
shl eax, 8
or r10d, eax
mov dword [rsp + 0x48], r9d
lea eax, [r8 + rcx*4]
mov dword [rsp + 0x4c], r10d
mov dword [rsp + 0x58], eax
lea eax, [rax + r10*2]
add eax, 0xfffffffe
movsxd rcx, eax
add rcx, r13
mov qword [rsp + 0x68], rcx
test dl, dl
jne 0x1802b76ee
mov edi, dword [r8 + r13 + 8]
bswap edi
cmp byte [rbp + 0x21], bl
je 0x1802b76b3
mov r9d, dword [rsp + 0x108]
lea rax, str.On_page__d_at_right_child:
mov r8b, 5
mov qword [rsi + 0x28], rax
mov edx, edi
mov rcx, rsi
call fcn.1802b7180
mov r9, qword [rsp + 0x118]
lea r8, [rsp + 0x118]
mov edx, edi
mov rcx, rsi
call fcn.1802b74b0
mov rcx, qword [rsp + 0x68]
mov r14d, r15d
mov r9d, dword [rsp + 0x48]
mov r10d, dword [rsp + 0x4c]
mov edi, dword [rsp + 0x30]
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x34], r15d
jmp 0x1802b76f5
mov rbx, qword [rsi + 0x58]
mov dword [rbx], r15d
lea eax, [r10 - 1]
mov dword [rsp + 0x44], eax
test eax, eax
js 0x1802b78e9
cmp dword [rsi + 0x1c], r15d
je 0x1802b78e4
mov ebp, dword [rsp + 0x38]
mov dword [rsi + 0x34], eax
add ebp, 0xfffffffc
movzx eax, word [rcx]
sub rcx, 2
ror ax, 8
movzx edi, ax
mov qword [rsp + 0x68], rcx
cmp edi, r9d
jb 0x1802b7aa5
cmp edi, ebp
ja 0x1802b7aa5
add r13, rdi
lea r8, [rsp + 0x78]
mov rdx, r13
mov rcx, r12
call qword [r12 + 0x80]
movzx r8d, word [rsp + 0x8e]
mov edx, dword [rsp + 0x38]
lea eax, [rdi + r8]
cmp eax, edx
jbe 0x1802b7784
lea rdx, str.Extends_off_end_of_page
mov rcx, rsi
call fcn.1802b7030
mov edi, r15d
mov dword [rsp + 0x30], r15d
jmp 0x1802b78c4
cmp byte [r12 + 2], r15b
je 0x1802b77e8
mov rax, qword [rsp + 0x78]
mov ecx, r15d
test r14d, r14d
je 0x1802b77a5
cmp rax, qword [rsp + 0x118]
setg cl
jmp 0x1802b77b0
cmp rax, qword [rsp + 0x118]
setge cl
test ecx, ecx
je 0x1802b77d8
mov r8, rax
lea rdx, str.Rowid__lld_out_of_order
mov rcx, rsi
call fcn.1802b7030
movzx r8d, word [rsp + 0x8e]
mov rax, qword [rsp + 0x78]
mov edx, dword [rsp + 0x38]
mov qword [rsp + 0x118], rax
mov r14d, r15d
mov dword [rsp + 0x34], r15d
movzx ecx, word [rsp + 0x8c]
mov eax, dword [rsp + 0x88]
cmp eax, ecx
jbe 0x1802b7852
sub eax, ecx
movzx ecx, r8w
add eax, 0xfffffffb
add eax, edx
xor edx, edx
div ebp
mov ebp, dword [rcx + r13 - 4]
mov r14d, eax
mov rax, qword [rsp + 0x70]
bswap ebp
cmp byte [rax + 0x21], r15b
je 0x1802b7834
mov r9d, dword [rsp + 0x108]
mov r8b, 3
mov edx, ebp
mov rcx, rsi
call fcn.1802b7180
mov r9d, r14d
mov r8d, ebp
xor edx, edx
mov rcx, rsi
call fcn.1802b7230
movzx r8d, word [rsp + 0x8e]
mov r14d, dword [rsp + 0x34]
cmp byte [r12 + 8], r15b
jne 0x1802b7a8b
mov rax, qword [rsp + 0x70]
mov edi, dword [r13]
bswap edi
cmp byte [rax + 0x21], r15b
je 0x1802b7883
mov r9d, dword [rsp + 0x108]
mov r8b, 5
mov edx, edi
mov rcx, rsi
call fcn.1802b7180
mov r9, qword [rsp + 0x118]
lea r8, [rsp + 0x118]
mov edx, edi
mov rcx, rsi
call fcn.1802b74b0
mov edi, eax
mov r14d, r15d
mov dword [rsp + 0x34], r15d
cmp eax, dword [rsp + 0x3c]
je 0x1802b78c0
lea rdx, str.Child_page_depth_differs
mov rcx, rsi
call fcn.1802b7030
mov dword [rsp + 0x3c], edi
mov edi, dword [rsp + 0x30]
mov r13, qword [rsp + 0x50]
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x68]
sub eax, 1
mov r9d, dword [rsp + 0x48]
mov dword [rsp + 0x44], eax
jns 0x1802b7705
mov r10d, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x110]
mov rax, qword [rsp + 0x118]
mov qword [rcx], rax
mov qword [rsi + 0x28], r15
test edi, edi
je 0x1802b7b25
cmp dword [rsi + 0x1c], r15d
jle 0x1802b7b31
cmp byte [r12 + 8], r15b
jne 0x1802b7975
mov rbx, qword [rsi + 0x58]
mov ebp, r10d
sub rbp, 1
mov dword [rbx], r15d
js 0x1802b7975
movsxd rax, dword [rsp + 0x58]
lea r14, [rax + rbp*2]
add r14, r13
nop word [rax + rax]
movzx eax, word [r14]
mov rcx, r12
ror ax, 8
movzx edi, ax
lea rdx, [rdi + r13]
call qword [r12 + 0x78]
movzx edx, ax
mov rcx, rbx
dec edx
add edx, edi
shl edi, 0x10
or edx, edi
call fcn.1802b7470
sub rbp, 1
lea r14, [r14 - 2]
jns 0x1802b7940
mov r14, qword [rsp + 0x98]
movzx eax, byte [r14 + r13 + 1]
movzx r8d, byte [r14 + r13 + 2]
shl eax, 8
or r8d, eax
jbe 0x1802b79f6
movzx edx, byte [r8 + r13 + 2]
movzx eax, byte [r8 + r13 + 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 0x1802b79e2
mov eax, r8d
lea rdx, [rbx + rcx*4]
mov r8d, dword [rdx]
mov r9d, dword [rbx + rax*4]
cmp r8d, r9d
jbe 0x1802b79e2
mov dword [rdx], r9d
mov dword [rbx + rax*4], r8d
mov r8d, ecx
shr ecx, 1
jne 0x1802b79c1
movzx r8d, byte [r10 + r13]
movzx eax, byte [r10 + r13 + 1]
shl r8d, 8
or r8d, eax
ja 0x1802b7991
mov ecx, dword [rbx]
test ecx, ecx
je 0x1802b7ae5
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 0x1802b7a65
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 0x1802b7a65
mov dword [rbx + rax*4], r8d
mov r9d, ecx
lea r8d, [rcx + rcx]
mov dword [rbx + rcx*4], edx
cmp r8d, dword [rbx]
jbe 0x1802b7a30
mov ebp, dword [rsp + 0x40]
mov r8d, r10d
shr r8d, 0x10
movzx eax, bp
cmp eax, r8d
jae 0x1802b7ac8
sub r8d, eax
mov dword [rsp + 0x40], r10d
dec r15d
add r15d, r8d
jmp 0x1802b79f6
movzx edx, r8w
mov rcx, rbx
dec edx
add edx, edi
shl edi, 0x10
or edx, edi
call fcn.1802b7470
jmp 0x1802b78c0
mov r8d, edi
mov dword [rsp + 0x20], ebp
lea rdx, str.Offset__d_out_of_range__d.._d
mov rcx, rsi
call fcn.1802b7030
mov edi, r15d
mov dword [rsp + 0x30], r15d
jmp 0x1802b78c9
mov edi, dword [rsp + 0x108]
lea rdx, str.Multiple_uses_for_byte__u_of_page__d
mov r9d, edi
mov rcx, rsi
call fcn.1802b7030
mov ecx, dword [rbx]
jmp 0x1802b7af0
mov edi, dword [rsp + 0x108]
mov ebp, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x38]
movzx eax, bp
sub r8d, eax
dec r8d
add r8d, r15d
test ecx, ecx
jne 0x1802b7b31
movzx r9d, byte [r14 + r13 + 7]
cmp r8d, r9d
je 0x1802b7b31
lea rdx, str.Fragmentation_of__d_bytes_reported_as__d_on_page__d
mov dword [rsp + 0x20], edi
mov rcx, rsi
call fcn.1802b7030
jmp 0x1802b7b31
movzx eax, byte [rsp + 0x100]
mov byte [r12], al
mov r8, qword [r12 + 0x70]
mov r12, qword [rsp + 0xb8]
test byte [r8 + 0x34], 0x20
je 0x1802b7b87
mov r10, qword [r8 + 0x28]
dec dword [r10 + 0x98]
mov rax, qword [r10 + 0xa8]
mov qword [r8 + 0x20], rax
movsxd rax, dword [r10 + 0xbc]
mov rcx, qword [r10 + 0x48]
mov qword [r10 + 0xa8], r8
mov edx, dword [r8 + 0x30]
mov r8, qword [r8 + 8]
dec edx
mov r9, qword [rcx]
imul rdx, rax
call qword [r9 + 0x90]
jmp 0x1802b7ba3
mov rcx, r8
call fcn.18029fc90
jmp 0x1802b7ba3
mov r8d, eax
lea rdx, str.unable_to_get_the_page._error_code_d
mov rcx, rsi
call fcn.1802b7030
mov rax, qword [rsp + 0xa0]
mov qword [rsi + 0x28], rax
mov eax, dword [rsp + 0x5c]
mov dword [rsi + 0x30], eax
mov eax, dword [rsp + 0x60]
mov dword [rsi + 0x34], eax
mov eax, dword [rsp + 0x3c]
inc eax
jmp 0x1802b7bc7
xor eax, eax
add rsp, 0xc0
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret