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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rdi
push r13
push r14
lea rbp, [rax - 0x78]
sub rsp, 0x158
test byte [rcx + 0xc], 0x42
mov r13d, r9d
mov r14, qword [0x1400e0bf8]
mov rdi, rcx
mov qword [rsp + 0x50], r14
jne 0x140052cfd
cmp byte [rcx + 0xe8], 0
jg 0x140052cfd
cmp byte [rcx + 0xe9], 0
jg 0x140052cfd
cmp byte [rcx + 0xd0], 0
je 0x140052cfd
movss xmm1, dword [r14 + 0x1a88]
movss xmm0, dword [rcx + 0x88]
movaps xmm2, xmm1
mulss xmm1, dword [0x140085d44]
mov qword [rax + 0x20], rbx
mulss xmm2, dword [0x140085d8c]
mov qword [rax - 0x28], rsi
movzx esi, byte [r14 + 0xd3]
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
xorps xmm7, xmm7
movaps xmmword [rax - 0x68], xmm8
movss xmm8, dword [0x14007eff0]
movaps xmmword [rax - 0x78], xmm9
xorps xmm9, xmm9
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
movaps xmmword [rax - 0xb8], xmm13
movaps xmmword [rax - 0xc8], xmm14
movss xmm14, dword [0x14007d628]
movaps xmmword [rax - 0xd8], xmm15
addss xmm0, xmm14
mov byte [rsp + 0x32], 0
mov byte [rsp + 0x31], sil
addss xmm0, xmm1
maxss xmm2, xmm0
xorps xmm0, xmm0
cvttss2si eax, xmm2
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x140085d6c]
cvttss2si eax, xmm0
cvtsi2ss xmm9, eax
movss dword [rsp + 0x38], xmm9
test sil, sil
je 0x1400523bb
movaps xmm15, xmm8
jmp 0x1400523bf
xorps xmm15, xmm15
test dword [r14 + 0xc], 0x800
movss xmm11, dword [0x140085dec]
movaps xmm6, xmm11
movss dword [rsp + 0x48], xmm11
movss dword [rsp + 0x40], xmm6
movaps xmm13, xmm11
mov dword [rsp + 0x4c], 0x7f7fffff
mov dword [rsp + 0x44], 0x7f7fffff
je 0x14005240d
mov eax, dword [rcx + 0x40]
cmp dword [r14 + 0x138], eax
jne 0x14005240d
mov rax, qword [rcx + 0x38]
test byte [rax + 4], 8
jne 0x14005244b
mov rax, qword [rcx + 0x38]
movss xmm2, dword [rax + 8]
movss xmm3, dword [rax + 0xc]
movaps xmm1, xmm2
addss xmm1, dword [rax + 0x10]
movaps xmm0, xmm3
addss xmm0, dword [rax + 0x14]
movss dword [rcx + 0x290], xmm2
movss dword [rcx + 0x294], xmm3
movss dword [rcx + 0x298], xmm1
movss dword [rcx + 0x29c], xmm0
mov qword [rsp + 0x148], r12
mov dword [rcx + 0x18c], 1
lea rcx, str.RESIZE
mov qword [rsp + 0x140], r15
movaps xmmword [rsp + 0xf0], xmm10
call fcn.14004a680
movss xmm12, dword [0x140085df8]
xor ebx, ebx
test r13d, r13d
jle 0x140052829
mov r12, qword [rbp + 0xa0]
lea rsi, [0x1400b9034]
movss xmm13, dword [0x140085e20]
nop word [rax + rax]
movss xmm0, dword [rdi + 0x50]
movss xmm1, dword [rdi + 0x54]
movaps xmm3, xmm0
addss xmm3, dword [rdi + 0x58]
movaps xmm2, xmm1
addss xmm2, dword [rdi + 0x5c]
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [rsi - 4]
mulss xmm2, dword [rsi]
addss xmm3, xmm0
movss xmm0, dword [rsi + 4]
movaps xmm5, xmm0
mulss xmm0, xmm15
addss xmm2, xmm1
mulss xmm5, xmm9
movss xmm1, dword [rsi + 8]
movaps xmm4, xmm1
mulss xmm1, xmm15
addss xmm5, xmm3
mulss xmm4, xmm9
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [rsp + 0x68], xmm5
comiss xmm3, xmm5
movss dword [rsp + 0x60], xmm3
movss dword [rsp + 0x64], xmm2
movss dword [rsp + 0x6c], xmm4
jbe 0x140052540
movss dword [rsp + 0x60], xmm5
movss dword [rsp + 0x68], xmm3
comiss xmm2, xmm4
jbe 0x140052551
movss dword [rsp + 0x64], xmm4
movss dword [rsp + 0x6c], xmm2
mov edx, ebx
mov rcx, rdi
call fcn.140042230
lea r9, [rbp + 0x80]
mov dword [rsp + 0x20], 0x40800
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.14006d870
movzx edx, byte [rsp + 0x30]
movzx ecx, byte [rbp + 0x80]
test dl, dl
jne 0x140052593
test cl, cl
je 0x1400527ac
mov eax, ebx
not eax
and eax, 1
add eax, 5
mov dword [r14 + 0x20d8], eax
test cl, cl
je 0x1400527ac
cmp byte [r14 + 0x41d], 0
je 0x140052674
test ebx, ebx
jne 0x140052674
mov r8, qword [rbp + 0x88]
lea rcx, [rsp + 0x70]
mov rdx, rdi
call fcn.140033ff0
mov rdx, qword [0x1400e0bf8]
mov byte [rsp + 0x32], 1
movss xmm6, dword [rax]
movss xmm0, dword [rax + 4]
mov ecx, dword [rdx + 0x1d74]
test ecx, ecx
movss dword [rsp + 0x40], xmm6
setne al
movss dword [rsp + 0x44], xmm0
mov byte [rdx + 0x1d80], al
xor eax, eax
test ecx, ecx
je 0x140052625
mov dword [rdx + 0x1d7c], eax
mov word [rdx + 0x1d83], ax
mov dword [rdx + 0x1dac], 0xffffffff
mov dword [rdx + 0x1d74], eax
mov word [rdx + 0x1d81], 0
mov qword [rdx + 0x1da0], rax
mov word [rdx + 0x1d85], 0
mov qword [rdx + 0x1d88], 0
mov qword [rdx + 0x1d90], rax
movzx ecx, byte [rbp + 0x80]
movzx edx, byte [rsp + 0x30]
test cl, cl
je 0x1400527c0
mov ecx, 0x20
jmp 0x1400527cb
movss xmm10, dword [rsi]
ucomiss xmm10, xmm14
jp 0x14005268f
jne 0x14005268f
mov rax, qword [rbp + 0xa8]
movss xmm6, dword [rax + 4]
jmp 0x14005269a
mov rax, qword [rbp + 0xa8]
movaps xmm6, xmm12
movss xmm9, dword [rsi - 4]
ucomiss xmm9, xmm14
jp 0x1400526ae
jne 0x1400526ae
movss xmm4, dword [rax]
jmp 0x1400526b2
movaps xmm4, xmm12
ucomiss xmm10, xmm7
jp 0x1400526c2
jne 0x1400526c2
movss xmm8, dword [rax + 0xc]
jmp 0x1400526c6
movaps xmm8, xmm11
ucomiss xmm9, xmm7
jp 0x1400526d5
jne 0x1400526d5
movss xmm7, dword [rax + 8]
jmp 0x1400526d9
movaps xmm7, xmm11
movss xmm5, dword [rsi + 4]
movss xmm3, dword [rsi + 8]
movaps xmm0, xmm5
movss xmm2, dword [rsp + 0x38]
movaps xmm1, xmm3
mulss xmm0, xmm15
xorps xmm2, xmm13
mulss xmm5, xmm2
mulss xmm3, xmm2
subss xmm5, xmm0
mulss xmm1, xmm15
subss xmm3, xmm1
mulss xmm5, xmm9
addss xmm5, xmm0
mulss xmm3, xmm10
movss xmm0, dword [r14 + 0x120]
subss xmm0, dword [r14 + 0x1d98]
addss xmm3, xmm1
addss xmm5, xmm0
movss xmm0, dword [r14 + 0x124]
subss xmm0, dword [r14 + 0x1d9c]
addss xmm0, xmm3
comiss xmm6, xmm0
ja 0x140052758
movaps xmm6, xmm8
minss xmm6, xmm0
comiss xmm4, xmm5
ja 0x140052764
movaps xmm4, xmm7
minss xmm4, xmm5
lea rax, [rsp + 0x40]
movss dword [rsp + 0x58], xmm4
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r8, [rsi - 4]
movss dword [rsp + 0x5c], xmm6
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.140033910
movzx ecx, byte [rbp + 0x80]
xorps xmm7, xmm7
movzx edx, byte [rsp + 0x30]
movss xmm6, dword [rsp + 0x40]
movss xmm9, dword [rsp + 0x38]
test ebx, ebx
je 0x140052662
test cl, cl
jne 0x14005266a
test dl, dl
je 0x140052801
xor ecx, ecx
test dl, dl
setne cl
add rcx, 0x1e
mov rax, qword [0x1400e0bf8]
add rcx, rcx
movups xmm0, xmmword [rax + rcx*8 + 0x1704]
lea rcx, [rsp + 0x78]
movups xmmword [rsp + 0x78], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1638]
movss dword [rbp - 0x7c], xmm0
call fcn.140034df0
mov dword [r12], eax
inc ebx
add rsi, 0x18
add r12, 4
cmp ebx, r13d
jl 0x1400524b0
movss xmm13, dword [rsp + 0x48]
movss xmm8, dword [0x14007eff0]
movzx esi, byte [rsp + 0x31]
xor ebx, ebx
neg sil
sbb rax, rax
and eax, 4
mov qword [rsp + 0x70], rax
jbe 0x140052a39
movss xmm6, dword [0x140085d30]
lea rsi, [0x1400b90a4]
nop
cmp ebx, 1
jbe 0x14005286e
mov r14d, 3
lea r13, [rsp + 0x3c]
mov r15d, 0x124
mov r12d, 0x1d9c
jmp 0x140052885
mov r14d, 4
lea r13, [rsp + 0x38]
mov r15d, 0x120
mov r12d, 0x1d98
movaps xmm3, xmm9
movss dword [rsp + 0x20], xmm8
mov r8d, ebx
lea rcx, [rsp + 0x78]
mov rdx, rdi
call fcn.140042b30
lea edx, [rbx + 4]
mov rcx, rdi
call fcn.140042230
lea r9, [rbp + 0x80]
mov dword [rsp + 0x20], 0x800
lea r8, [rsp + 0x31]
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.14006d870
cmp byte [rsp + 0x31], 0
movzx eax, byte [rbp + 0x80]
mov rcx, qword [rsp + 0x50]
je 0x1400528eb
movss xmm0, dword [rcx + 0x1d6c]
comiss xmm0, xmm6
ja 0x1400528f3
test al, al
je 0x140052a15
mov dword [rcx + 0x20d8], r14d
test al, al
je 0x140052a15
mov rax, qword [rbp + 0x90]
mov dword [rax], ebx
cmp ebx, 3
jne 0x1400529c5
mov rax, qword [rbp + 0xa8]
movaps xmm3, xmm12
movss xmm2, dword [rax + 4]
movaps xmm4, xmm11
movaps xmm5, xmm11
mov r14, qword [rsp + 0x50]
movsd xmm0, qword [rdi + 0x50]
movsd qword [rsp + 0x38], xmm0
movss xmm1, dword [r15 + r14]
subss xmm1, dword [r12 + r14]
addss xmm1, xmm8
movss dword [r13], xmm1
movss xmm0, dword [rsp + 0x3c]
comiss xmm2, xmm0
ja 0x140052965
movaps xmm2, xmm4
minss xmm2, xmm0
movss xmm0, dword [rsp + 0x38]
comiss xmm3, xmm0
ja 0x140052977
movaps xmm3, xmm5
minss xmm3, xmm0
movss xmm0, dword [rsi - 0xc]
lea rax, [rsp + 0x40]
movss xmm1, dword [rsi - 8]
lea r9, [rsp + 0x48]
minss xmm0, dword [rsi - 4]
minss xmm1, dword [rsi]
lea r8, [rsp + 0x58]
movss dword [rsp + 0x38], xmm3
lea rdx, [rsp + 0x38]
movss dword [rsp + 0x3c], xmm2
mov rcx, rdi
mov qword [rsp + 0x20], rax
movss dword [rsp + 0x58], xmm0
movss dword [rsp + 0x5c], xmm1
call fcn.140033910
jmp 0x140052a1a
movaps xmm2, xmm12
cmp ebx, 1
jne 0x1400529de
mov rax, qword [rbp + 0xa8]
movss xmm3, dword [rax]
jmp 0x140052924
movaps xmm3, xmm12
cmp ebx, 2
jne 0x1400529f8
mov rax, qword [rbp + 0xa8]
movss xmm4, dword [rax + 0xc]
jmp 0x140052928
movaps xmm4, xmm11
test ebx, ebx
jne 0x140052928
mov rax, qword [rbp + 0xa8]
movss xmm5, dword [rax + 8]
jmp 0x14005292c
mov r14, qword [rsp + 0x50]
inc ebx
add rsi, 0x1c
sub qword [rsp + 0x70], 1
jne 0x140052850
movss xmm13, dword [rsp + 0x48]
movss xmm6, dword [rsp + 0x40]
call fcn.14004a260
mov r15, qword [rsp + 0x140]
mov r12, qword [rsp + 0x148]
mov rsi, qword [rsp + 0x150]
mov rbx, qword [rsp + 0x198]
mov dword [rdi + 0x18c], 0
mov rax, qword [r14 + 0x2088]
test rax, rax
je 0x140052bf9
cmp qword [rax + 0x3d8], rdi
jne 0x140052bf9
mov eax, dword [r14 + 0x1f8c]
cmp eax, 2
jne 0x140052aa8
cmp byte [r14 + 0x13d], 0
je 0x140052bf9
lea edx, [rax - 1]
lea rcx, [rbp - 0x70]
jmp 0x140052ab8
cmp eax, 3
jne 0x140052bf9
lea edx, [rax - 1]
lea rcx, [rbp - 0x78]
movaps xmm3, xmm7
movss dword [rsp + 0x20], xmm7
xor r8d, r8d
call fcn.140042790
movss xmm15, dword [rax]
ucomiss xmm15, xmm7
movss xmm14, dword [rax + 4]
jp 0x140052ae8
jne 0x140052ae8
ucomiss xmm14, xmm7
jp 0x140052ae8
je 0x140052bf9
movss xmm0, dword [r14 + 0x18]
lea rcx, [rsp + 0x78]
mulss xmm0, dword [0x140085de0]
movss xmm1, dword [r14 + 0xc0]
minss xmm1, dword [r14 + 0xc4]
movss xmm7, dword [rdi + 0x50]
movss xmm9, dword [rdi + 0x54]
movss xmm10, dword [rdi + 0x5c]
movss xmm6, dword [rdi + 0x58]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm11, eax
mov rax, qword [rbp + 0xa8]
cvtdq2ps xmm11, xmm11
movss xmm8, dword [rax]
movss xmm12, dword [rax + 4]
mov byte [r14 + 0x20a8], 0
mov byte [r14 + 0x1faf], 1
mov rax, qword [0x1400e0bf8]
movups xmm0, xmmword [rax + 0x1904]
movups xmmword [rsp + 0x78], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1638]
movss dword [rbp - 0x7c], xmm0
call fcn.140034df0
mov rcx, qword [rbp + 0xa0]
subss xmm8, xmm7
mulss xmm15, xmm11
subss xmm12, xmm9
lea r8, [rbp + 0x80]
mov rdx, rdi
mulss xmm14, xmm11
mov dword [rcx], eax
lea rcx, [rbp - 0x78]
subss xmm8, xmm6
subss xmm12, xmm10
maxss xmm15, xmm8
maxss xmm14, xmm12
addss xmm15, dword [rdi + 0x60]
addss xmm14, dword [rdi + 0x64]
movss dword [rbp + 0x80], xmm15
movss dword [rbp + 0x84], xmm14
call fcn.140033ff0
movss xmm11, dword [0x140085dec]
movss xmm0, dword [rax + 4]
movss xmm6, dword [rax]
movss dword [rsp + 0x44], xmm0
ucomiss xmm6, xmm11
movaps xmm15, xmmword [rsp + 0xa0]
movaps xmm14, xmmword [rsp + 0xb0]
movaps xmm12, xmmword [rsp + 0xd0]
movaps xmm10, xmmword [rsp + 0xf0]
movaps xmm9, xmmword [rsp + 0x100]
movaps xmm8, xmmword [rsp + 0x110]
movaps xmm7, xmmword [rsp + 0x120]
jp 0x140052c3f
je 0x140052c76
test dword [rdi + 0xc], 0x100
xorps xmm2, xmm2
movss xmm0, dword [rsp + 0x44]
movss dword [rdi + 0x64], xmm0
movss dword [rdi + 0x60], xmm6
mov rcx, qword [0x1400e0bf8]
jne 0x140052c79
comiss xmm2, dword [rcx + 0x3204]
jb 0x140052c79
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x3204], eax
jmp 0x140052c79
xorps xmm2, xmm2
movaps xmm6, xmmword [rsp + 0x130]
ucomiss xmm13, xmm11
movaps xmm11, xmmword [rsp + 0xe0]
jp 0x140052c92
je 0x140052cd7
test dword [rdi + 0xc], 0x100
cvttss2si eax, xmm13
movd xmm1, eax
cvttss2si eax, dword [rsp + 0x4c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x50], xmm1
movss dword [rdi + 0x54], xmm0
mov rdx, qword [0x1400e0bf8]
jne 0x140052cd7
comiss xmm2, dword [rdx + 0x3204]
jb 0x140052cd7
mov ecx, dword [rdx + 0x1c]
mov dword [rdx + 0x3204], ecx
movsd xmm0, qword [rdi + 0x60]
movzx eax, byte [rsp + 0x32]
movaps xmm13, xmmword [rsp + 0xc0]
movsd qword [rdi + 0x58], xmm0
add rsp, 0x158
pop r14
pop r13
pop rdi
pop rbp
ret
xor al, al
add rsp, 0x158
pop r14
pop r13
pop rdi
pop rbp
ret