Function at 0x100354f0
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, 0x101a157a
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c], eax
call fcn.10137ff6
mov edi, dword [0x1018ff68]
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 0x10035567
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.100dfbc8
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 0x1003558f
xorps xmm2, xmm2
jmp 0x1003559a
movaps xmm2, xmm0
addss xmm2, dword [edi + 0x1560]
test byte [edi + 0x1a8c], 1
xorps xmm0, xmm0
je 0x100355b0
movss xmm1, dword [edi + 0x1a90]
jmp 0x100355b8
movss xmm1, dword [edx + 0x180]
comiss xmm0, xmm1
jbe 0x100355ec
mov eax, edx
cmp dword [eax + 0x1d0], 0
movss xmm0, dword [eax + 0x22c]
je 0x100355d8
movss xmm0, dword [eax + 0x20c]
subss xmm0, dword [edx + 0xd8]
addss xmm1, xmm0
maxss xmm1, dword [0x1015bd20]
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 0x1003562e
mov ecx, eax
mov dl, byte [ecx]
test dl, dl
je 0x1003562a
cmp dl, 0x23
jne 0x10035620
cmp byte [ecx + 1], dl
je 0x1003562a
inc ecx
mov dword [esp + 0x48], ecx
cmp ecx, 0xffffffff
jb 0x10035610
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 0x10035681
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0x1c], ecx
test cl, 8
jne 0x10035693
mov edx, ecx
mov ecx, esi
call fcn.10039a00
mov ecx, dword [esp + 0x1c]
test ecx, 0x700000
jne 0x100356a8
mov eax, dword [edi + 0x2cdc]
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x100356bd
mov eax, dword [edi + 0x2cdc]
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x100356d2
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 0x10035723
movss xmm0, dword [esi + 0xc]
movss dword [esp + 0xe4], xmm0
jmp 0x1003572e
mov dword [esp + 0xe4], 0x3f800000
test ecx, 0x200000
je 0x100357ce
comiss xmm1, xmm5
xorps xmm4, xmm4
movaps xmm3, xmm5
jbe 0x10035753
movss xmm4, dword [0x1015c04c]
movaps xmm3, xmm1
movaps xmm1, xmm5
comiss xmm3, xmm2
movaps xmm5, xmm2
jbe 0x10035770
movss xmm0, dword [0x1015c034]
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 [0x1015bdcc]
addss xmm0, dword [0x1015bbdc]
divss xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x1015bbdc]
addss xmm3, xmm4
divss xmm2, xmm0
andps xmm3, xmmword [0x1015c4b0]
movss dword [esp + 0xd8], xmm3
movss dword [esp + 0xdc], xmm2
movss xmm0, dword [esp + 0xd8]
xorps xmm2, xmm2
comiss xmm0, xmm2
movss xmm3, dword [0x1015c03c]
movss xmm1, dword [0x1015bcc4]
jb 0x100357f4
movaps xmm5, xmm1
jmp 0x100357f7
movaps xmm5, xmm3
movss xmm0, dword [esp + 0xd8]
movss xmm4, dword [0x1015bf74]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si esi, xmm0
movss xmm0, dword [esp + 0xdc]
comiss xmm0, xmm2
mov dword [esp + 0xe8], esi
jb 0x1003582e
movaps xmm5, xmm1
jmp 0x10035831
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 0x10035860
movaps xmm5, xmm1
jmp 0x10035863
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 0x10035890
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 0x10035cf1
test cl, 0x20
jne 0x10035cf1
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 [0x1015bd20]
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 [0x1018ff68]
push ecx
cvtdq2ps xmm0, xmm0
push 0
push eax
lea eax, [esp + 0x38]
push ecx
movss xmm2, dword [ecx + 0x18c4]
maxss xmm0, dword [0x1015bd20]
mov ecx, dword [ecx + 0x18c0]
mov dword [esp], 0xbf800000
push eax
movss dword [esp + 0x54], xmm0
call fcn.10028fe0
movss xmm0, dword [esp + 0x2c]
addss xmm0, dword [0x1015bd18]
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 0x10035adf
mov dword [esp + 0x18], 0
jmp 0x10035af3
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 0x10035bd0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
shl edx, 4
test ecx, 0x1000000
je 0x10035c13
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 0x10035b46
movss xmm1, dword [edi + 0x1560]
xorps xmm0, xmm0
call fcn.10015aa0
lea eax, [esi + 1]
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x24]
jne 0x10035b5e
movss xmm0, dword [esp + 0x40]
call fcn.10014d50
cmp byte [esp + 0x5c], 0
mov eax, dword [esp + 0x18]
je 0x10035b6e
xorps xmm0, xmm0
jmp 0x10035b76
movss xmm0, dword [0x1015bd20]
movss xmm3, dword [0x1015bc08]
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.100319b0
or byte [esp + 0x2b], al
add esp, 0x14
cmp dword [esp + 0x54], 0
jne 0x10035bbd
call fcn.100168b0
mov esi, dword [esp + 0x2c]
add dword [esp + 0x18], 4
cmp esi, dword [esp + 0x24]
jl 0x10035b32
mov al, byte [esp + 0x17]
mov byte [esp + 0x23], al
mov edx, dword [0x1018ff68]
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 0x10035cc5
movss xmm0, dword [ecx + 0x23c]
jmp 0x10035cd1
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
test esi, esi
jle 0x10035c54
movss xmm1, dword [edi + 0x1560]
xorps xmm0, xmm0
call fcn.10015aa0
lea eax, [esi + 1]
mov dword [esp + 0x4c], eax
cmp eax, dword [esp + 0x24]
jne 0x10035c6c
movss xmm0, dword [esp + 0x40]
call fcn.10014d50
mov eax, dword [esp + 0x18]
mov edx, 4
movss xmm3, dword [0x1015bd20]
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.100319b0
or byte [esp + 0x2b], al
add esp, 0x14
cmp dword [esp + 0x50], 0
jne 0x10035cb1
call fcn.100168b0
mov esi, dword [esp + 0x4c]
add dword [esp + 0x18], 4
cmp esi, dword [esp + 0x24]
jl 0x10035c40
jmp 0x10035bd8
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 0x10035ed1
test ecx, 0x400000
je 0x10035f04
test cl, 0x20
jne 0x10035f04
cmp byte [esp + 0x38], 0
mov ecx, 0xff
je 0x10035d7b
mov edi, dword [esp + 0x18]
test edi, edi
jns 0x10035d24
mov dword [esp + 0x18], 0
jmp 0x10035d2d
cmp edi, ecx
cmovg edi, ecx
mov dword [esp + 0x18], edi
test eax, eax
jns 0x10035d35
xor eax, eax
jmp 0x10035d3d
cmp eax, 0xff
cmovg eax, ecx
test edx, edx
jns 0x10035d45
xor edx, edx
jmp 0x10035d4a
cmp edx, ecx
cmovg edx, ecx
test esi, esi
jns 0x10035d52
xor esi, esi
jmp 0x10035d57
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 0x10035dbf
test eax, eax
jns 0x10035d83
xor eax, eax
jmp 0x10035d8b
cmp eax, 0xff
cmovg eax, ecx
test edx, edx
jns 0x10035d93
xor edx, edx
jmp 0x10035d98
cmp edx, ecx
cmovg edx, ecx
test esi, esi
jns 0x10035da0
xor esi, esi
jmp 0x10035da5
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.10032830
add esp, 0x18
test al, al
je 0x10035eac
mov byte [esp + 0x17], 1
lea ecx, [esp + 0xf8]
mov al, byte [ecx]
cmp al, 0x23
je 0x10035e20
cmp al, 0x20
je 0x10035e20
cmp al, 9
jne 0x10035e23
inc ecx
jmp 0x10035e12
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 0x10035e86
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 0x10035eac
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 0x10035eb8
call fcn.100168b0
mov ecx, dword [0x1018ff68]
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 0x10035eec
movss xmm0, dword [ecx + 0x23c]
jmp 0x10035ef8
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 0x1003610c
test cl, 0x20
jne 0x10035f2e
movss xmm1, dword [edi + 0x1560]
xorps xmm0, xmm0
call fcn.10015aa0
mov ecx, dword [esp + 0x1c]
cmp byte [esp + 0x38], 0
mov esi, dword [esp + 0x3c]
je 0x10035f40
movss xmm1, dword [esi + 0xc]
jmp 0x10035f48
movss xmm1, dword [0x1015bd20]
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.10038f80
add esp, 0xc
test al, al
mov eax, dword [esp + 0x1c]
je 0x1003601c
test al, 4
jne 0x1003601c
movups xmm0, xmmword [esp + 0x60]
mov ecx, 0x1015a544
movups xmmword [edi + 0x2cf0], xmm0
call fcn.10016220
mov eax, dword [esp + 0x28]
movss xmm1, dword [eax + 0x120]
movss xmm0, dword [eax + 0x12c]
addss xmm0, dword [edi + 0x155c]
mov eax, dword [0x1018ff68]
subss xmm1, dword [0x1015bd20]
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 0x10036025
call fcn.100168b0
mov ecx, 0x1015a544
call fcn.10016700
test al, al
je 0x10036108
mov eax, dword [edi + 0x19b0]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
cmp ecx, eax
je 0x1003607f
push 1
mov edx, eax
call fcn.1002e850
mov eax, dword [0x1018ff68]
add esp, 4
mov ecx, dword [eax + 0x19b0]
cmp byte [ecx + 0x8f], 0
jne 0x1003607f
mov ecx, dword [ecx + 0x16c]
neg ecx
sbb ecx, ecx
add ecx, 6
call fcn.100310e0
movss xmm0, dword [esp + 0x70]
mulss xmm0, dword [0x1015bdf8]
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.10036a20
mov ecx, dword [0x1018ff68]
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 0x100360ef
movss xmm0, dword [ecx + 0x23c]
jmp 0x100360fb
mov eax, dword [ecx + 0x19c]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x180], xmm0
call fcn.10016790
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x48]
cmp dword [esp + 0x34], esi
je 0x1003613a
test cl, cl
js 0x1003613a
movss xmm1, dword [edi + 0x1560]
xorps xmm0, xmm0
call fcn.10015aa0
mov ecx, dword [esp + 0x34]
mov edx, esi
push 1
call fcn.1002e850
add esp, 4
cmp dword [esp + 0x18], 0
jne 0x100361f2
cmp byte [esp + 0x23], 0
jne 0x10036166
movups xmm0, xmmword [esp + 0xe8]
cvtdq2ps xmm0, xmm0
mulps xmm0, xmmword [0x1015c1e0]
movups xmmword [esp + 0xd8], xmm0
test dword [esp + 0x1c], 0x200000
je 0x100361a9
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 0x100361f2
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 0x100361f2
movss xmm0, dword [esp + 0xe4]
movss dword [eax + 0xc], xmm0
mov eax, dword [0x1018ff68]
mov eax, dword [eax + 0x19b0]
dec dword [eax + 0xcc]
call fcn.10015860
mov edx, dword [esp + 0x28]
test byte [edx + 0x11c], 1
je 0x1003631f
test dword [esp + 0x1c], 0x200
jne 0x1003631f
mov esi, dword [0x1018ff68]
cmp byte [esi + 0x1d3c], 0
je 0x1003631f
mov ecx, dword [esi + 0x19b0]
mov edx, dword [ecx + 0x11c]
test dl, 1
je 0x1003631b
cmp dword [esi + 0x19b4], 0
je 0x1003631b
mov edi, dword [esi + 0x19b4]
mov eax, dword [ecx + 0x304]
cmp eax, dword [edi + 0x304]
mov edi, dword [esp + 0x44]
jne 0x1003631b
test dl, 2
lea edx, [ecx + 0x130]
jne 0x10036289
lea edx, [ecx + 0x120]
mov eax, dword [ecx + 0x118]
mov dword [esp + 0x44], edx
test eax, eax
jne 0x1003629d
push edx
call fcn.1000ced0
cmp dword [esi + 0x1d54], eax
je 0x1003631b
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.10019e40
mov esi, dword [esp + 0x3c]
test eax, eax
je 0x100362e7
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.10019e40
mov ecx, eax
test ecx, ecx
je 0x1003630f
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 [0x1018ff68]
mov byte [eax + 0x1d3d], 0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1003633f
mov ecx, dword [edi + 0x19ec]
test ecx, ecx
je 0x1003633f
cmp dword [edi + 0x1a18], eax
jne 0x1003633f
mov dword [edx + 0x118], ecx
mov ecx, dword [esp + 0x13c]
mov al, byte [esp + 0x17]
pop edi
pop esi
xor ecx, esp
call fcn.100dfbc8
mov esp, ebp
pop ebp
ret