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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x6b2a68
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x4c], ebx
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x20], 5
jne 0x634f98
movd xmm0, dword [edi + 0x18]
lea esi, [edi + 0x18]
movss xmm1, dword [ebx + 0x34]
subss xmm1, dword [ebx + 0x2c]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jae 0x634f98
movd xmm0, dword [edi + 0x1c]
movss xmm1, dword [ebx + 0x38]
subss xmm1, dword [ebx + 0x30]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jae 0x634f98
mov ecx, edi
mov dword [esp + 0x7c], edi
mov byte [esp + 0x80], 1
call fcn.00571760
mov dword [esp + 0xc0], 0
cmp dword [edi + 8], 0
je 0x634f69
cmp dword [esi], 0
jle 0x634f69
cmp dword [edi + 0x1c], 0
jle 0x634f69
mov edi, dword [ebp + 0x14]
mov ecx, edi
push esi
call fcn.00582f00
test al, al
je 0x634f69
movss xmm2, dword [ebx + 0x3c]
xorps xmm0, xmm0
comiss xmm2, xmm0
movss xmm1, dword [0x6b7e70]
movaps xmm3, xmm1
jbe 0x634cb8
divss xmm3, xmm2
mov esi, dword [esi]
movss xmm2, dword [ebx + 0x34]
subss xmm2, dword [ebx + 0x2c]
mov eax, dword [ebp + 0xc]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x3c], esi
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 8]
mov dword [esp + 0x74], eax
mov eax, dword [edi + 8]
xor edi, edi
movss dword [esp + 0x2c], xmm3
mov dword [esp + 0x44], ecx
mov dword [esp + 0x30], eax
divss xmm2, xmm0
movd xmm0, ecx
movss dword [esp + 0x48], xmm2
movss xmm2, dword [ebx + 0x38]
subss xmm2, dword [ebx + 0x30]
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movss dword [esp + 0x78], xmm2
test ecx, ecx
jle 0x634f65
mov edx, dword [esp + 0x44]
lea eax, [ecx - 1]
mov ecx, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], ecx
lea ecx, [ecx]
xor ebx, ebx
test esi, esi
jle 0x634f49
movd xmm0, edi
dec esi
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x38], esi
mov edx, esi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x34], esi
mulss xmm0, xmm2
movss dword [esp + 0x50], xmm0
movss xmm0, dword [0x6b92e8]
cmp ebx, edx
mov eax, ebx
cmovg eax, edx
cmp edi, ecx
movd xmm4, eax
mov eax, edi
cmovg eax, ecx
cvtdq2ps xmm4, xmm4
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm4, xmm3
mulss xmm2, xmm3
comiss xmm0, xmm4
jbe 0x634de8
comiss xmm0, xmm2
jbe 0x634de8
movaps xmm1, xmm0
subss xmm0, xmm2
subss xmm1, xmm4
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
cvtps2pd xmm0, xmm0
call fcn.00553810
movss xmm4, dword [0x6b92e8]
cvtsd2ss xmm0, xmm0
subss xmm4, xmm0
xorps xmm0, xmm0
comiss xmm4, xmm0
ja 0x634dd2
movaps xmm4, xmm0
movss xmm2, dword [0x6b7e70]
mulss xmm4, xmm4
comiss xmm2, xmm4
ja 0x634e08
movaps xmm4, xmm2
jmp 0x634e08
mulss xmm4, xmm4
mulss xmm2, xmm2
comiss xmm2, xmm4
ja 0x634df8
movaps xmm4, xmm2
comiss xmm1, xmm4
movss xmm2, dword [0x6b7e70]
ja 0x634e08
movaps xmm4, xmm1
mov eax, dword [esp + 0x4c]
subss xmm2, xmm4
movd xmm1, ebx
sub esp, 8
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm2
movaps xmm3, xmm1
mulss xmm0, xmm1
mulss xmm3, dword [esp + 0x50]
movss xmm1, dword [esp + 0x58]
addss xmm1, dword [eax + 0x30]
addss xmm3, dword [eax + 0x2c]
mulss xmm1, xmm4
mulss xmm3, xmm4
addss xmm3, xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
addss xmm1, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm3
movss dword [esp + 0x6c], xmm1
movsd qword [esp + 0x5c], xmm0
fld qword [esp + 0x5c]
fstp qword [esp]
call fcn.005515c0
fstp qword [esp + 0x5c]
movsd xmm0, qword [esp + 0x5c]
lea edx, [esp + 0x40]
cvtpd2ps xmm0, xmm0
lea ecx, [esp + 0x5c]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x6c]
cmp eax, esi
mov dword [esp + 0x5c], eax
cvtps2pd xmm0, xmm0
cmovge ecx, edx
lea eax, [esp + 0x68]
cmp dword [ecx], 0
cmovg eax, ecx
movsd qword [esp + 0x6c], xmm0
fld qword [esp + 0x6c]
fstp qword [esp]
mov esi, dword [eax]
call fcn.005515c0
fstp qword [esp + 0x6c]
movsd xmm0, qword [esp + 0x6c]
lea edx, [esp + 0x74]
cvtpd2ps xmm0, xmm0
add esp, 8
lea ecx, [esp + 0x64]
movss xmm1, dword [0x6b7e70]
cvttss2si eax, xmm0
movss xmm3, dword [esp + 0x2c]
cmp eax, dword [esp + 0x40]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x70]
cmovge ecx, edx
mov edx, dword [esp + 0x74]
cmp dword [ecx], 0
cmovg eax, ecx
mov ecx, dword [esp + 0x28]
inc ebx
mov eax, dword [eax]
imul eax, dword [esp + 0x3c]
add eax, esi
mov esi, dword [esp + 0x38]
mov eax, dword [edx + eax*4]
mov edx, dword [esp + 0x30]
mov dword [edx], eax
add edx, 4
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x34]
dec edx
mov dword [esp + 0x34], edx
cmp ebx, dword [esp + 0x3c]
jl 0x634d62
movss xmm2, dword [esp + 0x78]
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
movss xmm1, dword [0x6b7e70]
inc edi
movss xmm3, dword [esp + 0x2c]
dec ecx
mov dword [esp + 0x28], ecx
cmp edi, edx
jl 0x634d30
mov bl, 1
jmp 0x634f6b
xor bl, bl
mov dword [esp + 0xc0], 0xffffffff
mov ecx, dword [ebp + 0xc]
call fcn.00572150
mov al, bl
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
xor al, al
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14