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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, dword [0x1020c0c0]
xor eax, esp
mov dword [esp + 0xf4], eax
mov dword [esp + 0x20], edx
mov edx, dword [0x10453c48]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], edx
mov eax, dword [edx + 0x1bec]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x18], ecx
mov byte [eax + 0xa8], 1
mov eax, dword [edx + 0x1bec]
mov dword [esp + 0x4c], eax
cmp byte [eax + 0xab], 0
je 0x1017ca3f
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.101a0143
mov esp, ebp
pop ebp
ret 4
test byte [edx + 0x1cd4], 1
movss xmm2, dword [edx + 0x159c]
addss xmm2, xmm2
addss xmm2, dword [edx + 0x1988]
movss dword [esp + 0x74], xmm2
je 0x1017ca6c
movss xmm0, dword [edx + 0x1cd8]
jmp 0x1017ca74
movss xmm0, dword [eax + 0x1f0]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1017cab9
cmp dword [eax + 0x1d0], 0
movss xmm1, dword [eax + 0x288]
jne 0x1017ca96
cmp dword [edx + 0x1f2c], 0
je 0x1017ca9e
movss xmm1, dword [eax + 0x258]
subss xmm1, dword [eax + 0xec]
addss xmm1, xmm0
movss xmm0, dword [0x10202060]
maxss xmm0, xmm1
xorps xmm1, xmm1
cvttss2si esi, xmm0
mov dword [esp + 0x20], esi
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test cl, 0x10
jne 0x1017cad8
movaps xmm1, xmm2
addss xmm1, dword [edx + 0x15b0]
movss dword [esp + 0x64], xmm1
subss xmm0, xmm1
mov dword [esp + 0x58], edi
movss dword [esp + 0x60], xmm0
cmp edi, 0xffffffff
jae 0x1017cb0d
mov esi, edi
mov cl, byte [esi]
test cl, cl
je 0x1017cb0d
cmp cl, 0x23
jne 0x1017cb03
cmp byte [esi + 1], cl
je 0x1017cb0d
inc esi
mov dword [esp + 0x58], esi
cmp esi, 0xffffffff
jb 0x1017caf3
mov dword [edx + 0x1cd4], 0
call fcn.10162120
mov edi, dword [0x10453c48]
xor edx, edx
mov eax, dword [edi + 0x1bec]
add eax, 0xe0
mov dword [esp + 0x34], eax
mov ecx, dword [eax]
mov eax, dword [eax + 8]
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x60]
call fcn.10155bc0
mov edx, dword [esp + 0x34]
mov dword [esp + 0x50], eax
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [esp + 0x40], eax
cmp ecx, eax
jne 0x1017cb8a
inc ecx
test eax, eax
je 0x1017cb6e
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
sar eax, 1
add eax, dword [esp + 0x40]
jmp 0x1017cb73
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.100c0490
mov edi, dword [0x10453c48]
mov edx, dword [esp + 0x34]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x50]
mov dword [eax + ecx*4], esi
mov ecx, dword [esp + 0x18]
inc dword [edx]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x78], ecx
test ecx, 0x20
je 0x1017cbbc
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0x18], ecx
test cl, 8
jne 0x1017cbd6
mov edx, ecx
mov ecx, dword [esp + 0x28]
call fcn.101816c0
mov edi, dword [0x10453c48]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edx, dword [edx + 0x2e88]
test ecx, 0x700000
jne 0x1017cbf1
mov eax, edx
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x1017cc02
mov eax, edx
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x1017cc13
mov eax, edx
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x1017cc24
mov eax, edx
and eax, 0x18000000
or ecx, eax
and edx, 0xe00fffff
or ecx, edx
mov edx, ecx
mov dword [esp + 0x18], ecx
shr edx, 1
mov eax, ecx
shr eax, 0x13
not dl
and eax, 0xffffff01
and edx, 0xffffff01
mov dword [esp + 0x50], eax
movzx eax, dl
add eax, 3
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
movss xmm3, dword [eax]
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax + 8]
movss dword [esp + 0x98], xmm3
movss dword [esp + 0x9c], xmm1
movss dword [esp + 0xa0], xmm2
test dl, dl
je 0x1017cc90
movss xmm4, dword [eax + 0xc]
jmp 0x1017cc98
movss xmm4, dword [0x10202060]
mov eax, ecx
movss dword [esp + 0xa4], xmm4
and eax, 0x10100000
mov dword [esp + 0x7c], eax
cmp eax, 0x10100000
jne 0x1017cd22
lea eax, [esp + 0xa0]
movaps xmm0, xmm3
push eax
lea edx, [esp + 0xa0]
lea ecx, [esp + 0x9c]
call fcn.10156270
movss xmm4, dword [esp + 0xa4]
movss xmm2, dword [esp + 0xa0]
movss xmm1, dword [esp + 0x9c]
movss xmm3, dword [esp + 0x98]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
comiss xmm3, dword [0x10201f00]
movss xmm5, dword [0x10202434]
movss xmm0, dword [0x10201ff4]
jb 0x1017ce59
movaps xmm7, xmm0
jmp 0x1017ce5c
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x1017ccf9
comiss xmm2, xmm1
xorps xmm6, xmm6
movaps xmm5, xmm1
movaps xmm7, xmm2
jbe 0x1017cd4c
movss xmm6, dword [0x1020244c]
movaps xmm5, xmm2
movaps xmm7, xmm1
comiss xmm5, xmm3
movaps xmm2, xmm3
jbe 0x1017cd69
movss xmm0, dword [0x10202430]
movaps xmm2, xmm5
subss xmm0, xmm6
movaps xmm5, xmm3
movaps xmm6, xmm0
movaps xmm0, xmm5
mov edx, dword [esp + 0x1c]
minss xmm0, xmm7
mov esi, dword [esp + 0x28]
movaps xmm1, xmm2
movss dword [esp + 0xa0], xmm2
movaps xmm3, xmm5
subss xmm3, xmm7
mov eax, dword [edx + 0x2e94]
cmp eax, dword [esi]
subss xmm1, xmm0
mov esi, dword [esp + 0x20]
movaps xmm0, xmm1
mulss xmm0, dword [0x102021e0]
addss xmm0, dword [0x10201f14]
divss xmm3, xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x10201f14]
addss xmm3, xmm6
divss xmm1, xmm0
andps xmm3, xmmword [0x10202ae0]
movss dword [esp + 0x98], xmm3
movss dword [esp + 0x9c], xmm1
jne 0x1017ccfd
mov edi, dword [esp + 0x28]
mov eax, dword [edx + 0x2e98]
cmp eax, dword [edi + 4]
mov edi, dword [0x10453c48]
jne 0x1017ccfd
mov esi, dword [esp + 0x28]
mov eax, dword [edx + 0x2e9c]
cmp eax, dword [esi + 8]
mov esi, dword [esp + 0x20]
jne 0x1017ccfd
ucomiss xmm1, dword [0x10201f00]
lahf
test ah, 0x44
jp 0x1017ce32
movss xmm3, dword [edx + 0x2e8c]
movss dword [esp + 0x98], xmm3
ucomiss xmm2, dword [0x10201f00]
lahf
test ah, 0x44
jp 0x1017ccfd
movss xmm1, dword [edx + 0x2e90]
movss dword [esp + 0x9c], xmm1
jmp 0x1017ccfd
movaps xmm7, xmm5
comiss xmm1, dword [0x10201f00]
movss xmm6, dword [0x10202378]
mulss xmm3, xmm6
addss xmm3, xmm7
cvttss2si eax, xmm3
mov dword [esp + 0xa8], eax
jb 0x1017ce85
movaps xmm3, xmm0
jmp 0x1017ce88
movaps xmm3, xmm5
comiss xmm2, dword [0x10201f00]
mulss xmm1, xmm6
addss xmm1, xmm3
cvttss2si eax, xmm1
mov dword [esp + 0xac], eax
jb 0x1017cea9
movaps xmm1, xmm0
jmp 0x1017ceac
movaps xmm1, xmm5
comiss xmm4, dword [0x10201f00]
mulss xmm2, xmm6
addss xmm2, xmm1
cvttss2si eax, xmm2
mov dword [esp + 0xb0], eax
jae 0x1017cecb
movaps xmm0, xmm5
cmp dword [edx + 0x15f0], 0
mulss xmm4, xmm6
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0
addss xmm4, xmm0
cvttss2si eax, xmm4
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x4c]
movss xmm2, dword [eax + 0xec]
movss xmm3, dword [eax + 0xf0]
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x48], xmm3
jne 0x1017cf19
movss xmm1, dword [esp + 0x64]
jmp 0x1017cf1c
xorps xmm1, xmm1
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0xec], xmm0
mov eax, ecx
and eax, 0x20
test ecx, 0x300000
je 0x1017d335
test eax, eax
jne 0x1017d335
mov eax, dword [esp + 0x30]
movss xmm2, dword [edx + 0x15b0]
dec eax
movss xmm1, dword [esp + 0x60]
movaps xmm0, xmm2
push 0
push 0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
mulss xmm0, xmm3
subss xmm1, xmm0
movd xmm0, dword [esp + 0x38]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x10202060]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
movss xmm0, dword [esp + 0x68]
addss xmm2, xmm1
movss dword [esp + 0x5c], xmm1
movss xmm1, dword [0x10202060]
mulss xmm2, xmm3
movss xmm3, dword [0x10202414]
subss xmm0, xmm2
movss xmm2, dword [edi + 0x1988]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, ecx
and eax, 0x1000000
mov ecx, str.M:000
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x2c], eax
mov eax, str.M:0.000
cmove eax, ecx
push eax
push ecx
mov ecx, dword [edi + 0x1984]
lea eax, [esp + 0x48]
maxss xmm1, xmm0
mov dword [esp], 0xbf800000
push eax
movss dword [esp + 0x54], xmm1
call fcn.1016dac0
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [0x10202058]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x54]
movd xmm1, eax
mov eax, dword [esp + 0x18]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jb 0x1017d03f
xor edx, edx
jmp 0x1017d04e
mov edx, eax
and edx, 0x200000
neg edx
sbb edx, edx
neg edx
inc edx
xor ecx, ecx
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x30], ecx
jbe 0x1017d316
shl edx, 4
cmp dword [esp + 0x24], ecx
je 0x1017d1c3
mov esi, dword [esp + 0x1c]
lea edx, [edx + 0x10200640]
and eax, 8
mov dword [esp + 0x24], edx
mov dword [esp + 0x6c], eax
test ecx, ecx
je 0x1017d0a2
movss xmm1, dword [esi + 0x15b0]
xorps xmm0, xmm0
call fcn.10161e80
movss xmm0, dword [esp + 0x54]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0x30]
jl 0x1017d0b5
movss xmm0, dword [esp + 0x40]
or dword [edi + 0x1cd4], 1
cmp byte [esp + 0x50], 0
movss dword [edi + 0x1cd8], xmm0
je 0x1017d0d0
xorps xmm0, xmm0
jmp 0x1017d0d8
movss xmm0, dword [0x10202060]
push 0
push dword [edx]
lea eax, [esp + 0x34]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [0x10201f3c]
mov edx, 8
push eax
lea eax, [esp + 0x74]
mov dword [esp + 0x74], 0
push eax
lea eax, [esp + 0xa8]
lea eax, [eax + ecx*4]
mov ecx, dword [ecx*4 + 0x10200590]
push eax
call fcn.10175a50
mov cl, byte [esp + 0x16]
mov edi, dword [0x10453c48]
or cl, al
or byte [esp + 0x17], cl
cmp dword [esp + 0x6c], 0
mov byte [esp + 0x16], cl
jne 0x1017d19b
cmp byte [edi + 0x42b], 0
je 0x1017d19b
mov ecx, 8
call fcn.10158770
test al, al
je 0x1017d19b
mov eax, dword [edi + 0x1bec]
xor edx, edx
mov ecx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe8]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.10155bc0
cmp dword [edi + 0x1c24], eax
jne 0x1017d17a
mov dword [edi + 0x1c28], eax
cmp dword [edi + 0x1c5c], eax
jne 0x1017d189
mov byte [edi + 0x1c60], 1
mov edx, 1
mov ecx, eax
call fcn.10162d10
mov edi, dword [0x10453c48]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
add edx, 4
movss xmm0, dword [esp + 0x54]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], edx
cmp ecx, dword [esp + 0x30]
jl 0x1017d080
jmp 0x1017d312
xor ecx, ecx
lea edx, [edx + 0x10200560]
cmp byte [esp + 0x50], cl
mov esi, 0xff
mov dword [esp + 0x2c], ecx
cmovne esi, ecx
mov dword [esp + 0x24], edx
and eax, 8
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
nop
test ecx, ecx
jle 0x1017d212
movss xmm1, dword [esi + 0x15b0]
xorps xmm0, xmm0
call fcn.10161e80
movss xmm0, dword [esp + 0x54]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x30]
jl 0x1017d225
movss xmm0, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
or dword [edi + 0x1cd4], 1
push 0
push dword [edx]
mov dword [esp + 0x74], eax
mov edx, 4
lea eax, [esp + 0x74]
movss dword [edi + 0x1cd8], xmm0
movss xmm0, dword [0x10202060]
push eax
lea eax, [esp + 0x74]
mov dword [esp + 0x74], 0
push eax
lea eax, [esp + 0xb8]
lea eax, [eax + ecx*4]
mov ecx, dword [ecx*4 + 0x10200590]
push eax
call fcn.10175a50
or byte [esp + 0x16], al
cmp dword [esp + 0x50], 0
mov edi, dword [0x10453c48]
jne 0x1017d2ef
cmp byte [edi + 0x42b], 0
je 0x1017d2ef
mov ecx, 8
call fcn.10158770
test al, al
je 0x1017d2ef
mov eax, dword [edi + 0x1bec]
xor edx, edx
mov ecx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe8]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.10155bc0
cmp dword [edi + 0x1c24], eax
jne 0x1017d2ce
mov dword [edi + 0x1c28], eax
cmp dword [edi + 0x1c5c], eax
jne 0x1017d2dd
mov byte [edi + 0x1c60], 1
mov edx, 1
mov ecx, eax
call fcn.10162d10
mov edi, dword [0x10453c48]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
add edx, 4
movss xmm0, dword [esp + 0x54]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], edx
cmp ecx, dword [esp + 0x30]
jl 0x1017d1f0
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x20], eax
movss xmm3, dword [esp + 0x48]
movss xmm2, dword [esp + 0x44]
mov edx, dword [esp + 0x1c]
jmp 0x1017d5d3
mov dword [esp + 0x20], eax
test ecx, 0x400000
je 0x1017d5cf
mov dword [esp + 0x20], eax
test eax, eax
jne 0x1017d5cf
cmp byte [esp + 0x34], 0
mov eax, 0xff
je 0x1017d3d7
mov ecx, dword [esp + 0xb4]
test ecx, ecx
jns 0x1017d372
mov dword [esp + 0x40], 0
jmp 0x1017d37b
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x40], ecx
mov edi, dword [esp + 0xb0]
test edi, edi
jns 0x1017d38a
xor edi, edi
jmp 0x1017d38f
cmp edi, eax
cmovg edi, eax
mov edx, dword [esp + 0xac]
test edx, edx
jns 0x1017d39e
xor edx, edx
jmp 0x1017d3a3
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0xa8]
test ecx, ecx
jns 0x1017d3b2
xor ecx, ecx
jmp 0x1017d3b7
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x40]
lea eax, [esp + 0xbc]
push edi
push edx
push ecx
push str._02X_02X_02X_02X
push 0x40
push eax
call fcn.10155b70
add esp, 0x1c
jmp 0x1017d42d
mov edi, dword [esp + 0xb0]
test edi, edi
jns 0x1017d3e6
xor edi, edi
jmp 0x1017d3eb
cmp edi, eax
cmovg edi, eax
mov edx, dword [esp + 0xac]
test edx, edx
jns 0x1017d3fa
xor edx, edx
jmp 0x1017d3ff
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0xa8]
test ecx, ecx
jns 0x1017d40e
xor ecx, ecx
jmp 0x1017d413
cmp ecx, eax
cmovg ecx, eax
push edi
push edx
push ecx
push 0x10200370
lea eax, [esp + 0xc8]
push 0x40
push eax
call fcn.10155b70
add esp, 0x18
mov eax, dword [0x10453c48]
xor edx, edx
movss xmm5, dword [esp + 0x60]
mov ecx, str.Text
push 0
push 0
or dword [eax + 0x1cd4], 1
movss dword [eax + 0x1cd8], xmm5
lea eax, [esp + 0x74]
push 6
push eax
push 0x40
lea eax, [esp + 0xcc]
mov dword [esp + 0x80], 0
push eax
mov dword [esp + 0x88], 0
call fcn.101792d0
test al, al
je 0x1017d52c
mov byte [esp + 0x16], 1
lea ecx, [esp + 0xb8]
mov al, byte [ecx]
cmp al, 0x23
je 0x1017d4a0
cmp al, 0x20
je 0x1017d4a0
cmp al, 9
jne 0x1017d4a3
inc ecx
jmp 0x1017d492
cmp byte [esp + 0x34], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xb4], 0xff
je 0x1017d506
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xb4]
push eax
push 0x10200348
push ecx
call fcn.100c5f90
add esp, 0x18
jmp 0x1017d52c
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0xb0]
push eax
push str._02X_02X_02X
push ecx
call fcn.100c5f90
add esp, 0x14
mov ecx, dword [esp + 0x18]
xor eax, eax
mov edi, dword [0x10453c48]
mov dword [esp + 0x20], eax
test cl, 8
jne 0x1017d320
mov dword [esp + 0x20], eax
cmp byte [edi + 0x42b], al
je 0x1017d320
lea ecx, [eax + 8]
mov dword [esp + 0x20], eax
call fcn.10158770
test al, al
je 0x1017d5bb
mov eax, dword [edi + 0x1bec]
xor edx, edx
mov ecx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe8]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.10155bc0
cmp dword [edi + 0x1c24], eax
jne 0x1017d595
mov dword [edi + 0x1c28], eax
cmp dword [edi + 0x1c5c], eax
jne 0x1017d5a4
mov byte [edi + 0x1c60], 1
mov edx, 1
mov ecx, eax
call fcn.10162d10
mov edi, dword [0x10453c48]
jmp 0x1017d316
movss xmm2, dword [esp + 0x44]
movss xmm3, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], 0
test cl, 0x10
jne 0x1017d956
test eax, eax
jne 0x1017d600
cmp dword [edx + 0x15f0], eax
je 0x1017d600
movss xmm1, dword [esp + 0x60]
addss xmm1, dword [edx + 0x15b0]
jmp 0x1017d603
xorps xmm1, xmm1
cmp byte [esp + 0x34], 0
movaps xmm0, xmm2
mov eax, dword [esp + 0x4c]
addss xmm0, xmm1
movss dword [eax + 0xf0], xmm3
movss dword [eax + 0xec], xmm0
mov eax, dword [esp + 0x28]
je 0x1017d630
movss xmm1, dword [eax + 0xc]
jmp 0x1017d638
movss xmm1, dword [0x10202060]
movss xmm0, dword [eax]
lea edx, [esp + 0x80]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x88], xmm0
movss dword [esp + 0x8c], xmm1
push ecx
mov dword [esp + 0x3c], 0
mov ecx, str.ColorButton
movss xmm0, dword [esp + 0x3c]
mov dword [esp + 0x40], 0
movss xmm1, dword [esp + 0x40]
call fcn.101809e0
test al, al
je 0x1017d771
test byte [esp + 0x18], 4
jne 0x1017d771
mov edi, dword [esp + 0x1c]
xor edx, edx
movups xmm0, xmmword [esp + 0x80]
mov eax, dword [0x10453c48]
movups xmmword [edi + 0x2ea0], xmm0
mov eax, dword [eax + 0x1bec]
mov ecx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe8]
push dword [eax + ecx*4 - 4]
mov ecx, 0x10200380
call fcn.10155bc0
mov ecx, eax
mov eax, dword [0x10453c48]
cmp dword [eax + 0x1c24], ecx
jne 0x1017d6fa
mov dword [eax + 0x1c28], ecx
cmp dword [eax + 0x1c5c], ecx
jne 0x1017d709
mov byte [eax + 0x1c60], 1
xor edx, edx
call fcn.10162d10
movss xmm0, dword [edi + 0x15ac]
mov eax, dword [esp + 0x4c]
mov edi, dword [0x10453c48]
movss xmm1, dword [eax + 0x140]
addss xmm0, dword [eax + 0x14c]
subss xmm1, dword [0x10202060]
or dword [edi + 0x1c74], 1
mov dword [edi + 0x1c8c], 0
mov dword [edi + 0x1c90], 0
movss dword [edi + 0x1c88], xmm0
movss dword [edi + 0x1c84], xmm1
mov dword [edi + 0x1c78], 1
jmp 0x1017d777
mov edi, dword [0x10453c48]
mov ecx, dword [esp + 0x18]
test cl, 8
jne 0x1017d7ec
cmp byte [edi + 0x42b], 0
je 0x1017d7ec
mov ecx, 8
call fcn.10158770
test al, al
je 0x1017d7e8
mov eax, dword [edi + 0x1bec]
xor edx, edx
mov ecx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe8]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.10155bc0
cmp dword [edi + 0x1c24], eax
jne 0x1017d7c7
mov dword [edi + 0x1c28], eax
cmp dword [edi + 0x1c5c], eax
jne 0x1017d7d6
mov byte [edi + 0x1c60], 1
mov edx, 1
mov ecx, eax
call fcn.10162d10
mov edi, dword [0x10453c48]
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x1d30]
cmp eax, dword [edi + 0x1d3c]
jg 0x1017d809
mov dword [edi + 0x1c74], 0
jmp 0x1017d956
mov eax, dword [edi + 0x1bec]
xor edx, edx
mov ecx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe8]
push dword [eax + ecx*4 - 4]
mov ecx, 0x10200380
call fcn.10155bc0
cmp dword [edi + 0x1c24], eax
jne 0x1017d839
mov dword [edi + 0x1c28], eax
cmp dword [edi + 0x1c5c], eax
jne 0x1017d848
mov byte [edi + 0x1c60], 1
mov edx, 0x141
mov ecx, eax
call fcn.10163050
test al, al
je 0x1017d94c
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x5c]
mov eax, dword [edi + 0x1bec]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x58]
cmp ecx, eax
je 0x1017d8c2
push 0
mov edx, eax
call fcn.10170460
mov ecx, dword [0x10453c48]
mov eax, dword [ecx + 0x1bec]
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x1bec]
cmp byte [eax + 0xab], 0
jne 0x1017d8c2
movss xmm0, dword [0x1020244c]
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call fcn.10161b80
mov eax, dword [0x10453c48]
mov ecx, str.picker
movss xmm0, dword [esp + 0x74]
mulss xmm0, dword [0x1020220c]
mov edx, dword [esp + 0x28]
or dword [eax + 0x1cd4], 1
movss dword [eax + 0x1cd8], xmm0
lea eax, [edi + 0x2ea0]
push eax
mov eax, dword [esp + 0x7c]
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.1017df70
mov edi, dword [0x10453c48]
or byte [esp + 0x16], al
mov eax, dword [edi + 0x1bec]
cmp dword [edi + 0x1d54], eax
jne 0x1017d930
mov dword [edi + 0x1e58], eax
mov dword [edi + 0x1e5c], 2
test dword [eax + 8], 0x1000000
je 0x1017d940
mov byte [edi + 0x1b9e], 1
call fcn.101610e0
mov byte [edi + 0x1b9e], 0
mov ecx, dword [esp + 0x18]
mov edi, dword [0x10453c48]
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x5c], eax
je 0x1017d9cb
test cl, cl
js 0x1017d9cb
cmp dword [esp + 0x20], 0
je 0x1017d977
movss xmm0, dword [esp + 0x64]
mov esi, dword [esp + 0x1c]
jmp 0x1017d98a
movd xmm0, esi
mov esi, dword [esp + 0x1c]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esi + 0x15b0]
movss xmm1, dword [esp + 0x44]
mov edx, eax
mov ecx, dword [esp + 0x4c]
addss xmm1, xmm0
movss xmm0, dword [esp + 0x48]
addss xmm0, dword [esi + 0x159c]
push 0
movss dword [ecx + 0xec], xmm1
movss dword [ecx + 0xf0], xmm0
mov ecx, dword [esp + 0x60]
call fcn.10170460
mov edi, dword [0x10453c48]
jmp 0x1017d9cf
mov esi, dword [esp + 0x1c]
cmp byte [esp + 0x16], 0
je 0x1017db7b
cmp dword [esp + 0x24], 0
jne 0x1017db7b
cmp byte [esp + 0x17], 0
jne 0x1017da06
movups xmm0, xmmword [esp + 0xa8]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x10202a80]
movups xmmword [esp + 0x98], xmm0
mov eax, dword [esp + 0x18]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x1017da7a
movss xmm0, dword [esp + 0x98]
lea eax, [esp + 0xa0]
movss xmm1, dword [esp + 0x9c]
lea edx, [esp + 0x9c]
movss xmm2, dword [esp + 0xa0]
lea ecx, [esp + 0x98]
push eax
movss dword [esi + 0x2e8c], xmm0
movss dword [esi + 0x2e90], xmm1
call fcn.10156270
movq xmm0, qword [esp + 0x98]
mov eax, dword [esp + 0xa0]
movq qword [esi + 0x2e94], xmm0
mov dword [esi + 0x2e9c], eax
cmp dword [esp + 0x7c], 0x10100000
jne 0x1017db39
movss xmm1, dword [esp + 0x9c]
xorps xmm5, xmm5
movss xmm4, dword [esp + 0xa0]
movaps xmm0, xmm1
comiss xmm4, xmm0
movss xmm3, dword [esp + 0x98]
movaps xmm2, xmm3
jbe 0x1017dabf
movss xmm5, dword [0x1020244c]
movaps xmm1, xmm4
movaps xmm4, xmm0
comiss xmm1, xmm2
jbe 0x1017dad9
movss xmm0, dword [0x10202430]
movaps xmm3, xmm1
subss xmm0, xmm5
movaps xmm1, xmm2
movaps xmm5, xmm0
movaps xmm0, xmm1
movss dword [esp + 0xa0], xmm3
minss xmm0, xmm4
movaps xmm2, xmm3
subss xmm1, xmm4
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x102021e0]
addss xmm0, dword [0x10201f14]
divss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x10201f14]
addss xmm1, xmm5
divss xmm2, xmm0
andps xmm1, xmmword [0x10202ae0]
movss dword [esp + 0x98], xmm1
movss dword [esp + 0x9c], xmm2
jmp 0x1017db54
movss xmm3, dword [esp + 0xa0]
movss xmm2, dword [esp + 0x9c]
movss xmm1, dword [esp + 0x98]
cmp byte [esp + 0x34], 0
mov eax, dword [esp + 0x28]
movss dword [eax], xmm1
movss dword [eax + 4], xmm2
movss dword [eax + 8], xmm3
je 0x1017db7b
movss xmm0, dword [esp + 0xa4]
movss dword [eax + 0xc], xmm0
mov eax, dword [edi + 0x1bec]
dec dword [eax + 0xe0]
call fcn.10162250
mov edi, dword [esp + 0x4c]
test byte [edi + 0x13c], 1
je 0x1017dcd8
test dword [esp + 0x18], 0x200
jne 0x1017dcd8
call fcn.10166930
test al, al
je 0x1017dcd8
xor edx, edx
mov byte [esp + 0x17], 0
mov ecx, str._COL3F
call fcn.101669b0
mov edi, dword [esp + 0x28]
test eax, eax
je 0x1017dbeb
mov eax, dword [eax]
mov byte [esp + 0x17], 1
mov byte [esp + 0x16], 1
movq xmm0, qword [eax]
movq qword [edi], xmm0
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
xor edx, edx
mov ecx, str._COL4F
call fcn.101669b0
test eax, eax
je 0x1017dc15
mov ecx, dword [esp + 0x30]
shl ecx, 2
push ecx
push dword [eax]
push edi
call fcn.101a1ab0
add esp, 0xc
mov byte [esp + 0x16], 1
jmp 0x1017dc20
cmp byte [esp + 0x17], 0
je 0x1017dcc5
test dword [esp + 0x18], 0x10000000
je 0x1017dcc5
movss xmm2, dword [edi + 4]
movss xmm4, dword [edi + 8]
comiss xmm4, xmm2
movss xmm3, dword [edi]
jbe 0x1017dc54
movss xmm5, dword [0x1020244c]
movaps xmm0, xmm2
movaps xmm2, xmm4
movaps xmm4, xmm0
jmp 0x1017dc57
xorps xmm5, xmm5
comiss xmm2, xmm3
jbe 0x1017dc74
movaps xmm0, xmm3
movaps xmm3, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x10202430]
subss xmm0, xmm5
movaps xmm5, xmm0
movaps xmm0, xmm2
movss dword [edi + 8], xmm3
minss xmm0, xmm4
movaps xmm1, xmm3
subss xmm2, xmm4
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x102021e0]
addss xmm0, dword [0x10201f14]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x10201f14]
addss xmm2, xmm5
divss xmm1, xmm0
andps xmm2, xmmword [0x10202ae0]
movss dword [edi], xmm2
movss dword [edi + 4], xmm1
mov ecx, dword [0x10453c48]
mov edi, dword [esp + 0x4c]
mov byte [ecx + 0x1e9e], 0
jmp 0x1017dcde
mov ecx, dword [0x10453c48]
mov edx, dword [esp + 0x24]
test edx, edx
je 0x1017dcfe
mov eax, dword [esi + 0x1c24]
test eax, eax
je 0x1017dcfe
cmp dword [esi + 0x1c50], edx
jne 0x1017dcfe
mov dword [edi + 0x138], eax
mov al, byte [esp + 0x16]
test al, al
je 0x1017dd1c
mov word [ecx + 0x1c35], 0x101
mov ecx, dword [ecx + 0x1bec]
or dword [ecx + 0x13c], 4
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
xor ecx, esp
call fcn.101a0143
mov esp, ebp
pop ebp
ret 4