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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x120
push esi
mov esi, dword [0x100d83e0]
push edi
mov edi, edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x78], edi
mov eax, dword [esi + 0x198c]
mov dword [esp + 0x10], esi
mov byte [eax + 0x7c], 1
mov eax, dword [esi + 0x198c]
mov dword [esp + 0xc], eax
mov eax, dword [eax + 0x274]
mov dword [esp + 0x34], eax
call fcn.1002adb0
call fcn.1002af10
mov ecx, dword [ebp + 8]
mov edx, ecx
or edx, 0x10
mov eax, ecx
and eax, 0x100
cmovne edx, ecx
mov dword [esp + 0x54], edx
test dl, 8
jne 0x10048ed0
mov ecx, edi
call fcn.1004b870
mov edx, dword [esp + 0x54]
test edx, 0x6000000
jne 0x10048ef5
mov eax, dword [esi + 0x2c64]
mov ecx, 0x2900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x10048ef7
mov ecx, edx
mov dword [esp + 0x30], ecx
test cl, 8
jne 0x10048f11
mov eax, dword [esi + 0x2c64]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x30], ecx
mov eax, ecx
mov edx, ecx
and eax, 0x10002
and edx, 2
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0xbc], edx
movss xmm0, dword [eax + 0xcc]
movss xmm5, dword [eax + 0xc8]
mov eax, dword [0x100d83e0]
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x4c], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x48], xmm5
movss xmm4, dword [eax + 0x1538]
addss xmm4, xmm4
addss xmm4, dword [eax + 0x18ac]
mov eax, dword [eax + 0x198c]
mov dword [esp + 0xc], eax
movss xmm2, dword [eax + 0x16c]
comiss xmm0, xmm2
movss dword [esp + 0x64], xmm4
jbe 0x10049008
mov ecx, dword [eax + 0x1bc]
movss xmm3, dword [eax + 0xc8]
movss xmm1, dword [eax + 0x214]
mov dword [esp + 0x54], ecx
subss xmm3, dword [eax + 0xc]
subss xmm1, dword [eax + 0xc]
test ecx, ecx
je 0x10048ff4
mov edx, dword [ecx + 0xc]
movss xmm0, dword [ecx + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
lea ecx, [edx*8]
sub ecx, edx
mov edx, dword [esp + 0x54]
movss xmm1, dword [edx + 0x18]
mov eax, dword [edx + 0x34]
subss xmm1, xmm0
mov edx, dword [esp + 0xbc]
mulss xmm1, dword [eax + ecx*4]
mov eax, dword [esp + 0xc]
addss xmm1, xmm0
subss xmm1, dword [eax + 0x3c]
subss xmm1, xmm3
addss xmm1, xmm2
movss xmm2, dword [0x100c4bc8]
maxss xmm2, xmm1
movss xmm3, dword [esi + 0x154c]
cvttss2si eax, xmm2
movaps xmm0, xmm3
movss dword [esp + 0xc0], xmm3
addss xmm0, xmm4
movd xmm2, eax
xor eax, eax
cmp dword [esp + 0xe0], 0x10000
cvtdq2ps xmm2, xmm2
sete al
inc eax
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
test edx, edx
sete al
mulss xmm1, xmm0
movaps xmm0, xmm4
lea eax, [eax*4 + 0xc]
push eax
lea eax, [esp + 0x11c]
subss xmm2, xmm1
movaps xmm1, xmm5
push edi
push eax
maxss xmm0, xmm2
addss xmm1, xmm0
movss dword [esp + 0x24], xmm0
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [esp + 0x64], xmm1
movss dword [esp + 0x68], xmm0
addss xmm0, xmm4
movss dword [esp + 0x74], xmm0
addss xmm0, xmm3
movss dword [esp + 0xf4], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x100c4b54]
cvttss2si esi, xmm0
mov dword [esp + 0x80], esi
call fcn.10073b90
movss xmm1, dword [esp + 0x24]
add esp, 0xc
movaps xmm2, xmm1
mov dword [esp + 0x24], 0
mulss xmm2, dword [0x100c4b74]
movaps xmm4, xmm1
mulss xmm4, dword [0x100c4b38]
movaps xmm0, xmm2
movss dword [esp + 0xc], xmm2
addss xmm0, dword [esp + 0x1c]
movaps xmm3, xmm2
movss dword [esp + 0x90], xmm4
subss xmm3, xmm4
movaps xmm4, xmm1
addss xmm4, dword [esp + 0x64]
movss dword [esp + 0x7c], xmm0
movss dword [esp + 0xd4], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100c4b24]
movaps xmm1, xmm3
mulss xmm4, dword [0x100c4b74]
cvttss2si eax, xmm0
addss xmm4, dword [esp + 0x48]
movss dword [esp + 0x8c], xmm3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x80], xmm4
subss xmm1, xmm0
movss dword [esp + 0xd0], xmm4
movaps xmm0, xmm1
movss dword [esp + 0x20], xmm1
mulss xmm0, dword [0x100c4f30]
movaps xmm2, xmm1
mulss xmm2, dword [0x100c4f3c]
movss dword [esp + 0xb0], xmm0
movss dword [esp + 0xa0], xmm0
movss dword [esp + 0xfc], xmm0
movaps xmm0, xmm1
movss dword [esp + 0x9c], xmm2
movss dword [esp + 0xa4], xmm2
mulss xmm0, dword [0x100c4bb4]
xorps xmm4, xmm4
movss xmm1, dword [edi + 4]
movss xmm3, dword [edi + 8]
comiss xmm3, xmm1
movss xmm5, dword [edi]
movss dword [esp + 0xcc], xmm0
movss dword [esp + 0x100], xmm0
movss dword [esp + 0x6c], xmm5
jbe 0x100491f3
movss xmm4, dword [0x100c4f40]
movaps xmm0, xmm1
movaps xmm1, xmm3
movaps xmm3, xmm0
comiss xmm1, xmm5
jbe 0x10049216
movaps xmm0, xmm5
movss dword [esp + 0x6c], xmm1
movaps xmm5, xmm1
movaps xmm1, xmm0
movss xmm0, dword [0x100c4f2c]
subss xmm0, xmm4
movaps xmm4, xmm0
movaps xmm0, xmm1
mov byte [esp + 9], 0
minss xmm0, xmm3
mov byte [esp + 0xa], 0
movaps xmm2, xmm5
mov byte [esp + 0xb], 0
subss xmm1, xmm3
mov ecx, 8
movss xmm3, dword [0x100c4c54]
movss dword [esp + 0xe4], xmm3
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm3
addss xmm0, dword [0x100c4adc]
divss xmm1, xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x100c4adc]
addss xmm1, xmm4
divss xmm2, xmm0
andps xmm1, xmmword [0x100c5760]
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0x60], xmm2
call fcn.1002a870
mov eax, dword [esp + 0x30]
mov ecx, eax
and ecx, 0x4000000
mov dword [esp + 0xc8], ecx
je 0x1004986d
movss xmm1, dword [esp + 0x18]
lea edx, [esp + 0x40]
mov eax, dword [esp + 0x10]
movaps xmm0, xmm1
mov ecx, 0x100c2874
movss dword [esp + 0x44], xmm1
addss xmm0, dword [eax + 0x154c]
addss xmm0, dword [esp + 0x64]
movss dword [esp + 0x40], xmm0
call fcn.1003fc30
mov eax, dword [0x100d83e0]
mov ecx, dword [eax + 0x19ac]
test ecx, ecx
je 0x10049763
mov eax, dword [eax + 0x198c]
cmp ecx, dword [eax + 0x10c]
jne 0x10049763
mov eax, dword [esp + 0x10]
movss xmm0, dword [eax + 0x380]
subss xmm0, dword [esp + 0x80]
movss xmm1, dword [eax + 0x384]
subss xmm1, dword [esp + 0x7c]
movss xmm4, dword [eax + 0xe0]
movss xmm3, dword [eax + 0xe4]
subss xmm4, dword [esp + 0x80]
subss xmm3, dword [esp + 0x7c]
movaps xmm2, xmm0
movss dword [esp + 0x54], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x2c], xmm1
movss xmm1, dword [0x100c4bc8]
addss xmm2, xmm0
movss dword [esp + 0x84], xmm4
movss xmm0, dword [esp + 0x8c]
subss xmm0, xmm1
movss dword [esp + 0xf4], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x10049406
movss xmm0, dword [esp + 0xc]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x10049406
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x40], xmm0
fld qword [esp + 0x40]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x40], xmm0
fld qword [esp + 0x40]
call fcn.100a7750
movss xmm2, dword [0x100c4c20]
xorps xmm0, xmm0
fstp qword [esp + 0x40]
movsd xmm1, qword [esp + 0x40]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x100c4b74]
comiss xmm0, xmm1
movss dword [esp + 0x3c], xmm1
jbe 0x100493fe
addss xmm1, dword [0x100c4bc8]
movss dword [esp + 0x3c], xmm1
mov al, 1
mov byte [esp + 9], al
jmp 0x10049418
mov al, byte [esp + 9]
movss xmm2, dword [0x100c4c20]
movss xmm1, dword [esp + 0x3c]
movaps xmm0, xmm1
mov byte [esp + 0xa], al
mulss xmm0, dword [0x100c4f48]
mulss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x40], xmm0
call fcn.100a7a70
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x14], xmm0
movsd xmm0, qword [esp + 0x40]
call fcn.100a8780
movss xmm2, dword [esp + 0x14]
xorps xmm5, xmm5
mulss xmm2, dword [esp + 0x54]
cvtsd2ss xmm5, xmm0
movss xmm7, dword [esp + 0xb0]
movaps xmm0, xmm5
movss xmm6, dword [esp + 0x20]
mulss xmm0, dword [esp + 0x2c]
subss xmm6, xmm7
movaps xmm3, xmm5
movaps xmm4, xmm7
mulss xmm3, dword [esp + 0x54]
subss xmm4, xmm7
subss xmm2, xmm0
movss xmm0, dword [esp + 0x14]
movss dword [esp + 0xb8], xmm6
mulss xmm0, dword [esp + 0x2c]
movss dword [esp + 0xec], xmm4
movaps xmm1, xmm2
addss xmm3, xmm0
movss xmm0, dword [esp + 0x9c]
subss xmm0, dword [esp + 0xcc]
subss xmm1, xmm7
movss dword [esp + 0x54], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, dword [esp + 0xcc]
mulss xmm0, xmm4
xorps xmm4, xmm4
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0x9c]
comiss xmm4, xmm1
movaps xmm1, xmm2
movss dword [esp + 0xb4], xmm0
subss xmm1, xmm7
seta cl
mulss xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, dword [esp + 0x9c]
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm4, xmm1
seta al
cmp al, cl
jne 0x1004975b
movss xmm7, dword [esp + 0xcc]
subss xmm3, xmm4
movss xmm0, dword [esp + 0xb0]
subss xmm7, xmm4
subss xmm0, dword [esp + 0x20]
subss xmm2, dword [esp + 0x20]
movss dword [esp + 0x40], xmm7
mulss xmm3, xmm0
mulss xmm2, xmm7
movss dword [esp + 0x2c], xmm0
subss xmm2, xmm3
comiss xmm4, xmm2
seta al
cmp cl, al
jne 0x1004975b
movss xmm1, dword [esp + 0x14]
movaps xmm0, xmm5
movss xmm2, dword [esp + 0xf4]
movaps xmm6, xmm1
mulss xmm6, dword [esp + 0x84]
mulss xmm5, dword [esp + 0x84]
mulss xmm1, xmm2
mulss xmm0, xmm2
movss xmm2, dword [esp + 0xb0]
addss xmm5, xmm1
subss xmm6, xmm0
movaps xmm0, xmm5
movss dword [esp + 0xf8], xmm5
subss xmm0, dword [esp + 0xcc]
movaps xmm1, xmm6
movss dword [esp + 0xf4], xmm6
subss xmm1, xmm2
mulss xmm0, dword [esp + 0xec]
mulss xmm1, dword [esp + 0x54]
subss xmm1, xmm0
movaps xmm0, xmm5
subss xmm0, dword [esp + 0x9c]
comiss xmm4, xmm1
mulss xmm0, dword [esp + 0xb8]
movaps xmm1, xmm6
subss xmm1, xmm2
seta cl
mulss xmm1, dword [esp + 0xb4]
subss xmm1, xmm0
comiss xmm4, xmm1
seta al
cmp al, cl
jne 0x1004965a
movaps xmm1, xmm6
movaps xmm0, xmm5
subss xmm1, dword [esp + 0x20]
subss xmm0, xmm4
mulss xmm1, xmm7
mulss xmm0, dword [esp + 0x2c]
subss xmm1, xmm0
comiss xmm4, xmm1
seta al
cmp cl, al
je 0x100496a0
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0x100]
push eax
lea eax, [esp + 0xa8]
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x90]
call fcn.1001fdd0
movss xmm7, dword [esp + 0x4c]
add esp, 0xc
movss xmm2, dword [esp + 0xb0]
xorps xmm4, xmm4
movss xmm6, dword [eax]
movss xmm5, dword [eax + 4]
subss xmm6, dword [esp + 0x20]
movaps xmm3, xmm2
subss xmm5, xmm4
movss xmm2, dword [esp + 0x9c]
movaps xmm1, xmm7
subss xmm3, dword [esp + 0x20]
subss xmm2, xmm4
movss xmm4, dword [esp + 0x2c]
movaps xmm0, xmm4
mulss xmm7, xmm6
mulss xmm4, xmm5
mulss xmm0, xmm2
mulss xmm1, xmm3
subss xmm7, xmm4
mulss xmm6, xmm2
subss xmm1, xmm0
mulss xmm5, xmm3
movss xmm0, dword [0x100c4bc8]
movaps xmm4, xmm0
subss xmm5, xmm6
divss xmm7, xmm1
divss xmm5, xmm1
movss xmm1, dword [0x100c4b00]
subss xmm4, xmm7
movss dword [esp + 0x60], xmm1
comiss xmm1, xmm4
movaps xmm2, xmm4
subss xmm2, xmm5
jbe 0x1004972c
movaps xmm3, xmm1
movss dword [esp + 0x6c], xmm1
jmp 0x10049739
movaps xmm3, xmm0
minss xmm3, xmm4
movss dword [esp + 0x6c], xmm3
divss xmm2, xmm3
comiss xmm1, xmm2
ja 0x1004974f
movaps xmm1, xmm0
minss xmm1, xmm2
movss dword [esp + 0x60], xmm1
mov byte [esp + 0xb], 1
mov byte [esp + 9], 1
jmp 0x10049763
mov al, byte [esp + 9]
mov byte [esp + 0xa], al
test byte [esp + 0x30], 8
jne 0x1004976f
call fcn.1002b6b0
movss xmm4, dword [esp + 0x18]
movss xmm3, dword [esp + 0x1c]
cmp dword [esp + 0xe0], 0x10000
jne 0x10049a7f
mov ecx, dword [0x100d83e0]
lea edx, [esp + 0xa0]
movss xmm0, dword [esp + 0xe8]
movss dword [esp + 0xa4], xmm4
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x198c]
mov ecx, 0x100c2880
movss dword [eax + 0xc8], xmm0
movss dword [eax + 0xcc], xmm3
movss xmm1, dword [eax + 0xe0]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xe4]
maxss xmm0, xmm3
movss dword [eax + 0xe0], xmm1
movss dword [eax + 0xe4], xmm0
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0xa0], xmm0
call fcn.1003fc30
mov eax, dword [0x100d83e0]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 0x19ac]
test ecx, ecx
je 0x10049a83
mov eax, dword [eax + 0x198c]
cmp ecx, dword [eax + 0x10c]
jne 0x10049a83
movss xmm3, dword [edx + 0xe4]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x18]
movss xmm1, dword [0x100c4bc8]
subss xmm3, dword [esp + 0x1c]
subss xmm0, xmm1
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x10049a65
xorps xmm4, xmm4
jmp 0x10049a6c
test eax, 0x2000000
je 0x1004976f
movss xmm0, dword [esp + 0x18]
lea edx, [esp + 0xa0]
mov ecx, 0x100c2878
movss dword [esp + 0xa0], xmm0
movss dword [esp + 0xa4], xmm0
call fcn.1003fc30
mov ecx, dword [0x100d83e0]
mov edx, dword [ecx + 0x19ac]
test edx, edx
je 0x10049938
mov eax, dword [ecx + 0x198c]
cmp edx, dword [eax + 0x10c]
jne 0x10049938
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x18]
movss xmm1, dword [0x100c4bc8]
subss xmm4, xmm1
movss xmm2, dword [eax + 0xe0]
subss xmm2, dword [esp + 0x48]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x100498fb
movss dword [esp + 0x60], xmm0
jmp 0x10049908
movaps xmm3, xmm1
minss xmm3, xmm2
movss dword [esp + 0x60], xmm3
movss xmm2, dword [eax + 0xe4]
subss xmm2, dword [esp + 0x1c]
divss xmm2, xmm4
comiss xmm0, xmm2
ja 0x10049926
movaps xmm0, xmm1
minss xmm0, xmm2
subss xmm1, xmm0
mov al, 1
mov byte [esp + 9], al
movss dword [esp + 0x6c], xmm1
jmp 0x1004993c
mov al, byte [esp + 9]
test byte [esp + 0x30], 8
mov byte [esp + 0xb], al
mov byte [esp + 0x73], al
jne 0x10049956
call fcn.1002b6b0
mov ecx, dword [0x100d83e0]
mov eax, dword [ecx + 0x198c]
lea edx, [esp + 0xa0]
movss xmm2, dword [esp + 0x5c]
movss xmm0, dword [esp + 0x1c]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x198c]
mov ecx, 0x100c287c
movss dword [eax + 0xcc], xmm0
movss dword [eax + 0xc8], xmm2
movss xmm0, dword [eax + 0xe4]
maxss xmm0, dword [eax + 0xcc]
movss xmm1, dword [eax + 0xe0]
maxss xmm1, xmm2
movss dword [eax + 0xe4], xmm0
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0xa0], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [eax + 0xe0], xmm1
movss dword [esp + 0xa4], xmm0
call fcn.1003fc30
mov eax, dword [0x100d83e0]
mov ecx, dword [eax + 0x19ac]
test ecx, ecx
je 0x1004976f
mov eax, dword [eax + 0x198c]
mov dl, byte [esp + 9]
movss xmm3, dword [esp + 0x1c]
movss xmm4, dword [esp + 0x18]
mov byte [esp + 0xb], dl
cmp ecx, dword [eax + 0x10c]
jne 0x1004977b
mov eax, dword [esp + 0x10]
movaps xmm0, xmm4
movss xmm1, dword [0x100c4bc8]
subss xmm0, xmm1
movss xmm2, dword [eax + 0xe4]
subss xmm2, xmm3
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
ja 0x10049a48
movaps xmm0, xmm1
minss xmm0, xmm2
mov al, byte [esp + 0x73]
movss dword [esp + 0x3c], xmm0
mov byte [esp + 0xa], 1
mov byte [esp + 9], 1
mov byte [esp + 0xb], al
jmp 0x1004977b
movaps xmm4, xmm1
minss xmm4, xmm3
movaps xmm0, xmm1
mov byte [esp + 9], 1
subss xmm0, xmm4
movss dword [edi + 0xc], xmm0
jmp 0x10049a83
mov edx, dword [esp + 0x10]
mov ecx, dword [0x100d83e0]
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x198c]
mov eax, dword [ecx + 0x174]
add eax, 0xffffffff
mov dword [esp + 0x40], eax
mov dword [ecx + 0x174], eax
jne 0x10049ab2
xor eax, eax
jmp 0x10049ac4
mov esi, dword [esp + 0x40]
mov eax, dword [ecx + 0x17c]
mov eax, dword [eax + esi*4 - 4]
mov esi, dword [esp + 0x74]
mov dword [ecx + 0x168], eax
mov eax, dword [esp + 0x30]
mov ecx, eax
and ecx, 0x100
mov dword [esp + 0x14], ecx
jne 0x10049af9
movss xmm1, dword [edx + 0x154c]
xorps xmm0, xmm0
call fcn.1002b1d0
call fcn.1002af10
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
and eax, 0x80
mov dword [esp + 0x40], eax
jne 0x10049b50
mov edx, dword [esp + 0x38]
mov edi, edx
cmp edx, 0xffffffff
jae 0x10049b4c
nop
mov al, byte [edi]
test al, al
je 0x10049b25
cmp al, 0x23
jne 0x10049b1f
cmp byte [edi + 1], al
je 0x10049b25
inc edi
cmp edi, 0xffffffff
jb 0x10049b10
cmp edx, edi
je 0x10049b4c
test ecx, ecx
je 0x10049b41
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x154c]
call fcn.1002b1d0
mov ecx, dword [esp + 0x38]
mov edx, edi
call fcn.1003ea60
mov edi, dword [esp + 0x78]
cmp dword [esp + 0x14], 0
jne 0x10049d3c
mov ecx, 0x10
call fcn.1002a870
cmp dword [esp + 0xbc], 0
je 0x10049b79
movss xmm1, dword [0x100c4bc8]
jmp 0x10049b7e
movss xmm1, dword [edi + 0xc]
cmp dword [esp + 0x40], 0
movss xmm0, dword [edi]
movss dword [esp + 0xa0], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0xa8], xmm0
movss dword [esp + 0xac], xmm1
je 0x10049bc4
push 0x100c2888
call fcn.1003f0c0
add esp, 4
movss xmm1, dword [esp + 0x64]
lea edx, [esp + 0xa0]
mov eax, dword [esp + 0x30]
movaps xmm0, xmm1
mulss xmm0, dword [0x100c4c1c]
and eax, 0xe0040
mov ecx, 0x100c2890
mov dword [esp + 0xb4], eax
movss dword [esp + 0xec], xmm0
movss dword [esp + 0x40], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0xf0], xmm0
push dword [esp + 0xf0]
movss dword [esp + 0xbc], xmm0
push dword [esp + 0xf0]
push eax
call fcn.1004b1a0
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x10049cfc
push 0x100c289c
call fcn.1003f0c0
mov eax, dword [ebp + 0xc]
add esp, 4
cmp dword [esp + 0xbc], 0
je 0x10049c5e
movss xmm1, dword [0x100c4bc8]
jmp 0x10049c63
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0xfc]
movss dword [esp + 0xfc], xmm0
mov ecx, 0x100c28a8
movss xmm0, dword [eax + 4]
movss dword [esp + 0x100], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x104], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0xb8]
movss dword [esp + 0x44], xmm0
push dword [esp + 0x44]
movss dword [esp + 0x10c], xmm1
push dword [esp + 0x44]
push dword [esp + 0xbc]
call fcn.1004b1a0
add esp, 0xc
test al, al
je 0x10049cfc
xor eax, eax
cmp dword [esp + 0xbc], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [ebp + 0xc]
push edi
call fcn.10073b90
add esp, 0xc
mov byte [esp + 9], 1
mov ecx, dword [0x100d83e0]
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x198c]
mov edx, dword [ecx + 0x174]
sub edx, 1
mov dword [ecx + 0x174], edx
jne 0x10049d27
xor eax, eax
jmp 0x10049d31
mov eax, dword [ecx + 0x17c]
mov eax, dword [eax + edx*4 - 4]
mov dword [ecx + 0x168], eax
call fcn.1002b040
cmp byte [esp + 0xa], 0
jne 0x10049d4a
cmp byte [esp + 0xb], 0
je 0x10049da2
movss xmm1, dword [esp + 0x6c]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10049d5d
movaps xmm3, xmm1
jmp 0x10049d65
movss xmm3, dword [0x100c4ae8]
movss xmm1, dword [esp + 0x60]
comiss xmm1, xmm0
movss xmm2, dword [0x100c4af0]
ja 0x10049d7b
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x3c]
comiss xmm0, dword [0x100c4bc8]
jb 0x10049d8e
subss xmm0, xmm2
lea eax, [edi + 8]
mov ecx, edi
push eax
lea edx, [edi + 4]
movaps xmm2, xmm3
call fcn.10020730
add esp, 4
test byte [esp + 0x30], 0x20
mov byte [esp + 0xa], 0
jne 0x1004a09f
cmp dword [esp + 0xe0], 0x10000
jne 0x10049dc7
movss xmm1, dword [esp + 0x68]
jmp 0x10049dcd
movss xmm1, dword [esp + 0x58]
movss xmm0, dword [esp + 0xc0]
mov ecx, dword [0x100d83e0]
addss xmm0, xmm1
mov eax, dword [ecx + 0x198c]
addss xmm0, dword [esp + 0x64]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x198c]
subss xmm0, dword [esp + 0x48]
mov dword [esp + 0x40], ecx
ucomiss xmm0, dword [0x100c4ac8]
lahf
test ah, 0x44
jp 0x10049e15
movss xmm0, dword [ecx + 0x220]
lea edx, [ecx + 0x180]
movss dword [ecx + 0x16c], xmm0
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x38], edx
mov dword [esp + 0x14], eax
cmp eax, ecx
jne 0x10049e72
inc eax
mov dword [esp + 0xc0], eax
test ecx, ecx
je 0x10049e4f
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x38]
sar eax, 1
add eax, ecx
jmp 0x10049e54
mov eax, 8
mov ecx, dword [esp + 0xc0]
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.100308c0
mov edx, dword [esp + 0x38]
mov eax, dword [edx]
mov dword [esp + 0x14], eax
mov ecx, dword [edx + 8]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x14]
mov eax, dword [eax + 0x16c]
mov dword [ecx + esi*4], eax
inc dword [edx]
mov eax, dword [esp + 0x30]
mov edx, eax
and edx, 0x18e001a
mov ecx, eax
mov dword [esp + 0x14], edx
test eax, 0x100000
jne 0x10049eaf
and ecx, 0x700000
mov dword [esp + 0x2c], ecx
jne 0x10049f0e
jmp 0x10049eb5
and ecx, 0x700000
or edx, 0x100004
mov dword [esp + 0x2c], ecx
push edx
mov edx, edi
mov ecx, 0x100c28b4
call fcn.10047b20
add esp, 4
test al, al
je 0x10049f02
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x19ac], 0
je 0x10049eee
cmp byte [eax + 0x19bd], 0
mov byte [esp + 0xa], 1
je 0x10049ef3
mov byte [esp + 0xa], 0
mov ecx, dword [esp + 0x2c]
mov byte [esp + 9], 1
mov dword [esp + 0x2c], ecx
jmp 0x10049f06
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x74]
test eax, 0x200000
jne 0x10049f1d
test ecx, ecx
jne 0x10049f3f
or edx, 0x200004
mov ecx, 0x100c28bc
push edx
mov edx, edi
call fcn.10047b20
mov ecx, dword [esp + 0x30]
add esp, 4
or byte [esp + 9], al
mov eax, dword [esp + 0x30]
test eax, 0x400000
jne 0x10049f4a
test ecx, ecx
jne 0x10049f67
mov eax, dword [esp + 0x14]
mov edx, edi
or eax, 0x400004
mov ecx, 0x100c28c4
push eax
call fcn.10047b20
add esp, 4
or byte [esp + 9], al
mov ecx, dword [0x100d83e0]
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x198c]
mov edx, dword [ecx + 0x180]
sub edx, 1
mov dword [ecx + 0x180], edx
jne 0x10049f98
movss xmm0, dword [ecx + 0x220]
jmp 0x10049fa4
mov eax, dword [ecx + 0x188]
movss xmm0, dword [eax + edx*4 - 4]
cmp byte [esp + 0xa], 0
movss dword [ecx + 0x16c], xmm0
je 0x1004a09f
movss xmm3, dword [edi + 4]
lea edx, [edi + 4]
movss xmm5, dword [edi + 8]
lea ecx, [edi + 8]
comiss xmm5, xmm3
movss xmm4, dword [edi]
xorps xmm2, xmm2
xorps xmm6, xmm6
jbe 0x10049fe7
movss xmm6, dword [0x100c4f40]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x1004a004
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x100c4f2c]
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 [0x100c4adc]
movaps xmm7, xmm1
mulss xmm1, dword [0x100c4c54]
divss xmm7, xmm0
addss xmm1, dword [0x100c4adc]
divss xmm3, xmm1
addss xmm3, xmm6
andps xmm3, xmmword [0x100c5760]
comiss xmm2, xmm3
jb 0x1004a09f
movss xmm0, dword [esp + 0x3c]
comiss xmm0, xmm2
jbe 0x1004a09f
comiss xmm2, xmm4
jb 0x1004a07e
movss xmm1, dword [esp + 0x6c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1004a07e
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x60]
mulss xmm2, dword [0x100c4b74]
jmp 0x1004a094
comiss xmm2, xmm7
jb 0x1004a09f
movss xmm1, dword [esp + 0x60]
movaps xmm2, xmm4
mulss xmm1, dword [0x100c4b74]
push ecx
mov ecx, edi
call fcn.10020730
add esp, 4
movaps xmm0, xmmword [0x100c5710]
lea eax, [esp + 0xa8]
movss xmm2, dword [0x100c4bc8]
lea edx, [esp + 0xa4]
movups xmmword [esp + 0xa0], xmm0
lea ecx, [esp + 0xa0]
movss xmm0, dword [esp + 0x3c]
movaps xmm1, xmm2
push eax
call fcn.10020730
movups xmm3, xmmword [esp + 0xa4]
add esp, 4
movss xmm2, dword [0x100c4bc8]
xorps xmm1, xmm1
comiss xmm1, xmm3
jbe 0x1004a0fa
xorps xmm0, xmm0
jmp 0x1004a101
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm3, dword [0x100c4da0]
movss xmm7, dword [0x100c4b74]
movss xmm4, dword [esp + 0xa4]
comiss xmm1, xmm4
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si ecx, xmm0
jbe 0x1004a130
xorps xmm0, xmm0
jmp 0x1004a137
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0xa8]
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm4
jbe 0x1004a15b
xorps xmm0, xmm0
jmp 0x1004a162
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0xac]
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm4
jbe 0x1004a186
xorps xmm0, xmm0
jmp 0x1004a18d
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [edi]
movss xmm5, dword [edi + 4]
movss xmm6, dword [edi + 8]
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si edx, xmm0
shl edx, 0x18
or edx, ecx
comiss xmm1, xmm4
mov dword [esp + 0xf4], edx
jbe 0x1004a1bd
xorps xmm0, xmm0
jmp 0x1004a1c4
movaps xmm0, xmm2
minss xmm0, xmm4
comiss xmm1, xmm5
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si ecx, xmm0
jbe 0x1004a1da
xorps xmm0, xmm0
jmp 0x1004a1e1
movaps xmm0, xmm2
minss xmm0, xmm5
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm6
jbe 0x1004a1fc
xorps xmm0, xmm0
jmp 0x1004a203
movaps xmm0, xmm2
minss xmm0, xmm6
mulss xmm0, xmm3
mov dword [esp + 0xfc], 0xff0000ff
mov dword [esp + 0x100], 0xff00ffff
mov dword [esp + 0x104], 0xff00ff00
addss xmm0, xmm7
mov dword [esp + 0x108], 0xffffff00
mov dword [esp + 0x10c], 0xffff0000
mov dword [esp + 0x110], 0xffff00ff
mov dword [esp + 0x114], 0xff0000ff
mov dword [esp + 0x88], 0
cvttss2si eax, xmm0
mov dword [esp + 0x84], 0
shl eax, 0x10
or ecx, eax
or ecx, 0xff000000
cmp dword [esp + 0xc8], 0
mov dword [esp + 0x54], ecx
je 0x1004aaef
movss xmm0, dword [esp + 0xc]
mov eax, 0x2aaaaaab
movss xmm3, dword [0x100c4be0]
movss xmm4, dword [esp + 0x8c]
divss xmm3, xmm0
mov edi, dword [esp + 0x34]
addss xmm4, xmm0
cvttss2si ecx, xmm0
mulss xmm4, xmm7
imul ecx
movss dword [esp + 0xec], xmm3
movss dword [esp + 0xb4], xmm4
mov ecx, 4
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
cmovle eax, ecx
xor ecx, ecx
mov dword [esp + 0xc8], eax
mov dword [esp + 0x14], ecx
nop dword [eax]
nop word [eax + eax]
movd xmm1, ecx
lea eax, [esp + 0xd0]
cvtdq2ps xmm1, xmm1
mov esi, dword [edi + 0x18]
push dword [esp + 0xc8]
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x100c4c54]
push ecx
mov ecx, edi
movaps xmm2, xmm4
divss xmm1, dword [0x100c4c54]
addss xmm0, xmm0
addss xmm1, xmm1
mulss xmm0, dword [0x100c4c20]
mulss xmm1, dword [0x100c4c20]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x14], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x44], xmm1
call fcn.10039f50
movss xmm0, dword [esp + 0x90]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push 0
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10038f00
movss xmm0, dword [esp + 0xc]
cvtps2pd xmm0, xmm0
mov dword [edi + 0x54], 0
call fcn.100a7a70
movss xmm1, dword [esp + 0xc]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x8c]
addss xmm0, dword [esp + 0x80]
movss dword [esp + 0x40], xmm0
cvtps2pd xmm0, xmm1
call fcn.100a8780
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x8c]
addss xmm0, dword [esp + 0x7c]
movss dword [esp + 0xb8], xmm0
movss xmm0, dword [esp + 0x38]
cvtps2pd xmm0, xmm0
call fcn.100a7a70
movss xmm1, dword [esp + 0x38]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x8c]
addss xmm0, dword [esp + 0x80]
movss dword [esp + 0xc0], xmm0
cvtps2pd xmm0, xmm1
call fcn.100a8780
movss xmm3, dword [esp + 0xc0]
xorps xmm4, xmm4
movss xmm5, dword [esp + 0x40]
movss xmm6, dword [esp + 0xb8]
subss xmm3, xmm5
cvtsd2ss xmm4, xmm0
mov edx, dword [esp + 0x14]
mov ecx, dword [edi + 0x20]
movss xmm2, dword [0x100c4bc8]
movaps xmm0, xmm3
mulss xmm4, dword [esp + 0x8c]
movaps xmm7, xmm2
mov eax, dword [esp + edx*4 + 0x100]
mov edx, dword [esp + edx*4 + 0xfc]
mulss xmm0, xmm3
mov dword [esp + 0xc], eax
addss xmm4, dword [esp + 0x7c]
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 + 0x68], eax
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x68]
jae 0x1004a5da
movzx eax, dl
mov dword [esp + 0x38], eax
mov eax, edx
shr eax, 8
movzx esi, al
mov eax, dword [esp + 0xc]
shr eax, 0x10
movzx ecx, al
mov eax, dword [esp + 0xc]
shr edx, 0x10
movzx edx, dl
shr eax, 8
sub ecx, edx
mov dword [esp + 0x5c], edx
movzx edx, al
mov eax, dword [esp + 0xc]
sub edx, esi
movzx edi, al
sub edi, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc0], esi
mov esi, dword [esp + 0x5c]
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 0x1004a52f
xorps xmm2, xmm2
jmp 0x1004a533
minss xmm2, xmm1
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movd xmm1, esi
mulss xmm0, xmm2
mov esi, dword [esp + 0x2c]
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
movd xmm1, dword [esp + 0xc0]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
shl eax, 8
mov dword [esp + 0x10], eax
mulss xmm0, xmm2
addss xmm0, xmm1
movd xmm1, dword [esp + 0x38]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm0, edi
or dword [esp + 0x10], eax
shl dword [esp + 0x10], 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss xmm2, dword [0x100c4bc8]
addss xmm0, xmm1
cvttss2si eax, xmm0
or dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x10]
and eax, 0xff000000
or dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x10], eax
mov eax, esi
mov esi, dword [esp + 0x5c]
add eax, 0x14
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x68]
jb 0x1004a501
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
movss xmm4, dword [esp + 0xb4]
inc ecx
movss xmm3, dword [esp + 0xec]
mov dword [esp + 0x14], ecx
cmp ecx, 6
jl 0x1004a300
movss xmm0, dword [esp + 0x3c]
addss xmm0, xmm0
mulss xmm0, dword [0x100c4c20]
movss dword [esp + 0x3c], xmm0
cvtps2pd xmm0, xmm0
call fcn.100a7a70
movss xmm3, dword [esp + 0x3c]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x58], xmm0
cvtps2pd xmm0, xmm3
call fcn.100a8780
movss xmm4, dword [esp + 0x58]
xorps xmm2, xmm2
movss xmm5, dword [esp + 0x20]
movaps xmm3, xmm4
movss xmm6, dword [esp + 0x80]
xorps xmm1, xmm1
cvtsd2ss xmm2, xmm0
mov ecx, edi
mov eax, dword [0x100d83e0]
push 6
push 6
mulss xmm3, xmm5
movss xmm7, dword [esp + 0x84]
movaps xmm0, xmm2
mulss xmm0, xmm1
subss xmm3, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm1
movaps xmm1, xmm2
mulss xmm1, dword [esp + 0xb8]
addss xmm3, xmm6
movss dword [esp + 0x70], xmm3
movss dword [esp + 0x28], xmm3
movaps xmm3, xmm2
mulss xmm3, xmm5
movaps xmm5, xmm4
mulss xmm5, dword [esp + 0xb8]
addss xmm3, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0xa4]
mulss xmm2, dword [esp + 0xd4]
addss xmm3, xmm7
movss dword [esp + 0x64], xmm3
movss dword [esp + 0x2c], xmm3
movaps xmm3, xmm5
subss xmm3, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0xa4]
subss xmm5, xmm2
mulss xmm4, dword [esp + 0xd4]
addss xmm0, xmm1
addss xmm3, xmm6
addss xmm4, xmm1
addss xmm5, xmm6
addss xmm0, xmm7
movss dword [esp + 0x84], xmm3
addss xmm4, xmm7
movss dword [esp + 0x50], xmm3
movss dword [esp + 0x1c], xmm5
movss dword [esp + 0xc8], xmm5
movss dword [esp + 0x88], xmm0
movss dword [esp + 0x54], xmm0
movss xmm0, dword [eax + 0x18b4]
movss dword [esp + 0x98], xmm0
movss xmm0, dword [eax + 0x18b8]
movss dword [esp + 0x60], xmm4
movss dword [esp + 0xcc], xmm4
movss dword [esp + 0xd0], xmm0
call fcn.10038d50
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x30]
movss xmm2, dword [esp + 0x68]
movss xmm3, dword [esp + 0x5c]
movss xmm0, dword [esp + 0x90]
mov word [ecx], ax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss xmm1, dword [esp + 0xc8]
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov edx, dword [esp + 0xf4]
movss xmm5, dword [esp + 0x7c]
movss xmm4, dword [esp + 0x80]
mov dword [eax + 0x10], edx
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x30]
movss xmm7, dword [esp + 0x14]
movss xmm6, dword [esp + 0x58]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], edx
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x30]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0xffffffff
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x30]
mov ecx, dword [edi + 0x30]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x30]
mov ecx, dword [edi + 0x30]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0xff000000
mov eax, dword [edi + 0x38]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
mov ecx, dword [edi + 0x30]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
lea edx, [edi + 0x54]
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x38], eax
cmp eax, ecx
jne 0x1004a941
lea ecx, [eax + 1]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1004a925
cdq
sub eax, edx
lea edx, [edi + 0x54]
sar eax, 1
add eax, dword [esp + 0xc]
jmp 0x1004a92a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10030cf0
mov eax, dword [edi + 0x54]
lea edx, [edi + 0x54]
mov dword [esp + 0x38], eax
mov ecx, dword [edx + 8]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
mov dword [ecx + esi*8], eax
mov eax, dword [esp + 0x24]
mov dword [ecx + esi*8 + 4], eax
inc dword [edx]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0xc], eax
cmp eax, ecx
jne 0x1004a9a3
inc eax
mov dword [esp + 0x90], eax
test ecx, ecx
je 0x1004a980
mov eax, ecx
cdq
sub eax, edx
lea edx, [edi + 0x54]
sar eax, 1
add eax, ecx
jmp 0x1004a985
mov eax, 8
mov ecx, dword [esp + 0x90]
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10030cf0
mov eax, dword [edi + 0x54]
lea edx, [edi + 0x54]
mov dword [esp + 0xc], eax
mov ecx, dword [edx + 8]
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x48]
mov dword [ecx + esi*8], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + esi*8 + 4], eax
inc dword [edx]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0xc], eax
cmp eax, ecx
jne 0x1004aa05
inc eax
mov dword [esp + 0x90], eax
test ecx, ecx
je 0x1004a9e2
mov eax, ecx
cdq
sub eax, edx
lea edx, [edi + 0x54]
sar eax, 1
add eax, ecx
jmp 0x1004a9e7
mov eax, 8
mov ecx, dword [esp + 0x90]
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10030cf0
mov eax, dword [edi + 0x54]
lea edx, [edi + 0x54]
mov dword [esp + 0xc], eax
mov ecx, dword [edx + 8]
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0xc0]
push ecx
mov dword [esp], 0x3fc00000
mov dword [ecx + esi*8], eax
mov eax, dword [esp + 0xc8]
push 1
mov dword [ecx + esi*8 + 4], eax
mov ecx, edi
inc dword [edx]
push 0xff808080
push dword [edx]
push dword [edi + 0x5c]
call fcn.10038f00
movss xmm0, dword [0x100c4bc8]
xorps xmm1, xmm1
movaps xmm2, xmm0
mov dword [edi + 0x54], 0
subss xmm2, dword [esp + 0x6c]
comiss xmm1, xmm2
jbe 0x1004aa63
xorps xmm4, xmm4
jmp 0x1004aa6a
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm2, dword [esp + 0x60]
comiss xmm1, xmm2
jbe 0x1004aa7a
xorps xmm3, xmm3
jmp 0x1004aa81
movaps xmm3, xmm0
minss xmm3, xmm2
movss xmm0, dword [esp + 0x68]
subss xmm0, dword [esp + 0x14]
movss xmm2, dword [esp + 0x5c]
subss xmm2, dword [esp + 0x58]
mov esi, dword [esp + 0x74]
mulss xmm0, xmm3
mulss xmm2, xmm3
addss xmm0, dword [esp + 0x14]
movss xmm3, dword [esp + 0x7c]
addss xmm2, dword [esp + 0x58]
subss xmm3, xmm0
mulss xmm3, xmm4
addss xmm3, xmm0
movss xmm0, dword [esp + 0x80]
subss xmm0, xmm2
movss dword [esp + 0x84], xmm3
mulss xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0x88], xmm0
jmp 0x1004ae35
test dword [esp + 0x30], 0x2000000
je 0x1004ae39
movss xmm0, dword [esp + 0x58]
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x34]
push 0xffffffffffffffff
push edx
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x24]
addss xmm0, dword [esp + 0x20]
push edx
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x5c]
push eax
movss dword [esp + 0x3c], xmm0
call fcn.1003a730
movss xmm0, dword [esp + 0x58]
lea eax, [esp + 0xd0]
mov ecx, dword [esp + 0x34]
push 0xff000000
push 0xff000000
push 0
push 0
push eax
movss dword [esp + 0xe4], xmm0
lea eax, [esp + 0x5c]
movss xmm0, dword [esp + 0x38]
push eax
movss dword [esp + 0xec], xmm0
call fcn.1003a730
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x94], xmm0
xorps xmm0, xmm0
push dword [esp + 0x94]
push dword [esp + 0x94]
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.10021180
movss xmm3, dword [esp + 0x70]
xorps xmm0, xmm0
movss xmm1, dword [0x100c4bc8]
add esp, 0x10
comiss xmm0, xmm3
jbe 0x1004abd0
xorps xmm2, xmm2
jmp 0x1004abd7
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm4, dword [esp + 0x18]
movss xmm5, dword [esp + 0x48]
movss xmm3, dword [0x100c4b74]
mulss xmm2, xmm4
movss xmm7, dword [0x100c4c04]
movss xmm6, dword [esp + 0x58]
addss xmm2, xmm5
addss xmm5, xmm7
subss xmm6, xmm7
addss xmm2, xmm3
cvttss2si eax, xmm2
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm5, xmm2
jbe 0x1004ac28
movss dword [esp + 0x84], xmm5
jmp 0x1004ac41
comiss xmm2, xmm6
jbe 0x1004ac38
movss dword [esp + 0x84], xmm6
jmp 0x1004ac41
movss dword [esp + 0x84], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x6c]
comiss xmm0, xmm2
jbe 0x1004ac54
xorps xmm1, xmm1
jmp 0x1004ac58
minss xmm1, xmm2
movss xmm2, dword [esp + 0x1c]
mulss xmm1, xmm4
movss xmm0, dword [esp + 0x24]
subss xmm0, xmm7
addss xmm1, xmm2
addss xmm1, xmm3
cvttss2si eax, xmm1
movaps xmm1, xmm2
addss xmm1, xmm7
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm1, xmm3
jbe 0x1004ac96
movss dword [esp + 0x88], xmm1
jmp 0x1004acaf
comiss xmm3, xmm0
jbe 0x1004aca6
movss dword [esp + 0x88], xmm0
jmp 0x1004acaf
movss dword [esp + 0x88], xmm3
movss xmm0, dword [esp + 0x68]
movaps xmm1, xmm4
divss xmm1, dword [0x100c4c54]
mov esi, dword [esp + 0x34]
xor ecx, ecx
movss dword [esp + 0xd0], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x90], xmm1
movss dword [esp + 0xa0], xmm0
nop word [eax + eax]
mov eax, dword [esp + ecx*4 + 0x100]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0xd8]
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0xdc], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x104]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0xb4]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0xbc], xmm0
call fcn.1003a730
movss xmm1, dword [esp + 0x90]
mov ecx, edi
movss xmm2, dword [esp + 0x1c]
cmp ecx, 6
jl 0x1004acf0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x5c]
push dword [esp + 0x4c]
movss dword [esp + 0x24], xmm0
movaps xmm0, xmm2
push dword [esp + 0x4c]
movss dword [esp + 0x2c], xmm0
xorps xmm0, xmm0
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.10021180
mov esi, dword [esp + 0x84]
movss xmm1, dword [esp + 0x74]
addss xmm1, dword [0x100c4c04]
mov ecx, dword [esp + 0x44]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x34], xmm2
addss xmm0, dword [0x100c4bc8]
push dword [esp + 0x34]
movss xmm2, dword [esp + 0x70]
subss xmm2, dword [0x100c4bc8]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x50]
mulss xmm0, dword [esp + 0x2c]
push dword [esp + 0x34]
movss dword [esp + 0x60], xmm2
addss xmm0, dword [esp + 0x34]
addss xmm0, dword [0x100c4b74]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x64], xmm0
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.10048c90
add esp, 0x20
mov edi, dword [esp + 0x78]
cmp byte [esp + 0xb], 0
je 0x1004ae51
movss xmm0, dword [0x100c4c60]
movss dword [esp + 0xe4], xmm0
movss xmm2, dword [esp + 0xe4]
lea eax, [esp + 0x84]
push 0x1d
push ecx
mov ecx, dword [esp + 0x3c]
xorps xmm3, xmm3
mov dword [esp], 0x40c25c20
push eax
call fcn.10039f50
mov eax, dword [esp + 0x34]
mov ecx, eax
push dword [esp + 0x54]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10039a40
movss xmm2, dword [esp + 0xe4]
xorps xmm3, xmm3
addss xmm2, dword [0x100c4bc8]
mov eax, dword [esp + 0x34]
push 0x1d
push ecx
lea ecx, [esp + 0x8c]
mov dword [esp], 0x40c25c20
subss xmm2, dword [0x100c4b74]
push ecx
mov ecx, eax
mov dword [eax + 0x54], 0
call fcn.10039f50
mov eax, dword [esp + 0x34]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push 0xff808080
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10038f00
movss xmm2, dword [esp + 0xe4]
xorps xmm3, xmm3
mov eax, dword [esp + 0x34]
subss xmm2, dword [0x100c4b74]
push 0xb
push ecx
lea ecx, [esp + 0x8c]
mov dword [esp], 0x40b84e89
push ecx
mov ecx, eax
mov dword [eax + 0x54], 0
call fcn.10039f50
mov eax, dword [esp + 0x34]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push 0xffffffffffffffff
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10038f00
cmp dword [esp + 0xe0], 0x10000
mov eax, dword [esp + 0x34]
mov dword [eax + 0x54], 0
jne 0x1004b0e5
movss xmm1, dword [edi + 0xc]
xorps xmm2, xmm2
comiss xmm2, xmm1
jbe 0x1004af73
movss dword [esp + 0xc], xmm2
jmp 0x1004af85
movss xmm0, dword [0x100c4bc8]
minss xmm0, xmm1
movss dword [esp + 0xc], xmm0
movss xmm3, dword [esp + 0xe8]
or edx, 0xffffffff
movss xmm0, dword [esp + 0x1c]
movaps xmm1, xmm3
addss xmm1, dword [esp + 0x64]
movss dword [esp + 0xd4], xmm0
xor ecx, ecx
addss xmm0, dword [esp + 0x18]
mov dword [esp + 0x24], 0
push dword [esp + 0x24]
movss dword [esp + 0xdc], xmm1
subss xmm1, xmm3
mov dword [esp + 0x24], 0
push dword [esp + 0x24]
movss dword [esp + 0xe4], xmm0
push dword [esp + 0xe4]
mulss xmm1, dword [0x100c4b74]
push dword [esp + 0xe4]
movss dword [esp + 0xe0], xmm3
push dword [esp + 0xe4]
mov edi, dword [esp + 0xe4]
push edi
call fcn.100489c0
mov ecx, dword [esp + 0x6c]
add esp, 0x18
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0xe4]
push eax
call fcn.1003a730
push dword [esp + 0xdc]
xorps xmm0, xmm0
push dword [esp + 0xdc]
push dword [esp + 0xdc]
push edi
call fcn.10021180
movss xmm1, dword [0x100c4bc8]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x44]
movaps xmm0, xmm2
movss dword [esp + 0x34], xmm2
movss xmm2, dword [esp + 0xf8]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0x1c]
push dword [esp + 0x34]
movss dword [esp + 0x34], xmm0
push dword [esp + 0x34]
mulss xmm1, dword [esp + 0x30]
movss dword [esp + 0x60], xmm2
addss xmm1, dword [esp + 0x34]
addss xmm1, dword [0x100c4b74]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x7c]
addss xmm1, dword [0x100c4c04]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x64], xmm0
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.10048c90
add esp, 0x20
call fcn.1002b040
cmp byte [esp + 9], 0
mov edi, dword [0x100d83e0]
je 0x1004b17e
mov esi, dword [esp + 0x78]
lea edx, [esp + 0x118]
xor ecx, ecx
cmp dword [esp + 0xbc], ecx
sete cl
lea ecx, [ecx*4 + 0xc]
sub ecx, 4
jb 0x1004b131
nop
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x1004b136
add edx, 4
add esi, 4
sub ecx, 4
jae 0x1004b120
cmp ecx, 0xfffffffc
je 0x1004b179
mov al, byte [edx]
cmp al, byte [esi]
jne 0x1004b163
cmp ecx, 0xfffffffd
je 0x1004b179
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x1004b163
cmp ecx, 0xfffffffe
je 0x1004b179
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x1004b163
cmp ecx, 0xffffffff
je 0x1004b179
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x1004b179
mov eax, dword [edi + 0x198c]
mov byte [edi + 0x19bf], 1
or dword [eax + 0x110], 4
jmp 0x1004b17e
mov byte [esp + 9], 0
mov ecx, dword [edi + 0x198c]
mov al, byte [esp + 9]
pop edi
pop esi
dec dword [ecx + 0x1c0]
mov esp, ebp
pop ebp
ret