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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe4
test eax, eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
je 0x5856e1
mov eax, dword [ebp + 0xc]
mov esi, eax
lea edi, [ebx + 0x110]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x70]
call fcn.004040f0
mov esi, eax
lea edi, [ebx + 0x150]
mov ecx, 0x10
push ebx
rep movsd dword es:[edi], dword [esi]
call fcn.00583770
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
movss xmm0, dword [ebx + 0x140]
add ebx, 0x110
movss dword [esp + 0x20], xmm0
movss xmm0, dword [ebx + 0x34]
lea eax, [esp + 0x40]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [ebx + 0x38]
push eax
mov eax, ebx
movss dword [esp + 0x2c], xmm0
call fcn.00629f10
mov esi, dword [ebp + 0xc]
movss xmm0, dword [esi + 0x30]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esi + 0x34]
lea ecx, [esp + 0x10]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esi + 0x38]
push ecx
mov eax, esi
movss dword [esp + 0x6c], xmm0
call fcn.00629f10
movss xmm0, dword [esp + 0x60]
subss xmm0, dword [esp + 0x20]
xorps xmm7, xmm7
movss xmm5, dword [esp + 0x14]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x64]
subss xmm0, dword [esp + 0x24]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x68]
subss xmm0, dword [esp + 0x28]
movaps xmm4, xmm5
mulss xmm5, dword [esp + 0x4c]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x4c]
mulss xmm0, dword [esp + 0x10]
movaps xmm3, xmm7
subss xmm3, dword [esp + 0x48]
mulss xmm4, xmm3
addss xmm4, xmm0
movss xmm0, dword [esp + 0x1c]
movaps xmm6, xmm0
movaps xmm1, xmm7
subss xmm1, dword [esp + 0x40]
mulss xmm6, xmm1
addss xmm4, xmm6
movss xmm6, dword [esp + 0x18]
movaps xmm2, xmm7
subss xmm2, dword [esp + 0x44]
mulss xmm6, xmm2
subss xmm4, xmm6
movaps xmm6, xmm0
mulss xmm6, xmm2
addss xmm5, xmm6
movss xmm6, dword [esp + 0x18]
mulss xmm6, xmm1
addss xmm5, xmm6
movss dword [esp + 0xc], xmm5
movss xmm6, dword [esp + 0xc]
movaps xmm5, xmm3
mulss xmm5, dword [esp + 0x10]
subss xmm6, xmm5
movss xmm5, dword [esp + 0x18]
mulss xmm5, dword [esp + 0x4c]
movss dword [esp + 0x64], xmm6
movaps xmm6, xmm0
mulss xmm0, dword [esp + 0x4c]
mulss xmm6, xmm3
addss xmm5, xmm6
movss dword [esp + 0xc], xmm5
movaps xmm6, xmm2
mulss xmm6, dword [esp + 0x10]
addss xmm5, xmm6
movss xmm6, dword [esp + 0x14]
mulss xmm6, xmm1
subss xmm5, xmm6
movss xmm6, dword [esp + 0x10]
mulss xmm6, xmm1
movss xmm1, dword [esp + 0x14]
subss xmm0, xmm6
mulss xmm1, xmm2
movss xmm2, dword [esp + 0x30]
subss xmm0, xmm1
movss xmm1, dword [esp + 0x18]
mulss xmm1, xmm3
subss xmm0, xmm1
movss xmm1, dword [esp + 0x64]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [0x7389bc]
movss dword [esp + 0x14], xmm1
movss xmm1, dword [ebp + 0x10]
subss xmm0, xmm1
mulss xmm2, xmm0
movss dword [esp + 0x30], xmm2
movss xmm2, dword [esp + 0x34]
mulss xmm2, xmm0
movss dword [esp + 0x34], xmm2
movss xmm2, dword [esp + 0x38]
mulss xmm2, xmm0
lea ecx, [esp + 0x10]
lea eax, [esp + 0x60]
movss dword [esp + 0x10], xmm4
movss dword [esp + 0x18], xmm5
movss dword [esp + 0x38], xmm2
call fcn.006295e0
movss xmm0, dword [eax]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [eax + 0xc]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [0x7389bc]
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x98], xmm0
movss dword [esp + 0xac], xmm0
movaps xmm0, xmm7
subss xmm0, dword [esp + 0x20]
movaps xmm1, xmm7
subss xmm1, dword [esp + 0x24]
movss dword [esp + 0x90], xmm7
movss dword [esp + 0x80], xmm7
movss dword [esp + 0x94], xmm7
movss dword [esp + 0x74], xmm7
movss dword [esp + 0x88], xmm7
movss dword [esp + 0x78], xmm7
movss dword [esp + 0x9c], xmm7
movss dword [esp + 0x8c], xmm7
movss dword [esp + 0x7c], xmm7
subss xmm7, dword [esp + 0x28]
mov eax, ecx
lea ecx, [esp + 0x70]
movss dword [esp + 0xa0], xmm0
movss dword [esp + 0xa4], xmm1
movss dword [esp + 0xa8], xmm7
call fcn.00495b30
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [esp + 0x20]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x34]
addss xmm0, dword [esp + 0x24]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [esp + 0x28]
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x74]
movss dword [esp + 0x6c], xmm0
call fcn.00404260
mov ecx, 0x10
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0xb0]
call fcn.004040f0
mov edx, dword [ebp + 8]
lea edi, [edx + 0x150]
mov ecx, 0x10
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [edx + 4]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0xc], eax
jle 0x585cf2
movss xmm0, dword [esp + 0xa8]
movss xmm1, dword [esp + 0xa4]
movss xmm2, dword [esp + 0xa0]
movss xmm3, dword [esp + 0x98]
movss xmm4, dword [esp + 0x84]
mov dword [esp + 0x5c], eax
mov ecx, dword [edx]
mov edi, dword [esp + 0x5c]
movss xmm5, dword [ecx + edi + 0x48]
add ecx, edi
ucomiss xmm5, dword [0x738a54]
lahf
test ah, 0x44
jp 0x585b5b
movss xmm5, dword [ebx + 0x20]
mulss xmm5, dword [ecx + 8]
movss xmm6, dword [ebx + 0x10]
mulss xmm6, dword [ecx + 4]
addss xmm5, xmm6
movss xmm6, dword [ebx]
mulss xmm6, dword [ecx]
addss xmm5, xmm6
addss xmm5, dword [ebx + 0x30]
movss xmm6, dword [ebx + 0x14]
mulss xmm6, dword [ecx + 4]
movss dword [esp + 0x40], xmm5
movss xmm5, dword [ebx + 0x24]
mulss xmm5, dword [ecx + 8]
addss xmm5, xmm6
movss xmm6, dword [ebx + 4]
mulss xmm6, dword [ecx]
addss xmm5, xmm6
addss xmm5, dword [ebx + 0x34]
movss xmm6, dword [ebx + 0x18]
mulss xmm6, dword [ecx + 4]
movss dword [esp + 0x44], xmm5
movss xmm5, dword [ebx + 0x28]
mulss xmm5, dword [ecx + 8]
mov esi, dword [esp + 0x44]
lea eax, [ecx + 0x20]
addss xmm5, xmm6
movss xmm6, dword [ebx + 8]
mulss xmm6, dword [ecx]
mov edi, eax
mov eax, dword [esp + 0x40]
add ecx, 0x10
addss xmm5, xmm6
addss xmm5, dword [ebx + 0x38]
mov dword [edi], eax
mov dword [ecx], eax
movss dword [esp + 0x48], xmm5
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x48]
mov dword [edi + 4], esi
mov dword [edi + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [ecx + 4], esi
mov dword [ecx + 8], eax
mov dword [edi + 0xc], edx
mov dword [ecx + 0xc], edx
mov edx, dword [ebp + 8]
jmp 0x585cd3
movss xmm5, dword [ecx + 0x10]
mulss xmm5, dword [esp + 0x70]
movss xmm6, dword [esp + 0x80]
mulss xmm6, dword [ecx + 0x14]
addss xmm5, xmm6
movss xmm6, dword [ecx + 0x18]
mulss xmm6, dword [esp + 0x90]
addss xmm5, xmm6
movss xmm6, dword [ecx + 0x10]
mulss xmm6, dword [esp + 0x74]
addss xmm5, xmm2
movss dword [esp + 0x20], xmm5
mov eax, dword [esp + 0x20]
movaps xmm5, xmm4
mulss xmm5, dword [ecx + 0x14]
addss xmm5, xmm6
movss xmm6, dword [ecx + 0x18]
mulss xmm6, dword [esp + 0x94]
addss xmm5, xmm6
movss xmm6, dword [ecx + 0x10]
mulss xmm6, dword [esp + 0x78]
addss xmm5, xmm1
movss dword [esp + 0x24], xmm5
movss xmm5, dword [esp + 0x88]
mulss xmm5, dword [ecx + 0x14]
addss xmm5, xmm6
movss xmm6, dword [ecx + 0x18]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x14], eax
mulss xmm6, xmm3
addss xmm5, xmm6
addss xmm5, xmm0
movss dword [esp + 0x28], xmm5
mov eax, dword [esp + 0x28]
movss xmm5, dword [esp + 0x90]
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 0x1c], eax
mulss xmm5, dword [ecx + 0x28]
movss xmm6, dword [ecx + 0x20]
mulss xmm6, dword [esp + 0x70]
addss xmm5, xmm6
movss xmm6, dword [ecx + 0x24]
mulss xmm6, dword [esp + 0x80]
add ecx, 0x20
addss xmm5, xmm6
movss xmm6, dword [ecx + 4]
addss xmm5, xmm2
movss dword [esp + 0x30], xmm5
movss xmm5, dword [esp + 0x94]
mulss xmm5, dword [ecx + 8]
mov eax, dword [esp + 0x30]
mulss xmm6, xmm4
addss xmm5, xmm6
movss xmm6, dword [ecx]
mulss xmm6, dword [esp + 0x74]
addss xmm5, xmm6
movss xmm6, dword [ecx + 4]
mulss xmm6, dword [esp + 0x88]
addss xmm5, xmm1
movss dword [esp + 0x34], xmm5
movaps xmm5, xmm3
mulss xmm5, dword [ecx + 8]
addss xmm5, xmm6
movss xmm6, dword [ecx]
mulss xmm6, dword [esp + 0x78]
mov dword [ecx], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 4], eax
addss xmm5, xmm6
addss xmm5, xmm0
movss dword [esp + 0x38], xmm5
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x5c]
mov ecx, dword [edx + 4]
inc eax
add esi, 0x50
cmp eax, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x5c], esi
jl 0x585a73
push edx
call fcn.005848d0
mov eax, dword [ebp + 8]
lea edx, [eax + 0x60]
lea esi, [eax + 0x40]
mov edi, edx
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.004045c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc