Function at 0x140181950
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 r13
push r15
sub rsp, 0xc0
mov rax, qword [rcx + 0x28]
xor r12d, r12d
mov r15, qword [rcx]
mov edi, 1
mov qword [rsp + 0xa0], rax
mov ebp, edx
mov eax, dword [rcx + 0x30]
mov rsi, rcx
mov dword [rsp + 0x58], eax
mov r13d, edi
mov eax, dword [rcx + 0x34]
mov ebx, r12d
mov dword [rsp + 0x5c], eax
mov eax, dword [r15 + 0x38]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x38], 0xffffffff
mov dword [rsp + 0x34], edi
mov qword [rsp + 0x70], r15
test edx, edx
je 0x140182093
call fcn.1401818c0
test eax, eax
jne 0x140182093
lea rax, str.Page__d:
mov dword [rsi + 0x30], ebp
mov qword [rsi + 0x28], rax
lea r8, [rsp + 0x90]
mov rax, qword [r15]
xor r9d, r9d
mov edx, ebp
mov rcx, rax
call qword [rax + 0x108]
test eax, eax
jne 0x14018205f
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0xb8], r14
mov r14, qword [rcx + 0x10]
mov qword [rsp + 0x68], r14
cmp ebp, dword [r14 + 4]
je 0x140181a40
mov rax, qword [rcx + 8]
cmp ebp, edi
mov qword [r14 + 0x50], rax
mov eax, r12d
mov qword [r14 + 0x70], rcx
mov ecx, 0x64
cmove eax, ecx
mov qword [r14 + 0x48], r15
mov byte [r14 + 9], al
mov dword [r14 + 4], ebp
movzx eax, byte [r14]
mov rcx, r14
mov byte [rsp + 0x100], al
mov byte [r14], bl
call fcn.1401801a0
test eax, eax
je 0x140181a71
mov r8d, eax
lea rdx, str.btreeInitPage___returns_error_code__d
mov rcx, rsi
call fcn.140181330
jmp 0x140182000
mov rcx, r14
call fcn.14017f410
test eax, eax
je 0x140181a94
mov r8d, eax
lea rdx, str.free_space_corruption
mov rcx, rsi
call fcn.140181330
jmp 0x140182000
mov r10, qword [r14 + 0x50]
lea rax, str.On_tree_page__d_cell__d:
movzx r8d, byte [r14 + 9]
mov qword [rsi + 0x28], rax
movzx edx, byte [r14 + 8]
mov qword [rsp + 0x48], r10
movzx ecx, byte [r8 + r10 + 5]
movzx eax, byte [r8 + r10 + 6]
movzx ebp, byte [r8 + r10 + 4]
shl ecx, 8
or ecx, eax
mov qword [rsp + 0x98], r8
dec ecx
movzx eax, cx
mov ecx, 3
mov dword [rsp + 0x3c], eax
sub ecx, edx
lea r9d, [rax + 1]
movzx eax, byte [r8 + r10 + 3]
shl eax, 8
or ebp, eax
mov dword [rsp + 0x44], r9d
lea eax, [r8 + rcx*4]
mov dword [rsp + 0x50], ebp
mov dword [rsp + 0x54], eax
lea eax, [rax + rbp*2]
add eax, 0xfffffffe
movsxd rcx, eax
add rcx, r10
mov qword [rsp + 0x60], rcx
test dl, dl
jne 0x140181b79
mov edi, dword [r8 + r10 + 8]
bswap edi
cmp byte [r15 + 0x21], bl
je 0x140181b43
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.140181750
mov r9, qword [rsp + 0x118]
lea r8, [rsp + 0x118]
mov edx, edi
mov rcx, rsi
call fcn.140181950
mov rcx, qword [rsp + 0x60]
mov r13d, r12d
mov r9d, dword [rsp + 0x44]
mov r10, qword [rsp + 0x48]
mov edi, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
jmp 0x140181b80
mov rbx, qword [rsi + 0x58]
mov dword [rbx], r12d
lea eax, [rbp - 1]
mov dword [rsp + 0x40], eax
test eax, eax
js 0x140181d6c
mov r15d, dword [rsp + 0x30]
cmp dword [rsi + 0x1c], r12d
je 0x140181d68
mov dword [rsi + 0x34], eax
lea ebp, [r15 - 4]
movzx eax, word [rcx]
sub rcx, 2
ror ax, 8
movzx edi, ax
mov qword [rsp + 0x60], rcx
cmp edi, r9d
jb 0x140181f75
cmp edi, ebp
ja 0x140181f75
lea r15, [r10 + rdi]
mov rcx, r14
mov rdx, r15
lea r8, [rsp + 0x78]
call qword [r14 + 0x80]
movzx r8d, word [rsp + 0x8e]
mov edx, dword [rsp + 0x30]
lea eax, [rdi + r8]
cmp eax, edx
jbe 0x140181c10
lea rdx, str.Extends_off_end_of_page
mov rcx, rsi
call fcn.140181330
mov edi, r12d
mov dword [rsp + 0x34], r12d
jmp 0x140181d43
cmp byte [r14 + 2], r12b
je 0x140181c6e
mov rax, qword [rsp + 0x78]
mov ecx, r12d
test r13d, r13d
je 0x140181c30
cmp rax, qword [rsp + 0x118]
setg cl
jmp 0x140181c3b
cmp rax, qword [rsp + 0x118]
setge cl
test ecx, ecx
je 0x140181c63
mov r8, rax
lea rdx, str.Rowid__lld_out_of_order
mov rcx, rsi
call fcn.140181330
movzx r8d, word [rsp + 0x8e]
mov rax, qword [rsp + 0x78]
mov edx, dword [rsp + 0x30]
mov qword [rsp + 0x118], rax
mov r13d, r12d
movzx ecx, word [rsp + 0x8c]
mov eax, dword [rsp + 0x88]
cmp eax, ecx
jbe 0x140181cd8
sub eax, ecx
movzx ecx, r8w
add eax, 0xfffffffb
add eax, edx
xor edx, edx
div ebp
mov ebp, dword [rcx + r15 - 4]
mov r14d, eax
mov rax, qword [rsp + 0x70]
bswap ebp
cmp byte [rax + 0x21], r12b
je 0x140181cba
mov r9d, dword [rsp + 0x108]
mov r8b, 3
mov edx, ebp
mov rcx, rsi
call fcn.140181750
mov r9d, r14d
mov r8d, ebp
xor edx, edx
mov rcx, rsi
call fcn.140181510
movzx r8d, word [rsp + 0x8e]
mov r14, qword [rsp + 0x68]
cmp byte [r14 + 8], r12b
jne 0x140181f5b
mov rax, qword [rsp + 0x70]
mov edi, dword [r15]
bswap edi
cmp byte [rax + 0x21], r12b
je 0x140181d07
mov r9d, dword [rsp + 0x108]
mov r8b, 5
mov edx, edi
mov rcx, rsi
call fcn.140181750
mov r9, qword [rsp + 0x118]
lea r8, [rsp + 0x118]
mov edx, edi
mov rcx, rsi
call fcn.140181950
mov edi, eax
mov r13d, r12d
cmp eax, dword [rsp + 0x38]
je 0x140181d3f
lea rdx, str.Child_page_depth_differs
mov rcx, rsi
call fcn.140181330
mov dword [rsp + 0x38], edi
mov edi, dword [rsp + 0x34]
mov r15d, dword [rsp + 0x30]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
sub eax, 1
mov r9d, dword [rsp + 0x44]
mov r10, qword [rsp + 0x48]
mov dword [rsp + 0x40], eax
jns 0x140181b94
mov ebp, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x110]
mov rax, qword [rsp + 0x118]
mov qword [rcx], rax
mov qword [rsi + 0x28], r12
test edi, edi
je 0x140181ff5
cmp dword [rsi + 0x1c], r12d
jle 0x140182000
mov r13, qword [rsp + 0x48]
cmp byte [r14 + 8], r12b
jne 0x140181e3e
sub rbp, 1
mov rbx, qword [rsi + 0x58]
mov dword [rbx], r12d
js 0x140181e3e
movsxd rax, dword [rsp + 0x54]
mov r15, qword [rsp + 0x68]
lea r14, [rax + rbp*2]
add r14, r13
nop word [rax + rax]
movzx eax, word [r14]
mov rcx, r15
ror ax, 8
movzx edi, ax
lea rdx, [rdi + r13]
call qword [r15 + 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 0x140181e31
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 0x140181e31
mov dword [rdx], r9d
mov dword [rbx + rax*4], r8d
mov r8d, ecx
shr ecx, 1
jne 0x140181e10
sub r14, 2
sub rbp, 1
jns 0x140181dd0
mov r14, r15
mov r15, qword [rsp + 0x98]
movzx r8d, byte [r15 + r13 + 1]
movzx eax, byte [r15 + r13 + 2]
shl r8d, 8
or r8d, eax
jbe 0x140181ec5
nop dword [rax + rax]
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 0x140181eb1
mov eax, r8d
lea rdx, [rbx + rcx*4]
mov r8d, dword [rdx]
mov r9d, dword [rbx + rax*4]
cmp r8d, r9d
jbe 0x140181eb1
mov dword [rdx], r9d
mov dword [rbx + rax*4], r8d
mov r8d, ecx
shr ecx, 1
jne 0x140181e90
movzx r8d, byte [r10 + r13]
movzx eax, byte [r10 + r13 + 1]
shl r8d, 8
or r8d, eax
ja 0x140181e60
mov ecx, dword [rbx]
test ecx, ecx
je 0x140181fb5
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 0x140181f35
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 0x140181f35
mov dword [rbx + rax*4], r8d
mov r9d, ecx
lea r8d, [rcx + rcx]
mov dword [rbx + rcx*4], edx
cmp r8d, dword [rbx]
jbe 0x140181f00
mov ebp, dword [rsp + 0x3c]
mov r8d, r10d
shr r8d, 0x10
movzx eax, bp
cmp eax, r8d
jae 0x140181f98
sub r8d, eax
mov dword [rsp + 0x3c], r10d
dec r12d
add r12d, r8d
jmp 0x140181ec5
movzx edx, r8w
mov rcx, rbx
dec edx
add edx, edi
shl edi, 0x10
or edx, edi
call fcn.140180160
jmp 0x140181d3f
mov r8d, edi
mov dword [rsp + 0x20], ebp
lea rdx, str.Offset__d_out_of_range__d.._d
mov rcx, rsi
call fcn.140181330
mov edi, r12d
mov dword [rsp + 0x34], r12d
jmp 0x140181d48
mov edi, dword [rsp + 0x108]
lea rdx, str.Multiple_uses_for_byte__u_of_page__d
mov r9d, edi
mov rcx, rsi
call fcn.140181330
mov ecx, dword [rbx]
jmp 0x140181fc0
mov edi, dword [rsp + 0x108]
mov ebp, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x30]
movzx eax, bp
sub r8d, eax
dec r8d
add r8d, r12d
test ecx, ecx
jne 0x140182000
movzx r9d, byte [r15 + r13 + 7]
cmp r8d, r9d
je 0x140182000
lea rdx, str.Fragmentation_of__d_bytes_reported_as__d_on_page__d
mov dword [rsp + 0x20], edi
mov rcx, rsi
call fcn.140181330
jmp 0x140182000
movzx eax, byte [rsp + 0x100]
mov byte [r14], al
mov r8, qword [r14 + 0x70]
mov r14, qword [rsp + 0xb8]
test byte [r8 + 0x34], 0x20
je 0x140182055
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 0x140182071
mov rcx, r8
call fcn.1401c9be0
jmp 0x140182071
mov r8d, eax
lea rdx, str.unable_to_get_the_page._error_code_d
mov rcx, rsi
call fcn.140181330
mov rax, qword [rsp + 0xa0]
mov qword [rsi + 0x28], rax
mov eax, dword [rsp + 0x58]
mov dword [rsi + 0x30], eax
mov eax, dword [rsp + 0x5c]
mov dword [rsi + 0x34], eax
mov eax, dword [rsp + 0x38]
inc eax
jmp 0x140182095
xor eax, eax
add rsp, 0xc0
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret