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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x150
mov eax, dword [0x101903b8]
xor eax, esp
mov dword [esp + 0x14c], eax
push esi
mov esi, edx
mov dword [esp + 0x90], ecx
mov edx, dword [0x10270558]
push edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x34], edx
mov eax, dword [edx + 0x3e58]
mov byte [eax + 0xac], 1
mov eax, dword [edx + 0x3e58]
mov dword [esp + 0x9c], eax
cmp byte [eax + 0xaf], 0
je 0x1003f5cc
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.100c9808
mov esp, ebp
pop ebp
ret
mov edi, dword [eax + 0x264]
mov dword [esp + 0x60], edi
call fcn.100164f0
mov ecx, dword [esp + 0x94]
movss dword [esp + 0xa4], xmm0
mov dword [edx + 0x46b8], 0
mov dword [edx + 0x46bc], 0
call fcn.10013bb0
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x59b4]
mov dword [esp + 0x114], eax
test eax, eax
jne 0x1003f636
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0xe4]
mov eax, dword [eax + 0xec]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x59b4], eax
call fcn.10016570
mov ecx, dword [ebp + 8]
mov edx, ecx
or edx, 0x10
mov eax, ecx
and eax, 0x100
cmovne edx, ecx
mov dword [esp + 0xa0], edx
test dl, 8
jne 0x1003f667
mov ecx, esi
call fcn.100429f0
mov edx, dword [esp + 0xa0]
mov esi, 0xa900000
test edx, 0x6000000
jne 0x1003f692
mov eax, dword [esp + 0x34]
mov ecx, esi
mov eax, dword [eax + 0x59b0]
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x1003f694
mov ecx, edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x48], ecx
test ecx, 0x18000000
jne 0x1003f6be
mov eax, dword [edx + 0x59b0]
test eax, 0x18000000
cmovne esi, eax
and esi, 0x18000000
or ecx, esi
mov dword [esp + 0x48], ecx
test cl, 8
jne 0x1003f6d4
mov eax, dword [edx + 0x59b0]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x9c]
mov esi, ecx
movss xmm2, dword [edx + 0x37d4]
and esi, 0x10002
mov dword [esp + 0x108], esi
movss xmm0, dword [eax + 0xf4]
movss xmm3, dword [eax + 0xf0]
mov eax, dword [0x10270558]
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x1c], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x18], xmm3
movss xmm4, dword [eax + 0x37c0]
addss xmm4, xmm4
addss xmm4, dword [eax + 0x3bc4]
xor eax, eax
cmp esi, 0x10000
sete al
inc eax
test cl, 2
addss xmm0, xmm4
movss dword [esp + 0x70], xmm4
movd xmm1, eax
mov eax, 0
cvtdq2ps xmm1, xmm1
sete al
lea eax, [eax*4 + 0xc]
mulss xmm1, xmm0
push eax
movss xmm0, dword [esp + 0xa8]
mov dword [esp + 0x8c], eax
subss xmm0, xmm1
mov eax, dword [esp + 0x50]
movaps xmm1, xmm4
push eax
lea eax, [esp + 0x14c]
push eax
maxss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [esp + 0x38], xmm1
addss xmm0, xmm2
movss dword [esp + 0xec], xmm0
addss xmm0, xmm4
movss dword [esp + 0xb0], xmm0
addss xmm0, xmm2
movss dword [esp + 0xa8], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x10187848]
cvttss2si esi, xmm0
mov dword [esp + 0xac], esi
call fcn.1012be50
movss xmm1, dword [esp + 0x38]
add esp, 0xc
movaps xmm2, xmm1
movaps xmm3, xmm1
mulss xmm2, dword [0x1018787c]
mulss xmm3, dword [0x10187828]
movaps xmm0, xmm2
movss dword [esp + 0x5c], xmm2
addss xmm0, dword [esp + 0x30]
movaps xmm4, xmm2
movss dword [esp + 0x64], xmm3
subss xmm4, xmm3
movaps xmm3, xmm1
addss xmm3, dword [esp + 0x70]
movss dword [esp + 0xc0], xmm0
movss dword [esp + 0xf0], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x1018780c]
movaps xmm2, xmm4
mulss xmm3, dword [0x1018787c]
cvttss2si eax, xmm0
addss xmm3, dword [esp + 0x18]
movss dword [esp + 0xa8], xmm4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xe8], xmm3
subss xmm2, xmm0
movss dword [esp + 0xec], xmm3
movss dword [esp + 0xbc], xmm2
mov ecx, dword [esp + 0x4c]
movaps xmm1, xmm2
mulss xmm1, dword [0x10187c00]
lea eax, [ecx + 4]
mov dword [esp + 0x68], eax
movss xmm4, dword [eax]
movaps xmm3, xmm2
mulss xmm3, dword [0x10187c10]
lea eax, [ecx + 8]
mov dword [esp + 0x8c], eax
movss xmm7, dword [0x10187bfc]
xorps xmm0, xmm0
movss dword [esp + 0xfc], xmm1
movss dword [esp + 0x120], xmm1
movss dword [esp + 0x118], xmm1
movaps xmm1, xmm2
mulss xmm1, dword [0x101878b0]
movss dword [esp + 0xac], xmm2
movss dword [esp + 0xc4], xmm3
movss dword [esp + 0x124], xmm3
movss xmm3, dword [ecx]
movaps xmm2, xmm3
movss dword [esp + 0xdc], xmm1
movss dword [esp + 0x11c], xmm1
movss xmm1, dword [eax]
mov eax, dword [esp + 0x48]
mov edx, eax
movss dword [esp + 0x98], xmm2
and edx, 0x8000000
movss dword [esp + 0x90], xmm2
movaps xmm2, xmm4
movss dword [esp + 0x7c], xmm2
movss dword [esp + 0x74], xmm2
movaps xmm2, xmm1
movss dword [esp + 0x14], xmm0
movss dword [esp + 0xb0], xmm0
movss dword [esp + 0xc], xmm3
movss dword [esp + 0x24], xmm4
movss dword [esp + 0x58], xmm1
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x78], xmm2
mov dword [esp + 0x80], edx
je 0x1003fa47
comiss xmm1, xmm4
xorps xmm5, xmm5
movaps xmm2, xmm4
movaps xmm6, xmm1
jbe 0x1003f99e
movss xmm5, dword [0x10187c14]
movaps xmm2, xmm1
movaps xmm6, xmm4
comiss xmm2, xmm3
movaps xmm4, xmm3
movss dword [esp + 0x58], xmm4
jbe 0x1003f9c2
movaps xmm0, xmm7
movaps xmm4, xmm2
subss xmm0, xmm5
movss dword [esp + 0x58], xmm4
movaps xmm2, xmm3
movaps xmm5, xmm0
movaps xmm0, xmm2
movss dword [esp + 0xc], xmm4
minss xmm0, xmm6
movaps xmm1, xmm4
subss xmm2, xmm6
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x28]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x30]
movaps xmm0, xmm1
mulss xmm0, dword [0x101879f8]
addss xmm0, dword [0x101877d8]
divss xmm2, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x101877d8]
addss xmm2, xmm5
divss xmm1, xmm0
andps xmm2, xmmword [0x10188120]
movss dword [esp + 0x30], xmm2
movss dword [esp + 0x2c], xmm1
call fcn.1003e5d0
movss xmm0, dword [esp + 0x30]
add esp, 8
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x24], xmm0
jmp 0x1003fa96
test eax, 0x10000000
je 0x1003fa96
lea eax, [esp + 0x78]
movaps xmm1, xmm4
push eax
lea edx, [esp + 0x78]
movaps xmm0, xmm3
lea ecx, [esp + 0x94]
call fcn.10006c50
movss xmm0, dword [esp + 0x94]
add esp, 4
movss dword [esp + 0x98], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x44], xmm0
mov byte [esp + 0xb], 0
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
call fcn.10013860
mov eax, dword [esp + 0x48]
mov ecx, eax
and ecx, 0x4000000
mov dword [esp + 0x50], ecx
je 0x100400b1
movss xmm1, dword [esp + 0x2c]
lea edx, [esp + 0x38]
mov eax, dword [esp + 0x34]
movaps xmm0, xmm1
push ecx
mov ecx, 0x10186820
movss dword [esp + 0x40], xmm1
addss xmm0, dword [eax + 0x37d4]
addss xmm0, dword [esp + 0x74]
movss dword [esp + 0x3c], xmm0
call fcn.10034b00
mov eax, dword [0x10270558]
add esp, 4
mov ecx, dword [eax + 0x3ea4]
test ecx, ecx
je 0x1003ffc2
cmp ecx, dword [eax + 0x46d0]
jne 0x1003ffc2
mov eax, dword [esp + 0x34]
movss xmm0, dword [eax + 0x36ac]
subss xmm0, dword [esp + 0xc0]
movss xmm1, dword [eax + 0x36a8]
subss xmm1, dword [esp + 0xe8]
movss xmm4, dword [eax + 0xdb8]
movss xmm3, dword [eax + 0xdbc]
subss xmm4, dword [esp + 0xe8]
subss xmm3, dword [esp + 0xc0]
movaps xmm2, xmm0
movss dword [esp + 0xc8], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x28], xmm1
movss xmm1, dword [0x101878cc]
addss xmm2, xmm0
movss dword [esp + 0x100], xmm4
movss xmm0, dword [esp + 0xa8]
subss xmm0, xmm1
movss dword [esp + 0xcc], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x1003fc2c
movss xmm0, dword [esp + 0x5c]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x1003fc2c
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x38], xmm0
fld qword [esp + 0x38]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x38], xmm0
fld qword [esp + 0x38]
call fcn.1014ebc0
movss xmm2, dword [0x101879dc]
fstp qword [esp + 0x38]
movsd xmm1, qword [esp + 0x38]
cvtpd2ps xmm1, xmm1
movss xmm0, dword [esp + 0x14]
divss xmm1, xmm2
mulss xmm1, dword [0x1018787c]
comiss xmm0, xmm1
movss dword [esp + 0xc], xmm1
jbe 0x1003fc24
addss xmm1, dword [0x101878cc]
movss dword [esp + 0xc], xmm1
mov al, 1
mov byte [esp + 0xb], al
jmp 0x1003fc3e
mov al, byte [esp + 0xb]
movss xmm2, dword [0x101879dc]
movss xmm1, dword [esp + 0xc]
movaps xmm0, xmm1
mov byte [esp + 0x13], al
xorps xmm0, xmmword [0x10188140]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x38], xmm0
call fcn.1014f400
cvtsd2ss xmm0, xmm0
movss dword [esp + 0xe4], xmm0
movsd xmm0, qword [esp + 0x38]
call fcn.101503a0
movss xmm3, dword [esp + 0xe4]
xorps xmm6, xmm6
mulss xmm3, dword [esp + 0x28]
cvtsd2ss xmm6, xmm0
movss xmm7, dword [esp + 0xfc]
movaps xmm0, xmm6
movss xmm5, dword [esp + 0xbc]
mulss xmm0, dword [esp + 0xc8]
subss xmm5, xmm7
movaps xmm4, xmm6
movaps xmm2, xmm7
mulss xmm4, dword [esp + 0x28]
subss xmm2, xmm7
subss xmm3, xmm0
movss xmm0, dword [esp + 0xe4]
movss dword [esp + 0x10c], xmm5
mulss xmm0, dword [esp + 0xc8]
movss dword [esp + 0xd4], xmm2
movaps xmm1, xmm3
addss xmm4, xmm0
movss xmm0, dword [esp + 0xc4]
subss xmm0, dword [esp + 0xdc]
subss xmm1, xmm7
movss dword [esp + 0xc8], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0xdc]
mulss xmm0, xmm2
movss xmm2, dword [esp + 0x14]
subss xmm1, xmm0
movaps xmm0, xmm2
subss xmm0, dword [esp + 0xc4]
comiss xmm2, xmm1
movaps xmm1, xmm3
movss dword [esp + 0xd8], xmm0
subss xmm1, xmm7
seta cl
mulss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0xc4]
mulss xmm0, xmm5
subss xmm1, xmm0
comiss xmm2, xmm1
seta al
cmp al, cl
jne 0x1003ffba
movss xmm5, dword [esp + 0xdc]
subss xmm4, xmm2
subss xmm3, dword [esp + 0xbc]
movaps xmm0, xmm7
subss xmm5, xmm2
subss xmm0, dword [esp + 0xbc]
mulss xmm3, xmm5
mulss xmm4, xmm0
movss dword [esp + 0x38], xmm5
movss dword [esp + 0x28], xmm0
subss xmm3, xmm4
comiss xmm2, xmm3
seta al
cmp cl, al
jne 0x1003ffba
movss xmm1, dword [esp + 0xcc]
movaps xmm0, xmm6
movss xmm7, dword [esp + 0x100]
mulss xmm7, dword [esp + 0xe4]
mulss xmm6, dword [esp + 0x100]
movss xmm3, dword [esp + 0xfc]
mulss xmm0, xmm1
mulss xmm1, dword [esp + 0xe4]
subss xmm7, xmm0
addss xmm6, xmm1
movaps xmm1, xmm7
movss dword [esp + 0xcc], xmm7
subss xmm1, xmm3
movaps xmm0, xmm6
movss dword [esp + 0xd0], xmm6
subss xmm0, dword [esp + 0xdc]
mulss xmm1, dword [esp + 0xc8]
mulss xmm0, dword [esp + 0xd4]
subss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0xc4]
comiss xmm2, xmm1
mulss xmm0, dword [esp + 0x10c]
movaps xmm1, xmm7
subss xmm1, xmm3
seta cl
mulss xmm1, dword [esp + 0xd8]
subss xmm1, xmm0
comiss xmm2, xmm1
seta al
cmp al, cl
jne 0x1003fea7
movaps xmm1, xmm7
movaps xmm0, xmm6
subss xmm1, dword [esp + 0xbc]
subss xmm0, xmm2
mulss xmm1, xmm5
mulss xmm0, dword [esp + 0x28]
subss xmm1, xmm0
comiss xmm2, xmm1
seta al
cmp cl, al
je 0x1003fef3
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0x11c]
push eax
lea eax, [esp + 0x128]
push eax
lea edx, [esp + 0xb8]
lea ecx, [esp + 0x118]
call fcn.100062e0
movss xmm2, dword [esp + 0x20]
add esp, 0xc
movss xmm5, dword [esp + 0x38]
movss xmm3, dword [esp + 0xfc]
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
subss xmm7, dword [esp + 0xbc]
movaps xmm4, xmm3
subss xmm6, xmm2
movss xmm3, dword [esp + 0xc4]
subss xmm4, dword [esp + 0xbc]
subss xmm3, xmm2
movaps xmm1, xmm7
mulss xmm1, xmm5
movaps xmm2, xmm4
movaps xmm0, xmm3
mulss xmm2, xmm5
mulss xmm0, dword [esp + 0x28]
mulss xmm7, xmm3
subss xmm2, xmm0
movss xmm5, dword [0x101878cc]
movaps xmm0, xmm6
mulss xmm6, xmm4
mulss xmm0, dword [esp + 0x28]
subss xmm6, xmm7
subss xmm1, xmm0
movaps xmm0, xmm5
divss xmm6, xmm2
divss xmm1, xmm2
movss xmm2, dword [0x101877f0]
subss xmm0, xmm1
movss dword [esp + 0x24], xmm2
comiss xmm2, xmm0
movaps xmm1, xmm0
movss dword [esp + 0x38], xmm0
subss xmm1, xmm6
jbe 0x1003ff89
movaps xmm0, xmm2
jmp 0x1003ff92
movaps xmm0, xmm5
minss xmm0, dword [esp + 0x38]
divss xmm1, xmm0
movss dword [esp + 0x58], xmm0
comiss xmm2, xmm1
ja 0x1003ffae
movaps xmm2, xmm5
minss xmm2, xmm1
movss dword [esp + 0x24], xmm2
mov byte [esp + 0x12], 1
mov byte [esp + 0xb], 1
jmp 0x1003ffc2
mov al, byte [esp + 0xb]
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x48]
test al, 8
jne 0x1003ffcf
call fcn.10017630
mov edx, dword [0x10270558]
movss xmm2, dword [esp + 0x30]
movss xmm3, dword [esp + 0x2c]
cmp dword [esp + 0x108], 0x10000
jne 0x1004036f
mov eax, dword [edx + 0x3e58]
movss xmm0, dword [esp + 0x9c]
push ecx
mov ecx, str.alpha
movss dword [esp + 0xb4], xmm3
mov byte [eax + 0xac], 1
mov eax, dword [edx + 0x3e58]
lea edx, [esp + 0xb0]
movss dword [eax + 0xf0], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [eax + 0xf4], xmm2
mov byte [eax + 0x131], 1
movss dword [esp + 0xb0], xmm0
call fcn.10034b00
mov edx, dword [0x10270558]
add esp, 4
movss xmm1, dword [esp + 0x14]
mov eax, dword [edx + 0x3ea4]
test eax, eax
je 0x10040375
cmp eax, dword [edx + 0x46d0]
jne 0x10040375
mov eax, dword [esp + 0x34]
movss xmm0, dword [esp + 0x2c]
movss xmm2, dword [0x101878cc]
subss xmm0, xmm2
movss xmm3, dword [eax + 0xdbc]
subss xmm3, dword [esp + 0x30]
divss xmm3, xmm0
comiss xmm1, xmm3
jbe 0x10040351
movaps xmm4, xmm1
jmp 0x10040358
test eax, 0x2000000
je 0x1003ffcf
movss xmm0, dword [esp + 0x2c]
lea edx, [esp + 0xac]
push ecx
mov ecx, 0x10186824
movss dword [esp + 0xb0], xmm0
movss dword [esp + 0xb4], xmm0
call fcn.10034b00
mov ecx, dword [0x10270558]
add esp, 4
mov eax, dword [ecx + 0x3ea4]
test eax, eax
je 0x1004023a
cmp eax, dword [ecx + 0x46d0]
jne 0x1004023a
mov eax, dword [esp + 0x34]
movss xmm3, dword [esp + 0x2c]
movss xmm1, dword [0x101878cc]
subss xmm3, xmm1
movss xmm0, dword [esp + 0x14]
movss xmm2, dword [eax + 0xdb8]
subss xmm2, dword [esp + 0x18]
divss xmm2, xmm3
comiss xmm0, xmm2
jbe 0x10040144
movss dword [esp + 0x24], xmm0
jmp 0x10040151
movaps xmm4, xmm1
minss xmm4, xmm2
movss dword [esp + 0x24], xmm4
movss xmm2, dword [eax + 0xdbc]
subss xmm2, dword [esp + 0x30]
divss xmm2, xmm3
comiss xmm0, xmm2
jbe 0x1004016d
movaps xmm3, xmm0
jmp 0x10040174
movaps xmm3, xmm1
minss xmm3, xmm2
mov eax, dword [ecx + 0x59b8]
movaps xmm2, xmm1
subss xmm2, xmm3
movss dword [esp + 0x58], xmm2
cmp eax, dword [ecx + 0x59b4]
jne 0x10040232
mov eax, dword [esp + 0x4c]
movss xmm3, dword [eax]
comiss xmm0, xmm3
mov eax, dword [esp + 0x68]
movss xmm4, dword [eax]
mov eax, dword [esp + 0x8c]
movss xmm6, dword [eax]
jbe 0x100401b8
movaps xmm2, xmm0
jmp 0x100401bf
movaps xmm2, xmm1
minss xmm2, xmm3
comiss xmm0, xmm4
movss xmm3, dword [0x10187b80]
movss xmm5, dword [0x1018787c]
mulss xmm2, xmm3
addss xmm2, xmm5
cvttss2si edx, xmm2
jbe 0x100401e5
movaps xmm2, xmm0
jmp 0x100401ec
movaps xmm2, xmm1
minss xmm2, xmm4
mulss xmm2, xmm3
addss xmm2, xmm5
cvttss2si eax, xmm2
shl eax, 8
or edx, eax
comiss xmm0, xmm6
jbe 0x10040207
movaps xmm1, xmm0
jmp 0x1004020b
minss xmm1, xmm6
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 0x10
or eax, edx
cmp dword [ecx + 0x59c4], eax
jne 0x10040232
movss xmm0, dword [ecx + 0x59bc]
movss dword [esp + 0xc], xmm0
mov al, 1
mov byte [esp + 0xb], al
jmp 0x1004023e
mov al, byte [esp + 0xb]
mov byte [esp + 0x12], al
mov byte [esp + 0x87], al
mov eax, dword [esp + 0x48]
test al, 8
jne 0x1004025c
call fcn.10017630
mov ecx, dword [0x10270558]
mov eax, dword [ecx + 0x3e58]
lea edx, [esp + 0xac]
movss xmm0, dword [esp + 0xe0]
push ecx
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e58]
mov ecx, 0x10186828
movss dword [eax + 0xf0], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [eax + 0xf4], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0xb0], xmm0
movss xmm0, dword [esp + 0x30]
mov byte [eax + 0x131], 1
movss dword [esp + 0xb4], xmm0
call fcn.10034b00
mov edx, dword [0x10270558]
add esp, 4
mov eax, dword [edx + 0x3ea4]
test eax, eax
je 0x1003ffd5
mov cl, byte [esp + 0xb]
mov byte [esp + 0x12], cl
cmp eax, dword [edx + 0x46d0]
jne 0x1003ffd5
mov eax, dword [esp + 0x34]
movss xmm3, dword [esp + 0x2c]
movss xmm2, dword [esp + 0x30]
movaps xmm0, xmm3
movss xmm5, dword [0x101878cc]
movss xmm1, dword [eax + 0xdbc]
subss xmm0, xmm5
subss xmm1, xmm2
divss xmm1, xmm0
movss xmm0, dword [esp + 0x14]
comiss xmm0, xmm1
ja 0x10040331
movaps xmm0, xmm5
minss xmm0, xmm1
mov al, byte [esp + 0x87]
movss dword [esp + 0xc], xmm0
mov byte [esp + 0x13], 1
mov byte [esp + 0xb], 1
mov byte [esp + 0x12], al
jmp 0x1003ffe1
movaps xmm4, xmm2
minss xmm4, xmm3
mov eax, dword [esp + 0x4c]
movaps xmm0, xmm2
subss xmm0, xmm4
mov byte [esp + 0xb], 1
movss dword [eax + 0xc], xmm0
jmp 0x10040375
movss xmm1, dword [esp + 0x14]
dec dword [edx + 0x479c]
mov eax, dword [edx + 0x47a4]
mov ecx, dword [edx + 0x479c]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x46b0], eax
mov eax, dword [esp + 0x48]
test al, al
js 0x1004046b
mov edx, dword [esp + 0x94]
cmp edx, 0xffffffff
jae 0x1004046b
nop dword [eax]
mov cl, byte [edx]
test cl, cl
je 0x100403c6
cmp cl, 0x23
jne 0x100403c0
cmp byte [edx + 1], cl
je 0x100403c6
inc edx
cmp edx, 0xffffffff
jb 0x100403b0
cmp dword [esp + 0x94], edx
je 0x1004046b
test eax, 0x100
je 0x10040456
mov eax, dword [esp + 0x34]
movss xmm2, dword [eax + 0x37d4]
mov eax, dword [0x10270558]
mov ecx, dword [eax + 0x3e58]
cmp byte [ecx + 0xaf], 0
jne 0x10040456
comiss xmm1, xmm2
jbe 0x10040407
movss xmm2, dword [eax + 0x37cc]
addss xmm2, dword [ecx + 0xf8]
movss xmm0, dword [ecx + 0xfc]
movss dword [ecx + 0xf0], xmm2
movss dword [ecx + 0xf4], xmm0
mov eax, dword [ecx + 0x120]
mov edi, dword [ecx + 0x124]
mov dword [ecx + 0x118], eax
mov eax, dword [ecx + 0x12c]
mov dword [ecx + 0x11c], edi
mov edi, dword [esp + 0x60]
mov dword [ecx + 0x128], eax
mov byte [ecx + 0x130], 1
mov ecx, dword [esp + 0x94]
push 0
call fcn.100337a0
mov eax, dword [esp + 0x4c]
add esp, 4
cmp byte [esp + 0x13], 0
jne 0x1004047d
cmp byte [esp + 0x12], 0
je 0x100405b3
cmp dword [esp + 0x80], 0
je 0x1004057f
push dword [esp + 0x8c]
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x50]
movss xmm2, dword [esp + 0x5c]
movss xmm1, dword [esp + 0x28]
movss xmm0, dword [esp + 0x10]
call fcn.10006c50
mov ecx, dword [esp + 0x38]
add esp, 4
movss xmm0, dword [esp + 0xc]
movss xmm1, dword [0x101878cc]
mov eax, dword [ecx + 0x59b4]
mov dword [ecx + 0x59b8], eax
mov eax, dword [esp + 0x4c]
movss dword [ecx + 0x59bc], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [ecx + 0x59c0], xmm0
movss xmm3, dword [eax]
mov eax, dword [esp + 0x68]
movss xmm0, dword [esp + 0x14]
comiss xmm0, xmm3
movss xmm4, dword [eax]
mov eax, dword [esp + 0x8c]
movss xmm6, dword [eax]
jbe 0x10040513
movaps xmm2, xmm0
jmp 0x1004051a
movaps xmm2, xmm1
minss xmm2, xmm3
comiss xmm0, xmm4
movss xmm3, dword [0x10187b80]
movss xmm5, dword [0x1018787c]
mulss xmm2, xmm3
addss xmm2, xmm5
cvttss2si edx, xmm2
jbe 0x10040540
movaps xmm2, xmm0
jmp 0x10040547
movaps xmm2, xmm1
minss xmm2, xmm4
mulss xmm2, xmm3
addss xmm2, xmm5
cvttss2si eax, xmm2
shl eax, 8
or edx, eax
comiss xmm0, xmm6
jbe 0x10040562
movaps xmm1, xmm0
jmp 0x10040566
minss xmm1, xmm6
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 0x10
or eax, edx
mov dword [ecx + 0x59c4], eax
jmp 0x100405b3
test eax, 0x10000000
je 0x100405b3
mov eax, dword [esp + 0x4c]
movss xmm0, dword [esp + 0xc]
movss dword [eax], xmm0
mov eax, dword [esp + 0x68]
movss xmm0, dword [esp + 0x24]
movss dword [eax], xmm0
mov eax, dword [esp + 0x8c]
movss xmm0, dword [esp + 0x58]
movss dword [eax], xmm0
mov eax, dword [esp + 0x48]
test al, 0x20
jne 0x1004066b
cmp dword [esp + 0x108], 0x10000
jne 0x100405d7
movss xmm0, dword [esp + 0x9c]
jmp 0x100405e0
movss xmm0, dword [esp + 0xe0]
addss xmm0, dword [esp + 0x70]
subss xmm0, dword [esp + 0x18]
subss xmm0, dword [0x10187a10]
call fcn.10016450
mov eax, dword [esp + 0x48]
mov ecx, eax
and ecx, 0x198e001a
test eax, 0x400000
jne 0x10040613
test eax, 0x700000
jne 0x1004062f
mov edx, dword [esp + 0x4c]
or ecx, 0x400004
push ecx
mov ecx, str.hex
call fcn.1003e6d0
add esp, 4
or byte [esp + 0xb], al
mov ecx, dword [0x10270558]
mov eax, dword [ecx + 0x3e58]
mov byte [eax + 0xac], 1
mov edx, dword [ecx + 0x3e58]
mov ecx, dword [edx + 0x1a8]
mov eax, dword [edx + 0x1b0]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1a0], eax
lea eax, [ecx - 1]
mov dword [edx + 0x1a8], eax
mov eax, dword [esp + 0x48]
cmp byte [esp + 0xb], 0
je 0x100407f9
cmp dword [esp + 0x80], 0
je 0x1004077d
mov eax, dword [esp + 0x4c]
movss xmm4, dword [esp + 0x14]
movss xmm1, dword [eax + 4]
movss xmm3, dword [eax + 8]
movaps xmm2, xmm1
comiss xmm3, xmm1
movss xmm7, dword [eax]
movaps xmm5, xmm3
movss dword [esp + 0x98], xmm7
movss dword [esp + 0x7c], xmm1
movss dword [esp + 0x44], xmm3
jbe 0x100406ca
movss xmm4, dword [0x10187c14]
movaps xmm2, xmm3
movaps xmm5, xmm1
comiss xmm2, xmm7
movaps xmm3, xmm7
movss dword [esp + 0x58], xmm3
jbe 0x100406f3
movss xmm0, dword [0x10187bfc]
movaps xmm3, xmm2
subss xmm0, xmm4
movss dword [esp + 0x58], xmm3
movaps xmm2, xmm7
movaps xmm4, xmm0
movaps xmm0, xmm2
movss dword [esp + 0xc], xmm3
minss xmm0, xmm5
movaps xmm1, xmm3
subss xmm2, xmm5
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x28]
subss xmm1, xmm0
push ecx
lea edx, [esp + 0x30]
mov ecx, eax
movaps xmm0, xmm1
mulss xmm0, dword [0x101879f8]
addss xmm0, dword [0x101877d8]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x101877d8]
addss xmm2, xmm4
divss xmm1, xmm0
andps xmm2, xmmword [0x10188120]
movss dword [esp + 0x30], xmm2
movss dword [esp + 0x2c], xmm1
call fcn.1003e5d0
movss xmm3, dword [esp + 0x30]
add esp, 8
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0xc], xmm3
movss dword [esp + 0x24], xmm0
jmp 0x100407ff
test eax, 0x10000000
je 0x100407f9
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x74]
lea ecx, [esp + 0x90]
movss xmm0, dword [eax]
mov eax, dword [esp + 0x68]
movss dword [esp + 0xc], xmm0
movss xmm3, dword [eax]
mov eax, dword [esp + 0x8c]
movss dword [esp + 0x24], xmm3
movss xmm1, dword [eax]
lea eax, [esp + 0x78]
movss dword [esp + 0x58], xmm1
movaps xmm2, xmm1
push eax
movaps xmm1, xmm3
call fcn.10006c50
movss xmm0, dword [esp + 0x94]
add esp, 4
movss dword [esp + 0x98], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x44], xmm0
movss xmm3, dword [esp + 0xc]
mov eax, dword [esp + 0x34]
movss xmm0, dword [esp + 0x14]
movss xmm2, dword [eax + 0x3780]
comiss xmm0, xmm2
jbe 0x10040823
movaps xmm1, xmm0
movss xmm0, dword [0x101878cc]
jmp 0x10040832
movss xmm0, dword [0x101878cc]
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x10187b80]
mov dword [esp + 0xac], 0x3f800000
movss dword [esp + 0xb8], xmm2
movaps xmm2, xmm0
mov dword [esp + 0xb0], 0x3f800000
addss xmm1, dword [0x1018787c]
mov dword [esp + 0xb4], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x74], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x28], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0x128], ecx
or eax, 0x808080
mov dword [esp + 0x140], ecx
mov dword [esp + 0x94], eax
lea ecx, [esp + 0xac]
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x12c], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x130], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x134], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0x138], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0xb0]
mov dword [esp + 0x13c], eax
lea eax, [esp + 0xb4]
push eax
call fcn.10006c50
movss xmm3, dword [esp + 0xb0]
add esp, 4
movss xmm0, dword [esp + 0x14]
comiss xmm0, xmm3
movss xmm2, dword [0x101878cc]
jbe 0x10040934
movaps xmm1, xmm0
jmp 0x1004093b
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm3, dword [0x10187b80]
movss xmm5, dword [0x1018787c]
movss xmm4, dword [esp + 0xb0]
comiss xmm0, xmm4
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si ecx, xmm1
jbe 0x1004096a
movaps xmm1, xmm0
jmp 0x10040971
movaps xmm1, xmm2
minss xmm1, xmm4
movss xmm4, dword [esp + 0xb4]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm4
jbe 0x10040995
movaps xmm1, xmm0
jmp 0x1004099c
movaps xmm1, xmm2
minss xmm1, xmm4
movss xmm4, dword [esp + 0xb8]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm4
jbe 0x100409c0
movaps xmm1, xmm0
jmp 0x100409c7
movaps xmm1, xmm2
minss xmm1, xmm4
movss xmm4, dword [esp + 0x98]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si edx, xmm1
shl edx, 0x18
or edx, ecx
comiss xmm0, xmm4
mov dword [esp + 0x78], edx
jbe 0x100409ef
movaps xmm1, xmm0
jmp 0x100409f6
movaps xmm1, xmm2
minss xmm1, xmm4
movss xmm4, dword [esp + 0x7c]
comiss xmm0, xmm4
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si ecx, xmm1
jbe 0x10040a12
movaps xmm1, xmm0
jmp 0x10040a19
movaps xmm1, xmm2
minss xmm1, xmm4
movss xmm4, dword [esp + 0x44]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm4
jbe 0x10040a3a
movaps xmm1, xmm0
jmp 0x10040a41
movaps xmm1, xmm2
minss xmm1, xmm4
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x34]
movss xmm1, dword [eax + 0x3780]
comiss xmm0, xmm1
ja 0x10040a6a
movaps xmm0, xmm2
minss xmm0, xmm1
mulss xmm0, xmm3
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
cmp dword [esp + 0x50], 0
mov dword [esp + 0x8c], eax
je 0x100412ed
movss xmm1, dword [esp + 0x5c]
movaps xmm3, xmm5
movss xmm0, dword [esp + 0xa8]
mov eax, 0x2aaaaaab
divss xmm3, xmm1
mov esi, dword [esp + 0x60]
addss xmm0, xmm1
cvttss2si ecx, xmm1
movaps xmm4, xmm0
movss dword [esp + 0xcc], xmm3
imul ecx
mulss xmm4, xmm5
movss dword [esp + 0xa4], xmm0
mov eax, 4
movss dword [esp + 0x100], xmm4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0xc8], ecx
mov dword [esp + 0x44], eax
nop dword [eax + eax]
movd xmm1, eax
lea eax, [esp + 0xec]
cvtdq2ps xmm1, xmm1
mov edi, dword [esi + 0x18]
push ecx
push ecx
mov ecx, esi
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x101879f8]
divss xmm1, dword [0x101879f8]
addss xmm0, xmm0
movaps xmm2, xmm4
addss xmm1, xmm1
mulss xmm0, dword [0x101879dc]
mulss xmm1, dword [0x101879dc]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x64], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x8c], xmm1
call fcn.10028510
movss xmm0, dword [esp + 0x64]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push dword [esp + 0x30]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.100270a0
movss xmm0, dword [esp + 0x5c]
cvtps2pd xmm0, xmm0
mov dword [esi + 0x54], 0
call fcn.1014f400
movss xmm1, dword [esp + 0x5c]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xa8]
addss xmm0, dword [esp + 0xe8]
movss dword [esp + 0x90], xmm0
cvtps2pd xmm0, xmm1
call fcn.101503a0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xa8]
addss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x98], xmm0
movss xmm0, dword [esp + 0x80]
cvtps2pd xmm0, xmm0
call fcn.1014f400
movss xmm1, dword [esp + 0x80]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xa8]
addss xmm0, dword [esp + 0xe8]
movss dword [esp + 0x7c], xmm0
cvtps2pd xmm0, xmm1
call fcn.101503a0
movss xmm2, dword [esp + 0x7c]
subss xmm2, dword [esp + 0x90]
cvtsd2ss xmm0, xmm0
mov eax, dword [esp + 0x44]
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + eax*4 + 0x128]
mulss xmm0, dword [esp + 0xa8]
mov eax, dword [esi + 0x18]
movss dword [esp + 0x7c], xmm2
addss xmm0, dword [esp + 0xc0]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
subss xmm0, dword [esp + 0x98]
movaps xmm1, xmm0
movss dword [esp + 0xd8], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
movss xmm2, dword [0x101878cc]
addss xmm1, xmm0
movaps xmm0, xmm2
divss xmm0, xmm1
movss dword [esp + 0xd4], xmm0
mov dword [esp + 0x50], eax
movzx eax, cl
mov dword [esp + 0xe4], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x80], eax
shr ecx, 0x10
movzx eax, cl
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + eax*4 + 0x12c]
movzx eax, cl
sub eax, dword [esp + 0xe4]
mov dword [esp + 0x10c], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0x80]
shr ecx, 0x10
mov dword [esp + 0x38], eax
lea eax, [edi + edi*4]
mov edi, dword [esp + 0x50]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x5c]
cmp edx, edi
jae 0x10040e0f
movd xmm4, dword [esp + 0x5c]
movd xmm5, dword [esp + 0x38]
movd xmm6, dword [esp + 0x80]
movd xmm7, dword [esp + 0x10c]
mov esi, dword [esp + 0xe4]
movd xmm3, ecx
cvtdq2ps xmm3, xmm3
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm5, xmm5
cvtdq2ps xmm6, xmm6
cvtdq2ps xmm7, xmm7
movss xmm0, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm1, dword [esp + 0x98]
subss xmm0, dword [esp + 0x90]
mulss xmm1, dword [esp + 0xd8]
mulss xmm0, dword [esp + 0x7c]
addss xmm1, xmm0
movss xmm0, dword [esp + 0x14]
mulss xmm1, dword [esp + 0xd4]
comiss xmm0, xmm1
jbe 0x10040da9
movaps xmm2, xmm0
jmp 0x10040dad
minss xmm2, xmm1
movaps xmm0, xmm3
movd xmm1, esi
mulss xmm0, xmm2
cvtdq2ps xmm1, xmm1
addss xmm0, xmm4
cvttss2si ecx, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm2
shl ecx, 8
addss xmm0, xmm6
cvttss2si eax, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm2
or ecx, eax
shl ecx, 8
movss xmm2, dword [0x101878cc]
addss xmm0, xmm1
cvttss2si eax, xmm0
or ecx, eax
mov eax, dword [edx + 0x10]
and eax, 0xff000000
or ecx, eax
mov dword [edx + 0x10], ecx
add edx, 0x14
cmp edx, edi
jb 0x10040d62
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x44]
movss xmm3, dword [esp + 0xcc]
inc eax
movss xmm4, dword [esp + 0x100]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x44], eax
cmp eax, 6
jl 0x10040b10
movss xmm0, dword [esp + 0xc]
mulss xmm0, dword [0x10187970]
mulss xmm0, dword [0x101879dc]
movss dword [esp + 0xc], xmm0
cvtps2pd xmm0, xmm0
call fcn.1014f400
movss xmm3, dword [esp + 0xc]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x44], xmm0
cvtps2pd xmm0, xmm3
call fcn.101503a0
cmp byte [esp + 0x13], 0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0x44]
mulss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x50], xmm1
mulss xmm0, dword [0x1018787c]
addss xmm0, dword [esp + 0xe8]
movss dword [esp + 0x18], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0xa4]
mulss xmm0, dword [0x1018787c]
addss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x64]
je 0x10040ee3
mulss xmm0, dword [0x1018788c]
jmp 0x10040eeb
mulss xmm0, dword [0x10187884]
mov edi, dword [esp + 0x60]
movaps xmm1, xmm0
mov ecx, edi
movss dword [esp + 0x64], xmm0
call fcn.10026cb0
test dword [esp + 0x78], 0xff000000
mov ecx, eax
mov esi, dword [esp + 0xa0]
movss xmm2, dword [esp + 0x64]
mov dword [esp + 0x5c], ecx
je 0x10040fc2
movss xmm0, dword [0x1018787c]
comiss xmm0, xmm2
ja 0x10040fc2
test ecx, ecx
jg 0x10040f4b
push ecx
push 0x30
push 0
lea eax, [esp + 0x24]
mov ecx, edi
push eax
call fcn.10028110
dec dword [edi + 0x54]
jmp 0x10040f9f
cmp ecx, 3
jge 0x10040f57
mov eax, 3
jmp 0x10040f67
mov eax, ecx
cmp ecx, 0x200
mov ecx, 0x200
cmovg eax, ecx
movd xmm1, eax
dec eax
cvtdq2ps xmm1, xmm1
push eax
lea eax, [esp + 0x1c]
push ecx
mov ecx, edi
movss xmm3, dword [esp + 0x1c]
movaps xmm0, xmm1
subss xmm0, dword [0x101878cc]
mulss xmm0, dword [0x101879fc]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.10028510
push dword [esp + 0x78]
mov eax, dword [edi + 0x54]
mov ecx, edi
push eax
push dword [edi + 0x5c]
call fcn.10027d50
movss xmm2, dword [esp + 0x64]
mov ecx, dword [esp + 0x5c]
mov dword [edi + 0x54], 0
addss xmm2, dword [0x101878cc]
push ecx
mov dword [esp], 0x3f800000
lea eax, [esp + 0x1c]
push ecx
push dword [esp + 0x9c]
mov ecx, edi
push eax
call fcn.10029520
movss xmm2, dword [esp + 0x64]
lea eax, [esp + 0x18]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push dword [esp + 0x60]
push dword [esp + 0x30]
push eax
call fcn.10029520
movss xmm3, dword [esp + 0x44]
mov ecx, edi
movss xmm4, dword [esp + 0x50]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0xbc]
movaps xmm0, xmm4
mov eax, dword [0x10270558]
mulss xmm0, dword [esp + 0x14]
movaps xmm1, xmm3
push 3
movss xmm6, dword [esp + 0xec]
movss xmm5, dword [esp + 0xc4]
subss xmm2, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0xc0]
push 3
addss xmm2, xmm6
movss dword [esp + 0x114], xmm2
movss dword [esp + 0x108], xmm2
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x1c]
addss xmm2, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0xcc]
addss xmm2, xmm5
movss dword [esp + 0xdc], xmm2
movss dword [esp + 0x10c], xmm2
movss xmm2, dword [esp + 0x104]
mulss xmm1, xmm2
subss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm2
addss xmm1, xmm6
movss dword [esp + 0x20], xmm1
movaps xmm1, xmm3
mulss xmm1, dword [esp + 0xcc]
addss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0xe4]
mulss xmm4, xmm2
addss xmm1, xmm5
movss dword [esp + 0x24], xmm1
movaps xmm1, xmm3
mulss xmm3, dword [esp + 0xe4]
mulss xmm1, xmm2
addss xmm3, xmm4
subss xmm1, xmm0
movss xmm0, dword [eax + 0x3bcc]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [eax + 0x3bd0]
addss xmm3, xmm5
movss dword [esp + 0x40], xmm0
addss xmm1, xmm6
movss dword [esp + 0x4c], xmm3
movss dword [esp + 0xd8], xmm3
movss dword [esp + 0xe0], xmm1
movss dword [esp + 0xd4], xmm1
call fcn.10026e50
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
mov word [ecx], ax
add dword [edi + 0x38], 2
mov ecx, dword [esp + 0x100]
mov eax, dword [edi + 0x34]
mov edx, dword [esp + 0x104]
movss xmm0, dword [esp + 0x50]
movss xmm1, dword [esp + 0x38]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x1c]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], ecx
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0xd0]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], ecx
mov eax, dword [edi + 0x38]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov ecx, dword [esp + 0xcc]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], edx
mov eax, dword [edi + 0x34]
push ecx
mov dword [esp], 0x3fc00000
push dword [esp + 0x98]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], ecx
lea eax, [esp + 0xd4]
add dword [edi + 0x34], 0x14
mov ecx, edi
inc dword [edi + 0x28]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x110]
push eax
call fcn.10029300
movss xmm1, dword [0x101878cc]
movss xmm0, dword [esp + 0x14]
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x58]
comiss xmm0, xmm2
jbe 0x10041262
movaps xmm3, xmm0
jmp 0x10041269
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm4, dword [esp + 0x24]
comiss xmm0, xmm4
jbe 0x10041279
movaps xmm2, xmm0
jmp 0x10041280
movaps xmm2, xmm1
minss xmm2, xmm4
movss xmm0, dword [esp + 0x10c]
subss xmm0, dword [esp + 0xd8]
movss xmm1, dword [esp + 0x18]
mulss xmm0, xmm2
addss xmm0, dword [esp + 0xd8]
subss xmm1, xmm0
mulss xmm1, xmm3
addss xmm1, xmm0
movss xmm0, dword [esp + 0xd4]
subss xmm0, dword [esp + 0x44]
movss dword [esp + 0x68], xmm1
mulss xmm0, xmm2
movss xmm2, dword [esp + 0x1c]
addss xmm0, dword [esp + 0x44]
subss xmm2, xmm0
mulss xmm2, xmm3
addss xmm2, xmm0
movss dword [esp + 0x6c], xmm2
jmp 0x10041635
test dword [esp + 0x48], 0x2000000
je 0x10041631
movss xmm0, dword [esp + 0x18]
mov ecx, edi
addss xmm0, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push eax
push edx
push edx
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x3c]
addss xmm0, dword [esp + 0x38]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x2c]
push eax
movss dword [esp + 0x54], xmm0
call fcn.10029180
mov eax, dword [esp + 0x74]
mov ecx, edi
movss xmm0, dword [esp + 0x38]
push eax
push eax
push 0
push 0
lea eax, [esp + 0xfc]
movss dword [esp + 0xfc], xmm0
movss xmm0, dword [esp + 0x4c]
push eax
lea eax, [esp + 0x2c]
movss dword [esp + 0x104], xmm0
push eax
call fcn.10029180
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x54], xmm0
push dword [esp + 0x54]
movss xmm0, dword [esp + 0x18]
push dword [esp + 0x54]
push dword [esp + 0x24]
push dword [esp + 0x24]
call fcn.10008550
movss xmm0, dword [esp + 0x24]
add esp, 0x10
movss xmm3, dword [esp + 0x24]
comiss xmm0, xmm3
movss xmm1, dword [0x101878cc]
jbe 0x100413c8
movaps xmm2, xmm0
jmp 0x100413cf
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm7, dword [esp + 0x2c]
movss xmm5, dword [esp + 0x18]
movss xmm4, dword [0x1018787c]
mulss xmm2, xmm7
movss xmm6, dword [0x10187970]
addss xmm2, xmm5
addss xmm5, xmm6
addss xmm2, xmm4
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0x38]
subss xmm2, xmm6
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm5, xmm3
jbe 0x1004141d
movss dword [esp + 0x68], xmm5
jmp 0x10041430
comiss xmm3, xmm2
jbe 0x1004142a
movss dword [esp + 0x68], xmm2
jmp 0x10041430
movss dword [esp + 0x68], xmm3
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x58]
comiss xmm0, xmm2
jbe 0x10041443
movaps xmm1, xmm0
jmp 0x10041447
minss xmm1, xmm2
movss xmm3, dword [esp + 0x30]
mulss xmm1, xmm7
movss xmm0, dword [esp + 0x3c]
subss xmm0, xmm6
addss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
movaps xmm1, xmm3
addss xmm1, xmm6
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x10041482
movss dword [esp + 0x6c], xmm1
jmp 0x10041495
comiss xmm2, xmm0
jbe 0x1004148f
movss dword [esp + 0x6c], xmm0
jmp 0x10041495
movss dword [esp + 0x6c], xmm2
movss xmm0, dword [esp + 0xa4]
movaps xmm1, xmm7
divss xmm1, dword [0x101879f8]
mov esi, dword [esp + 0x60]
xor ecx, ecx
movss dword [esp + 0xec], xmm0
movss xmm0, dword [esp + 0xe0]
movss dword [esp + 0x50], xmm1
movss dword [esp + 0xac], xmm0
mov eax, dword [esp + ecx*4 + 0x12c]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0xf4]
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0xf8], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x130]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0xc0]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0xc8], xmm0
call fcn.10029180
movss xmm1, dword [esp + 0x50]
mov ecx, edi
movss xmm3, dword [esp + 0x30]
cmp ecx, 6
jl 0x100414d0
movss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0xe0]
push dword [esp + 0x1c]
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm3
push dword [esp + 0x1c]
movss dword [esp + 0x5c], xmm0
push dword [esp + 0x5c]
movss xmm0, dword [esp + 0x20]
push dword [esp + 0x5c]
call fcn.10008550
mov esi, dword [esp + 0xb0]
movss xmm1, dword [esp + 0x80]
addss xmm1, dword [0x10187970]
mov edi, dword [esp + 0x70]
mov ecx, edi
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x2c], xmm2
addss xmm0, dword [0x101878cc]
movss xmm2, dword [esp + 0xf0]
push dword [esp + 0x2c]
subss xmm2, dword [0x101878cc]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x20]
mulss xmm0, dword [esp + 0x40]
push dword [esp + 0x2c]
movss dword [esp + 0x68], xmm2
addss xmm0, dword [esp + 0x48]
addss xmm0, dword [0x1018787c]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x4c]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x3780]
movss dword [esp + 0x6c], xmm0
push dword [esp + 0x6c]
push dword [esp + 0x6c]
call fcn.1003f360
add esp, 0x20
jmp 0x10041635
mov edi, dword [esp + 0x60]
mov eax, dword [edi + 0x24]
mov ecx, edi
movss xmm1, dword [0x101879f4]
mov dword [esp + 0x38], eax
or eax, 5
mov dword [edi + 0x24], eax
call fcn.10026cb0
test dword [esp + 0x28], 0xff000000
mov dword [esp + 0x50], eax
je 0x100416ff
test eax, eax
jg 0x10041685
movss xmm2, dword [0x101879f4]
lea eax, [esp + 0x68]
push ecx
push 0x30
push 0
push eax
mov ecx, edi
call fcn.10028110
dec dword [edi + 0x54]
jmp 0x100416e2
cmp eax, 3
jge 0x10041691
mov ecx, 3
jmp 0x100416a0
mov ecx, eax
cmp eax, 0x200
mov eax, 0x200
cmovg ecx, eax
movd xmm1, ecx
lea eax, [ecx - 1]
cvtdq2ps xmm1, xmm1
push eax
lea eax, [esp + 0x6c]
push ecx
mov ecx, edi
movss xmm3, dword [esp + 0x1c]
movaps xmm0, xmm1
movss xmm2, dword [0x101879f4]
subss xmm0, dword [0x101878cc]
mulss xmm0, dword [0x101879fc]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.10028510
push dword [esp + 0x28]
mov eax, dword [edi + 0x54]
mov ecx, edi
push eax
push dword [edi + 0x5c]
call fcn.10027d50
mov eax, dword [esp + 0x50]
mov dword [edi + 0x54], 0
movss xmm2, dword [0x101879f4]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push eax
push dword [esp + 0x7c]
lea eax, [esp + 0x74]
push eax
call fcn.10029520
cmp dword [esp + 0x108], 0x10000
mov eax, dword [esp + 0x38]
mov dword [edi + 0x24], eax
jne 0x100418e9
mov eax, dword [esp + 0x4c]
movss xmm1, dword [esp + 0x14]
movss xmm2, dword [eax + 0xc]
comiss xmm1, xmm2
jbe 0x10041757
movss dword [esp + 0xa0], xmm1
jmp 0x1004176c
movss xmm0, dword [0x101878cc]
minss xmm0, xmm2
movss dword [esp + 0xa0], xmm0
movss xmm3, dword [esp + 0x9c]
movss xmm0, dword [esp + 0x30]
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x70]
movss dword [esp + 0xf0], xmm0
addss xmm0, dword [esp + 0x2c]
mov dword [esp + 0x1c], 0
push dword [esp + 0x1c]
mov dword [esp + 0x1c], 0
push dword [esp + 0x1c]
movss dword [esp + 0x100], xmm0
push dword [esp + 0x100]
movss dword [esp + 0x100], xmm2
subss xmm2, xmm3
push dword [esp + 0x100]
movss dword [esp + 0xfc], xmm3
movaps xmm3, xmm1
push dword [esp + 0x100]
mov edi, dword [esp + 0x100]
mulss xmm2, dword [0x1018787c]
push edi
push ecx
mov ecx, dword [esp + 0x7c]
call fcn.1002d210
mov ecx, dword [esp + 0xa8]
add esp, 0x1c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0x100]
push eax
call fcn.10029180
push dword [esp + 0xf8]
movss xmm0, dword [esp + 0x18]
push dword [esp + 0xf8]
push dword [esp + 0xf8]
push edi
call fcn.10008550
movss xmm1, dword [0x101878cc]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x70]
movaps xmm0, xmm2
movss dword [esp + 0x2c], xmm2
movss xmm2, dword [esp + 0xac]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0xb0]
push dword [esp + 0x2c]
movss dword [esp + 0x2c], xmm0
push dword [esp + 0x2c]
mulss xmm1, dword [esp + 0x44]
movss dword [esp + 0x68], xmm2
movss xmm2, dword [edi + 0x3780]
addss xmm1, dword [esp + 0x48]
addss xmm1, dword [0x1018787c]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x88]
addss xmm1, dword [0x10187970]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x6c], xmm0
push dword [esp + 0x6c]
push dword [esp + 0x6c]
call fcn.1003f360
add esp, 0x20
jmp 0x100418ed
mov edi, dword [esp + 0x34]
call fcn.100166a0
mov al, byte [esp + 0xb]
mov esi, dword [0x10270558]
test al, al
je 0x100419ba
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0x144]
mov edx, dword [esp + 0x4c]
sub eax, 4
mov dword [esp + 0x88], eax
jb 0x10041941
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1004194a
mov eax, dword [esp + 0x88]
add ecx, 4
add edx, 4
sub eax, 4
mov dword [esp + 0x88], eax
jae 0x10041922
cmp eax, 0xfffffffc
je 0x100419ee
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1004198e
cmp dword [esp + 0x88], 0xfffffffd
je 0x100419ee
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1004198e
cmp dword [esp + 0x88], 0xfffffffe
je 0x100419ee
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1004198e
cmp dword [esp + 0x88], 0xffffffff
je 0x100419ee
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x100419ee
mov eax, dword [edi + 0x46d0]
test eax, eax
je 0x100419b6
mov ecx, dword [esi + 0x3ea4]
cmp ecx, eax
je 0x100419a6
test ecx, ecx
jne 0x100419af
mov word [esi + 0x3eb4], 0x101
or dword [esi + 0x46d8], 4
mov al, byte [esp + 0xb]
cmp dword [esp + 0x114], 0
jne 0x100419ce
mov dword [edi + 0x59b4], 0
mov ecx, dword [esi + 0x3e58]
pop edi
pop esi
dec dword [ecx + 0xe4]
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.100c9808
mov esp, ebp
pop ebp
ret
xor al, al
jmp 0x100419ba