Function at 0x140122fc0
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.140122ce0
mov qword [rsp + 0x40], rax
mov rbp, rax
test rax, rax
je 0x1401232f4
mov r8d, dword [rsp + 0x30]
cmp r8d, 4
jge 0x14012302e
mov r9d, r8d
lea rdx, str.Node__lld_is_too_small___d_bytes_
mov r8, r12
mov rcx, rsi
call fcn.140122c60
jmp 0x14012328c
test rbx, rbx
jne 0x140123078
movzx r14d, byte [rax]
movzx eax, byte [rax + 1]
shl r14d, 8
add r14d, eax
mov dword [rsp + 0xc8], r14d
cmp r14d, 0x28
jbe 0x140123078
mov r8d, r14d
lea rdx, str.Rtree_depth_out_of_range___d_
mov rcx, rsi
call fcn.140122c60
mov rcx, rbp
add rsp, 0x90
pop r14
pop r12
pop rsi
pop rbp
pop rbx
jmp fcn.1400a6a70
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 0x1401230bc
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.140122c60
jmp 0x14012328c
mov qword [rsp + 0x80], r15
xor r15d, r15d
test ecx, ecx
je 0x140123284
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 0x14012321e
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 0x14012315f
cmp ebx, edi
setg al
jmp 0x140123165
comiss xmm6, xmm7
seta al
test eax, eax
je 0x140123183
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.140122c60
cmp qword [rsp + 0xd0], 0
je 0x1401231f5
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 0x1401231b3
cmp ebx, ecx
setl al
jmp 0x1401231bf
movss xmm0, dword [rsp + 0x34]
comiss xmm0, xmm6
seta al
test eax, eax
jne 0x1401231db
test r8d, r8d
je 0x1401231cf
cmp edi, edx
setg al
jmp 0x1401231d7
comiss xmm7, dword [rsp + 0x30]
seta al
test eax, eax
je 0x1401231f5
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.140122c60
inc ebp
add r14, 8
cmp ebp, dword [rsi + 0x1c]
jl 0x140123130
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 0x14012324a
xor edx, edx
call fcn.140122e80
lea edx, [r14 - 1]
mov r9, rdi
mov r8, r13
mov rcx, rsi
call fcn.140122fc0
inc dword [rsi + 0x3c]
jmp 0x140123257
mov edx, 1
call fcn.140122e80
inc dword [rsi + 0x38]
mov rbp, qword [rsp + 0x40]
inc r15d
cmp r15d, dword [rsp + 0x38]
jl 0x1401230f0
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 [0x14020e0b0], 0
je 0x1401232eb
mov rcx, qword [0x1402136d0]
test rcx, rcx
je 0x1401232a7
call qword [0x14020e130]
mov rcx, rbp
call qword [0x14020e0e8]
dec qword [0x140213658]
movsxd rcx, eax
sub qword [0x140213610], rcx
mov rcx, rbp
call qword [0x14020e0d8]
mov rcx, qword [0x1402136d0]
test rcx, rcx
je 0x1401232f4
add rsp, 0x90
pop r14
pop r12
pop rsi
pop rbp
pop rbx
jmp qword [0x14020e140]
mov rcx, rbp
call qword [0x14020e0d8]
add rsp, 0x90
pop r14
pop r12
pop rsi
pop rbp
pop rbx
ret