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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x168
movaps xmmword [rsp + 0x150], xmm9
movaps xmmword [rsp + 0x140], xmm8
movaps xmmword [rsp + 0x130], xmm7
movaps xmmword [rsp + 0x120], xmm6
mov rdi, r9
mov r15, r8
mov r12, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0x1d0]
mov rax, qword [0x1406a7e00]
xor rax, rsp
mov qword [rsp + 0x118], rax
xor ebx, ebx
test r8, r8
jne 0x1400812c7
test rcx, rcx
je 0x1400812c7
cmp qword [rcx + 0x10], 0
je 0x1400812b2
xor ebx, ebx
jmp 0x1400812c7
lea r13, [rsp + 0x70]
mov rdx, r13
call fcn.14013bb30
xor ebx, ebx
test al, al
cmovne rbx, r13
mov rax, qword [rsi + 0x10]
mov rax, qword [rax + 0x34]
cvtsi2ss xmm0, eax
mov r14d, dword [rdi + 0x68]
shr rax, 0x20
xorps xmm1, xmm1
movlps qword [rsp + 0x60], xmm1
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
movss dword [rsp + 0x68], xmm0
movss dword [rsp + 0x6c], xmm1
cmp dword [rdi + 0x30], 3
jne 0x140081335
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14014b530
movss xmm6, dword [rdi + 0x14]
movss xmm3, dword [rdi + 0x18]
movss xmm1, dword [rdi + 0x1c]
movss xmm5, dword [rdi]
movss xmm4, dword [rdi + 4]
movss xmm7, dword [rdi + 0x10]
movss xmm2, dword [rdi + 8]
movss xmm0, dword [rdi + 0xc]
jmp 0x1400813ce
movss xmm0, dword [rdi + 0xc]
movss xmm2, dword [rdi + 8]
movss xmm5, dword [rdi]
movss xmm4, dword [rdi + 4]
movaps xmm1, xmm0
minss xmm1, xmm2
movaps xmm3, xmm4
minss xmm3, xmm5
minss xmm1, xmm3
movss dword [rsp + 0x50], xmm1
movss xmm1, dword [rdi + 0x1c]
movss xmm3, dword [rdi + 0x18]
movss xmm7, dword [rdi + 0x10]
movss xmm6, dword [rdi + 0x14]
movaps xmm8, xmm1
minss xmm8, xmm3
movaps xmm9, xmm6
minss xmm9, xmm7
minss xmm8, xmm9
movss dword [rsp + 0x54], xmm8
movaps xmm8, xmm4
maxss xmm8, xmm5
movaps xmm9, xmm0
maxss xmm9, xmm2
maxss xmm9, xmm8
movss dword [rsp + 0x58], xmm9
movaps xmm8, xmm6
maxss xmm8, xmm7
movaps xmm9, xmm1
maxss xmm9, xmm3
maxss xmm9, xmm8
movss dword [rsp + 0x5c], xmm9
xorps xmm8, xmm8
mulss xmm8, xmm5
mulss xmm8, xmm7
mulss xmm8, dword [rdi + 0x20]
mulss xmm8, xmm4
mulss xmm8, xmm6
mulss xmm8, dword [rdi + 0x24]
mulss xmm8, xmm2
mulss xmm8, xmm3
mulss xmm8, dword [rdi + 0x28]
mulss xmm8, xmm0
mulss xmm8, xmm1
mulss xmm8, dword [rdi + 0x2c]
ucomiss xmm8, xmm8
jp 0x140081793
movsd xmm6, qword [rsp + 0x50]
movsd xmm7, qword [rsp + 0x58]
ucomiss xmm7, xmm6
jbe 0x140081793
movaps xmm0, xmm6
cmpnltps xmm0, xmm7
pextrw eax, xmm0, 2
test al, 1
jne 0x140081793
mov rax, qword [rsi + 0x10]
mov rax, qword [rax + 0x34]
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x48], eax
shr rax, 0x20
mov dword [rsp + 0x4c], eax
addps xmm7, xmmword [0x1405a2550]
movaps xmm0, xmm7
shufps xmm0, xmm7, 0x55
call fcn.14056f5a8
movaps xmm8, xmm0
movaps xmm0, xmm7
call fcn.14056f5a8
movaps xmm7, xmm0
addps xmm6, xmmword [0x1405a2560]
movaps xmm0, xmm6
shufps xmm0, xmm6, 0x55
call fcn.14056fa9c
movaps xmm9, xmm0
movaps xmm0, xmm6
call fcn.14056fa9c
unpcklps xmm7, xmm8
unpcklps xmm0, xmm9
movlhps xmm0, xmm7
minps xmm0, xmmword [0x14059a120]
maxps xmm0, xmmword [0x14059a130]
cvttps2dq xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
xorps xmm0, xmm0
movaps xmmword [rsp + 0xd0], xmm0
lea rcx, [rsp + 0xd0]
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x80]
call fcn.14005dbd0
xor ebp, ebp
test al, al
je 0x140081795
mov r8d, dword [rdi + 0x68]
mov rcx, rdi
mov edx, 1
call fcn.14014cd70
mov ebp, 3
test al, al
jne 0x140081795
mov dword [rsp + 0x3c], r14d
test r15, r15
sete al
mov r14d, dword [rdi + 0x68]
test r14d, r14d
setne bpl
test rbx, rbx
setne r13b
and r13b, al
test r12, r12
je 0x1400817dd
test r14d, r14d
setne r9b
mov rax, qword [r12]
lea rdx, [rsp + 0xd0]
lea r8, [rsp + 0x50]
mov rcx, r12
call qword [rax + 0x18]
mov eax, dword [rsp + 0xd0]
test eax, eax
je 0x140081876
mov ecx, ebp
xor ebp, ebp
cmp eax, 2
je 0x140081795
cmp eax, 1
mov ebp, ecx
jne 0x140081a62
test r13b, r13b
je 0x14008181f
xorps xmm6, xmm6
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
mov dword [rsp + 0xc0], 0
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0x60]
call fcn.1400a1b40
test al, al
je 0x1400815e3
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
mov dword [rsp + 0xc0], 1
mov dword [rsp + 0xd0], 0
movaps xmm0, xmmword [rsp + 0x90]
movaps xmm1, xmmword [rsp + 0xa0]
movaps xmm2, xmmword [rsp + 0xb0]
movups xmmword [rsp + 0xd4], xmm0
movups xmmword [rsp + 0xe4], xmm1
movups xmmword [rsp + 0xf4], xmm2
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x104], eax
mov byte [rsp + 0x108], bpl
mov byte [rsp + 0x109], 1
movups xmm0, xmmword [rsp + 0xd4]
movaps xmmword [rsp + 0x80], xmm0
lea r15, [rsp + 0x80]
lea rdx, [rsp + 0x60]
mov rcx, r15
call fcn.14005df40
lea rcx, [rsp + 0x50]
mov rdx, r15
call fcn.14005df40
xor ebp, ebp
test al, al
je 0x140081795
movss xmm1, dword [rsp + 0x58]
subss xmm1, dword [rsp + 0x50]
mov ebp, 3
movss xmm0, dword [0x1406908dc]
ucomiss xmm0, xmm1
ja 0x140081795
movss xmm1, dword [rsp + 0x5c]
subss xmm1, dword [rsp + 0x54]
ucomiss xmm0, xmm1
ja 0x140081795
cmp dword [rsp + 0x104], 1
jne 0x140081905
test rbx, rbx
sete r9b
movzx edx, byte [rsp + 0x108]
lea rcx, [rsp + 0x80]
mov r8, rdi
call fcn.14014c050
test al, al
je 0x14008192a
mov ebp, 2
test r13b, r13b
je 0x140081795
cmp dword [rdi + 0x30], 0
jne 0x140081795
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140081a70
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x50], xmm0
movsd xmm1, qword [rsp + 0x60]
movsd xmm0, qword [rsp + 0x68]
ucomiss xmm0, xmm1
jbe 0x1400819ec
movaps xmm2, xmm1
cmpnltps xmm2, xmm0
pextrw eax, xmm2, 2
test al, 1
jne 0x1400819ec
movsd xmm3, qword [rsp + 0x50]
movsd xmm2, qword [rsp + 0x58]
movaps xmm4, xmm3
cmpltps xmm4, xmm2
unpcklps xmm4, xmm4
movmskpd eax, xmm4
test al, 1
je 0x1400819ec
movlhps xmm2, xmm1
movlhps xmm0, xmm3
cmpleps xmm0, xmm2
pslld xmm0, 0x1f
movmskps ecx, xmm0
cmp cl, 0xf
jne 0x1400819ec
shr al, 1
je 0x1400819ec
mov rcx, rsi
mov rdx, rbx
call fcn.14007c970
mov ebp, 1
jmp 0x140081795
xor ebp, ebp
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.1405602f0
mov eax, ebp
movaps xmm6, xmmword [rsp + 0x120]
movaps xmm7, xmmword [rsp + 0x130]
movaps xmm8, xmmword [rsp + 0x140]
movaps xmm9, xmmword [rsp + 0x150]
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov dword [rsp + 0xd0], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0xd4], xmm0
movups xmmword [rsp + 0xe4], xmm0
movups xmmword [rsp + 0xf4], xmm0
mov dword [rsp + 0x104], 0
mov byte [rsp + 0x109], 0
test r13b, r13b
jne 0x14008158c
movss xmm0, dword [rsp + 0x58]
subss xmm0, dword [rsp + 0x50]
ucomiss xmm0, dword [0x1405a2570]
ja 0x140081852
movss xmm0, dword [rsp + 0x5c]
subss xmm0, dword [rsp + 0x54]
mov ebp, 2
ucomiss xmm0, dword [0x1405a2570]
jbe 0x140081795
test r14d, r14d
setne dl
test rbx, rbx
sete r9b
lea rcx, [rsp + 0x60]
mov r8, rdi
call fcn.14014c050
mov ebp, 2
jmp 0x140081795
cmp byte [rsp + 0x109], 0
je 0x1400818ae
test r15, r15
je 0x14008189a
test r14d, r14d
setne al
cmp byte [rsp + 0x108], 0
setne cl
xor cl, al
jne 0x1400818ae
cmp dword [rsp + 0x104], 1
sete al
or al, r13b
jne 0x14008163c
movss xmm0, dword [rsp + 0x58]
subss xmm0, dword [rsp + 0x50]
ucomiss xmm0, dword [0x1405a2570]
ja 0x1400818e1
movss xmm0, dword [rsp + 0x5c]
subss xmm0, dword [rsp + 0x54]
mov ebp, 3
ucomiss xmm0, dword [0x1405a2570]
jbe 0x140081795
test r14d, r14d
setne dl
test rbx, rbx
sete r9b
lea rcx, [rsp + 0x60]
mov r8, rdi
call fcn.14014c050
mov ebp, 3
jmp 0x140081795
movzx edx, byte [rsp + 0x108]
lea rcx, [rsp + 0x80]
mov r8, rdi
xor r9d, r9d
call fcn.14014c050
test al, al
je 0x14008192a
cmp dword [rdi + 0x30], 0
je 0x140081936
mov eax, dword [rsp + 0x3c]
mov dword [rdi + 0x68], eax
jmp 0x140081795
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140081a70
movsd xmm1, qword [rsp + 0x80]
movsd xmm0, qword [rsp + 0x88]
ucomiss xmm0, xmm1
jbe 0x14008192a
movaps xmm2, xmm1
cmpnltps xmm2, xmm0
pextrw eax, xmm2, 2
test al, 1
jne 0x14008192a
movsd xmm3, qword [rsp + 0x40]
movsd xmm2, qword [rsp + 0x48]
movaps xmm4, xmm3
cmpltps xmm4, xmm2
unpcklps xmm4, xmm4
movmskpd eax, xmm4
test al, 1
je 0x14008192a
movlhps xmm2, xmm1
movlhps xmm0, xmm3
cmpleps xmm0, xmm2
pslld xmm0, 0x1f
movmskps ecx, xmm0
cmp cl, 0xf
jne 0x14008192a
shr al, 1
je 0x14008192a
lea rbx, [rsp + 0xd4]
call fcn.1400822c0
mov rdi, rax
call fcn.140024370
movzx r9d, byte [rsp + 0x108]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
mov rcx, rsi
xor edx, edx
mov r8, qword [rsp + 0x1d0]
call fcn.140081d70
mov ebp, 1
jmp 0x140081795
lea rcx, [rsp + 0x50]
call fcn.140081b40
test al, al
je 0x140081795
movss xmm0, dword [rsp + 0x58]
subss xmm0, dword [rsp + 0x50]
ucomiss xmm0, dword [0x1405a2574]
jbe 0x140081795
movss xmm0, dword [rsp + 0x5c]
subss xmm0, dword [rsp + 0x54]
ucomiss xmm0, dword [0x1405a2574]
jbe 0x140081795
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x50]
lea rdi, [rsp + 0x40]
mov rdx, rdi
call fcn.140081c20
mov rcx, rsi
mov rdx, rdi
mov r8, rbx
call fcn.140081cd0
mov ebp, 1
jmp 0x140081795
ud2