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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
push ebx
push esi
movaps xmm1, xmm0
mov dword [esp + 0x1c], ecx
push edi
xorps xmm0, xmm0
mov edi, edx
comiss xmm0, xmm1
mov dword [esp + 0x2c], edi
jb 0x461ba6
mov eax, dword [ebp + 8]
and dword [eax + 8], 0
and dword [eax + 0x10], 0
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
and dword [eax + 0xc], 0
jmp 0x461f50
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0xc0]
call fcn.0045d9a1
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp edx, esi
jne 0x461bd1
mov eax, ecx
mov ecx, esi
push eax
call fcn.0045db13
lea edx, [esp + 0xc0]
jmp 0x461be0
mov dword [esi + 8], ebx
and dword [esi + 0x10], ebx
and dword [esi + 0x18], ebx
and dword [esi + 0x14], ebx
and dword [esi + 0xc], ebx
movss xmm3, dword [0x559618]
lea ecx, [esp + 0x68]
divss xmm3, dword [ebp + 0x14]
mov byte [esi + 0x1c], 1
push dword [ebp + 0x10]
movaps xmm0, xmm1
mulss xmm0, dword [0x5598b8]
push edx
mulss xmm0, xmm1
mulss xmm1, dword [0x5595f4]
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x24], xmm1
call fcn.0046077d
push 0x308
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.0048d3bb
xorps xmm0, xmm0
lea ecx, [esp + 0x68]
movaps xmm3, xmm0
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x30], xmm3
call fcn.004607ea
mov ebx, dword [esp + 0x18]
test al, al
je 0x461f00
cmp dword [esp + 0x7c], 0
jne 0x461cb5
test ebx, ebx
jle 0x461c9b
movss xmm0, dword [esp + 0x24]
lea edx, [esp + 0x10]
movss xmm3, dword [esp + 0x1c]
push ecx
push edi
push dword [esp + 0x28]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
call fcn.00461828
add esp, 0x14
xor ebx, ebx
mov dword [esp + 0x18], ebx
movss xmm0, dword [esp + 0x68]
movss xmm1, dword [esp + 0x6c]
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x34], xmm1
jmp 0x461cc1
movss xmm0, dword [esp + 0x30]
movss xmm1, dword [esp + 0x34]
cmp byte [esp + 0x78], 0
movss xmm2, dword [esp + 0x70]
movss xmm3, dword [esp + 0x74]
movss dword [esp + 0x38], xmm2
subss xmm2, xmm0
movaps xmm0, xmm3
movss dword [esp + 0x3c], xmm3
subss xmm0, xmm1
movss dword [esp + 0x60], xmm2
movaps xmm1, xmm0
movss dword [esp + 0x64], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
jne 0x461d56
comiss xmm1, dword [0x559530]
ja 0x461d56
mov eax, dword [esp + 0xb4]
cmp eax, dword [esp + 0xb0]
jne 0x461ef2
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0xb8]
cmp ecx, dword [eax + 8]
jae 0x461d56
mov eax, dword [esp + 0x9c]
movss xmm0, dword [eax + ecx*4]
ucomiss xmm0, dword [0x5599a4]
lahf
test ah, 0x44
jp 0x461ef2
cvtps2pd xmm0, xmm1
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.004fe2d4
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp dword [esp + 0x30]
movss xmm0, dword [esp + 0x30]
ucomiss xmm0, dword [0x559510]
pop ecx
pop ecx
lahf
test ah, 0x44
jp 0x461dc7
movss xmm3, dword [esp + 0x30]
movss xmm4, dword [esp + 0x34]
movss dword [esp + 0x48], xmm3
movss dword [esp + 0x40], xmm3
movss dword [esp + 0x58], xmm3
movss dword [esp + 0x50], xmm3
movss dword [esp + 0x4c], xmm4
movss dword [esp + 0x44], xmm4
movss dword [esp + 0x5c], xmm4
movss dword [esp + 0x54], xmm4
jmp 0x461e59
movss xmm1, dword [esp + 0x1c]
divss xmm1, xmm0
movss xmm0, dword [esp + 0x30]
movaps xmm2, xmm1
mulss xmm1, dword [esp + 0x64]
mulss xmm2, dword [esp + 0x60]
subss xmm0, xmm1
movss dword [esp + 0x58], xmm0
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x34]
movss dword [esp + 0x5c], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x30]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x34]
subss xmm0, xmm2
movss dword [esp + 0x44], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x70]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x74]
subss xmm0, xmm2
addss xmm2, dword [esp + 0x74]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x70]
subss xmm0, xmm1
movss dword [esp + 0x54], xmm2
movss dword [esp + 0x50], xmm0
lea ecx, [ebx + 1]
cmp ecx, dword [esp + 0x14]
jle 0x461e83
mov eax, ecx
test eax, eax
jns 0x461e6b
add eax, 1
sar eax, 1
add ecx, 8
add eax, ecx
lea ecx, [esp + 0x10]
and eax, 0xfffffff8
push eax
call fcn.0048d3bb
mov ebx, dword [esp + 0x18]
mov eax, ebx
inc ebx
imul edi, eax, 0x30
mov dword [esp + 0x18], ebx
add edi, dword [esp + 0x10]
je 0x461e9f
push 0xc
pop ecx
lea esi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
cmp byte [esp + 0x78], 0
mov edi, dword [esp + 0x2c]
je 0x461eda
movss xmm0, dword [esp + 0x24]
lea edx, [esp + 0x10]
movss xmm3, dword [esp + 0x1c]
push ecx
push edi
push dword [esp + 0x28]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 1
call fcn.00461828
add esp, 0x14
xor ebx, ebx
mov dword [esp + 0x18], ebx
jmp 0x461ef2
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x34], xmm0
lea ecx, [esp + 0x68]
call fcn.004607ea
jmp 0x461c5a
test ebx, ebx
jle 0x461f2c
movss xmm0, dword [esp + 0x24]
lea edx, [esp + 0x10]
movss xmm3, dword [esp + 0x1c]
push ecx
push edi
push dword [esp + 0x28]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
call fcn.00461828
add esp, 0x14
push dword [esp + 0x10]
call fcn.004fd784
pop ecx
push dword [esp + 0xb0]
call fcn.004fd784
pop ecx
push dword [esp + 0xc0]
call fcn.004fd784
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret