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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
push esi
mov esi, dword [0x100c1b8c]
push edi
mov edi, edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x20], edi
mov eax, dword [esi + 0x19e4]
mov dword [esp + 0x18], esi
mov byte [eax + 0x7c], 1
mov eax, dword [esi + 0x19e4]
mov dword [esp + 0x1c], eax
cmp byte [eax + 0x7f], 0
je 0x10052e14
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test byte [ebp + 8], 0x10
movss xmm0, dword [esi + 0x1540]
addss xmm0, xmm0
addss xmm0, dword [esi + 0x1904]
movss dword [esp + 0x6c], xmm0
je 0x10052e39
xorps xmm3, xmm3
jmp 0x10052e44
movaps xmm3, xmm0
addss xmm3, dword [esi + 0x1554]
movss xmm2, dword [eax + 0x16c]
xorps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x10052ec8
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 0x10052eb0
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 [0x100a9ba8]
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 0x10052f01
mov cl, byte [eax]
test cl, cl
je 0x10052f01
inc eax
cmp cl, 0x23
jne 0x10052ef8
cmp byte [eax], cl
je 0x10052f01
mov dword [esp + 0x50], eax
cmp eax, 0xffffffff
jb 0x10052ee8
call fcn.100353a0
mov ecx, dword [esp + 0x40]
call fcn.100352a0
mov ecx, dword [ebp + 8]
mov dword [esp + 0x68], ecx
test cl, 0x20
je 0x10052f2a
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [ebp + 8], ecx
test cl, 8
jne 0x10052f3b
mov edx, ecx
mov ecx, edi
call fcn.10057100
mov ecx, dword [ebp + 8]
test ecx, 0x700000
jne 0x10052f50
mov eax, dword [esi + 0x2c48]
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x10052f65
mov eax, dword [esi + 0x2c48]
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x10052f7a
mov eax, dword [esi + 0x2c48]
and eax, 0x6000000
or ecx, eax
mov eax, dword [esi + 0x2c48]
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 0x10052fe3
movss xmm0, dword [edi + 0xc]
movss dword [esp + 0x3c], xmm0
jmp 0x10052feb
mov dword [esp + 0x3c], 0x3f800000
test ecx, 0x200000
je 0x10053083
comiss xmm1, xmm5
xorps xmm4, xmm4
movaps xmm3, xmm5
jbe 0x10053010
movss xmm4, dword [0x100a9d78]
movaps xmm3, xmm1
movaps xmm1, xmm5
comiss xmm3, xmm2
movaps xmm5, xmm2
jbe 0x1005302d
movss xmm0, dword [0x100a9d64]
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 [0x100a9c50]
addss xmm0, dword [0x100a9adc]
divss xmm3, xmm0
addss xmm3, xmm4
movaps xmm0, xmm3
call fcn.10003020
movss dword [esp + 0x30], xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x100a9adc]
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 [0x100a9d68]
movss xmm1, dword [0x100a9b6c]
jb 0x100530a6
movaps xmm5, xmm1
jmp 0x100530a9
movaps xmm5, xmm3
movss xmm0, dword [esp + 0x30]
movss xmm4, dword [0x100a9cd4]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si esi, xmm0
movss xmm0, dword [esp + 0x34]
comiss xmm0, xmm2
mov dword [esp + 0x58], esi
jb 0x100530d7
movaps xmm5, xmm1
jmp 0x100530da
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 0x10053100
movaps xmm5, xmm1
jmp 0x10053103
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 0x10053127
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 0x10053629
test cl, 0x20
jne 0x10053629
mov edx, dword [esp + 0x44]
test ecx, 0x1000000
movss xmm4, dword [esp + 0x14]
mov ecx, str.M:000
movaps xmm1, xmm4
mov esi, dword [0x100c1b8c]
push ecx
lea eax, [edx - 1]
movd xmm3, eax
mov eax, dword [esp + 0x1c]
cvtdq2ps xmm3, xmm3
push 0
movss xmm2, dword [eax + 0x1554]
movaps xmm0, xmm2
mulss xmm0, xmm3
subss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x100a9ba8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
movaps xmm0, xmm1
movss dword [esp + 0x1c], xmm1
addss xmm0, xmm2
movss xmm1, dword [0x100a9ba8]
movss xmm2, dword [esi + 0x1904]
mulss xmm0, xmm3
movss xmm3, dword [0x100a9d4c]
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 + 0x1900]
lea eax, [esp + 0x34]
mov dword [esp], 0xbf800000
maxss xmm1, xmm0
push eax
movss dword [esp + 0xa0], xmm1
call fcn.10047990
movss xmm0, dword [esp + 0x24]
addss xmm0, dword [0x100a9ba0]
mov dword [esp + 0x70], 0x100a7d6c
mov dword [esp + 0x74], 0x100a7d70
mov dword [esp + 0x78], 0x100a7d74
mov dword [esp + 0x7c], 0x100a7d78
cvttss2si eax, xmm0
mov dword [esp + 0xc0], 0x100a7d7c
mov dword [esp + 0xc4], 0x100a7d7c
mov dword [esp + 0xc8], 0x100a7d7c
mov dword [esp + 0xcc], 0x100a7d7c
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 0x10053382
xor edi, edi
jmp 0x10053392
mov edi, dword [ebp + 8]
and edi, 0x200000
neg edi
sbb edi, edi
neg edi
inc edi
mov eax, dword [esi + 0x19e4]
xorps xmm4, xmm4
ucomiss xmm0, xmm4
mov byte [eax + 0x7c], 1
mov ecx, dword [esi + 0x19e4]
mov dword [esp + 0x14], ecx
lahf
test ah, 0x44
jp 0x100533ba
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 0x100533f5
inc ecx
test eax, eax
je 0x100533e0
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 4]
jmp 0x100533e5
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1003aef0
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 0x100535cf
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 0x1005344d
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1554]
call fcn.10035670
lea eax, [esi + 1]
cmp eax, dword [esp + 0x44]
jne 0x100534e7
movss xmm0, dword [esp + 0x8c]
mov ecx, dword [0x100c1b8c]
ucomiss xmm0, xmm4
mov eax, dword [ecx + 0x19e4]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x19e4]
mov dword [esp + 0x4c], ecx
lahf
test ah, 0x44
jp 0x1005348e
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 0x100534cf
inc edx
mov dword [esp + 0x48], edx
test ecx, ecx
je 0x100534bd
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x48]
sar eax, 1
add eax, ecx
jmp 0x100534c2
mov eax, 8
cmp eax, edx
mov ecx, edi
cmovg edx, eax
push edx
call fcn.1003aef0
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 0x1005355d
cmp byte [esp + 0x2c], 0
je 0x100534fd
xorps xmm0, xmm0
jmp 0x10053505
movss xmm0, dword [0x100a9ba8]
movss xmm3, dword [0x100a9b14]
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.1004c7b0
mov cl, byte [esp + 0x26]
add esp, 0x14
or cl, al
or byte [esp + 0x13], cl
mov byte [esp + 0x12], cl
jmp 0x100535ae
movss xmm3, dword [0x100a9ba8]
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.1004c7b0
add esp, 0x14
or byte [esp + 0x12], al
cmp dword [esp + 0x24], 0
jne 0x100535ba
call fcn.10035b50
inc esi
add edi, 4
xorps xmm4, xmm4
mov dword [esp + 0x14], edi
cmp esi, dword [esp + 0x44]
jl 0x10053435
mov edx, dword [0x100c1b8c]
mov eax, dword [edx + 0x19e4]
mov byte [eax + 0x7c], 1
mov ecx, dword [edx + 0x19e4]
mov esi, dword [ecx + 0x180]
sub esi, 1
mov dword [ecx + 0x180], esi
jne 0x10053600
movss xmm0, dword [ecx + 0x220]
jmp 0x1005360c
mov eax, dword [ecx + 0x188]
movss xmm0, dword [eax + esi*4 - 4]
movss dword [ecx + 0x16c], xmm0
mov eax, dword [edx + 0x19e4]
mov byte [eax + 0x7c], 1
mov ecx, dword [edx + 0x19e4]
jmp 0x1005384c
test ecx, 0x400000
je 0x1005387e
test cl, 0x20
jne 0x1005387e
cmp byte [esp + 0x54], 0
mov ecx, 0xff
je 0x1005369e
test edi, edi
jns 0x10053652
xor edi, edi
jmp 0x10053657
cmp edi, ecx
cmovg edi, ecx
test eax, eax
jns 0x1005365f
xor eax, eax
jmp 0x10053667
cmp eax, 0xff
cmovg eax, ecx
test edx, edx
jns 0x1005366f
xor edx, edx
jmp 0x10053674
cmp edx, ecx
cmovg edx, ecx
test esi, esi
jns 0x1005367c
xor esi, esi
jmp 0x10053681
cmp esi, ecx
cmovg esi, ecx
push edi
push eax
push edx
push esi
push 0x100a7e00
lea eax, [esp + 0x104]
push 0x40
push eax
call fcn.1002a720
add esp, 0x1c
jmp 0x100536e2
test eax, eax
jns 0x100536a6
xor eax, eax
jmp 0x100536ae
cmp eax, 0xff
cmovg eax, ecx
test edx, edx
jns 0x100536b6
xor edx, edx
jmp 0x100536bb
cmp edx, ecx
cmovg edx, ecx
test esi, esi
jns 0x100536c3
xor esi, esi
jmp 0x100536c8
cmp esi, ecx
cmovg esi, ecx
push eax
push edx
push esi
push 0x100a7e14
lea eax, [esp + 0x100]
push 0x40
push eax
call fcn.1002a720
add esp, 0x18
movss xmm4, dword [esp + 0x14]
ucomiss xmm4, dword [0x100a9acc]
mov ecx, dword [0x100c1b8c]
mov eax, dword [ecx + 0x19e4]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x19e4]
lahf
mov dword [esp + 0x24], ecx
test ah, 0x44
jp 0x10053717
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 0x10053750
inc ecx
test edi, edi
je 0x1005373e
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10053743
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1003aef0
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.1004f430
add esp, 0x14
test al, al
je 0x1005382b
mov byte [esp + 0x12], 1
lea ecx, [esp + 0xf0]
mov al, byte [ecx]
cmp al, 0x23
je 0x100537c0
cmp al, 0x20
je 0x100537c0
cmp al, 9
jne 0x100537c3
inc ecx
jmp 0x100537b2
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 0x1005380e
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.10029000
add esp, 0x18
jmp 0x1005382b
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.10029000
add esp, 0x14
test byte [ebp + 8], 8
jne 0x10053836
call fcn.10035b50
mov ecx, dword [0x100c1b8c]
mov eax, dword [ecx + 0x19e4]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x19e4]
mov edx, dword [ecx + 0x180]
sub edx, 1
mov dword [ecx + 0x180], edx
jne 0x10053867
movss xmm0, dword [ecx + 0x220]
jmp 0x10053873
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 0x10053b67
mov esi, dword [esp + 0x18]
test cl, 0x20
jne 0x100538ab
movss xmm1, dword [esi + 0x1554]
xorps xmm0, xmm0
call fcn.10035670
mov ecx, dword [ebp + 8]
cmp byte [esp + 0x54], 0
mov eax, dword [esp + 0x20]
je 0x100538bd
movss xmm1, dword [eax + 0xc]
jmp 0x100538c5
movss xmm1, dword [0x100a9ba8]
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.10056760
add esp, 0xc
test al, al
mov eax, dword [ebp + 8]
je 0x100539e3
test al, 4
jne 0x100539e3
movups xmm0, xmmword [esp + 0x70]
mov edi, dword [0x100c1b8c]
xor edx, edx
movups xmmword [esi + 0x2c4c], xmm0
mov eax, dword [edi + 0x19e4]
mov ecx, dword [eax + 0x1c0]
mov eax, dword [eax + 0x1c8]
push dword [eax + ecx*4 - 4]
mov ecx, 0x100a7e60
call fcn.1002a760
add esp, 4
cmp dword [edi + 0x1a04], eax
jne 0x10053973
mov dword [edi + 0x1a0c], eax
cmp dword [edi + 0x1a08], eax
jne 0x10053982
mov byte [edi + 0x1a18], 1
mov ecx, eax
call fcn.10035990
mov eax, dword [esp + 0x1c]
movss xmm0, dword [esi + 0x1550]
movss xmm1, dword [eax + 0x114]
addss xmm0, dword [eax + 0x120]
mov eax, dword [0x100c1b8c]
subss xmm1, dword [0x100a9ba8]
movss dword [eax + 0x1aa8], xmm0
mov dword [eax + 0x1aac], 0
movss dword [eax + 0x1aa4], xmm1
mov dword [eax + 0x1ab0], 0
mov dword [eax + 0x1a88], 1
mov eax, dword [ebp + 8]
test al, 8
jne 0x100539ec
call fcn.10035b50
mov ecx, 0x100a7e60
call fcn.10035e90
test al, al
je 0x10053b64
mov eax, dword [esi + 0x19e4]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
cmp eax, esi
je 0x10053a55
mov edx, esi
mov ecx, eax
call fcn.10048df0
mov ecx, dword [0x100c1b8c]
mov eax, dword [ecx + 0x19e4]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x19e4]
cmp byte [eax + 0x7f], 0
jne 0x10053a55
xorps xmm1, xmm1
mov dword [esp + 0x24], 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], 0
call fcn.1002cb20
movss xmm0, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
mulss xmm0, dword [0x100a9c6c]
and eax, 0x7890002
mov ecx, dword [0x100c1b8c]
or eax, 0x740080
mov dword [esp + 0x68], eax
ucomiss xmm0, dword [0x100a9acc]
mov eax, dword [ecx + 0x19e4]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x19e4]
mov dword [esp + 0x6c], ecx
lahf
test ah, 0x44
jp 0x10053aa4
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 0x10053adc
inc ecx
test eax, eax
je 0x10053aca
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x10053acf
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1003aef0
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, str.picker
inc dword [edi]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
lea eax, [edi + 0x2c4c]
push eax
mov eax, dword [esp + 0x6c]
push eax
call fcn.10054300
mov ecx, dword [0x100c1b8c]
add esp, 8
or byte [esp + 0x12], al
mov eax, dword [ecx + 0x19e4]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x19e4]
mov edx, dword [ecx + 0x180]
sub edx, 1
mov dword [ecx + 0x180], edx
jne 0x10053b46
movss xmm0, dword [ecx + 0x220]
jmp 0x10053b52
mov eax, dword [ecx + 0x188]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x16c], xmm0
call fcn.10035f50
mov ecx, dword [ebp + 8]
jmp 0x10053b6f
mov ecx, dword [ebp + 8]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x50]
cmp dword [esp + 0x40], esi
je 0x10053b94
test cl, cl
js 0x10053b94
movss xmm1, dword [edi + 0x1554]
xorps xmm0, xmm0
call fcn.10035670
mov ecx, dword [esp + 0x40]
mov edx, esi
call fcn.10048df0
cmp dword [esp + 0x2c], 0
jne 0x10053c27
cmp byte [esp + 0x13], 0
jne 0x10053bba
movups xmm0, xmmword [esp + 0x58]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x100aa1b0]
movups xmmword [esp + 0x30], xmm0
test dword [ebp + 8], 0x200000
je 0x10053bea
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.1002adc0
add esp, 4
cmp byte [esp + 0x12], 0
je 0x10053c27
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 0x10053c27
movss xmm0, dword [esp + 0x3c]
movss dword [eax + 0xc], xmm0
mov eax, dword [0x100c1b8c]
mov eax, dword [eax + 0x19e4]
dec dword [eax + 0x1c0]
call fcn.100354e0
mov edx, dword [esp + 0x1c]
test byte [edx + 0x110], 1
je 0x10053d96
test dword [ebp + 8], 0x200
jne 0x10053d96
mov esi, dword [0x100c1b8c]
cmp byte [esi + 0x1cc0], 0
je 0x10053d54
mov ecx, dword [esi + 0x19e4]
mov edx, dword [ecx + 0x110]
test dl, 1
je 0x10053d50
cmp dword [esi + 0x19e8], 0
je 0x10053d50
mov edi, dword [esi + 0x19e8]
mov eax, dword [ecx + 0x2f0]
cmp eax, dword [edi + 0x2f0]
mov edi, dword [esp + 0x18]
jne 0x10053d50
test dl, 2
lea edx, [ecx + 0x124]
jne 0x10053cbd
lea edx, [ecx + 0x114]
mov eax, dword [ecx + 0x10c]
mov dword [esp + 0x14], edx
test eax, eax
jne 0x10053cd1
push edx
call fcn.1002c890
cmp dword [esi + 0x1cd8], eax
je 0x10053d50
mov ecx, dword [esp + 0x14]
movups xmm0, xmmword [ecx]
mov ecx, str._COL3F
mov dword [esi + 0x1d18], eax
mov byte [esi + 0x1cc1], 1
movups xmmword [esi + 0x1d08], xmm0
call fcn.10039aa0
mov esi, dword [esp + 0x20]
test eax, eax
je 0x10053d1b
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.10039aa0
mov ecx, eax
test ecx, ecx
je 0x10053d43
mov eax, dword [esp + 0x44]
shl eax, 2
push eax
push dword [ecx]
push esi
call fcn.1006ecb0
add esp, 0xc
mov byte [esp + 0x12], 1
mov esi, dword [0x100c1b8c]
mov byte [esi + 0x1cc1], 0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x10053d74
mov eax, dword [edi + 0x1a04]
test eax, eax
je 0x10053d74
cmp dword [edi + 0x1a2c], ecx
jne 0x10053d74
mov dword [edx + 0x10c], eax
mov al, byte [esp + 0x12]
test al, al
je 0x10053d90
mov ecx, dword [esi + 0x19e4]
mov byte [esi + 0x1a17], 1
or dword [ecx + 0x110], 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [0x100c1b8c]
jmp 0x10053d54