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

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
push rbx
push rsi
push rdi
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 rdi, rcx
call fcn.1402a2930
mov qword [rsp + 0x40], rax
mov rsi, rax
test rax, rax
je 0x1402a2f54
mov r9d, dword [rsp + 0x30]
cmp r9d, 4
jge 0x1402a2c8b
mov r8, r12
lea rdx, str.Node__lld_is_too_small___d_bytes_
mov rcx, rdi
call fcn.1402a28b0
jmp 0x1402a2eec
test rbx, rbx
jne 0x1402a2cd5
movzx r14d, byte [rax]
movzx eax, byte [rax + 1]
shl r14d, 8
add r14d, eax
mov dword [rsp + 0xc8], r14d
cmp r14d, 0x28
jbe 0x1402a2cd5
mov r8d, r14d
lea rdx, str.Rtree_depth_out_of_range___d_
mov rcx, rdi
call fcn.1402a28b0
mov rcx, rsi
add rsp, 0x90
pop r14
pop r12
pop rdi
pop rsi
pop rbx
jmp fcn.140234fd0
movzx eax, byte [rsi + 3]
movzx ecx, byte [rsi + 2]
shl ecx, 8
add ecx, eax
mov eax, dword [rdi + 0x1c]
inc eax
mov dword [rsp + 0x38], ecx
imul eax, ecx
lea eax, [rax*8 + 4]
cmp eax, r9d
jle 0x1402a2d19
mov dword [rsp + 0x20], r9d
lea rdx, str.Node__lld_is_too_small_for_cell_count_of__d___d_bytes_
mov r9d, ecx
mov r8, r12
mov rcx, rdi
call fcn.1402a28b0
jmp 0x1402a2eec
mov qword [rsp + 0x80], r15
xor r15d, r15d
test ecx, ecx
je 0x1402a2ee4
mov qword [rsp + 0xc0], rbp
mov qword [rsp + 0x88], r13
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
nop word [rax + rax]
mov edx, dword [rdi + 0x1c]
lea r13, [rsi + 0xc]
lea eax, [rdx + 1]
imul eax, r15d
shl eax, 3
movsxd rcx, eax
add r13, rcx
mov qword [rsp + 0x50], r13
mov rbp, qword [rcx + rsi + 4]
xor esi, esi
bswap rbp
mov qword [rsp + 0x48], rbp
test edx, edx
jle 0x1402a2e7e
lea r14, [rbx + 4]
sub r13, rbx
nop word [rax + rax]
mov ebx, dword [r14 + r13]
xor eax, eax
mov ebp, dword [r14 + r13 - 4]
bswap ebx
bswap ebp
mov dword [rsp + 0x34], ebx
movss xmm7, dword [rsp + 0x34]
mov dword [rsp + 0x30], ebp
movss xmm6, dword [rsp + 0x30]
cmp dword [rdi + 0x18], eax
je 0x1402a2dbf
cmp ebp, ebx
setg al
jmp 0x1402a2dc5
comiss xmm6, xmm7
seta al
test eax, eax
je 0x1402a2de3
mov r9d, r15d
mov qword [rsp + 0x20], r12
mov r8d, esi
lea rdx, str.Dimension__d_of_cell__d_on_node__lld_is_corrupt
mov rcx, rdi
call fcn.1402a28b0
cmp qword [rsp + 0xd0], 0
je 0x1402a2e55
mov ecx, dword [r14 - 4]
xor eax, eax
mov edx, dword [r14]
mov r8d, dword [rdi + 0x18]
bswap ecx
mov dword [rsp + 0x34], ecx
bswap edx
mov dword [rsp + 0x30], edx
test r8d, r8d
je 0x1402a2e13
cmp ebp, ecx
setl al
jmp 0x1402a2e1f
movss xmm0, dword [rsp + 0x34]
comiss xmm0, xmm6
seta al
test eax, eax
jne 0x1402a2e3b
test r8d, r8d
je 0x1402a2e2f
cmp ebx, edx
setg al
jmp 0x1402a2e37
comiss xmm7, dword [rsp + 0x30]
seta al
test eax, eax
je 0x1402a2e55
mov r9d, r15d
mov qword [rsp + 0x20], r12
mov r8d, esi
lea rdx, str.Dimension__d_of_cell__d_on_node__lld_is_corrupt_relative_to_parent
mov rcx, rdi
call fcn.1402a28b0
inc esi
add r14, 8
cmp esi, dword [rdi + 0x1c]
jl 0x1402a2d90
mov rbx, qword [rsp + 0xd0]
mov rbp, qword [rsp + 0x48]
mov r14d, dword [rsp + 0xc8]
mov r13, qword [rsp + 0x50]
mov r9, r12
mov r8, rbp
mov rcx, rdi
test r14d, r14d
jle 0x1402a2eaa
xor edx, edx
call fcn.1402a2ae0
lea edx, [r14 - 1]
mov r9, rbp
mov r8, r13
mov rcx, rdi
call fcn.1402a2c20
inc dword [rdi + 0x3c]
jmp 0x1402a2eb7
mov edx, 1
call fcn.1402a2ae0
inc dword [rdi + 0x38]
mov rsi, qword [rsp + 0x40]
inc r15d
cmp r15d, dword [rsp + 0x38]
jl 0x1402a2d50
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
mov r13, qword [rsp + 0x88]
mov rbp, qword [rsp + 0xc0]
mov r15, qword [rsp + 0x80]
cmp dword [0x14066e1b0], 0
je 0x1402a2f4b
mov rcx, qword [0x140682a00]
test rcx, rcx
je 0x1402a2f07
call qword [0x14066e230]
mov rcx, rsi
call qword [0x14066e1e8]
dec qword [0x140682998]
movsxd rcx, eax
sub qword [0x140682950], rcx
mov rcx, rsi
call qword [0x14066e1d8]
mov rcx, qword [0x140682a00]
test rcx, rcx
je 0x1402a2f54
add rsp, 0x90
pop r14
pop r12
pop rdi
pop rsi
pop rbx
jmp qword [0x14066e240]
mov rcx, rsi
call qword [0x14066e1d8]
add rsp, 0x90
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret