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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x158
mov eax, dword [0x1010d024]
xor eax, esp
mov dword [esp + 0x154], eax
push esi
push edi
mov edi, dword [0x1010d048]
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 0x100309ad
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.100bceb5
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 0x100309d1
xorps xmm3, xmm3
jmp 0x100309dc
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x1438]
mov esi, eax
xorps xmm0, xmm0
movss xmm2, dword [esi + 0x144]
comiss xmm0, xmm2
jbe 0x10030a5a
movss xmm4, dword [esi + 0xd8]
mov edi, dword [esi + 0x1a0]
movss xmm1, dword [esi + 0x4c]
subss xmm4, dword [esi + 0x14]
test edi, edi
je 0x10030a42
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 [0x100f8ef4]
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 0x10030a9e
mov ecx, edx
nop word [eax + eax]
mov dl, byte [ecx]
test dl, dl
je 0x10030a9a
cmp dl, 0x23
jne 0x10030a90
cmp byte [ecx + 1], dl
je 0x10030a9a
inc ecx
mov dword [esp + 0x48], ecx
cmp ecx, 0xffffffff
jb 0x10030a80
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.10034690
mov ecx, dword [esp + 0x38]
call fcn.10026eb0
mov ecx, dword [esp + 0x18]
test ecx, 0x20
je 0x10030af4
and ecx, 0xffff3fff
or ecx, 0x2008
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x2c]
test cl, 8
jne 0x10030b0a
mov edx, ecx
mov ecx, esi
call fcn.10030240
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 0x2720]
test ecx, 0xe000
jne 0x10030b21
mov eax, edx
and eax, 0xe000
or ecx, eax
test ecx, 0x30000
jne 0x10030b32
mov eax, edx
and eax, 0x30000
or ecx, eax
test ecx, 0xc0000
jne 0x10030b43
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 0x10030b9b
movss xmm0, dword [esi + 0xc]
jmp 0x10030ba3
movss xmm0, dword [0x100f8ef4]
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 0x10030c7b
comiss xmm6, xmm4
xorps xmm5, xmm5
movaps xmm1, xmm4
movaps xmm7, xmm6
jbe 0x10030be2
movss xmm5, dword [0x100f9248]
movaps xmm1, xmm6
movaps xmm7, xmm4
comiss xmm1, xmm3
movaps xmm6, xmm3
movss dword [esp + 0x4c], xmm6
jbe 0x10030c0b
movss xmm0, dword [0x100f9234]
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 [0x100f90e0]
addss xmm0, dword [0x100f8e28]
divss xmm3, xmm0
movaps xmm0, xmm6
addss xmm0, dword [0x100f8e28]
addss xmm3, xmm5
divss xmm4, xmm0
andps xmm3, xmmword [0x100fa7f0]
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 [0x100f9238]
movss xmm1, dword [0x100f8eac]
jb 0x10030c95
movaps xmm7, xmm1
jmp 0x10030c98
movaps xmm7, xmm5
comiss xmm4, xmm2
movaps xmm0, xmm3
movss xmm3, dword [0x100f91c4]
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si esi, xmm0
mov dword [esp + 0x108], esi
jb 0x10030cc0
movaps xmm7, xmm1
jmp 0x10030cc3
movaps xmm7, xmm5
comiss xmm6, xmm2
movaps xmm0, xmm4
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si edx, xmm0
mov dword [esp + 0x10c], edx
jb 0x10030ce3
movaps xmm4, xmm1
jmp 0x10030ce6
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 0x10030d0a
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 0x100312e2
test edi, edi
jne 0x100312e2
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 [0x100f8ef4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
addss xmm2, xmm1
movss dword [esp + 0x1c], xmm1
movss xmm1, dword [0x100f8ef4]
mulss xmm2, xmm3
movss xmm3, dword [0x100f9228]
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 [0x1010d048]
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.10043140
movss xmm0, dword [esp + 0x60]
xorps xmm4, xmm4
comiss xmm0, xmm4
jbe 0x10030e35
movss xmm1, dword [esp + 0x30]
divss xmm1, dword [esi]
subss xmm0, xmm1
addss xmm0, dword [0x100f8eec]
mov dword [esp + 0x60], 0x100d1df8
mov dword [esp + 0x68], 0x100d1e00
mov dword [esp + 0x6c], 0x100d1e04
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], 0x100d1dfc
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 0x10030f88
xor esi, esi
jmp 0x10030f98
xor edx, edx
cmp dword [esp + 0x74], edx
setne dl
inc edx
mov dword [esp + 0x1c], edx
mov esi, edx
mov ecx, dword [0x1010d048]
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 0x10030fc6
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 0x1003100a
inc edx
mov dword [esp + 0x30], edx
test ecx, ecx
je 0x10030ff5
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
sar eax, 1
add eax, ecx
jmp 0x10030ffa
mov eax, 8
cmp eax, edx
mov ecx, edi
cmovg edx, eax
push edx
call fcn.10035900
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 0x1003123c
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 0x10031058
mov eax, dword [esp + 0x28]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1438]
call fcn.10034930
lea eax, [edi + 1]
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x40]
jne 0x100310fc
movss xmm0, dword [esp + 0x78]
mov ecx, dword [0x1010d048]
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 0x100310a0
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 0x100310e1
inc edx
mov dword [esp + 0x30], edx
test ecx, ecx
je 0x100310cf
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
sar eax, 1
add eax, ecx
jmp 0x100310d4
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.10035900
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 0x1003115b
cmp byte [esp + 0x70], 0
je 0x1003110f
xorps xmm0, xmm0
jmp 0x10031117
movss xmm0, dword [0x100f8ef4]
movss xmm2, dword [0x100f8e48]
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.10028240
add esp, 0xc
or al, byte [esp + 0x17]
mov byte [esp + 0x23], al
mov byte [esp + 0x17], al
jmp 0x100311d9
mov eax, dword [esp + esi + 0xac]
lea edx, [esp + 0xdc]
movd xmm0, dword [esp + edi*4 + 0x108]
test eax, eax
movss xmm2, dword [0x100f8ef4]
mov ecx, 0x100d1c3c
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.10028240
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 0x100311e5
call fcn.100208a0
mov edi, dword [esp + 0x34]
add esi, 4
xorps xmm4, xmm4
mov dword [esp + 0x1c], esi
cmp edi, dword [esp + 0x40]
jl 0x10031040
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 [0x1010d048]
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 0x10031270
movss xmm0, dword [ecx + 0x1e4]
jmp 0x1003127c
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 0x100312c3
movss xmm0, dword [ecx + 0x1e4]
xor eax, eax
movss dword [ecx + 0x144], xmm0
mov ecx, dword [esp + 0x18]
jmp 0x1003153c
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 0x1003153c
mov dword [esp + 0x1c], edi
test ecx, 0x8000
je 0x10031538
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x10031538
cmp byte [esp + 0x3c], 0
je 0x10031362
mov ecx, dword [esp + 0x50]
mov edi, 0xff
test ecx, ecx
jns 0x10031316
xor ecx, ecx
jmp 0x1003131b
cmp ecx, edi
cmovg ecx, edi
test eax, eax
jns 0x10031323
xor eax, eax
jmp 0x1003132b
cmp eax, 0xff
cmovg eax, edi
test edx, edx
jns 0x10031333
xor edx, edx
jmp 0x10031338
cmp edx, edi
cmovg edx, edi
test esi, esi
jns 0x10031340
xor esi, esi
jmp 0x10031345
cmp esi, edi
cmovg esi, edi
push ecx
push eax
push edx
push esi
push 0x100d1e88
lea eax, [esp + 0x12c]
push 0x40
push eax
call fcn.1001ae90
add esp, 0x1c
jmp 0x100313ab
mov ecx, 0xff
test eax, eax
jns 0x1003136f
xor eax, eax
jmp 0x10031377
cmp eax, 0xff
cmovg eax, ecx
test edx, edx
jns 0x1003137f
xor edx, edx
jmp 0x10031384
cmp edx, ecx
cmovg edx, ecx
test esi, esi
jns 0x1003138c
xor esi, esi
jmp 0x10031391
cmp esi, ecx
cmovg esi, ecx
push eax
push edx
push esi
push 0x100d1e9c
lea eax, [esp + 0x128]
push 0x40
push eax
call fcn.1001ae90
add esp, 0x18
movss xmm4, dword [esp + 0x30]
xorps xmm0, xmm0
mov ecx, dword [0x1010d048]
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 0x100313e2
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 0x1003141b
inc ecx
test edi, edi
je 0x10031409
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1003140e
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10035900
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.1002a970
add esp, 0x14
test al, al
je 0x1003150e
mov byte [esp + 0x17], 1
lea ecx, [esp + 0x118]
mov al, byte [ecx]
cmp al, 0x23
je 0x10031482
cmp al, 0x20
je 0x10031482
cmp al, 9
jne 0x10031485
inc ecx
jmp 0x10031474
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 0x100314e8
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.10036100
add esp, 0x18
jmp 0x1003150e
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.10036100
add esp, 0x14
test byte [esp + 0x18], 8
jne 0x1003151a
call fcn.100208a0
mov ecx, dword [0x1010d048]
mov eax, dword [ecx + 0x1804]
mov byte [eax + 0x8e], 1
mov ecx, dword [ecx + 0x1804]
jmp 0x10031297
mov eax, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x1c], edi
test cl, 0x10
jne 0x100317e5
mov esi, dword [esp + 0x28]
test eax, eax
jne 0x10031567
movss xmm1, dword [esi + 0x1438]
xorps xmm0, xmm0
call fcn.10034930
mov ecx, dword [esp + 0x18]
cmp byte [esp + 0x3c], 0
mov eax, dword [esp + 0x2c]
je 0x10031579
movss xmm1, dword [eax + 0xc]
jmp 0x10031581
movss xmm1, dword [0x100f8ef4]
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.1002fab0
add esp, 0xc
test al, al
mov eax, dword [esp + 0x18]
je 0x1003168d
test al, 4
jne 0x1003168d
movups xmm0, xmmword [esp + 0xe0]
xor edx, edx
movups xmmword [esi + 0x2724], xmm0
mov esi, dword [0x1010d048]
mov eax, dword [esi + 0x1804]
mov ecx, dword [eax + 0x1a4]
mov eax, dword [eax + 0x1ac]
push dword [eax + ecx*4 - 4]
mov ecx, 0x100d1ee8
call fcn.1001aed0
add esp, 4
cmp dword [esi + 0x1824], eax
jne 0x1003162f
mov byte [esi + 0x1830], 1
mov ecx, eax
call fcn.10020200
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 [0x1010d048]
subss xmm1, dword [0x100f8ef4]
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 0x10031696
call fcn.100208a0
mov ecx, 0x100d1ee8
call fcn.100206c0
test al, al
je 0x100317e1
mov eax, dword [esi + 0x1804]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x48]
cmp ecx, eax
je 0x100316cd
mov edx, eax
call fcn.10025ad0
xorps xmm0, xmm0
call fcn.10034360
movss xmm0, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mulss xmm0, dword [0x100f9108]
and eax, 0xf1202
mov ecx, dword [0x1010d048]
or eax, 0xe880
mov dword [esp + 0x58], eax
ucomiss xmm0, dword [0x100f8e18]
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 0x1003171f
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 0x10031758
inc ecx
test edi, edi
je 0x10031746
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1003174b
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10035900
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.10031c00
mov ecx, dword [0x1010d048]
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 0x100317c4
movss xmm0, dword [ecx + 0x1e4]
jmp 0x100317d0
mov eax, dword [ecx + 0x160]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x144], xmm0
call fcn.10024c30
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x48]
cmp dword [esp + 0x38], esi
je 0x10031812
test cl, cl
js 0x10031812
mov eax, dword [esp + 0x28]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1438]
call fcn.10034930
mov ecx, dword [esp + 0x38]
mov edx, esi
call fcn.10025ad0
test edi, edi
jne 0x100318ea
cmp byte [esp + 0x23], 0
jne 0x10031861
movups xmm0, xmmword [esp + 0x108]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x100fa7c0]
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 0x1003187c
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 0x100318c5
lea eax, [esp + 0x100]
push eax
lea edx, [esp + 0x100]
lea ecx, [esp + 0xfc]
call fcn.1001b590
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 0x100318ea
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 0x100318ea
movss dword [eax + 0xc], xmm3
mov eax, dword [0x1010d048]
mov eax, dword [eax + 0x1804]
dec dword [eax + 0x1a4]
call fcn.100347a0
mov esi, dword [esp + 0x24]
cmp byte [esi + 0x124], 0
je 0x100319d8
mov esi, dword [0x1010d048]
cmp byte [esi + 0x198c], 0
je 0x100319d4
mov ecx, dword [esi + 0x1804]
cmp byte [ecx + 0x124], 0
je 0x100319d4
mov edx, dword [esi + 0x180c]
test edx, edx
je 0x100319d4
mov eax, dword [ecx + 0x23c]
cmp eax, dword [edx + 0x23c]
jne 0x100319d4
mov eax, dword [ecx + 0x110]
lea edi, [ecx + 0x114]
test eax, eax
jne 0x1003196d
push edi
call fcn.1001c640
cmp dword [esi + 0x19a0], eax
je 0x100319d4
movups xmm0, xmmword [edi]
mov ecx, str._COL3F
mov dword [esi + 0x19cc], eax
movups xmmword [esi + 0x19bc], xmm0
call fcn.10035080
mov esi, dword [esp + 0x2c]
test eax, eax
je 0x100319ac
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.10035080
mov ecx, eax
test ecx, ecx
je 0x100319d4
mov eax, dword [esp + 0x40]
shl eax, 2
push eax
push dword [ecx]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0x17], 1
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100319fc
mov edx, dword [esp + 0x28]
mov ecx, dword [edx + 0x1824]
test ecx, ecx
je 0x100319fc
cmp dword [edx + 0x183c], eax
jne 0x100319fc
mov dword [esi + 0x110], ecx
mov ecx, dword [esp + 0x15c]
mov al, byte [esp + 0x17]
pop edi
pop esi
xor ecx, esp
call fcn.100bceb5
mov esp, ebp
pop ebp
ret