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

Disassembly:
cmp dword [rcx + 0x3c], 0
mov r9, rdx
mov r8, rcx
jne case.0x18000ec9e.4
movsxd rax, dword [rcx + 0x30]
cmp eax, 5
ja case.0x18000ec9e.4
lea rdx, [0x180000000]
mov ecx, dword [rdx + rax*4 + 0xed2c]
add rcx, rdx
jmp rcx
xor eax, eax
mov ecx, 0xff00
cmp word [r8 + 0x9e], cx
setae al
ret
mov rdx, r9
mov rcx, r8
jmp 0x180010790
test dword [r8 + 0x78], 0x2000
jne case.0x18000ec9e.4
cmp dword [r8 + 0x38], 0
jne 0x18000ed18
test r9, r9
je case.0x18000ec9e.4
mov ecx, dword [r8 + 0x7c]
mov r10d, dword [r9]
cmp ecx, r10d
jg case.0x18000ec9e.4
mov edx, dword [r8 + 0x84]
add edx, ecx
mov ecx, dword [r9 + 8]
add ecx, r10d
cmp edx, ecx
jl case.0x18000ec9e.4
mov ecx, dword [r8 + 0x80]
mov r10d, dword [r9 + 4]
cmp ecx, r10d
jg case.0x18000ec9e.4
mov edx, dword [r8 + 0x88]
add edx, ecx
mov ecx, dword [r9 + 0xc]
add ecx, r10d
cmp edx, ecx
jl case.0x18000ec9e.4
mov eax, 1
ret
mov rdx, r9
mov rcx, r8
jmp 0x180010520
xor eax, eax
ret
push rbx
sub rsp, 0x40
mov r10d, dword [rcx + 0x78]
mov rbx, rdx
mov r11, rcx
test r10d, r10d
je 0x180010631
mov ecx, dword [rcx + 0x38]
test ecx, ecx
jne 0x180010565
mov r9, qword [r11 + 0x80]
lea eax, [r10 - 1]
lea rax, [rax + rax*2]
add rax, rax
movsd xmm0, qword [r9]
ucomisd xmm0, qword [r9 + rax*8]
jp 0x180010565
je 0x180010631
cmp dword [r11 + 0x30], 2
jne 0x180010631
test ecx, ecx
jne 0x1800105ef
mov rcx, r11
call fcn.180010640
test eax, eax
jne 0x180010631
test rbx, rbx
je 0x180010631
mov ecx, dword [rdx + 4]
mov eax, dword [rbx + 0xc]
mov edx, dword [rdx]
add eax, ecx
movd xmm2, ecx
mov rcx, r11
cvtdq2pd xmm2, xmm2
movd xmm0, eax
mov eax, dword [rbx + 8]
add eax, edx
movd xmm1, edx
cvtdq2pd xmm0, xmm0
movd xmm3, eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
cvtdq2pd xmm3, xmm3
cvtdq2pd xmm1, xmm1
movsd qword [rsp + 0x20], xmm0
call fcn.18000d700
xorps xmm2, xmm2
comisd xmm2, xmmword [rsp + 0x30]
ja 0x180010631
movsd xmm0, qword [rsp + 0x38]
comisd xmm0, xmmword [0x180105ee8]
ja 0x180010631
xor edx, edx
test r10d, r10d
je 0x180010626
mov r8, qword [r11 + 0x80]
mov r9d, 0xff00
nop dword [rax]
nop word [rax + rax]
lea rcx, [rdx + rdx*2]
add rcx, rcx
cmp word [r8 + rcx*8 + 0x2e], r9w
jb 0x180010631
inc edx
cmp edx, r10d
jb 0x180010610
mov eax, 1
add rsp, 0x40
pop rbx
ret
xor eax, eax
add rsp, 0x40
pop rbx
ret
push rbx
sub rsp, 0x40
mov rax, qword [0x180123408]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [rcx + 0x78]
mov rbx, rdx
test dword [rax + 0x14], 0x2000
jne 0x180010822
cmp dword [rcx + 0x38], 0
jne 0x18001080a
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.180007eb0
test eax, eax
je 0x18001080a
test rbx, rbx
je 0x180010822
mov ecx, dword [rbx]
mov r8d, dword [rsp + 0x20]
cmp r8d, ecx
jg 0x180010822
mov edx, dword [rbx + 8]
add edx, ecx
mov ecx, dword [rsp + 0x28]
add ecx, r8d
cmp ecx, edx
jl 0x180010822
mov ecx, dword [rbx + 4]
mov r8d, dword [rsp + 0x24]
cmp r8d, ecx
jg 0x180010822
mov edx, dword [rbx + 0xc]
add edx, ecx
mov ecx, dword [rsp + 0x2c]
add ecx, r8d
cmp ecx, edx
jl 0x180010822
mov eax, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800de420
add rsp, 0x40
pop rbx
ret
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800de420
add rsp, 0x40
pop rbx
ret