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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x70], 0xffffffff
mov dword [rsp + 0x6c], 1
mov dword [rsp + 0x64], 1
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x60], 0
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0x30]
mov dword [rsp + 0xa8], eax
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0x34]
mov dword [rsp + 0xac], eax
mov byte [rsp + 0x34], 0
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x34]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x108], 0
jne 0x18003663c
xor eax, eax
jmp 0x180037008
mov edx, dword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
call fcn.1800364f0
test eax, eax
je 0x18003665b
xor eax, eax
jmp 0x180037008
mov rax, qword [rsp + 0x100]
lea rcx, str.Page__d:
mov qword [rax + 0x28], rcx
mov rax, qword [rsp + 0x100]
mov ecx, dword [rsp + 0x108]
mov dword [rax + 0x30], ecx
xor r9d, r9d
lea r8, [rsp + 0x48]
mov edx, dword [rsp + 0x108]
mov rcx, qword [rsp + 0xa0]
call fcn.180033f30
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x1800366c5
mov r8d, dword [rsp + 0x58]
lea rdx, str.unable_to_get_the_page._error_code_d
mov rcx, qword [rsp + 0x100]
call fcn.180035f30
jmp 0x180036fad
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x34], al
mov rax, qword [rsp + 0x48]
mov byte [rax], 0
mov rcx, qword [rsp + 0x48]
call fcn.180034270
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x18003670c
mov r8d, dword [rsp + 0x58]
lea rdx, str.btreeInitPage___returns_error_code__d
mov rcx, qword [rsp + 0x100]
call fcn.180035f30
jmp 0x180036fad
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 9]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x100]
lea rcx, str.On_tree_page__d_cell__d:
mov qword [rax + 0x28], rcx
mov eax, dword [rsp + 0x3c]
add eax, 5
cdqe
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov ecx, 1
imul rcx, rcx, 0
movzx eax, byte [rax + rcx]
shl eax, 8
mov ecx, dword [rsp + 0x3c]
add ecx, 5
movsxd rcx, ecx
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov edx, 1
imul rdx, rdx, 1
movzx ecx, byte [rcx + rdx]
or eax, ecx
dec eax
and eax, 0xffff
inc eax
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x3c]
add eax, 3
cdqe
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov ecx, 1
imul rcx, rcx, 0
movzx eax, byte [rax + rcx]
shl eax, 8
mov ecx, dword [rsp + 0x3c]
add ecx, 3
movsxd rcx, ecx
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov edx, 1
imul rdx, rdx, 1
movzx ecx, byte [rcx + rdx]
or eax, ecx
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x3c]
add eax, 0xc
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx + 8]
shl ecx, 2
sub eax, ecx
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x80]
lea eax, [rax + rcx*2 - 2]
cdqe
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 8]
test eax, eax
jne 0x1800368c3
mov eax, dword [rsp + 0x3c]
add eax, 8
cdqe
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.18007c930
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x180036894
mov rax, qword [rsp + 0x100]
lea rcx, str.On_page__d_at_right_child:
mov qword [rax + 0x28], rcx
mov r9d, dword [rsp + 0x108]
mov r8b, 5
mov edx, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x100]
call fcn.1800363e0
mov r9, qword [rsp + 0x118]
lea r8, [rsp + 0x118]
mov edx, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x100]
call fcn.180036580
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x64], 0
jmp 0x1800368e9
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x78], rax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
mov dword [rcx + rax], 0
mov eax, dword [rsp + 0x80]
dec eax
mov dword [rsp + 0x30], eax
jmp 0x180036902
mov eax, dword [rsp + 0x30]
dec eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x180036c71
mov rax, qword [rsp + 0x100]
cmp dword [rax + 0x1c], 0
je 0x180036c71
mov rax, qword [rsp + 0x100]
mov ecx, dword [rsp + 0x30]
mov dword [rax + 0x34], ecx
mov rax, qword [rsp + 0xc0]
movzx eax, word [rax]
ror ax, 8
movzx eax, ax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xc0]
sub rax, 2
mov qword [rsp + 0xc0], rax
mov eax, dword [rsp + 0x84]
cmp dword [rsp + 0x38], eax
jb 0x180036972
mov eax, dword [rsp + 0x50]
sub eax, 4
cmp dword [rsp + 0x38], eax
jbe 0x1800369ab
mov eax, dword [rsp + 0x50]
sub eax, 4
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x84]
mov r8d, dword [rsp + 0x38]
lea rdx, str.Offset__d_out_of_range__d.._d
mov rcx, qword [rsp + 0x100]
call fcn.180035f30
mov dword [rsp + 0x6c], 0
jmp 0x1800368f8
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc8], rax
lea r8, [rsp + 0xd0]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x48]
call qword [rax + 0x80]
movzx eax, word [rsp + 0xe6]
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x50]
jbe 0x180036a19
lea rdx, str.Extends_off_end_of_page
mov rcx, qword [rsp + 0x100]
call fcn.180035f30
mov dword [rsp + 0x6c], 0
jmp 0x1800368f8
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 2]
test eax, eax
je 0x180036ae1
cmp dword [rsp + 0x64], 0
je 0x180036a6b
mov rax, qword [rsp + 0x118]
cmp qword [rsp + 0xd0], rax
jle 0x180036a50
mov dword [rsp + 0x94], 1
jmp 0x180036a5b
mov dword [rsp + 0x94], 0
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x9c], eax
jmp 0x180036aa3
mov rax, qword [rsp + 0x118]
cmp qword [rsp + 0xd0], rax
jl 0x180036a8a
mov dword [rsp + 0x98], 1
jmp 0x180036a95
mov dword [rsp + 0x98], 0
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x9c], eax
cmp dword [rsp + 0x9c], 0
je 0x180036ac9
mov r8, qword [rsp + 0xd0]
lea rdx, str.Rowid__lld_out_of_order
mov rcx, qword [rsp + 0x100]
call fcn.180035f30
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x118], rax
mov dword [rsp + 0x64], 0
movzx eax, word [rsp + 0xe4]
cmp dword [rsp + 0xe0], eax
jbe 0x180036b9b
movzx eax, word [rsp + 0xe4]
mov ecx, dword [rsp + 0xe0]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x50]
lea eax, [rax + rcx - 5]
mov ecx, dword [rsp + 0x50]
sub ecx, 4
xor edx, edx
div ecx
mov dword [rsp + 0xb0], eax
movzx eax, word [rsp + 0xe6]
sub eax, 4
cdqe
mov rcx, qword [rsp + 0xc8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.18007c930
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x180036b7c
mov r9d, dword [rsp + 0x108]
mov r8b, 3
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x100]
call fcn.1800363e0
mov r9d, dword [rsp + 0xb0]
mov r8d, dword [rsp + 0x88]
xor edx, edx
mov rcx, qword [rsp + 0x100]
call fcn.180036120
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 8]
test eax, eax
jne 0x180036c47
mov rcx, qword [rsp + 0xc8]
call fcn.18007c930
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x180036be9
mov r9d, dword [rsp + 0x108]
mov r8b, 5
mov edx, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x100]
call fcn.1800363e0
mov r9, qword [rsp + 0x118]
lea r8, [rsp + 0x118]
mov edx, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x100]
call fcn.180036580
mov dword [rsp + 0x8c], eax
mov dword [rsp + 0x64], 0
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x8c], eax
je 0x180036c45
lea rdx, str.Child_page_depth_differs
mov rcx, qword [rsp + 0x100]
call fcn.180035f30
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x70], eax
jmp 0x180036c6c
mov eax, dword [rsp + 0x38]
shl eax, 0x10
movzx ecx, word [rsp + 0xe6]
mov edx, dword [rsp + 0x38]
lea ecx, [rdx + rcx - 1]
or eax, ecx
mov edx, eax
mov rcx, qword [rsp + 0x78]
call fcn.180034040
jmp 0x1800368f8
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x118]
mov qword [rax], rcx
mov rax, qword [rsp + 0x100]
mov qword [rax + 0x28], 0
cmp dword [rsp + 0x6c], 0
je 0x180036fad
mov rax, qword [rsp + 0x100]
cmp dword [rax + 0x1c], 0
jle 0x180036fad
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 8]
test eax, eax
jne 0x180036d7e
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x78], rax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
mov dword [rcx + rax], 0
mov eax, dword [rsp + 0x80]
dec eax
mov dword [rsp + 0x30], eax
jmp 0x180036d01
mov eax, dword [rsp + 0x30]
dec eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x180036d7e
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x30]
lea eax, [rax + rcx*2]
cdqe
mov rcx, qword [rsp + 0x40]
movzx eax, word [rcx + rax]
ror ax, 8
movzx eax, ax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x48]
call qword [rax + 0x78]
movzx eax, ax
mov dword [rsp + 0xb4], eax
mov eax, dword [rsp + 0x38]
shl eax, 0x10
mov ecx, dword [rsp + 0x38]
mov edx, dword [rsp + 0xb4]
lea ecx, [rcx + rdx - 1]
or eax, ecx
mov edx, eax
mov rcx, qword [rsp + 0x78]
call fcn.180034040
jmp 0x180036cf7
mov eax, dword [rsp + 0x3c]
inc eax
cdqe
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov ecx, 1
imul rcx, rcx, 0
movzx eax, byte [rax + rcx]
shl eax, 8
mov ecx, dword [rsp + 0x3c]
inc ecx
movsxd rcx, ecx
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov edx, 1
imul rdx, rdx, 1
movzx ecx, byte [rcx + rdx]
or eax, ecx
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jle 0x180036e9c
mov eax, dword [rsp + 0x30]
add eax, 2
cdqe
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov ecx, 1
imul rcx, rcx, 0
movzx eax, byte [rax + rcx]
shl eax, 8
mov ecx, dword [rsp + 0x30]
add ecx, 2
movsxd rcx, ecx
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov edx, 1
imul rdx, rdx, 1
movzx ecx, byte [rcx + rdx]
or eax, ecx
mov dword [rsp + 0xb8], eax
mov eax, dword [rsp + 0x30]
shl eax, 0x10
mov ecx, dword [rsp + 0x30]
mov edx, dword [rsp + 0xb8]
lea ecx, [rcx + rdx - 1]
or eax, ecx
mov edx, eax
mov rcx, qword [rsp + 0x78]
call fcn.180034040
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov ecx, 1
imul rcx, rcx, 0
movzx eax, byte [rax + rcx]
shl eax, 8
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov edx, 1
imul rdx, rdx, 1
movzx ecx, byte [rcx + rdx]
or eax, ecx
mov dword [rsp + 0xbc], eax
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0x30], eax
jmp 0x180036dc8
mov dword [rsp + 0x54], 0
mov eax, dword [rsp + 0x84]
dec eax
mov dword [rsp + 0x60], eax
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x78]
call fcn.180034110
test eax, eax
je 0x180036f2b
mov eax, dword [rsp + 0x60]
and eax, 0xffff
mov ecx, dword [rsp + 0x68]
shr ecx, 0x10
cmp eax, ecx
jb 0x180036f02
mov eax, dword [rsp + 0x68]
shr eax, 0x10
mov r9d, dword [rsp + 0x108]
mov r8d, eax
lea rdx, str.Multiple_uses_for_byte__u_of_page__d
mov rcx, qword [rsp + 0x100]
call fcn.180035f30
jmp 0x180036f2b
mov eax, dword [rsp + 0x68]
shr eax, 0x10
mov ecx, dword [rsp + 0x60]
and ecx, 0xffff
sub eax, ecx
mov ecx, dword [rsp + 0x54]
lea eax, [rcx + rax - 1]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x60], eax
jmp 0x180036eb1
mov eax, dword [rsp + 0x60]
and eax, 0xffff
mov ecx, dword [rsp + 0x50]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x54]
lea eax, [rcx + rax - 1]
mov dword [rsp + 0x54], eax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
cmp dword [rcx + rax], 0
jne 0x180036fad
mov eax, dword [rsp + 0x3c]
add eax, 7
cdqe
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
cmp dword [rsp + 0x54], eax
je 0x180036fad
mov eax, dword [rsp + 0x3c]
add eax, 7
cdqe
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 0x108]
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov r8d, dword [rsp + 0x54]
lea rdx, str.Fragmentation_of__d_bytes_reported_as__d_on_page__d
mov rcx, qword [rsp + 0x100]
call fcn.180035f30
cmp dword [rsp + 0x6c], 0
jne 0x180036fc0
mov rax, qword [rsp + 0x48]
movzx ecx, byte [rsp + 0x34]
mov byte [rax], cl
mov rcx, qword [rsp + 0x48]
call fcn.1800597d0
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xe8]
mov qword [rax + 0x28], rcx
mov rax, qword [rsp + 0x100]
mov ecx, dword [rsp + 0xa8]
mov dword [rax + 0x30], ecx
mov rax, qword [rsp + 0x100]
mov ecx, dword [rsp + 0xac]
mov dword [rax + 0x34], ecx
mov eax, dword [rsp + 0x70]
inc eax
add rsp, 0xf8
ret