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

Disassembly:
sub esp, 0x94
mov eax, dword [0x100a7018]
xor eax, esp
mov dword [esp + 0x8c], eax
mov edx, dword [0x100a93dc]
movaps xmm6, xmm0
push ebx
push ebp
push esi
mov eax, dword [edx + 0x3bdc]
mov esi, ecx
mov ecx, dword [edx + 0x47ec]
push edi
mov dword [esp + 0x18], esi
mov ebx, dword [eax + 0x30]
mov eax, dword [edx + 0x47e4]
movss dword [esp + 0x20], xmm6
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], ecx
lea eax, [ecx + eax*4]
mov dword [esp + 0x40], eax
cmp ecx, eax
je 0x10015967
nop dword [eax]
mov edi, dword [ecx]
lea eax, [esp + 0x7c]
mov ecx, 4
nop dword [eax + eax]
mov dword [eax], 0
lea eax, [eax + 8]
mov dword [eax - 4], 0
sub ecx, 1
jne 0x10015530
cmp esi, 8
ja 0x10015952
test byte [ebx], 2
jne 0x10015952
mov eax, dword [ebx + 0x468]
lea esi, [esi + esi*2]
mov ecx, dword [ebx + 0x50]
movss xmm3, dword [ebx + 0x2c]
movss xmm0, dword [esi*8 + 0x100993ac]
movss xmm7, dword [esi*8 + 0x100993a8]
lea edx, [eax*8]
sub edx, eax
movss dword [esp + 0x14], xmm0
movaps xmm0, xmm3
movss xmm2, dword [ebx + 0x30]
movss xmm1, dword [esp + 0xb0]
subss xmm1, dword [esi*8 + 0x100993b0]
movzx eax, word [ecx + edx*4 + 4]
movss dword [esp + 0x1c], xmm7
movd xmm5, eax
movzx eax, word [ecx + edx*4 + 6]
cvtdq2ps xmm5, xmm5
movd xmm4, eax
addss xmm5, dword [esi*8 + 0x100993a0]
cvtdq2ps xmm4, xmm4
mulss xmm0, xmm5
addss xmm4, dword [esi*8 + 0x100993a4]
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x7c], xmm0
movaps xmm0, xmm5
addss xmm5, dword [0x1009d794]
addss xmm0, xmm7
movss dword [esp + 0x44], xmm1
mulss xmm2, xmm4
addss xmm4, dword [esp + 0x14]
mulss xmm0, xmm3
movss dword [esp + 0x80], xmm2
mulss xmm4, dword [ebx + 0x30]
movss dword [esp + 0x84], xmm0
movaps xmm0, xmm5
mulss xmm0, xmm3
addss xmm5, xmm7
movss dword [esp + 0x90], xmm2
movss xmm2, dword [esp + 0xb4]
subss xmm2, dword [esi*8 + 0x100993b4]
movss dword [esp + 0x8c], xmm0
movaps xmm0, xmm7
addss xmm0, dword [0x1009d720]
movss xmm7, dword [edi + 8]
mulss xmm5, xmm3
movss xmm3, dword [esp + 0x14]
addss xmm3, dword [0x1009d720]
mulss xmm0, xmm6
movss dword [esp + 0x94], xmm5
movss dword [esp + 0x88], xmm4
movaps xmm5, xmm0
movss dword [esp + 0x30], xmm0
movaps xmm0, xmm7
mulss xmm3, xmm6
addss xmm0, dword [edi + 0x10]
movss dword [esp + 0x98], xmm4
addss xmm5, xmm1
movss xmm4, dword [edi + 4]
addss xmm3, xmm2
addss xmm4, dword [edi + 0xc]
movss dword [esp + 0x28], xmm2
comiss xmm0, xmm2
movss dword [esp + 0x48], xmm2
jbe 0x1001594e
comiss xmm3, xmm7
jbe 0x1001594e
comiss xmm4, xmm1
jbe 0x1001594e
comiss xmm5, dword [edi + 4]
jbe 0x1001594e
push str.Foreground
mov edx, 1
mov ecx, edi
call fcn.10016ce0
mov ebx, dword [ebx + 4]
mov esi, eax
add esp, 4
mov ecx, dword [esi + 0x48]
mov ebp, dword [esi + 0x4c]
cmp ecx, ebp
jne 0x1001572b
inc ecx
test ebp, ebp
je 0x10015718
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
add eax, ebp
jmp 0x1001571d
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [esi + 0x48]
call fcn.10028f70
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x50]
mov dword [eax + ecx*4], ebx
mov ecx, esi
inc dword [esi + 0x48]
mov dword [esi + 0x70], ebx
call fcn.100314f0
movss xmm0, dword [esp + 0x1c]
lea eax, [esp + 0x94]
addss xmm0, dword [0x1009d6d0]
movss xmm1, dword [esp + 0x20]
xorps xmm4, xmm4
push 0x30000000
push eax
lea eax, [esp + 0x94]
mov ecx, esi
mulss xmm0, xmm1
push eax
lea eax, [esp + 0x58]
push eax
addss xmm0, dword [esp + 0x34]
lea eax, [esp + 0x64]
push eax
push ebx
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x2c]
addss xmm0, xmm4
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x40]
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x3c]
addss xmm0, xmm1
movss dword [esp + 0x6c], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm4
addss xmm0, dword [esp + 0x40]
movss dword [esp + 0x50], xmm0
movss dword [esp + 0x70], xmm0
call fcn.10033d40
movss xmm0, dword [esp + 0x30]
lea eax, [esp + 0x94]
addss xmm0, dword [esp + 0x24]
push 0x30000000
push eax
lea eax, [esp + 0x94]
mov ecx, esi
push eax
movss dword [esp + 0x68], xmm0
lea eax, [esp + 0x68]
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x2c]
addss xmm0, xmm0
push eax
lea eax, [esp + 0x74]
push eax
push ebx
addss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x50]
movss dword [esp + 0x80], xmm0
call fcn.10033d40
movss xmm1, dword [esp + 0x1c]
mulss xmm1, dword [esp + 0x20]
mov ebp, dword [esi + 0x70]
addss xmm1, dword [esp + 0x24]
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x6c], xmm1
movss xmm1, dword [esp + 0x14]
mulss xmm1, dword [esp + 0x20]
addss xmm1, dword [esp + 0x28]
movss dword [esp + 0x14], xmm1
movss dword [esp + 0x70], xmm1
cmp ebx, ebp
je 0x1001588d
push ebx
mov ecx, esi
call fcn.10031760
push 4
push 6
mov ecx, esi
call fcn.100317c0
push 0xff000000
lea eax, [esp + 0x98]
mov ecx, esi
push eax
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.100318c0
cmp ebx, ebp
je 0x100158e2
mov ecx, dword [esi + 0x48]
sub ecx, 1
mov dword [esi + 0x48], ecx
jne 0x100158d1
xor eax, eax
jmp 0x100158d8
mov eax, dword [esi + 0x50]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, esi
mov dword [esi + 0x70], eax
call fcn.100314f0
movss xmm1, dword [esp + 0x1c]
lea eax, [esp + 0x84]
movss xmm0, dword [esp + 0x14]
mov ecx, esi
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x84]
movss dword [esp + 0x7c], xmm1
push eax
lea eax, [esp + 0x80]
movss dword [esp + 0x84], xmm0
push eax
lea eax, [esp + 0x54]
push eax
push ebx
call fcn.10033d40
mov ecx, dword [esi + 0x48]
sub ecx, 1
mov dword [esi + 0x48], ecx
jne 0x10015933
xor eax, eax
jmp 0x1001593a
mov eax, dword [esi + 0x50]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, esi
mov dword [esi + 0x70], eax
call fcn.100314f0
movss xmm6, dword [esp + 0x20]
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
add ecx, 4
mov dword [esp + 0x2c], ecx
cmp ecx, dword [esp + 0x40]
jne 0x10015520
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1004b360
add esp, 0x94
ret