Function at 0x1008b560
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x39d8
call fcn.1018f0d0
mov eax, dword [0x101f90c0]
xor eax, esp
mov dword [esp + 0x39d4], eax
mov eax, dword [0x1021551c]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x30], eax
mov ecx, dword fs:[0x2c]
mov dword [esp + 0x34], ecx
mov edx, dword [ecx + eax*4]
mov eax, dword [0x103db5a4]
cmp eax, dword [edx + 4]
jle 0x1008b64f
push 0x103db5a4
call fcn.1018e80d
add esp, 4
cmp dword [0x103db5a4], 0xffffffff
jne 0x1008b64f
mov eax, dword [0x10214410]
xor edx, edx
movq xmm0, qword [str.CGmTFT_L_:]
mov dword [esp + 0x14], edx
mov esi, dword [eax + 8]
mov ax, word [0x101dc704]
mov word [esp + 0x90], ax
mov al, byte [0x101dc706]
movq qword [esp + 0x88], xmm0
mov byte [esp + 0x92], al
nop dword [eax]
mov eax, 0x51eb851f
mul edx
shr edx, 4
movsx eax, dl
mov edx, dword [esp + 0x14]
mov cl, dl
imul eax, eax, 0x32
sub cl, al
add cl, 0x30
xor byte [esp + edx + 0x88], cl
inc edx
mov dword [esp + 0x14], edx
cmp edx, 0xb
jl 0x1008b600
mov eax, dword [esi]
lea ecx, [esp + 0x88]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x3c]
call eax
push 0x103db5a4
mov dword [0x103db5b8], eax
call fcn.1018e7bc
add esp, 4
mov eax, dword [0x10214408]
xorps xmm0, xmm0
movss xmm1, dword [0x101eb678]
cmp byte [eax + 0xe30], 0
je 0x1008b67d
mov ecx, dword [eax + 0xe34]
test ecx, ecx
jle 0x1008b67d
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movd xmm2, dword [eax + 0xe2c]
cvtdq2ps xmm2, xmm2
divss xmm2, xmm1
addss xmm2, xmm0
movss dword [esp + 0x5c], xmm2
cmp edi, 4
jne 0x1008b6c5
mov eax, dword [0x10215cf4]
cmp dword [eax], 0
jne 0x1008b6d9
mov esi, 0x1021f940
nop word [eax + eax]
mov ecx, esi
call fcn.1008a250
add esi, 0x3644
cmp esi, 0x102fc084
jne 0x1008b6b0
pop edi
pop esi
mov ecx, dword [esp + 0x39d4]
xor ecx, esp
call fcn.1018e27a
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10214410]
mov esi, 1
mov dword [esp + 0x54], esi
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
cmp eax, esi
jl 0x1008b6c5
mov eax, dword [0x10214410]
push esi
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
mov dword [esp + 0x2c], edi
cmp esi, 0x41
jae 0x1008cf4c
imul esi, esi, 0x3644
add esi, 0x1021f940
mov dword [esp + 0x20], esi
test edi, edi
je 0x1008cf11
mov eax, dword [0x10215cf4]
cmp edi, dword [eax]
je 0x1008cf11
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x1008cf11
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x1008cf11
movss xmm0, dword [edi + 0x103c0]
ucomiss xmm0, dword [esi + 0x3618]
lahf
test ah, 0x44
jnp 0x1008b7fe
mov ecx, esi
movss dword [esi + 0x3618], xmm0
call fcn.1008a250
push 0x2d8
lea eax, [esp + 0xa4]
push 0
push eax
call fcn.10190020
add esp, 0xc
lea edi, [esi + 0x32ec]
lea eax, [esp + 0xa0]
mov ecx, 0xb6
lea esi, [esp + 0xa0]
rep movsd dword es:[edi], dword [esi]
push 0x2d8
push 0
push eax
call fcn.10190020
mov edi, dword [esp + 0x2c]
lea esi, [esp + 0xac]
add esp, 0xc
mov ecx, 0xb6
add edi, 0x3014
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x2c]
mov dword [esi + 0x3620], 0
mov dword [esi + 0x3624], 0
mov eax, dword [edi + 0x299c]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [esp + 0x36e8]
shl ecx, 3
push ecx
push dword [edi + 0x2990]
push eax
call fcn.1018faa0
mov eax, dword [0x10214404]
add esp, 0xc
mov ecx, dword [eax + 0x10]
movss xmm0, dword [ecx + 0x14]
mov eax, dword [ecx + 0x20]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [ecx + 0x10]
mov dword [ecx + 0x14], eax
mov ecx, 0x1ceebdef
movss dword [esp + 0x50], xmm0
call fcn.100c68f0
mov ecx, dword [0x10214404]
mov eax, dword [eax + edi]
mov ecx, dword [ecx + 0x10]
mov dword [ecx + 0x10], eax
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov eax, dword [ecx + eax*4]
mov ecx, dword [0x1021f678]
cmp ecx, dword [eax + 4]
jle 0x1008b8c2
push 0x1021f678
call fcn.1018e80d
mov ecx, dword [0x1021f678]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1008b8c2
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_fEffects
mov ecx, eax
call fcn.10089b10
push 0x1021f678
mov dword [0x1021f68c], eax
call fcn.1018e7bc
mov ecx, dword [0x1021f678]
add esp, 4
mov eax, dword [0x1021f68c]
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + edi]
mov dword [esp + 0x88], eax
mov eax, dword [esi + edx*4]
mov esi, dword [esp + 0x20]
cmp ecx, dword [eax + 4]
jle 0x1008b925
push 0x1021f678
call fcn.1018e80d
add esp, 4
cmp dword [0x1021f678], 0xffffffff
jne 0x1008b925
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_fEffects
mov ecx, eax
call fcn.10089b10
push 0x1021f678
mov dword [0x1021f68c], eax
call fcn.1018e7bc
add esp, 4
mov eax, dword [0x1021f68c]
mov ecx, 0x1ceebdef
mov byte [esp + 0x27], 0
or dword [eax + edi], 8
movss xmm1, dword [esi + 0x361c]
call fcn.100c68f0
ucomiss xmm1, dword [eax + edi]
lahf
test ah, 0x44
jnp 0x1008c9d9
mov ecx, 0x1ceebdef
call fcn.100c68f0
movss xmm0, dword [eax + edi]
comiss xmm0, xmm1
jbe 0x1008c9d9
ucomiss xmm1, dword [0x101eb6e4]
mov byte [esp + 0x27], 1
lahf
test ah, 0x44
jp 0x1008b990
mov ecx, 0x1ceebdef
call fcn.100c68f0
mov eax, dword [eax + edi]
mov dword [esi + 0x361c], eax
mov eax, dword [edi + 0x299c]
add esi, 0x3014
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esp + 0x20]
shl ecx, 3
add eax, 0x32ec
push ecx
push esi
push eax
call fcn.1018faa0
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.1018faa0
mov esi, dword [esp + 0x2c]
add esp, 0xc
mov ecx, 0x1ceebdef
movss xmm1, dword [esi + 0x361c]
call fcn.100c68f0
mov ecx, 0x1ceebdef
movss xmm6, dword [eax + edi]
subss xmm6, xmm1
andps xmm6, xmmword [0x101ebc30]
call fcn.100c68f0
ucomiss xmm1, dword [eax + edi]
lahf
test ah, 0x44
jnp 0x1008ba2f
mov eax, dword [0x10214404]
movaps xmm0, xmm6
mov eax, dword [eax + 0x10]
divss xmm0, dword [eax + 0x20]
cvttss2si eax, xmm0
dec eax
jmp 0x1008ba31
xor eax, eax
lea edi, [esi + 0x3620]
mov dword [edi], eax
call fcn.10182cf0
mov ecx, dword [edi]
lea edx, [esp + 0x18]
test ecx, ecx
mov dword [esp + 0x18], 0
xorps xmm2, xmm2
lea esi, [eax + 1]
cmovns edx, edi
cmp esi, ecx
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x28]
cmovge eax, edx
mov eax, dword [eax]
mov dword [edi], eax
movss xmm7, dword [esi + 0x35dc]
ucomiss xmm7, xmm2
lahf
test ah, 0x44
jp 0x1008baa3
movss xmm0, dword [esi + 0x35e0]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x1008baa3
movss xmm0, dword [esi + 0x35e4]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1008bb3f
mov ecx, 0x1ceebdef
call fcn.100c68f0
mov edi, dword [esp + 0x2c]
ucomiss xmm1, dword [eax + edi]
lahf
test ah, 0x44
jnp 0x1008bb43
movq xmm0, qword [esi + 0x3600]
mov ecx, 0xec5d89e5
mov eax, dword [esi + 0x3608]
movq qword [esi + 0x360c], xmm0
mov dword [esi + 0x3614], eax
call fcn.100c68f0
movss xmm1, dword [0x101eb334]
xorps xmm2, xmm2
divss xmm1, xmm6
movss xmm0, dword [eax + edi]
movss xmm4, dword [eax + edi + 4]
subss xmm0, xmm7
movss xmm5, dword [eax + edi + 8]
mulss xmm0, xmm1
movss dword [esi + 0x3600], xmm0
subss xmm4, dword [esi + 0x35e0]
mulss xmm4, xmm1
movss dword [esi + 0x3604], xmm4
subss xmm5, dword [esi + 0x35e4]
mulss xmm5, xmm1
movss dword [esi + 0x3608], xmm5
jmp 0x1008bb43
mov edi, dword [esp + 0x2c]
mov ecx, 0x747d37fc
call fcn.100c68f0
mov ecx, 0x394634f0
mov eax, dword [eax + edi - 0x14]
mov eax, dword [eax + 0x9c]
mov dword [esi + 0x3634], eax
call fcn.100c68f0
mov ecx, 0x1ceebdef
mov eax, dword [eax + edi]
mov dword [esi + 0x3640], eax
call fcn.100c68f0
movss xmm0, dword [esi + 0x361c]
mov ecx, 0xbbe78fae
ucomiss xmm0, dword [eax + edi]
lahf
test ah, 0x44
jp 0x1008bbe4
call fcn.100c68f0
mov ecx, 0xec5d89e5
movss xmm0, dword [eax + edi]
movss dword [esi + 0x3638], xmm0
movss dword [esi + 0x363c], xmm0
call fcn.100c68f0
movq xmm0, qword [eax + edi]
movq qword [esi + 0x35dc], xmm0
mov eax, dword [eax + edi + 8]
mov dword [esi + 0x35e4], eax
movq xmm0, qword [esi + 0x35dc]
movq qword [esi + 0x35e8], xmm0
mov dword [esi + 0x35f0], eax
jmp 0x1008bc3b
mov eax, dword [esi + 0x3638]
mov dword [esi + 0x363c], eax
call fcn.100c68f0
movq xmm0, qword [esi + 0x35dc]
mov ecx, 0xec5d89e5
mov eax, dword [eax + edi]
mov dword [esi + 0x3638], eax
mov eax, dword [esi + 0x35e4]
movq qword [esi + 0x35e8], xmm0
mov dword [esi + 0x35f0], eax
call fcn.100c68f0
movq xmm0, qword [eax + edi]
movq qword [esi + 0x35dc], xmm0
mov eax, dword [eax + edi + 8]
mov dword [esi + 0x35e4], eax
mov ecx, 0x394634f0
call fcn.100c68f0
test byte [eax + edi], 1
je 0x1008bc5a
mov dword [esi + 0x3608], 0
jmp 0x1008be59
movss xmm1, dword [0x101eb334]
subss xmm1, dword [esi + 0x329c]
comiss xmm1, xmm2
jbe 0x1008be04
movss xmm0, dword [esi + 0x357c]
ucomiss xmm0, dword [esi + 0x32a4]
lahf
test ah, 0x44
jp 0x1008be04
mov eax, dword [esi + 0x356c]
cmp eax, dword [esi + 0x3294]
jne 0x1008be04
divss xmm1, dword [0x101eb430]
addss xmm1, dword [0x101eb2cc]
comiss xmm1, xmm2
movss dword [esp + 0x28], xmm1
jbe 0x1008be04
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x430]
call eax
test eax, eax
je 0x1008bd0d
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x6e8]
mov dword [esp + 0x18], ecx
mov ecx, eax
call dword [esp + 0x18]
sub esp, 8
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
mov dword [esp + 4], 0x3a83126f
movss dword [esp], xmm0
call fcn.1019bbe8
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
add esp, 8
jmp 0x1008bd15
movss xmm0, dword [0x101eb610]
mulss xmm0, dword [esp + 0x28]
comiss xmm0, dword [0x101eb1d8]
movss dword [esp + 0x3c], xmm0
jbe 0x1008be04
movss xmm0, dword [esi + 0x3600]
movss xmm1, dword [esi + 0x3604]
movaps xmm2, xmm0
mulss xmm2, xmm0
movss dword [esp + 0x28], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x38], xmm1
xorps xmm1, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
movss dword [esp + 0x18], xmm2
ucomisd xmm1, xmm0
ja 0x1008bd74
sqrtsd xmm0, xmm0
jmp 0x1008bd79
call fcn.101b6630
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [0x101eb1d8]
jbe 0x1008be04
movss xmm1, dword [esi + 0x3608]
movaps xmm0, xmm1
movss dword [esp + 0x4c], xmm1
mulss xmm0, xmm1
xorps xmm1, xmm1
addss xmm0, dword [esp + 0x18]
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1008bdb3
sqrtsd xmm0, xmm0
jmp 0x1008bdb8
call fcn.101b6630
movss xmm1, dword [esp + 0x28]
cvtsd2ss xmm0, xmm0
movss xmm2, dword [esp + 0x3c]
divss xmm1, xmm0
mulss xmm1, xmm2
movss dword [esi + 0x3600], xmm1
movss xmm1, dword [esp + 0x38]
divss xmm1, xmm0
mulss xmm1, xmm2
movss dword [esi + 0x3604], xmm1
movss xmm1, dword [esp + 0x4c]
divss xmm1, xmm0
mulss xmm1, xmm2
movss dword [esi + 0x3608], xmm1
mov ecx, dword [0x103db5b8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x18], eax
call dword [esp + 0x18]
mov eax, dword [0x10214404]
movd xmm1, dword [esi + 0x3620]
cvtdq2ps xmm1, xmm1
mov eax, dword [eax + 0x10]
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
mulss xmm0, dword [0x101eb2c4]
mulss xmm1, dword [eax + 0x20]
mulss xmm1, xmm0
movss xmm0, dword [esi + 0x3608]
subss xmm0, xmm1
movss dword [esi + 0x3608], xmm0
mov ecx, 0x394634f0
call fcn.100c68f0
test byte [eax + edi], 1
je 0x1008bfab
movss xmm0, dword [esi + 0x329c]
comiss xmm0, dword [0x101eb1d8]
jbe 0x1008bfab
movss xmm3, dword [0x101eb334]
comiss xmm3, xmm0
jbe 0x1008bfab
movss xmm0, dword [esi + 0x32a8]
comiss xmm0, dword [esi + 0x3580]
jbe 0x1008bfab
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x430]
call eax
test eax, eax
je 0x1008bef8
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x6e8]
mov dword [esp + 0x18], ecx
mov ecx, eax
call dword [esp + 0x18]
sub esp, 8
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
mov dword [esp + 4], 0x3a83126f
movss dword [esp], xmm0
call fcn.1019bbe8
fstp dword [esp + 0x20]
movss xmm1, dword [esp + 0x20]
add esp, 8
jmp 0x1008bf00
movss xmm1, dword [0x101eb610]
movss xmm3, dword [0x101eb334]
xorps xmm2, xmm2
movaps xmm0, xmm3
subss xmm0, dword [esi + 0x329c]
mulss xmm0, dword [0x101eb2b4]
comiss xmm0, xmm2
jbe 0x1008bfab
comiss xmm3, xmm0
jbe 0x1008bfab
addss xmm0, dword [0x101eb2cc]
mulss xmm0, xmm1
comiss xmm0, xmm2
movss dword [esp + 0x18], xmm0
jbe 0x1008bfab
mov ecx, 0xad2bbff4
call fcn.100c68f0
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 0x1008bf76
sqrtsd xmm0, xmm0
jmp 0x1008bf7b
call fcn.101b6630
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
divss xmm1, dword [esp + 0x18]
movaps xmm0, xmm1
mulss xmm1, dword [esi + 0x3604]
mulss xmm0, dword [esi + 0x3600]
movss dword [esi + 0x3604], xmm1
movss dword [esi + 0x3600], xmm0
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x318c]
jae 0x1008bfc0
comiss xmm0, dword [esi + 0x3184]
jb 0x1008bfe4
mov ecx, 0x394634f0
call fcn.100c68f0
test byte [eax + edi], 1
je 0x1008bfe4
mov dword [esi + 0x3600], 0
mov dword [esi + 0x3604], 0
push esi
lea ecx, [esp + 0xa4]
call fcn.1008cf60
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x1008c03f
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
je 0x1008c03f
cmp dword [esp + 0x36c0], 0
jle 0x1008c03f
cmp dword [0x102fc130], 0
lea ecx, [esp + 0xa0]
je 0x1008c046
mov edx, edi
call fcn.100a19f0
mov edx, edi
lea ecx, [esp + 0xa0]
call fcn.100a12d0
lea ecx, [esp + 0xa0]
call fcn.1008d1b0
mov eax, dword [esp + 0xa0]
push 8
push eax
mov dword [esp + 0xa8], 0
call fcn.1018e573
mov eax, dword [esi + 0x3620]
add esp, 8
mov byte [0x1021f69c], 1
test eax, eax
jg 0x1008c1e4
mov ecx, 0x747d37fc
call fcn.100c68f0
mov ecx, dword [eax + edi - 0x14]
mov eax, dword [0x10214404]
mov ecx, dword [ecx + 0x70]
mov edx, dword [eax + 0x10]
cmp ecx, dword [edx + 4]
jne 0x1008c0b1
mov ecx, 0x747d37fc
call fcn.100c68f0
mov eax, dword [eax + edi - 0x14]
dec dword [eax + 0x70]
mov eax, dword [0x10214404]
mov eax, dword [eax + 0x10]
mov ecx, 0x747d37fc
mov dword [esp + 0x14], eax
call fcn.100c68f0
mov eax, dword [eax + edi - 0x14]
movss xmm0, dword [eax + 0x6c]
mov eax, dword [esp + 0x14]
ucomiss xmm0, dword [eax + 0x10]
lahf
test ah, 0x44
jp 0x1008c0fa
mov ecx, 0x747d37fc
call fcn.100c68f0
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + edi - 0x14]
movss xmm0, dword [ecx + 0x20]
addss xmm0, dword [eax + 0x6c]
movss dword [eax + 0x6c], xmm0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x14], eax
mov ecx, eax
mov eax, dword [0x102195f8]
cmp eax, dword [ecx + 4]
jle 0x1008c159
push 0x102195f8
call fcn.1018e80d
add esp, 4
cmp dword [0x102195f8], 0xffffffff
jne 0x1008c155
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_iEFlags
mov ecx, eax
call fcn.10089b10
push 0x102195f8
mov dword [0x102162c8], eax
call fcn.1018e7bc
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, dword [0x102162c8]
and dword [eax + edi], 0xffffefff
mov eax, dword [esi + 0x3608]
movq xmm0, qword [esi + 0x3600]
mov dword [esp + 0x18], eax
mov eax, dword [0x102162fc]
movq qword [esp + 0x40], xmm0
cmp eax, dword [ecx + 4]
jle 0x1008c1cd
push 0x102162fc
call fcn.1018e80d
add esp, 4
cmp dword [0x102162fc], 0xffffffff
jne 0x1008c1c7
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_vecAbsVelocity
mov ecx, eax
call fcn.10089b10
push 0x102162fc
mov dword [0x1021c600], eax
call fcn.1018e7bc
add esp, 4
movq xmm0, qword [esp + 0x40]
mov eax, dword [0x1021c600]
mov ecx, dword [esp + 0x18]
movq qword [eax + edi], xmm0
mov dword [eax + edi + 8], ecx
jmp 0x1008c5de
mov ecx, 1
inc eax
mov dword [esp + 0x18], ecx
cmp eax, ecx
jl 0x1008c4e6
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x4c], eax
nop word [eax + eax]
mov eax, dword [0x10214404]
movss xmm2, dword [esi + 0x361c]
movd xmm3, ecx
mov ecx, 0x1ceebdef
cvtdq2ps xmm3, xmm3
mov edi, dword [eax + 0x10]
mulss xmm3, dword [edi + 0x20]
addss xmm3, xmm2
call fcn.100c68f0
mov esi, eax
mov ecx, 0x1ceebdef
add esi, dword [esp + 0x2c]
call fcn.100c68f0
mov ecx, dword [esp + 0x2c]
movss xmm0, dword [esi]
subss xmm0, xmm2
mov esi, dword [esp + 0x4c]
movss xmm1, dword [eax + ecx]
subss xmm1, xmm3
divss xmm1, xmm0
movss xmm0, dword [0x101eb334]
subss xmm0, xmm1
movss dword [esp + 0x14], xmm0
movss xmm0, dword [edi + 0x10]
movss dword [edi + 0x10], xmm3
mov eax, dword [0x102195f8]
movss dword [esp + 0x40], xmm0
cmp eax, dword [esi + 4]
jle 0x1008c2d9
push 0x102195f8
call fcn.1018e80d
mov edi, dword [esp + 0x30]
add esp, 4
cmp dword [0x102195f8], 0xffffffff
jne 0x1008c2dd
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_iEFlags
mov ecx, eax
call fcn.10089b10
push 0x102195f8
mov dword [0x102162c8], eax
call fcn.1018e7bc
add esp, 4
jmp 0x1008c2dd
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
mov eax, dword [0x102162c8]
mov ecx, dword [esp + 0x4c]
and dword [eax + edi], 0xffffefff
movq xmm0, qword [esi + 0x360c]
mov eax, dword [esi + 0x3614]
movq qword [esp + 0x60], xmm0
movq xmm0, qword [esi + 0x3600]
movss xmm1, dword [esp + 0x60]
movss xmm2, dword [esp + 0x64]
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x3608]
movss xmm3, dword [esp + 0x68]
movq qword [esp + 0x94], xmm0
subss xmm1, dword [esp + 0x94]
subss xmm2, dword [esp + 0x98]
mov dword [esp + 0x9c], eax
subss xmm3, dword [esp + 0x9c]
mov eax, dword [0x102162fc]
mulss xmm1, dword [esp + 0x14]
mulss xmm2, dword [esp + 0x14]
mulss xmm3, dword [esp + 0x14]
addss xmm1, dword [esp + 0x94]
addss xmm2, dword [esp + 0x98]
addss xmm3, dword [esp + 0x9c]
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x28], xmm3
cmp eax, dword [ecx + 4]
jle 0x1008c3ef
push 0x102162fc
call fcn.1018e80d
add esp, 4
cmp dword [0x102162fc], 0xffffffff
jne 0x1008c3dd
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_vecAbsVelocity
mov ecx, eax
call fcn.10089b10
push 0x102162fc
mov dword [0x1021c600], eax
call fcn.1018e7bc
add esp, 4
movss xmm3, dword [esp + 0x28]
movss xmm2, dword [esp + 0x3c]
movss xmm1, dword [esp + 0x38]
mov eax, dword [0x1021c600]
mov ecx, 0xbbe78fae
movss dword [eax + edi], xmm1
movss dword [eax + edi + 4], xmm2
movss dword [eax + edi + 8], xmm3
movss xmm0, dword [esi + 0x3638]
movss xmm1, dword [esi + 0x363c]
subss xmm1, xmm0
mulss xmm1, dword [esp + 0x14]
addss xmm1, xmm0
call fcn.100c68f0
mov ecx, 0x747d37fc
movss dword [eax + edi], xmm1
call fcn.100c68f0
mov ecx, dword [eax + edi - 0x14]
mov eax, dword [0x10214404]
mov ecx, dword [ecx + 0x70]
mov edx, dword [eax + 0x10]
cmp ecx, dword [edx + 4]
jne 0x1008c466
mov ecx, 0x747d37fc
call fcn.100c68f0
mov eax, dword [eax + edi - 0x14]
dec dword [eax + 0x70]
mov eax, dword [0x10214404]
mov eax, dword [eax + 0x10]
mov ecx, 0x747d37fc
mov dword [esp + 0x28], eax
call fcn.100c68f0
mov eax, dword [eax + edi - 0x14]
movss xmm0, dword [eax + 0x6c]
mov eax, dword [esp + 0x28]
ucomiss xmm0, dword [eax + 0x10]
lahf
test ah, 0x44
jp 0x1008c4af
mov ecx, 0x747d37fc
call fcn.100c68f0
mov ecx, dword [esp + 0x28]
mov eax, dword [eax + edi - 0x14]
movss xmm0, dword [ecx + 0x20]
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 [0x10214404]
movss xmm0, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
inc ecx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x18], ecx
movss dword [eax + 0x10], xmm0
mov eax, dword [esi + 0x3620]
inc eax
cmp ecx, eax
jle 0x1008c210
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x14], eax
mov ecx, eax
mov eax, dword [0x102195f8]
cmp eax, dword [ecx + 4]
jle 0x1008c545
push 0x102195f8
call fcn.1018e80d
add esp, 4
cmp dword [0x102195f8], 0xffffffff
jne 0x1008c541
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_iEFlags
mov ecx, eax
call fcn.10089b10
push 0x102195f8
mov dword [0x102162c8], eax
call fcn.1018e7bc
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, dword [0x102162c8]
and dword [eax + edi], 0xffffefff
mov eax, dword [esi + 0x3608]
movq xmm0, qword [esi + 0x3600]
mov dword [esp + 0x40], eax
mov eax, dword [0x102162fc]
movq qword [esp + 0x18], xmm0
cmp eax, dword [ecx + 4]
jle 0x1008c5b9
push 0x102162fc
call fcn.1018e80d
add esp, 4
cmp dword [0x102162fc], 0xffffffff
jne 0x1008c5b3
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_vecAbsVelocity
mov ecx, eax
call fcn.10089b10
push 0x102162fc
mov dword [0x1021c600], eax
call fcn.1018e7bc
add esp, 4
movq xmm0, qword [esp + 0x18]
mov eax, dword [0x1021c600]
mov ecx, dword [esp + 0x40]
movq qword [eax + edi], xmm0
mov dword [eax + edi + 8], ecx
mov ecx, 0xbbe78fae
call fcn.100c68f0
mov ecx, dword [esi + 0x3638]
mov dword [eax + edi], ecx
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x380]
call eax
push esi
lea ecx, [esp + 0xa4]
mov byte [0x1021f69c], 0
call fcn.1008cf60
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x1008c64c
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
je 0x1008c64c
cmp dword [esp + 0x36c0], 0
jle 0x1008c64c
cmp dword [0x102fc130], 0
lea ecx, [esp + 0xa0]
je 0x1008c653
mov edx, edi
call fcn.100a19f0
mov edx, edi
lea ecx, [esp + 0xa0]
call fcn.100a12d0
lea ecx, [esp + 0xa0]
call fcn.1008d1b0
mov eax, dword [esp + 0xa0]
push 8
push eax
mov dword [esp + 0xa8], 0
call fcn.1018e573
add esp, 8
mov ecx, 0x394634f0
call fcn.100c68f0
test byte [eax + edi], 1
jne 0x1008c9d9
mov ecx, 0x747d37fc
call fcn.100c68f0
mov eax, dword [eax + edi - 0x14]
mov ecx, dword [eax + 0x60]
mov edx, dword [ecx + 0x2990]
add edx, 0xe0
je 0x1008c9d9
mov eax, dword [0x10214404]
push dword [edx + 0x18]
mov eax, dword [eax + 0x34]
call eax
mov dword [esp + 0x40], eax
cmp eax, 0x3da
je 0x1008c6cf
cmp eax, 0x3d9
jne 0x1008c9d9
mov ecx, dword [edi + 0x299c]
mov eax, dword [esp + 0x2c]
lea edi, [ecx*8]
mov esi, dword [eax + 0x2990]
sub edi, ecx
shl edi, 3
lea eax, [esp + 0xa0]
push edi
push esi
push eax
call fcn.1018faa0
mov eax, dword [esp + 0x2c]
add esp, 0xc
add eax, 0x32ec
push edi
push eax
push esi
call fcn.1018faa0
add esp, 0xc
mov ecx, 0x747d37fc
call fcn.100c68f0
mov edi, dword [esp + 0x2c]
mov eax, dword [eax + edi - 0x14]
mov ecx, dword [eax + 0x60]
mov edx, dword [ecx + 0x2990]
add edx, 0xe0
je 0x1008c745
mov eax, dword [0x10214404]
push dword [edx + 0x18]
mov eax, dword [eax + 0x34]
call eax
mov esi, eax
jmp 0x1008c748
or esi, 0xffffffff
mov eax, dword [edi + 0x299c]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [esp + 0xa0]
shl ecx, 3
push ecx
push eax
push dword [edi + 0x2990]
call fcn.1018faa0
add esp, 0xc
cmp esi, dword [esp + 0x40]
je 0x1008c787
mov ecx, 0x747d37fc
call fcn.100c68f0
mov esi, dword [esp + 0x20]
jmp 0x1008c7a6
mov esi, dword [esp + 0x20]
movss xmm1, dword [esi + 0x33f8]
comiss xmm1, dword [esi + 0x3120]
jbe 0x1008c7b7
mov ecx, 0x747d37fc
call fcn.100c68f0
mov eax, dword [eax + edi - 0x14]
xorps xmm1, xmm1
mov dword [eax + 0x110], 0
mov ecx, 0x747d37fc
xorps xmm4, xmm4
call fcn.100c68f0
movss xmm0, dword [esi + 0x311c]
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov edx, dword [eax + edi - 0x14]
cmp byte [edx + 0x128], cl
jne 0x1008c839
comiss xmm4, xmm0
jae 0x1008c839
movss xmm3, dword [esi + 0x3120]
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jnp 0x1008c829
movss xmm2, dword [edx + 0x74]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x1008c80f
mov eax, dword [0x10214404]
mov eax, dword [eax + 0x10]
movss xmm2, dword [eax + 0x20]
comiss xmm3, xmm1
jbe 0x1008c829
mulss xmm2, xmm0
movaps xmm0, xmm2
inc ecx
addss xmm1, xmm0
comiss xmm3, xmm1
ja 0x1008c818
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x1008c839
movaps xmm0, xmm3
comiss xmm0, dword [0x101eb328]
jb 0x1008c844
mov eax, dword [esi + 0x3620]
inc eax
mov dword [esp + 0x14], eax
mov ecx, 0x747d37fc
call fcn.100c68f0
mov ecx, 0x747d37fc
lea esi, [eax + edi]
call fcn.100c68f0
movd xmm0, dword [esp + 0x14]
mov ecx, 0x747d37fc
cvtdq2ps xmm0, xmm0
mov eax, dword [eax + edi - 0x14]
mulss xmm0, dword [eax + 0x74]
mov eax, dword [esi - 0x14]
movss dword [eax + 0x110], xmm0
call fcn.100c68f0
mov ecx, 0x747d37fc
mov dword [esp + 0x38], 0x3f800000
mov dword [esp + 0x3c], 0
mov dword [esp + 0x28], 0x3f800000
mov eax, dword [eax + edi - 0x14]
add eax, 0x228
mov dword [esp + 0x40], 0
mov dword [esp + 0x14], eax
call fcn.100c68f0
movss xmm2, dword [0x101eb438]
lea ecx, [esp + 0x40]
lea esi, [esp + 0x38]
mov eax, dword [eax + edi - 0x14]
movss xmm0, dword [eax + 0x110]
lea eax, [esp + 0x18]
subss xmm0, dword [0x101eb2ec]
divss xmm0, dword [0x101eb2fc]
comiss xmm4, xmm0
movss dword [esp + 0x18], xmm0
cmovbe ecx, eax
lea eax, [esp + 0x28]
comiss xmm0, dword [0x101eb334]
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 xmm4, xmm2
movss dword [esp + 0x40], xmm2
cmovbe eax, ecx
comiss xmm2, dword [0x101eb334]
cmovbe esi, eax
mov eax, dword [esp + 0x14]
cmp byte [eax], 0
jne 0x1008c99f
mov edi, dword [eax + 8]
mov eax, dword [0x10214410]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
call eax
mov eax, dword [esp + 0x14]
push edi
mov dword [eax + 8], edi
mov eax, dword [0x10214404]
mov edi, dword [esp + 0x30]
mov eax, dword [eax + 0x164]
push dword [edi + 0x2950]
call eax
mov ecx, dword [esp + 0x14]
mov dword [ecx + 4], eax
cmp eax, 0xffffffff
je 0x1008c984
mov byte [ecx], 1
mov eax, dword [0x10214410]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x88]
call eax
mov eax, dword [esp + 0x14]
cmp byte [eax], 0
je 0x1008c9d5
mov eax, dword [0x10214410]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
call eax
mov eax, dword [esp + 0x14]
mov ecx, edi
movss xmm1, dword [esi]
push dword [eax + 4]
call fcn.10089bb0
mov eax, dword [0x10214410]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x88]
call eax
mov esi, dword [esp + 0x20]
mov eax, dword [edi + 0x299c]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [esp + 0x36e8]
shl ecx, 3
push ecx
push eax
push dword [edi + 0x2990]
call fcn.1018faa0
add esp, 0xc
cmp byte [esp + 0x27], 0
je 0x1008ca9b
mov ecx, 0x1ceebdef
call fcn.100c68f0
mov ecx, edi
mov eax, dword [eax + edi]
mov dword [esi + 0x361c], 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 + 0x35c4], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 0x35cc], 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 + 0x35d0], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 0x35d8], eax
mov eax, dword [0x10214404]
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax + 0x10]
lea eax, [esi + 0x14]
movss dword [esp + 4], xmm0
push dword [edi + 0x2920]
push eax
call fcn.10089e30
mov byte [esi + 0x3628], al
mov eax, dword [0x10214404]
movss xmm0, dword [esp + 0x58]
mov ecx, dword [esp + 0x34]
mov eax, dword [eax + 0x10]
movss dword [eax + 0x14], xmm0
mov eax, dword [0x10214404]
movss xmm0, dword [esp + 0x50]
mov eax, dword [eax + 0x10]
movss dword [eax + 0x10], xmm0
mov eax, dword [esp + 0x30]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x1021f678]
cmp eax, dword [ecx + 4]
jle 0x1008cb16
push 0x1021f678
call fcn.1018e80d
add esp, 4
cmp dword [0x1021f678], 0xffffffff
jne 0x1008cb16
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_fEffects
mov ecx, eax
call fcn.10089b10
push 0x1021f678
mov dword [0x1021f68c], eax
call fcn.1018e7bc
add esp, 4
mov eax, dword [0x1021f68c]
mov ecx, dword [esp + 0x88]
mov dword [eax + edi], ecx
mov eax, dword [0x10214408]
cmp byte [eax + 0xe28], 0
je 0x1008cf08
mov eax, dword [0x10215cf4]
mov ecx, dword [eax]
mov eax, dword [0x10214404]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x1008cf08
cmp byte [esp + 0x27], 0
je 0x1008cefa
cmp dword [esi + 0x10], 0
je 0x1008cb92
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
dec ecx
and ecx, dword [esi + 0xc]
mov esi, dword [eax + ecx*4]
mov ecx, 0x1ceebdef
call fcn.100c68f0
movss xmm0, dword [esi + 0x44]
ucomiss xmm0, dword [eax + edi]
lahf
test ah, 0x44
jnp 0x1008cf18
mov esi, dword [esp + 0x20]
push 8
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
call fcn.1018e586
add esp, 4
lea ecx, [esp + 0xa0]
mov dword [eax + 4], 0
mov dword [esp + 0xa0], eax
push 0x40
mov dword [eax], ecx
lea eax, [esp + 0xb8]
push 0
push eax
call fcn.10190020
movq xmm0, qword [esi + 0x35dc]
add esp, 0xc
mov eax, dword [esi + 0x35e4]
mov dword [esp + 0xbc], eax
mov eax, dword [esi + 0x35fc]
movq qword [esp + 0xb4], xmm0
movq xmm0, qword [esi + 0x35f4]
mov dword [esp + 0xc8], eax
mov eax, dword [esi + 0x35cc]
movq qword [esp + 0xc0], xmm0
movss xmm0, dword [esi + 0x361c]
mov dword [esp + 0xd4], eax
mov eax, dword [esi + 0x35d8]
mov dword [esp + 0xe0], eax
lea eax, [esi + 0x14]
movss dword [esp + 0xe4], xmm0
movq xmm0, qword [esi + 0x35c4]
push 0x3000
push eax
movq qword [esp + 0xd4], xmm0
lea eax, [esp + 0xfc]
movq xmm0, qword [esi + 0x35d0]
push eax
movq qword [esp + 0xe4], xmm0
call fcn.1018faa0
movaps xmm0, xmmword [0x101eb890]
lea eax, [esp + 0x39d0]
lea ecx, [esp + 0x39e8]
mov dword [esp + 0x94], eax
add esp, 0xc
mov dword [esp + 0x39d4], 6
mov dword [esp + 0x39d8], 5
mov dword [esp + 0x88], eax
movups xmmword [esp + 0x39c4], xmm0
cmp eax, ecx
je 0x1008cdd7
mov edx, dword [esp + 0xb0]
mov edi, eax
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [esp + 0xa8]
lea eax, [eax + eax*2]
add eax, eax
movss xmm0, dword [esp + eax*8 + 0x100]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + eax*8 + 0x110]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + eax*8 + 0x120]
lea eax, [edx + 1]
movss dword [esp + 0x84], xmm0
cmp ecx, eax
ja 0x1008cd57
push ecx
lea ecx, [esp + 0xa4]
call fcn.1008d4c0
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0xac]
dec ecx
and eax, ecx
mov dword [esp + 0xac], eax
add eax, edx
and eax, ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x18], eax
cmp dword [ecx + eax*4], 0
jne 0x1008cd9e
push 0xc
call fcn.1018e586
mov ecx, dword [esp + 0xa8]
add esp, 4
mov edx, dword [esp + 0x18]
mov dword [ecx + edx*4], eax
mov eax, edx
mov ecx, dword [esp + 0xa4]
mov ecx, dword [ecx + eax*4]
add edi, 4
movq xmm0, qword [esp + 0x7c]
mov eax, dword [esp + 0x84]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov edx, dword [esp + 0xb0]
inc edx
mov dword [esp + 0xb0], edx
cmp edi, esi
jne 0x1008ccf4
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0x10]
inc eax
cmp dword [esi + 8], eax
ja 0x1008cde8
push ecx
mov ecx, esi
call fcn.1008d320
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
lea ecx, [eax - 1]
and edx, ecx
mov dword [esi + 0xc], edx
cmove edx, eax
mov eax, dword [esi + 4]
dec edx
mov dword [esp + 0x50], edx
and edx, ecx
mov dword [esp + 0x88], edx
cmp dword [eax + edx*4], 0
jne 0x1008ce3b
push 0x3077
call fcn.1018e586
add esp, 4
test eax, eax
je 0x1008cf51
mov edx, dword [esp + 0x88]
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
mov eax, dword [esi + 4]
mov dword [eax + edx*4], ecx
mov ecx, dword [esi + 4]
lea eax, [esp + 0xa0]
push eax
mov ecx, dword [ecx + edx*4]
call fcn.1008d6e0
mov ecx, dword [esi + 0x10]
mov eax, dword [esp + 0x50]
inc ecx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
cmp ecx, 3
jbe 0x1008ced1
mov eax, dword [0x10214404]
movss xmm0, dword [esp + 0x5c]
mov eax, dword [eax + 0x10]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x101eb2c4]
cvttss2si eax, xmm0
cmp ecx, eax
jbe 0x1008ced1
mov esi, dword [esi + 0xc]
dec ecx
add esi, ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 8]
dec eax
and esi, eax
mov eax, dword [ecx + 4]
mov esi, dword [eax + esi*4]
mov ecx, esi
call fcn.1008d280
mov eax, dword [esi]
push 8
push eax
mov dword [esi], 0
call fcn.1018e573
mov esi, dword [esp + 0x28]
add esp, 8
mov ecx, dword [esi + 0x10]
sub ecx, 1
mov dword [esi + 0x10], ecx
je 0x1008ceca
cmp ecx, 3
ja 0x1008ce61
jmp 0x1008ced1
mov dword [esi + 0xc], 0
lea ecx, [esp + 0xa0]
call fcn.1008d280
mov eax, dword [esp + 0xa0]
push 8
push eax
mov dword [esp + 0xa8], 0
call fcn.1018e573
add esp, 8
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x380]
call eax
jmp 0x1008cf18
mov ecx, esi
call fcn.1008d1b0
jmp 0x1008cf18
mov ecx, esi
call fcn.1008a250
mov eax, dword [0x10214410]
mov esi, dword [esp + 0x54]
inc esi
mov dword [esp + 0x54], esi
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
cmp esi, eax
jle 0x1008b6f5
mov ecx, dword [esp + 0x39dc]
pop edi
pop esi
xor ecx, esp
call fcn.1018e27a
mov esp, ebp
pop ebp
ret
call fcn.1008d1a0
call fcn.101936a6
int3