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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x10160380]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [ebp + 8]
push esi
mov esi, edx
mov dword [esp + 0x30], ecx
push edi
mov ecx, 0x101a157e
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c], eax
call fcn.10138266
mov edi, dword [0x10190058]
mov dword [esp + 0x44], edi
mov eax, dword [edi + 0x19b0]
mov byte [eax + 0x8c], 1
mov edx, dword [edi + 0x19b0]
mov dword [esp + 0x28], edx
cmp byte [edx + 0x8f], 0
je 0x10035527
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.100dfe28
mov esp, ebp
pop ebp
ret
movss xmm0, dword [edi + 0x154c]
mov ecx, dword [esp + 0x1c]
addss xmm0, xmm0
addss xmm0, dword [edi + 0x18c4]
movss dword [esp + 0x70], xmm0
test cl, 0x10
je 0x1003554f
xorps xmm2, xmm2
jmp 0x1003555a
movaps xmm2, xmm0
addss xmm2, dword [edi + 0x1560]
test byte [edi + 0x1a8c], 1
xorps xmm0, xmm0
je 0x10035570
movss xmm1, dword [edi + 0x1a90]
jmp 0x10035578
movss xmm1, dword [edx + 0x180]
comiss xmm0, xmm1
jbe 0x100355ac
mov eax, edx
cmp dword [eax + 0x1d0], 0
movss xmm0, dword [eax + 0x22c]
je 0x10035598
movss xmm0, dword [eax + 0x20c]
subss xmm0, dword [edx + 0xd8]
addss xmm1, xmm0
maxss xmm1, dword [0x1015bd40]
cvttss2si eax, xmm1
movd xmm0, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], eax
cvtdq2ps xmm0, xmm0
subss xmm0, xmm2
movss dword [esp + 0x40], xmm0
cmp eax, 0xffffffff
jae 0x100355ee
mov ecx, eax
mov dl, byte [ecx]
test dl, dl
je 0x100355ea
cmp dl, 0x23
jne 0x100355e0
cmp byte [ecx + 1], dl
je 0x100355ea
inc ecx
mov dword [esp + 0x48], ecx
cmp ecx, 0xffffffff
jb 0x100355d0
mov ecx, dword [esp + 0x1c]
mov edx, ecx
mov dword [esp + 0x74], ecx
shr edx, 1
mov eax, ecx
shr eax, 0x13
not dl
and eax, 0xffffff01
and edx, 0xffffff01
mov dword [esp + 0x5c], eax
movzx eax, dl
add eax, 3
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], eax
call fcn.10015720
mov ecx, dword [esp + 0x34]
call fcn.100155b0
mov ecx, dword [esp + 0x1c]
test cl, 0x20
je 0x10035641
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0x1c], ecx
test cl, 8
jne 0x10035653
mov edx, ecx
mov ecx, esi
call fcn.100399b0
mov ecx, dword [esp + 0x1c]
test ecx, 0x700000
jne 0x10035668
mov eax, dword [edi + 0x2cdc]
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x1003567d
mov eax, dword [edi + 0x2cdc]
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x10035692
mov eax, dword [edi + 0x2cdc]
and eax, 0x6000000
or ecx, eax
mov eax, dword [edi + 0x2cdc]
movss xmm2, dword [esi]
and eax, 0xf80fffff
movss xmm5, dword [esi + 4]
or ecx, eax
cmp byte [esp + 0x38], 0
movss xmm1, dword [esi + 8]
mov dword [esp + 0x1c], ecx
movss dword [esp + 0xd8], xmm2
movss dword [esp + 0xdc], xmm5
movss dword [esp + 0xe0], xmm1
je 0x100356e3
movss xmm0, dword [esi + 0xc]
movss dword [esp + 0xe4], xmm0
jmp 0x100356ee
mov dword [esp + 0xe4], 0x3f800000
test ecx, 0x200000
je 0x1003578e
comiss xmm1, xmm5
xorps xmm4, xmm4
movaps xmm3, xmm5
jbe 0x10035713
movss xmm4, dword [0x1015c064]
movaps xmm3, xmm1
movaps xmm1, xmm5
comiss xmm3, xmm2
movaps xmm5, xmm2
jbe 0x10035730
movss xmm0, dword [0x1015c04c]
movaps xmm5, xmm3
subss xmm0, xmm4
movaps xmm3, xmm2
movaps xmm4, xmm0
movaps xmm0, xmm3
movss dword [esp + 0xe0], xmm5
minss xmm0, xmm1
movaps xmm2, xmm5
subss xmm3, xmm1
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x1015bdec]
addss xmm0, dword [0x1015bbfc]
divss xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x1015bbfc]
addss xmm3, xmm4
divss xmm2, xmm0
andps xmm3, xmmword [0x1015c4c0]
movss dword [esp + 0xd8], xmm3
movss dword [esp + 0xdc], xmm2
movss xmm0, dword [esp + 0xd8]
xorps xmm2, xmm2
comiss xmm0, xmm2
movss xmm3, dword [0x1015c054]
movss xmm1, dword [0x1015bce4]
jb 0x100357b4
movaps xmm5, xmm1
jmp 0x100357b7
movaps xmm5, xmm3
movss xmm0, dword [esp + 0xd8]
movss xmm4, dword [0x1015bf90]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si esi, xmm0
movss xmm0, dword [esp + 0xdc]
comiss xmm0, xmm2
mov dword [esp + 0xe8], esi
jb 0x100357ee
movaps xmm5, xmm1
jmp 0x100357f1
movaps xmm5, xmm3
movss xmm0, dword [esp + 0xdc]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0xe0]
comiss xmm0, xmm2
mov dword [esp + 0xec], edx
jb 0x10035820
movaps xmm5, xmm1
jmp 0x10035823
movaps xmm5, xmm3
movss xmm0, dword [esp + 0xe0]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0xe4]
comiss xmm0, xmm2
mov dword [esp + 0xf0], eax
jae 0x10035850
movaps xmm1, xmm3
movss xmm0, dword [esp + 0xe4]
mulss xmm0, xmm4
mov byte [esp + 0x17], 0
mov byte [esp + 0x23], 0
addss xmm0, xmm1
cvttss2si ecx, xmm0
mov dword [esp + 0x18], ecx
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x1c]
test ecx, 0x300000
je 0x10035cae
test cl, 0x20
jne 0x10035cae
mov edx, dword [esp + 0x24]
test ecx, 0x1000000
movss xmm3, dword [edi + 0x1560]
mov ecx, str.M:000
movss xmm4, dword [esp + 0x40]
movaps xmm1, xmm4
lea eax, [edx - 1]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
mulss xmm0, xmm3
subss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm0, dword [0x1015bd40]
addss xmm3, xmm0
movss dword [esp + 0x18], xmm0
mulss xmm3, xmm2
subss xmm4, xmm3
cvttss2si eax, xmm4
movd xmm0, eax
mov eax, str.M:0.000
cmove eax, ecx
mov ecx, dword [0x10190058]
push ecx
cvtdq2ps xmm0, xmm0
push 0
push eax
lea eax, [esp + 0x38]
push ecx
movss xmm2, dword [ecx + 0x18c4]
maxss xmm0, dword [0x1015bd40]
mov ecx, dword [ecx + 0x18c0]
mov dword [esp], 0xbf800000
push eax
movss dword [esp + 0x54], xmm0
call fcn.10028fa0
movss xmm0, dword [esp + 0x2c]
addss xmm0, dword [0x1015bd38]
mov dword [esp + 0x60], 0x1015a44c
mov dword [esp + 0x64], 0x1015a450
mov dword [esp + 0x68], 0x1015a454
mov dword [esp + 0x6c], 0x1015a458
cvttss2si eax, xmm0
mov dword [esp + 0xa8], str._3.0f
mov dword [esp + 0xac], str._3.0f
mov dword [esp + 0xb0], str._3.0f
mov dword [esp + 0xb4], str._3.0f
mov dword [esp + 0xb8], str.R:_3.0f
mov dword [esp + 0xbc], str.G:_3.0f
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x18]
mov dword [esp + 0xc0], str.B:_3.0f
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov dword [esp + 0xc4], str.A:_3.0f
mov dword [esp + 0xc8], str.H:_3.0f
mov dword [esp + 0xcc], str.S:_3.0f
mov dword [esp + 0xd0], str.V:_3.0f
mov dword [esp + 0xd4], str.A:_3.0f
comiss xmm1, xmm0
mov dword [esp + 0x78], str._0.3f
mov dword [esp + 0x7c], str._0.3f
mov dword [esp + 0x80], str._0.3f
mov dword [esp + 0x84], str._0.3f
mov dword [esp + 0x88], str.R:_0.3f
mov dword [esp + 0x8c], str.G:_0.3f
mov dword [esp + 0x90], str.B:_0.3f
mov dword [esp + 0x94], str.A:_0.3f
mov dword [esp + 0x98], str.H:_0.3f
mov dword [esp + 0x9c], str.S:_0.3f
mov dword [esp + 0xa0], str.V:_0.3f
mov dword [esp + 0xa4], str.A:_0.3f
jb 0x10035a9f
mov dword [esp + 0x18], 0
jmp 0x10035ab3
mov eax, dword [esp + 0x1c]
and eax, 0x200000
neg eax
sbb eax, eax
neg eax
inc eax
mov dword [esp + 0x18], eax
call fcn.10014d50
xor esi, esi
cmp dword [esp + 0x24], esi
jbe 0x10035b8d
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
shl edx, 4
test ecx, 0x1000000
je 0x10035bd0
mov eax, ecx
mov dword [esp + 0x50], esi
and eax, 8
mov dword [esp + 0x54], eax
lea eax, [esp + 0x78]
add eax, edx
mov dword [esp + 0x18], eax
test esi, esi
je 0x10035b03
movss xmm1, dword [edi + 0x1560]
call fcn.10015aa0
lea eax, [esi + 1]
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x24]
jne 0x10035b1b
movss xmm0, dword [esp + 0x40]
call fcn.10014d50
cmp byte [esp + 0x5c], 0
mov eax, dword [esp + 0x18]
je 0x10035b2b
xorps xmm0, xmm0
jmp 0x10035b33
movss xmm0, dword [0x1015bd40]
movss xmm3, dword [0x1015bc28]
mov edx, 8
push ecx
push dword [eax]
mov ecx, dword [esp + esi*4 + 0x68]
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x5c]
movss dword [esp + 0x58], xmm0
push eax
lea eax, [esp + 0xe8]
lea eax, [eax + esi*4]
push eax
call fcn.10031970
or byte [esp + 0x2b], al
add esp, 0x14
cmp dword [esp + 0x54], 0
jne 0x10035b7a
call fcn.10016870
mov esi, dword [esp + 0x2c]
add dword [esp + 0x18], 4
cmp esi, dword [esp + 0x24]
jl 0x10035af2
mov al, byte [esp + 0x17]
mov byte [esp + 0x23], al
mov edx, dword [0x10190058]
mov eax, dword [edx + 0x19b0]
mov byte [eax + 0x8c], 1
mov ecx, dword [edx + 0x19b0]
mov esi, dword [ecx + 0x194]
sub esi, 1
mov dword [ecx + 0x194], esi
jne 0x10035c82
movss xmm0, dword [ecx + 0x23c]
jmp 0x10035c8e
xor esi, esi
mov eax, 0xff
cmp byte [esp + 0x5c], 0
mov dword [esp + 0x54], esi
cmovne eax, esi
mov dword [esp + 0x2c], eax
mov eax, ecx
and eax, 8
mov dword [esp + 0x50], eax
lea eax, [esp + 0xa8]
add eax, edx
mov dword [esp + 0x18], eax
nop dword [eax]
test esi, esi
jle 0x10035c11
movss xmm1, dword [edi + 0x1560]
call fcn.10015aa0
lea eax, [esi + 1]
mov dword [esp + 0x4c], eax
cmp eax, dword [esp + 0x24]
jne 0x10035c29
movss xmm0, dword [esp + 0x40]
call fcn.10014d50
mov eax, dword [esp + 0x18]
mov edx, 4
movss xmm3, dword [0x1015bd40]
push ecx
mov ecx, dword [esp + esi*4 + 0x64]
push dword [eax]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0xf8]
lea eax, [eax + esi*4]
push eax
call fcn.10031970
or byte [esp + 0x2b], al
add esp, 0x14
cmp dword [esp + 0x50], 0
jne 0x10035c6e
call fcn.10016870
mov esi, dword [esp + 0x4c]
add dword [esp + 0x18], 4
cmp esi, dword [esp + 0x24]
jl 0x10035c00
jmp 0x10035b95
mov eax, dword [ecx + 0x19c]
movss xmm0, dword [eax + esi*4 - 4]
movss dword [ecx + 0x180], xmm0
mov eax, dword [edx + 0x19b0]
mov byte [eax + 0x8c], 1
mov ecx, dword [edx + 0x19b0]
jmp 0x10035e8f
test ecx, 0x400000
je 0x10035ec2
test cl, 0x20
jne 0x10035ec2
cmp byte [esp + 0x38], 0
mov ecx, 0xff
je 0x10035d38
mov edi, dword [esp + 0x18]
test edi, edi
jns 0x10035ce1
mov dword [esp + 0x18], 0
jmp 0x10035cea
cmp edi, ecx
cmovg edi, ecx
mov dword [esp + 0x18], edi
test eax, eax
jns 0x10035cf2
xor eax, eax
jmp 0x10035cfa
cmp eax, 0xff
cmovg eax, ecx
test edx, edx
jns 0x10035d02
xor edx, edx
jmp 0x10035d07
cmp edx, ecx
cmovg edx, ecx
test esi, esi
jns 0x10035d0f
xor esi, esi
jmp 0x10035d14
cmp esi, ecx
cmovg esi, ecx
push dword [esp + 0x18]
push eax
push edx
push esi
push 0x1015a4e4
lea eax, [esp + 0x10c]
push 0x40
push eax
call fcn.1000ab80
mov edi, dword [esp + 0x60]
add esp, 0x1c
jmp 0x10035d7c
test eax, eax
jns 0x10035d40
xor eax, eax
jmp 0x10035d48
cmp eax, 0xff
cmovg eax, ecx
test edx, edx
jns 0x10035d50
xor edx, edx
jmp 0x10035d55
cmp edx, ecx
cmovg edx, ecx
test esi, esi
jns 0x10035d5d
xor esi, esi
jmp 0x10035d62
cmp esi, ecx
cmovg esi, ecx
push eax
push edx
push esi
push 0x1015a4f8
lea eax, [esp + 0x108]
push 0x40
push eax
call fcn.1000ab80
add esp, 0x18
movss xmm0, dword [esp + 0x40]
call fcn.10014d50
push 0
push 0
push 6
lea eax, [esp + 0x60]
mov dword [esp + 0x60], 0
push eax
lea eax, [esp + 0x108]
mov dword [esp + 0x68], 0
push 0x40
push eax
xor edx, edx
mov ecx, str.Text
call fcn.100327f0
add esp, 0x18
test al, al
je 0x10035e6a
mov byte [esp + 0x17], 1
lea ecx, [esp + 0xf8]
nop
mov al, byte [ecx]
cmp al, 0x23
je 0x10035dde
cmp al, 0x20
je 0x10035dde
cmp al, 9
jne 0x10035de1
inc ecx
jmp 0x10035dd0
cmp byte [esp + 0x38], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xe8], 0
je 0x10035e44
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0xf4]
push eax
push str._02X_02X_02X_02X
push ecx
call fcn.100091b0
add esp, 0x18
jmp 0x10035e6a
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0xf0]
push eax
push str._02X_02X_02X
push ecx
call fcn.100091b0
add esp, 0x14
test byte [esp + 0x1c], 8
jne 0x10035e76
call fcn.10016870
mov ecx, dword [0x10190058]
mov eax, dword [ecx + 0x19b0]
mov byte [eax + 0x8c], 1
mov ecx, dword [ecx + 0x19b0]
mov edx, dword [ecx + 0x194]
sub edx, 1
mov dword [ecx + 0x194], edx
jne 0x10035eaa
movss xmm0, dword [ecx + 0x23c]
jmp 0x10035eb6
mov eax, dword [ecx + 0x19c]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x180], xmm0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
test cl, 0x10
jne 0x100360c7
test cl, 0x20
jne 0x10035ee9
movss xmm1, dword [edi + 0x1560]
call fcn.10015aa0
mov ecx, dword [esp + 0x1c]
cmp byte [esp + 0x38], 0
mov esi, dword [esp + 0x3c]
je 0x10035efb
movss xmm1, dword [esi + 0xc]
jmp 0x10035f03
movss xmm1, dword [0x1015bd40]
movss xmm0, dword [esi]
lea edx, [esp + 0x60]
mov dword [esp + 0x30], 0
push dword [esp + 0x30]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esi + 4]
mov dword [esp + 0x30], 0
push dword [esp + 0x30]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esi + 8]
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x78], xmm1
call fcn.10038f30
add esp, 0xc
test al, al
mov eax, dword [esp + 0x1c]
je 0x10035fd7
test al, 4
jne 0x10035fd7
movups xmm0, xmmword [esp + 0x60]
mov ecx, 0x1015a544
movups xmmword [edi + 0x2cf0], xmm0
call fcn.100161e0
mov eax, dword [esp + 0x28]
movss xmm1, dword [eax + 0x120]
movss xmm0, dword [eax + 0x12c]
addss xmm0, dword [edi + 0x155c]
mov eax, dword [0x10190058]
subss xmm1, dword [0x1015bd40]
or dword [eax + 0x1a34], 1
movss dword [eax + 0x1a48], xmm0
movss dword [eax + 0x1a44], xmm1
mov dword [eax + 0x1a4c], 0
mov dword [eax + 0x1a50], 0
mov dword [eax + 0x1a38], 1
mov eax, dword [esp + 0x1c]
test al, 8
jne 0x10035fe0
call fcn.10016870
mov ecx, 0x1015a544
call fcn.100166c0
test al, al
je 0x100360c3
mov eax, dword [edi + 0x19b0]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
cmp ecx, eax
je 0x1003603a
push 1
mov edx, eax
call fcn.1002e810
mov eax, dword [0x10190058]
add esp, 4
mov ecx, dword [eax + 0x19b0]
cmp byte [ecx + 0x8f], 0
jne 0x1003603a
mov ecx, dword [ecx + 0x16c]
neg ecx
sbb ecx, ecx
add ecx, 6
call fcn.100310a0
movss xmm0, dword [esp + 0x70]
mulss xmm0, dword [0x1015be18]
call fcn.10014d50
lea eax, [edi + 0x2cf0]
mov edx, esi
push eax
mov eax, dword [esp + 0x78]
mov ecx, str.picker
and eax, 0x7890002
or eax, 0x740080
push eax
call fcn.100369d0
mov ecx, dword [0x10190058]
add esp, 8
or byte [esp + 0x17], al
mov eax, dword [ecx + 0x19b0]
mov byte [eax + 0x8c], 1
mov ecx, dword [ecx + 0x19b0]
mov edx, dword [ecx + 0x194]
sub edx, 1
mov dword [ecx + 0x194], edx
jne 0x100360aa
movss xmm0, dword [ecx + 0x23c]
jmp 0x100360b6
mov eax, dword [ecx + 0x19c]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x180], xmm0
call fcn.10016750
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x48]
cmp dword [esp + 0x34], esi
je 0x100360f2
test cl, cl
js 0x100360f2
movss xmm1, dword [edi + 0x1560]
call fcn.10015aa0
mov ecx, dword [esp + 0x34]
mov edx, esi
push 1
call fcn.1002e810
add esp, 4
cmp dword [esp + 0x18], 0
jne 0x100361aa
cmp byte [esp + 0x23], 0
jne 0x1003611e
movups xmm0, xmmword [esp + 0xe8]
cvtdq2ps xmm0, xmm0
mulps xmm0, xmmword [0x1015c1f0]
movups xmmword [esp + 0xd8], xmm0
test dword [esp + 0x1c], 0x200000
je 0x10036161
movss xmm2, dword [esp + 0xe0]
lea eax, [esp + 0xe0]
movss xmm1, dword [esp + 0xdc]
lea edx, [esp + 0xdc]
movss xmm0, dword [esp + 0xd8]
lea ecx, [esp + 0xd8]
push eax
call fcn.1000b420
add esp, 4
cmp byte [esp + 0x17], 0
je 0x100361aa
cmp byte [esp + 0x38], 0
mov eax, dword [esp + 0x3c]
movss xmm0, dword [esp + 0xd8]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0xdc]
movss dword [eax + 4], xmm0
movss xmm0, dword [esp + 0xe0]
movss dword [eax + 8], xmm0
je 0x100361aa
movss xmm0, dword [esp + 0xe4]
movss dword [eax + 0xc], xmm0
mov eax, dword [0x10190058]
mov eax, dword [eax + 0x19b0]
dec dword [eax + 0xcc]
call fcn.10015860
mov edx, dword [esp + 0x28]
test byte [edx + 0x11c], 1
je 0x100362d7
test dword [esp + 0x1c], 0x200
jne 0x100362d7
mov esi, dword [0x10190058]
cmp byte [esi + 0x1d3c], 0
je 0x100362d7
mov ecx, dword [esi + 0x19b0]
mov edx, dword [ecx + 0x11c]
test dl, 1
je 0x100362d3
cmp dword [esi + 0x19b4], 0
je 0x100362d3
mov edi, dword [esi + 0x19b4]
mov eax, dword [ecx + 0x304]
cmp eax, dword [edi + 0x304]
mov edi, dword [esp + 0x44]
jne 0x100362d3
test dl, 2
lea edx, [ecx + 0x130]
jne 0x10036241
lea edx, [ecx + 0x120]
mov eax, dword [ecx + 0x118]
mov dword [esp + 0x44], edx
test eax, eax
jne 0x10036255
push edx
call fcn.1000ced0
cmp dword [esi + 0x1d54], eax
je 0x100362d3
mov ecx, dword [esp + 0x44]
movups xmm0, xmmword [ecx]
mov ecx, str._COL3F
mov dword [esi + 0x1d94], eax
mov byte [esi + 0x1d3d], 1
movups xmmword [esi + 0x1d84], xmm0
call fcn.10019e00
mov esi, dword [esp + 0x3c]
test eax, eax
je 0x1003629f
mov eax, dword [eax]
mov byte [esp + 0x17], 1
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov ecx, str._COL4F
call fcn.10019e00
mov ecx, eax
test ecx, ecx
je 0x100362c7
mov eax, dword [esp + 0x24]
shl eax, 2
push eax
push dword [ecx]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0x17], 1
mov eax, dword [0x10190058]
mov byte [eax + 0x1d3d], 0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100362f7
mov ecx, dword [edi + 0x19ec]
test ecx, ecx
je 0x100362f7
cmp dword [edi + 0x1a18], eax
jne 0x100362f7
mov dword [edx + 0x118], ecx
mov ecx, dword [esp + 0x13c]
mov al, byte [esp + 0x17]
pop edi
pop esi
xor ecx, esp
call fcn.100dfe28
mov esp, ebp
pop ebp
ret