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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x118
mov eax, dword [0x102a000c]
xor eax, esp
mov dword [esp + 0x114], eax
mov dword [esp + 0x24], edx
mov edx, dword [0x102a0b70]
push esi
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x17fc]
push edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edx
mov byte [eax + 0x8e], 1
mov eax, dword [edx + 0x17fc]
mov dword [esp + 0x38], eax
cmp byte [eax + 0x90], 0
je 0x1004c16b
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.1001e883
mov esp, ebp
pop ebp
ret
movss xmm0, dword [edx + 0x141c]
addss xmm0, xmm0
addss xmm0, dword [edx + 0x172c]
movss dword [esp + 0x64], xmm0
test cl, 0x10
je 0x1004c18f
xorps xmm3, xmm3
jmp 0x1004c19a
movaps xmm3, xmm0
addss xmm3, dword [edx + 0x1430]
mov esi, eax
xorps xmm0, xmm0
movss xmm2, dword [esi + 0x144]
comiss xmm0, xmm2
jbe 0x1004c210
movss xmm4, dword [esi + 0xd8]
mov edi, dword [esi + 0x1a0]
movss xmm1, dword [esi + 0x4c]
subss xmm4, dword [esi + 0x14]
test edi, edi
je 0x1004c1fc
mov edx, dword [edi + 0xc]
movss xmm1, dword [edi + 0x18]
subss xmm1, dword [edi + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
mov eax, dword [edi + 0x34]
lea ecx, [edx*8]
sub ecx, edx
mulss xmm1, dword [eax + ecx*4]
mov ecx, dword [esp + 0x18]
addss xmm1, dword [edi + 0x14]
subss xmm1, dword [esi + 0x54]
subss xmm1, xmm4
addss xmm1, xmm2
movss xmm2, dword [0x102931d8]
maxss xmm2, xmm1
mov esi, dword [esp + 0x40]
mov edi, esi
mov dword [esp + 0x5c], esi
cvttss2si eax, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, xmm3
movss dword [esp + 0x28], xmm0
cmp esi, 0xffffffff
jae 0x1004c24d
mov al, byte [edi]
test al, al
je 0x1004c249
cmp al, 0x23
jne 0x1004c243
cmp byte [edi + 1], al
je 0x1004c249
inc edi
cmp edi, 0xffffffff
jb 0x1004c234
mov dword [esp + 0x5c], edi
mov edx, ecx
mov dword [esp + 0x68], ecx
shr edx, 1
mov eax, ecx
shr eax, 0xc
not dl
and eax, 0xffffff01
and edx, 0xffffff01
mov dword [esp + 0x58], eax
movzx eax, dl
add eax, 3
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
call fcn.10049610
mov ecx, esi
call fcn.1005aae0
mov ecx, dword [esp + 0x18]
test cl, 0x20
je 0x1004c29e
and ecx, 0xffff3fff
or ecx, 0x2008
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x2c]
test cl, 8
jne 0x1004c2b4
mov edx, ecx
mov ecx, esi
call fcn.1004d180
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov edx, dword [edx + 0x2880]
test ecx, 0xe000
jne 0x1004c2cf
mov eax, edx
and eax, 0xe000
or ecx, eax
test ecx, 0x30000
jne 0x1004c2e0
mov eax, edx
and eax, 0x30000
or ecx, eax
test ecx, 0xc0000
jne 0x1004c2f1
mov eax, edx
and eax, 0xc0000
or ecx, eax
movss xmm2, dword [esi]
and edx, 0xfff01fff
movss xmm3, dword [esi + 4]
or ecx, edx
cmp byte [esp + 0x30], 0
movss xmm5, dword [esi + 8]
mov dword [esp + 0x18], ecx
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0xb8], xmm2
movss dword [esp + 0x9c], xmm3
movss dword [esp + 0xbc], xmm3
movss dword [esp + 0x44], xmm5
movss dword [esp + 0xc0], xmm5
je 0x1004c349
movss xmm0, dword [esi + 0xc]
jmp 0x1004c351
movss xmm0, dword [0x102931d8]
mov eax, ecx
movss dword [esp + 0xc4], xmm0
and eax, 0x4000
movss dword [esp + 0x48], xmm0
mov dword [esp + 0x60], eax
xorps xmm4, xmm4
je 0x1004c429
comiss xmm5, xmm3
xorps xmm6, xmm6
movaps xmm1, xmm3
movaps xmm7, xmm5
jbe 0x1004c390
movss xmm6, dword [0x10293344]
movaps xmm1, xmm5
movaps xmm7, xmm3
comiss xmm1, xmm2
movaps xmm5, xmm2
movss dword [esp + 0x44], xmm5
jbe 0x1004c3b9
movss xmm0, dword [0x10293330]
movaps xmm5, xmm1
subss xmm0, xmm6
movss dword [esp + 0x44], xmm5
movaps xmm1, xmm2
movaps xmm6, xmm0
movaps xmm0, xmm1
movss dword [esp + 0xc0], xmm5
minss xmm0, xmm7
movaps xmm3, xmm5
movaps xmm2, xmm1
subss xmm2, xmm7
subss xmm3, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x1029323c]
addss xmm0, dword [0x10293134]
divss xmm2, xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x10293134]
addss xmm2, xmm6
divss xmm3, xmm0
andps xmm2, xmmword [0x10294890]
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0xb8], xmm2
movss dword [esp + 0x9c], xmm3
movss dword [esp + 0xbc], xmm3
comiss xmm2, xmm4
movss xmm6, dword [0x10293334]
movss xmm1, dword [0x1029319c]
jb 0x1004c443
movaps xmm7, xmm1
jmp 0x1004c446
movaps xmm7, xmm6
comiss xmm3, xmm4
movaps xmm0, xmm2
movss xmm2, dword [0x102932ec]
mulss xmm0, xmm2
addss xmm0, xmm7
cvttss2si eax, xmm0
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc8], eax
jb 0x1004c472
movaps xmm7, xmm1
jmp 0x1004c475
movaps xmm7, xmm6
comiss xmm5, xmm4
movaps xmm0, xmm3
mulss xmm0, xmm2
addss xmm0, xmm7
cvttss2si esi, xmm0
mov dword [esp + 0xcc], esi
jb 0x1004c495
movaps xmm3, xmm1
jmp 0x1004c498
movaps xmm3, xmm6
movaps xmm0, xmm5
mulss xmm0, xmm2
addss xmm0, xmm3
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0x48]
comiss xmm0, xmm4
mov dword [esp + 0xd0], edx
jae 0x1004c4bc
movaps xmm1, xmm6
mulss xmm0, xmm2
mov byte [esp + 0x17], 0
mov byte [esp + 0x23], 0
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [esp + 0x50], eax
mov dword [esp + 0xd4], eax
test ecx, 0x6000
je 0x1004c983
test cl, 0x20
jne 0x1004c983
mov edx, dword [esp + 0x34]
movss xmm4, dword [esp + 0x28]
movaps xmm1, xmm4
lea eax, [edx - 1]
movd xmm3, eax
mov eax, dword [esp + 0x24]
cvtdq2ps xmm3, xmm3
movss xmm2, dword [eax + 0x1430]
movaps xmm0, xmm3
mulss xmm0, xmm2
subss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x102931d8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
addss xmm2, xmm1
movss dword [esp + 0x1c], xmm1
movss xmm1, dword [0x102931d8]
mulss xmm2, xmm3
movss xmm3, dword [0x10293328]
subss xmm4, xmm2
cvttss2si eax, xmm4
movd xmm0, eax
mov eax, ecx
and eax, 0x20000
mov ecx, str.M:0.000
mov dword [esp + 0x50], eax
mov eax, str.M:000
cmove ecx, eax
mov eax, dword [0x102a0b70]
push ecx
cvtdq2ps xmm0, xmm0
push 0
mov esi, dword [eax + 0x1728]
push ecx
push ecx
movss xmm2, dword [eax + 0x172c]
lea eax, [esp + 0xb0]
mov dword [esp], 0xbf800000
mov ecx, esi
maxss xmm1, xmm0
movss dword [esp + 0x38], xmm2
push eax
movss dword [esp + 0x60], xmm1
call fcn.10086e70
movss xmm1, dword [esp + 0xa0]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1004c5e4
movss xmm0, dword [esp + 0x28]
divss xmm0, dword [esi]
subss xmm1, xmm0
addss xmm1, dword [0x102931cc]
movss xmm0, dword [esp + 0xa4]
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [esp + 0x1c]
mov dword [esp + 0xa0], 0x100d8190
cvttss2si eax, xmm1
mov dword [esp + 0xa4], 0x100d8194
mov dword [esp + 0xa8], 0x100d8198
mov dword [esp + 0xac], 0x100d819c
mov dword [esp + 0xd8], str._3.0f
mov dword [esp + 0xdc], str._3.0f
mov dword [esp + 0xe0], str._3.0f
mov dword [esp + 0xe4], str._3.0f
mov dword [esp + 0xe8], str.R:_3.0f
mov dword [esp + 0xec], str.G:_3.0f
mov dword [esp + 0xf0], str.B:_3.0f
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
mov dword [esp + 0xf4], str.A:_3.0f
mov dword [esp + 0xf8], str.H:_3.0f
mov dword [esp + 0xfc], str.S:_3.0f
mov dword [esp + 0x100], str.V:_3.0f
mov dword [esp + 0x104], str.A:_3.0f
comiss xmm1, xmm0
mov dword [esp + 0x6c], str._0.3f
mov dword [esp + 0x70], str._0.3f
mov dword [esp + 0x74], str._0.3f
mov dword [esp + 0x78], str._0.3f
mov dword [esp + 0x7c], str.R:_0.3f
mov dword [esp + 0x80], str.G:_0.3f
mov dword [esp + 0x84], str.B:_0.3f
mov dword [esp + 0x88], str.A:_0.3f
mov dword [esp + 0x8c], str.H:_0.3f
mov dword [esp + 0x90], str.S:_0.3f
mov dword [esp + 0x94], str.V:_0.3f
mov dword [esp + 0x98], str.A:_0.3f
jae 0x1004c743
cmp dword [esp + 0x60], eax
setne al
inc eax
mov dword [esp + 0x1c], eax
call fcn.1005f330
xor esi, esi
cmp dword [esp + 0x34], esi
jbe 0x1004c8e9
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
and eax, 8
shl dword [esp + 0x1c], 4
mov dword [esp + 0x28], eax
nop dword [eax]
test esi, esi
je 0x1004c784
movss xmm1, dword [edi + 0x1430]
xorps xmm0, xmm0
call fcn.100493c0
lea eax, [esi + 1]
mov dword [esp + 0x3c], eax
cmp eax, dword [esp + 0x34]
jne 0x1004c79c
movss xmm0, dword [esp + 0x4c]
call fcn.1005f330
cmp dword [esp + 0x50], 0
je 0x1004c802
cmp byte [esp + 0x58], 0
je 0x1004c7af
xorps xmm0, xmm0
jmp 0x1004c7b7
movss xmm0, dword [0x102931d8]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0xb8]
movss xmm2, dword [0x10293150]
lea edx, [edx + esi*4]
push ecx
mov dword [esp], 0x3f800000
xorps xmm3, xmm3
push dword [esp + eax + 0x70]
push ecx
mov ecx, dword [esp + esi*4 + 0xac]
movss dword [esp], xmm0
call fcn.10058220
add esp, 0xc
or al, byte [esp + 0x17]
mov byte [esp + 0x23], al
mov byte [esp + 0x17], al
jmp 0x1004c887
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x9c]
movd xmm0, dword [esp + esi*4 + 0xc8]
mov ecx, str._.0f
movss xmm2, dword [0x102931d8]
xorps xmm3, xmm3
cvtdq2ps xmm0, xmm0
mov eax, dword [esp + eax + 0xd8]
test eax, eax
cmovne ecx, eax
mov eax, 0xff
push ecx
mov dword [esp], 0x3f800000
push ecx
xor ecx, ecx
movss dword [esp + 0xa4], xmm0
cmp byte [esp + 0x60], cl
push ecx
cmovne eax, ecx
mov ecx, dword [esp + esi*4 + 0xac]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.10058220
mov cl, al
add esp, 0xc
cvttss2si eax, dword [esp + 0x9c]
or byte [esp + 0x17], cl
mov dword [esp + esi*4 + 0xc8], eax
cmp dword [esp + 0x28], 0
jne 0x1004c893
call fcn.100647a0
mov esi, dword [esp + 0x3c]
add dword [esp + 0x1c], 4
cmp esi, dword [esp + 0x34]
jl 0x1004c770
movss xmm0, dword [esp + 0xc4]
mov edi, dword [esp + 0x5c]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [esp + 0xb8]
movss dword [esp + 0x3c], xmm0
mov edx, dword [0x102a0b70]
mov eax, dword [edx + 0x17fc]
mov byte [eax + 0x8e], 1
mov ecx, dword [edx + 0x17fc]
mov esi, dword [ecx + 0x158]
sub esi, 1
mov dword [ecx + 0x158], esi
jne 0x1004c91d
movss xmm0, dword [ecx + 0x1e4]
jmp 0x1004c929
mov eax, dword [ecx + 0x160]
movss xmm0, dword [eax + esi*4 - 4]
movss dword [ecx + 0x144], xmm0
mov eax, dword [edx + 0x17fc]
mov byte [eax + 0x8e], 1
mov ecx, dword [edx + 0x17fc]
mov edx, dword [ecx + 0x158]
sub edx, 1
mov dword [ecx + 0x158], edx
jne 0x1004c96a
movss xmm0, dword [ecx + 0x1e4]
movss dword [ecx + 0x144], xmm0
jmp 0x1004cb5b
mov eax, dword [ecx + 0x160]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x144], xmm0
jmp 0x1004cb5b
mov eax, ecx
and eax, 0x8020
cmp eax, 0x8000
jne 0x1004cb5f
cmp byte [esp + 0x30], 0
je 0x1004ca03
mov ecx, dword [esp + 0x50]
mov eax, 0xff
mov dword [esp + 0x4c], eax
test ecx, ecx
jns 0x1004c9b1
xor ecx, ecx
jmp 0x1004c9b6
cmp ecx, eax
cmovg ecx, eax
test edx, edx
jns 0x1004c9be
xor edx, edx
jmp 0x1004c9c3
cmp edx, eax
cmovg edx, eax
test esi, esi
jns 0x1004c9cb
xor esi, esi
jmp 0x1004c9d0
cmp esi, eax
cmovg esi, eax
mov eax, dword [esp + 0x1c]
test eax, eax
jns 0x1004c9dc
xor eax, eax
jmp 0x1004c9e6
cmp eax, 0xff
cmovg eax, dword [esp + 0x4c]
push ecx
push edx
push esi
push eax
push 0x100d8220
lea eax, [esp + 0xec]
push 0x40
push eax
call fcn.1006ca20
add esp, 0x1c
jmp 0x1004ca50
mov ecx, 0xff
test edx, edx
jns 0x1004ca10
xor edx, edx
jmp 0x1004ca15
cmp edx, ecx
cmovg edx, ecx
test esi, esi
jns 0x1004ca1d
xor esi, esi
jmp 0x1004ca22
cmp esi, ecx
cmovg esi, ecx
mov eax, dword [esp + 0x1c]
test eax, eax
jns 0x1004ca2e
xor eax, eax
jmp 0x1004ca36
cmp eax, 0xff
cmovg eax, ecx
push edx
push esi
push eax
push 0x100d8234
lea eax, [esp + 0xe8]
push 0x40
push eax
call fcn.1006ca20
add esp, 0x18
movss xmm0, dword [esp + 0x28]
call fcn.1005f330
push 0
push 0
push 6
lea eax, [esp + 0xac]
mov dword [esp + 0xac], 0
push eax
push 0x40
lea edx, [esp + 0xec]
mov dword [esp + 0xb8], 0
mov ecx, str.Text
call fcn.10051150
add esp, 0x14
test al, al
je 0x1004cb4a
mov byte [esp + 0x17], 1
lea ecx, [esp + 0xd8]
nop dword [eax]
mov al, byte [ecx]
cmp al, 0x23
je 0x1004cabe
cmp al, 0x20
je 0x1004cabe
cmp al, 9
jne 0x1004cac1
inc ecx
jmp 0x1004cab0
cmp byte [esp + 0x30], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xc8], 0
je 0x1004cb24
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0xd4]
push eax
push str._02X_02X_02X_02X
push ecx
call fcn.10004890
add esp, 0x18
jmp 0x1004cb4a
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0xd0]
push eax
push str._02X_02X_02X
push ecx
call fcn.10004890
add esp, 0x14
test byte [esp + 0x18], 8
jne 0x1004cb56
call fcn.100647a0
call fcn.1005f110
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x28], eax
test cl, 0x10
jne 0x1004cd07
mov esi, dword [esp + 0x24]
test cl, 0x20
jne 0x1004cb8b
movss xmm1, dword [esi + 0x1430]
xorps xmm0, xmm0
call fcn.100493c0
mov ecx, dword [esp + 0x18]
cmp byte [esp + 0x30], 0
mov eax, dword [esp + 0x2c]
je 0x1004cb9d
movss xmm1, dword [eax + 0xc]
jmp 0x1004cba5
movss xmm1, dword [0x102931d8]
movss xmm0, dword [eax]
lea edx, [esp + 0xa0]
mov dword [esp + 0x54], 0
push dword [esp + 0x54]
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [eax + 4]
mov dword [esp + 0x54], 0
push dword [esp + 0x54]
movss dword [esp + 0xac], xmm0
movss xmm0, dword [eax + 8]
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0xb4], xmm0
movss dword [esp + 0xb8], xmm1
call fcn.1004d540
add esp, 0xc
test al, al
mov eax, dword [esp + 0x18]
je 0x1004cc84
test al, 4
jne 0x1004cc84
movups xmm0, xmmword [esp + 0xa0]
mov ecx, 0x100d8280
movups xmmword [esi + 0x2884], xmm0
call fcn.10064e60
mov eax, dword [esp + 0x38]
movss xmm1, dword [eax + 0x114]
movss xmm0, dword [eax + 0x120]
addss xmm0, dword [esi + 0x142c]
mov eax, dword [0x102a0b70]
subss xmm1, dword [0x102931d8]
movss dword [eax + 0x1880], xmm0
mov dword [eax + 0x1884], 0
movss dword [eax + 0x187c], xmm1
mov dword [eax + 0x1888], 0
mov dword [eax + 0x18a0], 1
mov eax, dword [esp + 0x18]
test al, 8
jne 0x1004cc8d
call fcn.100647a0
mov ecx, 0x100d8280
call fcn.10064a40
test al, al
je 0x1004cd03
mov eax, dword [esi + 0x17fc]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
cmp eax, edi
je 0x1004ccbb
mov edx, edi
mov ecx, eax
call fcn.1005d0b0
call fcn.10049910
movss xmm0, dword [esp + 0x64]
mulss xmm0, dword [0x10293258]
call fcn.1005f330
mov edx, dword [esp + 0x2c]
lea eax, [esi + 0x2884]
push eax
mov eax, dword [esp + 0x6c]
mov ecx, str.picker
and eax, 0xf1202
or eax, 0xe880
push eax
call fcn.10049b90
or byte [esp + 0x1f], al
add esp, 8
call fcn.1005f110
call fcn.1005fca0
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
cmp dword [esp + 0x40], edi
je 0x1004cd30
test cl, cl
js 0x1004cd30
movss xmm1, dword [esi + 0x1430]
xorps xmm0, xmm0
call fcn.100493c0
mov ecx, dword [esp + 0x40]
mov edx, edi
call fcn.1005d0b0
mov edi, dword [esp + 0x28]
test edi, edi
jne 0x1004ce19
cmp byte [esp + 0x23], 0
jne 0x1004cd90
movups xmm0, xmmword [esp + 0xc8]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x10294800]
movups xmmword [esp + 0xb8], xmm0
movss xmm3, dword [esp + 0xc4]
movss xmm2, dword [esp + 0xc0]
movss xmm1, dword [esp + 0xbc]
movss xmm0, dword [esp + 0xb8]
jmp 0x1004cdab
movss xmm0, dword [esp + 0x3c]
movss xmm1, dword [esp + 0x9c]
movss xmm2, dword [esp + 0x44]
movss xmm3, dword [esp + 0x48]
cmp dword [esp + 0x60], 0
je 0x1004cdf4
lea eax, [esp + 0xc0]
push eax
lea edx, [esp + 0xc0]
lea ecx, [esp + 0xbc]
call fcn.1006bac0
movss xmm3, dword [esp + 0xc8]
add esp, 4
movss xmm2, dword [esp + 0xc0]
movss xmm1, dword [esp + 0xbc]
movss xmm0, dword [esp + 0xb8]
cmp byte [esp + 0x17], 0
je 0x1004ce19
cmp byte [esp + 0x30], 0
mov eax, dword [esp + 0x2c]
movss dword [eax], xmm0
movss dword [eax + 4], xmm1
movss dword [eax + 8], xmm2
je 0x1004ce19
movss dword [eax + 0xc], xmm3
mov eax, dword [0x102a0b70]
mov eax, dword [eax + 0x17fc]
dec dword [eax + 0x1a4]
call fcn.10049470
mov edx, dword [esp + 0x38]
cmp byte [edx + 0x124], 0
je 0x1004ce96
call fcn.10047cf0
test al, al
je 0x1004ce9c
mov ecx, str._COL3F
call fcn.10047b00
test eax, eax
je 0x1004ce6c
mov eax, dword [eax]
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x17], 1
movq xmm0, qword [eax]
movq qword [ecx], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, str._COL4F
call fcn.10047b00
mov ecx, eax
test ecx, ecx
je 0x1004ce9c
mov eax, dword [esp + 0x34]
shl eax, 2
push eax
push dword [ecx]
push dword [esp + 0x34]
call fcn.10022040
add esp, 0xc
mov al, 1
jmp 0x1004cea0
mov al, byte [esp + 0x17]
jmp 0x1004cea4
mov al, byte [esp + 0x17]
mov edx, dword [esp + 0x38]
test edi, edi
je 0x1004cec0
mov ecx, dword [esi + 0x181c]
test ecx, ecx
je 0x1004cec0
cmp dword [esi + 0x1834], edi
jne 0x1004cec0
mov dword [edx + 0x110], ecx
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
xor ecx, esp
call fcn.1001e883
mov esp, ebp
pop ebp
ret