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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x138
mov eax, dword [0x100b6374]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x6c], ecx
mov ecx, dword [0x10183428]
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [ecx + 0x19b0]
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], ecx
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x19b0]
mov dword [esp + 0x9c], eax
cmp byte [eax + 0x7f], 0
je 0x1004c438
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.1006def6
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x1a84], 1
mov edi, dword [eax + 0x274]
mov dword [esp + 0xa0], edi
je 0x1004c458
movss xmm1, dword [ecx + 0x1a88]
jmp 0x1004c460
movss xmm1, dword [eax + 0x170]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1004c49b
mov edx, eax
cmp dword [edx + 0x1c0], 0
movss xmm0, dword [edx + 0x21c]
je 0x1004c483
movss xmm0, dword [edx + 0x1fc]
subss xmm0, dword [eax + 0xc8]
addss xmm0, xmm1
movss xmm1, dword [0x100ad678]
maxss xmm1, xmm0
mov dword [ecx + 0x1a84], 0
mov ecx, dword [esp + 0x74]
cvttss2si esi, xmm1
call fcn.1002d150
call fcn.1002d270
mov edx, dword [ebp + 8]
mov ecx, edx
or ecx, 0x10
test edx, 0x100
cmovne ecx, edx
mov dword [esp + 0xac], ecx
test cl, 8
jne 0x1004c4e6
mov edx, ecx
mov ecx, dword [esp + 0x20]
call fcn.1004fa80
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x14]
test ecx, 0x6000000
jne 0x1004c512
mov eax, dword [edx + 0x2cd4]
mov ecx, 0xa900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, dword [esp + 0xac]
mov dword [esp + 0x10], ecx
test ecx, 0x18000000
jne 0x1004c54c
mov eax, dword [edx + 0x2cd4]
mov edi, 0xa900000
test eax, 0x18000000
cmovne edi, eax
mov eax, edi
mov dword [esp + 0xdc], edi
mov edi, dword [esp + 0xa0]
and eax, 0x18000000
or ecx, eax
mov dword [esp + 0x10], ecx
test cl, 8
jne 0x1004c562
mov eax, dword [edx + 0x2cd4]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x10], ecx
mov eax, ecx
movss xmm4, dword [edx + 0x1560]
and eax, 2
and ecx, 0x10002
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xac], ecx
movss xmm0, dword [eax + 0xcc]
movss xmm2, dword [eax + 0xc8]
mov eax, dword [0x10183428]
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x58], xmm0
movaps xmm0, xmm4
movss dword [esp + 0x54], xmm2
movss xmm3, dword [eax + 0x154c]
addss xmm3, xmm3
addss xmm3, dword [eax + 0x18c4]
xor eax, eax
cmp ecx, 0x10000
sete al
inc eax
addss xmm0, xmm3
movss dword [esp + 0x78], xmm3
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0x64], eax
sete al
mulss xmm1, xmm0
lea eax, [eax*4 + 0xc]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push eax
mov dword [esp + 0xe0], eax
lea eax, [esp + 0x130]
push dword [esp + 0x24]
subss xmm0, xmm1
movaps xmm1, xmm3
push eax
maxss xmm1, xmm0
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [esp + 0x50], xmm1
movss dword [esp + 0xe0], xmm0
addss xmm0, xmm4
movss dword [esp + 0xcc], xmm0
addss xmm0, xmm3
addss xmm4, xmm0
movss dword [esp + 0xec], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x100ad624]
movss dword [esp + 0xe4], xmm4
cvttss2si esi, xmm0
mov dword [esp + 0xa8], esi
call fcn.10070570
movss xmm2, dword [esp + 0x50]
add esp, 0xc
movaps xmm3, xmm2
movaps xmm1, xmm2
mulss xmm3, dword [0x100ad63c]
mulss xmm1, dword [0x100ad614]
movaps xmm0, xmm3
movss dword [esp + 0x6c], xmm3
addss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x94], xmm1
movaps xmm4, xmm3
subss xmm4, xmm1
movaps xmm1, xmm2
addss xmm1, dword [esp + 0x78]
movss dword [esp + 0xd0], xmm0
movss dword [esp + 0xb4], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x100ad608]
mulss xmm1, dword [0x100ad63c]
cvttss2si eax, xmm0
addss xmm1, dword [esp + 0x54]
movss dword [esp + 0x5c], xmm4
movd xmm0, eax
movss dword [esp + 0xcc], xmm1
movss dword [esp + 0xb0], xmm1
cvtdq2ps xmm0, xmm0
mov ecx, dword [esp + 0x20]
movaps xmm1, xmm4
subss xmm1, xmm0
movss xmm3, dword [ecx + 4]
movss xmm7, dword [0x100ad5dc]
lea eax, [ecx + 4]
mov dword [esp + 0x90], eax
lea eax, [ecx + 8]
mov dword [esp + 0x68], eax
mov dword [esp + 0x34], 0
movaps xmm0, xmm1
movss dword [esp + 0x30], xmm1
mulss xmm0, dword [0x100ad7fc]
movaps xmm2, xmm1
mulss xmm2, dword [0x100ad808]
movss dword [esp + 0xa4], xmm0
movss dword [esp + 0x100], xmm0
movss dword [esp + 0x110], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100ad668]
movss dword [esp + 0x98], xmm2
movss dword [esp + 0x104], xmm2
movss xmm2, dword [eax]
mov eax, dword [esp + 0x10]
mov edx, eax
movss dword [esp + 0xa8], xmm0
and edx, 0x8000000
movss dword [esp + 0x114], xmm0
movss xmm0, dword [ecx]
movaps xmm1, xmm0
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x88], xmm1
movss dword [esp + 0xe8], xmm1
movaps xmm1, xmm3
movss dword [esp + 0x7c], xmm1
movss dword [esp + 0xe4], xmm1
movaps xmm1, xmm2
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x84], xmm1
movss xmm1, dword [0x100ad764]
movss dword [esp + 0x3c], xmm3
movss dword [esp + 0x40], xmm2
mov dword [esp + 0x28], edx
movss dword [esp + 0xf4], xmm1
je 0x1004c8eb
comiss xmm2, xmm3
xorps xmm1, xmm1
xorps xmm5, xmm5
movaps xmm4, xmm3
movaps xmm6, xmm2
jbe 0x1004c839
movss xmm5, dword [0x100ad80c]
movaps xmm4, xmm2
movaps xmm6, xmm3
comiss xmm4, xmm0
movaps xmm3, xmm0
movss dword [esp + 0x40], xmm3
jbe 0x1004c862
movaps xmm3, xmm4
movaps xmm4, xmm0
movss xmm0, dword [0x100ad7f8]
subss xmm0, xmm5
movss dword [esp + 0x40], xmm3
movaps xmm5, xmm0
movaps xmm0, xmm4
movaps xmm2, xmm3
minss xmm0, xmm6
subss xmm4, xmm6
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x100ad764]
addss xmm0, xmm7
divss xmm4, xmm0
addss xmm4, xmm5
movaps xmm0, xmm4
call fcn.10020f30
movss dword [esp + 0x1c], xmm0
movaps xmm0, xmm3
addss xmm0, xmm7
divss xmm2, xmm0
ucomiss xmm2, xmm1
movss dword [esp + 0x3c], xmm2
lahf
test ah, 0x44
jp 0x1004c943
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x2cdc]
cmp eax, dword [ecx]
jne 0x1004c943
mov eax, dword [edx + 0x2ce0]
cmp eax, dword [ecx + 4]
jne 0x1004c943
mov eax, dword [edx + 0x2ce4]
cmp eax, dword [ecx + 8]
jne 0x1004c943
movss xmm0, dword [edx + 0x2cd8]
movss dword [esp + 0x1c], xmm0
jmp 0x1004c943
test eax, 0x10000000
je 0x1004c943
lea eax, [esp + 0x84]
movaps xmm1, xmm3
push eax
lea edx, [esp + 0xe8]
lea ecx, [esp + 0xec]
call fcn.10022e60
movss xmm0, dword [esp + 0xec]
add esp, 4
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0xe4]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x84]
movss dword [esp + 0x38], xmm0
mov ecx, 8
mov byte [esp + 0xf], 0
mov byte [esp + 0x1a], 0
mov byte [esp + 0x19], 0
call fcn.1002cce0
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 0x4000000
mov dword [esp + 0x70], ecx
je 0x1004cf67
movss xmm1, dword [esp + 0x44]
lea edx, [esp + 0x48]
mov eax, dword [esp + 0x14]
movaps xmm0, xmm1
mov ecx, 0x100ad380
movss dword [esp + 0x4c], xmm1
addss xmm0, dword [eax + 0x1560]
addss xmm0, dword [esp + 0x78]
movss dword [esp + 0x48], xmm0
call fcn.100427a0
mov eax, dword [0x10183428]
mov ecx, dword [eax + 0x19e4]
test ecx, ecx
je 0x1004ce5a
mov eax, dword [eax + 0x19b0]
cmp ecx, dword [eax + 0x108]
jne 0x1004ce5a
mov eax, dword [esp + 0x14]
movss xmm0, dword [eax + 0x38c]
subss xmm0, dword [esp + 0xd0]
movss xmm1, dword [eax + 0x388]
subss xmm1, dword [esp + 0xcc]
movss xmm4, dword [eax + 0xe8]
movss xmm3, dword [eax + 0xec]
subss xmm4, dword [esp + 0xcc]
subss xmm3, dword [esp + 0xd0]
movaps xmm2, xmm0
movss dword [esp + 0xc4], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x60], xmm1
movss xmm1, dword [0x100ad678]
addss xmm2, xmm0
movss dword [esp + 0xf8], xmm4
movss xmm0, dword [esp + 0x5c]
subss xmm0, xmm1
movss dword [esp + 0xec], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x1004cada
movss xmm0, dword [esp + 0x6c]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x1004cada
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x48], xmm0
fld qword [esp + 0x48]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x48], xmm0
fld qword [esp + 0x48]
call fcn.10094790
movss xmm2, dword [0x100ad728]
xorps xmm0, xmm0
fstp qword [esp + 0x48]
movsd xmm1, qword [esp + 0x48]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x100ad63c]
comiss xmm0, xmm1
movss dword [esp + 0x1c], xmm1
jbe 0x1004cad2
addss xmm1, dword [0x100ad678]
movss dword [esp + 0x1c], xmm1
mov al, 1
mov byte [esp + 0xf], al
jmp 0x1004caec
mov al, byte [esp + 0xf]
movss xmm2, dword [0x100ad728]
movss xmm1, dword [esp + 0x1c]
movaps xmm0, xmm1
mov byte [esp + 0x1a], al
xorps xmm0, xmmword [0x100ae130]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x48], xmm0
call fcn.100947c0
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x80], xmm0
movsd xmm0, qword [esp + 0x48]
call fcn.100954d0
movss xmm6, dword [esp + 0x80]
xorps xmm5, xmm5
cvtsd2ss xmm5, xmm0
movss xmm1, dword [esp + 0xa4]
movaps xmm3, xmm6
mulss xmm3, dword [esp + 0x60]
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xc4]
movaps xmm4, xmm6
mulss xmm4, dword [esp + 0xc4]
subss xmm3, xmm0
movss dword [esp + 0xc8], xmm5
movaps xmm0, xmm5
movss xmm7, dword [esp + 0x30]
mulss xmm0, dword [esp + 0x60]
movaps xmm5, xmm1
subss xmm5, xmm1
movaps xmm2, xmm3
addss xmm4, xmm0
movss xmm0, dword [esp + 0x98]
subss xmm0, dword [esp + 0xa8]
subss xmm2, xmm1
subss xmm7, dword [esp + 0xa4]
movss dword [esp + 0x80], xmm5
movss dword [esp + 0xc4], xmm0
movaps xmm1, xmm2
mulss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0xa8]
movss dword [esp + 0x48], xmm7
mulss xmm0, xmm5
xorps xmm5, xmm5
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0x98]
comiss xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x60], xmm0
movaps xmm0, xmm4
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0x98]
mulss xmm0, xmm7
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x1004ce52
movss xmm0, dword [esp + 0xa8]
subss xmm4, xmm5
subss xmm3, dword [esp + 0x30]
subss xmm0, xmm5
mulss xmm3, xmm0
movss xmm0, dword [esp + 0xa4]
subss xmm0, dword [esp + 0x30]
mulss xmm0, xmm4
subss xmm3, xmm0
comiss xmm5, xmm3
seta al
cmp cl, al
jne 0x1004ce52
movss xmm1, dword [esp + 0xc8]
movaps xmm7, xmm6
movss xmm2, dword [esp + 0xec]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0xf8]
mulss xmm7, dword [esp + 0xf8]
movss xmm4, dword [esp + 0xa4]
mulss xmm0, xmm2
mulss xmm6, xmm2
subss xmm7, xmm0
addss xmm6, xmm1
movaps xmm1, xmm7
movss dword [esp + 0xec], xmm7
subss xmm1, xmm4
movaps xmm0, xmm6
movss dword [esp + 0xf0], xmm6
subss xmm0, dword [esp + 0xa8]
mulss xmm1, dword [esp + 0xc4]
mulss xmm0, dword [esp + 0x80]
subss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0x98]
comiss xmm5, xmm1
mulss xmm0, dword [esp + 0x48]
movaps xmm1, xmm7
subss xmm1, xmm4
seta cl
mulss xmm1, dword [esp + 0x60]
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x1004cd52
movss xmm3, dword [esp + 0x30]
movaps xmm2, xmm7
movss xmm0, dword [esp + 0xa8]
subss xmm2, xmm3
subss xmm0, xmm5
movaps xmm1, xmm4
subss xmm1, xmm3
mulss xmm2, xmm0
movaps xmm0, xmm6
subss xmm0, xmm5
mulss xmm1, xmm0
subss xmm2, xmm1
comiss xmm5, xmm2
seta al
cmp cl, al
je 0x1004cd95
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x108]
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x54]
call fcn.10022510
movss xmm3, dword [esp + 0x3c]
add esp, 0xc
movss xmm4, dword [esp + 0xa4]
xorps xmm5, xmm5
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
movss xmm1, dword [esp + 0xa8]
subss xmm7, xmm3
movaps xmm2, xmm4
subss xmm1, xmm5
movss xmm4, dword [esp + 0x98]
subss xmm2, xmm3
subss xmm4, xmm5
subss xmm6, xmm5
movaps xmm3, xmm2
movaps xmm0, xmm4
mulss xmm3, xmm1
mulss xmm0, xmm2
mulss xmm6, xmm2
subss xmm3, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm1
mulss xmm7, xmm4
subss xmm0, xmm6
movss xmm1, dword [0x100ad678]
movaps xmm5, xmm1
subss xmm6, xmm7
divss xmm0, xmm3
divss xmm6, xmm3
subss xmm5, xmm0
movss xmm0, dword [0x100ad5f0]
movss dword [esp + 0x3c], xmm0
comiss xmm0, xmm5
movaps xmm2, xmm5
subss xmm2, xmm6
jbe 0x1004ce23
movaps xmm3, xmm0
movss dword [esp + 0x40], xmm0
jmp 0x1004ce30
movaps xmm3, xmm1
minss xmm3, xmm5
movss dword [esp + 0x40], xmm3
divss xmm2, xmm3
comiss xmm0, xmm2
ja 0x1004ce46
movaps xmm0, xmm1
minss xmm0, xmm2
movss dword [esp + 0x3c], xmm0
mov byte [esp + 0x19], 1
mov byte [esp + 0xf], 1
jmp 0x1004ce5a
mov al, byte [esp + 0xf]
mov byte [esp + 0x1a], al
mov edx, dword [esp + 0x10]
test dl, 8
jne 0x1004ce68
call fcn.1002e430
mov edx, dword [0x10183428]
movss xmm2, dword [esp + 0x2c]
cmp dword [esp + 0xac], 0x10000
jne 0x1004d197
mov eax, dword [edx + 0x19b0]
mov ecx, 0x100a8c3c
movss xmm0, dword [esp + 0xd8]
mov byte [eax + 0x7c], 1
mov eax, dword [edx + 0x19b0]
lea edx, [esp + 0x100]
movss dword [eax + 0xc8], xmm0
movss dword [eax + 0xcc], xmm2
movss xmm1, dword [eax + 0xe0]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xe4]
maxss xmm0, xmm2
movss dword [eax + 0xe0], xmm1
movss dword [eax + 0xe4], xmm0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x100], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x104], xmm0
call fcn.100427a0
mov edx, dword [0x10183428]
mov ecx, dword [edx + 0x19e4]
test ecx, ecx
je 0x1004d197
mov eax, dword [edx + 0x19b0]
cmp ecx, dword [eax + 0x108]
mov ecx, dword [esp + 0x14]
jne 0x1004d19b
movss xmm0, dword [esp + 0x44]
xorps xmm2, xmm2
movss xmm1, dword [0x100ad678]
movss xmm3, dword [ecx + 0xec]
subss xmm0, xmm1
subss xmm3, dword [esp + 0x2c]
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x1004d179
xorps xmm4, xmm4
jmp 0x1004d180
test eax, 0x2000000
je 0x1004ce68
movss xmm0, dword [esp + 0x44]
lea edx, [esp + 0x100]
mov ecx, 0x100ad384
movss dword [esp + 0x100], xmm0
movss dword [esp + 0x104], xmm0
call fcn.100427a0
mov ecx, dword [0x10183428]
mov edx, dword [ecx + 0x19e4]
test edx, edx
je 0x1004d044
mov eax, dword [ecx + 0x19b0]
cmp edx, dword [eax + 0x108]
jne 0x1004d044
mov eax, dword [esp + 0x14]
xorps xmm0, xmm0
movss xmm3, dword [esp + 0x44]
movss xmm1, dword [0x100ad678]
subss xmm3, xmm1
movss xmm4, dword [eax + 0xe8]
subss xmm4, dword [esp + 0x54]
movss dword [esp + 0x60], xmm3
divss xmm4, xmm3
comiss xmm0, xmm4
jbe 0x1004cfff
movss dword [esp + 0x3c], xmm0
jmp 0x1004d00c
movaps xmm2, xmm1
minss xmm2, xmm4
movss dword [esp + 0x3c], xmm2
movss xmm2, dword [eax + 0xec]
subss xmm2, dword [esp + 0x2c]
divss xmm2, xmm3
comiss xmm0, xmm2
jbe 0x1004d028
xorps xmm3, xmm3
jmp 0x1004d02f
movaps xmm3, xmm1
minss xmm3, xmm2
movaps xmm0, xmm1
mov al, 1
subss xmm0, xmm3
mov byte [esp + 0xf], al
movss dword [esp + 0x40], xmm0
jmp 0x1004d05c
movss xmm0, dword [esp + 0x44]
subss xmm0, dword [0x100ad678]
mov al, byte [esp + 0xf]
movss dword [esp + 0x60], xmm0
mov edx, dword [esp + 0x10]
mov byte [esp + 0x19], al
mov byte [esp + 0x1b], al
test dl, 8
jne 0x1004d078
call fcn.1002e430
mov ecx, dword [0x10183428]
mov eax, dword [ecx + 0x19b0]
lea edx, [esp + 0x100]
movss xmm0, dword [esp + 0xc0]
movss xmm2, dword [esp + 0x2c]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x19b0]
mov ecx, 0x100ad388
movss dword [eax + 0xc8], xmm0
movss dword [eax + 0xcc], xmm2
movss xmm1, dword [eax + 0xe0]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xe4]
maxss xmm0, xmm2
movss dword [eax + 0xe0], xmm1
movss dword [eax + 0xe4], xmm0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x100], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x104], xmm0
call fcn.100427a0
mov edx, dword [0x10183428]
mov ecx, dword [edx + 0x19e4]
test ecx, ecx
je 0x1004ce6e
mov al, byte [esp + 0xf]
mov byte [esp + 0x19], al
mov eax, dword [edx + 0x19b0]
cmp ecx, dword [eax + 0x108]
jne 0x1004ce6e
mov eax, dword [esp + 0x14]
xorps xmm0, xmm0
movss xmm2, dword [esp + 0x2c]
movss xmm1, dword [eax + 0xec]
subss xmm1, xmm2
divss xmm1, dword [esp + 0x60]
comiss xmm0, xmm1
ja 0x1004d15c
movss xmm0, dword [0x100ad678]
minss xmm0, xmm1
mov al, byte [esp + 0x1b]
movss dword [esp + 0x1c], xmm0
mov byte [esp + 0x1a], 1
mov byte [esp + 0xf], 1
mov byte [esp + 0x19], al
jmp 0x1004ce74
movaps xmm4, xmm1
minss xmm4, xmm3
mov eax, dword [esp + 0x20]
movaps xmm0, xmm1
subss xmm0, xmm4
mov byte [esp + 0xf], 1
movss dword [eax + 0xc], xmm0
jmp 0x1004d19b
mov ecx, dword [esp + 0x14]
mov eax, dword [edx + 0x19b0]
mov byte [eax + 0x7c], 1
mov edx, dword [edx + 0x19b0]
mov eax, dword [edx + 0x178]
add eax, 0xffffffff
mov dword [esp + 0x48], eax
mov dword [edx + 0x178], eax
jne 0x1004d1c4
xor eax, eax
jmp 0x1004d1d9
mov edi, dword [esp + 0x48]
mov eax, dword [edx + 0x180]
mov eax, dword [eax + edi*4 - 4]
mov edi, dword [esp + 0xa0]
mov dword [edx + 0x16c], eax
mov eax, dword [esp + 0x10]
mov edx, eax
and edx, 0x100
mov dword [esp + 0x80], edx
jne 0x1004d20d
movss xmm1, dword [ecx + 0x1560]
xorps xmm0, xmm0
call fcn.1002d5e0
call fcn.1002d270
mov eax, dword [esp + 0x10]
and eax, 0x80
mov dword [esp + 0x48], eax
jne 0x1004d277
mov ecx, dword [esp + 0x74]
cmp ecx, 0xffffffff
jae 0x1004d277
mov dl, byte [ecx]
test dl, dl
je 0x1004d237
cmp dl, 0x23
jne 0x1004d231
cmp byte [ecx + 1], dl
je 0x1004d237
inc ecx
cmp ecx, 0xffffffff
jb 0x1004d221
mov eax, dword [esp + 0x74]
mov dword [esp + 0x60], ecx
cmp eax, ecx
je 0x1004d277
cmp dword [esp + 0x80], 0
je 0x1004d269
mov eax, dword [esp + 0x14]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1560]
call fcn.1002d5e0
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x74]
mov edx, ecx
mov ecx, eax
push 0
call fcn.10041640
add esp, 4
cmp dword [esp + 0x80], 0
jne 0x1004d45d
mov ecx, 0x10
call fcn.1002cce0
cmp dword [esp + 0x64], 0
mov eax, dword [esp + 0x20]
je 0x1004d2a4
movss xmm1, dword [0x100ad678]
jmp 0x1004d2a9
movss xmm1, dword [eax + 0xc]
cmp dword [esp + 0x48], 0
movss xmm0, dword [eax]
movss dword [esp + 0x100], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x104], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x108], xmm0
movss dword [esp + 0x10c], xmm1
je 0x1004d2ef
push str.Current
call fcn.10041d00
add esp, 4
movss xmm1, dword [esp + 0x78]
lea edx, [esp + 0x100]
mov eax, dword [esp + 0x10]
movaps xmm0, xmm1
mulss xmm0, dword [0x100ad724]
and eax, 0x180e0040
mov ecx, str.current
mov dword [esp + 0xc8], eax
movss dword [esp + 0xf8], xmm0
movss dword [esp + 0x48], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0xfc], xmm0
push dword [esp + 0xfc]
movss dword [esp + 0xf0], xmm0
push dword [esp + 0xfc]
push eax
call fcn.1004ec70
add esp, 0xc
cmp dword [esp + 0x24], 0
je 0x1004d41d
push str.Original
call fcn.10041d00
mov eax, dword [esp + 0x28]
add esp, 4
cmp dword [esp + 0x64], 0
je 0x1004d388
movss xmm1, dword [0x100ad678]
jmp 0x1004d38d
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0x110]
movss dword [esp + 0x110], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0x114], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x118], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0xec]
movss dword [esp + 0x4c], xmm0
push dword [esp + 0x4c]
movss dword [esp + 0x120], xmm1
push dword [esp + 0x4c]
push dword [esp + 0xd0]
call fcn.1004ec70
add esp, 0xc
test al, al
je 0x1004d41d
push dword [esp + 0xdc]
push dword [esp + 0x28]
push dword [esp + 0x28]
call fcn.10070570
add esp, 0xc
mov byte [esp + 0xf], 1
mov ecx, dword [0x10183428]
mov eax, dword [ecx + 0x19b0]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x19b0]
mov edx, dword [ecx + 0x178]
sub edx, 1
mov dword [ecx + 0x178], edx
jne 0x1004d448
xor eax, eax
jmp 0x1004d452
mov eax, dword [ecx + 0x180]
mov eax, dword [eax + edx*4 - 4]
mov dword [ecx + 0x16c], eax
call fcn.1002d3a0
cmp byte [esp + 0x1a], 0
jne 0x1004d46f
cmp byte [esp + 0x19], 0
je 0x1004d503
cmp dword [esp + 0x28], 0
je 0x1004d52d
movss xmm1, dword [esp + 0x40]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1004d48d
movaps xmm3, xmm1
jmp 0x1004d495
movss xmm3, dword [0x100ad5e0]
movss xmm1, dword [esp + 0x3c]
comiss xmm1, xmm0
movss xmm2, dword [0x100ad5e4]
ja 0x1004d4ab
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x1c]
comiss xmm0, dword [0x100ad678]
jb 0x1004d4be
subss xmm0, xmm2
push dword [esp + 0x68]
mov edx, dword [esp + 0x94]
movaps xmm2, xmm3
mov ecx, dword [esp + 0x24]
call fcn.10022e60
mov ecx, dword [esp + 0x18]
add esp, 4
mov eax, dword [esp + 0x20]
movss xmm1, dword [esp + 0x1c]
movss dword [ecx + 0x2cd8], xmm1
movq xmm0, qword [eax]
movq qword [ecx + 0x2cdc], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + 0x2ce4], eax
mov edx, dword [esp + 0x10]
mov byte [esp + 0x1b], 0
test dl, 0x20
jne 0x1004d8fd
cmp dword [esp + 0xac], 0x10000
jne 0x1004d568
movss xmm0, dword [esp + 0xd8]
jmp 0x1004d571
mov edx, dword [esp + 0x10]
test edx, 0x10000000
je 0x1004d507
mov eax, dword [esp + 0x20]
movss xmm1, dword [esp + 0x1c]
movss xmm0, dword [esp + 0x3c]
movss dword [eax], xmm1
mov eax, dword [esp + 0x90]
movss dword [eax], xmm0
mov eax, dword [esp + 0x68]
movss xmm0, dword [esp + 0x40]
movss dword [eax], xmm0
jmp 0x1004d507
movss xmm0, dword [esp + 0xc0]
addss xmm0, dword [esp + 0x78]
subss xmm0, dword [esp + 0x54]
call fcn.1002ca40
mov eax, dword [esp + 0x10]
mov edx, eax
and edx, 0x198e001a
mov dword [esp + 0x64], edx
test eax, 0x100000
jne 0x1004d5ad
mov ecx, eax
and ecx, 0x700000
mov dword [esp + 0x24], ecx
jne 0x1004d60d
mov dword [esp + 0x24], ecx
jmp 0x1004d5b6
and eax, 0x700000
mov dword [esp + 0x24], eax
or edx, 0x100004
mov ecx, str.rgb
push edx
mov edx, dword [esp + 0x24]
call fcn.1004af00
add esp, 4
test al, al
je 0x1004d601
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x19e4], 0
je 0x1004d5ed
cmp byte [eax + 0x19f1], 0
mov byte [esp + 0x1b], 1
je 0x1004d5f2
mov byte [esp + 0x1b], 0
mov ecx, dword [esp + 0x24]
mov byte [esp + 0xf], 1
mov dword [esp + 0x24], ecx
jmp 0x1004d605
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x10]
test eax, 0x200000
jne 0x1004d618
test ecx, ecx
jne 0x1004d63c
or edx, 0x200004
mov ecx, 0x100ad3ac
push edx
mov edx, dword [esp + 0x24]
call fcn.1004af00
mov ecx, dword [esp + 0x28]
add esp, 4
or byte [esp + 0xf], al
mov eax, dword [esp + 0x10]
test eax, 0x400000
jne 0x1004d647
test ecx, ecx
jne 0x1004d666
mov eax, dword [esp + 0x64]
mov ecx, str.hex
mov edx, dword [esp + 0x20]
or eax, 0x400004
push eax
call fcn.1004af00
add esp, 4
or byte [esp + 0xf], al
mov ecx, dword [0x10183428]
mov eax, dword [ecx + 0x19b0]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x19b0]
mov edx, dword [ecx + 0x184]
sub edx, 1
mov dword [ecx + 0x184], edx
jne 0x1004d697
movss xmm0, dword [ecx + 0x22c]
jmp 0x1004d6a3
mov eax, dword [ecx + 0x18c]
movss xmm0, dword [eax + edx*4 - 4]
cmp byte [esp + 0x1b], 0
xorps xmm2, xmm2
mov eax, dword [esp + 0x28]
movss dword [ecx + 0x170], xmm0
mov ecx, dword [esp + 0x20]
je 0x1004d90d
test eax, eax
je 0x1004d90d
movss xmm3, dword [ecx + 4]
lea edx, [ecx + 4]
movss xmm5, dword [ecx + 8]
lea eax, [ecx + 8]
comiss xmm5, xmm3
movss xmm4, dword [ecx]
xorps xmm6, xmm6
jbe 0x1004d6f6
movss xmm6, dword [0x100ad80c]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x1004d713
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x100ad7f8]
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 [0x100ad5dc]
movaps xmm7, xmm1
mulss xmm1, dword [0x100ad764]
divss xmm7, xmm0
addss xmm1, dword [0x100ad5dc]
divss xmm3, xmm1
addss xmm3, xmm6
movaps xmm0, xmm3
call fcn.10020f30
comiss xmm2, xmm0
jb 0x1004d909
movss xmm0, dword [esp + 0x1c]
comiss xmm0, xmm2
jbe 0x1004d7ab
comiss xmm2, xmm4
jb 0x1004d8dd
movss xmm1, dword [esp + 0x40]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
lea eax, [ecx + 8]
jnp 0x1004d8dd
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x3c]
mulss xmm2, dword [0x100ad63c]
push eax
call fcn.10022e60
mov ecx, dword [esp + 0x24]
add esp, 4
xorps xmm2, xmm2
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
cmp byte [esp + 0xf], 0
je 0x1004d98c
test eax, eax
je 0x1004d916
movss xmm0, dword [ecx + 4]
xorps xmm4, xmm4
movss xmm1, dword [ecx + 8]
movaps xmm3, xmm0
comiss xmm1, xmm0
movss xmm7, dword [ecx]
movaps xmm6, xmm1
movss dword [esp + 0x88], xmm7
movss dword [esp + 0x7c], xmm0
movss dword [esp + 0x38], xmm1
jbe 0x1004d805
movss xmm4, dword [0x100ad80c]
movaps xmm3, xmm1
movaps xmm6, xmm0
comiss xmm3, xmm7
movaps xmm5, xmm7
movss dword [esp + 0x40], xmm5
jbe 0x1004d82e
movss xmm0, dword [0x100ad7f8]
movaps xmm5, xmm3
subss xmm0, xmm4
movss dword [esp + 0x40], xmm5
movaps xmm3, xmm7
movaps xmm4, xmm0
movaps xmm0, xmm3
movaps xmm1, xmm5
minss xmm0, xmm6
subss xmm3, xmm6
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100ad764]
addss xmm0, dword [0x100ad5dc]
divss xmm3, xmm0
addss xmm3, xmm4
movaps xmm0, xmm3
call fcn.10020f30
movaps xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x100ad5dc]
movss dword [esp + 0x1c], xmm3
divss xmm1, xmm0
ucomiss xmm1, xmm2
movss dword [esp + 0x3c], xmm1
lahf
test ah, 0x44
mov eax, dword [esp + 0x14]
jp 0x1004d996
mov eax, dword [eax + 0x2cdc]
cmp eax, dword [ecx]
mov eax, dword [esp + 0x14]
jne 0x1004d996
mov eax, dword [eax + 0x2ce0]
cmp eax, dword [ecx + 4]
mov eax, dword [esp + 0x14]
jne 0x1004d996
mov eax, dword [eax + 0x2ce4]
cmp eax, dword [ecx + 8]
mov eax, dword [esp + 0x14]
jne 0x1004d996
movss xmm3, dword [eax + 0x2cd8]
movss dword [esp + 0x1c], xmm3
jmp 0x1004d996
comiss xmm2, xmm7
jb 0x1004d7ab
movss xmm1, dword [esp + 0x3c]
movaps xmm2, xmm4
mulss xmm1, dword [0x100ad63c]
push eax
jmp 0x1004d79c
mov ecx, dword [esp + 0x20]
xorps xmm2, xmm2
jmp 0x1004d7af
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
jmp 0x1004d7b3
test edx, 0x10000000
je 0x1004d98c
movss xmm0, dword [ecx]
lea eax, [esp + 0x84]
movss xmm1, dword [ecx + 4]
lea edx, [esp + 0xe4]
movss xmm2, dword [ecx + 8]
lea ecx, [esp + 0xe8]
push eax
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x44], xmm2
call fcn.10022e60
movss xmm0, dword [esp + 0xec]
add esp, 4
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0xe4]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x84]
movss dword [esp + 0x38], xmm0
mov eax, dword [esp + 0x14]
movss xmm3, dword [esp + 0x1c]
movss xmm2, dword [eax + 0x1510]
xorps xmm0, xmm0
comiss xmm0, xmm2
movss xmm0, dword [0x100ad678]
jbe 0x1004d9b3
xorps xmm1, xmm1
jmp 0x1004d9ba
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x100ad7a4]
mov dword [esp + 0x100], 0x3f800000
movss dword [esp + 0x10c], xmm2
movaps xmm2, xmm0
mov dword [esp + 0x104], 0x3f800000
addss xmm1, dword [0x100ad63c]
mov dword [esp + 0x108], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x60], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x24], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0x110], ecx
or eax, 0x808080
mov dword [esp + 0x128], ecx
mov dword [esp + 0x74], eax
lea ecx, [esp + 0x100]
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 + 0x104]
mov dword [esp + 0x124], eax
lea eax, [esp + 0x108]
push eax
call fcn.10022e60
movss xmm3, dword [esp + 0x104]
xorps xmm1, xmm1
movss xmm2, dword [0x100ad678]
add esp, 4
comiss xmm1, xmm3
jbe 0x1004dab6
xorps xmm0, xmm0
jmp 0x1004dabd
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm3, dword [0x100ad7a4]
movss xmm5, dword [0x100ad63c]
movss xmm4, dword [esp + 0x104]
comiss xmm1, xmm4
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si ecx, xmm0
jbe 0x1004daec
xorps xmm0, xmm0
jmp 0x1004daf3
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x108]
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm4
jbe 0x1004db17
xorps xmm0, xmm0
jmp 0x1004db1e
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x10c]
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm4
jbe 0x1004db42
xorps xmm0, xmm0
jmp 0x1004db49
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x88]
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si edx, xmm0
shl edx, 0x18
or edx, ecx
comiss xmm1, xmm4
mov dword [esp + 0x84], edx
jbe 0x1004db74
xorps xmm0, xmm0
jmp 0x1004db7b
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x7c]
comiss xmm1, xmm4
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si ecx, xmm0
jbe 0x1004db97
xorps xmm0, xmm0
jmp 0x1004db9e
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x38]
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm4
jbe 0x1004dbbf
xorps xmm0, xmm0
jmp 0x1004dbc6
movaps xmm0, xmm2
minss xmm0, xmm4
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x14]
movss xmm4, dword [eax + 0x1510]
comiss xmm1, xmm4
jbe 0x1004dbed
xorps xmm0, xmm0
jmp 0x1004dbf4
movaps xmm0, xmm2
minss xmm0, xmm4
mulss xmm0, xmm3
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
cmp dword [esp + 0x70], 0
mov dword [esp + 0x7c], eax
je 0x1004e56e
movss xmm1, dword [esp + 0x6c]
movaps xmm3, xmm5
movss xmm0, dword [esp + 0x5c]
mov eax, 0x2aaaaaab
divss xmm3, xmm1
cvttss2si ecx, xmm1
addss xmm0, xmm1
movss dword [esp + 0xc8], xmm3
imul ecx
movss dword [esp + 0xe0], xmm0
movaps xmm4, xmm0
mov eax, 4
mulss xmm4, xmm5
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
movss dword [esp + 0xf8], xmm4
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0xc4], ecx
mov dword [esp + 0x64], eax
nop
movd xmm1, eax
lea eax, [esp + 0xb0]
cvtdq2ps xmm1, xmm1
mov esi, dword [edi + 0x18]
push ecx
push ecx
mov ecx, edi
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x100ad764]
divss xmm1, dword [0x100ad764]
addss xmm0, xmm0
movaps xmm2, xmm4
addss xmm1, xmm1
mulss xmm0, dword [0x100ad728]
mulss xmm1, dword [0x100ad728]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x74], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x74], xmm1
call fcn.1003ba30
movss xmm0, dword [esp + 0x94]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push 0
push dword [esp + 0x2c]
push dword [edi + 0x58]
push dword [edi + 0x60]
call fcn.1003a9e0
movss xmm0, dword [esp + 0x6c]
cvtps2pd xmm0, xmm0
mov dword [edi + 0x58], 0
call fcn.100947c0
movss xmm1, dword [esp + 0x6c]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x5c]
addss xmm0, dword [esp + 0xcc]
movss dword [esp + 0x48], xmm0
cvtps2pd xmm0, xmm1
call fcn.100954d0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x5c]
addss xmm0, dword [esp + 0xd0]
movss dword [esp + 0xec], xmm0
movss xmm0, dword [esp + 0x68]
cvtps2pd xmm0, xmm0
call fcn.100947c0
movss xmm1, dword [esp + 0x68]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x5c]
addss xmm0, dword [esp + 0xcc]
movss dword [esp + 0x70], xmm0
cvtps2pd xmm0, xmm1
call fcn.100954d0
movss xmm3, dword [esp + 0x70]
xorps xmm4, xmm4
movss xmm5, dword [esp + 0x48]
movss xmm6, dword [esp + 0xec]
subss xmm3, xmm5
cvtsd2ss xmm4, xmm0
mov edx, dword [esp + 0x64]
mov ecx, dword [edi + 0x20]
movss xmm2, dword [0x100ad678]
movaps xmm0, xmm3
mulss xmm4, dword [esp + 0x5c]
movaps xmm7, xmm2
mov eax, dword [esp + edx*4 + 0x114]
mov edx, dword [esp + edx*4 + 0x110]
mulss xmm0, xmm3
mov dword [esp + 0x6c], eax
addss xmm4, dword [esp + 0xd0]
mov eax, dword [edi + 0x18]
subss xmm4, xmm6
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
divss xmm7, xmm1
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x90], eax
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x90]
jae 0x1004df75
movzx eax, dl
mov dword [esp + 0x68], eax
mov eax, edx
shr eax, 8
movzx esi, al
mov eax, dword [esp + 0x6c]
shr eax, 0x10
movzx ecx, al
mov eax, dword [esp + 0x6c]
shr edx, 0x10
movzx edx, dl
shr eax, 8
sub ecx, edx
mov dword [esp + 0x80], edx
movzx edx, al
mov eax, dword [esp + 0x6c]
sub edx, esi
movzx edi, al
sub edi, dword [esp + 0x68]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x70], esi
mov esi, dword [esp + 0x80]
nop word [eax + eax]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
subss xmm0, xmm5
subss xmm1, xmm6
mulss xmm0, xmm3
mulss xmm1, xmm4
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, xmm7
comiss xmm0, xmm1
jbe 0x1004debe
xorps xmm2, xmm2
jmp 0x1004dec2
minss xmm2, xmm1
movd xmm1, ecx
movaps xmm0, xmm2
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mov esi, dword [esp + 0x10]
addss xmm0, xmm1
movd xmm1, edx
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm1
shl eax, 8
movd xmm1, dword [esp + 0x70]
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x28], eax
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, edi
or dword [esp + 0x28], eax
shl dword [esp + 0x28], 8
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm0
movd xmm0, dword [esp + 0x68]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [0x100ad678]
or dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
and eax, 0xff000000
or dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x10], eax
mov eax, esi
mov esi, dword [esp + 0x80]
add eax, 0x14
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x90]
jb 0x1004de90
mov edi, dword [esp + 0xa0]
mov eax, dword [esp + 0x64]
movss xmm3, dword [esp + 0xc8]
inc eax
movss xmm4, dword [esp + 0xf8]
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x64], eax
cmp eax, 6
jl 0x1004dc90
movss xmm0, dword [esp + 0x1c]
addss xmm0, xmm0
mulss xmm0, dword [0x100ad728]
movss dword [esp + 0x1c], xmm0
cvtps2pd xmm0, xmm0
call fcn.100947c0
movss xmm1, dword [esp + 0x1c]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x5c], xmm0
cvtps2pd xmm0, xmm1
call fcn.100954d0
cmp byte [esp + 0x1a], 0
xorps xmm2, xmm2
movss xmm1, dword [esp + 0xe0]
movss xmm4, dword [0x100ad63c]
movss xmm5, dword [esp + 0x94]
cvtsd2ss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x5c]
mulss xmm1, xmm2
mulss xmm0, xmm4
mulss xmm1, xmm4
addss xmm0, dword [esp + 0xcc]
movss dword [esp + 0x70], xmm2
addss xmm1, dword [esp + 0xd0]
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x58], xmm1
je 0x1004e043
mulss xmm5, dword [0x100ad648]
jmp 0x1004e04b
mulss xmm5, dword [0x100ad640]
movaps xmm0, xmm5
movss dword [esp + 0x94], xmm5
divss xmm0, dword [0x100ad6a4]
cvttss2si eax, xmm0
cmp eax, 9
jge 0x1004e06f
mov eax, 9
jmp 0x1004e079
mov ecx, 0x20
cmp eax, ecx
cmovg eax, ecx
test dword [esp + 0x84], 0xff000000
movss xmm2, dword [0x100ad768]
mov esi, dword [esp + 0x9c]
mov dword [esp + 0x38], eax
je 0x1004e106
cmp eax, 2
jle 0x1004e106
movd xmm1, eax
xorps xmm3, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
push ecx
lea eax, [esp + 0x5c]
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, dword [0x100ad678]
mulss xmm0, xmm2
movaps xmm2, xmm5
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.1003ba30
push dword [esp + 0x84]
mov ecx, edi
push dword [edi + 0x58]
push dword [edi + 0x60]
call fcn.1003b530
movss xmm2, dword [0x100ad768]
movss xmm4, dword [0x100ad63c]
movss xmm5, dword [esp + 0x94]
mov dword [edi + 0x58], 0
test dword [esp + 0x74], 0xff000000
mov eax, dword [esp + 0x38]
je 0x1004e17f
cmp eax, 2
jle 0x1004e17f
movd xmm1, eax
xorps xmm3, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
push ecx
lea eax, [esp + 0x5c]
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, dword [0x100ad678]
mulss xmm0, xmm2
movaps xmm2, xmm5
addss xmm2, dword [0x100ad678]
divss xmm0, xmm1
subss xmm2, xmm4
movss dword [esp], xmm0
push eax
call fcn.1003ba30
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x7c]
push dword [edi + 0x58]
push dword [edi + 0x60]
call fcn.1003a9e0
mov eax, dword [esp + 0x38]
mov dword [edi + 0x58], 0
test dword [esp + 0x24], 0xff000000
je 0x1004e1f6
cmp eax, 2
jle 0x1004e1f6
movd xmm1, eax
xorps xmm3, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
lea eax, [esp + 0x58]
push ecx
movss xmm2, dword [esp + 0x9c]
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, dword [0x100ad678]
subss xmm2, dword [0x100ad63c]
mulss xmm0, dword [0x100ad768]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.1003ba30
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x2c]
push dword [edi + 0x58]
push dword [edi + 0x60]
call fcn.1003a9e0
mov dword [edi + 0x58], 0
movss xmm3, dword [esp + 0x5c]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x70]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x30]
movaps xmm0, xmm5
mov eax, dword [0x10183428]
mov ecx, edi
movss xmm6, dword [esp + 0xcc]
movaps xmm4, xmm3
mulss xmm0, xmm1
push 6
movss xmm7, dword [esp + 0xd4]
mulss xmm4, dword [esp + 0xa8]
push 6
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, dword [esp + 0xac]
addss xmm2, xmm6
movss dword [esp + 0x74], xmm2
movss dword [esp + 0x108], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x38]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xa0]
mulss xmm5, dword [esp + 0xb0]
addss xmm2, xmm7
movss dword [esp + 0x98], xmm2
movss dword [esp + 0x10c], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xa0]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0xb0]
addss xmm0, xmm1
addss xmm4, xmm6
addss xmm3, xmm1
addss xmm2, xmm6
addss xmm0, xmm7
movss dword [esp + 0x70], xmm4
addss xmm3, xmm7
movss dword [esp + 0xb8], xmm4
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [eax + 0x18cc]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [eax + 0x18d0]
movss dword [esp + 0x64], xmm3
movss dword [esp + 0xbc], xmm3
movss dword [esp + 0x50], xmm0
call fcn.1003a7e0
mov ecx, dword [edi + 0x3c]
mov ax, word [edi + 0x34]
movss xmm2, dword [esp + 0x6c]
movss xmm3, dword [esp + 0x90]
movss xmm0, dword [esp + 0x70]
movss xmm1, dword [esp + 0x48]
mov word [ecx], ax
mov eax, dword [edi + 0x38]
add dword [edi + 0x3c], 2
mov edx, dword [esp + 0x84]
movss xmm5, dword [esp + 0x30]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x38]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], edx
mov eax, dword [edi + 0x3c]
inc dword [edi + 0x34]
add dword [edi + 0x38], 0x14
mov ecx, dword [edi + 0x34]
mov word [eax], cx
mov eax, dword [edi + 0x38]
add dword [edi + 0x3c], 2
movss dword [eax], xmm5
movss xmm4, dword [esp + 0x34]
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x38]
movss xmm7, dword [esp + 0x68]
movss xmm6, dword [esp + 0x5c]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], edx
add dword [edi + 0x38], 0x14
inc dword [edi + 0x34]
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x34]
mov word [eax], cx
mov eax, dword [edi + 0x38]
add dword [edi + 0x3c], 2
mov ecx, dword [esp + 0x24]
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x38]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], ecx
add dword [edi + 0x38], 0x14
mov eax, dword [edi + 0x3c]
inc dword [edi + 0x34]
mov ecx, dword [edi + 0x34]
mov word [eax], cx
mov eax, dword [edi + 0x38]
add dword [edi + 0x3c], 2
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x38]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], 0
add dword [edi + 0x38], 0x14
mov eax, dword [edi + 0x3c]
inc dword [edi + 0x34]
mov ecx, dword [edi + 0x34]
mov word [eax], cx
mov eax, dword [edi + 0x38]
add dword [edi + 0x3c], 2
mov ecx, dword [esp + 0x60]
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x38]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], ecx
mov eax, dword [edi + 0x3c]
add dword [edi + 0x38], 0x14
inc dword [edi + 0x34]
mov ecx, dword [edi + 0x34]
mov word [eax], cx
mov eax, dword [edi + 0x38]
add dword [edi + 0x3c], 2
push ecx
mov dword [esp], 0x3fc00000
mov ecx, edi
push dword [esp + 0x78]
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x38]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], 0
lea eax, [esp + 0xb8]
add dword [edi + 0x38], 0x14
inc dword [edi + 0x34]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x110]
push eax
call fcn.1003c380
movss xmm0, dword [0x100ad678]
movaps xmm2, xmm0
xorps xmm1, xmm1
subss xmm2, dword [esp + 0x40]
comiss xmm1, xmm2
jbe 0x1004e4e6
xorps xmm5, xmm5
jmp 0x1004e4ed
movaps xmm5, xmm0
minss xmm5, xmm2
movss xmm2, dword [esp + 0x3c]
comiss xmm1, xmm2
jbe 0x1004e4fd
xorps xmm4, xmm4
jmp 0x1004e504
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm0, dword [esp + 0x6c]
subss xmm0, dword [esp + 0x68]
movss xmm3, dword [esp + 0x30]
movss xmm2, dword [esp + 0x34]
mulss xmm0, xmm4
addss xmm0, dword [esp + 0x68]
subss xmm3, xmm0
mulss xmm3, xmm5
addss xmm3, xmm0
movss xmm0, dword [esp + 0x90]
subss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x88], xmm3
mulss xmm0, xmm4
addss xmm0, dword [esp + 0x5c]
subss xmm2, xmm0
mulss xmm2, xmm5
addss xmm2, xmm0
movss dword [esp + 0x8c], xmm2
jmp 0x1004e8df
test dword [esp + 0x10], 0x2000000
je 0x1004e8e3
mov eax, dword [esp + 0x24]
mov ecx, edi
movss xmm0, dword [esp + 0xd4]
push eax
push edx
push edx
movss dword [esp + 0xbc], xmm0
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [esp + 0x50]
push eax
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0x68]
push eax
movss dword [esp + 0x50], xmm0
movss dword [esp + 0xcc], xmm0
call fcn.1003c200
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0xb0]
movss xmm0, dword [esp + 0xd4]
push ecx
push ecx
push 0
push 0
push eax
movss dword [esp + 0xc4], xmm0
lea eax, [esp + 0x68]
movss xmm0, dword [esp + 0x4c]
mov ecx, edi
push eax
movss dword [esp + 0xcc], xmm0
call fcn.1003c200
movss xmm0, dword [esp + 0xd4]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x34], xmm0
xorps xmm0, xmm0
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x60]
push dword [esp + 0x60]
call fcn.10023830
movss xmm2, dword [esp + 0x4c]
xorps xmm0, xmm0
movss xmm1, dword [0x100ad678]
add esp, 0x10
comiss xmm0, xmm2
jbe 0x1004e655
xorps xmm3, xmm3
jmp 0x1004e65c
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm7, dword [esp + 0x44]
movss xmm6, dword [esp + 0x54]
movss xmm4, dword [0x100ad63c]
mulss xmm3, xmm7
movss xmm5, dword [0x100ad6f4]
addss xmm3, xmm6
addss xmm6, xmm5
addss xmm3, xmm4
cvttss2si eax, xmm3
movss xmm3, dword [esp + 0xd4]
subss xmm3, xmm5
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm6, xmm2
jbe 0x1004e6b0
movss dword [esp + 0x88], xmm6
jmp 0x1004e6c9
comiss xmm2, xmm3
jbe 0x1004e6c0
movss dword [esp + 0x88], xmm3
jmp 0x1004e6c9
movss dword [esp + 0x88], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x40]
comiss xmm0, xmm2
jbe 0x1004e6dc
xorps xmm1, xmm1
jmp 0x1004e6e0
minss xmm1, xmm2
movss xmm3, dword [esp + 0x2c]
mulss xmm1, xmm7
movss xmm0, dword [esp + 0x38]
subss xmm0, xmm5
addss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
movaps xmm1, xmm3
addss xmm1, xmm5
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x1004e71e
movss dword [esp + 0x8c], xmm1
jmp 0x1004e737
comiss xmm2, xmm0
jbe 0x1004e72e
movss dword [esp + 0x8c], xmm0
jmp 0x1004e737
movss dword [esp + 0x8c], xmm2
movss xmm0, dword [esp + 0xc0]
movaps xmm1, xmm7
divss xmm1, dword [0x100ad764]
mov esi, dword [esp + 0xa0]
xor ecx, ecx
movss dword [esp + 0x100], xmm0
movss xmm0, dword [esp + 0xe0]
movss dword [esp + 0x70], xmm1
movss dword [esp + 0xb0], xmm0
nop word [eax + eax]
mov eax, dword [esp + ecx*4 + 0x114]
lea edi, [ecx + 1]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov ecx, dword [esp + ecx*4 + 0x110]
push eax
push eax
push ecx
push ecx
mulss xmm0, xmm1
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0x114]
mov ecx, esi
push eax
addss xmm0, xmm3
movss dword [esp + 0x11c], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0xcc], xmm0
call fcn.1003c200
movss xmm1, dword [esp + 0x70]
mov ecx, edi
movss xmm3, dword [esp + 0x2c]
cmp ecx, 6
jl 0x1004e780
movss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm3
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0xe0]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x34], xmm0
xorps xmm0, xmm0
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x60]
push dword [esp + 0x60]
call fcn.10023830
movss xmm0, dword [esp + 0xd0]
subss xmm0, dword [0x100ad678]
mov esi, dword [esp + 0xac]
movss xmm1, dword [esp + 0x88]
addss xmm1, dword [0x100ad6f4]
mov edi, dword [esp + 0xb0]
mov ecx, edi
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x2c]
mulss xmm0, dword [esp + 0x54]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
addss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x44], xmm2
push dword [esp + 0x44]
addss xmm0, dword [0x100ad63c]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x28]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x6c], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x100ad678]
movss xmm2, dword [eax + 0x1510]
movss dword [esp + 0x44], xmm0
push dword [esp + 0x44]
push dword [esp + 0x70]
push dword [esp + 0x70]
call fcn.1004c1e0
add esp, 0x20
mov eax, dword [esp + 0x7c]
cmp byte [esp + 0x19], 0
je 0x1004e8fd
movss xmm2, dword [0x100ad774]
movss dword [esp + 0xf4], xmm2
jmp 0x1004e905
movss xmm2, dword [0x100ad764]
test eax, 0xff000000
je 0x1004e940
push 0xb
push ecx
lea eax, [esp + 0x90]
mov dword [esp], 0x40b84e89
push eax
xorps xmm3, xmm3
mov ecx, edi
call fcn.1003ba30
push dword [esp + 0x7c]
mov ecx, edi
push dword [edi + 0x58]
push dword [edi + 0x60]
call fcn.1003b530
mov dword [edi + 0x58], 0
test dword [esp + 0x74], 0xff000000
je 0x1004e9a1
movss xmm2, dword [esp + 0xf4]
lea eax, [esp + 0x88]
addss xmm2, dword [0x100ad678]
push 0xb
push ecx
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
subss xmm2, dword [0x100ad63c]
mov ecx, edi
call fcn.1003ba30
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x7c]
push dword [edi + 0x58]
push dword [edi + 0x60]
call fcn.1003a9e0
mov dword [edi + 0x58], 0
test dword [esp + 0x24], 0xff000000
je 0x1004e9fa
movss xmm2, dword [esp + 0xf4]
lea eax, [esp + 0x88]
subss xmm2, dword [0x100ad63c]
push 0xb
push ecx
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
mov ecx, edi
call fcn.1003ba30
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x2c]
push dword [edi + 0x58]
push dword [edi + 0x60]
call fcn.1003a9e0
mov dword [edi + 0x58], 0
cmp dword [esp + 0xac], 0x10000
jne 0x1004ebba
mov eax, dword [esp + 0x20]
xorps xmm2, xmm2
movss xmm1, dword [eax + 0xc]
comiss xmm2, xmm1
jbe 0x1004ea27
movss dword [esp + 0x9c], xmm2
jmp 0x1004ea3c
movss xmm0, dword [0x100ad678]
minss xmm0, xmm1
movss dword [esp + 0x9c], xmm0
movss xmm3, dword [esp + 0xd8]
or edx, 0xffffffff
movss xmm0, dword [esp + 0x2c]
movaps xmm1, xmm3
addss xmm1, dword [esp + 0x78]
movss dword [esp + 0xb4], xmm0
xor ecx, ecx
addss xmm0, dword [esp + 0x44]
mov dword [esp + 0x34], 0
push dword [esp + 0x34]
movss dword [esp + 0xbc], xmm1
subss xmm1, xmm3
mov dword [esp + 0x34], 0
push dword [esp + 0x34]
movss dword [esp + 0xc4], xmm0
push dword [esp + 0xc4]
mulss xmm1, dword [0x100ad63c]
push dword [esp + 0xc4]
movss dword [esp + 0xc0], xmm3
push dword [esp + 0xc4]
mov edi, dword [esp + 0xc4]
push edi
call fcn.1004bf10
mov ecx, dword [esp + 0x94]
add esp, 0x18
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0xb0]
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.1003c200
push dword [esp + 0xbc]
xorps xmm0, xmm0
push dword [esp + 0xbc]
push dword [esp + 0xbc]
push edi
call fcn.10023830
movss xmm1, dword [0x100ad678]
movss xmm0, dword [esp + 0xe8]
subss xmm0, xmm1
mov ecx, dword [esp + 0xb0]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movss dword [esp + 0x64], xmm0
movaps xmm0, xmm1
subss xmm0, dword [esp + 0xac]
movss dword [esp + 0x44], xmm2
push dword [esp + 0x44]
mulss xmm0, dword [esp + 0x58]
addss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x100ad63c]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x28]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x6c], xmm0
movaps xmm0, xmm2
movss xmm2, dword [eax + 0x1510]
addss xmm0, xmm1
movss xmm1, dword [esp + 0x8c]
addss xmm1, dword [0x100ad6f4]
movss dword [esp + 0x44], xmm0
push dword [esp + 0x44]
push dword [esp + 0x70]
push dword [esp + 0x70]
call fcn.1004c1e0
add esp, 0x20
call fcn.1002d3a0
cmp byte [esp + 0xf], 0
mov esi, dword [0x10183428]
je 0x1004ec47
mov edi, dword [esp + 0xdc]
lea ecx, [esp + 0x12c]
mov edx, dword [esp + 0x20]
sub edi, 4
jb 0x1004ebf8
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1004ebfd
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1004ebe7
cmp edi, 0xfffffffc
je 0x1004ec42
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1004ec2a
cmp edi, 0xfffffffd
je 0x1004ec42
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1004ec2a
cmp edi, 0xfffffffe
je 0x1004ec42
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1004ec2a
cmp edi, 0xffffffff
je 0x1004ec42
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1004ec42
mov eax, dword [esi + 0x19b0]
mov word [esi + 0x19f3], 0x101
or dword [eax + 0x10c], 4
jmp 0x1004ec47
mov byte [esp + 0xf], 0
mov ecx, dword [esi + 0x19b0]
mov al, byte [esp + 0xf]
pop edi
pop esi
dec dword [ecx + 0xbc]
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.1006def6
mov esp, ebp
pop ebp
ret