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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
push esi
mov esi, dword [0x1011f930]
push edi
mov edi, edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x20], edi
mov eax, dword [esi + 0x198c]
mov dword [esp + 0x18], esi
mov byte [eax + 0x7c], 1
mov eax, dword [esi + 0x198c]
mov dword [esp + 0x1c], eax
cmp byte [eax + 0x7f], 0
je 0x100529a4
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test byte [ebp + 8], 0x10
movss xmm0, dword [esi + 0x1538]
addss xmm0, xmm0
addss xmm0, dword [esi + 0x18ac]
movss dword [esp + 0x6c], xmm0
je 0x100529c9
xorps xmm3, xmm3
jmp 0x100529d4
movaps xmm3, xmm0
addss xmm3, dword [esi + 0x154c]
movss xmm2, dword [eax + 0x16c]
xorps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x10052a58
movss xmm4, dword [eax + 0xc8]
mov edi, dword [eax + 0x1bc]
movss xmm1, dword [eax + 0x214]
subss xmm4, dword [eax + 0xc]
subss xmm1, dword [eax + 0xc]
test edi, edi
je 0x10052a40
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 eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
addss xmm1, dword [edi + 0x14]
subss xmm1, dword [eax + 0x3c]
mov edi, dword [esp + 0x20]
subss xmm1, xmm4
addss xmm1, xmm2
movss xmm2, dword [0x100da4a8]
maxss xmm2, xmm1
cvttss2si eax, xmm2
movd xmm0, eax
mov eax, ecx
mov dword [esp + 0x50], eax
cvtdq2ps xmm0, xmm0
subss xmm0, xmm3
movss dword [esp + 0x14], xmm0
cmp ecx, 0xffffffff
jae 0x10052a91
mov cl, byte [eax]
test cl, cl
je 0x10052a91
inc eax
cmp cl, 0x23
jne 0x10052a88
cmp byte [eax], cl
je 0x10052a91
mov dword [esp + 0x50], eax
cmp eax, 0xffffffff
jb 0x10052a78
call fcn.10034ab0
mov ecx, dword [esp + 0x40]
call fcn.100349b0
mov ecx, dword [ebp + 8]
mov dword [esp + 0x68], ecx
test cl, 0x20
je 0x10052aba
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [ebp + 8], ecx
test cl, 8
jne 0x10052acb
mov edx, ecx
mov ecx, edi
call fcn.10056ca0
mov ecx, dword [ebp + 8]
test ecx, 0x700000
jne 0x10052ae0
mov eax, dword [esi + 0x2bf0]
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x10052af5
mov eax, dword [esi + 0x2bf0]
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x10052b0a
mov eax, dword [esi + 0x2bf0]
and eax, 0x6000000
or ecx, eax
mov eax, dword [esi + 0x2bf0]
movss xmm2, dword [edi]
and eax, 0xf80fffff
movss xmm5, dword [edi + 4]
or ecx, eax
movss xmm1, dword [edi + 8]
mov edx, ecx
shr edx, 1
mov eax, ecx
shr eax, 0x13
not dl
and eax, 0xffffff01
mov dword [ebp + 8], ecx
and edx, 0xffffff01
mov dword [esp + 0x2c], eax
movzx eax, dl
add eax, 3
mov dword [esp + 0x54], edx
mov dword [esp + 0x44], eax
movss dword [esp + 0x30], xmm2
movss dword [esp + 0x34], xmm5
movss dword [esp + 0x38], xmm1
test dl, dl
je 0x10052b73
movss xmm0, dword [edi + 0xc]
movss dword [esp + 0x3c], xmm0
jmp 0x10052b7b
mov dword [esp + 0x3c], 0x3f800000
test ecx, 0x200000
je 0x10052c13
comiss xmm1, xmm5
xorps xmm4, xmm4
movaps xmm3, xmm5
jbe 0x10052ba0
movss xmm4, dword [0x100da678]
movaps xmm3, xmm1
movaps xmm1, xmm5
comiss xmm3, xmm2
movaps xmm5, xmm2
jbe 0x10052bbd
movss xmm0, dword [0x100da664]
movaps xmm5, xmm3
subss xmm0, xmm4
movaps xmm3, xmm2
movaps xmm4, xmm0
movaps xmm0, xmm3
movaps xmm2, xmm5
minss xmm0, xmm1
subss xmm3, xmm1
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x100da53c]
addss xmm0, dword [0x100da3d4]
divss xmm3, xmm0
addss xmm3, xmm4
movaps xmm0, xmm3
call fcn.10003050
movss dword [esp + 0x30], xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x100da3d4]
movss dword [esp + 0x38], xmm5
divss xmm2, xmm0
movss dword [esp + 0x34], xmm2
movss xmm0, dword [esp + 0x30]
xorps xmm2, xmm2
comiss xmm0, xmm2
movss xmm3, dword [0x100da668]
movss xmm1, dword [0x100da468]
jb 0x10052c36
movaps xmm5, xmm1
jmp 0x10052c39
movaps xmm5, xmm3
movss xmm0, dword [esp + 0x30]
movss xmm4, dword [0x100da5dc]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si esi, xmm0
movss xmm0, dword [esp + 0x34]
comiss xmm0, xmm2
mov dword [esp + 0x58], esi
jb 0x10052c67
movaps xmm5, xmm1
jmp 0x10052c6a
movaps xmm5, xmm3
movss xmm0, dword [esp + 0x34]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0x38]
comiss xmm0, xmm2
mov dword [esp + 0x5c], edx
jb 0x10052c90
movaps xmm5, xmm1
jmp 0x10052c93
movaps xmm5, xmm3
movss xmm0, dword [esp + 0x38]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x3c]
comiss xmm0, xmm2
mov dword [esp + 0x60], eax
jae 0x10052cb7
movaps xmm1, xmm3
movss xmm0, dword [esp + 0x3c]
mulss xmm0, xmm4
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
addss xmm0, xmm1
cvttss2si edi, xmm0
mov dword [esp + 0x64], edi
test ecx, 0x300000
je 0x100531b9
test cl, 0x20
jne 0x100531b9
mov edx, dword [esp + 0x44]
test ecx, 0x1000000
movss xmm4, dword [esp + 0x14]
mov ecx, str.M:000
movaps xmm1, xmm4
mov esi, dword [0x1011f930]
push ecx
lea eax, [edx - 1]
movd xmm3, eax
mov eax, dword [esp + 0x1c]
cvtdq2ps xmm3, xmm3
push 0
movss xmm2, dword [eax + 0x154c]
movaps xmm0, xmm2
mulss xmm0, xmm3
subss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x100da4a8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
movaps xmm0, xmm1
movss dword [esp + 0x1c], xmm1
addss xmm0, xmm2
movss xmm1, dword [0x100da4a8]
movss xmm2, dword [esi + 0x18ac]
mulss xmm0, xmm3
movss xmm3, dword [0x100da64c]
subss xmm4, xmm0
cvttss2si eax, xmm4
movd xmm0, eax
mov eax, str.M:0.000
cvtdq2ps xmm0, xmm0
cmove eax, ecx
push eax
push ecx
mov ecx, dword [esi + 0x18a8]
lea eax, [esp + 0x34]
mov dword [esp], 0xbf800000
maxss xmm1, xmm0
push eax
movss dword [esp + 0xa0], xmm1
call fcn.10047310
movss xmm0, dword [esp + 0x24]
addss xmm0, dword [0x100da4a0]
mov dword [esp + 0x70], 0x100d7af4
mov dword [esp + 0x74], 0x100d7b04
mov dword [esp + 0x78], 0x100d7b00
mov dword [esp + 0x7c], 0x100d7b0c
cvttss2si eax, xmm0
mov dword [esp + 0xc0], 0x100d7b08
mov dword [esp + 0xc4], 0x100d7b08
mov dword [esp + 0xc8], 0x100d7b08
mov dword [esp + 0xcc], 0x100d7b08
mov dword [esp + 0xd0], str.R:_3d
mov dword [esp + 0xd4], str.G:_3d
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x28], xmm0
mov dword [esp + 0xd8], str.B:_3d
mov dword [esp + 0xdc], str.A:_3d
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov dword [esp + 0xe0], str.H:_3d
mov dword [esp + 0xe4], str.S:_3d
mov dword [esp + 0xe8], str.V:_3d
mov dword [esp + 0xec], str.A:_3d
mov dword [esp + 0x90], str._0.3f
mov dword [esp + 0x94], str._0.3f
mov dword [esp + 0x98], str._0.3f
mov dword [esp + 0x9c], str._0.3f
mov dword [esp + 0xa0], str.R:_0.3f
mov dword [esp + 0xa4], str.G:_0.3f
mov dword [esp + 0xa8], str.B:_0.3f
mov dword [esp + 0xac], str.A:_0.3f
mov dword [esp + 0xb0], str.H:_0.3f
mov dword [esp + 0xb4], str.S:_0.3f
mov dword [esp + 0xb8], str.V:_0.3f
mov dword [esp + 0xbc], str.A:_0.3f
movss xmm0, dword [esp + 0x14]
comiss xmm1, xmm0
jb 0x10052f12
xor edi, edi
jmp 0x10052f22
mov edi, dword [ebp + 8]
and edi, 0x200000
neg edi
sbb edi, edi
neg edi
inc edi
mov eax, dword [esi + 0x198c]
xorps xmm4, xmm4
ucomiss xmm0, xmm4
mov byte [eax + 0x7c], 1
mov ecx, dword [esi + 0x198c]
mov dword [esp + 0x14], ecx
lahf
test ah, 0x44
jp 0x10052f4a
movss xmm0, dword [ecx + 0x220]
lea esi, [ecx + 0x180]
movss dword [ecx + 0x16c], xmm0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, eax
jne 0x10052f85
inc ecx
test eax, eax
je 0x10052f70
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 4]
jmp 0x10052f75
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1003a610
xorps xmm4, xmm4
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x16c]
mov dword [ecx + edx*4], eax
inc dword [esi]
xor esi, esi
cmp dword [esp + 0x44], esi
jbe 0x1005315f
mov eax, dword [ebp + 8]
mov ecx, eax
and ecx, 0x1000000
and eax, 8
shl edi, 4
mov dword [esp + 0x84], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], edi
test esi, esi
je 0x10052fdd
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x154c]
call fcn.10034d80
lea eax, [esi + 1]
cmp eax, dword [esp + 0x44]
jne 0x10053077
movss xmm0, dword [esp + 0x8c]
mov ecx, dword [0x1011f930]
ucomiss xmm0, xmm4
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x198c]
mov dword [esp + 0x4c], ecx
lahf
test ah, 0x44
jp 0x1005301e
movss xmm0, dword [ecx + 0x220]
lea edi, [ecx + 0x180]
movss dword [ecx + 0x16c], xmm0
mov ecx, dword [edi + 4]
mov edx, dword [edi]
cmp edx, ecx
jne 0x1005305f
inc edx
mov dword [esp + 0x48], edx
test ecx, ecx
je 0x1005304d
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x48]
sar eax, 1
add eax, ecx
jmp 0x10053052
mov eax, 8
cmp eax, edx
mov ecx, edi
cmovg edx, eax
push edx
call fcn.1003a610
mov edx, dword [edi]
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x16c]
mov dword [ecx + edx*4], eax
inc dword [edi]
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x84], 0
je 0x100530ed
cmp byte [esp + 0x2c], 0
je 0x1005308d
xorps xmm0, xmm0
jmp 0x10053095
movss xmm0, dword [0x100da4a8]
movss xmm3, dword [0x100da40c]
lea eax, [esp + 0x4c]
push ecx
mov ecx, dword [esp + esi*4 + 0x74]
mov edx, 4
mov dword [esp], 0x3f800000
push dword [esp + edi + 0x94]
movss dword [esp + 0x54], xmm0
push eax
lea eax, [esp + 0x54]
mov dword [esp + 0x54], 0
push eax
lea eax, [esp + 0x40]
lea eax, [eax + esi*4]
push eax
call fcn.1004c0f0
mov cl, byte [esp + 0x26]
add esp, 0x14
or cl, al
or byte [esp + 0x13], cl
mov byte [esp + 0x12], cl
jmp 0x1005313e
movss xmm3, dword [0x100da4a8]
xor ecx, ecx
cmp byte [esp + 0x2c], cl
mov eax, 0xff
push ecx
cmovne eax, ecx
mov dword [esp], 0x3f800000
push dword [esp + edi + 0xc4]
mov dword [esp + 0x54], eax
xor edx, edx
lea eax, [esp + 0x54]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + esi*4 + 0x78]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x68]
lea eax, [eax + esi*4]
push eax
call fcn.1004c0f0
add esp, 0x14
or byte [esp + 0x12], al
cmp dword [esp + 0x24], 0
jne 0x1005314a
call fcn.10035260
inc esi
add edi, 4
xorps xmm4, xmm4
mov dword [esp + 0x14], edi
cmp esi, dword [esp + 0x44]
jl 0x10052fc5
mov edx, dword [0x1011f930]
mov eax, dword [edx + 0x198c]
mov byte [eax + 0x7c], 1
mov ecx, dword [edx + 0x198c]
mov esi, dword [ecx + 0x180]
sub esi, 1
mov dword [ecx + 0x180], esi
jne 0x10053190
movss xmm0, dword [ecx + 0x220]
jmp 0x1005319c
mov eax, dword [ecx + 0x188]
movss xmm0, dword [eax + esi*4 - 4]
movss dword [ecx + 0x16c], xmm0
mov eax, dword [edx + 0x198c]
mov byte [eax + 0x7c], 1
mov ecx, dword [edx + 0x198c]
jmp 0x100533dc
test ecx, 0x400000
je 0x1005340e
test cl, 0x20
jne 0x1005340e
cmp byte [esp + 0x54], 0
mov ecx, 0xff
je 0x1005322e
test edi, edi
jns 0x100531e2
xor edi, edi
jmp 0x100531e7
cmp edi, ecx
cmovg edi, ecx
test eax, eax
jns 0x100531ef
xor eax, eax
jmp 0x100531f7
cmp eax, 0xff
cmovg eax, ecx
test edx, edx
jns 0x100531ff
xor edx, edx
jmp 0x10053204
cmp edx, ecx
cmovg edx, ecx
test esi, esi
jns 0x1005320c
xor esi, esi
jmp 0x10053211
cmp esi, ecx
cmovg esi, ecx
push edi
push eax
push edx
push esi
push 0x100d7ba0
lea eax, [esp + 0x104]
push 0x40
push eax
call fcn.1002a150
add esp, 0x1c
jmp 0x10053272
test eax, eax
jns 0x10053236
xor eax, eax
jmp 0x1005323e
cmp eax, 0xff
cmovg eax, ecx
test edx, edx
jns 0x10053246
xor edx, edx
jmp 0x1005324b
cmp edx, ecx
cmovg edx, ecx
test esi, esi
jns 0x10053253
xor esi, esi
jmp 0x10053258
cmp esi, ecx
cmovg esi, ecx
push eax
push edx
push esi
push 0x100d7b90
lea eax, [esp + 0x100]
push 0x40
push eax
call fcn.1002a150
add esp, 0x18
movss xmm4, dword [esp + 0x14]
ucomiss xmm4, dword [0x100da3c4]
mov ecx, dword [0x1011f930]
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x198c]
lahf
mov dword [esp + 0x24], ecx
test ah, 0x44
jp 0x100532a7
movss xmm4, dword [ecx + 0x220]
lea esi, [ecx + 0x180]
movss dword [ecx + 0x16c], xmm4
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jne 0x100532e0
inc ecx
test edi, edi
je 0x100532ce
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x100532d3
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1003a610
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x24]
push 0
push 0
push 6
mov eax, dword [eax + 0x16c]
mov dword [ecx + edx*4], eax
lea eax, [esp + 0x90]
inc dword [esi]
lea edx, [esp + 0xfc]
push eax
push 0x40
mov ecx, str.Text
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
call fcn.1004f150
add esp, 0x14
test al, al
je 0x100533bb
mov byte [esp + 0x12], 1
lea ecx, [esp + 0xf0]
mov al, byte [ecx]
cmp al, 0x23
je 0x10053350
cmp al, 0x20
je 0x10053350
cmp al, 9
jne 0x10053353
inc ecx
jmp 0x10053342
cmp byte [esp + 0x54], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
je 0x1005339e
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x64]
push eax
push str._02X_02X_02X_02X
push ecx
call fcn.10028a30
add esp, 0x18
jmp 0x100533bb
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x60]
push eax
push str._02X_02X_02X
push ecx
call fcn.10028a30
add esp, 0x14
test byte [ebp + 8], 8
jne 0x100533c6
call fcn.10035260
mov ecx, dword [0x1011f930]
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x198c]
mov edx, dword [ecx + 0x180]
sub edx, 1
mov dword [ecx + 0x180], edx
jne 0x100533f7
movss xmm0, dword [ecx + 0x220]
jmp 0x10053403
mov eax, dword [ecx + 0x188]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x16c], xmm0
mov ecx, dword [ebp + 8]
mov dword [esp + 0x2c], 0
test cl, 0x10
jne 0x100536f7
mov esi, dword [esp + 0x18]
test cl, 0x20
jne 0x1005343b
movss xmm1, dword [esi + 0x154c]
xorps xmm0, xmm0
call fcn.10034d80
mov ecx, dword [ebp + 8]
cmp byte [esp + 0x54], 0
mov eax, dword [esp + 0x20]
je 0x1005344d
movss xmm1, dword [eax + 0xc]
jmp 0x10053455
movss xmm1, dword [0x100da4a8]
movss xmm0, dword [eax]
lea edx, [esp + 0x70]
mov dword [esp + 0x28], 0
push dword [esp + 0x28]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [eax + 4]
mov dword [esp + 0x28], 0
push dword [esp + 0x28]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [eax + 8]
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x88], xmm1
call fcn.10056300
add esp, 0xc
test al, al
mov eax, dword [ebp + 8]
je 0x10053573
test al, 4
jne 0x10053573
movups xmm0, xmmword [esp + 0x70]
mov edi, dword [0x1011f930]
xor edx, edx
movups xmmword [esi + 0x2bf4], xmm0
mov eax, dword [edi + 0x198c]
mov ecx, dword [eax + 0x1c0]
mov eax, dword [eax + 0x1c8]
push dword [eax + ecx*4 - 4]
mov ecx, str.picker
call fcn.1002a190
add esp, 4
cmp dword [edi + 0x19ac], eax
jne 0x10053503
mov dword [edi + 0x19b4], eax
cmp dword [edi + 0x19b0], eax
jne 0x10053512
mov byte [edi + 0x19c0], 1
mov ecx, eax
call fcn.100350a0
mov eax, dword [esp + 0x1c]
movss xmm0, dword [esi + 0x1548]
movss xmm1, dword [eax + 0x114]
addss xmm0, dword [eax + 0x120]
mov eax, dword [0x1011f930]
subss xmm1, dword [0x100da4a8]
movss dword [eax + 0x1a50], xmm0
mov dword [eax + 0x1a54], 0
movss dword [eax + 0x1a4c], xmm1
mov dword [eax + 0x1a58], 0
mov dword [eax + 0x1a30], 1
mov eax, dword [ebp + 8]
test al, 8
jne 0x1005357c
call fcn.10035260
mov ecx, str.picker
call fcn.100355a0
test al, al
je 0x100536f4
mov eax, dword [esi + 0x198c]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
cmp eax, esi
je 0x100535e5
mov edx, esi
mov ecx, eax
call fcn.10048770
mov ecx, dword [0x1011f930]
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x198c]
cmp byte [eax + 0x7f], 0
jne 0x100535e5
xorps xmm1, xmm1
mov dword [esp + 0x24], 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], 0
call fcn.1002c360
movss xmm0, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
mulss xmm0, dword [0x100da560]
and eax, 0x7890002
mov ecx, dword [0x1011f930]
or eax, 0x740080
mov dword [esp + 0x68], eax
ucomiss xmm0, dword [0x100da3c4]
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x198c]
mov dword [esp + 0x6c], ecx
lahf
test ah, 0x44
jp 0x10053634
movss xmm0, dword [ecx + 0x220]
lea edi, [ecx + 0x180]
movss dword [ecx + 0x16c], xmm0
mov eax, dword [edi + 4]
mov ecx, dword [edi]
cmp ecx, eax
jne 0x1005366c
inc ecx
test eax, eax
je 0x1005365a
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x1005365f
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1003a610
mov edx, dword [edi]
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0x16c]
mov dword [ecx + edx*4], eax
mov ecx, 0x100d7bf0
inc dword [edi]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
lea eax, [edi + 0x2bf4]
push eax
mov eax, dword [esp + 0x6c]
push eax
call fcn.10053ea0
mov ecx, dword [0x1011f930]
add esp, 8
or byte [esp + 0x12], al
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x198c]
mov edx, dword [ecx + 0x180]
sub edx, 1
mov dword [ecx + 0x180], edx
jne 0x100536d6
movss xmm0, dword [ecx + 0x220]
jmp 0x100536e2
mov eax, dword [ecx + 0x188]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x16c], xmm0
call fcn.10035650
mov ecx, dword [ebp + 8]
jmp 0x100536ff
mov ecx, dword [ebp + 8]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x50]
cmp dword [esp + 0x40], esi
je 0x10053724
test cl, cl
js 0x10053724
movss xmm1, dword [edi + 0x154c]
xorps xmm0, xmm0
call fcn.10034d80
mov ecx, dword [esp + 0x40]
mov edx, esi
call fcn.10048770
cmp dword [esp + 0x2c], 0
jne 0x100537b7
cmp byte [esp + 0x13], 0
jne 0x1005374a
movups xmm0, xmmword [esp + 0x58]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x100dad70]
movups xmmword [esp + 0x30], xmm0
test dword [ebp + 8], 0x200000
je 0x1005377a
movss xmm2, dword [esp + 0x38]
lea eax, [esp + 0x38]
movss xmm1, dword [esp + 0x34]
lea edx, [esp + 0x34]
movss xmm0, dword [esp + 0x30]
lea ecx, [esp + 0x30]
push eax
call fcn.1002a7f0
add esp, 4
cmp byte [esp + 0x12], 0
je 0x100537b7
cmp byte [esp + 0x54], 0
mov eax, dword [esp + 0x20]
movss xmm0, dword [esp + 0x30]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [eax + 4], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [eax + 8], xmm0
je 0x100537b7
movss xmm0, dword [esp + 0x3c]
movss dword [eax + 0xc], xmm0
mov eax, dword [0x1011f930]
mov eax, dword [eax + 0x198c]
dec dword [eax + 0x1c0]
call fcn.10034bf0
mov edx, dword [esp + 0x1c]
test byte [edx + 0x110], 1
je 0x10053926
test dword [ebp + 8], 0x200
jne 0x10053926
mov esi, dword [0x1011f930]
cmp byte [esi + 0x1c68], 0
je 0x100538e4
mov ecx, dword [esi + 0x198c]
mov edx, dword [ecx + 0x110]
test dl, 1
je 0x100538e0
cmp dword [esi + 0x1990], 0
je 0x100538e0
mov edi, dword [esi + 0x1990]
mov eax, dword [ecx + 0x2f0]
cmp eax, dword [edi + 0x2f0]
mov edi, dword [esp + 0x18]
jne 0x100538e0
test dl, 2
lea edx, [ecx + 0x124]
jne 0x1005384d
lea edx, [ecx + 0x114]
mov eax, dword [ecx + 0x10c]
mov dword [esp + 0x14], edx
test eax, eax
jne 0x10053861
push edx
call fcn.1002c0d0
cmp dword [esi + 0x1c80], eax
je 0x100538e0
mov ecx, dword [esp + 0x14]
movups xmm0, xmmword [ecx]
mov ecx, str._COL3F
mov dword [esi + 0x1cc0], eax
mov byte [esi + 0x1c69], 1
movups xmmword [esi + 0x1cb0], xmm0
call fcn.100391a0
mov esi, dword [esp + 0x20]
test eax, eax
je 0x100538ab
mov eax, dword [eax]
mov byte [esp + 0x12], 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.100391a0
mov ecx, eax
test ecx, ecx
je 0x100538d3
mov eax, dword [esp + 0x44]
shl eax, 2
push eax
push dword [ecx]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0x12], 1
mov esi, dword [0x1011f930]
mov byte [esi + 0x1c69], 0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x10053904
mov eax, dword [edi + 0x19ac]
test eax, eax
je 0x10053904
cmp dword [edi + 0x19d4], ecx
jne 0x10053904
mov dword [edx + 0x10c], eax
mov al, byte [esp + 0x12]
test al, al
je 0x10053920
mov ecx, dword [esi + 0x198c]
mov byte [esi + 0x19bf], 1
or dword [ecx + 0x110], 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [0x1011f930]
jmp 0x100538e4