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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x158
mov eax, dword [0x1013b3dc]
xor eax, esp
mov dword [esp + 0x154], eax
push esi
push edi
mov edi, dword [0x1013be60]
mov dword [esp + 0x2c], edx
mov edx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x38], edx
mov eax, dword [edi + 0x1824]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], edi
mov byte [eax + 0x8e], 1
mov eax, dword [edi + 0x1824]
mov dword [esp + 0x24], eax
cmp byte [eax + 0x90], 0
je 0x100361cd
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.100c55b5
mov esp, ebp
pop ebp
ret
movss xmm0, dword [edi + 0x1424]
addss xmm0, xmm0
addss xmm0, dword [edi + 0x1754]
movss dword [esp + 0x5c], xmm0
test cl, 0x10
je 0x100361f1
xorps xmm3, xmm3
jmp 0x100361fc
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x1438]
mov esi, eax
xorps xmm0, xmm0
movss xmm2, dword [esi + 0x144]
comiss xmm0, xmm2
jbe 0x1003627a
movss xmm4, dword [esi + 0xd8]
mov edi, dword [esi + 0x1a0]
movss xmm1, dword [esi + 0x4c]
subss xmm4, dword [esi + 0x14]
test edi, edi
je 0x10036262
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 [0x1012cd64]
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 0x100362be
mov ecx, edx
nop word [eax + eax]
mov dl, byte [ecx]
test dl, dl
je 0x100362ba
cmp dl, 0x23
jne 0x100362b0
cmp byte [ecx + 1], dl
je 0x100362ba
inc ecx
mov dword [esp + 0x48], ecx
cmp ecx, 0xffffffff
jb 0x100362a0
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.10039e50
mov ecx, dword [esp + 0x38]
call fcn.1002bd80
mov ecx, dword [esp + 0x18]
test ecx, 0x20
je 0x10036314
and ecx, 0xffff3fff
or ecx, 0x2008
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x2c]
test cl, 8
jne 0x1003632a
mov edx, ecx
mov ecx, esi
call fcn.10035a70
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 0x2740]
test ecx, 0xe000
jne 0x10036341
mov eax, edx
and eax, 0xe000
or ecx, eax
test ecx, 0x30000
jne 0x10036352
mov eax, edx
and eax, 0x30000
or ecx, eax
test ecx, 0xc0000
jne 0x10036363
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 0x100363bb
movss xmm0, dword [esi + 0xc]
jmp 0x100363c3
movss xmm0, dword [0x1012cd64]
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 0x1003649b
comiss xmm6, xmm4
xorps xmm5, xmm5
movaps xmm1, xmm4
movaps xmm7, xmm6
jbe 0x10036402
movss xmm5, dword [0x1012d218]
movaps xmm1, xmm6
movaps xmm7, xmm4
comiss xmm1, xmm3
movaps xmm6, xmm3
movss dword [esp + 0x4c], xmm6
jbe 0x1003642b
movss xmm0, dword [0x1012d200]
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 [0x1012cf80]
addss xmm0, dword [0x1012cc60]
divss xmm3, xmm0
movaps xmm0, xmm6
addss xmm0, dword [0x1012cc60]
addss xmm3, xmm5
divss xmm4, xmm0
andps xmm3, xmmword [0x1012eb60]
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 [0x1012d204]
movss xmm1, dword [0x1012cd00]
jb 0x100364b5
movaps xmm7, xmm1
jmp 0x100364b8
movaps xmm7, xmm5
comiss xmm4, xmm2
movaps xmm0, xmm3
movss xmm3, dword [0x1012d100]
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si esi, xmm0
mov dword [esp + 0x108], esi
jb 0x100364e0
movaps xmm7, xmm1
jmp 0x100364e3
movaps xmm7, xmm5
comiss xmm6, xmm2
movaps xmm0, xmm4
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si edx, xmm0
mov dword [esp + 0x10c], edx
jb 0x10036503
movaps xmm4, xmm1
jmp 0x10036506
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 0x1003652a
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 0x10036b02
test edi, edi
jne 0x10036b02
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 [0x1012cd64]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
addss xmm2, xmm1
movss dword [esp + 0x1c], xmm1
movss xmm1, dword [0x1012cd64]
mulss xmm2, xmm3
movss xmm3, dword [0x1012d1fc]
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 [0x1013be60]
cvtdq2ps xmm0, xmm0
push ecx
push edi
mov esi, dword [eax + 0x1750]
push ecx
push ecx
maxss xmm1, xmm0
mov dword [esp], 0xbf800000
movss xmm0, dword [eax + 0x1754]
mov ecx, esi
lea eax, [esp + 0x70]
movss dword [esp + 0x40], xmm0
push eax
movaps xmm2, xmm0
movss dword [esp + 0x8c], xmm1
call fcn.10047ce0
movss xmm0, dword [esp + 0x60]
xorps xmm4, xmm4
comiss xmm0, xmm4
jbe 0x10036655
movss xmm1, dword [esp + 0x30]
divss xmm1, dword [esi]
subss xmm0, xmm1
addss xmm0, dword [0x1012cd40]
mov dword [esp + 0x60], 0x10104b68
mov dword [esp + 0x68], 0x10104b70
mov dword [esp + 0x6c], 0x10104b74
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], 0x10104b6c
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 0x100367a8
xor esi, esi
jmp 0x100367b8
xor edx, edx
cmp dword [esp + 0x74], edx
setne dl
inc edx
mov dword [esp + 0x1c], edx
mov esi, edx
mov ecx, dword [0x1013be60]
ucomiss xmm0, xmm4
mov eax, dword [ecx + 0x1824]
mov byte [eax + 0x8e], 1
mov ecx, dword [ecx + 0x1824]
mov dword [esp + 0x1c], ecx
lahf
test ah, 0x44
jp 0x100367e6
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 0x1003682a
inc edx
mov dword [esp + 0x30], edx
test ecx, ecx
je 0x10036815
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
sar eax, 1
add eax, ecx
jmp 0x1003681a
mov eax, 8
cmp eax, edx
mov ecx, edi
cmovg edx, eax
push edx
call fcn.1003b150
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 0x10036a5c
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 0x10036878
mov eax, dword [esp + 0x28]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1438]
call fcn.1003a0e0
lea eax, [edi + 1]
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x40]
jne 0x1003691c
movss xmm0, dword [esp + 0x78]
mov ecx, dword [0x1013be60]
ucomiss xmm0, xmm4
mov eax, dword [ecx + 0x1824]
mov byte [eax + 0x8e], 1
mov ecx, dword [ecx + 0x1824]
mov dword [esp + 0xdc], ecx
lahf
test ah, 0x44
jp 0x100368c0
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 0x10036901
inc edx
mov dword [esp + 0x30], edx
test ecx, ecx
je 0x100368ef
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
sar eax, 1
add eax, ecx
jmp 0x100368f4
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.1003b150
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 0x1003697b
cmp byte [esp + 0x70], 0
je 0x1003692f
xorps xmm0, xmm0
jmp 0x10036937
movss xmm0, dword [0x1012cd64]
movss xmm2, dword [0x1012cc7c]
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.1002daf0
add esp, 0xc
or al, byte [esp + 0x17]
mov byte [esp + 0x23], al
mov byte [esp + 0x17], al
jmp 0x100369f9
mov eax, dword [esp + esi + 0xac]
lea edx, [esp + 0xdc]
movd xmm0, dword [esp + edi*4 + 0x108]
test eax, eax
movss xmm2, dword [0x1012cd64]
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.1002daf0
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 0x10036a05
call fcn.100254a0
mov edi, dword [esp + 0x34]
add esi, 4
xorps xmm4, xmm4
mov dword [esp + 0x1c], esi
cmp edi, dword [esp + 0x40]
jl 0x10036860
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 [0x1013be60]
mov eax, dword [edx + 0x1824]
mov byte [eax + 0x8e], 1
mov ecx, dword [edx + 0x1824]
mov esi, dword [ecx + 0x158]
sub esi, 1
mov dword [ecx + 0x158], esi
jne 0x10036a90
movss xmm0, dword [ecx + 0x1e4]
jmp 0x10036a9c
mov eax, dword [ecx + 0x160]
movss xmm0, dword [eax + esi*4 - 4]
movss dword [ecx + 0x144], xmm0
mov eax, dword [edx + 0x1824]
mov byte [eax + 0x8e], 1
mov ecx, dword [edx + 0x1824]
mov edx, dword [ecx + 0x158]
sub edx, 1
mov dword [ecx + 0x158], edx
jne 0x10036ae3
movss xmm0, dword [ecx + 0x1e4]
xor eax, eax
movss dword [ecx + 0x144], xmm0
mov ecx, dword [esp + 0x18]
jmp 0x10036d5c
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 0x10036d5c
mov dword [esp + 0x1c], edi
test ecx, 0x8000
je 0x10036d58
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x10036d58
cmp byte [esp + 0x3c], 0
je 0x10036b82
mov ecx, dword [esp + 0x50]
mov edi, 0xff
test ecx, ecx
jns 0x10036b36
xor ecx, ecx
jmp 0x10036b3b
cmp ecx, edi
cmovg ecx, edi
test eax, eax
jns 0x10036b43
xor eax, eax
jmp 0x10036b4b
cmp eax, 0xff
cmovg eax, edi
test edx, edx
jns 0x10036b53
xor edx, edx
jmp 0x10036b58
cmp edx, edi
cmovg edx, edi
test esi, esi
jns 0x10036b60
xor esi, esi
jmp 0x10036b65
cmp esi, edi
cmovg esi, edi
push ecx
push eax
push edx
push esi
push 0x10104bf8
lea eax, [esp + 0x12c]
push 0x40
push eax
call fcn.1001fc10
add esp, 0x1c
jmp 0x10036bcb
mov ecx, 0xff
test eax, eax
jns 0x10036b8f
xor eax, eax
jmp 0x10036b97
cmp eax, 0xff
cmovg eax, ecx
test edx, edx
jns 0x10036b9f
xor edx, edx
jmp 0x10036ba4
cmp edx, ecx
cmovg edx, ecx
test esi, esi
jns 0x10036bac
xor esi, esi
jmp 0x10036bb1
cmp esi, ecx
cmovg esi, ecx
push eax
push edx
push esi
push 0x10104c0c
lea eax, [esp + 0x128]
push 0x40
push eax
call fcn.1001fc10
add esp, 0x18
movss xmm4, dword [esp + 0x30]
xorps xmm0, xmm0
mov ecx, dword [0x1013be60]
ucomiss xmm4, xmm0
mov eax, dword [ecx + 0x1824]
mov byte [eax + 0x8e], 1
mov ecx, dword [ecx + 0x1824]
mov dword [esp + 0x50], ecx
lahf
test ah, 0x44
jp 0x10036c02
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 0x10036c3b
inc ecx
test edi, edi
je 0x10036c29
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10036c2e
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1003b150
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.10030260
add esp, 0x14
test al, al
je 0x10036d2e
mov byte [esp + 0x17], 1
lea ecx, [esp + 0x118]
mov al, byte [ecx]
cmp al, 0x23
je 0x10036ca2
cmp al, 0x20
je 0x10036ca2
cmp al, 9
jne 0x10036ca5
inc ecx
jmp 0x10036c94
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 0x10036d08
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.1001e5f0
add esp, 0x18
jmp 0x10036d2e
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.1001e5f0
add esp, 0x14
test byte [esp + 0x18], 8
jne 0x10036d3a
call fcn.100254a0
mov ecx, dword [0x1013be60]
mov eax, dword [ecx + 0x1824]
mov byte [eax + 0x8e], 1
mov ecx, dword [ecx + 0x1824]
jmp 0x10036ab7
mov eax, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x1c], edi
test cl, 0x10
jne 0x10037005
mov esi, dword [esp + 0x28]
test eax, eax
jne 0x10036d87
movss xmm1, dword [esi + 0x1438]
xorps xmm0, xmm0
call fcn.1003a0e0
mov ecx, dword [esp + 0x18]
cmp byte [esp + 0x3c], 0
mov eax, dword [esp + 0x2c]
je 0x10036d99
movss xmm1, dword [eax + 0xc]
jmp 0x10036da1
movss xmm1, dword [0x1012cd64]
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.10034fc0
add esp, 0xc
test al, al
mov eax, dword [esp + 0x18]
je 0x10036ead
test al, 4
jne 0x10036ead
movups xmm0, xmmword [esp + 0xe0]
xor edx, edx
movups xmmword [esi + 0x2744], xmm0
mov esi, dword [0x1013be60]
mov eax, dword [esi + 0x1824]
mov ecx, dword [eax + 0x1a4]
mov eax, dword [eax + 0x1ac]
push dword [eax + ecx*4 - 4]
mov ecx, 0x10104c58
call fcn.1001fc50
add esp, 4
cmp dword [esi + 0x1844], eax
jne 0x10036e4f
mov byte [esi + 0x1850], 1
mov ecx, eax
call fcn.10024f40
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 [0x1013be60]
subss xmm1, dword [0x1012cd64]
movss dword [eax + 0x18c0], xmm0
mov dword [eax + 0x18c4], edi
movss dword [eax + 0x18bc], xmm1
mov dword [eax + 0x18c8], edi
mov dword [eax + 0x18a0], 1
mov eax, dword [esp + 0x18]
test al, 8
jne 0x10036eb6
call fcn.100254a0
mov ecx, 0x10104c58
call fcn.100253f0
test al, al
je 0x10037001
mov eax, dword [esi + 0x1824]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x48]
cmp ecx, eax
je 0x10036eed
mov edx, eax
call fcn.1002a540
xorps xmm0, xmm0
call fcn.10039b20
movss xmm0, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mulss xmm0, dword [0x1012cfb0]
and eax, 0xf1202
mov ecx, dword [0x1013be60]
or eax, 0xe880
mov dword [esp + 0x58], eax
ucomiss xmm0, dword [0x1012cc54]
mov eax, dword [ecx + 0x1824]
mov byte [eax + 0x8e], 1
mov ecx, dword [ecx + 0x1824]
mov dword [esp + 0x5c], ecx
lahf
test ah, 0x44
jp 0x10036f3f
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 0x10036f78
inc ecx
test edi, edi
je 0x10036f66
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10036f6b
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1003b150
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, 0x2744
mov edx, dword [esp + 0x2c]
inc dword [esi]
push eax
push ecx
mov ecx, str.picker
call fcn.10037420
mov ecx, dword [0x1013be60]
add esp, 8
or byte [esp + 0x17], al
mov eax, dword [ecx + 0x1824]
mov byte [eax + 0x8e], 1
mov ecx, dword [ecx + 0x1824]
mov edx, dword [ecx + 0x158]
sub edx, 1
mov dword [ecx + 0x158], edx
jne 0x10036fe4
movss xmm0, dword [ecx + 0x1e4]
jmp 0x10036ff0
mov eax, dword [ecx + 0x160]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x144], xmm0
call fcn.100295f0
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x48]
cmp dword [esp + 0x38], esi
je 0x10037032
test cl, cl
js 0x10037032
mov eax, dword [esp + 0x28]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1438]
call fcn.1003a0e0
mov ecx, dword [esp + 0x38]
mov edx, esi
call fcn.1002a540
test edi, edi
jne 0x1003710a
cmp byte [esp + 0x23], 0
jne 0x10037081
movups xmm0, xmmword [esp + 0x108]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x1012eb40]
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 0x1003709c
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 0x100370e5
lea eax, [esp + 0x100]
push eax
lea edx, [esp + 0x100]
lea ecx, [esp + 0xfc]
call fcn.10020240
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 0x1003710a
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 0x1003710a
movss dword [eax + 0xc], xmm3
mov eax, dword [0x1013be60]
mov eax, dword [eax + 0x1824]
dec dword [eax + 0x1a4]
call fcn.10039f60
mov esi, dword [esp + 0x24]
cmp byte [esi + 0x124], 0
je 0x100371f8
mov esi, dword [0x1013be60]
cmp byte [esi + 0x19ac], 0
je 0x100371f4
mov ecx, dword [esi + 0x1824]
cmp byte [ecx + 0x124], 0
je 0x100371f4
mov edx, dword [esi + 0x182c]
test edx, edx
je 0x100371f4
mov eax, dword [ecx + 0x23c]
cmp eax, dword [edx + 0x23c]
jne 0x100371f4
mov eax, dword [ecx + 0x110]
lea edi, [ecx + 0x114]
test eax, eax
jne 0x1003718d
push edi
call fcn.100212d0
cmp dword [esi + 0x19c0], eax
je 0x100371f4
movups xmm0, xmmword [edi]
mov ecx, str._COL3F
mov dword [esi + 0x19ec], eax
movups xmmword [esi + 0x19dc], xmm0
call fcn.1003a8c0
mov esi, dword [esp + 0x2c]
test eax, eax
je 0x100371cc
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.1003a8c0
mov ecx, eax
test ecx, ecx
je 0x100371f4
mov eax, dword [esp + 0x40]
shl eax, 2
push eax
push dword [ecx]
push esi
call fcn.100c7fd0
add esp, 0xc
mov byte [esp + 0x17], 1
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1003721c
mov edx, dword [esp + 0x28]
mov ecx, dword [edx + 0x1844]
test ecx, ecx
je 0x1003721c
cmp dword [edx + 0x185c], eax
jne 0x1003721c
mov dword [esi + 0x110], ecx
mov ecx, dword [esp + 0x15c]
mov al, byte [esp + 0x17]
pop edi
pop esi
xor ecx, esp
call fcn.100c55b5
mov esp, ebp
pop ebp
ret