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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x174
xorps xmm0, xmm0
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x58], xmm0
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x60], xmm0
movss dword [esp + 0xc], xmm0
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
movss dword [ebx + 0x34], xmm0
movq xmm0, qword [esi]
movq qword [esp + 0xac], xmm0
movq xmm0, qword [esi + 8]
movq qword [esp + 0xb4], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [esp + 0xbc], xmm0
movq xmm0, qword [esi + 0x18]
movq qword [esp + 0xc4], xmm0
movq xmm0, qword [esi + 0x20]
movq qword [esp + 0xcc], xmm0
movq xmm0, qword [esi + 0x28]
movq qword [esp + 0xd4], xmm0
movq xmm0, qword [esi + 0x30]
movq qword [esp + 0xdc], xmm0
movq xmm0, qword [esi + 0x38]
movss xmm4, dword [esp + 0xdc]
movq qword [esp + 0xe4], xmm0
movq xmm0, qword [esi + 0x40]
movss xmm7, dword [0x565314]
movss xmm6, dword [esp + 0xe0]
movq qword [esp + 0xec], xmm0
movq xmm0, qword [esi + 0x48]
mov ecx, dword [ebx + 0x28]
movq qword [esp + 0xf4], xmm0
movq xmm0, qword [esi + 0x50]
movq qword [esp + 0xfc], xmm0
movq xmm0, qword [esi + 0x58]
movq qword [esp + 0x104], xmm0
movq xmm0, qword [esi + 0x60]
movq qword [esp + 0x10c], xmm0
movq xmm0, qword [esi + 0x68]
movq qword [esp + 0x114], xmm0
movq xmm0, qword [esi + 0x70]
movq qword [esp + 0x11c], xmm0
movq xmm0, qword [esi + 0x78]
movss xmm3, dword [esp + 0x11c]
movss xmm5, dword [esp + 0x120]
movq qword [esp + 0x124], xmm0
movss xmm2, dword [esp + 0x124]
addss xmm2, dword [esp + 0xe4]
movaps xmm0, xmm3
addss xmm0, xmm4
mulss xmm0, xmm7
subss xmm4, xmm0
movaps xmm1, xmm5
movss dword [esp + 0xdc], xmm4
movss xmm4, dword [esp + 0xe4]
subss xmm3, xmm0
addss xmm1, xmm6
movss dword [esp + 0x13c], xmm0
movss xmm0, dword [esp + 0x124]
mulss xmm1, xmm7
mulss xmm2, xmm7
subss xmm6, xmm1
subss xmm4, xmm2
subss xmm5, xmm1
subss xmm0, xmm2
movss dword [esp + 0xe0], xmm6
movss dword [esp + 0xe4], xmm4
movss dword [esp + 0x11c], xmm3
movss dword [esp + 0x120], xmm5
movss dword [esp + 0x124], xmm0
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
push edi
movss dword [esp + 0x144], xmm1
movss dword [esp + 0x148], xmm2
call edx
fstp dword [esp + 0x3c]
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
call edx
fstp dword [esp + 0x38]
inc dword [0x6f2790]
cmp byte [ebx + 0x30], 0
xorps xmm0, xmm0
je 0x524123
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x38], xmm0
movss xmm1, dword [0x5652d0]
xor eax, eax
mov dword [ebx + 0x3c], eax
movss dword [ebx + 0x10], xmm0
movss dword [ebx + 0x18], xmm0
movss dword [ebx + 0x1c], xmm0
movss xmm0, dword [0x580c60]
lea edi, [ebx + 0x10]
movss dword [edi + 4], xmm1
mov ecx, dword [ebx + 0x24]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [esp + 0x3c]
mov byte [esp + 0x17], al
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x38], 0xffffffff
movss dword [esp + 0x7c], xmm0
call fcn.005256d0
movss xmm2, dword [0x5652f8]
movss xmm4, dword [esi + 0x10]
movss xmm5, dword [esi + 0x40]
movaps xmm0, xmm2
subss xmm0, dword [edi]
movaps xmm1, xmm2
subss xmm2, dword [edi + 8]
subss xmm1, dword [edi + 4]
mulss xmm4, xmm1
movaps xmm3, xmm2
mulss xmm3, dword [esi + 0x20]
addss xmm3, xmm4
movss xmm4, dword [esi]
mulss xmm4, xmm0
addss xmm3, xmm4
movss dword [esp + 0x150], xmm3
movss xmm3, dword [esi + 4]
mulss xmm3, xmm0
movaps xmm4, xmm2
mulss xmm4, dword [esi + 0x24]
addss xmm3, xmm4
mov ecx, dword [ebx + 0x28]
movaps xmm4, xmm1
mulss xmm4, dword [esi + 0x14]
addss xmm3, xmm4
movss xmm4, dword [esi + 0x50]
movss dword [esp + 0x154], xmm3
movss xmm3, dword [esi + 0x28]
mulss xmm3, xmm2
movss xmm2, dword [esi + 0x18]
mulss xmm2, xmm1
movss xmm1, dword [esi + 8]
mulss xmm1, xmm0
movss xmm0, dword [edi]
mulss xmm5, xmm0
addss xmm3, xmm2
movss xmm2, dword [edi + 4]
mulss xmm4, xmm2
addss xmm4, xmm5
movss xmm5, dword [esi + 0x60]
addss xmm3, xmm1
movss xmm1, dword [edi + 8]
mulss xmm5, xmm1
addss xmm4, xmm5
movss xmm5, dword [esi + 0x54]
movss dword [esp + 0x160], xmm4
movss xmm4, dword [esi + 0x44]
mulss xmm4, xmm0
mulss xmm0, dword [esi + 0x48]
mulss xmm5, xmm2
addss xmm4, xmm5
movss xmm5, dword [esi + 0x64]
mulss xmm5, xmm1
addss xmm4, xmm5
movss dword [esp + 0x164], xmm4
movss xmm4, dword [esi + 0x58]
mulss xmm4, xmm2
movss xmm2, dword [esi + 0x68]
movss dword [esp + 0x158], xmm3
xorps xmm3, xmm3
addss xmm0, xmm4
mulss xmm2, xmm1
lea edx, [esp + 0x150]
addss xmm0, xmm2
push edx
movss dword [esp + 0x160], xmm3
movss dword [esp + 0x16c], xmm0
movss dword [esp + 0x170], xmm3
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
lea edx, [esp + 0x174]
push edx
call eax
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x160]
push eax
lea eax, [esp + 0x44]
push eax
call edx
movss xmm3, dword [esp + 0x174]
movss xmm4, dword [esp + 0x178]
movss xmm0, dword [esp + 0xb4]
movss xmm1, dword [esp + 0xb8]
movss xmm5, dword [esp + 0x170]
movss xmm2, dword [esp + 0xc8]
mulss xmm1, xmm4
mulss xmm0, xmm3
movss xmm6, dword [esp + 0x44]
mulss xmm2, xmm4
addss xmm0, xmm1
movss xmm1, dword [esp + 0xb0]
mulss xmm1, xmm5
movss xmm7, dword [esp + 0x108]
addss xmm0, xmm1
movss xmm1, dword [esp + 0xc4]
mulss xmm1, xmm3
addss xmm1, xmm2
movss xmm2, dword [esp + 0xc0]
mulss xmm2, xmm5
addss xmm1, xmm2
movss xmm2, dword [esp + 0xd4]
mulss xmm2, xmm3
movss xmm3, dword [esp + 0xd8]
mulss xmm3, xmm4
movss xmm4, dword [esp + 0xf8]
addss xmm2, xmm3
movss xmm3, dword [esp + 0xd0]
mulss xmm3, xmm5
movss xmm5, dword [esp + 0x48]
addss xmm0, dword [esp + 0xe0]
addss xmm2, xmm3
xorps xmm3, xmm3
addss xmm2, dword [esp + 0xe8]
addss xmm1, dword [esp + 0xe4]
mulss xmm4, xmm5
movss dword [esp + 0x2c], xmm3
movss xmm3, dword [esp + 0xf4]
mulss xmm3, xmm6
addss xmm3, xmm4
movss xmm4, dword [esp + 0xf0]
mulss xmm4, dword [esp + 0x40]
addss xmm3, xmm4
movss xmm4, dword [esp + 0x104]
addss xmm3, dword [esp + 0x120]
mulss xmm7, xmm5
movss xmm5, dword [esp + 0x100]
mulss xmm5, dword [esp + 0x40]
mulss xmm4, xmm6
addss xmm4, xmm7
addss xmm4, xmm5
movss xmm5, dword [esp + 0x114]
addss xmm4, dword [esp + 0x124]
mulss xmm5, xmm6
movss xmm6, dword [esp + 0x118]
mulss xmm6, dword [esp + 0x48]
addss xmm5, xmm6
movss xmm6, dword [esp + 0x110]
mulss xmm6, dword [esp + 0x40]
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x80], xmm3
addss xmm5, xmm6
addss xmm5, dword [esp + 0x128]
xorps xmm6, xmm6
subss xmm2, xmm5
movss dword [esp + 0x20], xmm0
subss xmm0, xmm3
movss xmm3, dword [edi + 8]
mulss xmm3, xmm2
movss dword [esp + 0x138], xmm2
movss xmm2, dword [edi + 4]
movss dword [esp + 0x24], xmm1
subss xmm1, xmm4
mulss xmm2, xmm1
movss dword [esp + 0x84], xmm4
movss dword [esp + 0x88], xmm5
movss dword [esp + 0x8c], xmm6
movss dword [esp + 0x130], xmm0
movss dword [esp + 0x134], xmm1
movss dword [esp + 0x13c], xmm6
addss xmm3, xmm2
mulss xmm0, dword [edi]
addss xmm3, xmm0
comiss xmm3, xmm6
movss dword [esp + 0xac], xmm3
jbe 0x524528
movss xmm1, dword [esi + 0x80]
mulss xmm1, dword [esp + 0x1c]
movaps xmm0, xmm3
mulss xmm0, xmm3
comiss xmm0, xmm1
ja 0x524653
mov ecx, dword [ebx + 0x24]
lea eax, [esp + 0x130]
push eax
call fcn.00524c80
test al, al
jne 0x52464c
movss xmm1, dword [esp + 0x1c]
movaps xmm0, xmm1
subss xmm0, dword [esp + 0xac]
mulss xmm1, dword [0x580c50]
comiss xmm1, xmm0
jae 0x524816
lea ecx, [esp + 0x80]
push ecx
mov ecx, dword [ebx + 0x24]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x138]
push eax
call fcn.00524bf0
mov ecx, dword [ebx + 0x24]
push edi
call fcn.005265d0
test al, al
je 0x52482e
movss xmm2, dword [edi]
movss xmm1, dword [edi + 4]
movss xmm0, dword [edi + 8]
movaps xmm3, xmm2
mulss xmm3, xmm2
movaps xmm2, xmm1
mulss xmm2, xmm1
movaps xmm1, xmm0
mulss xmm1, xmm0
movss xmm0, dword [0x580c50]
addss xmm3, xmm2
addss xmm3, xmm1
comiss xmm0, xmm3
ja 0x52483a
movss xmm3, dword [edi]
movss xmm2, dword [edi + 4]
movss xmm1, dword [edi + 8]
movss xmm0, dword [esp + 0x1c]
movaps xmm4, xmm3
mulss xmm4, xmm3
movaps xmm3, xmm2
mulss xmm3, xmm2
movaps xmm2, xmm1
mulss xmm2, xmm1
addss xmm4, xmm3
addss xmm4, xmm2
movaps xmm1, xmm4
movaps xmm2, xmm0
mulss xmm0, dword [0x580a90]
subss xmm2, xmm1
comiss xmm0, xmm2
movss dword [esp + 0x1c], xmm1
jae 0x524846
mov eax, dword [ebx + 0x3c]
cmp eax, 0x3e8
lea ecx, [eax + 1]
mov dword [ebx + 0x3c], ecx
jg 0x52485b
mov edx, dword [ebx + 0x24]
cmp dword [edx], 4
jne 0x52417d
push edi
mov ecx, edx
call fcn.00524e70
jmp 0x52485b
mov dword [ebx + 0x40], 1
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x94]
push ecx
mov ecx, dword [ebx + 0x24]
call fcn.00526600
movss xmm7, dword [esp + 0x94]
movss xmm6, dword [esp + 0x90]
movss xmm3, dword [edi + 4]
movss xmm2, dword [edi + 8]
movaps xmm0, xmm7
subss xmm0, dword [esp + 0x54]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x98]
subss xmm0, dword [esp + 0x58]
movss dword [esp + 0x28], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x2c], xmm0
movaps xmm1, xmm6
subss xmm1, dword [esp + 0x50]
movaps xmm4, xmm3
movss dword [esp + 0x20], xmm1
movdqa xmm0, xmmword [esp + 0x20]
movdqa xmmword [esp + 0x60], xmm0
movss xmm0, dword [edi]
mulss xmm4, xmm3
movaps xmm3, xmm2
mulss xmm0, xmm0
mulss xmm3, xmm2
addss xmm0, xmm4
addss xmm0, xmm3
movsd xmm3, qword [0x593418]
cvtps2pd xmm2, xmm0
comisd xmm3, xmm2
jbe 0x524702
mov dword [ebx + 0x40], 5
comiss xmm0, dword [0x59293c]
jbe 0x524854
movss xmm2, dword [0x5652d0]
movss xmm4, dword [edi + 4]
movss xmm5, dword [edi + 8]
sqrtss xmm3, xmm0
movaps xmm0, xmm2
divss xmm0, xmm3
sqrtss xmm3, dword [esp + 0x1c]
mulss xmm1, xmm0
movss dword [esp + 0x60], xmm1
movss xmm1, dword [esp + 0x64]
mulss xmm1, xmm0
movss dword [esp + 0x64], xmm1
movss xmm1, dword [esp + 0x68]
mulss xmm1, xmm0
movss dword [esp + 0x68], xmm1
movaps xmm1, xmm2
divss xmm1, xmm3
movss xmm3, dword [edi]
movaps xmm2, xmm1
mulss xmm2, dword [esp + 0x3c]
mulss xmm1, dword [esp + 0x38]
mulss xmm3, xmm2
mulss xmm4, xmm2
mulss xmm5, xmm2
movss xmm2, dword [esp + 0x98]
subss xmm2, xmm5
subss xmm6, xmm3
movss xmm3, dword [edi + 4]
subss xmm7, xmm4
movss xmm4, dword [edi + 8]
movss dword [esp + 0x98], xmm2
movss xmm2, dword [edi]
mulss xmm2, xmm1
addss xmm2, dword [esp + 0x50]
mulss xmm3, xmm1
addss xmm3, dword [esp + 0x54]
mulss xmm4, xmm1
movss xmm1, dword [0x5652d0]
addss xmm4, dword [esp + 0x58]
divss xmm1, xmm0
subss xmm1, dword [esp + 0x7c]
movss dword [esp + 0x90], xmm6
movss dword [esp + 0x94], xmm7
movss dword [esp + 0x50], xmm2
movss dword [esp + 0x54], xmm3
movss dword [esp + 0x58], xmm4
movss dword [esp + 0x18], xmm1
mov byte [esp + 0x17], 1
mov dword [ebx + 0x38], 1
jmp 0x52485b
xorps xmm1, xmm1
comiss xmm1, xmm0
jb 0x524653
mov dword [ebx + 0x40], 2
jmp 0x524653
mov dword [ebx + 0x40], 3
jmp 0x524653
mov dword [ebx + 0x40], 6
jmp 0x524653
mov ecx, dword [ebx + 0x24]
push edi
call fcn.00524e70
jmp 0x524653
mov dword [ebx + 0x38], 2
cmp dword [ebx + 0x44], 0
je 0x52488e
cmp dword [ebx + 0x20], 0
je 0x52488e
cmp dword [ebx + 0x40], 0
je 0x52488e
movss xmm0, dword [esp + 0x7c]
addss xmm0, dword [esp + 0x18]
movsd xmm1, qword [0x593410]
cvtps2pd xmm0, xmm0
comisd xmm1, xmm0
jbe 0x52488e
mov al, 1
jmp 0x524890
xor al, al
cmp byte [esp + 0x17], 0
je 0x52489f
test al, al
je 0x524a2a
cmp dword [ebx + 0x20], 0
je 0x524a2a
inc dword [0x6f278c]
mov eax, dword [esi + 0x84]
push eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebx + 0x20]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x2c]
push eax
push edi
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0xc8]
push eax
mov eax, dword [ebx + 0x2c]
push eax
mov eax, dword [ebx + 0x28]
push eax
mov eax, dword [ebx + 0x24]
push eax
call edx
test al, al
je 0x524a23
xorps xmm3, xmm3
movss xmm1, dword [esp + 0x44]
movss xmm5, dword [esp + 0x24]
movss xmm2, dword [esp + 0x48]
movss xmm6, dword [esp + 0x28]
movss xmm0, dword [esp + 0x40]
movss xmm4, dword [esp + 0x20]
movss dword [esp + 0x8c], xmm3
subss xmm1, xmm5
subss xmm2, xmm6
movaps xmm3, xmm2
mulss xmm3, xmm2
movaps xmm7, xmm1
mulss xmm7, xmm1
addss xmm3, xmm7
subss xmm0, xmm4
movaps xmm7, xmm0
mulss xmm7, xmm0
addss xmm3, xmm7
comiss xmm3, dword [0x59293c]
jbe 0x524a1a
cmp byte [esp + 0x17], 0
subss xmm5, dword [esp + 0x44]
subss xmm6, dword [esp + 0x48]
subss xmm4, dword [esp + 0x40]
sqrtss xmm7, xmm3
movss xmm3, dword [0x5652d0]
divss xmm3, xmm7
mulss xmm0, xmm3
mulss xmm1, xmm3
movss dword [esp + 0x80], xmm0
movss dword [esp + 0x84], xmm1
movaps xmm0, xmm6
mulss xmm0, xmm6
movaps xmm1, xmm5
mulss xmm1, xmm5
addss xmm0, xmm1
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm0, xmm1
sqrtss xmm1, xmm0
movss xmm0, dword [0x5652f8]
mulss xmm2, xmm3
movss dword [esp + 0x88], xmm2
subss xmm0, xmm1
je 0x5249e1
movss xmm1, dword [esp + 0x18]
comiss xmm1, xmm0
jbe 0x524a2a
movss dword [esp + 0x18], xmm0
movdqa xmm0, xmmword [esp + 0x20]
movdqa xmmword [esp + 0x90], xmm0
movdqa xmm0, xmmword [esp + 0x40]
movdqa xmmword [esp + 0x50], xmm0
movdqa xmm0, xmmword [esp + 0x80]
movdqa xmmword [esp + 0x60], xmm0
mov dword [ebx + 0x38], 3
jmp 0x524a35
mov dword [ebx + 0x38], 4
jmp 0x524a2a
mov dword [ebx + 0x38], 5
cmp byte [esp + 0x17], 0
je 0x524ab9
movq xmm0, qword [esp + 0x60]
fld dword [esp + 0x18]
mov ecx, dword [ebp + 0xc]
movq qword [edi], xmm0
movq xmm0, qword [esp + 0x68]
movq qword [edi + 8], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [ebx + 0x34], xmm0
movss xmm0, dword [esp + 0x50]
addss xmm0, dword [esp + 0x140]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x54]
addss xmm0, dword [esp + 0x144]
push ecx
movss dword [esp + 0x28], xmm0
fstp dword [esp]
movss xmm0, dword [esp + 0x5c]
addss xmm0, dword [esp + 0x14c]
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x68]
movss dword [esp + 0x30], xmm0
xorps xmm0, xmm0
push edx
movss dword [esp + 0x38], xmm0
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10