Function at 0x140299e80
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.140299ba0
mov qword [rsp + 0x40], rax
mov rbp, rax
test rax, rax
je 0x14029a1b4
mov r8d, dword [rsp + 0x30]
cmp r8d, 4
jge 0x140299eee
mov r9d, r8d
lea rdx, str.Node__lld_is_too_small___d_bytes_
mov r8, r12
mov rcx, rsi
call fcn.140299b20
jmp 0x14029a14c
test rbx, rbx
jne 0x140299f38
movzx r14d, byte [rax]
movzx eax, byte [rax + 1]
shl r14d, 8
add r14d, eax
mov dword [rsp + 0xc8], r14d
cmp r14d, 0x28
jbe 0x140299f38
mov r8d, r14d
lea rdx, str.Rtree_depth_out_of_range___d_
mov rcx, rsi
call fcn.140299b20
mov rcx, rbp
add rsp, 0x90
pop r14
pop r12
pop rsi
pop rbp
pop rbx
jmp fcn.14021ea10
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 0x140299f7c
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.140299b20
jmp 0x14029a14c
mov qword [rsp + 0x80], r15
xor r15d, r15d
test ecx, ecx
je 0x14029a144
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 0x14029a0de
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 0x14029a01f
cmp ebx, edi
setg al
jmp 0x14029a025
comiss xmm6, xmm7
seta al
test eax, eax
je 0x14029a043
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.140299b20
cmp qword [rsp + 0xd0], 0
je 0x14029a0b5
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 0x14029a073
cmp ebx, ecx
setl al
jmp 0x14029a07f
movss xmm0, dword [rsp + 0x34]
comiss xmm0, xmm6
seta al
test eax, eax
jne 0x14029a09b
test r8d, r8d
je 0x14029a08f
cmp edi, edx
setg al
jmp 0x14029a097
comiss xmm7, dword [rsp + 0x30]
seta al
test eax, eax
je 0x14029a0b5
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.140299b20
inc ebp
add r14, 8
cmp ebp, dword [rsi + 0x1c]
jl 0x140299ff0
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 0x14029a10a
xor edx, edx
call fcn.140299d40
lea edx, [r14 - 1]
mov r9, rdi
mov r8, r13
mov rcx, rsi
call fcn.140299e80
inc dword [rsi + 0x3c]
jmp 0x14029a117
mov edx, 1
call fcn.140299d40
inc dword [rsi + 0x38]
mov rbp, qword [rsp + 0x40]
inc r15d
cmp r15d, dword [rsp + 0x38]
jl 0x140299fb0
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 [0x140439d10], 0
je 0x14029a1ab
mov rcx, qword [0x14043f3f0]
test rcx, rcx
je 0x14029a167
call qword [0x140439d90]
mov rcx, rbp
call qword [0x140439d48]
dec qword [0x14043f378]
movsxd rcx, eax
sub qword [0x14043f330], rcx
mov rcx, rbp
call qword [0x140439d38]
mov rcx, qword [0x14043f3f0]
test rcx, rcx
je 0x14029a1b4
add rsp, 0x90
pop r14
pop r12
pop rsi
pop rbp
pop rbx
jmp qword [0x140439da0]
mov rcx, rbp
call qword [0x140439d38]
add rsp, 0x90
pop r14
pop r12
pop rsi
pop rbp
pop rbx
ret