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

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0xa0
mov rdi, qword [0x1800e1c38]
xor r9d, r9d
mov qword [rax + 0x18], rbp
mov esi, r9d
mov qword [rax - 0x20], r12
mov qword [rax - 0x28], r13
xor r13b, r13b
mov qword [rax - 0x30], r14
mov qword [rax - 0x38], r15
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov eax, dword [rdi + 0x1de8]
sub eax, 1
mov dword [rsp + 0xc8], r13d
js 0x18002e2b4
mov r8, qword [rdi + 0x1df0]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
mov rcx, qword [r8]
test rcx, rcx
je 0x18002e2aa
test dword [rcx + 0xc], 0x8000000
jne 0x18002e347
sub r8, 0x30
sub rdx, 1
jns 0x18002e295
lea r14, [rdi + 0x1f38]
mov rcx, r9
mov rdx, qword [r14]
xorps xmm6, xmm6
cmp qword [rdi + 0x1f40], rsi
je 0x18002e30c
test rdx, rdx
jne 0x18002e30c
comiss xmm6, dword [rdi + 0x1f84]
movss xmm0, dword [rdi + 0x18]
movss xmm1, dword [rdi + 0x1f54]
mulss xmm0, dword [0x1800bfafc]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rdi + 0x1f54], xmm1
jb 0x18002e30c
comiss xmm6, xmm1
jb 0x18002e30c
mov qword [rdi + 0x1f40], r9
movzx r12d, byte [rdi + 8]
movss xmm7, dword [0x1800bfaa8]
and r12b, 1
test rcx, rcx
jne 0x18002e366
test rdx, rdx
jne 0x18002e366
mov rax, qword [0x1800e1c38]
movss xmm0, dword [rax + 0x14c4]
comiss xmm6, xmm0
ja 0x18002e359
ucomiss xmm0, xmm6
jp 0x18002e359
jne 0x18002e359
movaps xmm0, xmm7
jmp 0x18002e35c
lea r14, [rdi + 0x1f38]
mov rdx, r9
mov qword [r14], r9
jmp 0x18002e2c1
xorps xmm0, xmm0
comiss xmm0, xmm6
jbe 0x18002e366
mov bpl, 1
jmp 0x18002e373
xor bpl, bpl
test rcx, rcx
jne 0x18002e39e
test rdx, rdx
jne 0x18002e39e
test r12b, r12b
je 0x18002e39e
cmp byte [rdi + 0x140], sil
je 0x18002e39e
mov rax, qword [0x1800e1c38]
mov ecx, dword [rax + 0x3c]
test ecx, ecx
js 0x18002e39e
mov dl, 1
call fcn.180029eb0
test al, al
je 0x18002e39e
mov bl, 1
jmp 0x18002e3a0
xor bl, bl
mov r15d, 0xffffffff
test bpl, bpl
jne 0x18002e3af
test bl, bl
je 0x18002e405
mov rax, qword [rdi + 0x1e18]
test rax, rax
jne 0x18002e3d5
mov ecx, dword [rdi + 0x1bd0]
mov r8d, r15d
dec ecx
mov edx, 0x80000001
call fcn.180026320
test rax, rax
je 0x18002e405
mov rax, qword [rax + 0x348]
mov qword [rdi + 0x1f40], rax
mov qword [r14], rax
xor eax, eax
mov qword [rdi + 0x1f50], rax
movzx eax, bl
xor eax, 1
mov byte [rdi + 0x1f58], bpl
add eax, 2
mov dword [rdi + 0x1e54], eax
movss xmm0, dword [rdi + 0x1f50]
addss xmm0, dword [rdi + 0x18]
movss dword [rdi + 0x1f50], xmm0
cmp qword [r14], rsi
je 0x18002e59f
cmp dword [rdi + 0x1e54], 3
jne 0x18002e59f
subss xmm0, dword [0x1800c14b0]
movaps xmmword [rsp + 0x50], xmm8
movaps xmmword [rsp + 0x40], xmm9
movaps xmmword [rsp + 0x30], xmm10
divss xmm0, dword [0x1800c6384]
comiss xmm6, xmm0
jbe 0x18002e45c
xorps xmm1, xmm1
jmp 0x18002e463
movaps xmm1, xmm7
minss xmm1, xmm0
movss xmm8, dword [rdi + 0x1f54]
movss xmm10, dword [0x1800c63c0]
maxss xmm8, xmm1
movss dword [rdi + 0x1f54], xmm8
mov rbx, qword [0x1800e1c38]
movss xmm1, dword [rbx + 0x14e8]
lea rax, [rbx + 0x18]
comiss xmm6, xmm1
jbe 0x18002e4a1
xorps xmm9, xmm9
jmp 0x18002e4d3
movss xmm3, dword [rbx + 0x98]
movaps xmm0, xmm1
movss xmm2, dword [rbx + 0x94]
addss xmm3, xmm3
subss xmm0, dword [rax]
mulss xmm2, xmm10
call fcn.180022740
movd xmm9, eax
lea rax, [rbx + 0x18]
cvtdq2ps xmm9, xmm9
movss xmm1, dword [rbx + 0x14ec]
comiss xmm6, xmm1
jbe 0x18002e4e5
xorps xmm0, xmm0
jmp 0x18002e511
movss xmm3, dword [rbx + 0x98]
movaps xmm0, xmm1
movss xmm2, dword [rbx + 0x94]
addss xmm3, xmm3
subss xmm0, dword [rax]
mulss xmm2, xmm10
call fcn.180022740
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movaps xmm10, xmmword [rsp + 0x30]
xor eax, eax
comiss xmm0, xmm6
seta al
xor ecx, ecx
comiss xmm9, xmm6
movaps xmm9, xmmword [rsp + 0x40]
seta cl
sub ecx, eax
je 0x18002e54c
call fcn.18002e970
mov dword [rdi + 0x1f54], 0x3f800000
movaps xmm8, xmm7
mov rbx, qword [0x1800e1c38]
movss xmm0, dword [rbx + 0x350]
comiss xmm0, xmm6
ja 0x18002e591
comiss xmm7, xmm8
seta al
and byte [rdi + 0x1f58], al
je 0x18002e57d
cmp qword [rdi + 0x1e18], rsi
je 0x18002e580
mov r13b, 1
mov qword [r14], 0
jmp 0x18002e599
mov rsi, qword [r14]
mov r13d, dword [rsp + 0xc8]
mov qword [r14], 0
jmp 0x18002e599
mov r13d, dword [rsp + 0xc8]
movaps xmm8, xmmword [rsp + 0x50]
mov rcx, qword [r14]
mov ebp, 1
test rcx, rcx
je 0x18002e637
cmp dword [rdi + 0x1e54], 2
jne 0x18002e637
movss xmm0, dword [rdi + 0x1f50]
subss xmm0, dword [0x1800c14b0]
divss xmm0, dword [0x1800c6384]
comiss xmm6, xmm0
jbe 0x18002e5db
xorps xmm7, xmm7
jmp 0x18002e5df
minss xmm7, xmm0
movss xmm0, dword [rdi + 0x1f54]
maxss xmm0, xmm7
movss dword [rdi + 0x1f54], xmm0
mov rax, qword [0x1800e1c38]
mov r8d, dword [rax + 0x3c]
test r8d, r8d
js 0x18002e62c
movzx edx, bpl
mov ecx, r8d
call fcn.180029eb0
mov rcx, qword [r14]
test al, al
je 0x18002e62c
cmp byte [rdi + 0x141], 0
cmovne r15d, ebp
mov ecx, r15d
call fcn.18002e970
mov rcx, qword [r14]
cmp byte [rdi + 0x140], 0
cmove rsi, rcx
movaps xmm7, xmmword [rsp + 0x60]
test r12b, r12b
mov r12, qword [rsp + 0x98]
mov r15, qword [rsp + 0x80]
je 0x18002e674
cmp dword [rdi + 0x3c0], 4
jne 0x18002e674
test byte [rdi + 0x3c4], 4
jne 0x18002e674
mov byte [rdi + 0x1f58], bpl
mov dword [rdi + 0x1e54], 2
movzx eax, byte [rdi + 0x1f58]
test al, al
je 0x18002e71a
cmp dword [rdi + 0x1e54], 2
jne 0x18002e71a
cmp dword [rdi + 0x1560], 0
jg 0x18002e6b4
cmp byte [rdi + 0x140], 0
jne 0x18002e6b4
cmp byte [rdi + 0x141], 0
jne 0x18002e6b4
cmp byte [rdi + 0x143], 0
je 0x18002e6bd
mov byte [rdi + 0x1f58], 0
xor al, al
test byte [rdi + 0x3c0], 4
jne 0x18002e70a
test byte [rdi + 0x3c4], 4
je 0x18002e70a
test al, al
je 0x18002e70a
cmp dword [rdi + 0x1c68], 0
je 0x18002e6e5
cmp byte [rdi + 0x1c75], 0
je 0x18002e70a
lea rcx, [rdi + 0x3c8]
call fcn.18002a350
lea rcx, [rdi + 0x128]
movzx ebx, al
call fcn.18002a350
cmp al, bl
movzx r13d, r13b
cmove r13d, ebp
cmp byte [rdi + 0x142], 0
jne 0x18002e71a
mov byte [rdi + 0x1f58], 0
mov rbx, qword [r14]
test rbx, rbx
je 0x18002e81f
test byte [rbx + 0xc], 4
jne 0x18002e81f
mov eax, dword [rdi + 0x1e54]
cmp eax, 2
jne 0x18002e74c
cmp byte [rdi + 0x141], 0
jne 0x18002e81f
mov edx, ebp
jmp 0x18002e758
cmp eax, 3
jne 0x18002e81f
lea edx, [rax + 1]
xorps xmm3, xmm3
movss dword [rsp + 0x20], xmm6
xor r8d, r8d
lea rcx, [rsp + 0xc0]
call fcn.1800271e0
movss xmm3, dword [rax]
ucomiss xmm3, xmm6
movss xmm4, dword [rax + 4]
jp 0x18002e78c
jne 0x18002e78c
ucomiss xmm4, xmm6
jp 0x18002e78c
je 0x18002e81f
mov rbx, qword [rbx + 0x348]
lea rdx, [rsp + 0xc0]
movss xmm1, dword [rdi + 0xc0]
mov r8d, ebp
movss xmm0, dword [rdi + 0x18]
mov rcx, rbx
minss xmm1, dword [rdi + 0xc4]
mulss xmm0, dword [0x1800c63ec]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm3, xmm2
mulss xmm4, xmm2
addss xmm3, dword [rbx + 0x10]
addss xmm4, dword [rbx + 0x14]
movss dword [rsp + 0xc0], xmm3
movss dword [rsp + 0xc4], xmm4
call fcn.180035e30
test dword [rbx + 0xc], 0x100
mov rcx, qword [0x1800e1c38]
jne 0x18002e818
comiss xmm6, dword [rcx + 0x30a4]
jb 0x18002e818
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x30a4], eax
mov byte [rdi + 0x1e63], bpl
movaps xmm6, xmmword [rsp + 0x70]
test rsi, rsi
je 0x18002e89f
mov rax, qword [rdi + 0x1e18]
test rax, rax
je 0x18002e83e
cmp rsi, qword [rax + 0x348]
je 0x18002e898
call fcn.180023350
mov word [rdi + 0x1e62], 0x100
mov rax, qword [rsi + 0x368]
test rax, rax
je 0x18002e863
cmp byte [rax + 0x8f], 0
cmovne rsi, rax
xor edx, edx
mov rcx, rsi
call fcn.1800237b0
mov rcx, rsi
call fcn.1800265b0
cmp dword [rsi + 0x370], 0
jne 0x18002e888
xor edx, edx
mov rcx, rsi
call fcn.18002b980
cmp word [rsi + 0x12a], 2
jne 0x18002e898
mov dword [rdi + 0x1e58], ebp
mov qword [r14], 0
mov r14, qword [rsp + 0x88]
test r13b, r13b
mov r13, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
je 0x18002e965
cmp qword [rdi + 0x1e18], 0
je 0x18002e965
call fcn.180023350
mov rsi, qword [rdi + 0x1e18]
mov rbx, rsi
lea rcx, [rsi + 0x340]
cmp qword [rcx], 0
je 0x18002e92c
nop word [rax + rax]
test byte [rbx + 0x128], 2
jne 0x18002e918
mov eax, dword [rbx + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x18002e918
mov rbx, qword [rcx]
lea rcx, [rbx + 0x340]
cmp qword [rcx], 0
jne 0x18002e8f0
cmp rbx, rsi
je 0x18002e92c
mov rcx, rbx
call fcn.1800265b0
mov qword [rbx + 0x368], rsi
mov rax, qword [rdi + 0x1e18]
test byte [rax + 0x128], 2
je 0x18002e947
mov ecx, dword [rdi + 0x1e58]
xor ecx, 1
jmp 0x18002e949
xor ecx, ecx
cmp ecx, dword [rdi + 0x1e58]
je 0x18002e965
cmp ecx, 1
jne 0x18002e960
mov dword [rax + 0x374], 0
call fcn.18002bfe0
add rsp, 0xa0
pop rdi
pop rsi
pop rbx
ret