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

Disassembly:
sub esp, 0x94
mov eax, dword [0x100a801c]
xor eax, esp
mov dword [esp + 0x8c], eax
mov edx, dword [0x100a9f28]
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 0x10014bb7
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 0x10014780
cmp esi, 8
ja 0x10014ba2
test byte [ebx], 2
jne 0x10014ba2
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 + 0x1009a1fc]
movss xmm7, dword [esi*8 + 0x1009a1f8]
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 + 0x1009a200]
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 + 0x1009a1f0]
cvtdq2ps xmm4, xmm4
mulss xmm0, xmm5
addss xmm4, dword [esi*8 + 0x1009a1f4]
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x7c], xmm0
movaps xmm0, xmm5
addss xmm5, dword [0x1009e56c]
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 + 0x1009a204]
movss dword [esp + 0x8c], xmm0
movaps xmm0, xmm7
addss xmm0, dword [0x1009e4e8]
movss xmm7, dword [edi + 8]
mulss xmm5, xmm3
movss xmm3, dword [esp + 0x14]
addss xmm3, dword [0x1009e4e8]
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 0x10014b9e
comiss xmm3, xmm7
jbe 0x10014b9e
comiss xmm4, xmm1
jbe 0x10014b9e
comiss xmm5, dword [edi + 4]
jbe 0x10014b9e
push str.Foreground
mov edx, 1
mov ecx, edi
call fcn.10015f20
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 0x1001497b
inc ecx
test ebp, ebp
je 0x10014968
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
add eax, ebp
jmp 0x1001496d
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [esi + 0x48]
call fcn.10028240
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.100307c0
movss xmm0, dword [esp + 0x1c]
lea eax, [esp + 0x94]
addss xmm0, dword [0x1009e48c]
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.10033030
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.10033030
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 0x10014add
push ebx
mov ecx, esi
call fcn.10030a30
push 4
push 6
mov ecx, esi
call fcn.10030a90
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.10030b90
cmp ebx, ebp
je 0x10014b32
mov ecx, dword [esi + 0x48]
sub ecx, 1
mov dword [esi + 0x48], ecx
jne 0x10014b21
xor eax, eax
jmp 0x10014b28
mov eax, dword [esi + 0x50]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, esi
mov dword [esi + 0x70], eax
call fcn.100307c0
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.10033030
mov ecx, dword [esi + 0x48]
sub ecx, 1
mov dword [esi + 0x48], ecx
jne 0x10014b83
xor eax, eax
jmp 0x10014b8a
mov eax, dword [esi + 0x50]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, esi
mov dword [esi + 0x70], eax
call fcn.100307c0
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 0x10014770
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1004ad35
add esp, 0x94
ret