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

Disassembly:
sub esp, 0x8c
mov eax, dword [0x10030040]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
mov ebp, dword [0x10030628]
xor ebx, ebx
push esi
push edi
mov edi, ecx
movaps xmm2, xmm0
mov dword [esp + 0x38], edi
movss dword [esp + 0x1c], xmm2
cmp dword [ebp + 0x479c], ebx
jle 0x10003bb1
mov eax, dword [ebp + 0x47a4]
xor edx, edx
push str.Foreground
inc edx
mov ecx, dword [eax + ebx*4]
call fcn.10004c5d
and dword [esp + 0x34], 0
and dword [esp + 0x38], 0
and dword [esp + 0x2c], 0
and dword [esp + 0x30], 0
pop ecx
mov ecx, dword [eax + 0x2c]
push 4
mov dword [esp + 0x14], eax
pop edx
mov ecx, dword [ecx + 8]
mov esi, dword [ecx + 0x30]
lea ecx, [esp + 0x74]
and dword [ecx], 0
lea ecx, [ecx + 8]
and dword [ecx - 4], 0
sub edx, 1
jne 0x10003941
lea eax, [esp + 0x84]
mov ecx, esi
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x3c]
push eax
push edi
call fcn.1001b870
test al, al
je 0x10003ba4
movss xmm0, dword [esp + 0xa8]
subss xmm0, dword [esp + 0x30]
mov edi, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
push esi
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0xb0]
subss xmm0, dword [esp + 0x38]
push edi
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x48], xmm0
call fcn.10018c19
movss xmm0, dword [esp + 0x28]
lea eax, [esp + 0x8c]
addss xmm0, dword [0x1002dd58]
movss xmm4, dword [esp + 0x1c]
xorps xmm5, xmm5
movss xmm1, dword [esp + 0x2c]
addss xmm1, xmm5
mov ecx, dword [esp + 0x10]
push 0x30000000
mulss xmm0, xmm4
push eax
lea eax, [esp + 0x8c]
mulss xmm1, xmm4
push eax
addss xmm0, dword [esp + 0x20]
lea eax, [esp + 0x50]
movss dword [esp + 0x2c], xmm1
push eax
lea eax, [esp + 0x5c]
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x28]
movaps xmm1, xmm4
mulss xmm1, xmm5
push eax
push esi
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x2c]
addss xmm0, xmm4
movss dword [esp + 0x3c], xmm1
push edi
movss dword [esp + 0x68], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x34]
movss dword [esp + 0x6c], xmm0
call fcn.1001acee
movss xmm0, dword [esp + 0x28]
lea eax, [esp + 0x8c]
addss xmm0, dword [0x1002dd74]
movss xmm3, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push 0x30000000
push eax
mulss xmm0, xmm3
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x60]
push eax
addss xmm0, dword [esp + 0x24]
lea eax, [esp + 0x6c]
push eax
push esi
push edi
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x3c]
addss xmm0, dword [esp + 0x34]
movss dword [esp + 0x74], xmm0
movaps xmm0, xmm3
addss xmm0, xmm3
addss xmm0, dword [esp + 0x30]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [esp + 0x34]
movss dword [esp + 0x7c], xmm0
call fcn.1001acee
movss xmm0, dword [esp + 0x28]
mulss xmm0, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x2c]
lea eax, [esp + 0x8c]
mulss xmm1, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push 0xff000000
push eax
movss dword [esp + 0x2c], xmm0
lea eax, [esp + 0x8c]
addss xmm0, dword [esp + 0x1c]
push eax
lea eax, [esp + 0x70]
movss dword [esp + 0x2c], xmm1
push eax
lea eax, [esp + 0x4c]
movss dword [esp + 0x74], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x28]
push eax
push esi
push edi
movss dword [esp + 0x84], xmm0
call fcn.1001acee
movss xmm0, dword [esp + 0x14]
lea eax, [esp + 0x7c]
addss xmm0, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x7c]
push eax
movss dword [esp + 0x78], xmm0
lea eax, [esp + 0x78]
movss xmm0, dword [esp + 0x24]
addss xmm0, dword [esp + 0x2c]
push eax
lea eax, [esp + 0x4c]
push eax
push esi
push edi
movss dword [esp + 0x8c], xmm0
call fcn.1001acee
mov ecx, dword [esp + 0x10]
call fcn.10018c73
mov edi, dword [esp + 0x38]
inc ebx
cmp ebx, dword [ebp + 0x479c]
jl 0x10003902
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100257e1
add esp, 0x8c
ret