Function at 0x1008e5f0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x8168
call fcn.101b60c0
mov eax, dword [0x102220c0]
xor eax, esp
mov dword [esp + 0x8164], eax
mov eax, dword [0x10240d9c]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
mov ecx, dword fs:[0x2c]
mov dword [esp + 0x14], ecx
mov edx, dword [ecx + eax*4]
mov eax, dword [0x105330f0]
cmp eax, dword [edx + 4]
jle 0x1008e6df
push 0x105330f0
call fcn.101b57fd
add esp, 4
cmp dword [0x105330f0], 0xffffffff
jne 0x1008e6df
mov eax, dword [0x1023fc88]
xor edx, edx
movq xmm0, qword [str.KOeNHV48B]
mov dword [esp + 0x30], edx
mov esi, dword [eax + 8]
mov ax, word [0x10203eec]
mov word [esp + 0x3f78], ax
mov al, byte [0x10203eee]
movq qword [esp + 0x3f70], xmm0
mov byte [esp + 0x3f7a], al
nop dword [eax]
mov eax, 0x51eb851f
mul edx
shr edx, 4
movsx eax, dl
mov edx, dword [esp + 0x30]
mov cl, dl
imul eax, eax, 0x32
sub cl, al
add cl, 0x38
xor byte [esp + edx + 0x3f70], cl
inc edx
mov dword [esp + 0x30], edx
cmp edx, 0xb
jl 0x1008e690
mov eax, dword [esi]
lea ecx, [esp + 0x3f70]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x3c]
call eax
push 0x105330f0
mov dword [0x10533104], eax
call fcn.101b57ac
add esp, 4
mov eax, dword [0x1023fc80]
xorps xmm0, xmm0
movss xmm1, dword [0x102147c0]
cmp byte [eax + 0xf2c], 0
je 0x1008e70d
mov ecx, dword [eax + 0xf30]
test ecx, ecx
jle 0x1008e70d
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movd xmm2, dword [eax + 0xf28]
cvtdq2ps xmm2, xmm2
divss xmm2, xmm1
addss xmm2, xmm0
movss dword [esp + 0x5c], xmm2
cmp edi, 4
jne 0x1008e755
mov eax, dword [0x10241574]
cmp dword [eax], 0
jne 0x1008e769
mov esi, 0x1024e840
nop word [eax + eax]
mov ecx, esi
call fcn.1008d250
add esi, 0x3ef0
cmp esi, 0x1034e330
jne 0x1008e740
pop edi
pop esi
mov ecx, dword [esp + 0x8164]
xor ecx, esp
call fcn.101b526a
mov esp, ebp
pop ebp
ret
mov eax, dword [0x1023fc88]
mov esi, 1
mov dword [esp + 0x4c], esi
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
cmp eax, esi
jl 0x1008e755
fld dword [0x102143ec]
fstp dword [esp + 0x50]
nop
mov eax, dword [0x1023fc88]
push esi
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
mov dword [esp + 0x34], edi
cmp esi, 0x41
jae 0x10090863
imul ecx, esi, 0x3ef0
lea esi, [ecx + 0x1024e840]
mov dword [esp + 0x1c], esi
test edi, edi
je 0x10090828
mov eax, dword [0x10241574]
cmp edi, dword [eax]
je 0x10090828
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x10090828
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x10090828
movss xmm0, dword [edi + 0x103c0]
ucomiss xmm0, dword [esi + 0x3eb0]
lahf
test ah, 0x44
jnp 0x1008e899
mov ecx, esi
movss dword [esi + 0x3eb0], xmm0
call fcn.1008d250
push 0x2d8
lea eax, [esp + 0x3f8c]
push 0
push eax
call fcn.101b7010
add esp, 0xc
lea edi, [esi + 0x3b74]
lea eax, [esp + 0x3f88]
mov ecx, 0xb6
lea esi, [esp + 0x3f88]
rep movsd dword es:[edi], dword [esi]
push 0x2d8
push 0
push eax
call fcn.101b7010
mov edi, dword [esp + 0x28]
lea esi, [esp + 0x3f94]
add esp, 0xc
mov ecx, 0xb6
add edi, 0x389c
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x34]
mov dword [esi + 0x3ebc], 0
mov dword [esi + 0x3ec0], 0
mov eax, dword [edi + 0x299c]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [esp + 0x7e78]
shl ecx, 3
push ecx
push dword [edi + 0x2990]
push eax
call fcn.101b6a90
mov eax, dword [0x1023fc7c]
add esp, 0xc
mov ecx, dword [eax + 0xc]
movss xmm0, dword [ecx + 0x14]
mov eax, dword [ecx + 0x20]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [ecx + 0x10]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
movss dword [esp + 0x58], xmm0
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x102416fc]
cmp eax, dword [ecx + 4]
jle 0x1008e93c
push 0x102416fc
call fcn.101b57fd
add esp, 4
cmp dword [0x102416fc], 0xffffffff
jne 0x1008e93c
mov edx, 0xc60bf9f2
mov ecx, 0x10203571
call fcn.1007d240
mov ecx, eax
call fcn.100cef40
push 0x102416fc
mov dword [0x102415d4], eax
call fcn.101b57ac
add esp, 4
mov eax, dword [0x1023fc7c]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
mov eax, dword [0x102415d4]
mov eax, dword [eax + edi]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + edx*4]
mov ecx, dword [0x1024b0a0]
cmp ecx, dword [eax + 4]
jle 0x1008e9b1
push 0x1024b0a0
call fcn.101b57fd
mov ecx, dword [0x1024b0a0]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1008e9ad
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_fEffects
mov ecx, eax
call fcn.1008ca10
push 0x1024b0a0
mov dword [0x1024b0b4], eax
call fcn.101b57ac
mov ecx, dword [0x1024b0a0]
add esp, 4
mov edx, dword [esp + 0x10]
mov eax, dword [0x1024b0b4]
mov eax, dword [eax + edi]
mov dword [esp + 0x3f70], eax
mov eax, dword [esi + edx*4]
cmp ecx, dword [eax + 4]
jle 0x1008ea0c
push 0x1024b0a0
call fcn.101b57fd
add esp, 4
cmp dword [0x1024b0a0], 0xffffffff
jne 0x1008ea08
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_fEffects
mov ecx, eax
call fcn.1008ca10
push 0x1024b0a0
mov dword [0x1024b0b4], eax
call fcn.101b57ac
add esp, 4
mov edx, dword [esp + 0x10]
mov eax, dword [0x1024b0b4]
mov byte [esp + 0x2f], 0
or dword [eax + edi], 8
mov eax, dword [esi + edx*4]
mov ecx, dword [0x102416fc]
mov esi, dword [esp + 0x1c]
cmp ecx, dword [eax + 4]
jle 0x1008ea79
push 0x102416fc
call fcn.101b57fd
mov ecx, dword [0x102416fc]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1008ea75
mov edx, 0xc60bf9f2
mov ecx, 0x10203571
call fcn.1007d240
mov ecx, eax
call fcn.100cef40
push 0x102416fc
mov dword [0x102415d4], eax
call fcn.101b57ac
mov ecx, dword [0x102416fc]
add esp, 4
mov edx, dword [esp + 0x10]
mov eax, dword [0x102415d4]
movss xmm0, dword [esi + 0x3eb4]
ucomiss xmm0, dword [eax + edi]
lahf
test ah, 0x44
jnp 0x100901dd
mov edi, dword [esp + 0x14]
mov eax, dword [edi + edx*4]
mov edi, dword [esp + 0x34]
cmp ecx, dword [eax + 4]
jle 0x1008eaf1
push 0x102416fc
call fcn.101b57fd
mov ecx, dword [0x102416fc]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1008eaed
mov edx, 0xc60bf9f2
mov ecx, 0x10203571
call fcn.1007d240
mov ecx, eax
call fcn.100cef40
push 0x102416fc
mov dword [0x102415d4], eax
call fcn.101b57ac
mov ecx, dword [0x102416fc]
add esp, 4
mov edx, dword [esp + 0x10]
mov eax, dword [0x102415d4]
movss xmm1, dword [esi + 0x3eb4]
movss xmm0, dword [eax + edi]
comiss xmm0, xmm1
jbe 0x100901dd
ucomiss xmm1, dword [0x1021482c]
mov byte [esp + 0x2f], 1
lahf
test ah, 0x44
jp 0x1008eb7d
mov esi, dword [esp + 0x14]
mov eax, dword [esi + edx*4]
mov esi, dword [esp + 0x1c]
cmp ecx, dword [eax + 4]
jle 0x1008eb6f
push 0x102416fc
call fcn.101b57fd
add esp, 4
cmp dword [0x102416fc], 0xffffffff
jne 0x1008eb6f
mov edx, 0xc60bf9f2
mov ecx, 0x10203571
call fcn.1007d240
mov ecx, eax
call fcn.100cef40
push 0x102416fc
mov dword [0x102415d4], eax
call fcn.101b57ac
add esp, 4
mov eax, dword [0x102415d4]
mov eax, dword [eax + edi]
mov dword [esi + 0x3eb4], eax
mov eax, dword [edi + 0x299c]
add esi, 0x389c
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esp + 0x1c]
shl ecx, 3
add eax, 0x3b74
push ecx
push esi
push eax
call fcn.101b6a90
mov eax, dword [edi + 0x299c]
add esp, 0xc
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 3
push ecx
push dword [edi + 0x2990]
push esi
call fcn.101b6a90
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov eax, dword [0x102416fc]
mov esi, dword [edx + ecx*4]
cmp eax, dword [esi + 4]
jle 0x1008ec21
push 0x102416fc
call fcn.101b57fd
add esp, 4
cmp dword [0x102416fc], 0xffffffff
jne 0x1008ec21
mov edx, 0xc60bf9f2
mov ecx, 0x10203571
call fcn.1007d240
mov ecx, eax
call fcn.100cef40
push 0x102416fc
mov dword [0x102415d4], eax
call fcn.101b57ac
add esp, 4
mov eax, dword [0x102415d4]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
movss xmm1, dword [eax + edi]
mov edi, dword [esp + 0x14]
subss xmm1, dword [esi + 0x3eb4]
mov eax, dword [0x102416fc]
mov ecx, dword [edi + edx*4]
mov edi, dword [esp + 0x34]
andps xmm1, xmmword [0x10214dd0]
movss dword [esp + 0x18], xmm1
cmp eax, dword [ecx + 4]
jle 0x1008eca4
push 0x102416fc
call fcn.101b57fd
add esp, 4
cmp dword [0x102416fc], 0xffffffff
jne 0x1008ec9e
mov edx, 0xc60bf9f2
mov ecx, 0x10203571
call fcn.1007d240
mov ecx, eax
call fcn.100cef40
push 0x102416fc
mov dword [0x102415d4], eax
call fcn.101b57ac
add esp, 4
movss xmm1, dword [esp + 0x18]
mov eax, dword [0x102415d4]
movss xmm0, dword [esi + 0x3eb4]
ucomiss xmm0, dword [eax + edi]
lahf
test ah, 0x44
jnp 0x1008ecd2
mov eax, dword [0x1023fc7c]
movaps xmm0, xmm1
mov eax, dword [eax + 0xc]
divss xmm0, dword [eax + 0x20]
cvttss2si eax, xmm0
dec eax
jmp 0x1008ecd4
xor eax, eax
lea ecx, [esi + 0x3ebc]
mov dword [ecx], eax
mov dword [esp + 0x30], ecx
call fcn.101a9830
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 0
xorps xmm1, xmm1
lea esi, [eax + 1]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], esi
mov ecx, dword [eax]
test ecx, ecx
cmovns edx, eax
cmp esi, ecx
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x28]
mov esi, dword [esp + 0x1c]
cmovge eax, edx
mov eax, dword [eax]
mov dword [ecx], eax
movss xmm0, dword [esi + 0x3e70]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1008ed52
movss xmm0, dword [esi + 0x3e74]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1008ed52
movss xmm0, dword [esi + 0x3e78]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1008ee92
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x102416fc]
mov dword [esp + 0x38], ecx
cmp eax, dword [ecx + 4]
jle 0x1008edb0
push 0x102416fc
call fcn.101b57fd
add esp, 4
cmp dword [0x102416fc], 0xffffffff
jne 0x1008edac
mov edx, 0xc60bf9f2
mov ecx, 0x10203571
call fcn.1007d240
mov ecx, eax
call fcn.100cef40
push 0x102416fc
mov dword [0x102415d4], eax
call fcn.101b57ac
add esp, 4
mov ecx, dword [esp + 0x38]
mov eax, dword [0x102415d4]
movss xmm0, dword [esi + 0x3eb4]
ucomiss xmm0, dword [eax + edi]
lahf
test ah, 0x44
jnp 0x1008ee92
movq xmm0, qword [esi + 0x3e94]
mov eax, dword [esi + 0x3e9c]
movq qword [esi + 0x3ea0], xmm0
mov dword [esi + 0x3ea8], eax
mov eax, dword [0x10241690]
cmp eax, dword [ecx + 4]
jle 0x1008ee32
push 0x10241690
call fcn.101b57fd
add esp, 4
cmp dword [0x10241690], 0xffffffff
jne 0x1008ee32
mov edx, 0xc60bf9f2
mov ecx, 0x10203555
call fcn.1007d240
mov ecx, eax
call fcn.100cef40
push 0x10241690
mov dword [0x1024164c], eax
call fcn.101b57ac
add esp, 4
movss xmm1, dword [0x1021445c]
divss xmm1, dword [esp + 0x18]
mov eax, dword [0x1024164c]
movss xmm0, dword [eax + edi]
subss xmm0, dword [esi + 0x3e70]
movss xmm4, dword [eax + edi + 4]
movss xmm5, dword [eax + edi + 8]
mulss xmm0, xmm1
movss dword [esi + 0x3e94], xmm0
subss xmm4, dword [esi + 0x3e74]
mulss xmm4, xmm1
movss dword [esi + 0x3e98], xmm4
subss xmm5, dword [esi + 0x3e78]
mulss xmm5, xmm1
movss dword [esi + 0x3e9c], xmm5
mov ecx, edi
call fcn.1007d3e0
mov ecx, edi
mov eax, dword [eax]
mov eax, dword [eax + 0x9c]
mov dword [esi + 0x3ed0], eax
call fcn.1007d610
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esi + 0x3eec], eax
mov ecx, dword [edi + edx*4]
mov eax, dword [0x102416fc]
mov edi, dword [esp + 0x34]
cmp eax, dword [ecx + 4]
jle 0x1008ef10
push 0x102416fc
call fcn.101b57fd
add esp, 4
cmp dword [0x102416fc], 0xffffffff
jne 0x1008ef10
mov edx, 0xc60bf9f2
mov ecx, 0x10203571
call fcn.1007d240
mov ecx, eax
call fcn.100cef40
push 0x102416fc
mov dword [0x102415d4], eax
call fcn.101b57ac
add esp, 4
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
movss xmm0, dword [esi + 0x3eb4]
mov eax, dword [edx + ecx*4]
mov ecx, dword [eax + 4]
mov eax, dword [0x102415d4]
ucomiss xmm0, dword [eax + edi]
lahf
test ah, 0x44
jp 0x1008f02d
cmp dword [0x1024802c], ecx
jle 0x1008ef82
push 0x1024802c
call fcn.101b57fd
add esp, 4
cmp dword [0x1024802c], 0xffffffff
jne 0x1008ef82
mov edx, 0xc60bf9f2
mov ecx, 0x10203e6d
call fcn.1007d240
mov ecx, eax
call fcn.100cef40
push 0x1024802c
mov dword [0x10241d00], eax
call fcn.101b57ac
add esp, 4
mov eax, dword [0x10241d00]
mov edx, dword [esp + 0x10]
movss xmm0, dword [eax + edi]
mov edi, dword [esp + 0x14]
mov eax, dword [0x10241690]
movss dword [esi + 0x3ee4], xmm0
movss dword [esi + 0x3ee8], xmm0
mov ecx, dword [edi + edx*4]
mov edi, dword [esp + 0x34]
cmp eax, dword [ecx + 4]
jle 0x1008eff6
push 0x10241690
call fcn.101b57fd
add esp, 4
cmp dword [0x10241690], 0xffffffff
jne 0x1008eff6
mov edx, 0xc60bf9f2
mov ecx, 0x10203555
call fcn.1007d240
mov ecx, eax
call fcn.100cef40
push 0x10241690
mov dword [0x1024164c], eax
call fcn.101b57ac
add esp, 4
mov eax, dword [0x1024164c]
movq xmm0, qword [eax + edi]
movq qword [esi + 0x3e70], xmm0
mov eax, dword [eax + edi + 8]
mov dword [esi + 0x3e78], eax
movq xmm0, qword [esi + 0x3e70]
movq qword [esi + 0x3e7c], xmm0
mov dword [esi + 0x3e84], eax
jmp 0x1008f11f
mov eax, dword [esi + 0x3ee4]
mov dword [esi + 0x3ee8], eax
cmp dword [0x1024802c], ecx
jle 0x1008f07f
push 0x1024802c
call fcn.101b57fd
add esp, 4
cmp dword [0x1024802c], 0xffffffff
jne 0x1008f07f
mov edx, 0xc60bf9f2
mov ecx, 0x10203e6d
call fcn.1007d240
mov ecx, eax
call fcn.100cef40
push 0x1024802c
mov dword [0x10241d00], eax
call fcn.101b57ac
add esp, 4
mov eax, dword [0x10241d00]
mov edx, dword [esp + 0x10]
movq xmm0, qword [esi + 0x3e70]
mov eax, dword [eax + edi]
mov edi, dword [esp + 0x14]
mov dword [esi + 0x3ee4], eax
mov eax, dword [esi + 0x3e78]
movq qword [esi + 0x3e7c], xmm0
mov ecx, dword [edi + edx*4]
mov edi, dword [esp + 0x34]
mov dword [esi + 0x3e84], eax
mov eax, dword [0x10241690]
cmp eax, dword [ecx + 4]
jle 0x1008f103
push 0x10241690
call fcn.101b57fd
add esp, 4
cmp dword [0x10241690], 0xffffffff
jne 0x1008f103
mov edx, 0xc60bf9f2
mov ecx, 0x10203555
call fcn.1007d240
mov ecx, eax
call fcn.100cef40
push 0x10241690
mov dword [0x1024164c], eax
call fcn.101b57ac
add esp, 4
mov eax, dword [0x1024164c]
movq xmm0, qword [eax + edi]
movq qword [esi + 0x3e70], xmm0
mov eax, dword [eax + edi + 8]
mov dword [esi + 0x3e78], eax
mov ecx, edi
call fcn.1007d610
test byte [eax], 1
je 0x1008f13a
mov dword [esi + 0x3e9c], 0
jmp 0x1008f33a
movss xmm1, dword [0x1021445c]
xorps xmm2, xmm2
subss xmm1, dword [esi + 0x3b24]
comiss xmm1, xmm2
jbe 0x1008f2e7
movss xmm0, dword [esi + 0x3e04]
ucomiss xmm0, dword [esi + 0x3b2c]
lahf
test ah, 0x44
jp 0x1008f2e7
mov eax, dword [esi + 0x3df4]
cmp eax, dword [esi + 0x3b1c]
jne 0x1008f2e7
divss xmm1, dword [0x10214568]
addss xmm1, dword [0x102143f4]
comiss xmm1, xmm2
movss dword [esp + 0x28], xmm1
jbe 0x1008f2e7
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x430]
call eax
test eax, eax
je 0x1008f1f0
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x6e8]
mov dword [esp + 0x20], ecx
mov ecx, eax
call dword [esp + 0x20]
sub esp, 8
fstp dword [esp + 0x28]
movss xmm0, dword [esp + 0x28]
mov dword [esp + 4], 0x3a83126f
movss dword [esp], xmm0
call fcn.101c2bd8
fstp dword [esp + 0x28]
movss xmm0, dword [esp + 0x28]
add esp, 8
jmp 0x1008f1f8
movss xmm0, dword [0x10214758]
mulss xmm0, dword [esp + 0x28]
comiss xmm0, dword [0x102142f8]
movss dword [esp + 0x3c], xmm0
jbe 0x1008f2e7
movss xmm0, dword [esi + 0x3e94]
movss xmm1, dword [esi + 0x3e98]
movaps xmm2, xmm0
mulss xmm2, xmm0
movss dword [esp + 0x28], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x48], xmm1
xorps xmm1, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
movss dword [esp + 0x20], xmm2
ucomisd xmm1, xmm0
ja 0x1008f257
sqrtsd xmm0, xmm0
jmp 0x1008f25c
call fcn.101dd630
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [0x102142f8]
jbe 0x1008f2e7
movss xmm1, dword [esi + 0x3e9c]
movaps xmm0, xmm1
movss dword [esp + 0x38], xmm1
mulss xmm0, xmm1
xorps xmm1, xmm1
addss xmm0, dword [esp + 0x20]
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1008f296
sqrtsd xmm0, xmm0
jmp 0x1008f29b
call fcn.101dd630
movss xmm1, dword [esp + 0x28]
cvtsd2ss xmm0, xmm0
movss xmm2, dword [esp + 0x3c]
divss xmm1, xmm0
mulss xmm1, xmm2
movss dword [esi + 0x3e94], xmm1
movss xmm1, dword [esp + 0x48]
divss xmm1, xmm0
mulss xmm1, xmm2
movss dword [esi + 0x3e98], xmm1
movss xmm1, dword [esp + 0x38]
divss xmm1, xmm0
mulss xmm1, xmm2
movss dword [esi + 0x3e9c], xmm1
mov eax, dword [0x1023fc7c]
movd xmm0, dword [esi + 0x3ebc]
mov ecx, dword [0x10533104]
cvtdq2ps xmm0, xmm0
mov eax, dword [eax + 0xc]
mulss xmm0, dword [eax + 0x20]
mov eax, dword [ecx]
movss dword [esp + 0x28], xmm0
mov eax, dword [eax + 0x30]
mov dword [esp + 0x20], eax
call dword [esp + 0x20]
fmul dword [esp + 0x50]
movss xmm0, dword [esi + 0x3e9c]
fmul dword [esp + 0x28]
fstp dword [esp + 0x20]
subss xmm0, dword [esp + 0x20]
movss dword [esi + 0x3e9c], xmm0
mov ecx, edi
call fcn.1007d610
test byte [eax], 1
je 0x1008f4e1
movss xmm0, dword [esi + 0x3b24]
comiss xmm0, dword [0x102142f8]
jbe 0x1008f4e1
movss xmm3, dword [0x1021445c]
comiss xmm3, xmm0
jbe 0x1008f4e1
movss xmm0, dword [esi + 0x3b30]
comiss xmm0, dword [esi + 0x3e08]
jbe 0x1008f4e1
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x430]
call eax
test eax, eax
je 0x1008f3d5
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x6e8]
mov dword [esp + 0x20], ecx
mov ecx, eax
call dword [esp + 0x20]
sub esp, 8
fstp dword [esp + 0x28]
movss xmm0, dword [esp + 0x28]
mov dword [esp + 4], 0x3a83126f
movss dword [esp], xmm0
call fcn.101c2bd8
fstp dword [esp + 0x28]
movss xmm1, dword [esp + 0x28]
add esp, 8
jmp 0x1008f3dd
movss xmm1, dword [0x10214758]
movss xmm3, dword [0x1021445c]
xorps xmm2, xmm2
movaps xmm0, xmm3
subss xmm0, dword [esi + 0x3b24]
mulss xmm0, dword [0x102143dc]
comiss xmm0, xmm2
jbe 0x1008f4e1
comiss xmm3, xmm0
jbe 0x1008f4e1
addss xmm0, dword [0x102143f4]
mulss xmm0, xmm1
comiss xmm0, xmm2
movss dword [esp + 0x20], xmm0
jbe 0x1008f4e1
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x102416ec]
cmp eax, dword [ecx + 4]
jle 0x1008f47e
push 0x102416ec
call fcn.101b57fd
add esp, 4
cmp dword [0x102416ec], 0xffffffff
jne 0x1008f47e
mov edx, 0xc60bf9f2
mov ecx, 0x1020360d
call fcn.1007d240
mov ecx, eax
call fcn.100cef40
push 0x102416ec
mov dword [0x10241640], eax
call fcn.101b57ac
add esp, 4
mov eax, dword [0x10241640]
movss xmm1, dword [eax + edi + 4]
movss xmm0, dword [eax + edi]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
xorps xmm1, xmm1
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1008f4ac
sqrtsd xmm0, xmm0
jmp 0x1008f4b1
call fcn.101dd630
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
divss xmm1, dword [esp + 0x20]
movaps xmm0, xmm1
mulss xmm1, dword [esi + 0x3e98]
mulss xmm0, dword [esi + 0x3e94]
movss dword [esi + 0x3e98], xmm1
movss dword [esi + 0x3e94], xmm0
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x3a14]
jae 0x1008f4f6
comiss xmm0, dword [esi + 0x3a0c]
jb 0x1008f516
mov ecx, edi
call fcn.1007d610
test byte [eax], 1
je 0x1008f516
mov dword [esi + 0x3e94], 0
mov dword [esi + 0x3e98], 0
push esi
lea ecx, [esp + 0x84]
call fcn.10090870
push esi
lea ecx, [esp + 0x3f8c]
call fcn.10090870
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x1008f597
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
je 0x1008f597
cmp dword [esp + 0x7e44], 0
jle 0x1008f597
cmp dword [0x10359d70], 0
je 0x1008f597
mov edx, edi
lea ecx, [esp + 0x3f88]
call fcn.100a8f10
mov eax, 0x3ef0
call fcn.101b60c0
lea eax, [esp + 0x3f70]
mov ecx, esp
push eax
call fcn.10090870
mov edx, edi
lea ecx, [esp + 0x7e78]
call fcn.100a8610
lea ecx, [esp + 0x7dd4]
call fcn.1002bf20
lea ecx, [esp + 0x4810]
call fcn.10090bf0
mov eax, dword [esp + 0x4810]
push 8
push eax
mov dword [esp + 0x4818], 0
call fcn.101b5563
add esp, 8
lea ecx, [esp + 0x3ecc]
call fcn.1002bf20
lea ecx, [esp + 0x908]
call fcn.10090bf0
mov eax, dword [esp + 0x908]
push 8
push eax
mov dword [esp + 0x910], 0
call fcn.101b5563
mov eax, dword [esi + 0x3ebc]
add esp, 8
mov byte [0x1024b0c4], 1
test eax, eax
jg 0x1008f77c
mov esi, dword [0x1023fc7c]
mov ecx, edi
call fcn.1007d3e0
mov ecx, dword [esi + 0xc]
mov eax, dword [eax]
mov eax, dword [eax + 0x70]
cmp eax, dword [ecx + 4]
jne 0x1008f63c
mov ecx, edi
call fcn.1007d3e0
mov eax, dword [eax]
dec dword [eax + 0x70]
mov esi, dword [0x1023fc7c]
mov ecx, edi
call fcn.1007d3e0
mov ecx, dword [esi + 0xc]
mov eax, dword [eax]
movss xmm0, dword [eax + 0x6c]
ucomiss xmm0, dword [ecx + 0x10]
lahf
test ah, 0x44
jp 0x1008f689
mov eax, dword [0x1023fc7c]
mov ecx, edi
mov eax, dword [eax + 0xc]
movss xmm0, dword [eax + 0x20]
movss dword [esp + 0x20], xmm0
call fcn.1007d3e0
movss xmm0, dword [esp + 0x20]
mov eax, dword [eax]
addss xmm0, dword [eax + 0x6c]
movss dword [eax + 0x6c], xmm0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + eax*4]
mov eax, dword [0x10245020]
cmp eax, dword [esi + 4]
jle 0x1008f6de
push 0x10245020
call fcn.101b57fd
add esp, 4
cmp dword [0x10245020], 0xffffffff
jne 0x1008f6de
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_iEFlags
mov ecx, eax
call fcn.1008ca10
push 0x10245020
mov dword [0x10241cf0], eax
call fcn.101b57ac
add esp, 4
mov eax, dword [0x10241cf0]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
and dword [eax + edi], 0xffffefff
mov eax, dword [esi + 0x3e9c]
movq xmm0, qword [esi + 0x3e94]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [0x10241d28]
movq qword [esp + 0x40], xmm0
mov ecx, dword [esi + edx*4]
mov esi, dword [esp + 0x1c]
cmp eax, dword [ecx + 4]
jle 0x1008f765
push 0x10241d28
call fcn.101b57fd
add esp, 4
cmp dword [0x10241d28], 0xffffffff
jne 0x1008f75f
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_vecAbsVelocity
mov ecx, eax
call fcn.1008ca10
push 0x10241d28
mov dword [0x10248028], eax
call fcn.101b57ac
add esp, 4
movq xmm0, qword [esp + 0x40]
mov eax, dword [0x10248028]
mov ecx, dword [esp + 0x20]
movq qword [eax + edi], xmm0
mov dword [eax + edi + 8], ecx
jmp 0x1008fcb3
mov edx, 1
inc eax
mov dword [esp + 0x20], edx
cmp eax, edx
jl 0x1008fb61
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x18], ecx
nop dword [eax]
mov eax, dword [0x1023fc7c]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mov eax, dword [eax + 0xc]
mulss xmm0, dword [eax + 0x20]
mov eax, dword [0x102416fc]
addss xmm0, dword [esi + 0x3eb4]
movss dword [esp + 0x3c], xmm0
cmp eax, dword [ecx + 4]
jle 0x1008f813
push 0x102416fc
call fcn.101b57fd
mov eax, dword [0x102416fc]
add esp, 4
cmp eax, 0xffffffff
jne 0x1008f813
mov edx, 0xc60bf9f2
mov ecx, 0x10203571
call fcn.1007d240
mov ecx, eax
call fcn.100cef40
push 0x102416fc
mov dword [0x102415d4], eax
call fcn.101b57ac
mov eax, dword [0x102416fc]
add esp, 4
mov ecx, dword [0x102415d4]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx + 4]
jle 0x1008f86b
push 0x102416fc
call fcn.101b57fd
add esp, 4
cmp dword [0x102416fc], 0xffffffff
jne 0x1008f867
mov edx, 0xc60bf9f2
mov ecx, 0x10203571
call fcn.1007d240
mov ecx, eax
call fcn.100cef40
push 0x102416fc
mov dword [0x102415d4], eax
call fcn.101b57ac
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
movss xmm2, dword [esp + 0x3c]
movss xmm1, dword [eax + edi]
mov eax, dword [0x102415d4]
subss xmm1, xmm2
movss xmm0, dword [eax + edi]
subss xmm0, dword [esi + 0x3eb4]
mov eax, dword [0x1023fc7c]
divss xmm1, xmm0
mov eax, dword [eax + 0xc]
movss xmm0, dword [0x1021445c]
subss xmm0, xmm1
movss dword [esp + 0x38], xmm0
movss xmm0, dword [eax + 0x10]
movss dword [eax + 0x10], xmm2
mov eax, dword [0x10245020]
movss dword [esp + 0x40], xmm0
cmp eax, dword [ecx + 4]
jle 0x1008f90c
push 0x10245020
call fcn.101b57fd
add esp, 4
cmp dword [0x10245020], 0xffffffff
jne 0x1008f908
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_iEFlags
mov ecx, eax
call fcn.1008ca10
push 0x10245020
mov dword [0x10241cf0], eax
call fcn.101b57ac
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, dword [0x10241cf0]
and dword [eax + edi], 0xffffefff
movq xmm0, qword [esi + 0x3ea0]
mov eax, dword [esi + 0x3ea8]
movq qword [esp + 0x60], xmm0
movq xmm0, qword [esi + 0x3e94]
movss xmm1, dword [esp + 0x60]
movss xmm2, dword [esp + 0x64]
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x3e9c]
movss xmm3, dword [esp + 0x68]
movq qword [esp + 0x3f7c], xmm0
subss xmm1, dword [esp + 0x3f7c]
subss xmm2, dword [esp + 0x3f80]
mov dword [esp + 0x3f84], eax
subss xmm3, dword [esp + 0x3f84]
mov eax, dword [0x10241d28]
mulss xmm1, dword [esp + 0x38]
mulss xmm2, dword [esp + 0x38]
mulss xmm3, dword [esp + 0x38]
addss xmm1, dword [esp + 0x3f7c]
addss xmm2, dword [esp + 0x3f80]
addss xmm3, dword [esp + 0x3f84]
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x28], xmm3
cmp eax, dword [ecx + 4]
jle 0x1008fa16
push 0x10241d28
call fcn.101b57fd
add esp, 4
cmp dword [0x10241d28], 0xffffffff
jne 0x1008fa04
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_vecAbsVelocity
mov ecx, eax
call fcn.1008ca10
push 0x10241d28
mov dword [0x10248028], eax
call fcn.101b57ac
add esp, 4
movss xmm3, dword [esp + 0x28]
movss xmm2, dword [esp + 0x3c]
movss xmm1, dword [esp + 0x48]
mov eax, dword [0x10248028]
movss dword [eax + edi], xmm1
movss dword [eax + edi + 4], xmm2
movss dword [eax + edi + 8], xmm3
movss xmm0, dword [esi + 0x3ee4]
movss xmm1, dword [esi + 0x3ee8]
mov esi, dword [esp + 0x18]
subss xmm1, xmm0
mov eax, dword [0x1024802c]
mulss xmm1, dword [esp + 0x38]
addss xmm1, xmm0
movss dword [esp + 0x28], xmm1
cmp eax, dword [esi + 4]
jle 0x1008faa5
push 0x1024802c
call fcn.101b57fd
add esp, 4
cmp dword [0x1024802c], 0xffffffff
jne 0x1008fa9f
mov edx, 0xc60bf9f2
mov ecx, 0x10203e6d
call fcn.1007d240
mov ecx, eax
call fcn.100cef40
push 0x1024802c
mov dword [0x10241d00], eax
call fcn.101b57ac
add esp, 4
movss xmm1, dword [esp + 0x28]
mov eax, dword [0x10241d00]
mov ecx, edi
movss dword [eax + edi], xmm1
mov esi, dword [0x1023fc7c]
call fcn.1007d3e0
mov ecx, dword [esi + 0xc]
mov eax, dword [eax]
mov eax, dword [eax + 0x70]
cmp eax, dword [ecx + 4]
jne 0x1008fad5
mov ecx, edi
call fcn.1007d3e0
mov eax, dword [eax]
dec dword [eax + 0x70]
mov esi, dword [0x1023fc7c]
mov ecx, edi
call fcn.1007d3e0
mov ecx, dword [esi + 0xc]
mov eax, dword [eax]
movss xmm0, dword [eax + 0x6c]
ucomiss xmm0, dword [ecx + 0x10]
lahf
test ah, 0x44
jp 0x1008fb22
mov eax, dword [0x1023fc7c]
mov ecx, edi
mov eax, dword [eax + 0xc]
movss xmm0, dword [eax + 0x20]
movss dword [esp + 0x28], xmm0
call fcn.1007d3e0
movss xmm0, dword [esp + 0x28]
mov eax, dword [eax]
addss xmm0, dword [eax + 0x6c]
movss dword [eax + 0x6c], xmm0
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x380]
call eax
mov eax, dword [0x1023fc7c]
movss xmm0, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
inc edx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], edx
movss dword [eax + 0x10], xmm0
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
inc eax
cmp edx, eax
jle 0x1008f7a0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x18], eax
mov ecx, eax
mov eax, dword [0x10245020]
cmp eax, dword [ecx + 4]
jle 0x1008fbc0
push 0x10245020
call fcn.101b57fd
add esp, 4
cmp dword [0x10245020], 0xffffffff
jne 0x1008fbbc
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_iEFlags
mov ecx, eax
call fcn.1008ca10
push 0x10245020
mov dword [0x10241cf0], eax
call fcn.101b57ac
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, dword [0x10241cf0]
and dword [eax + edi], 0xffffefff
mov eax, dword [esi + 0x3e9c]
movq xmm0, qword [esi + 0x3e94]
mov dword [esp + 0x40], eax
mov eax, dword [0x10241d28]
movq qword [esp + 0x20], xmm0
cmp eax, dword [ecx + 4]
jle 0x1008fc38
push 0x10241d28
call fcn.101b57fd
add esp, 4
cmp dword [0x10241d28], 0xffffffff
jne 0x1008fc2e
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_vecAbsVelocity
mov ecx, eax
call fcn.1008ca10
push 0x10241d28
mov dword [0x10248028], eax
call fcn.101b57ac
add esp, 4
mov ecx, dword [esp + 0x18]
movq xmm0, qword [esp + 0x20]
mov eax, dword [0x10248028]
mov edx, dword [esp + 0x40]
movq qword [eax + edi], xmm0
mov dword [eax + edi + 8], edx
movss xmm0, dword [esi + 0x3ee4]
mov eax, dword [0x1024802c]
movss dword [esp + 0x20], xmm0
cmp eax, dword [ecx + 4]
jle 0x1008fca9
push 0x1024802c
call fcn.101b57fd
add esp, 4
cmp dword [0x1024802c], 0xffffffff
jne 0x1008fca3
mov edx, 0xc60bf9f2
mov ecx, 0x10203e6d
call fcn.1007d240
mov ecx, eax
call fcn.100cef40
push 0x1024802c
mov dword [0x10241d00], eax
call fcn.101b57ac
add esp, 4
movss xmm0, dword [esp + 0x20]
mov eax, dword [0x10241d00]
movss dword [eax + edi], xmm0
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x380]
call eax
push esi
lea ecx, [esp + 0x84]
mov byte [0x1024b0c4], 0
call fcn.10090870
push esi
lea ecx, [esp + 0x3f8c]
call fcn.10090870
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x1008fd47
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
je 0x1008fd47
cmp dword [esp + 0x7e44], 0
jle 0x1008fd47
cmp dword [0x10359d70], 0
je 0x1008fd47
mov edx, edi
lea ecx, [esp + 0x3f88]
call fcn.100a8f10
mov eax, 0x3ef0
call fcn.101b60c0
lea eax, [esp + 0x3f70]
mov ecx, esp
push eax
call fcn.10090870
mov edx, edi
lea ecx, [esp + 0x7e78]
call fcn.100a8610
lea ecx, [esp + 0x7dd4]
call fcn.1002bf20
lea ecx, [esp + 0x4810]
call fcn.10090bf0
mov eax, dword [esp + 0x4810]
push 8
push eax
mov dword [esp + 0x4818], 0
call fcn.101b5563
add esp, 8
lea ecx, [esp + 0x3ecc]
call fcn.1002bf20
lea ecx, [esp + 0x908]
call fcn.10090bf0
mov eax, dword [esp + 0x908]
push 8
push eax
mov dword [esp + 0x910], 0
call fcn.101b5563
mov eax, dword [esp + 0x18]
add esp, 8
mov ecx, dword [esp + 0x14]
mov edx, dword [0x102416fc]
mov eax, dword [ecx + eax*4]
cmp edx, dword [eax + 4]
jle 0x1008fe10
push 0x102416fc
call fcn.101b57fd
mov edx, dword [0x102416fc]
add esp, 4
cmp edx, 0xffffffff
jne 0x1008fe10
mov edx, 0xc60bf9f2
mov ecx, 0x10203571
call fcn.1007d240
mov ecx, eax
call fcn.100cef40
push 0x102416fc
mov dword [0x102415d4], eax
call fcn.101b57ac
mov edx, dword [0x102416fc]
add esp, 4
mov eax, dword [0x1023fc7c]
mov ecx, dword [eax + 0xc]
mov eax, dword [0x102415d4]
movss xmm0, dword [ecx + 0x20]
movss xmm1, dword [eax + edi]
subss xmm1, dword [esi + 0x3eb4]
comiss xmm0, xmm1
ja 0x1008fe89
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + ecx*4]
mov esi, dword [esp + 0x1c]
cmp edx, dword [eax + 4]
jle 0x1008fe89
push 0x102416fc
call fcn.101b57fd
add esp, 4
cmp dword [0x102416fc], 0xffffffff
jne 0x1008fe89
mov edx, 0xc60bf9f2
mov ecx, 0x10203571
call fcn.1007d240
mov ecx, eax
call fcn.100cef40
push 0x102416fc
mov dword [0x102415d4], eax
call fcn.101b57ac
add esp, 4
mov ecx, edi
call fcn.1007d610
test byte [eax], 1
jne 0x100901dd
mov ecx, edi
call fcn.1007d3e0
mov eax, dword [eax]
mov ecx, dword [eax + 0x60]
mov edx, dword [ecx + 0x2990]
add edx, 0xe0
je 0x100901dd
mov eax, dword [0x1023fc7c]
push dword [edx + 0x18]
mov eax, dword [eax + 0x30]
call eax
mov dword [esp + 0x40], eax
cmp eax, 0x3da
je 0x1008feda
cmp eax, 0x3d9
jne 0x100901dd
mov ecx, dword [edi + 0x299c]
lea eax, [esp + 0x3f88]
mov esi, dword [esp + 0x34]
lea edi, [ecx*8]
mov esi, dword [esi + 0x2990]
sub edi, ecx
shl edi, 3
push edi
push esi
push eax
call fcn.101b6a90
mov eax, dword [esp + 0x28]
add esp, 0xc
add eax, 0x3b74
push edi
push eax
push esi
call fcn.101b6a90
mov edi, dword [esp + 0x40]
add esp, 0xc
mov ecx, edi
call fcn.1007d3e0
mov eax, dword [eax]
mov ecx, dword [eax + 0x60]
mov edx, dword [ecx + 0x2990]
add edx, 0xe0
je 0x1008ff4b
mov eax, dword [0x1023fc7c]
push dword [edx + 0x18]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
jmp 0x1008ff4e
or esi, 0xffffffff
mov eax, dword [edi + 0x299c]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [esp + 0x3f88]
shl ecx, 3
push ecx
push eax
push dword [edi + 0x2990]
call fcn.101b6a90
add esp, 0xc
cmp esi, dword [esp + 0x40]
je 0x1008ff8a
mov ecx, edi
call fcn.1007d3e0
mov esi, dword [esp + 0x1c]
jmp 0x1008ffac
mov esi, dword [esp + 0x1c]
movss xmm0, dword [esi + 0x3c80]
comiss xmm0, dword [esi + 0x39a8]
movss dword [esp + 0x30], xmm0
jbe 0x1008ffc1
mov ecx, edi
call fcn.1007d3e0
mov eax, dword [eax]
xorps xmm0, xmm0
movss dword [esp + 0x30], xmm0
mov dword [eax + 0x110], 0
mov ecx, edi
call fcn.1007d3e0
movss xmm2, dword [esi + 0x39a4]
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov edx, dword [eax]
cmp byte [edx + 0x128], cl
jne 0x10090044
xorps xmm4, xmm4
comiss xmm4, xmm2
jae 0x10090044
movss xmm3, dword [esi + 0x39a8]
movss xmm1, dword [esp + 0x30]
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jnp 0x10090034
movss xmm0, dword [edx + 0x74]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jp 0x1009001a
mov eax, dword [0x1023fc7c]
mov eax, dword [eax + 0xc]
movss xmm0, dword [eax + 0x20]
comiss xmm3, xmm1
jbe 0x10090034
mulss xmm2, xmm0
movaps xmm0, xmm2
inc ecx
addss xmm1, xmm0
comiss xmm3, xmm1
ja 0x10090023
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x10090044
movaps xmm0, xmm3
comiss xmm0, dword [0x10214450]
jb 0x1009004d
mov esi, dword [esi + 0x3ebc]
inc esi
jmp 0x10090051
mov esi, dword [esp + 0x20]
mov ecx, edi
call fcn.1007d3e0
movd xmm0, esi
mov ecx, edi
cvtdq2ps xmm0, xmm0
mov eax, dword [eax]
mulss xmm0, dword [eax + 0x74]
movss dword [esp + 0x40], xmm0
call fcn.1007d3e0
movss xmm0, dword [esp + 0x40]
mov ecx, edi
mov eax, dword [eax]
movss dword [eax + 0x110], xmm0
call fcn.1007d3e0
mov ecx, edi
mov dword [esp + 0x48], 0x3f800000
mov dword [esp + 0x3c], 0
mov dword [esp + 0x28], 0x3f800000
mov eax, dword [eax]
add eax, 0x228
mov dword [esp + 0x40], 0
mov dword [esp + 0x18], eax
call fcn.1007d3e0
xorps xmm3, xmm3
movss xmm2, dword [0x10214570]
lea ecx, [esp + 0x40]
lea esi, [esp + 0x48]
mov eax, dword [eax]
movss xmm0, dword [eax + 0x110]
lea eax, [esp + 0x20]
subss xmm0, dword [0x10214414]
divss xmm0, dword [0x10214424]
comiss xmm3, xmm0
movss dword [esp + 0x20], xmm0
cmovbe ecx, eax
lea eax, [esp + 0x28]
comiss xmm0, dword [0x1021445c]
cmovbe eax, ecx
lea ecx, [esp + 0x40]
movss xmm1, dword [eax]
lea eax, [esp + 0x3c]
movaps xmm0, xmm1
addss xmm0, xmm1
mulss xmm1, xmm1
subss xmm2, xmm0
mulss xmm2, xmm1
comiss xmm3, xmm2
movss dword [esp + 0x40], xmm2
cmovbe eax, ecx
comiss xmm2, dword [0x1021445c]
cmovbe esi, eax
mov eax, dword [esp + 0x18]
cmp byte [eax], 0
jne 0x100901a3
mov edi, dword [eax + 8]
mov eax, dword [0x1023fc88]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
call eax
mov eax, dword [esp + 0x18]
push edi
mov dword [eax + 8], edi
mov eax, dword [0x1023fc7c]
mov edi, dword [esp + 0x38]
mov eax, dword [eax + 0x164]
push dword [edi + 0x2950]
call eax
mov ecx, dword [esp + 0x18]
mov dword [ecx + 4], eax
cmp eax, 0xffffffff
je 0x10090188
mov byte [ecx], 1
mov eax, dword [0x1023fc88]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x88]
call eax
mov eax, dword [esp + 0x18]
cmp byte [eax], 0
je 0x100901d9
mov eax, dword [0x1023fc88]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
call eax
mov eax, dword [esp + 0x18]
mov ecx, edi
movss xmm1, dword [esi]
push dword [eax + 4]
call fcn.1008cab0
mov eax, dword [0x1023fc88]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x88]
call eax
mov esi, dword [esp + 0x1c]
mov eax, dword [edi + 0x299c]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [esp + 0x7e78]
shl ecx, 3
push ecx
push eax
push dword [edi + 0x2990]
call fcn.101b6a90
add esp, 0xc
cmp byte [esp + 0x2f], 0
je 0x100902f3
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x102416fc]
cmp eax, dword [ecx + 4]
jle 0x10090267
push 0x102416fc
call fcn.101b57fd
add esp, 4
cmp dword [0x102416fc], 0xffffffff
jne 0x10090267
mov edx, 0xc60bf9f2
mov ecx, 0x10203571
call fcn.1007d240
mov ecx, eax
call fcn.100cef40
push 0x102416fc
mov dword [0x102415d4], eax
call fcn.101b57ac
add esp, 4
mov eax, dword [0x102415d4]
mov ecx, edi
mov eax, dword [eax + edi]
mov dword [esi + 0x3eb4], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov ecx, eax
call edx
mov ecx, edi
movq xmm0, qword [eax]
movq qword [esi + 0x3e58], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 0x3e60], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
sub esp, 8
mov ecx, edi
movq xmm0, qword [eax]
movq qword [esi + 0x3e64], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 0x3e6c], eax
mov eax, dword [0x1023fc7c]
mov eax, dword [eax + 0xc]
movss xmm0, dword [eax + 0x10]
lea eax, [esi + 0x89c]
movss dword [esp + 4], xmm0
push dword [edi + 0x2920]
push eax
call fcn.1008cd70
mov byte [esi + 0x3ec4], al
mov eax, dword [0x1023fc7c]
movss xmm0, dword [esp + 0x54]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
movss dword [eax + 0x14], xmm0
mov eax, dword [0x1023fc7c]
movss xmm0, dword [esp + 0x58]
mov eax, dword [eax + 0xc]
movss dword [eax + 0x10], xmm0
mov eax, dword [esp + 0x10]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x1024b0a0]
cmp eax, dword [ecx + 4]
jle 0x1009036e
push 0x1024b0a0
call fcn.101b57fd
add esp, 4
cmp dword [0x1024b0a0], 0xffffffff
jne 0x1009036e
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_fEffects
mov ecx, eax
call fcn.1008ca10
push 0x1024b0a0
mov dword [0x1024b0b4], eax
call fcn.101b57ac
add esp, 4
mov eax, dword [0x1024b0b4]
mov ecx, dword [esp + 0x3f70]
mov dword [eax + edi], ecx
mov eax, dword [0x1023fc80]
cmp byte [eax + 0xf24], 0
je 0x1009081b
mov eax, dword [0x10241574]
mov ecx, dword [eax]
mov eax, dword [0x1023fc7c]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x34]
call eax
test al, al
je 0x1009081b
cmp byte [esp + 0x2f], 0
je 0x1009080d
cmp dword [esi + 0x898], 0
je 0x1009044b
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [0x102416fc]
mov ecx, dword [edi + edx*4]
mov edi, dword [esp + 0x34]
cmp eax, dword [ecx + 4]
jle 0x1009041d
push 0x102416fc
call fcn.101b57fd
add esp, 4
cmp dword [0x102416fc], 0xffffffff
jne 0x1009041d
mov edx, 0xc60bf9f2
mov ecx, 0x10203571
call fcn.1007d240
mov ecx, eax
call fcn.100cef40
push 0x102416fc
mov dword [0x102415d4], eax
call fcn.101b57ac
add esp, 4
mov ecx, dword [esi + 0x890]
mov eax, dword [esi + 0x88c]
dec ecx
and ecx, dword [esi + 0x894]
mov eax, dword [eax + ecx*4]
movss xmm0, dword [eax + 0x58]
mov eax, dword [0x102415d4]
ucomiss xmm0, dword [eax + edi]
lahf
test ah, 0x44
jnp 0x1009082f
push 8
mov dword [esp + 0x3f8c], 0
mov dword [esp + 0x3f90], 0
mov dword [esp + 0x3f94], 0
mov dword [esp + 0x3f98], 0
mov dword [esp + 0x3f9c], 0
call fcn.101b5576
add esp, 4
lea ecx, [esp + 0x3f88]
mov dword [eax + 4], 0
mov dword [esp + 0x3f88], eax
push 0x54
mov dword [eax], ecx
lea eax, [esp + 0x3fa0]
push 0
push eax
call fcn.101b7010
movq xmm0, qword [esi + 0x3e70]
add esp, 0xc
mov eax, dword [esi + 0x3e78]
mov dword [esp + 0x3fa8], eax
mov eax, dword [esi + 0x3e90]
movq qword [esp + 0x3fa0], xmm0
movq xmm0, qword [esi + 0x3e88]
mov dword [esp + 0x3fc4], eax
mov eax, dword [esi + 0x3e60]
movq qword [esp + 0x3fbc], xmm0
movss xmm0, dword [esi + 0x3eb4]
mov dword [esp + 0x3fd0], eax
mov eax, dword [esi + 0x3e6c]
mov dword [esp + 0x3fdc], eax
lea eax, [esi + 0x89c]
movss dword [esp + 0x3fe0], xmm0
movq xmm0, qword [esi + 0x3e58]
push 0x3000
push eax
movq qword [esp + 0x3fd0], xmm0
lea eax, [esp + 0x3ff8]
movq xmm0, qword [esi + 0x3e64]
push eax
mov dword [esp + 0x6ffc], 0
mov byte [esp + 0x7000], 0
movq qword [esp + 0x3fe0], xmm0
call fcn.101b6a90
movaps xmm0, xmmword [0x102149d0]
lea eax, [esp + 0x8160]
lea ecx, [esp + 0x8178]
mov dword [esp + 0x3f7c], eax
add esp, 0xc
mov dword [esp + 0x8164], 6
mov dword [esp + 0x8168], 5
mov dword [esp + 0x3f70], eax
movups xmmword [esp + 0x8154], xmm0
cmp eax, ecx
je 0x10090699
mov edx, dword [esp + 0x3f98]
mov edi, eax
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [esp + 0x3f90]
lea eax, [eax + eax*2]
add eax, eax
movss xmm0, dword [esp + eax*8 + 0x3ffc]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + eax*8 + 0x400c]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + eax*8 + 0x401c]
lea eax, [edx + 1]
movss dword [esp + 0x7c], xmm0
cmp ecx, eax
ja 0x10090620
push ecx
lea ecx, [esp + 0x3f8c]
call fcn.10090f00
mov edx, dword [esp + 0x3f98]
mov ecx, dword [esp + 0x3f90]
mov eax, dword [esp + 0x3f94]
dec ecx
and eax, ecx
mov dword [esp + 0x3f94], eax
add eax, edx
and eax, ecx
mov ecx, dword [esp + 0x3f8c]
mov dword [esp + 0x20], eax
cmp dword [ecx + eax*4], 0
jne 0x10090667
push 0xc
call fcn.101b5576
mov ecx, dword [esp + 0x3f90]
add esp, 4
mov edx, dword [esp + 0x20]
mov dword [ecx + edx*4], eax
mov eax, edx
mov ecx, dword [esp + 0x3f8c]
mov ecx, dword [ecx + eax*4]
add edi, 4
movq xmm0, qword [esp + 0x74]
mov eax, dword [esp + 0x7c]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x3f98]
inc edx
mov dword [esp + 0x3f98], edx
cmp edi, esi
jne 0x100905c3
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x898]
lea edx, [esi + 0x888]
inc eax
cmp dword [edx + 8], eax
ja 0x100906b9
push ecx
mov ecx, edx
call fcn.10090d60
lea edx, [esi + 0x888]
mov eax, dword [edx + 8]
mov edi, dword [edx + 0xc]
lea ecx, [eax - 1]
and edi, ecx
mov dword [edx + 0xc], edi
cmove edi, eax
mov eax, edi
mov dword [esp + 0x30], edi
dec eax
mov edi, eax
mov dword [esp + 0x30], eax
mov eax, dword [edx + 4]
and edi, ecx
mov dword [esp + 0x20], edi
cmp dword [eax + edi*4], 0
mov edi, dword [esp + 0x34]
jne 0x1009071c
push 0x3093
call fcn.101b5576
add esp, 4
test eax, eax
je 0x10090868
mov edi, dword [esp + 0x20]
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
lea edx, [esi + 0x888]
mov dword [ecx - 4], eax
mov eax, dword [edx + 4]
mov dword [eax + edi*4], ecx
mov edi, dword [esp + 0x34]
mov ecx, dword [edx + 4]
lea eax, [esp + 0x3f88]
push eax
mov eax, dword [esp + 0x24]
mov ecx, dword [ecx + eax*4]
call fcn.100911b0
mov eax, dword [esp + 0x30]
inc dword [esi + 0x898]
mov dword [esi + 0x894], eax
mov ecx, dword [esi + 0x898]
cmp ecx, 3
jbe 0x100907e4
mov edx, ecx
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [0x1023fc7c]
movss xmm0, dword [esp + 0x5c]
mov eax, dword [eax + 0xc]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x102143ec]
cvttss2si eax, xmm0
cmp ecx, eax
jbe 0x100907e4
mov ecx, dword [esp + 0x1c]
dec edx
mov esi, dword [esi + 0x894]
add esi, edx
mov eax, dword [ecx + 0x890]
dec eax
and esi, eax
mov eax, dword [ecx + 0x88c]
mov esi, dword [eax + esi*4]
mov ecx, esi
call fcn.10090cc0
mov eax, dword [esi]
push 8
push eax
mov dword [esi], 0
call fcn.101b5563
mov esi, dword [esp + 0x24]
add esp, 8
mov ecx, dword [esi + 0x898]
sub ecx, 1
mov dword [esi + 0x898], ecx
je 0x100907da
mov edx, ecx
cmp ecx, 3
ja 0x10090760
jmp 0x100907e4
mov dword [esi + 0x894], 0
lea ecx, [esp + 0x3f88]
call fcn.10090cc0
mov eax, dword [esp + 0x3f88]
push 8
push eax
mov dword [esp + 0x3f90], 0
call fcn.101b5563
add esp, 8
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x380]
call eax
jmp 0x1009082f
lea ecx, [esi + 0x888]
call fcn.10090bf0
jmp 0x1009082f
mov ecx, esi
call fcn.1008d250
mov eax, dword [0x1023fc88]
mov esi, dword [esp + 0x4c]
inc esi
mov dword [esp + 0x4c], esi
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
cmp esi, eax
jle 0x1008e790
mov ecx, dword [esp + 0x816c]
pop edi
pop esi
xor ecx, esp
call fcn.101b526a
mov esp, ebp
pop ebp
ret
call fcn.10090be0
call fcn.101ba696
int3