Function at 0x1400e4930
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 r15
sub rsp, 0xc8
mov rax, qword [rcx + 0x30]
mov ebp, 1
mov qword [rsp + 0xa0], rax
xor r12d, r12d
mov eax, dword [rcx + 0x3c]
mov edi, edx
mov dword [rsp + 0x60], eax
mov rsi, rcx
mov eax, dword [rcx + 0x40]
mov ebx, r12d
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x38], 0xffffffff
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x30], ebp
call fcn.1400e4770
cmp dword [rsi + 0x1c], ebx
je 0x1400e50a8
mov r15, qword [rsi]
mov qword [rsp + 0x70], r15
mov eax, dword [r15 + 0x38]
mov dword [rsp + 0x34], eax
test edi, edi
je 0x1400e50e2
mov edx, edi
mov rcx, rsi
call fcn.1400e48c0
test eax, eax
jne 0x1400e50e2
lea rax, str.Tree__u_page__u:
mov dword [rsi + 0x3c], edi
mov qword [rsi + 0x30], rax
lea r8, [rsp + 0x90]
mov rax, qword [r15]
xor r9d, r9d
mov edx, edi
mov rcx, rax
call qword [rax + 0x110]
test eax, eax
je 0x1400e4a05
mov r8d, eax
lea rdx, str.unable_to_get_the_page._error_code_d
mov rcx, rsi
call fcn.1400e4300
jmp 0x1400e50a8
mov rcx, qword [rsp + 0x90]
mov edx, dword [rsp + 0x108]
mov qword [rsp + 0xc0], r13
mov qword [rsp + 0xb8], r14
mov r13, qword [rcx + 0x10]
cmp edx, dword [r13 + 4]
je 0x1400e4a53
mov rax, qword [rcx + 8]
cmp edx, ebp
mov qword [r13 + 0x50], rax
mov eax, r12d
mov qword [r13 + 0x70], rcx
mov ecx, 0x64
cmove eax, ecx
mov qword [r13 + 0x48], r15
mov byte [r13 + 9], al
mov dword [r13 + 4], edx
movzx eax, byte [r13]
mov rcx, r13
mov byte [rsp + 0x100], al
mov byte [r13], bl
call fcn.1400e2ad0
test eax, eax
je 0x1400e4a86
mov r8d, eax
lea rdx, str.btreeInitPage___returns_error_code__d
mov rcx, rsi
call fcn.1400e4300
jmp 0x1400e504b
mov rcx, r13
call fcn.1400e1e30
test eax, eax
je 0x1400e4aa9
mov r8d, eax
lea rdx, str.free_space_corruption
mov rcx, rsi
call fcn.1400e4300
jmp 0x1400e504b
mov r10, qword [r13 + 0x50]
lea rax, str.Tree__u_page__u_cell__u:
movzx r11d, byte [r13 + 9]
mov qword [rsi + 0x30], rax
movzx edx, byte [r13 + 8]
mov qword [rsp + 0x48], r10
movzx eax, byte [r10 + r11 + 6]
movzx ecx, byte [r10 + r11 + 5]
movzx r14d, byte [r10 + r11 + 4]
shl ecx, 8
or ecx, eax
mov qword [rsp + 0x98], r11
movzx eax, byte [r10 + r11 + 3]
dec ecx
shl eax, 8
or r14d, eax
movzx r9d, cx
mov ecx, 3
mov dword [rsp + 0x5c], r9d
sub ecx, edx
mov dword [rsp + 0x54], r14d
inc r9d
mov dword [rsp + 0x44], r9d
lea eax, [r11 + rcx*4]
mov dword [rsp + 0x58], eax
lea eax, [rax + r14*2]
add eax, 0xfffffffe
movsxd r8, eax
add r8, r10
mov qword [rsp + 0x68], r8
test dl, dl
jne 0x1400e4b93
mov edi, dword [r10 + r11 + 8]
bswap edi
cmp byte [r15 + 0x21], bl
je 0x1400e4b5c
mov r9d, dword [rsp + 0x108]
lea rax, str.Tree__u_page__u_right_child:
mov r8b, 5
mov qword [rsi + 0x30], rax
mov edx, edi
mov rcx, rsi
call fcn.1400e4800
mov r9, qword [rsp + 0x118]
lea r8, [rsp + 0x118]
mov edx, edi
mov rcx, rsi
call fcn.1400e4930
mov r8, qword [rsp + 0x68]
mov ebp, r12d
mov r9d, dword [rsp + 0x44]
mov r10, qword [rsp + 0x48]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r12d
jmp 0x1400e4b9a
mov rbx, qword [rsi + 0x68]
mov dword [rbx], r12d
lea eax, [r14 - 1]
mov dword [rsp + 0x40], eax
test eax, eax
js 0x1400e4df6
mov r14d, dword [rsp + 0x34]
add r14d, 0xfffffffc
mov dword [rsp + 0x50], r14d
mov ecx, r14d
nop dword [rax + rax]
cmp dword [rsi + 0x1c], r12d
je 0x1400e4df1
mov dword [rsi + 0x40], eax
movzx eax, word [r8]
sub r8, 2
ror ax, 8
movzx edi, ax
mov qword [rsp + 0x68], r8
cmp edi, r9d
jb 0x1400e4db3
mov ecx, r14d
cmp edi, r14d
ja 0x1400e4db3
lea r15, [r10 + rdi]
mov rcx, r13
mov rdx, r15
lea r8, [rsp + 0x78]
call qword [r13 + 0x80]
movzx r9d, word [rsp + 0x8e]
mov edx, dword [rsp + 0x34]
lea eax, [rdi + r9]
cmp eax, edx
jbe 0x1400e4c35
lea rdx, str.Extends_off_end_of_page
mov rcx, rsi
call fcn.1400e4300
jmp 0x1400e4dc9
cmp byte [r13 + 1], r12b
je 0x1400e4c97
mov rax, qword [rsp + 0x78]
mov ecx, r12d
test ebp, ebp
je 0x1400e4c54
cmp rax, qword [rsp + 0x118]
setg cl
jmp 0x1400e4c5f
cmp rax, qword [rsp + 0x118]
setge cl
test ecx, ecx
je 0x1400e4c87
mov r8, rax
lea rdx, str.Rowid__lld_out_of_order
mov rcx, rsi
call fcn.1400e4300
movzx r9d, word [rsp + 0x8e]
mov rax, qword [rsp + 0x78]
mov edx, dword [rsp + 0x34]
mov qword [rsp + 0x118], rax
mov ebp, r12d
mov dword [rsp + 0x30], r12d
movzx ecx, word [rsp + 0x8c]
mov eax, dword [rsp + 0x88]
cmp eax, ecx
jbe 0x1400e4d06
sub eax, ecx
movzx ecx, r9w
add eax, 0xfffffffb
add eax, edx
xor edx, edx
div r14d
mov ebp, dword [rcx + r15 - 4]
mov r14d, eax
mov rax, qword [rsp + 0x70]
bswap ebp
cmp byte [rax + 0x21], r12b
je 0x1400e4ce4
mov r9d, dword [rsp + 0x108]
mov r8b, 3
mov edx, ebp
mov rcx, rsi
call fcn.1400e4800
mov r9d, r14d
mov r8d, ebp
xor edx, edx
mov rcx, rsi
call fcn.1400e4500
movzx r9d, word [rsp + 0x8e]
mov ebp, dword [rsp + 0x30]
mov r14d, dword [rsp + 0x50]
cmp byte [r13 + 8], r12b
jne 0x1400e4d70
mov rax, qword [rsp + 0x70]
mov edi, dword [r15]
bswap edi
cmp byte [rax + 0x21], r12b
je 0x1400e4d31
mov r9d, dword [rsp + 0x108]
mov r8b, 5
mov edx, edi
mov rcx, rsi
call fcn.1400e4800
mov r9, qword [rsp + 0x118]
lea r8, [rsp + 0x118]
mov edx, edi
mov rcx, rsi
call fcn.1400e4930
mov edi, eax
mov ebp, r12d
mov dword [rsp + 0x30], r12d
cmp eax, dword [rsp + 0x38]
je 0x1400e4dce
lea rdx, str.Child_page_depth_differs
mov rcx, rsi
call fcn.1400e4300
mov dword [rsp + 0x38], edi
jmp 0x1400e4dce
inc dword [rbx]
mov r8d, dword [rbx]
movzx ecx, r9w
dec ecx
add ecx, edi
shl edi, 0x10
or ecx, edi
mov dword [rbx + r8*4], ecx
mov ecx, r8d
shr ecx, 1
je 0x1400e4dce
nop dword [rax]
mov eax, r8d
lea rdx, [rbx + rcx*4]
mov r8d, dword [rdx]
mov r9d, dword [rbx + rax*4]
cmp r8d, r9d
jbe 0x1400e4dce
mov dword [rdx], r9d
mov dword [rbx + rax*4], r8d
mov r8d, ecx
shr ecx, 1
jne 0x1400e4d90
jmp 0x1400e4dce
mov dword [rsp + 0x20], ecx
lea rdx, str.Offset__u_out_of_range__u.._u
mov rcx, rsi
mov r8d, edi
call fcn.1400e4300
mov dword [rsp + 0x3c], r12d
mov eax, dword [rsp + 0x40]
mov ecx, r14d
mov r8, qword [rsp + 0x68]
sub eax, 1
mov r9d, dword [rsp + 0x44]
mov r10, qword [rsp + 0x48]
mov dword [rsp + 0x40], eax
jns 0x1400e4bc0
mov r14d, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x110]
mov rax, qword [rsp + 0x118]
mov qword [rcx], rax
mov qword [rsi + 0x30], r12
cmp dword [rsp + 0x3c], r12d
je 0x1400e503f
cmp dword [rsi + 0x1c], r12d
jle 0x1400e504b
mov r15, qword [rsp + 0x48]
cmp byte [r13 + 8], r12b
jne 0x1400e4ebb
mov rbx, qword [rsi + 0x68]
mov ebp, r14d
sub rbp, 1
mov dword [rbx], r12d
js 0x1400e4ebb
movsxd rax, dword [rsp + 0x58]
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 0x1400e4eb1
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 0x1400e4eb1
mov dword [rdx], r9d
mov dword [rbx + rax*4], r8d
mov r8d, ecx
shr ecx, 1
jne 0x1400e4e90
sub r14, 2
sub rbp, 1
jns 0x1400e4e50
mov r14, qword [rsp + 0x98]
movzx eax, r14b
movzx ecx, byte [rax + r15 + 1]
movzx r10d, byte [rax + r15 + 2]
shl ecx, 8
or r10d, ecx
jbe 0x1400e4f48
nop dword [rax + rax]
movzx eax, byte [r10 + r15 + 3]
movzx edx, byte [r10 + r15 + 2]
inc dword [rbx]
mov r8d, dword [rbx]
shl edx, 8
mov ecx, r8d
or edx, eax
mov eax, r10d
dec edx
shl eax, 0x10
add edx, r10d
or edx, eax
shr ecx, 1
mov dword [rbx + r8*4], edx
je 0x1400e4f31
nop
mov eax, r8d
lea rdx, [rbx + rcx*4]
mov r8d, dword [rdx]
mov r9d, dword [rbx + rax*4]
cmp r8d, r9d
jbe 0x1400e4f31
mov dword [rdx], r9d
mov dword [rbx + rax*4], r8d
mov r8d, ecx
shr ecx, 1
jne 0x1400e4f10
mov eax, r10d
movzx r10d, byte [r10 + r15]
shl r10d, 8
movzx eax, byte [rax + r15 + 1]
or r10d, eax
ja 0x1400e4ee0
mov ebp, dword [rsp + 0x5c]
nop dword [rax]
mov eax, dword [rbx]
test eax, eax
je 0x1400e4ffe
mov r10d, dword [rbx + 4]
lea rcx, [rbx + rax*4]
mov eax, dword [rbx + rax*4]
mov r8d, 2
mov dword [rbx + 4], eax
mov r9d, 1
mov dword [rcx], 0xffffffff
dec dword [rbx]
cmp dword [rbx], r8d
jb 0x1400e4fc3
nop dword [rax]
nop word [rax + rax]
lea edx, [r8 + 1]
mov ecx, r8d
mov eax, dword [rbx + rdx*4]
cmp dword [rbx + rcx*4], eax
mov eax, r9d
cmovbe edx, r8d
mov r8d, edx
mov ecx, dword [rbx + rax*4]
mov edx, dword [rbx + rdx*4]
cmp ecx, edx
jb 0x1400e4fc3
mov dword [rbx + rax*4], edx
mov r9d, r8d
mov dword [rbx + r8*4], ecx
add r8d, r8d
cmp r8d, dword [rbx]
jbe 0x1400e4f90
mov r8d, r10d
movzx eax, bp
shr r8d, 0x10
cmp eax, r8d
jae 0x1400e4fe3
sub r8d, eax
dec r12d
add r12d, r8d
mov ebp, r10d
jmp 0x1400e4f50
mov edi, dword [rsp + 0x108]
lea rdx, str.Multiple_uses_for_byte__u_of_page__u
mov r9d, edi
mov rcx, rsi
call fcn.1400e4300
jmp 0x1400e5005
mov edi, dword [rsp + 0x108]
mov r8d, dword [rsp + 0x34]
movzx eax, bp
sub r8d, eax
dec r8d
add r8d, r12d
cmp dword [rbx], 0
jne 0x1400e504b
movzx eax, r14b
movzx r9d, byte [rax + r15 + 7]
cmp r8d, r9d
je 0x1400e504b
lea rdx, str.Fragmentation_of__u_bytes_reported_as__u_on_page__u
mov dword [rsp + 0x20], edi
mov rcx, rsi
call fcn.1400e4300
jmp 0x1400e504b
movzx eax, byte [rsp + 0x100]
mov byte [r13], al
mov r14, qword [rsp + 0xb8]
test r13, r13
je 0x1400e50a0
mov r8, qword [r13 + 0x70]
test byte [r8 + 0x34], 0x20
je 0x1400e50d8
mov r10, qword [r8 + 0x28]
dec dword [r10 + 0x98]
mov rax, qword [r10 + 0xa8]
mov qword [r8 + 0x20], rax
mov rcx, qword [r10 + 0x48]
mov qword [r10 + 0xa8], r8
mov edx, dword [r8 + 0x30]
mov r8, qword [r8 + 8]
dec edx
imul rdx, qword [r10 + 0xc8]
mov r9, qword [rcx]
call qword [r9 + 0x90]
mov r13, qword [rsp + 0xc0]
mov rax, qword [rsp + 0xa0]
mov qword [rsi + 0x30], rax
mov eax, dword [rsp + 0x60]
mov dword [rsi + 0x3c], eax
mov eax, dword [rsp + 0x64]
mov dword [rsi + 0x40], eax
mov eax, dword [rsp + 0x38]
inc eax
add rsp, 0xc8
pop r15
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, r8
call fcn.14013fb10
jmp 0x1400e50a0
xor eax, eax
add rsp, 0xc8
pop r15
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret