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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x138
mov eax, dword [0x10104040]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [0x10157600]
mov dword [esp + 0xa4], eax
push edi
mov edi, edx
mov dword [esp + 0x38], esi
mov eax, dword [esi + 0x3f94]
mov edx, ecx
mov dword [esp + 0xb8], edi
mov dword [esp + 0x24], edx
mov byte [eax + 0xb0], 1
mov eax, dword [esi + 0x3f94]
mov dword [esp + 0xac], eax
cmp byte [eax + 0xb3], 0
je 0x1004ad58
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.10093f63
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 0x26c]
mov dword [esp + 0x34], eax
call fcn.10022ac0
mov ecx, dword [esi + 0x48dc]
mov eax, dword [esi + 0x48d0]
shr ecx, 7
shr eax, 7
or cl, al
movss dword [esp + 0x70], xmm0
and ecx, 0xffffff01
mov dword [esi + 0x48d8], 0
mov dword [esp + 0x50], ecx
mov ecx, edx
mov dword [esi + 0x48dc], 0
call fcn.1001fe90
mov eax, dword [esi + 0x5c60]
mov dword [esp + 0xec], eax
test eax, eax
jne 0x1004add4
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0xec]
mov eax, dword [eax + 0xf4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [esi + 0x5c60], eax
call fcn.10022c70
mov ecx, dword [ebp + 8]
mov edx, ecx
or edx, 0x10
test ecx, 0x100
cmovne edx, ecx
mov dword [esp + 0xd4], edx
test dl, 8
jne 0x1004ae04
mov ecx, edi
call fcn.1004e1b0
mov edx, dword [esp + 0xd4]
test edx, 0x6000000
jne 0x1004ae29
mov eax, dword [esi + 0x5c5c]
mov ecx, 0xa900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x1004ae2b
mov ecx, edx
mov dword [esp + 0xc], ecx
test ecx, 0x18000000
jne 0x1004ae56
mov eax, dword [esi + 0x5c5c]
mov edx, 0xa900000
test eax, 0x18000000
cmovne edx, eax
and edx, 0x18000000
or ecx, edx
mov dword [esp + 0xc], ecx
test cl, 8
jne 0x1004ae6c
mov eax, dword [esi + 0x5c5c]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0xac]
mov edx, ecx
movss xmm2, dword [esi + 0x3904]
and ecx, 0x10002
and edx, 2
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xd4], edx
movss xmm3, dword [eax + 0xf8]
movss xmm0, dword [eax + 0xfc]
mov eax, dword [0x10157600]
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x44], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x74], xmm3
movss xmm4, dword [eax + 0x38f0]
addss xmm4, xmm4
movss dword [esp + 0x40], xmm3
addss xmm4, dword [eax + 0x3cfc]
xor eax, eax
cmp ecx, 0x10000
sete al
inc eax
addss xmm0, xmm4
movss dword [esp + 0x58], xmm4
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
test edx, edx
sete al
mulss xmm1, xmm0
lea eax, [eax*4 + 0xc]
movss xmm0, dword [esp + 0x70]
push eax
subss xmm0, xmm1
movaps xmm1, xmm4
lea eax, [esp + 0x130]
push edi
push eax
maxss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [esp + 0x24], xmm1
addss xmm0, xmm2
movss dword [esp + 0xa4], xmm0
addss xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0xdc], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x100f5ef8]
cvttss2si esi, xmm0
mov dword [esp + 0x8c], esi
call fcn.100accb0
movss xmm0, dword [esp + 0x24]
add esp, 0xc
movaps xmm4, xmm0
mov dword [esp + 0x2c], 0
mulss xmm4, dword [0x100f5f1c]
movaps xmm1, xmm0
mulss xmm1, dword [0x100f5ee8]
movaps xmm3, xmm4
movss dword [esp + 0xac], xmm4
subss xmm3, xmm1
movss dword [esp + 0x6c], xmm1
movaps xmm1, xmm0
mulss xmm0, dword [0x100f5ed4]
addss xmm1, dword [esp + 0x58]
cvttss2si eax, xmm0
mulss xmm1, dword [0x100f5f1c]
movss dword [esp + 0xa4], xmm3
addss xmm1, dword [esp + 0x74]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xcc], xmm1
movss dword [esp + 0x100], xmm1
movaps xmm1, xmm4
addss xmm1, dword [esp + 0x20]
movss dword [esp + 0xc0], xmm1
movss dword [esp + 0x104], xmm1
movaps xmm1, xmm3
subss xmm1, xmm0
movss dword [esp + 0x28], xmm1
movss xmm7, dword [edi + 8]
movaps xmm0, xmm1
mulss xmm0, dword [0x100f6118]
movaps xmm2, xmm1
mov eax, dword [esp + 0xc]
mulss xmm2, dword [0x100f6124]
movss xmm5, dword [0x100f5eac]
movss dword [esp + 0xd8], xmm0
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x110], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100f5f54]
movss xmm1, dword [edi + 4]
movss dword [esp + 0xb4], xmm2
movss dword [esp + 0x60], xmm2
movss dword [esp + 0xbc], xmm0
movss dword [esp + 0x114], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0x10], xmm0
movaps xmm2, xmm0
movss dword [esp + 0x9c], xmm2
movss dword [esp + 0xa0], xmm2
movaps xmm2, xmm1
movss dword [esp + 0x54], xmm2
movss dword [esp + 0x94], xmm2
movaps xmm2, xmm7
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x4c], xmm7
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x84], xmm2
test eax, 0x8000000
je 0x1004b1a0
comiss xmm7, xmm1
xorps xmm3, xmm3
movaps xmm2, xmm1
movaps xmm4, xmm7
jbe 0x1004b0f8
movss xmm3, dword [0x100f6128]
movaps xmm2, xmm7
movaps xmm4, xmm1
comiss xmm2, xmm0
movaps xmm7, xmm0
movss dword [esp + 0x4c], xmm7
jbe 0x1004b121
movaps xmm7, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x100f6114]
subss xmm0, xmm3
movss dword [esp + 0x4c], xmm7
movaps xmm3, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x10], xmm7
minss xmm0, xmm4
movaps xmm1, xmm7
subss xmm2, xmm4
mov ecx, edi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x4c]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x24]
movaps xmm0, xmm1
mulss xmm0, dword [0x100f6014]
addss xmm0, xmm5
divss xmm2, xmm0
movaps xmm0, xmm7
addss xmm0, xmm5
addss xmm2, xmm3
divss xmm1, xmm0
andps xmm2, xmmword [0x100f6720]
movss dword [esp + 0x24], xmm2
movss dword [esp + 0x50], xmm1
call fcn.10049a20
movss xmm0, dword [esp + 0x24]
add esp, 8
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x1c], xmm0
jmp 0x1004b1f5
test eax, 0x10000000
je 0x1004b1f5
lea eax, [esp + 0x84]
push eax
lea edx, [esp + 0x98]
lea ecx, [esp + 0xa4]
call fcn.10013320
movss xmm0, dword [esp + 0xa4]
add esp, 4
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [esp + 0x94]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x84]
movss dword [esp + 0x3c], xmm0
mov ecx, dword [0x10157600]
lea edx, [ecx + 0x49e0]
mov byte [esp + 9], 0
mov byte [esp + 0x17], 0
mov byte [esp + 0xa], 0
mov eax, dword [ecx + 0x48d0]
or eax, 8
mov dword [esp + 0x48], edx
mov dword [ecx + 0x48d0], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x70], eax
cmp dword [edx], ecx
jne 0x1004b25a
test ecx, ecx
je 0x1004b241
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x48]
sar eax, 1
add eax, ecx
jmp 0x1004b246
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.1002a590
mov edx, dword [esp + 0x48]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x70]
mov dword [eax + ecx*4], esi
inc dword [edx]
mov eax, dword [esp + 0xc]
test eax, 0x4000000
je 0x1004b840
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0xf0]
movss xmm1, dword [esp + 0x18]
movaps xmm0, xmm1
movss dword [esp + 0xf4], xmm1
push ecx
addss xmm0, dword [ecx + 0x3904]
mov ecx, 0x100f1470
addss xmm0, dword [esp + 0x5c]
movss dword [esp + 0xf4], xmm0
call fcn.1003e630
mov eax, dword [0x10157600]
add esp, 4
mov ecx, dword [eax + 0x3fe4]
test ecx, ecx
je 0x1004b757
cmp ecx, dword [eax + 0x48f8]
jne 0x1004b757
cmp byte [esp + 0x50], 0
jne 0x1004b757
mov eax, dword [esp + 0x38]
movss xmm0, dword [eax + 0x37d8]
subss xmm0, dword [esp + 0xc0]
movss xmm1, dword [eax + 0x37d4]
subss xmm1, dword [esp + 0xcc]
movss xmm2, dword [eax + 0xe04]
movss xmm4, dword [eax + 0xe08]
subss xmm2, dword [esp + 0xcc]
subss xmm4, dword [esp + 0xc0]
movaps xmm3, xmm0
movss dword [esp + 0xc4], xmm0
mulss xmm3, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x70], xmm1
movss xmm1, dword [0x100f5f68]
addss xmm3, xmm0
movss dword [esp + 0xdc], xmm2
movss xmm0, dword [esp + 0xa4]
subss xmm0, xmm1
movss dword [esp + 0xc8], xmm4
mulss xmm0, xmm0
comiss xmm3, xmm0
jb 0x1004b409
movss xmm0, dword [esp + 0xac]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm3
jb 0x1004b409
cvtps2pd xmm0, xmm4
movsd qword [esp + 0xf0], xmm0
fld qword [esp + 0xf0]
cvtps2pd xmm0, xmm2
movsd qword [esp + 0xf0], xmm0
fld qword [esp + 0xf0]
call fcn.100d37c0
fstp qword [esp + 0xf0]
movsd xmm1, qword [esp + 0xf0]
xorps xmm0, xmm0
cvtpd2ps xmm1, xmm1
divss xmm1, dword [0x100f6000]
mulss xmm1, dword [0x100f5f1c]
comiss xmm0, xmm1
movss dword [esp + 0x10], xmm1
jbe 0x1004b401
addss xmm1, dword [0x100f5f68]
movss dword [esp + 0x10], xmm1
mov cl, 1
mov byte [esp + 9], cl
jmp 0x1004b413
mov cl, byte [esp + 9]
movss xmm1, dword [esp + 0x10]
movaps xmm0, xmm1
mov byte [esp + 0x17], cl
xorps xmm0, xmmword [0x100f6740]
addss xmm0, xmm0
mulss xmm0, dword [0x100f6000]
cvtss2sd xmm0, xmm0
movsd qword [esp + 0xf0], xmm0
call fcn.100d3d10
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x50], xmm0
movsd xmm0, qword [esp + 0xf0]
call fcn.100d4cb0
movss xmm4, dword [esp + 0x70]
xorps xmm3, xmm3
movss xmm1, dword [esp + 0xc4]
movaps xmm5, xmm4
mulss xmm5, dword [esp + 0x50]
cvtsd2ss xmm3, xmm0
movss xmm7, dword [esp + 0xd8]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x50]
mulss xmm0, xmm3
mulss xmm4, xmm3
subss xmm5, xmm0
movss xmm6, dword [esp + 0x28]
movss xmm0, dword [esp + 0xb4]
subss xmm6, xmm7
subss xmm0, dword [esp + 0xbc]
addss xmm4, xmm1
movss dword [esp + 0x48], xmm3
movaps xmm3, xmm7
movaps xmm2, xmm5
subss xmm3, xmm7
subss xmm2, xmm7
movss dword [esp + 0x7c], xmm6
movaps xmm1, xmm0
movss dword [esp + 0xc4], xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x70], xmm3
mulss xmm1, xmm2
mulss xmm0, xmm3
xorps xmm3, xmm3
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xb4]
comiss xmm3, xmm1
movaps xmm1, xmm0
movss dword [esp + 0xe4], xmm0
movaps xmm0, xmm4
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0xb4]
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x1004b74f
movss xmm7, dword [esp + 0xbc]
subss xmm4, xmm3
movss xmm6, dword [esp + 0xd8]
subss xmm7, xmm3
subss xmm6, dword [esp + 0x28]
subss xmm5, dword [esp + 0x28]
movss dword [esp + 0x88], xmm7
mulss xmm4, xmm6
mulss xmm5, xmm7
movss dword [esp + 0x78], xmm6
subss xmm5, xmm4
comiss xmm3, xmm5
seta al
cmp cl, al
jne 0x1004b74f
movss xmm4, dword [esp + 0xdc]
movss xmm1, dword [esp + 0xc8]
movaps xmm5, xmm4
mulss xmm5, dword [esp + 0x50]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x50]
mulss xmm0, dword [esp + 0x48]
mulss xmm4, dword [esp + 0x48]
subss xmm5, xmm0
addss xmm4, xmm1
movaps xmm1, xmm5
movss dword [esp + 0xf0], xmm5
subss xmm1, dword [esp + 0xd8]
movaps xmm0, xmm4
movss dword [esp + 0xf4], xmm4
subss xmm0, dword [esp + 0xbc]
mulss xmm1, dword [esp + 0xc4]
mulss xmm0, dword [esp + 0x70]
subss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0xb4]
comiss xmm3, xmm1
mulss xmm0, dword [esp + 0x7c]
movaps xmm1, xmm5
subss xmm1, dword [esp + 0xd8]
seta cl
mulss xmm1, dword [esp + 0xe4]
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x1004b664
movaps xmm1, xmm5
movaps xmm0, xmm4
subss xmm1, dword [esp + 0x28]
subss xmm0, xmm3
mulss xmm1, xmm7
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp cl, al
je 0x1004b6aa
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x64]
push eax
lea edx, [esp + 0x34]
lea ecx, [esp + 0xf0]
call fcn.10012840
movss xmm6, dword [esp + 0x84]
add esp, 0xc
movss xmm7, dword [esp + 0x88]
xorps xmm3, xmm3
movss xmm5, dword [eax]
movss xmm4, dword [eax + 4]
movss xmm2, dword [esp + 0xb4]
subss xmm4, xmm3
subss xmm5, dword [esp + 0x28]
subss xmm2, xmm3
movaps xmm1, xmm6
mulss xmm1, xmm7
mulss xmm4, xmm6
movaps xmm0, xmm2
movss xmm3, dword [0x100f5f68]
mulss xmm0, xmm6
movaps xmm6, xmm3
subss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm7
mulss xmm5, xmm2
subss xmm0, xmm4
subss xmm4, xmm5
divss xmm0, xmm1
divss xmm4, xmm1
movss xmm1, dword [0x100f5ec0]
subss xmm6, xmm0
movss dword [esp + 0x1c], xmm1
comiss xmm1, xmm6
movaps xmm2, xmm6
subss xmm2, xmm4
jbe 0x1004b720
movaps xmm0, xmm1
jmp 0x1004b727
movaps xmm0, xmm3
minss xmm0, xmm6
divss xmm2, xmm0
movss dword [esp + 0x4c], xmm0
comiss xmm1, xmm2
ja 0x1004b743
movaps xmm1, xmm3
minss xmm1, xmm2
movss dword [esp + 0x1c], xmm1
mov byte [esp + 0xa], 1
mov byte [esp + 9], 1
jmp 0x1004b757
mov al, byte [esp + 9]
mov byte [esp + 0x17], al
mov eax, dword [esp + 0xc]
test al, 8
jne 0x1004b764
call fcn.10023ef0
movss xmm2, dword [esp + 0x18]
movss xmm4, dword [esp + 0x20]
cmp dword [esp + 0xb0], 0x10000
mov esi, dword [esp + 0x80]
jne 0x1004ba9d
mov ecx, dword [0x10157600]
lea edx, [esp + 0x5c]
movss xmm0, dword [esp + 0xd0]
push ecx
movss dword [esp + 0x64], xmm2
mov eax, dword [ecx + 0x3f94]
mov byte [eax + 0xb0], 1
mov eax, dword [ecx + 0x3f94]
mov ecx, 0x100f147c
movss dword [eax + 0xf8], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [eax + 0xfc], xmm4
mov byte [eax + 0x139], 1
movss dword [esp + 0x60], xmm0
call fcn.1003e630
mov eax, dword [0x10157600]
add esp, 4
mov ecx, dword [eax + 0x3fe4]
test ecx, ecx
je 0x1004ba9d
cmp ecx, dword [eax + 0x48f8]
jne 0x1004ba9d
mov eax, dword [esp + 0x38]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x18]
movss xmm1, dword [0x100f5f68]
subss xmm0, xmm1
movss xmm3, dword [eax + 0xe08]
subss xmm3, dword [esp + 0x20]
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x1004ba85
xorps xmm4, xmm4
jmp 0x1004ba8c
test eax, 0x2000000
je 0x1004b764
movss xmm0, dword [esp + 0x18]
lea edx, [esp + 0x5c]
push ecx
mov ecx, 0x100f1474
movss dword [esp + 0x60], xmm0
movss dword [esp + 0x64], xmm0
call fcn.1003e630
mov ecx, dword [0x10157600]
add esp, 4
mov eax, dword [ecx + 0x3fe4]
test eax, eax
je 0x1004b972
cmp eax, dword [ecx + 0x48f8]
jne 0x1004b972
cmp byte [esp + 0x50], 0
jne 0x1004b972
mov eax, dword [esp + 0x38]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x18]
movss xmm1, dword [0x100f5f68]
subss xmm4, xmm1
movss xmm3, dword [eax + 0xe04]
subss xmm3, dword [esp + 0x74]
divss xmm3, xmm4
comiss xmm0, xmm3
jbe 0x1004b8d2
movss dword [esp + 0x1c], xmm0
jmp 0x1004b8df
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x1c], xmm2
movss xmm2, dword [eax + 0xe08]
subss xmm2, dword [esp + 0x20]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x1004b8fb
xorps xmm3, xmm3
jmp 0x1004b902
movaps xmm3, xmm1
minss xmm3, xmm2
mov eax, dword [ecx + 0x5c64]
movaps xmm0, xmm1
subss xmm0, xmm3
movss dword [esp + 0x4c], xmm0
cmp eax, dword [ecx + 0x5c60]
jne 0x1004b96a
movss xmm0, dword [edi]
lea ecx, [esp + 0x5c]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x64], xmm0
mov dword [esp + 0x68], 0
call fcn.10013270
mov ecx, dword [0x10157600]
cmp dword [ecx + 0x5c70], eax
jne 0x1004b96a
movss xmm0, dword [ecx + 0x5c68]
movss dword [esp + 0x10], xmm0
mov al, 1
mov byte [esp + 9], al
jmp 0x1004b976
mov al, byte [esp + 9]
mov byte [esp + 0xa], al
mov byte [esp + 0xb], al
mov eax, dword [esp + 0xc]
test al, 8
jne 0x1004b98b
call fcn.10023ef0
mov ecx, dword [0x10157600]
lea edx, [esp + 0x5c]
movss xmm0, dword [esp + 0x98]
push ecx
mov eax, dword [ecx + 0x3f94]
mov byte [eax + 0xb0], 1
mov eax, dword [ecx + 0x3f94]
mov ecx, 0x100f1478
movss dword [eax + 0xf8], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [eax + 0xfc], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x1c]
mov byte [eax + 0x139], 1
movss dword [esp + 0x64], xmm0
call fcn.1003e630
mov eax, dword [0x10157600]
add esp, 4
mov ecx, dword [eax + 0x3fe4]
test ecx, ecx
je 0x1004b764
mov dl, byte [esp + 9]
mov byte [esp + 0xa], dl
cmp ecx, dword [eax + 0x48f8]
jne 0x1004b764
cmp byte [esp + 0x50], 0
movss xmm4, dword [esp + 0x20]
movss xmm2, dword [esp + 0x18]
mov byte [esp + 0xa], dl
jne 0x1004b770
mov ecx, dword [esp + 0x38]
movaps xmm0, xmm2
movss xmm3, dword [0x100f5f68]
subss xmm0, xmm3
movss xmm1, dword [ecx + 0xe08]
subss xmm1, xmm4
divss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x1004ba68
movaps xmm0, xmm3
minss xmm0, xmm1
mov al, byte [esp + 0xb]
movss dword [esp + 0x10], xmm0
mov byte [esp + 0x17], 1
mov byte [esp + 9], 1
mov byte [esp + 0xa], al
jmp 0x1004b770
movaps xmm4, xmm1
minss xmm4, xmm3
movaps xmm0, xmm1
mov byte [esp + 9], 1
subss xmm0, xmm4
movss dword [edi + 0xc], xmm0
mov edx, dword [0x10157600]
dec dword [edx + 0x49e0]
mov eax, dword [edx + 0x49e8]
mov ecx, dword [edx + 0x49e0]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x48d0], eax
mov edx, dword [esp + 0xc]
test edx, 0x100
jne 0x1004bae8
mov eax, dword [esp + 0x38]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x3904]
call fcn.100228f0
call fcn.10022c70
mov edx, dword [esp + 0xc]
test dl, dl
js 0x1004bb50
mov ecx, dword [esp + 0x24]
cmp ecx, 0xffffffff
jae 0x1004bb50
mov al, byte [ecx]
mov byte [esp + 0xb], al
test al, al
je 0x1004bb0e
cmp al, 0x23
jne 0x1004bb08
cmp byte [ecx + 1], al
je 0x1004bb0e
inc ecx
cmp ecx, 0xffffffff
jb 0x1004baf5
mov eax, dword [esp + 0x24]
mov dword [esp + 0x50], ecx
cmp eax, ecx
je 0x1004bb50
test edx, 0x100
je 0x1004bb3e
mov eax, dword [esp + 0x38]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x3904]
call fcn.100228f0
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x24]
mov edx, ecx
mov ecx, eax
push 0
call fcn.1003d390
mov edx, dword [esp + 0x10]
add esp, 4
test edx, 0x100
jne 0x1004bd9c
mov eax, dword [0x10157600]
mov ecx, dword [eax + 0x48d0]
or ecx, 0x10
mov dword [eax + 0x48d0], ecx
add eax, 0x49e0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x24], eax
mov ecx, dword [eax + 4]
mov dword [esp + 0x88], ecx
cmp dword [eax], ecx
jne 0x1004bbca
mov edx, dword [eax]
inc edx
mov dword [esp + 0x78], edx
test ecx, ecx
je 0x1004bbb0
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x78]
mov ecx, eax
mov eax, dword [esp + 0x24]
sar ecx, 1
add ecx, dword [esp + 0x88]
jmp 0x1004bbb5
mov ecx, 8
cmp ecx, edx
cmovg edx, ecx
mov ecx, eax
push edx
call fcn.1002a590
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x7c]
mov dword [eax + ecx*4], esi
mov eax, dword [esp + 0x24]
inc dword [eax]
test dl, 2
je 0x1004bbeb
movss xmm1, dword [0x100f5f68]
jmp 0x1004bbf0
movss xmm1, dword [edi + 0xc]
movss xmm0, dword [edi]
mov esi, dword [esp + 0x80]
movss dword [esp + 0x110], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x114], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x118], xmm0
movss dword [esp + 0x11c], xmm1
test dl, dl
jns 0x1004bc3e
push str.Current
call fcn.1003daa0
mov edx, dword [esp + 0x10]
add esp, 4
movss xmm1, dword [esp + 0x58]
lea ecx, [esp + 0x5c]
movaps xmm0, xmm1
and edx, 0x180e0040
mulss xmm0, dword [0x100f5ffc]
push ecx
mov dword [esp + 0x80], edx
mov ecx, str.current
push edx
movss dword [esp + 0x90], xmm0
lea edx, [esp + 0x118]
movss dword [esp + 0x64], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x80], xmm0
movss dword [esp + 0x68], xmm0
call fcn.1004d390
add esp, 8
cmp dword [esp + 0xa8], 0
je 0x1004bd71
push str.Original
call fcn.1003daa0
mov eax, dword [esp + 0x10]
add esp, 4
test al, 2
mov eax, dword [esp + 0xa8]
je 0x1004bccf
movss xmm1, dword [0x100f5f68]
jmp 0x1004bcd4
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0xf0]
movss dword [esp + 0xf0], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0xf4], xmm0
movss xmm0, dword [eax + 8]
lea eax, [esp + 0x5c]
movss dword [esp + 0xf8], xmm0
movss xmm0, dword [esp + 0x88]
push eax
push dword [esp + 0x80]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0x104], xmm1
movss dword [esp + 0x68], xmm0
call fcn.1004d390
add esp, 8
test al, al
je 0x1004bd71
xor eax, eax
cmp dword [esp + 0xd4], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0xac]
push edi
call fcn.100accb0
add esp, 0xc
mov byte [esp + 9], 1
mov edx, dword [0x10157600]
dec dword [edx + 0x49e0]
mov eax, dword [edx + 0x49e8]
mov ecx, dword [edx + 0x49e0]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x48d0], eax
call fcn.10022dd0
mov edx, dword [esp + 0xc]
cmp byte [esp + 0x17], 0
jne 0x1004bdae
cmp byte [esp + 0xa], 0
je 0x1004be6e
test edx, 0x8000000
je 0x1004be46
movss xmm2, dword [esp + 0x4c]
lea eax, [edi + 8]
movss xmm1, dword [esp + 0x1c]
lea edx, [edi + 4]
movss xmm0, dword [esp + 0x10]
mov ecx, edi
push eax
call fcn.10013320
mov ecx, dword [esp + 0x3c]
add esp, 4
movss xmm0, dword [esp + 0x10]
mov dword [esp + 0x68], 0
mov eax, dword [ecx + 0x5c60]
movss dword [ecx + 0x5c68], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [ecx + 0x5c6c], xmm0
mov dword [ecx + 0x5c64], eax
lea ecx, [esp + 0x5c]
movss xmm0, dword [edi]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x64], xmm0
call fcn.10013270
mov ecx, dword [esp + 0x38]
mov dword [ecx + 0x5c70], eax
jmp 0x1004be6e
test edx, 0x10000000
je 0x1004be6e
movss xmm0, dword [esp + 0x10]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x4c]
movss dword [edi + 8], xmm0
mov eax, dword [esp + 0xc]
mov byte [esp + 0xb], 0
test al, 0x20
jne 0x1004c0b3
cmp dword [esp + 0xb0], 0x10000
jne 0x1004be97
movss xmm0, dword [esp + 0xd0]
jmp 0x1004bea0
movss xmm0, dword [esp + 0x98]
addss xmm0, dword [esp + 0x58]
subss xmm0, dword [esp + 0x74]
call fcn.100229e0
mov eax, dword [esp + 0xc]
mov ecx, eax
and ecx, 0x198e005a
mov dword [esp + 0x24], ecx
test eax, 0x100000
jne 0x1004becf
test eax, 0x700000
jne 0x1004bf16
or ecx, 0x100004
mov edx, edi
push ecx
mov ecx, str.rgb
call fcn.10049ae0
add esp, 4
test al, al
je 0x1004bf0e
mov eax, dword [esp + 0x38]
cmp dword [eax + 0x3fe4], 0
je 0x1004bf04
cmp byte [eax + 0x3ff1], 0
mov byte [esp + 0xb], 1
je 0x1004bf09
mov byte [esp + 0xb], 0
mov byte [esp + 9], 1
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0xc]
test eax, 0x200000
jne 0x1004bf24
test eax, 0x700000
jne 0x1004bf42
or ecx, 0x200004
mov edx, edi
push ecx
mov ecx, str.hsv
call fcn.10049ae0
add esp, 4
or byte [esp + 9], al
mov eax, dword [esp + 0xc]
test eax, 0x400000
jne 0x1004bf50
test eax, 0x700000
jne 0x1004bf6d
mov eax, dword [esp + 0x24]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.10049ae0
add esp, 4
or byte [esp + 9], al
cmp byte [esp + 0xb], 0
mov ecx, dword [0x10157600]
mov eax, dword [ecx + 0x3f94]
mov byte [eax + 0xb0], 1
mov edx, dword [ecx + 0x3f94]
mov ecx, dword [edx + 0x1b0]
mov eax, dword [edx + 0x1b8]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1a8], eax
lea eax, [ecx - 1]
mov dword [edx + 0x1b0], eax
mov eax, dword [esp + 0xc]
je 0x1004c0b3
test eax, 0x8000000
je 0x1004c0b3
movss xmm3, dword [edi + 4]
xorps xmm2, xmm2
movss xmm5, dword [edi + 8]
xorps xmm6, xmm6
comiss xmm5, xmm3
movss xmm4, dword [edi]
jbe 0x1004bfe9
movss xmm6, dword [0x100f6128]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x1004c006
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x100f6114]
subss xmm0, xmm6
movaps xmm6, xmm0
movaps xmm0, xmm3
movaps xmm1, xmm4
minss xmm0, xmm5
subss xmm3, xmm5
subss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x100f5eac]
movaps xmm7, xmm1
mulss xmm1, dword [0x100f6014]
divss xmm7, xmm0
addss xmm1, dword [0x100f5eac]
divss xmm3, xmm1
addss xmm3, xmm6
movss xmm6, dword [0x100f6720]
andps xmm3, xmm6
comiss xmm2, xmm3
jb 0x1004c0bb
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm2
jbe 0x1004c0bb
comiss xmm2, xmm4
jb 0x1004c088
movss xmm1, dword [esp + 0x4c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1004c084
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x1c]
mulss xmm2, dword [0x100f5f1c]
jmp 0x1004c09e
mov eax, dword [esp + 0xc]
comiss xmm2, xmm7
jb 0x1004c0bb
movss xmm1, dword [esp + 0x1c]
movaps xmm2, xmm4
mulss xmm1, dword [0x100f5f1c]
lea eax, [edi + 8]
mov ecx, edi
push eax
lea edx, [edi + 4]
call fcn.10013320
mov eax, dword [esp + 0x10]
add esp, 4
movss xmm6, dword [0x100f6720]
cmp byte [esp + 9], 0
je 0x1004c23a
test eax, 0x8000000
je 0x1004c1bf
movss xmm0, dword [edi + 4]
xorps xmm4, xmm4
movss xmm1, dword [edi + 8]
movaps xmm2, xmm0
comiss xmm1, xmm0
movss xmm7, dword [edi]
movaps xmm5, xmm1
movss dword [esp + 0x9c], xmm7
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x3c], xmm1
jbe 0x1004c110
movss xmm4, dword [0x100f6128]
movaps xmm2, xmm1
movaps xmm5, xmm0
comiss xmm2, xmm7
movaps xmm3, xmm7
movss dword [esp + 0x4c], xmm3
jbe 0x1004c139
movss xmm0, dword [0x100f6114]
movaps xmm3, xmm2
subss xmm0, xmm4
movss dword [esp + 0x4c], xmm3
movaps xmm2, xmm7
movaps xmm4, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x10], xmm3
minss xmm0, xmm5
movaps xmm1, xmm3
subss xmm2, xmm5
mov ecx, edi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x4c]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x24]
movaps xmm0, xmm1
mulss xmm0, dword [0x100f6014]
addss xmm0, dword [0x100f5eac]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x100f5eac]
addss xmm2, xmm4
divss xmm1, xmm0
andps xmm2, xmm6
movss dword [esp + 0x24], xmm2
movss dword [esp + 0x50], xmm1
call fcn.10049a20
movss xmm3, dword [esp + 0x24]
add esp, 8
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x10], xmm3
movss dword [esp + 0x1c], xmm0
jmp 0x1004c240
test eax, 0x10000000
je 0x1004c23a
movss xmm1, dword [edi + 8]
lea eax, [esp + 0x84]
movss xmm3, dword [edi + 4]
lea edx, [esp + 0x94]
movss xmm0, dword [edi]
lea ecx, [esp + 0xa0]
movss dword [esp + 0x4c], xmm1
movaps xmm2, xmm1
push eax
movaps xmm1, xmm3
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x20], xmm3
call fcn.10013320
movss xmm0, dword [esp + 0xa4]
add esp, 4
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [esp + 0x94]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x84]
movss dword [esp + 0x3c], xmm0
movss xmm3, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
xorps xmm0, xmm0
movss xmm2, dword [eax + 0x38b0]
comiss xmm0, xmm2
movss xmm0, dword [0x100f5f68]
jbe 0x1004c261
xorps xmm1, xmm1
jmp 0x1004c268
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x100f6094]
mov dword [esp + 0x5c], 0x3f800000
movss dword [esp + 0x68], xmm2
movaps xmm2, xmm0
mov dword [esp + 0x60], 0x3f800000
addss xmm1, dword [0x100f5f1c]
mov dword [esp + 0x64], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x48], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x84], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0x110], ecx
or eax, 0x808080
mov dword [esp + 0x128], ecx
mov dword [esp + 0x94], eax
lea ecx, [esp + 0x5c]
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x114], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x118], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x11c], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0x120], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0x60]
mov dword [esp + 0x124], eax
lea eax, [esp + 0x64]
push eax
call fcn.10013320
movss xmm1, dword [esp + 0x60]
xorps xmm6, xmm6
movss xmm7, dword [0x100f5f68]
add esp, 4
comiss xmm6, xmm1
jbe 0x1004c352
xorps xmm0, xmm0
jmp 0x1004c359
movaps xmm0, xmm7
minss xmm0, xmm1
movss xmm1, dword [0x100f6094]
movss xmm3, dword [0x100f5f1c]
movss xmm2, dword [esp + 0x60]
comiss xmm6, xmm2
mulss xmm0, xmm1
addss xmm0, xmm3
cvttss2si ecx, xmm0
jbe 0x1004c385
xorps xmm0, xmm0
jmp 0x1004c38c
movaps xmm0, xmm7
minss xmm0, xmm2
movss xmm2, dword [esp + 0x64]
mulss xmm0, xmm1
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm6, xmm2
jbe 0x1004c3ad
xorps xmm0, xmm0
jmp 0x1004c3b4
movaps xmm0, xmm7
minss xmm0, xmm2
mulss xmm0, xmm1
addss xmm0, xmm3
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x68]
shl eax, 0x10
or ecx, eax
comiss xmm6, xmm0
ja 0x1004c3d7
movaps xmm6, xmm7
minss xmm6, xmm0
movss xmm0, dword [esp + 0x9c]
mulss xmm6, xmm1
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0x54]
addss xmm6, xmm3
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x64], xmm0
cvttss2si eax, xmm6
shl eax, 0x18
or eax, ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x38]
movss xmm0, dword [eax + 0x38b0]
movss dword [esp + 0x68], xmm0
call fcn.10013270
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
test eax, 0x4000000
je 0x1004cc5d
movss xmm1, dword [esp + 0xac]
mov eax, 0x2aaaaaab
movss xmm3, dword [0x100f5f1c]
movss xmm2, dword [esp + 0xa4]
divss xmm3, xmm1
cvttss2si ecx, xmm1
addss xmm2, xmm1
movss dword [esp + 0xc4], xmm3
imul ecx
mulss xmm2, dword [0x100f5f1c]
mov ecx, 4
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
movss dword [esp + 0xdc], xmm2
cmp eax, ecx
cmovle eax, ecx
xor esi, esi
mov dword [esp + 0x74], eax
mov dword [esp + 0x98], esi
nop
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mov ecx, dword [esp + 0x34]
push eax
push ecx
lea eax, [esp + 0x108]
mov edi, dword [ecx + 0x18]
movaps xmm0, xmm1
addss xmm1, xmm7
divss xmm0, dword [0x100f6014]
divss xmm1, dword [0x100f6014]
addss xmm0, xmm0
addss xmm1, xmm1
mulss xmm0, dword [0x100f6000]
mulss xmm1, dword [0x100f6000]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x2c], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x48], xmm1
call fcn.10034dc0
movss xmm0, dword [esp + 0x6c]
mov eax, dword [esp + 0x34]
push ecx
movss dword [esp], xmm0
mov ecx, eax
push 0
push dword [esp + 0x8c]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10033850
movss xmm0, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
cvtps2pd xmm0, xmm0
mov dword [ecx + 0x54], 0
call fcn.100d3d10
movss xmm1, dword [esp + 0x24]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xa4]
addss xmm0, dword [esp + 0xcc]
movss dword [esp + 0xa0], xmm0
cvtps2pd xmm0, xmm1
call fcn.100d4cb0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xa4]
addss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [esp + 0x3c]
cvtps2pd xmm0, xmm0
call fcn.100d3d10
movss xmm1, dword [esp + 0x3c]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xa4]
addss xmm0, dword [esp + 0xcc]
movss dword [esp + 0x24], xmm0
cvtps2pd xmm0, xmm1
call fcn.100d4cb0
movss xmm2, dword [esp + 0x24]
subss xmm2, dword [esp + 0xa0]
cvtsd2ss xmm0, xmm0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + esi*4 + 0x110]
movss xmm7, dword [0x100f5f68]
mulss xmm0, dword [esp + 0xa4]
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
movss dword [esp + 0x24], xmm2
addss xmm0, dword [esp + 0xc0]
lea eax, [eax + eax*4]
subss xmm0, dword [esp + 0x9c]
movaps xmm1, xmm0
movss dword [esp + 0xe4], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
movaps xmm0, xmm7
divss xmm0, xmm1
movss dword [esp + 0xc8], xmm0
lea eax, [edx + eax*4]
mov dword [esp + 0x88], eax
movzx eax, cl
mov dword [esp + 0xa8], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x54], eax
shr ecx, 0x10
movzx eax, cl
mov ecx, dword [esp + esi*4 + 0x114]
mov dword [esp + 0x3c], eax
movzx eax, cl
sub eax, dword [esp + 0xa8]
mov dword [esp + 0x7c], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0x54]
shr ecx, 0x10
mov dword [esp + 0x78], eax
lea eax, [edi + edi*4]
mov edi, dword [esp + 0x88]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x3c]
cmp edx, edi
jae 0x1004c7b5
movd xmm4, dword [esp + 0x3c]
movd xmm5, dword [esp + 0x78]
movd xmm6, dword [esp + 0x54]
mov esi, dword [esp + 0x7c]
movd xmm3, ecx
cvtdq2ps xmm3, xmm3
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm5, xmm5
cvtdq2ps xmm6, xmm6
nop word [eax + eax]
movss xmm0, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm1, dword [esp + 0x9c]
subss xmm0, dword [esp + 0xa0]
mulss xmm1, dword [esp + 0xe4]
mulss xmm0, xmm2
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [esp + 0xc8]
comiss xmm0, xmm1
jbe 0x1004c742
xorps xmm2, xmm2
jmp 0x1004c749
movaps xmm2, xmm7
minss xmm2, xmm1
movaps xmm0, xmm2
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ecx, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm5
shl ecx, 8
addss xmm0, xmm6
cvttss2si eax, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
or ecx, eax
shl ecx, 8
mulss xmm2, xmm0
movd xmm0, dword [esp + 0xa8]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0x24]
or ecx, eax
mov eax, dword [edx + 0x10]
and eax, 0xff000000
or ecx, eax
mov dword [edx + 0x10], ecx
add edx, 0x14
cmp edx, edi
jb 0x1004c700
mov esi, dword [esp + 0x98]
movss xmm2, dword [esp + 0xdc]
inc esi
movss xmm3, dword [esp + 0xc4]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x98], esi
cmp esi, 6
jl 0x1004c4c0
movss xmm0, dword [esp + 0x10]
mulss xmm0, dword [0x100f5fd0]
mulss xmm0, dword [0x100f6000]
movss dword [esp + 0x10], xmm0
cvtps2pd xmm0, xmm0
call fcn.100d3d10
movss xmm3, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x54], xmm0
cvtps2pd xmm0, xmm3
call fcn.100d4cb0
cmp byte [esp + 0x17], 0
xorps xmm1, xmm1
movss xmm3, dword [esp + 0xa4]
addss xmm3, dword [esp + 0xac]
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0x54]
mulss xmm0, xmm3
movss xmm2, dword [esp + 0x6c]
movss dword [esp + 0x88], xmm1
mulss xmm0, dword [0x100f5f1c]
addss xmm0, dword [esp + 0xcc]
movss dword [esp + 0x40], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm3
mulss xmm0, dword [0x100f5f1c]
addss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x44], xmm0
je 0x1004c890
mulss xmm2, dword [0x100f5f28]
jmp 0x1004c898
mulss xmm2, dword [0x100f5f20]
mov esi, dword [esp + 0x34]
movaps xmm0, xmm2
addss xmm0, dword [0x100f5f64]
movss dword [esp + 0x3c], xmm2
mov ecx, dword [esi + 0x2c]
cvttss2si eax, xmm0
cmp eax, 0x3f
ja 0x1004c8c3
movzx edi, byte [eax + ecx + 0x1bc]
jmp 0x1004c929
movss xmm1, dword [ecx + 0x14]
minss xmm1, xmm2
movss xmm0, dword [0x100f5f68]
divss xmm1, xmm2
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call fcn.100d37f0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [0x100f6000]
divss xmm0, xmm1
call fcn.1002b150
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
mov edi, eax
and edi, 0xfffffffe
cmp edi, 4
jge 0x1004c915
mov edi, 4
jmp 0x1004c923
cmp edi, 0x200
mov eax, 0x200
cmovg edi, eax
movss xmm2, dword [esp + 0x3c]
push edi
push dword [esp + 0x54]
lea eax, [esp + 0x48]
mov ecx, esi
push eax
call fcn.10035d40
movss xmm2, dword [esp + 0x3c]
lea eax, [esp + 0x40]
addss xmm2, dword [0x100f5f68]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
push dword [esp + 0x9c]
push eax
call fcn.10035c80
movss xmm2, dword [esp + 0x3c]
lea eax, [esp + 0x40]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
mov edi, dword [esp + 0x8c]
push edi
push eax
call fcn.10035c80
movss xmm3, dword [esp + 0x54]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x88]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x28]
movaps xmm0, xmm5
mov eax, dword [0x10157600]
mov ecx, esi
movss xmm6, dword [esp + 0xcc]
movaps xmm4, xmm3
mulss xmm0, xmm1
push 3
movss xmm7, dword [esp + 0xc4]
mulss xmm4, dword [esp + 0xdc]
push 3
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, dword [esp + 0xe0]
addss xmm2, xmm6
movss dword [esp + 0x84], xmm2
movss dword [esp + 0xe4], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x30]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xbc]
mulss xmm5, dword [esp + 0xc4]
addss xmm2, xmm7
movss dword [esp + 0xd0], xmm2
movss dword [esp + 0xe8], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xbc]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0xc4]
addss xmm0, xmm1
addss xmm4, xmm6
addss xmm3, xmm1
addss xmm2, xmm6
addss xmm0, xmm7
movss dword [esp + 0xec], xmm4
addss xmm3, xmm7
movss dword [esp + 0x48], xmm4
movss dword [esp + 0x30], xmm2
movss dword [esp + 0x34], xmm0
movss xmm0, dword [eax + 0x3d04]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [eax + 0x3d08]
movss dword [esp + 0x5c], xmm3
movss dword [esp + 0x4c], xmm3
movss dword [esp + 0x80], xmm0
call fcn.10033600
mov ecx, dword [esi + 0x38]
mov ax, word [esi + 0x28]
mov edx, dword [esp + 0xe0]
movss xmm0, dword [esp + 0x88]
mov word [ecx], ax
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
mov ecx, dword [esp + 0xdc]
movss xmm1, dword [esp + 0x78]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esi + 0x34]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], ecx
add dword [esi + 0x34], 0x14
mov eax, dword [esi + 0x38]
inc dword [esi + 0x28]
mov ecx, dword [esi + 0x28]
mov word [eax], cx
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
mov ecx, dword [esp + 0x28]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esi + 0x34]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], ecx
mov eax, dword [esi + 0x38]
add dword [esi + 0x34], 0x14
inc dword [esi + 0x28]
mov ecx, dword [esi + 0x28]
mov word [eax], cx
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
mov ecx, dword [esp + 0x40]
push ecx
mov dword [eax], ecx
mov ecx, esi
mov dword [eax + 4], edx
mov eax, dword [esi + 0x34]
mov dword [esp], 0x3fc00000
push dword [esp + 0x98]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], edi
lea eax, [esp + 0x48]
add dword [esi + 0x34], 0x14
inc dword [esi + 0x28]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0xec]
push eax
call fcn.10035a50
movss xmm1, dword [0x100f5f68]
xorps xmm6, xmm6
movaps xmm0, xmm1
subss xmm0, dword [esp + 0x4c]
comiss xmm6, xmm0
jbe 0x1004cbc6
xorps xmm4, xmm4
jmp 0x1004cbcd
movaps xmm4, xmm1
minss xmm4, xmm0
movss xmm0, dword [esp + 0x1c]
comiss xmm6, xmm0
ja 0x1004cbdf
movaps xmm6, xmm1
minss xmm6, xmm0
movss xmm0, dword [esp + 0x7c]
subss xmm0, dword [esp + 0xe4]
movss xmm3, dword [esp + 0x28]
movss xmm2, dword [esp + 0x2c]
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0xb8]
mulss xmm0, xmm6
addss xmm0, dword [esp + 0xe4]
subss xmm3, xmm0
mulss xmm3, xmm4
addss xmm3, xmm0
movss xmm0, dword [esp + 0xc8]
subss xmm0, dword [esp + 0x54]
movss dword [esp + 0xf0], xmm3
mulss xmm0, xmm6
addss xmm0, dword [esp + 0x54]
subss xmm2, xmm0
mulss xmm2, xmm4
addss xmm2, xmm0
movss dword [esp + 0xf4], xmm2
jmp 0x1004cfa5
test eax, 0x2000000
je 0x1004cf9d
movss xmm0, dword [esp + 0x74]
addss xmm0, dword [esp + 0x18]
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x50]
push ecx
push eax
push eax
movss dword [esp + 0x34], xmm0
lea eax, [esp + 0x34]
movss xmm0, dword [esp + 0x2c]
addss xmm0, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x44]
push eax
lea eax, [esp + 0x54]
push eax
movss dword [esp + 0x44], xmm0
call fcn.100358d0
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x100]
movss xmm0, dword [esp + 0x74]
addss xmm0, dword [esp + 0x18]
push ecx
push ecx
mov ecx, dword [esp + 0x3c]
push 0
push 0
push eax
movss dword [esp + 0x114], xmm0
lea eax, [esp + 0x54]
movss xmm0, dword [esp + 0x40]
push eax
movss dword [esp + 0x11c], xmm0
call fcn.100358d0
movss xmm0, dword [esp + 0x74]
addss xmm0, dword [esp + 0x18]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x8c], xmm0
xorps xmm0, xmm0
push dword [esp + 0x8c]
push dword [esp + 0x8c]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.10015180
movss xmm3, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm1, dword [0x100f5f68]
add esp, 0x10
comiss xmm0, xmm3
jbe 0x1004cd52
xorps xmm2, xmm2
jmp 0x1004cd59
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm4, dword [esp + 0x18]
movss xmm6, dword [esp + 0x74]
movss xmm7, dword [0x100f5f1c]
mulss xmm2, xmm4
movss xmm5, dword [0x100f5fd0]
addss xmm2, xmm6
addss xmm2, xmm7
cvttss2si eax, xmm2
movaps xmm2, xmm6
addss xmm2, xmm5
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm2, xmm3
ja 0x1004cda7
movaps xmm2, xmm6
addss xmm2, xmm4
subss xmm2, xmm5
minss xmm2, xmm3
movss dword [esp + 0xf0], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x4c]
comiss xmm0, xmm2
jbe 0x1004cdc3
xorps xmm1, xmm1
jmp 0x1004cdc7
minss xmm1, xmm2
movss xmm2, dword [esp + 0x20]
mulss xmm1, xmm4
movaps xmm0, xmm2
addss xmm0, xmm5
addss xmm1, xmm2
addss xmm1, xmm7
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1004cdfe
movss xmm0, dword [esp + 0x2c]
subss xmm0, xmm5
minss xmm0, xmm1
movss xmm3, dword [esp + 0x98]
movaps xmm1, xmm4
divss xmm1, dword [0x100f6014]
mov esi, dword [esp + 0x34]
xor ecx, ecx
movss dword [esp + 0xf4], xmm0
movaps xmm0, xmm3
addss xmm0, dword [esp + 0x58]
movss dword [esp + 0x88], xmm1
movss dword [esp + 0x5c], xmm3
movss dword [esp + 0x100], xmm0
mov eax, dword [esp + ecx*4 + 0x114]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0x108]
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0x10c], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x118]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0x70]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0x78], xmm0
call fcn.100358d0
movss xmm1, dword [esp + 0x88]
mov ecx, edi
movss xmm2, dword [esp + 0x20]
cmp ecx, 6
jl 0x1004ce42
movss xmm3, dword [esp + 0x98]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x18]
movaps xmm1, xmm3
movss dword [esp + 0x2c], xmm2
addss xmm1, dword [esp + 0x58]
movss dword [esp + 0x28], xmm3
movss dword [esp + 0x44], xmm0
xorps xmm0, xmm0
push dword [esp + 0x44]
movss dword [esp + 0x44], xmm1
push dword [esp + 0x44]
push dword [esp + 0x34]
push dword [esp + 0x34]
call fcn.10015180
mov esi, dword [esp + 0x90]
movss xmm1, dword [esp + 0x68]
addss xmm1, dword [0x100f5fd0]
mov ecx, dword [esp + 0x44]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x54], xmm2
addss xmm0, dword [0x100f5f68]
movss xmm2, dword [esp + 0xa8]
push dword [esp + 0x54]
subss xmm2, dword [0x100f5f68]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x24]
mulss xmm0, dword [esp + 0x2c]
push dword [esp + 0x54]
movss dword [esp + 0x40], xmm2
addss xmm0, dword [esp + 0x38]
addss xmm0, dword [0x100f5f1c]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x50]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x38b0]
movss dword [esp + 0x44], xmm0
push dword [esp + 0x44]
push dword [esp + 0x44]
call fcn.1004aad0
mov edi, dword [esp + 0xd8]
add esp, 0x20
movss xmm1, dword [0x100f5f68]
cmp byte [esp + 0xa], 0
movss xmm3, dword [esp + 0x6c]
je 0x1004cfbc
mulss xmm3, dword [0x100f5f20]
jmp 0x1004cfc4
mulss xmm3, dword [0x100f5f08]
mov ecx, dword [esp + 0x34]
movaps xmm0, xmm3
addss xmm0, dword [0x100f5f64]
movss dword [esp + 0x6c], xmm3
mov ecx, dword [ecx + 0x2c]
cvttss2si eax, xmm0
cmp eax, 0x3f
ja 0x1004cfef
movzx eax, byte [eax + ecx + 0x1bc]
jmp 0x1004d04a
movss xmm2, dword [ecx + 0x14]
minss xmm2, xmm3
divss xmm2, xmm3
subss xmm1, xmm2
cvtps2pd xmm0, xmm1
call fcn.100d37f0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [0x100f6000]
divss xmm0, xmm1
call fcn.1002b150
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x1004d037
mov eax, 4
jmp 0x1004d044
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
movss xmm3, dword [esp + 0x6c]
mov ecx, dword [esp + 0x34]
movaps xmm2, xmm3
push eax
push dword [esp + 0x74]
mov dword [esp + 0x88], eax
lea eax, [esp + 0xf8]
push eax
call fcn.10035d40
movss xmm2, dword [esp + 0x6c]
lea eax, [esp + 0xf0]
addss xmm2, dword [0x100f5f68]
push ecx
mov ecx, dword [esp + 0x38]
mov dword [esp], 0x3f800000
push dword [esp + 0x84]
push dword [esp + 0x9c]
push eax
call fcn.10035c80
movss xmm2, dword [esp + 0x6c]
lea eax, [esp + 0xf0]
push ecx
mov ecx, dword [esp + 0x38]
mov dword [esp], 0x3f800000
push dword [esp + 0x84]
push dword [esp + 0x8c]
push eax
call fcn.10035c80
cmp dword [esp + 0xb0], 0x10000
jne 0x1004d284
movss xmm2, dword [edi + 0xc]
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x1004d0f5
movss dword [esp + 0xb0], xmm1
jmp 0x1004d10a
movss xmm0, dword [0x100f5f68]
minss xmm0, xmm2
movss dword [esp + 0xb0], xmm0
movss xmm3, dword [esp + 0xd0]
xor edx, edx
movss xmm0, dword [esp + 0x20]
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x58]
mov ecx, dword [esp + 0x34]
movss dword [esp + 0x104], xmm0
addss xmm0, dword [esp + 0x18]
mov dword [esp + 0x44], 0
push dword [esp + 0x44]
mov dword [esp + 0x44], 0
push dword [esp + 0x44]
movss dword [esp + 0x110], xmm2
subss xmm2, xmm3
movss dword [esp + 0x114], xmm0
push dword [esp + 0x114]
movss dword [esp + 0x10c], xmm3
xorps xmm3, xmm3
push dword [esp + 0x114]
mov edi, dword [esp + 0x110]
push dword [esp + 0x114]
mulss xmm2, dword [0x100f5f1c]
push edi
push 0
call fcn.1003a480
mov ecx, dword [esp + 0x8c]
add esp, 0x1c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x114]
push eax
call fcn.100358d0
push dword [esp + 0x10c]
xorps xmm0, xmm0
push dword [esp + 0x10c]
push dword [esp + 0x10c]
push edi
call fcn.10015180
movss xmm1, dword [0x100f5f68]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
movaps xmm0, xmm2
movss dword [esp + 0x54], xmm2
movss xmm2, dword [esp + 0xe0]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0xc0]
push dword [esp + 0x54]
movss dword [esp + 0x54], xmm0
push dword [esp + 0x54]
mulss xmm1, dword [esp + 0x30]
movss dword [esp + 0x40], xmm2
movss xmm2, dword [edi + 0x38b0]
addss xmm1, dword [esp + 0x38]
addss xmm1, dword [0x100f5f1c]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x70]
addss xmm1, dword [0x100f5fd0]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x44], xmm0
push dword [esp + 0x44]
push dword [esp + 0x44]
call fcn.1004aad0
add esp, 0x20
jmp 0x1004d288
mov edi, dword [esp + 0x38]
call fcn.10022dd0
mov dl, byte [esp + 9]
test dl, dl
je 0x1004d382
mov ecx, dword [esp + 0xb8]
lea esi, [esp + 0x12c]
xor edx, edx
cmp dword [esp + 0xd4], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x1004d2d1
nop
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x1004d2da
add esi, 4
add ecx, 4
sub edx, 4
jae 0x1004d2c0
cmp edx, 0xfffffffc
je 0x1004d380
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x1004d30f
cmp edx, 0xfffffffd
je 0x1004d380
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x1004d30f
cmp edx, 0xfffffffe
je 0x1004d380
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x1004d30f
cmp edx, 0xffffffff
je 0x1004d380
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x1004d380
mov ecx, dword [edi + 0x48f8]
mov eax, dword [0x10157600]
test ecx, ecx
je 0x1004d346
cmp word [eax + 0x5ce6], 0
jg 0x1004d346
mov edx, dword [eax + 0x3fe4]
cmp edx, ecx
je 0x1004d336
test edx, edx
jne 0x1004d33f
mov word [eax + 0x3ff4], 0x101
or dword [eax + 0x4900], 4
mov dl, byte [esp + 9]
cmp dword [esp + 0xec], 0
jne 0x1004d35e
mov dword [edi + 0x5c60], 0
mov ecx, dword [eax + 0x3f94]
mov al, dl
pop edi
pop esi
dec dword [ecx + 0xec]
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.10093f63
mov esp, ebp
pop ebp
ret
xor dl, dl
mov eax, dword [0x10157600]
jmp 0x1004d34a