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

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
push rbx
push rbp
push rsi
push r12
push r14
sub rsp, 0x90
mov rbx, r8
mov dword [rsp + 0x30], 0
mov r14d, edx
lea r8, [rsp + 0x30]
mov rdx, r9
mov r12, r9
mov rsi, rcx
call fcn.1402a6b90
mov qword [rsp + 0x40], rax
mov rbp, rax
test rax, rax
je 0x1402a71a4
mov r8d, dword [rsp + 0x30]
cmp r8d, 4
jge 0x1402a6ede
mov r9d, r8d
lea rdx, str.Node__lld_is_too_small___d_bytes_
mov r8, r12
mov rcx, rsi
call fcn.1402a6b10
jmp 0x1402a713c
test rbx, rbx
jne 0x1402a6f28
movzx r14d, byte [rax]
movzx eax, byte [rax + 1]
shl r14d, 8
add r14d, eax
mov dword [rsp + 0xc8], r14d
cmp r14d, 0x28
jbe 0x1402a6f28
mov r8d, r14d
lea rdx, str.Rtree_depth_out_of_range___d_
mov rcx, rsi
call fcn.1402a6b10
mov rcx, rbp
add rsp, 0x90
pop r14
pop r12
pop rsi
pop rbp
pop rbx
jmp fcn.140226070
movzx eax, byte [rbp + 3]
movzx ecx, byte [rbp + 2]
shl ecx, 8
add ecx, eax
mov eax, dword [rsi + 0x1c]
inc eax
mov dword [rsp + 0x38], ecx
imul eax, ecx
lea eax, [rax*8 + 4]
cmp eax, r8d
jle 0x1402a6f6c
mov dword [rsp + 0x20], r8d
lea rdx, str.Node__lld_is_too_small_for_cell_count_of__d___d_bytes_
mov r9d, ecx
mov r8, r12
mov rcx, rsi
call fcn.1402a6b10
jmp 0x1402a713c
mov qword [rsp + 0x80], r15
xor r15d, r15d
test ecx, ecx
je 0x1402a7134
mov qword [rsp + 0xc0], rdi
mov qword [rsp + 0x88], r13
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
nop dword [rax]
mov edx, dword [rsi + 0x1c]
lea r13, [rbp + 0xc]
lea eax, [rdx + 1]
imul eax, r15d
shl eax, 3
movsxd rcx, eax
add r13, rcx
mov qword [rsp + 0x50], r13
mov rdi, qword [rcx + rbp + 4]
xor ebp, ebp
bswap rdi
mov qword [rsp + 0x48], rdi
test edx, edx
jle 0x1402a70ce
lea r14, [rbx + 4]
sub r13, rbx
nop word [rax + rax]
mov edi, dword [r14 + r13]
xor eax, eax
mov ebx, dword [r14 + r13 - 4]
bswap edi
bswap ebx
mov dword [rsp + 0x34], edi
movss xmm7, dword [rsp + 0x34]
mov dword [rsp + 0x30], ebx
movss xmm6, dword [rsp + 0x30]
cmp dword [rsi + 0x18], eax
je 0x1402a700f
cmp ebx, edi
setg al
jmp 0x1402a7015
comiss xmm6, xmm7
seta al
test eax, eax
je 0x1402a7033
mov r9d, r15d
mov qword [rsp + 0x20], r12
mov r8d, ebp
lea rdx, str.Dimension__d_of_cell__d_on_node__lld_is_corrupt
mov rcx, rsi
call fcn.1402a6b10
cmp qword [rsp + 0xd0], 0
je 0x1402a70a5
mov ecx, dword [r14 - 4]
xor eax, eax
mov edx, dword [r14]
mov r8d, dword [rsi + 0x18]
bswap ecx
mov dword [rsp + 0x34], ecx
bswap edx
mov dword [rsp + 0x30], edx
test r8d, r8d
je 0x1402a7063
cmp ebx, ecx
setl al
jmp 0x1402a706f
movss xmm0, dword [rsp + 0x34]
comiss xmm0, xmm6
seta al
test eax, eax
jne 0x1402a708b
test r8d, r8d
je 0x1402a707f
cmp edi, edx
setg al
jmp 0x1402a7087
comiss xmm7, dword [rsp + 0x30]
seta al
test eax, eax
je 0x1402a70a5
mov r9d, r15d
mov qword [rsp + 0x20], r12
mov r8d, ebp
lea rdx, str.Dimension__d_of_cell__d_on_node__lld_is_corrupt_relative_to_parent
mov rcx, rsi
call fcn.1402a6b10
inc ebp
add r14, 8
cmp ebp, dword [rsi + 0x1c]
jl 0x1402a6fe0
mov rbx, qword [rsp + 0xd0]
mov rdi, qword [rsp + 0x48]
mov r14d, dword [rsp + 0xc8]
mov r13, qword [rsp + 0x50]
mov r9, r12
mov r8, rdi
mov rcx, rsi
test r14d, r14d
jle 0x1402a70fa
xor edx, edx
call fcn.1402a6d30
lea edx, [r14 - 1]
mov r9, rdi
mov r8, r13
mov rcx, rsi
call fcn.1402a6e70
inc dword [rsi + 0x3c]
jmp 0x1402a7107
mov edx, 1
call fcn.1402a6d30
inc dword [rsi + 0x38]
mov rbp, qword [rsp + 0x40]
inc r15d
cmp r15d, dword [rsp + 0x38]
jl 0x1402a6fa0
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
mov r13, qword [rsp + 0x88]
mov rdi, qword [rsp + 0xc0]
mov r15, qword [rsp + 0x80]
cmp dword [0x14046b030], 0
je 0x1402a719b
mov rcx, qword [0x140473800]
test rcx, rcx
je 0x1402a7157
call qword [0x14046b0b0]
mov rcx, rbp
call qword [0x14046b068]
dec qword [0x140473788]
movsxd rcx, eax
sub qword [0x140473740], rcx
mov rcx, rbp
call qword [0x14046b058]
mov rcx, qword [0x140473800]
test rcx, rcx
je 0x1402a71a4
add rsp, 0x90
pop r14
pop r12
pop rsi
pop rbp
pop rbx
jmp qword [0x14046b0c0]
mov rcx, rbp
call qword [0x14046b058]
add rsp, 0x90
pop r14
pop r12
pop rsi
pop rbp
pop rbx
ret