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

Disassembly:
sub esp, 0x84
mov eax, dword [0x1026a5dc]
xor eax, esp
mov dword [esp + 0x7c], eax
mov eax, dword [0x102c26dc]
movaps xmm1, xmm0
push ebx
push ebp
xor ebp, ebp
mov dword [esp + 0x20], ecx
push esi
push edi
movss dword [esp + 0x1c], xmm1
mov dword [esp + 0x30], eax
cmp dword [eax + 0x479c], ebp
jle 0x10052861
nop dword [eax]
mov eax, dword [eax + 0x47a4]
mov edx, 1
push str.Foreground
mov ecx, dword [eax + ebp*4]
call fcn.10053650
mov ebx, eax
lea esi, [esp + 0x70]
add esp, 4
mov edi, 4
mov ecx, dword [ebx + 0x2c]
mov ecx, dword [ecx + 8]
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x18], eax
mov ecx, esi
call fcn.1004ea50
add esi, 8
sub edi, 1
jne 0x100524f3
mov esi, dword [esp + 0x28]
cmp esi, 8
ja 0x10052850
mov edi, dword [esp + 0x18]
test byte [edi], 2
jne 0x10052850
mov eax, dword [edi + 0x468]
lea esi, [esi + esi*2]
mov ecx, dword [edi + 0x50]
movss xmm6, dword [esi*8 + 0x1024c024]
movss xmm5, dword [esi*8 + 0x1024c020]
lea edx, [eax*8]
movss dword [esp + 0x10], xmm5
sub edx, eax
movss dword [esp + 0x14], xmm6
movzx eax, word [ecx + edx*4 + 4]
movd xmm4, eax
movzx eax, word [ecx + edx*4 + 6]
cvtdq2ps xmm4, xmm4
movd xmm3, eax
addss xmm4, dword [esi*8 + 0x1024c018]
cvtdq2ps xmm3, xmm3
movaps xmm1, xmm4
mulss xmm1, dword [edi + 0x2c]
addss xmm3, dword [esi*8 + 0x1024c01c]
movaps xmm0, xmm3
movaps xmm2, xmm3
mulss xmm0, dword [edi + 0x30]
addss xmm2, xmm6
movss dword [esp + 0x6c], xmm1
movaps xmm1, xmm4
addss xmm4, dword [0x1025b198]
movss dword [esp + 0x70], xmm0
addss xmm1, xmm5
movaps xmm0, xmm2
mulss xmm0, dword [edi + 0x30]
mulss xmm1, dword [edi + 0x2c]
movss dword [esp + 0x78], xmm0
movaps xmm0, xmm4
addss xmm4, xmm5
movss dword [esp + 0x74], xmm1
mulss xmm0, dword [edi + 0x2c]
mulss xmm3, dword [edi + 0x30]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0xa0]
subss xmm0, dword [esi*8 + 0x1024c028]
movss dword [esp + 0x80], xmm3
mulss xmm4, dword [edi + 0x2c]
mulss xmm2, dword [edi + 0x30]
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0xa4]
subss xmm0, dword [esi*8 + 0x1024c02c]
movss dword [esp + 0x84], xmm4
movss dword [esp + 0x88], xmm2
mov eax, dword [edi + 4]
mov ecx, dword [ebx + 0x48]
mov edi, dword [ebx + 0x4c]
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x38], xmm0
mov dword [esp + 0x24], eax
cmp ecx, edi
jne 0x10052673
inc ecx
test edi, edi
je 0x1005265d
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10052662
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [ebx + 0x48]
call fcn.10066710
mov ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x50]
mov edi, dword [esp + 0x24]
mov dword [eax + ecx*4], edi
mov ecx, ebx
inc dword [ebx + 0x48]
mov dword [ebx + 0x70], edi
call fcn.1006f2c0
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x84]
addss xmm0, dword [0x1025b00c]
movss xmm1, dword [esp + 0x1c]
xorps xmm4, xmm4
push 0x30000000
push eax
lea eax, [esp + 0x84]
mov ecx, ebx
mulss xmm0, xmm1
push eax
lea eax, [esp + 0x48]
push eax
addss xmm0, dword [esp + 0x30]
lea eax, [esp + 0x54]
push eax
push edi
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x2c]
addss xmm0, xmm4
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x30]
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x38]
addss xmm0, xmm1
movss dword [esp + 0x5c], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm4
addss xmm0, dword [esp + 0x30]
movss dword [esp + 0x44], xmm0
movss dword [esp + 0x60], xmm0
call fcn.10071cf0
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x84]
addss xmm0, dword [0x1025b084]
movss xmm1, dword [esp + 0x1c]
mov ecx, ebx
push 0x30000000
push eax
lea eax, [esp + 0x84]
mulss xmm0, xmm1
push eax
lea eax, [esp + 0x58]
push eax
addss xmm0, dword [esp + 0x30]
lea eax, [esp + 0x64]
push eax
push edi
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x68], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
addss xmm0, dword [esp + 0x38]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x70], xmm0
call fcn.10071cf0
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x84]
mulss xmm0, dword [esp + 0x1c]
push 0xff000000
push eax
lea eax, [esp + 0x84]
addss xmm0, dword [esp + 0x28]
push eax
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x20]
mulss xmm0, dword [esp + 0x28]
addss xmm0, dword [esp + 0x24]
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x6c], xmm0
lea eax, [esp + 0x68]
mov ecx, ebx
push eax
lea eax, [esp + 0x44]
push eax
push edi
call fcn.10071cf0
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x74]
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x74]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x1c]
mov ecx, ebx
push eax
lea eax, [esp + 0x70]
movss dword [esp + 0x74], xmm0
push eax
lea eax, [esp + 0x44]
push eax
push edi
call fcn.10071cf0
mov ecx, dword [ebx + 0x48]
sub ecx, 1
mov dword [ebx + 0x48], ecx
jne 0x1005283f
xor eax, eax
jmp 0x10052846
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, ebx
mov dword [ebx + 0x70], eax
call fcn.1006f2c0
mov eax, dword [esp + 0x30]
inc ebp
cmp ebp, dword [eax + 0x479c]
jl 0x100524c0
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100e8209
add esp, 0x84
ret