Function at 0x140170600
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.140170320
mov qword [rsp + 0x40], rax
mov rbp, rax
test rax, rax
je 0x140170934
mov r8d, dword [rsp + 0x30]
cmp r8d, 4
jge 0x14017066e
mov r9d, r8d
lea rdx, str.Node__lld_is_too_small___d_bytes_
mov r8, r12
mov rcx, rsi
call fcn.1401702a0
jmp 0x1401708cc
test rbx, rbx
jne 0x1401706b8
movzx r14d, byte [rax]
movzx eax, byte [rax + 1]
shl r14d, 8
add r14d, eax
mov dword [rsp + 0xc8], r14d
cmp r14d, 0x28
jbe 0x1401706b8
mov r8d, r14d
lea rdx, str.Rtree_depth_out_of_range___d_
mov rcx, rsi
call fcn.1401702a0
mov rcx, rbp
add rsp, 0x90
pop r14
pop r12
pop rsi
pop rbp
pop rbx
jmp fcn.1400ea860
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 0x1401706fc
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.1401702a0
jmp 0x1401708cc
mov qword [rsp + 0x80], r15
xor r15d, r15d
test ecx, ecx
je 0x1401708c4
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 0x14017085e
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 0x14017079f
cmp ebx, edi
setg al
jmp 0x1401707a5
comiss xmm6, xmm7
seta al
test eax, eax
je 0x1401707c3
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.1401702a0
cmp qword [rsp + 0xd0], 0
je 0x140170835
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 0x1401707f3
cmp ebx, ecx
setl al
jmp 0x1401707ff
movss xmm0, dword [rsp + 0x34]
comiss xmm0, xmm6
seta al
test eax, eax
jne 0x14017081b
test r8d, r8d
je 0x14017080f
cmp edi, edx
setg al
jmp 0x140170817
comiss xmm7, dword [rsp + 0x30]
seta al
test eax, eax
je 0x140170835
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.1401702a0
inc ebp
add r14, 8
cmp ebp, dword [rsi + 0x1c]
jl 0x140170770
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 0x14017088a
xor edx, edx
call fcn.1401704c0
lea edx, [r14 - 1]
mov r9, rdi
mov r8, r13
mov rcx, rsi
call fcn.140170600
inc dword [rsi + 0x3c]
jmp 0x140170897
mov edx, 1
call fcn.1401704c0
inc dword [rsi + 0x38]
mov rbp, qword [rsp + 0x40]
inc r15d
cmp r15d, dword [rsp + 0x38]
jl 0x140170730
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 [0x1402cd290], 0
je 0x14017092b
mov rcx, qword [0x1402d3ab0]
test rcx, rcx
je 0x1401708e7
call qword [0x1402cd310]
mov rcx, rbp
call qword [0x1402cd2c8]
dec qword [0x1402d3a38]
movsxd rcx, eax
sub qword [0x1402d39f0], rcx
mov rcx, rbp
call qword [0x1402cd2b8]
mov rcx, qword [0x1402d3ab0]
test rcx, rcx
je 0x140170934
add rsp, 0x90
pop r14
pop r12
pop rsi
pop rbp
pop rbx
jmp qword [0x1402cd320]
mov rcx, rbp
call qword [0x1402cd2b8]
add rsp, 0x90
pop r14
pop r12
pop rsi
pop rbp
pop rbx
ret