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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x158
mov eax, dword [0x101383dc]
xor eax, esp
mov dword [esp + 0x154], eax
push esi
push edi
mov edi, dword [0x10138e58]
mov dword [esp + 0x2c], edx
mov edx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x38], edx
mov eax, dword [edi + 0x1804]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], edi
mov byte [eax + 0x8e], 1
mov eax, dword [edi + 0x1804]
mov dword [esp + 0x24], eax
cmp byte [eax + 0x90], 0
je 0x10035e5d
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.100c2ed5
mov esp, ebp
pop ebp
ret
movss xmm0, dword [edi + 0x1424]
addss xmm0, xmm0
addss xmm0, dword [edi + 0x1734]
movss dword [esp + 0x5c], xmm0
test cl, 0x10
je 0x10035e81
xorps xmm3, xmm3
jmp 0x10035e8c
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x1438]
mov esi, eax
xorps xmm0, xmm0
movss xmm2, dword [esi + 0x144]
comiss xmm0, xmm2
jbe 0x10035f0a
movss xmm4, dword [esi + 0xd8]
mov edi, dword [esi + 0x1a0]
movss xmm1, dword [esi + 0x4c]
subss xmm4, dword [esi + 0x14]
test edi, edi
je 0x10035ef2
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
mov edx, dword [esp + 0x38]
mulss xmm1, dword [eax + ecx*4]
mov ecx, dword [esp + 0x18]
addss xmm1, dword [edi + 0x14]
subss xmm1, dword [esi + 0x54]
mov edi, dword [esp + 0x28]
subss xmm1, xmm4
addss xmm1, xmm2
movss xmm2, dword [0x1012a3c4]
maxss xmm2, xmm1
mov dword [esp + 0x48], edx
cvttss2si eax, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, xmm3
movss dword [esp + 0x30], xmm0
cmp edx, 0xffffffff
jae 0x10035f4e
mov ecx, edx
nop word [eax + eax]
mov dl, byte [ecx]
test dl, dl
je 0x10035f4a
cmp dl, 0x23
jne 0x10035f40
cmp byte [ecx + 1], dl
je 0x10035f4a
inc ecx
mov dword [esp + 0x48], ecx
cmp ecx, 0xffffffff
jb 0x10035f30
mov ecx, dword [esp + 0x18]
mov edx, ecx
mov dword [esp + 0x58], ecx
shr edx, 1
mov eax, ecx
shr eax, 0xc
not dl
and eax, 0xffffff01
and edx, 0xffffff01
mov dword [esp + 0x70], eax
movzx eax, dl
add eax, 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
call fcn.10039b40
mov ecx, dword [esp + 0x38]
call fcn.1002b610
mov ecx, dword [esp + 0x18]
test ecx, 0x20
je 0x10035fa4
and ecx, 0xffff3fff
or ecx, 0x2008
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x2c]
test cl, 8
jne 0x10035fba
mov edx, ecx
mov ecx, esi
call fcn.10035700
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 0x2720]
test ecx, 0xe000
jne 0x10035fd1
mov eax, edx
and eax, 0xe000
or ecx, eax
test ecx, 0x30000
jne 0x10035fe2
mov eax, edx
and eax, 0x30000
or ecx, eax
test ecx, 0xc0000
jne 0x10035ff3
mov eax, edx
and eax, 0xc0000
or ecx, eax
movss xmm3, dword [esi]
and edx, 0xfff01fff
movss xmm4, dword [esi + 4]
or ecx, edx
cmp byte [esp + 0x3c], 0
movss xmm6, dword [esi + 8]
mov dword [esp + 0x18], ecx
movss dword [esp + 0x44], xmm3
movss dword [esp + 0xf8], xmm3
movss dword [esp + 0xdc], xmm4
movss dword [esp + 0xfc], xmm4
movss dword [esp + 0x4c], xmm6
movss dword [esp + 0x100], xmm6
je 0x1003604b
movss xmm0, dword [esi + 0xc]
jmp 0x10036053
movss xmm0, dword [0x1012a3c4]
mov eax, ecx
movss dword [esp + 0x104], xmm0
and eax, 0x4000
movss dword [esp + 0x34], xmm0
mov dword [esp + 0x74], eax
xorps xmm2, xmm2
je 0x1003612b
comiss xmm6, xmm4
xorps xmm5, xmm5
movaps xmm1, xmm4
movaps xmm7, xmm6
jbe 0x10036092
movss xmm5, dword [0x1012a88c]
movaps xmm1, xmm6
movaps xmm7, xmm4
comiss xmm1, xmm3
movaps xmm6, xmm3
movss dword [esp + 0x4c], xmm6
jbe 0x100360bb
movss xmm0, dword [0x1012a874]
movaps xmm6, xmm1
subss xmm0, xmm5
movss dword [esp + 0x4c], xmm6
movaps xmm1, xmm3
movaps xmm5, xmm0
movaps xmm0, xmm1
movss dword [esp + 0x100], xmm6
minss xmm0, xmm7
movaps xmm4, xmm6
movaps xmm3, xmm1
subss xmm3, xmm7
subss xmm4, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x1012a5c8]
addss xmm0, dword [0x1012a2c0]
divss xmm3, xmm0
movaps xmm0, xmm6
addss xmm0, dword [0x1012a2c0]
addss xmm3, xmm5
divss xmm4, xmm0
andps xmm3, xmmword [0x1012c190]
movss dword [esp + 0x44], xmm3
movss dword [esp + 0xf8], xmm3
movss dword [esp + 0xdc], xmm4
movss dword [esp + 0xfc], xmm4
comiss xmm3, xmm2
movss xmm5, dword [0x1012a878]
movss xmm1, dword [0x1012a360]
jb 0x10036145
movaps xmm7, xmm1
jmp 0x10036148
movaps xmm7, xmm5
comiss xmm4, xmm2
movaps xmm0, xmm3
movss xmm3, dword [0x1012a760]
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si esi, xmm0
mov dword [esp + 0x108], esi
jb 0x10036170
movaps xmm7, xmm1
jmp 0x10036173
movaps xmm7, xmm5
comiss xmm6, xmm2
movaps xmm0, xmm4
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si edx, xmm0
mov dword [esp + 0x10c], edx
jb 0x10036193
movaps xmm4, xmm1
jmp 0x10036196
movaps xmm4, xmm5
movaps xmm0, xmm6
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x34]
comiss xmm0, xmm2
mov dword [esp + 0x110], eax
jae 0x100361ba
movaps xmm1, xmm5
mulss xmm0, xmm3
mov byte [esp + 0x17], 0
mov byte [esp + 0x23], 0
addss xmm0, xmm1
cvttss2si edi, xmm0
mov dword [esp + 0x50], edi
mov dword [esp + 0x114], edi
mov edi, ecx
and edi, 0x20
test ecx, 0x6000
je 0x10036792
test edi, edi
jne 0x10036792
mov edx, dword [esp + 0x40]
movss xmm4, dword [esp + 0x30]
movaps xmm1, xmm4
lea eax, [edx - 1]
movd xmm3, eax
mov eax, dword [esp + 0x28]
cvtdq2ps xmm3, xmm3
movss xmm2, dword [eax + 0x1438]
movaps xmm0, xmm2
mulss xmm0, xmm3
subss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x1012a3c4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
addss xmm2, xmm1
movss dword [esp + 0x1c], xmm1
movss xmm1, dword [0x1012a3c4]
mulss xmm2, xmm3
movss xmm3, dword [0x1012a870]
subss xmm4, xmm2
cvttss2si eax, xmm4
movd xmm0, eax
mov eax, ecx
and eax, 0x20000
mov ecx, str.M:0.000
mov dword [esp + 0x50], eax
mov eax, str.M:000
cmove ecx, eax
mov eax, dword [0x10138e58]
cvtdq2ps xmm0, xmm0
push ecx
push edi
mov esi, dword [eax + 0x1730]
push ecx
push ecx
maxss xmm1, xmm0
mov dword [esp], 0xbf800000
movss xmm0, dword [eax + 0x1734]
mov ecx, esi
lea eax, [esp + 0x70]
movss dword [esp + 0x40], xmm0
push eax
movaps xmm2, xmm0
movss dword [esp + 0x8c], xmm1
call fcn.100479d0
movss xmm0, dword [esp + 0x60]
xorps xmm4, xmm4
comiss xmm0, xmm4
jbe 0x100362e5
movss xmm1, dword [esp + 0x30]
divss xmm1, dword [esi]
subss xmm0, xmm1
addss xmm0, dword [0x1012a3a0]
mov dword [esp + 0x60], 0x10102d10
mov dword [esp + 0x68], 0x10102d18
mov dword [esp + 0x6c], 0x10102d1c
mov dword [esp + 0xac], str._3.0f
cvttss2si eax, xmm0
mov dword [esp + 0xb0], str._3.0f
mov dword [esp + 0xb4], str._3.0f
mov dword [esp + 0xb8], str._3.0f
mov dword [esp + 0xbc], str.R:_3.0f
mov dword [esp + 0xc0], str.G:_3.0f
mov dword [esp + 0xc4], str.B:_3.0f
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x1c]
mov dword [esp + 0x64], 0x10102d14
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov dword [esp + 0xc8], str.A:_3.0f
mov dword [esp + 0xcc], str.H:_3.0f
mov dword [esp + 0xd0], str.S:_3.0f
mov dword [esp + 0xd4], str.V:_3.0f
mov dword [esp + 0xd8], str.A:_3.0f
comiss xmm1, xmm0
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._0.3f
mov dword [esp + 0x8c], str.R:_0.3f
mov dword [esp + 0x90], str.G:_0.3f
mov dword [esp + 0x94], str.B:_0.3f
mov dword [esp + 0x98], str.A:_0.3f
mov dword [esp + 0x9c], str.H:_0.3f
mov dword [esp + 0xa0], str.S:_0.3f
mov dword [esp + 0xa4], str.V:_0.3f
mov dword [esp + 0xa8], str.A:_0.3f
jb 0x10036438
xor esi, esi
jmp 0x10036448
xor edx, edx
cmp dword [esp + 0x74], edx
setne dl
inc edx
mov dword [esp + 0x1c], edx
mov esi, edx
mov ecx, dword [0x10138e58]
ucomiss xmm0, xmm4
mov eax, dword [ecx + 0x1804]
mov byte [eax + 0x8e], 1
mov ecx, dword [ecx + 0x1804]
mov dword [esp + 0x1c], ecx
lahf
test ah, 0x44
jp 0x10036476
movss xmm0, dword [ecx + 0x1e4]
lea edi, [ecx + 0x158]
movss dword [ecx + 0x144], xmm0
mov ecx, dword [edi + 4]
mov edx, dword [edi]
cmp edx, ecx
jne 0x100364ba
inc edx
mov dword [esp + 0x30], edx
test ecx, ecx
je 0x100364a5
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
sar eax, 1
add eax, ecx
jmp 0x100364aa
mov eax, 8
cmp eax, edx
mov ecx, edi
cmovg edx, eax
push edx
call fcn.1003ae30
xorps xmm4, xmm4
mov edx, dword [edi]
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x144]
mov dword [ecx + edx*4], eax
inc dword [edi]
xor edi, edi
cmp dword [esp + 0x40], edi
jbe 0x100366ec
mov eax, dword [esp + 0x18]
and eax, 8
shl esi, 4
mov dword [esp + 0x44], eax
mov dword [esp + 0x1c], esi
nop dword [eax]
test edi, edi
je 0x10036508
mov eax, dword [esp + 0x28]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1438]
call fcn.10039dd0
lea eax, [edi + 1]
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x40]
jne 0x100365ac
movss xmm0, dword [esp + 0x78]
mov ecx, dword [0x10138e58]
ucomiss xmm0, xmm4
mov eax, dword [ecx + 0x1804]
mov byte [eax + 0x8e], 1
mov ecx, dword [ecx + 0x1804]
mov dword [esp + 0xdc], ecx
lahf
test ah, 0x44
jp 0x10036550
movss xmm0, dword [ecx + 0x1e4]
lea esi, [ecx + 0x158]
movss dword [ecx + 0x144], xmm0
mov ecx, dword [esi + 4]
mov edx, dword [esi]
cmp edx, ecx
jne 0x10036591
inc edx
mov dword [esp + 0x30], edx
test ecx, ecx
je 0x1003657f
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
sar eax, 1
add eax, ecx
jmp 0x10036584
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.1003ae30
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0xdc]
mov eax, dword [eax + 0x144]
mov dword [ecx + edx*4], eax
inc dword [esi]
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x50], 0
je 0x1003660b
cmp byte [esp + 0x70], 0
je 0x100365bf
xorps xmm0, xmm0
jmp 0x100365c7
movss xmm0, dword [0x1012a3c4]
movss xmm2, dword [0x1012a2dc]
lea edx, [esp + 0xf8]
push ecx
mov dword [esp], 0x3f800000
lea edx, [edx + edi*4]
push dword [esp + esi + 0x80]
xorps xmm3, xmm3
push ecx
mov ecx, dword [esp + edi*4 + 0x6c]
movss dword [esp], xmm0
call fcn.1002d6f0
add esp, 0xc
or al, byte [esp + 0x17]
mov byte [esp + 0x23], al
mov byte [esp + 0x17], al
jmp 0x10036689
mov eax, dword [esp + esi + 0xac]
lea edx, [esp + 0xdc]
movd xmm0, dword [esp + edi*4 + 0x108]
test eax, eax
movss xmm2, dword [0x1012a3c4]
mov ecx, str._.0f
cmovne ecx, eax
xorps xmm3, xmm3
push ecx
mov dword [esp], 0x3f800000
mov eax, 0xff
push ecx
xor ecx, ecx
cmp byte [esp + 0x78], cl
cvtdq2ps xmm0, xmm0
cmovne eax, ecx
push ecx
mov ecx, dword [esp + edi*4 + 0x6c]
movss dword [esp + 0xe8], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.1002d6f0
mov cl, al
add esp, 0xc
cvttss2si eax, dword [esp + 0xdc]
or byte [esp + 0x17], cl
mov dword [esp + edi*4 + 0x108], eax
cmp dword [esp + 0x44], 0
jne 0x10036695
call fcn.10024d20
mov edi, dword [esp + 0x34]
add esi, 4
xorps xmm4, xmm4
mov dword [esp + 0x1c], esi
cmp edi, dword [esp + 0x40]
jl 0x100364f0
movss xmm0, dword [esp + 0x104]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x100]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0xfc]
movss dword [esp + 0xdc], xmm0
movss xmm0, dword [esp + 0xf8]
movss dword [esp + 0x44], xmm0
mov edx, dword [0x10138e58]
mov eax, dword [edx + 0x1804]
mov byte [eax + 0x8e], 1
mov ecx, dword [edx + 0x1804]
mov esi, dword [ecx + 0x158]
sub esi, 1
mov dword [ecx + 0x158], esi
jne 0x10036720
movss xmm0, dword [ecx + 0x1e4]
jmp 0x1003672c
mov eax, dword [ecx + 0x160]
movss xmm0, dword [eax + esi*4 - 4]
movss dword [ecx + 0x144], xmm0
mov eax, dword [edx + 0x1804]
mov byte [eax + 0x8e], 1
mov ecx, dword [edx + 0x1804]
mov edx, dword [ecx + 0x158]
sub edx, 1
mov dword [ecx + 0x158], edx
jne 0x10036773
movss xmm0, dword [ecx + 0x1e4]
xor eax, eax
movss dword [ecx + 0x144], xmm0
mov ecx, dword [esp + 0x18]
jmp 0x100369ec
mov eax, dword [ecx + 0x160]
movss xmm0, dword [eax + edx*4 - 4]
xor eax, eax
movss dword [ecx + 0x144], xmm0
mov ecx, dword [esp + 0x18]
jmp 0x100369ec
mov dword [esp + 0x1c], edi
test ecx, 0x8000
je 0x100369e8
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x100369e8
cmp byte [esp + 0x3c], 0
je 0x10036812
mov ecx, dword [esp + 0x50]
mov edi, 0xff
test ecx, ecx
jns 0x100367c6
xor ecx, ecx
jmp 0x100367cb
cmp ecx, edi
cmovg ecx, edi
test eax, eax
jns 0x100367d3
xor eax, eax
jmp 0x100367db
cmp eax, 0xff
cmovg eax, edi
test edx, edx
jns 0x100367e3
xor edx, edx
jmp 0x100367e8
cmp edx, edi
cmovg edx, edi
test esi, esi
jns 0x100367f0
xor esi, esi
jmp 0x100367f5
cmp esi, edi
cmovg esi, edi
push ecx
push eax
push edx
push esi
push 0x10102da0
lea eax, [esp + 0x12c]
push 0x40
push eax
call fcn.1001f480
add esp, 0x1c
jmp 0x1003685b
mov ecx, 0xff
test eax, eax
jns 0x1003681f
xor eax, eax
jmp 0x10036827
cmp eax, 0xff
cmovg eax, ecx
test edx, edx
jns 0x1003682f
xor edx, edx
jmp 0x10036834
cmp edx, ecx
cmovg edx, ecx
test esi, esi
jns 0x1003683c
xor esi, esi
jmp 0x10036841
cmp esi, ecx
cmovg esi, ecx
push eax
push edx
push esi
push 0x10102db4
lea eax, [esp + 0x128]
push 0x40
push eax
call fcn.1001f480
add esp, 0x18
movss xmm4, dword [esp + 0x30]
xorps xmm0, xmm0
mov ecx, dword [0x10138e58]
ucomiss xmm4, xmm0
mov eax, dword [ecx + 0x1804]
mov byte [eax + 0x8e], 1
mov ecx, dword [ecx + 0x1804]
mov dword [esp + 0x50], ecx
lahf
test ah, 0x44
jp 0x10036892
movss xmm4, dword [ecx + 0x1e4]
lea esi, [ecx + 0x158]
movss dword [ecx + 0x144], xmm4
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jne 0x100368cb
inc ecx
test edi, edi
je 0x100368b9
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x100368be
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1003ae30
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x50]
push 0
push 0
push 6
mov eax, dword [eax + 0x144]
mov dword [ecx + edx*4], eax
lea eax, [esp + 0x6c]
inc dword [esi]
lea edx, [esp + 0x124]
push eax
push 0x40
mov ecx, str.Text
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
call fcn.1002ff10
add esp, 0x14
test al, al
je 0x100369be
mov byte [esp + 0x17], 1
lea ecx, [esp + 0x118]
mov al, byte [ecx]
cmp al, 0x23
je 0x10036932
cmp al, 0x20
je 0x10036932
cmp al, 9
jne 0x10036935
inc ecx
jmp 0x10036924
cmp byte [esp + 0x3c], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x108], 0
je 0x10036998
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x114]
push eax
push str._02X_02X_02X_02X
push ecx
call fcn.1001de60
add esp, 0x18
jmp 0x100369be
lea eax, [esp + 0x110]
push eax
lea eax, [esp + 0x110]
push eax
lea eax, [esp + 0x110]
push eax
push str._02X_02X_02X
push ecx
call fcn.1001de60
add esp, 0x14
test byte [esp + 0x18], 8
jne 0x100369ca
call fcn.10024d20
mov ecx, dword [0x10138e58]
mov eax, dword [ecx + 0x1804]
mov byte [eax + 0x8e], 1
mov ecx, dword [ecx + 0x1804]
jmp 0x10036747
mov eax, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x1c], edi
test cl, 0x10
jne 0x10036c95
mov esi, dword [esp + 0x28]
test eax, eax
jne 0x10036a17
movss xmm1, dword [esi + 0x1438]
xorps xmm0, xmm0
call fcn.10039dd0
mov ecx, dword [esp + 0x18]
cmp byte [esp + 0x3c], 0
mov eax, dword [esp + 0x2c]
je 0x10036a29
movss xmm1, dword [eax + 0xc]
jmp 0x10036a31
movss xmm1, dword [0x1012a3c4]
movss xmm0, dword [eax]
lea edx, [esp + 0xe0]
movss dword [esp + 0xe0], xmm0
movss xmm0, dword [eax + 4]
push edi
movss dword [esp + 0xe8], xmm0
movss xmm0, dword [eax + 8]
push edi
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0xf4], xmm0
movss dword [esp + 0xf8], xmm1
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
call fcn.10034c50
add esp, 0xc
test al, al
mov eax, dword [esp + 0x18]
je 0x10036b3d
test al, 4
jne 0x10036b3d
movups xmm0, xmmword [esp + 0xe0]
xor edx, edx
movups xmmword [esi + 0x2724], xmm0
mov esi, dword [0x10138e58]
mov eax, dword [esi + 0x1804]
mov ecx, dword [eax + 0x1a4]
mov eax, dword [eax + 0x1ac]
push dword [eax + ecx*4 - 4]
mov ecx, 0x10102e00
call fcn.1001f4c0
add esp, 4
cmp dword [esi + 0x1824], eax
jne 0x10036adf
mov byte [esi + 0x1830], 1
mov ecx, eax
call fcn.100247c0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
movss xmm1, dword [eax + 0x114]
movss xmm0, dword [eax + 0x120]
addss xmm0, dword [esi + 0x1434]
mov eax, dword [0x10138e58]
subss xmm1, dword [0x1012a3c4]
movss dword [eax + 0x18a0], xmm0
mov dword [eax + 0x18a4], edi
movss dword [eax + 0x189c], xmm1
mov dword [eax + 0x18a8], edi
mov dword [eax + 0x1880], 1
mov eax, dword [esp + 0x18]
test al, 8
jne 0x10036b46
call fcn.10024d20
mov ecx, 0x10102e00
call fcn.10024c70
test al, al
je 0x10036c91
mov eax, dword [esi + 0x1804]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x48]
cmp ecx, eax
je 0x10036b7d
mov edx, eax
call fcn.10029dd0
xorps xmm0, xmm0
call fcn.10039810
movss xmm0, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mulss xmm0, dword [0x1012a5f8]
and eax, 0xf1202
mov ecx, dword [0x10138e58]
or eax, 0xe880
mov dword [esp + 0x58], eax
ucomiss xmm0, dword [0x1012a2b4]
mov eax, dword [ecx + 0x1804]
mov byte [eax + 0x8e], 1
mov ecx, dword [ecx + 0x1804]
mov dword [esp + 0x5c], ecx
lahf
test ah, 0x44
jp 0x10036bcf
movss xmm0, dword [ecx + 0x1e4]
lea esi, [ecx + 0x158]
movss dword [ecx + 0x144], xmm0
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jne 0x10036c08
inc ecx
test edi, edi
je 0x10036bf6
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10036bfb
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1003ae30
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x144]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x58]
add eax, 0x2724
mov edx, dword [esp + 0x2c]
inc dword [esi]
push eax
push ecx
mov ecx, str.picker
call fcn.100370b0
mov ecx, dword [0x10138e58]
add esp, 8
or byte [esp + 0x17], al
mov eax, dword [ecx + 0x1804]
mov byte [eax + 0x8e], 1
mov ecx, dword [ecx + 0x1804]
mov edx, dword [ecx + 0x158]
sub edx, 1
mov dword [ecx + 0x158], edx
jne 0x10036c74
movss xmm0, dword [ecx + 0x1e4]
jmp 0x10036c80
mov eax, dword [ecx + 0x160]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x144], xmm0
call fcn.10028e80
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x48]
cmp dword [esp + 0x38], esi
je 0x10036cc2
test cl, cl
js 0x10036cc2
mov eax, dword [esp + 0x28]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1438]
call fcn.10039dd0
mov ecx, dword [esp + 0x38]
mov edx, esi
call fcn.10029dd0
test edi, edi
jne 0x10036d9a
cmp byte [esp + 0x23], 0
jne 0x10036d11
movups xmm0, xmmword [esp + 0x108]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x1012c170]
movups xmmword [esp + 0xf8], xmm0
movss xmm3, dword [esp + 0x104]
movss xmm2, dword [esp + 0x100]
movss xmm1, dword [esp + 0xfc]
movss xmm0, dword [esp + 0xf8]
jmp 0x10036d2c
movss xmm0, dword [esp + 0x44]
movss xmm1, dword [esp + 0xdc]
movss xmm2, dword [esp + 0x4c]
movss xmm3, dword [esp + 0x34]
cmp dword [esp + 0x74], 0
je 0x10036d75
lea eax, [esp + 0x100]
push eax
lea edx, [esp + 0x100]
lea ecx, [esp + 0xfc]
call fcn.1001fab0
movss xmm3, dword [esp + 0x108]
add esp, 4
movss xmm2, dword [esp + 0x100]
movss xmm1, dword [esp + 0xfc]
movss xmm0, dword [esp + 0xf8]
cmp byte [esp + 0x17], 0
je 0x10036d9a
cmp byte [esp + 0x3c], 0
mov eax, dword [esp + 0x2c]
movss dword [eax], xmm0
movss dword [eax + 4], xmm1
movss dword [eax + 8], xmm2
je 0x10036d9a
movss dword [eax + 0xc], xmm3
mov eax, dword [0x10138e58]
mov eax, dword [eax + 0x1804]
dec dword [eax + 0x1a4]
call fcn.10039c50
mov esi, dword [esp + 0x24]
cmp byte [esi + 0x124], 0
je 0x10036e88
mov esi, dword [0x10138e58]
cmp byte [esi + 0x198c], 0
je 0x10036e84
mov ecx, dword [esi + 0x1804]
cmp byte [ecx + 0x124], 0
je 0x10036e84
mov edx, dword [esi + 0x180c]
test edx, edx
je 0x10036e84
mov eax, dword [ecx + 0x23c]
cmp eax, dword [edx + 0x23c]
jne 0x10036e84
mov eax, dword [ecx + 0x110]
lea edi, [ecx + 0x114]
test eax, eax
jne 0x10036e1d
push edi
call fcn.10020b40
cmp dword [esi + 0x19a0], eax
je 0x10036e84
movups xmm0, xmmword [edi]
mov ecx, str._COL3F
mov dword [esi + 0x19cc], eax
movups xmmword [esi + 0x19bc], xmm0
call fcn.1003a5b0
mov esi, dword [esp + 0x2c]
test eax, eax
je 0x10036e5c
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.1003a5b0
mov ecx, eax
test ecx, ecx
je 0x10036e84
mov eax, dword [esp + 0x40]
shl eax, 2
push eax
push dword [ecx]
push esi
call fcn.100c58f0
add esp, 0xc
mov byte [esp + 0x17], 1
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10036eac
mov edx, dword [esp + 0x28]
mov ecx, dword [edx + 0x1824]
test ecx, ecx
je 0x10036eac
cmp dword [edx + 0x183c], eax
jne 0x10036eac
mov dword [esi + 0x110], ecx
mov ecx, dword [esp + 0x15c]
mov al, byte [esp + 0x17]
pop edi
pop esi
xor ecx, esp
call fcn.100c2ed5
mov esp, ebp
pop ebp
ret