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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
push esi
push edi
mov edi, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], edi
mov esi, edi
lea edx, [edi + 0x10]
cmp edi, edx
je 0x10003a08
mov ecx, dword [ebp + 8]
sub ecx, edi
nop word [eax + eax]
movss xmm0, dword [esi]
ucomiss xmm0, dword [ecx + esi]
lahf
test ah, 0x44
jp 0x1000365a
add esi, 4
cmp esi, edx
jne 0x10003640
jmp 0x10003a08
push ecx
lea eax, [esp + 0x70]
mov dword [esp + 0x6c], 0x1011adf0
push eax
lea ecx, [esp + 0xc0]
mov dword [esp + 0xc8], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xc0], 0x1011b320
mov dword [esp + 0xbc], 0x48
call fcn.10016a00
mov eax, dword [esp + 0x68]
push 8
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x6c], 0x1011aa80
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [esp + ecx + 0x68], eax
mov dword [esp + 0x70], 0x1011aa44
call fcn.100e91db
add esp, 4
mov esi, eax
push 1
call fcn.100e8089
add esp, 4
mov dword [esi + 4], eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0xa0], esi
call fcn.100169a0
mov dl, 0x23
mov dword [esp + 0x6c], 0x1011ad94
lea ecx, [esp + 0x68]
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 4
call fcn.10017a00
mov esi, eax
push 0
push 2
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + esi + 0x14]
and ecx, 0xfffff9ff
or ecx, 0x800
mov dword [edx + esi + 0x14], ecx
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov byte [eax + esi + 0x40], 0x30
lea eax, [esp + 0x38]
push eax
call fcn.100e84dc
mov ecx, dword [esi]
add esp, 0xc
push dword [eax + 0xc]
mov ecx, dword [ecx + 4]
push dword [eax + 8]
mov eax, dword [eax]
add ecx, esi
push ecx
call eax
movss xmm0, dword [edi]
add esp, 0xc
mulss xmm0, dword [0x1012ae7c]
mov ecx, esi
cvttss2si eax, xmm0
push eax
call fcn.10012510
push 0
mov esi, eax
lea eax, [esp + 0x1c]
push 2
push eax
call fcn.100e84dc
mov ecx, dword [esi]
add esp, 0xc
push dword [eax + 0xc]
mov ecx, dword [ecx + 4]
push dword [eax + 8]
add ecx, esi
push ecx
mov eax, dword [eax]
call eax
movss xmm0, dword [edi + 4]
add esp, 0xc
mulss xmm0, dword [0x1012ae7c]
mov ecx, esi
cvttss2si eax, xmm0
push eax
call fcn.10012510
push 0
mov esi, eax
lea eax, [esp + 0x44]
push 2
push eax
call fcn.100e84dc
mov ecx, dword [esi]
add esp, 0xc
push dword [eax + 0xc]
mov ecx, dword [ecx + 4]
push dword [eax + 8]
mov eax, dword [eax]
add ecx, esi
push ecx
call eax
movss xmm0, dword [edi + 8]
add esp, 0xc
mulss xmm0, dword [0x1012ae7c]
mov ecx, esi
cvttss2si eax, xmm0
push eax
call fcn.10012510
mov edx, dword [esp + 0xa8]
xorps xmm0, xmm0
mov eax, edx
movaps xmmword [esp + 0x40], xmm0
and al, 0x22
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0xf
mov byte [esp + 0x40], 0
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x20], 0
cmp al, 2
je 0x10003872
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax]
test ecx, ecx
je 0x10003872
mov eax, dword [esp + 0x7c]
cmp ecx, dword [esp + 0xa4]
cmovb ecx, dword [esp + 0xa4]
mov edx, dword [eax]
sub ecx, edx
jmp 0x1000389f
test dl, 4
jne 0x10003897
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
test ecx, ecx
je 0x10003897
mov eax, dword [esp + 0x78]
mov edx, dword [eax]
sub ecx, edx
mov eax, dword [esp + 0x98]
add ecx, dword [eax]
jmp 0x1000389f
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
test edx, edx
je 0x100038ae
push ecx
push edx
lea ecx, [esp + 0x48]
call fcn.10014e40
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x18]
xorps xmm0, xmm0
movq qword [esp + 0x24], xmm0
call fcn.100149c0
push 0x18
call fcn.100e91db
movups xmm0, xmmword [esp + 0x44]
mov ecx, dword [esp + 0x18]
mov edi, eax
add esp, 4
movups xmmword [edi], xmm0
push str.Color
movq xmm0, qword [esp + 0x54]
movq qword [edi + 0x10], xmm0
call fcn.10017c20
mov esi, eax
mov eax, dword [esp + 0x1c]
mov cl, byte [esi]
mov byte [esi], 3
mov edx, dword [esi + 0xc]
mov byte [esp + 0x10], cl
push dword [esp + 0x10]
mov byte [esp + 0x1c], cl
mov ecx, dword [esi + 8]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x24]
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov dword [esp + 0x28], edx
call fcn.100149c0
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x38]
xorps xmm0, xmm0
mov byte [esp + 0x30], 0
push dword [esp + 0x30]
movq qword [esp + 0x3c], xmm0
movss xmm0, dword [eax + 0xc]
movss dword [esp + 0x14], xmm0
call fcn.100149c0
movss xmm0, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push str.Alpha
movss dword [esp + 0x1c], xmm0
call fcn.10017c20
mov edi, eax
mov eax, dword [esp + 0x18]
mov cl, byte [edi]
mov byte [edi], 7
mov esi, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov byte [esp + 0x10], cl
push dword [esp + 0x10]
mov byte [esp + 0x34], cl
mov ecx, dword [esp + 0x20]
mov dword [edi + 0xc], ecx
lea ecx, [esp + 0x3c]
mov dword [edi + 8], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], esi
call fcn.100149c0
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x68], 0x1011aa80
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [esp + ecx + 0x64], eax
lea ecx, [esp + 0x6c]
call fcn.10012440
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x68], 0x1011b320
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [esp + ecx + 0x64], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0xb8], 0x1011aab4
push eax
call fcn.100e82ce
mov edi, dword [esp + 0x30]
add esp, 4
mov eax, dword [ebp + 8]
add eax, 0x14
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push str.Rainbow
call fcn.10017c20
add esp, 4
lea edx, [edi + 0x14]
mov ecx, eax
call fcn.10017dc0
mov ecx, dword [ebp + 8]
lea eax, [ecx + 0x10]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push str.Rainbow_Speed
call fcn.10017c20
add esp, 4
lea edx, [edi + 0x10]
mov ecx, eax
call fcn.10017e40
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4