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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe8
mov eax, dword [0x100b7018]
xor eax, esp
mov dword [esp + 0xe4], eax
push esi
push edi
mov edi, edx
mov dword [esp + 0x38], ecx
mov edx, dword [0x10124700]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], ecx
mov eax, dword [edx + 0x199c]
mov dword [esp + 0x1c], edx
mov byte [eax + 0x7c], 1
mov eax, dword [edx + 0x199c]
mov dword [esp + 0x48], eax
cmp byte [eax + 0x7f], 0
je 0x10058957
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.1006e641
mov esp, ebp
pop ebp
ret
movss xmm1, dword [edx + 0x1548]
xorps xmm0, xmm0
addss xmm1, xmm1
addss xmm1, dword [edx + 0x18bc]
movss dword [esp + 0x4c], xmm1
test cl, 0x10
je 0x1005897e
xorps xmm3, xmm3
jmp 0x10058989
movaps xmm3, xmm1
addss xmm3, dword [edx + 0x155c]
mov esi, eax
movss xmm2, dword [esi + 0x170]
comiss xmm0, xmm2
jbe 0x10058a04
movss xmm4, dword [esi + 0xc8]
movss xmm1, dword [esi + 0x218]
mov edi, dword [esi + 0x1c0]
subss xmm4, dword [esi + 0xc]
subss xmm1, dword [esi + 0xc]
test edi, edi
je 0x100589ec
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]
addss xmm1, dword [edi + 0x14]
subss xmm1, dword [esi + 0x3c]
mov edi, dword [esp + 0x24]
subss xmm1, xmm4
addss xmm1, xmm2
movss xmm2, dword [0x100aaca4]
maxss xmm2, xmm1
mov esi, dword [esp + 0x38]
cvttss2si eax, xmm2
movd xmm0, eax
mov eax, esi
mov dword [esp + 0x44], eax
cvtdq2ps xmm0, xmm0
subss xmm0, xmm3
movss dword [esp + 0x20], xmm0
cmp esi, 0xffffffff
jae 0x10058a41
mov cl, byte [eax]
test cl, cl
je 0x10058a41
inc eax
cmp cl, 0x23
jne 0x10058a38
cmp byte [eax], cl
je 0x10058a41
mov dword [esp + 0x44], eax
cmp eax, 0xffffffff
jb 0x10058a28
call fcn.10017c50
mov ecx, esi
call fcn.10017b30
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], ecx
test ecx, 0x20
je 0x10058a6d
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0x18], ecx
test cl, 8
jne 0x10058a7f
mov edx, ecx
mov ecx, edi
call fcn.1005d530
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edx, dword [edx + 0x2c94]
test ecx, 0x700000
jne 0x10058a9a
mov eax, edx
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x10058aab
mov eax, edx
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x10058abc
mov eax, edx
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x10058acd
mov eax, edx
and eax, 0x18000000
or ecx, eax
movss xmm2, dword [edi]
and edx, 0xe00fffff
movss xmm1, dword [edi + 4]
or ecx, edx
movss xmm4, dword [edi + 8]
mov edx, ecx
shr edx, 1
mov eax, ecx
shr eax, 0x13
not dl
and eax, 0xffffff01
mov dword [esp + 0x18], ecx
and edx, 0xffffff01
mov dword [esp + 0x28], eax
movzx eax, dl
add eax, 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], eax
movss dword [esp + 0x88], xmm2
movss dword [esp + 0x8c], xmm1
movss dword [esp + 0x90], xmm4
test dl, dl
je 0x10058b3e
movss xmm0, dword [edi + 0xc]
movss dword [esp + 0x94], xmm0
jmp 0x10058b49
mov dword [esp + 0x94], 0x3f800000
movss xmm7, dword [0x100aabfc]
mov eax, ecx
and eax, 0x10100000
mov dword [esp + 0x64], eax
cmp eax, 0x10100000
jne 0x10058ba5
movss xmm2, dword [esp + 0x90]
lea eax, [esp + 0x90]
movss xmm1, dword [esp + 0x8c]
lea edx, [esp + 0x8c]
movss xmm0, dword [esp + 0x88]
lea ecx, [esp + 0x88]
push eax
call fcn.1000d000
mov ecx, dword [esp + 0x1c]
add esp, 4
jmp 0x10058c44
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x10058c44
comiss xmm4, xmm1
xorps xmm5, xmm5
movaps xmm3, xmm1
jbe 0x10058bd0
movss xmm5, dword [0x100aae18]
movaps xmm3, xmm4
movaps xmm4, xmm1
comiss xmm3, xmm2
movaps xmm6, xmm2
jbe 0x10058bed
movss xmm0, dword [0x100aae04]
movaps xmm6, xmm3
subss xmm0, xmm5
movaps xmm3, xmm2
movaps xmm5, xmm0
movaps xmm1, xmm3
movaps xmm2, xmm6
minss xmm1, xmm4
subss xmm3, xmm4
subss xmm2, xmm1
movaps xmm1, xmm2
mulss xmm1, dword [0x100aad3c]
addss xmm1, xmm7
divss xmm3, xmm1
addss xmm3, xmm5
movaps xmm0, xmm3
call fcn.1000b040
movss dword [esp + 0x88], xmm0
movaps xmm0, xmm6
addss xmm0, xmm7
movss dword [esp + 0x90], xmm6
divss xmm2, xmm0
movss dword [esp + 0x8c], xmm2
movss xmm0, dword [esp + 0x88]
xorps xmm4, xmm4
comiss xmm0, xmm4
movss xmm2, dword [0x100aae08]
movss xmm1, dword [0x100aac68]
jb 0x10058c6a
movaps xmm5, xmm1
jmp 0x10058c6d
movaps xmm5, xmm2
movss xmm0, dword [esp + 0x88]
movss xmm3, dword [0x100aadb0]
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si esi, xmm0
movss xmm0, dword [esp + 0x8c]
comiss xmm0, xmm4
mov dword [esp + 0x98], esi
jb 0x10058ca4
movaps xmm5, xmm1
jmp 0x10058ca7
movaps xmm5, xmm2
movss xmm0, dword [esp + 0x8c]
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0x90]
comiss xmm0, xmm4
mov dword [esp + 0x9c], edx
jb 0x10058cd6
movaps xmm5, xmm1
jmp 0x10058cd9
movaps xmm5, xmm2
movss xmm0, dword [esp + 0x90]
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x94]
comiss xmm0, xmm4
mov dword [esp + 0xa0], eax
jae 0x10058d06
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x94]
mulss xmm0, xmm3
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0
addss xmm0, xmm1
cvttss2si edi, xmm0
mov dword [esp + 0x2c], edi
mov dword [esp + 0xa4], edi
mov edi, ecx
and edi, 0x20
test ecx, 0x300000
je 0x1005912c
test edi, edi
jne 0x1005912c
mov edx, dword [esp + 0x34]
movss xmm4, dword [esp + 0x20]
movaps xmm1, xmm4
mov edi, dword [0x10124700]
push 0
lea eax, [edx - 1]
movd xmm3, eax
mov eax, dword [esp + 0x20]
cvtdq2ps xmm3, xmm3
push 0
movss xmm2, dword [eax + 0x155c]
movaps xmm0, xmm2
mulss xmm0, xmm3
subss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x100aaca4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
addss xmm2, xmm1
movss dword [esp + 0x28], xmm1
movss xmm1, dword [0x100aaca4]
mulss xmm2, xmm3
movss xmm3, dword [0x100aadf4]
subss xmm4, xmm2
movss xmm2, dword [edi + 0x18bc]
cvttss2si eax, xmm4
movd xmm0, eax
mov eax, ecx
and eax, 0x1000000
mov ecx, str.M:000
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x58], eax
mov eax, str.M:0.000
cmove eax, ecx
push eax
push ecx
mov ecx, dword [edi + 0x18b8]
lea eax, [esp + 0x3c]
maxss xmm1, xmm0
mov dword [esp], 0xbf800000
push eax
movss dword [esp + 0x74], xmm1
call fcn.10048ca0
movss xmm0, dword [esp + 0x2c]
addss xmm0, dword [0x100aac9c]
movss xmm1, dword [esp + 0x20]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x10058e3b
xor esi, esi
jmp 0x10058e4c
mov esi, dword [esp + 0x18]
and esi, 0x200000
neg esi
sbb esi, esi
neg esi
inc esi
mov eax, dword [edi + 0x199c]
xorps xmm4, xmm4
ucomiss xmm1, xmm4
mov byte [eax + 0x7c], 1
mov ecx, dword [edi + 0x199c]
mov dword [esp + 0x20], ecx
lahf
test ah, 0x44
jp 0x10058e74
movss xmm1, dword [ecx + 0x224]
lea edi, [ecx + 0x184]
movss dword [ecx + 0x170], xmm1
mov eax, dword [edi + 4]
mov ecx, dword [edi]
cmp ecx, eax
jne 0x10058eaf
inc ecx
test eax, eax
je 0x10058e9a
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x10058e9f
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10020170
xorps xmm4, xmm4
mov edx, dword [edi]
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x170]
mov dword [ecx + edx*4], eax
inc dword [edi]
xor edi, edi
cmp dword [esp + 0x34], edi
jbe 0x1005908c
mov eax, dword [esp + 0x18]
and eax, 8
shl esi, 4
mov dword [esp + 0x58], eax
mov dword [esp + 0x20], esi
test edi, edi
je 0x10058ef9
mov eax, dword [esp + 0x1c]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x155c]
call fcn.10017f20
lea eax, [edi + 1]
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x34]
jne 0x10058f94
movss xmm0, dword [esp + 0x60]
mov ecx, dword [0x10124700]
ucomiss xmm0, xmm4
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x199c]
mov dword [esp + 0x6c], ecx
lahf
test ah, 0x44
jp 0x10058f3b
movss xmm0, dword [ecx + 0x224]
lea esi, [ecx + 0x184]
movss dword [ecx + 0x170], xmm0
mov ecx, dword [esi + 4]
mov edx, dword [esi]
cmp edx, ecx
jne 0x10058f7c
inc edx
mov dword [esp + 0x68], edx
test ecx, ecx
je 0x10058f6a
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x68]
sar eax, 1
add eax, ecx
jmp 0x10058f6f
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.10020170
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0x170]
mov dword [ecx + edx*4], eax
inc dword [esi]
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x50], 0
je 0x1005900c
cmp byte [esp + 0x28], 0
je 0x10058fa7
xorps xmm0, xmm0
jmp 0x10058faf
movss xmm0, dword [0x100aaca4]
movss xmm3, dword [0x100aac18]
lea eax, [esp + 0x6c]
push ecx
mov ecx, dword [edi*4 + 0x100a82ac]
mov edx, 8
mov dword [esp], 0x3f800000
push dword [esi + 0x100a8314]
movss dword [esp + 0x74], xmm0
push eax
lea eax, [esp + 0x74]
mov dword [esp + 0x74], 0
push eax
lea eax, [esp + 0x98]
lea eax, [eax + edi*4]
push eax
call fcn.10051160
mov cl, byte [esp + 0x2a]
add esp, 0x14
or cl, al
or byte [esp + 0x17], cl
mov byte [esp + 0x16], cl
jmp 0x10059063
movss xmm3, dword [0x100aaca4]
xor ecx, ecx
cmp byte [esp + 0x28], cl
mov eax, 0xff
push ecx
cmovne eax, ecx
mov dword [esp], 0x3f800000
push dword [esi + 0x100a82bc]
mov dword [esp + 0x74], eax
lea edx, [ecx + 4]
lea eax, [esp + 0x74]
mov dword [esp + 0x70], ecx
mov ecx, dword [edi*4 + 0x100a82ac]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0xa8]
lea eax, [eax + edi*4]
push eax
call fcn.10051160
add esp, 0x14
or byte [esp + 0x16], al
cmp dword [esp + 0x58], 0
jne 0x10059074
mov ecx, str.context
call fcn.100183f0
mov edi, dword [esp + 0x2c]
add esi, 4
xorps xmm4, xmm4
mov dword [esp + 0x20], esi
cmp edi, dword [esp + 0x34]
jl 0x10058ee1
mov edx, dword [0x10124700]
mov eax, dword [edx + 0x199c]
mov byte [eax + 0x7c], 1
mov ecx, dword [edx + 0x199c]
mov esi, dword [ecx + 0x184]
sub esi, 1
mov dword [ecx + 0x184], esi
jne 0x100590bd
movss xmm0, dword [ecx + 0x224]
jmp 0x100590c9
mov eax, dword [ecx + 0x18c]
movss xmm0, dword [eax + esi*4 - 4]
movss dword [ecx + 0x170], xmm0
mov eax, dword [edx + 0x199c]
mov byte [eax + 0x7c], 1
mov ecx, dword [edx + 0x199c]
mov edx, dword [ecx + 0x184]
sub edx, 1
mov dword [ecx + 0x184], edx
jne 0x1005910d
movss xmm0, dword [ecx + 0x224]
xor eax, eax
movss dword [ecx + 0x170], xmm0
mov ecx, dword [esp + 0x18]
jmp 0x1005938a
mov eax, dword [ecx + 0x18c]
movss xmm0, dword [eax + edx*4 - 4]
xor eax, eax
movss dword [ecx + 0x170], xmm0
mov ecx, dword [esp + 0x18]
jmp 0x1005938a
mov dword [esp + 0x28], edi
test ecx, 0x400000
je 0x10059386
mov dword [esp + 0x28], edi
test edi, edi
jne 0x10059386
cmp byte [esp + 0x3c], 0
je 0x100591ac
mov ecx, dword [esp + 0x2c]
mov edi, 0xff
test ecx, ecx
jns 0x10059160
xor ecx, ecx
jmp 0x10059165
cmp ecx, edi
cmovg ecx, edi
test eax, eax
jns 0x1005916d
xor eax, eax
jmp 0x10059175
cmp eax, 0xff
cmovg eax, edi
test edx, edx
jns 0x1005917d
xor edx, edx
jmp 0x10059182
cmp edx, edi
cmovg edx, edi
test esi, esi
jns 0x1005918a
xor esi, esi
jmp 0x1005918f
cmp esi, edi
cmovg esi, edi
push ecx
push eax
push edx
push esi
push 0x100a804c
lea eax, [esp + 0xbc]
push 0x40
push eax
call fcn.1000c960
add esp, 0x1c
jmp 0x100591f5
mov ecx, 0xff
test eax, eax
jns 0x100591b9
xor eax, eax
jmp 0x100591c1
cmp eax, 0xff
cmovg eax, ecx
test esi, esi
jns 0x100591c9
xor esi, esi
jmp 0x100591ce
cmp esi, ecx
cmovg esi, ecx
test edx, edx
jns 0x100591d6
xor edx, edx
jmp 0x100591db
cmp edx, ecx
cmovg edx, ecx
push eax
push edx
push esi
push 0x100a8060
lea eax, [esp + 0xb8]
push 0x40
push eax
call fcn.1000c960
add esp, 0x18
movss xmm4, dword [esp + 0x20]
ucomiss xmm4, dword [0x100aabec]
mov ecx, dword [0x10124700]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x199c]
lahf
mov dword [esp + 0x2c], ecx
test ah, 0x44
jp 0x1005922a
movss xmm4, dword [ecx + 0x224]
lea esi, [ecx + 0x184]
movss dword [ecx + 0x170], xmm4
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jne 0x10059263
inc ecx
test edi, edi
je 0x10059251
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10059256
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10020170
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x2c]
push 0
push 0
push 6
mov eax, dword [eax + 0x170]
mov dword [ecx + edx*4], eax
lea eax, [esp + 0x64]
inc dword [esi]
xor edx, edx
push eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x68], 0
push 0x40
push eax
mov ecx, str.Text
mov dword [esp + 0x74], 0
call fcn.100555b0
add esp, 0x18
test al, al
je 0x1005935a
mov byte [esp + 0x16], 1
lea ecx, [esp + 0xa8]
nop
mov al, byte [ecx]
cmp al, 0x23
je 0x100592ce
cmp al, 0x20
je 0x100592ce
cmp al, 9
jne 0x100592d1
inc ecx
jmp 0x100592c0
cmp byte [esp + 0x3c], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
je 0x10059334
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xa4]
push eax
push str._02X_02X_02X_02X
push ecx
call fcn.1000b020
add esp, 0x18
jmp 0x1005935a
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0xa0]
push eax
push str._02X_02X_02X
push ecx
call fcn.1000b020
add esp, 0x14
test byte [esp + 0x18], 8
jne 0x1005936b
mov ecx, str.context
call fcn.100183f0
mov ecx, dword [0x10124700]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x199c]
jmp 0x100590e1
mov eax, dword [esp + 0x28]
xor edi, edi
test cl, 0x10
jne 0x1005965d
mov esi, dword [esp + 0x1c]
test eax, eax
jne 0x100593b1
movss xmm1, dword [esi + 0x155c]
xorps xmm0, xmm0
call fcn.10017f20
mov ecx, dword [esp + 0x18]
cmp byte [esp + 0x3c], 0
mov eax, dword [esp + 0x24]
je 0x100593c3
movss xmm1, dword [eax + 0xc]
jmp 0x100593cb
movss xmm1, dword [0x100aaca4]
movss xmm0, dword [eax]
lea edx, [esp + 0x70]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [eax + 4]
push edi
movss dword [esp + 0x78], xmm0
movss xmm0, dword [eax + 8]
push edi
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x88], xmm1
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
call fcn.1005c780
add esp, 0xc
test al, al
mov eax, dword [esp + 0x18]
je 0x100594d9
test al, 4
jne 0x100594d9
movups xmm0, xmmword [esp + 0x70]
xor edx, edx
movups xmmword [esi + 0x2c98], xmm0
mov esi, dword [0x10124700]
mov eax, dword [esi + 0x199c]
mov ecx, dword [eax + 0x1c4]
mov eax, dword [eax + 0x1cc]
push dword [eax + ecx*4 - 4]
mov ecx, str.picker
call fcn.1000c9a0
add esp, 4
cmp dword [esi + 0x19bc], eax
jne 0x1005946c
mov dword [esi + 0x19c4], eax
cmp dword [esi + 0x19c0], eax
jne 0x1005947b
mov byte [esi + 0x19d0], 1
mov ecx, eax
call fcn.10018230
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x1c]
movss xmm1, dword [eax + 0x110]
movss xmm0, dword [eax + 0x11c]
addss xmm0, dword [esi + 0x1558]
mov eax, dword [0x10124700]
subss xmm1, dword [0x100aaca4]
movss dword [eax + 0x1a60], xmm0
mov dword [eax + 0x1a64], edi
movss dword [eax + 0x1a5c], xmm1
mov dword [eax + 0x1a68], edi
mov dword [eax + 0x1a40], 1
mov eax, dword [esp + 0x18]
test al, 8
jne 0x100594e7
mov ecx, str.context
call fcn.100183f0
mov ecx, str.picker
call fcn.100187e0
test al, al
je 0x10059659
mov eax, dword [esi + 0x199c]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
cmp ecx, eax
je 0x1005954b
push 0
mov edx, eax
call fcn.1004b5e0
mov ecx, dword [0x10124700]
add esp, 4
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x199c]
cmp byte [eax + 0x7f], 0
jne 0x1005954b
xorps xmm1, xmm1
mov dword [esp + 0x50], edi
lea ecx, [esp + 0x50]
mov dword [esp + 0x54], edi
call fcn.1000f390
movss xmm0, dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
mulss xmm0, dword [0x100aad5c]
and eax, 0x1f890002
mov ecx, dword [0x10124700]
or eax, 0x240080
mov dword [esp + 0x40], eax
ucomiss xmm0, dword [0x100aabec]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x199c]
mov dword [esp + 0x4c], ecx
lahf
test ah, 0x44
jp 0x1005959a
movss xmm0, dword [ecx + 0x224]
lea esi, [ecx + 0x184]
movss dword [ecx + 0x170], xmm0
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jne 0x100595d3
inc ecx
test edi, edi
je 0x100595c1
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x100595c6
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10020170
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x170]
mov dword [ecx + edx*4], eax
mov ecx, 0x100a313c
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
add eax, 0x2c98
inc dword [esi]
push eax
mov eax, dword [esp + 0x44]
push eax
call fcn.10059f30
mov ecx, dword [0x10124700]
add esp, 8
or byte [esp + 0x16], al
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x199c]
mov edx, dword [ecx + 0x184]
sub edx, 1
mov dword [ecx + 0x184], edx
jne 0x1005963c
movss xmm0, dword [ecx + 0x224]
jmp 0x10059648
mov eax, dword [ecx + 0x18c]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x170], xmm0
call fcn.10018a90
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x44]
cmp dword [esp + 0x38], esi
je 0x1005968f
test cl, cl
js 0x1005968f
mov eax, dword [esp + 0x1c]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x155c]
call fcn.10017f20
mov ecx, dword [esp + 0x38]
mov edx, esi
push 0
call fcn.1004b5e0
add esp, 4
cmp byte [esp + 0x16], 0
je 0x1005980b
test edi, edi
jne 0x1005980b
cmp byte [esp + 0x17], 0
jne 0x100596c3
movups xmm0, xmmword [esp + 0x98]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x100ab010]
movups xmmword [esp + 0x88], xmm0
mov eax, dword [esp + 0x18]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x1005970c
movss xmm2, dword [esp + 0x90]
lea eax, [esp + 0x90]
movss xmm1, dword [esp + 0x8c]
lea edx, [esp + 0x8c]
movss xmm0, dword [esp + 0x88]
lea ecx, [esp + 0x88]
push eax
call fcn.1000d000
add esp, 4
cmp dword [esp + 0x64], 0x10100000
jne 0x100597c7
movss xmm0, dword [esp + 0x8c]
xorps xmm5, xmm5
movss xmm3, dword [esp + 0x90]
movaps xmm2, xmm0
comiss xmm3, xmm2
movss xmm4, dword [esp + 0x88]
movaps xmm1, xmm4
jbe 0x10059751
movss xmm5, dword [0x100aae18]
movaps xmm0, xmm3
movaps xmm3, xmm2
comiss xmm0, xmm1
jbe 0x1005976b
movaps xmm4, xmm0
movss xmm0, dword [0x100aae04]
subss xmm0, xmm5
movaps xmm5, xmm0
movaps xmm0, xmm1
movaps xmm1, xmm0
movaps xmm2, xmm4
minss xmm1, xmm3
subss xmm0, xmm3
subss xmm2, xmm1
movaps xmm1, xmm2
mulss xmm1, dword [0x100aad3c]
addss xmm1, dword [0x100aabfc]
divss xmm0, xmm1
addss xmm0, xmm5
call fcn.1000b040
movss dword [esp + 0x88], xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x100aabfc]
movss dword [esp + 0x90], xmm4
divss xmm2, xmm0
movss dword [esp + 0x8c], xmm2
cmp byte [esp + 0x3c], 0
mov esi, dword [esp + 0x24]
movss xmm0, dword [esp + 0x88]
movss dword [esi], xmm0
movss xmm0, dword [esp + 0x8c]
movss dword [esi + 4], xmm0
movss xmm0, dword [esp + 0x90]
movss dword [esi + 8], xmm0
je 0x1005980f
movss xmm0, dword [esp + 0x94]
movss dword [esi + 0xc], xmm0
jmp 0x1005980f
mov esi, dword [esp + 0x24]
mov eax, dword [0x10124700]
mov eax, dword [eax + 0x199c]
dec dword [eax + 0x1c4]
call fcn.10017d80
mov eax, dword [esp + 0x48]
test byte [eax + 0x10c], 1
je 0x10059968
test dword [esp + 0x18], 0x200
jne 0x10059968
call fcn.1001d1d0
test al, al
je 0x10059968
mov ecx, str._COL3F
mov byte [esp + 0x17], 0
call fcn.1001d260
test eax, eax
je 0x1005987e
mov eax, dword [eax]
mov byte [esp + 0x17], 1
mov byte [esp + 0x16], 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.1001d260
mov ecx, eax
test ecx, ecx
je 0x100598a8
mov eax, dword [esp + 0x34]
shl eax, 2
push eax
push dword [ecx]
push esi
call fcn.10070330
add esp, 0xc
mov byte [esp + 0x16], 1
jmp 0x100598b3
cmp byte [esp + 0x17], 0
je 0x10059959
test dword [esp + 0x18], 0x10000000
je 0x10059959
movss xmm3, dword [esi + 4]
movss xmm5, dword [esi + 8]
comiss xmm5, xmm3
movss xmm4, dword [esi]
jbe 0x100598e7
movss xmm6, dword [0x100aae18]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
jmp 0x100598ea
xorps xmm6, xmm6
comiss xmm3, xmm4
jbe 0x10059907
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x100aae04]
subss xmm0, xmm6
movaps xmm6, xmm0
movaps xmm1, xmm3
movaps xmm2, xmm4
minss xmm1, xmm5
subss xmm3, xmm5
subss xmm2, xmm1
movaps xmm1, xmm2
mulss xmm1, dword [0x100aad3c]
addss xmm1, dword [0x100aabfc]
divss xmm3, xmm1
addss xmm3, xmm6
movaps xmm0, xmm3
call fcn.1000b040
movss dword [esi], xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x100aabfc]
movss dword [esi + 8], xmm4
divss xmm2, xmm0
movss dword [esi + 4], xmm2
mov ecx, dword [0x10124700]
mov byte [ecx + 0x1d09], 0
jmp 0x1005996e
mov ecx, dword [0x10124700]
test edi, edi
je 0x10059992
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x19bc]
test eax, eax
je 0x10059992
cmp dword [edx + 0x19e4], edi
jne 0x10059992
mov edx, dword [esp + 0x48]
mov dword [edx + 0x108], eax
mov al, byte [esp + 0x16]
test al, al
je 0x100599ae
mov byte [ecx + 0x19cf], 1
mov ecx, dword [ecx + 0x199c]
or dword [ecx + 0x10c], 4
mov ecx, dword [esp + 0xec]
pop edi
pop esi
xor ecx, esp
call fcn.1006e641
mov esp, ebp
pop ebp
ret