Function at 0x1008e860
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.1019c8c0
mov eax, dword [0x102090c0]
xor eax, esp
mov dword [esp + 0x8164], eax
mov eax, dword [0x1022867c]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
mov ecx, dword fs:[0x2c]
mov dword [esp + 0x24], ecx
mov edx, dword [ecx + eax*4]
mov eax, dword [0x1051af58]
cmp eax, dword [edx + 4]
jle 0x1008e94f
push 0x1051af58
call fcn.1019bffa
add esp, 4
cmp dword [0x1051af58], 0xffffffff
jne 0x1008e94f
mov eax, dword [0x10226cb0]
xor edx, edx
movq xmm0, qword [str.F_h_K_MUIG_]
mov dword [esp + 0x30], edx
mov esi, dword [eax + 8]
mov ax, word [0x101eaed0]
mov word [esp + 0x3f84], ax
mov al, byte [0x101eaed2]
movq qword [esp + 0x3f7c], xmm0
mov byte [esp + 0x3f86], al
nop dword [eax]
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
mov edx, dword [esp + 0x30]
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x35
xor byte [esp + edx + 0x3f7c], cl
inc edx
mov dword [esp + 0x30], edx
cmp edx, 0xb
jl 0x1008e900
mov eax, dword [esi]
lea ecx, [esp + 0x3f7c]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x3c]
call eax
push 0x1051af58
mov dword [0x1051af6c], eax
call fcn.1019bfa6
add esp, 4
mov eax, dword [0x10226ca8]
xorps xmm0, xmm0
movss xmm1, dword [0x101fabd4]
cmp byte [eax + 0xf00], 0
je 0x1008e97d
mov ecx, dword [eax + 0xf04]
test ecx, ecx
jle 0x1008e97d
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movd xmm2, dword [eax + 0xefc]
cvtdq2ps xmm2, xmm2
divss xmm2, xmm1
addss xmm2, xmm0
movss dword [esp + 0x5c], xmm2
cmp edi, 4
jne 0x1008e9c5
mov eax, dword [0x10228e54]
cmp dword [eax], 0
jne 0x1008e9d9
mov esi, 0x1022c840
nop word [eax + eax]
mov ecx, esi
call fcn.1008d390
add esi, 0x3ef0
cmp esi, 0x1032c330
jne 0x1008e9b0
pop edi
pop esi
mov ecx, dword [esp + 0x8164]
xor ecx, esp
call fcn.1019ba64
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10226cb0]
mov esi, 1
mov dword [esp + 0x50], esi
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
cmp eax, esi
jl 0x1008e9c5
fld dword [0x101fa7dc]
fstp dword [esp + 0x54]
nop
mov eax, dword [0x10226cb0]
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 0x10090913
imul ecx, esi, 0x3ef0
lea esi, [ecx + 0x1022c840]
mov dword [esp + 0x20], esi
test edi, edi
je 0x100908d8
mov eax, dword [0x10228e54]
cmp edi, dword [eax]
je 0x100908d8
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x100908d8
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x100908d8
movss xmm0, dword [edi + 0x103c0]
ucomiss xmm0, dword [esi + 0x3eb0]
lahf
test ah, 0x44
jnp 0x1008eb09
mov ecx, esi
movss dword [esi + 0x3eb0], xmm0
call fcn.1008d390
push 0x2d8
lea eax, [esp + 0x3f8c]
push 0
push eax
call fcn.1019d810
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.1019d810
mov edi, dword [esp + 0x2c]
lea esi, [esp + 0x3f94]
add esp, 0xc
mov ecx, 0xb6
add edi, 0x389c
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x2c]
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.1019d290
mov eax, dword [0x10226ca4]
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 eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
movss dword [esp + 0x4c], xmm0
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x10446dd4]
cmp eax, dword [ecx + 4]
jle 0x1008ebac
push 0x10446dd4
call fcn.1019bffa
add esp, 4
cmp dword [0x10446dd4], 0xffffffff
jne 0x1008ebac
mov edx, 0xc60bf9f2
mov ecx, 0x101ea555
call fcn.1007da20
mov ecx, eax
call fcn.100d1920
push 0x10446dd4
mov dword [0x10446cac], eax
call fcn.1019bfa6
add esp, 4
mov eax, dword [0x10226ca4]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
mov ecx, dword [eax + 0x10]
mov eax, dword [0x10446cac]
mov eax, dword [eax + edi]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + edx*4]
mov ecx, dword [0x10450778]
cmp ecx, dword [eax + 4]
jle 0x1008ec21
push 0x10450778
call fcn.1019bffa
mov ecx, dword [0x10450778]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1008ec1d
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_fEffects
mov ecx, eax
call fcn.1008ccb0
push 0x10450778
mov dword [0x1045078c], eax
call fcn.1019bfa6
mov ecx, dword [0x10450778]
add esp, 4
mov edx, dword [esp + 0x10]
mov eax, dword [0x1045078c]
mov eax, dword [eax + edi]
mov dword [esp + 0x3f7c], eax
mov eax, dword [esi + edx*4]
cmp ecx, dword [eax + 4]
jle 0x1008ec7c
push 0x10450778
call fcn.1019bffa
add esp, 4
cmp dword [0x10450778], 0xffffffff
jne 0x1008ec78
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_fEffects
mov ecx, eax
call fcn.1008ccb0
push 0x10450778
mov dword [0x1045078c], eax
call fcn.1019bfa6
add esp, 4
mov edx, dword [esp + 0x10]
mov eax, dword [0x1045078c]
mov byte [esp + 0x2b], 0
or dword [eax + edi], 8
mov eax, dword [esi + edx*4]
mov ecx, dword [0x10446dd4]
mov esi, dword [esp + 0x20]
cmp ecx, dword [eax + 4]
jle 0x1008ece9
push 0x10446dd4
call fcn.1019bffa
mov ecx, dword [0x10446dd4]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1008ece5
mov edx, 0xc60bf9f2
mov ecx, 0x101ea555
call fcn.1007da20
mov ecx, eax
call fcn.100d1920
push 0x10446dd4
mov dword [0x10446cac], eax
call fcn.1019bfa6
mov ecx, dword [0x10446dd4]
add esp, 4
mov edx, dword [esp + 0x10]
mov eax, dword [0x10446cac]
movss xmm0, dword [esi + 0x3eb4]
ucomiss xmm0, dword [eax + edi]
lahf
test ah, 0x44
jnp 0x10090262
mov edi, dword [esp + 0x24]
mov eax, dword [edi + edx*4]
mov edi, dword [esp + 0x2c]
cmp ecx, dword [eax + 4]
jle 0x1008ed61
push 0x10446dd4
call fcn.1019bffa
mov ecx, dword [0x10446dd4]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1008ed5d
mov edx, 0xc60bf9f2
mov ecx, 0x101ea555
call fcn.1007da20
mov ecx, eax
call fcn.100d1920
push 0x10446dd4
mov dword [0x10446cac], eax
call fcn.1019bfa6
mov ecx, dword [0x10446dd4]
add esp, 4
mov edx, dword [esp + 0x10]
mov eax, dword [0x10446cac]
movss xmm1, dword [esi + 0x3eb4]
movss xmm0, dword [eax + edi]
comiss xmm0, xmm1
jbe 0x10090262
ucomiss xmm1, dword [0x101fac3c]
mov byte [esp + 0x2b], 1
lahf
test ah, 0x44
jp 0x1008eded
mov esi, dword [esp + 0x24]
mov eax, dword [esi + edx*4]
mov esi, dword [esp + 0x20]
cmp ecx, dword [eax + 4]
jle 0x1008eddf
push 0x10446dd4
call fcn.1019bffa
add esp, 4
cmp dword [0x10446dd4], 0xffffffff
jne 0x1008eddf
mov edx, 0xc60bf9f2
mov ecx, 0x101ea555
call fcn.1007da20
mov ecx, eax
call fcn.100d1920
push 0x10446dd4
mov dword [0x10446cac], eax
call fcn.1019bfa6
add esp, 4
mov eax, dword [0x10446cac]
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 + 0x20]
shl ecx, 3
add eax, 0x3b74
push ecx
push esi
push eax
call fcn.1019d290
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.1019d290
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov edx, dword [esp + 0x24]
mov eax, dword [0x10446dd4]
mov esi, dword [edx + ecx*4]
cmp eax, dword [esi + 4]
jle 0x1008ee91
push 0x10446dd4
call fcn.1019bffa
add esp, 4
cmp dword [0x10446dd4], 0xffffffff
jne 0x1008ee91
mov edx, 0xc60bf9f2
mov ecx, 0x101ea555
call fcn.1007da20
mov ecx, eax
call fcn.100d1920
push 0x10446dd4
mov dword [0x10446cac], eax
call fcn.1019bfa6
add esp, 4
mov eax, dword [0x10446cac]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
movss xmm1, dword [eax + edi]
mov edi, dword [esp + 0x24]
subss xmm1, dword [esi + 0x3eb4]
mov eax, dword [0x10446dd4]
mov ecx, dword [edi + edx*4]
mov edi, dword [esp + 0x2c]
andps xmm1, xmmword [0x101fb210]
movss dword [esp + 0xc], xmm1
cmp eax, dword [ecx + 4]
jle 0x1008ef14
push 0x10446dd4
call fcn.1019bffa
add esp, 4
cmp dword [0x10446dd4], 0xffffffff
jne 0x1008ef0e
mov edx, 0xc60bf9f2
mov ecx, 0x101ea555
call fcn.1007da20
mov ecx, eax
call fcn.100d1920
push 0x10446dd4
mov dword [0x10446cac], eax
call fcn.1019bfa6
add esp, 4
movss xmm1, dword [esp + 0xc]
mov eax, dword [0x10446cac]
movss xmm0, dword [esi + 0x3eb4]
ucomiss xmm0, dword [eax + edi]
lahf
test ah, 0x44
jnp 0x1008ef42
mov eax, dword [0x10226ca4]
movaps xmm0, xmm1
mov eax, dword [eax + 0x10]
divss xmm0, dword [eax + 0x20]
cvttss2si eax, xmm0
dec eax
jmp 0x1008ef44
xor eax, eax
lea ecx, [esi + 0x3ebc]
mov dword [ecx], eax
mov dword [esp + 0x30], ecx
call fcn.1018fdd0
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
xorps xmm1, xmm1
lea esi, [eax + 1]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], esi
mov ecx, dword [eax]
test ecx, ecx
cmovns edx, eax
cmp esi, ecx
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x14]
mov esi, dword [esp + 0x20]
cmovge eax, edx
mov eax, dword [eax]
mov dword [ecx], eax
movss xmm0, dword [esi + 0x3e70]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1008efc2
movss xmm0, dword [esi + 0x3e74]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1008efc2
movss xmm0, dword [esi + 0x3e78]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1008f0aa
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x10446dd4]
cmp eax, dword [ecx + 4]
jle 0x1008f018
push 0x10446dd4
call fcn.1019bffa
add esp, 4
cmp dword [0x10446dd4], 0xffffffff
jne 0x1008f018
mov edx, 0xc60bf9f2
mov ecx, 0x101ea555
call fcn.1007da20
mov ecx, eax
call fcn.100d1920
push 0x10446dd4
mov dword [0x10446cac], eax
call fcn.1019bfa6
add esp, 4
mov eax, dword [0x10446cac]
movss xmm0, dword [esi + 0x3eb4]
ucomiss xmm0, dword [eax + edi]
lahf
test ah, 0x44
jnp 0x1008f0aa
movq xmm0, qword [esi + 0x3e94]
mov ecx, edi
mov eax, dword [esi + 0x3e9c]
movq qword [esi + 0x3ea0], xmm0
mov dword [esi + 0x3ea8], eax
call fcn.1007dd10
movss xmm1, dword [0x101fa850]
divss xmm1, dword [esp + 0xc]
movss xmm0, dword [eax]
subss xmm0, dword [esi + 0x3e70]
movss xmm4, dword [eax + 4]
movss xmm5, dword [eax + 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.1007dbc0
mov ecx, edi
mov eax, dword [eax]
mov eax, dword [eax + 0x9c]
mov dword [esi + 0x3ed0], eax
call fcn.1007de60
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esi + 0x3eec], eax
mov ecx, dword [edi + edx*4]
mov eax, dword [0x10446dd4]
mov edi, dword [esp + 0x2c]
cmp eax, dword [ecx + 4]
jle 0x1008f128
push 0x10446dd4
call fcn.1019bffa
add esp, 4
cmp dword [0x10446dd4], 0xffffffff
jne 0x1008f128
mov edx, 0xc60bf9f2
mov ecx, 0x101ea555
call fcn.1007da20
mov ecx, eax
call fcn.100d1920
push 0x10446dd4
mov dword [0x10446cac], eax
call fcn.1019bfa6
add esp, 4
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
movss xmm0, dword [esi + 0x3eb4]
mov eax, dword [edx + ecx*4]
mov ecx, dword [eax + 4]
mov eax, dword [0x10446cac]
ucomiss xmm0, dword [eax + edi]
lahf
test ah, 0x44
jp 0x1008f1eb
cmp dword [0x1044d704], ecx
jle 0x1008f19a
push 0x1044d704
call fcn.1019bffa
add esp, 4
cmp dword [0x1044d704], 0xffffffff
jne 0x1008f19a
mov edx, 0xc60bf9f2
mov ecx, 0x101eae51
call fcn.1007da20
mov ecx, eax
call fcn.100d1920
push 0x1044d704
mov dword [0x104473d8], eax
call fcn.1019bfa6
add esp, 4
mov eax, dword [0x104473d8]
mov ecx, edi
movss xmm0, dword [eax + edi]
movss dword [esi + 0x3ee4], xmm0
movss dword [esi + 0x3ee8], xmm0
call fcn.1007dd10
movq xmm0, qword [eax]
movq qword [esi + 0x3e70], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 0x3e78], eax
movq xmm0, qword [esi + 0x3e70]
movq qword [esi + 0x3e7c], xmm0
mov dword [esi + 0x3e84], eax
jmp 0x1008f283
mov eax, dword [esi + 0x3ee4]
mov dword [esi + 0x3ee8], eax
cmp dword [0x1044d704], ecx
jle 0x1008f23d
push 0x1044d704
call fcn.1019bffa
add esp, 4
cmp dword [0x1044d704], 0xffffffff
jne 0x1008f23d
mov edx, 0xc60bf9f2
mov ecx, 0x101eae51
call fcn.1007da20
mov ecx, eax
call fcn.100d1920
push 0x1044d704
mov dword [0x104473d8], eax
call fcn.1019bfa6
add esp, 4
mov eax, dword [0x104473d8]
mov ecx, edi
movq xmm0, qword [esi + 0x3e70]
mov eax, dword [eax + edi]
mov dword [esi + 0x3ee4], eax
mov eax, dword [esi + 0x3e78]
movq qword [esi + 0x3e7c], xmm0
mov dword [esi + 0x3e84], eax
call fcn.1007dd10
movq xmm0, qword [eax]
movq qword [esi + 0x3e70], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 0x3e78], eax
mov ecx, edi
call fcn.1007de60
test byte [eax], 1
je 0x1008f29e
mov dword [esi + 0x3e9c], 0
jmp 0x1008f49e
movss xmm1, dword [0x101fa850]
xorps xmm2, xmm2
subss xmm1, dword [esi + 0x3b24]
comiss xmm1, xmm2
jbe 0x1008f44b
movss xmm0, dword [esi + 0x3e04]
ucomiss xmm0, dword [esi + 0x3b2c]
lahf
test ah, 0x44
jp 0x1008f44b
mov eax, dword [esi + 0x3df4]
cmp eax, dword [esi + 0x3b1c]
jne 0x1008f44b
divss xmm1, dword [0x101fa970]
addss xmm1, dword [0x101fa7e4]
comiss xmm1, xmm2
movss dword [esp + 0x14], xmm1
jbe 0x1008f44b
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x430]
call eax
test eax, eax
je 0x1008f354
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.101a93e8
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
add esp, 8
jmp 0x1008f35c
movss xmm0, dword [0x101fab6c]
mulss xmm0, dword [esp + 0x14]
comiss xmm0, dword [0x101fa6e8]
movss dword [esp + 0x34], xmm0
jbe 0x1008f44b
movss xmm0, dword [esi + 0x3e94]
movss xmm1, dword [esi + 0x3e98]
movaps xmm2, xmm0
mulss xmm2, xmm0
movss dword [esp + 0x14], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x44], xmm1
xorps xmm1, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
movss dword [esp + 0x18], xmm2
ucomisd xmm1, xmm0
ja 0x1008f3bb
sqrtsd xmm0, xmm0
jmp 0x1008f3c0
call fcn.101c3ef0
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [0x101fa6e8]
jbe 0x1008f44b
movss xmm1, dword [esi + 0x3e9c]
movaps xmm0, xmm1
movss dword [esp + 0x48], xmm1
mulss xmm0, xmm1
xorps xmm1, xmm1
addss xmm0, dword [esp + 0x18]
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1008f3fa
sqrtsd xmm0, xmm0
jmp 0x1008f3ff
call fcn.101c3ef0
movss xmm1, dword [esp + 0x14]
cvtsd2ss xmm0, xmm0
movss xmm2, dword [esp + 0x34]
divss xmm1, xmm0
mulss xmm1, xmm2
movss dword [esi + 0x3e94], xmm1
movss xmm1, dword [esp + 0x44]
divss xmm1, xmm0
mulss xmm1, xmm2
movss dword [esi + 0x3e98], xmm1
movss xmm1, dword [esp + 0x48]
divss xmm1, xmm0
mulss xmm1, xmm2
movss dword [esi + 0x3e9c], xmm1
mov eax, dword [0x10226ca4]
movd xmm0, dword [esi + 0x3ebc]
mov ecx, dword [0x1051af6c]
cvtdq2ps xmm0, xmm0
mov eax, dword [eax + 0x10]
mulss xmm0, dword [eax + 0x20]
mov eax, dword [ecx]
movss dword [esp + 0x14], xmm0
mov eax, dword [eax + 0x30]
mov dword [esp + 0x18], eax
call dword [esp + 0x18]
fmul dword [esp + 0x54]
movss xmm0, dword [esi + 0x3e9c]
fmul dword [esp + 0x14]
fstp dword [esp + 0x18]
subss xmm0, dword [esp + 0x18]
movss dword [esi + 0x3e9c], xmm0
mov ecx, edi
call fcn.1007de60
test byte [eax], 1
je 0x1008f645
movss xmm0, dword [esi + 0x3b24]
comiss xmm0, dword [0x101fa6e8]
jbe 0x1008f645
movss xmm3, dword [0x101fa850]
comiss xmm3, xmm0
jbe 0x1008f645
movss xmm0, dword [esi + 0x3b30]
comiss xmm0, dword [esi + 0x3e08]
jbe 0x1008f645
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x430]
call eax
test eax, eax
je 0x1008f539
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.101a93e8
fstp dword [esp + 0x20]
movss xmm1, dword [esp + 0x20]
add esp, 8
jmp 0x1008f541
movss xmm1, dword [0x101fab6c]
movss xmm3, dword [0x101fa850]
xorps xmm2, xmm2
movaps xmm0, xmm3
subss xmm0, dword [esi + 0x3b24]
mulss xmm0, dword [0x101fa7cc]
comiss xmm0, xmm2
jbe 0x1008f645
comiss xmm3, xmm0
jbe 0x1008f645
addss xmm0, dword [0x101fa7e4]
mulss xmm0, xmm1
comiss xmm0, xmm2
movss dword [esp + 0x18], xmm0
jbe 0x1008f645
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x10446dc4]
cmp eax, dword [ecx + 4]
jle 0x1008f5e2
push 0x10446dc4
call fcn.1019bffa
add esp, 4
cmp dword [0x10446dc4], 0xffffffff
jne 0x1008f5e2
mov edx, 0xc60bf9f2
mov ecx, 0x101ea5f1
call fcn.1007da20
mov ecx, eax
call fcn.100d1920
push 0x10446dc4
mov dword [0x10446d18], eax
call fcn.1019bfa6
add esp, 4
mov eax, dword [0x10446d18]
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 0x1008f610
sqrtsd xmm0, xmm0
jmp 0x1008f615
call fcn.101c3ef0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
divss xmm1, dword [esp + 0x18]
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 0x1008f65a
comiss xmm0, dword [esi + 0x3a0c]
jb 0x1008f67a
mov ecx, edi
call fcn.1007de60
test byte [eax], 1
je 0x1008f67a
mov dword [esi + 0x3e94], 0
mov dword [esi + 0x3e98], 0
push esi
lea ecx, [esp + 0x8c]
call fcn.10090920
push esi
lea ecx, [esp + 0x3f8c]
call fcn.10090920
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x1008f712
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
je 0x1008f712
cmp dword [esp + 0x7e44], 0
jle 0x1008f712
cmp dword [0x103387b4], 0
je 0x1008f712
mov edx, edi
lea ecx, [esp + 0x3f88]
call fcn.100abd50
mov eax, 0x3ef0
call fcn.1019c8c0
lea eax, [esp + 0x3f78]
mov ecx, esp
push eax
call fcn.10090920
mov edx, edi
lea ecx, [esp + 0x7e78]
call fcn.100a9dd0
mov edx, dword [0x10446c4c]
mov ecx, edi
push 0x10446c40
push 0x10446c48
call fcn.100a6a90
lea ecx, [esp + 0x7dd4]
call fcn.1002c130
lea ecx, [esp + 0x4810]
call fcn.10090c90
mov eax, dword [esp + 0x4810]
push 8
push eax
mov dword [esp + 0x4818], 0
call fcn.1019bd5d
add esp, 8
lea ecx, [esp + 0x3ed4]
call fcn.1002c130
lea ecx, [esp + 0x910]
call fcn.10090c90
mov eax, dword [esp + 0x910]
push 8
push eax
mov dword [esp + 0x918], 0
call fcn.1019bd5d
mov eax, dword [esi + 0x3ebc]
add esp, 8
mov byte [0x1045079c], 1
test eax, eax
jg 0x1008f8f0
mov esi, dword [0x10226ca4]
mov ecx, edi
call fcn.1007dbc0
mov ecx, dword [esi + 0x10]
mov eax, dword [eax]
mov eax, dword [eax + 0x70]
cmp eax, dword [ecx + 4]
jne 0x1008f7b7
mov ecx, edi
call fcn.1007dbc0
mov eax, dword [eax]
dec dword [eax + 0x70]
mov esi, dword [0x10226ca4]
mov ecx, edi
call fcn.1007dbc0
mov ecx, dword [esi + 0x10]
mov eax, dword [eax]
movss xmm0, dword [eax + 0x6c]
ucomiss xmm0, dword [ecx + 0x10]
lahf
test ah, 0x44
jp 0x1008f804
mov eax, dword [0x10226ca4]
mov ecx, edi
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax + 0x20]
movss dword [esp + 0x18], xmm0
call fcn.1007dbc0
movss xmm0, dword [esp + 0x18]
mov eax, dword [eax]
addss xmm0, dword [eax + 0x6c]
movss dword [eax + 0x6c], xmm0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + eax*4]
mov eax, dword [0x1044a6f8]
mov dword [esp + 0xc], esi
cmp eax, dword [esi + 4]
jle 0x1008f85d
push 0x1044a6f8
call fcn.1019bffa
add esp, 4
cmp dword [0x1044a6f8], 0xffffffff
jne 0x1008f85d
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_iEFlags
mov ecx, eax
call fcn.1008ccb0
push 0x1044a6f8
mov dword [0x104473c8], eax
call fcn.1019bfa6
add esp, 4
mov eax, dword [0x104473c8]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
and dword [eax + edi], 0xffffefff
mov eax, dword [esi + 0x3e9c]
movq xmm0, qword [esi + 0x3e94]
mov dword [esp + 0x18], eax
mov eax, dword [0x10447400]
movq qword [esp + 0x38], xmm0
cmp eax, dword [ecx + 4]
jle 0x1008f8d9
push 0x10447400
call fcn.1019bffa
add esp, 4
cmp dword [0x10447400], 0xffffffff
jne 0x1008f8d3
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_vecAbsVelocity
mov ecx, eax
call fcn.1008ccb0
push 0x10447400
mov dword [0x1044d700], eax
call fcn.1019bfa6
add esp, 4
movq xmm0, qword [esp + 0x38]
mov eax, dword [0x1044d700]
mov ecx, dword [esp + 0x18]
movq qword [eax + edi], xmm0
mov dword [eax + edi + 8], ecx
jmp 0x1008fe0e
mov edx, 1
inc eax
mov dword [esp + 0x18], edx
cmp eax, edx
jl 0x1008fcba
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0xc], ecx
mov eax, dword [0x10226ca4]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mov eax, dword [eax + 0x10]
mulss xmm0, dword [eax + 0x20]
mov eax, dword [0x10446dd4]
addss xmm0, dword [esi + 0x3eb4]
movss dword [esp + 0x34], xmm0
cmp eax, dword [ecx + 4]
jle 0x1008f984
push 0x10446dd4
call fcn.1019bffa
mov eax, dword [0x10446dd4]
add esp, 4
cmp eax, 0xffffffff
jne 0x1008f984
mov edx, 0xc60bf9f2
mov ecx, 0x101ea555
call fcn.1007da20
mov ecx, eax
call fcn.100d1920
push 0x10446dd4
mov dword [0x10446cac], eax
call fcn.1019bfa6
mov eax, dword [0x10446dd4]
add esp, 4
mov ecx, dword [0x10446cac]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xc]
cmp eax, dword [ecx + 4]
jle 0x1008f9dc
push 0x10446dd4
call fcn.1019bffa
add esp, 4
cmp dword [0x10446dd4], 0xffffffff
jne 0x1008f9d8
mov edx, 0xc60bf9f2
mov ecx, 0x101ea555
call fcn.1007da20
mov ecx, eax
call fcn.100d1920
push 0x10446dd4
mov dword [0x10446cac], eax
call fcn.1019bfa6
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
movss xmm2, dword [esp + 0x34]
movss xmm1, dword [eax + edi]
mov eax, dword [0x10446cac]
subss xmm1, xmm2
movss xmm0, dword [eax + edi]
subss xmm0, dword [esi + 0x3eb4]
mov eax, dword [0x10226ca4]
divss xmm1, xmm0
mov eax, dword [eax + 0x10]
movss xmm0, dword [0x101fa850]
subss xmm0, xmm1
movss dword [esp + 0x48], xmm0
movss xmm0, dword [eax + 0x10]
movss dword [eax + 0x10], xmm2
mov eax, dword [0x1044a6f8]
movss dword [esp + 0x38], xmm0
cmp eax, dword [ecx + 4]
jle 0x1008fa7d
push 0x1044a6f8
call fcn.1019bffa
add esp, 4
cmp dword [0x1044a6f8], 0xffffffff
jne 0x1008fa79
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_iEFlags
mov ecx, eax
call fcn.1008ccb0
push 0x1044a6f8
mov dword [0x104473c8], eax
call fcn.1019bfa6
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [0x104473c8]
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 + 0x70], xmm0
subss xmm1, dword [esp + 0x70]
subss xmm2, dword [esp + 0x74]
mov dword [esp + 0x78], eax
subss xmm3, dword [esp + 0x78]
mov eax, dword [0x10447400]
mulss xmm1, dword [esp + 0x48]
mulss xmm2, dword [esp + 0x48]
mulss xmm3, dword [esp + 0x48]
addss xmm1, dword [esp + 0x70]
addss xmm2, dword [esp + 0x74]
addss xmm3, dword [esp + 0x78]
movss dword [esp + 0x44], xmm1
movss dword [esp + 0x34], xmm2
movss dword [esp + 0x14], xmm3
cmp eax, dword [ecx + 4]
jle 0x1008fb6f
push 0x10447400
call fcn.1019bffa
add esp, 4
cmp dword [0x10447400], 0xffffffff
jne 0x1008fb5d
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_vecAbsVelocity
mov ecx, eax
call fcn.1008ccb0
push 0x10447400
mov dword [0x1044d700], eax
call fcn.1019bfa6
add esp, 4
movss xmm3, dword [esp + 0x14]
movss xmm2, dword [esp + 0x34]
movss xmm1, dword [esp + 0x44]
mov eax, dword [0x1044d700]
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 + 0xc]
subss xmm1, xmm0
mov eax, dword [0x1044d704]
mulss xmm1, dword [esp + 0x48]
addss xmm1, xmm0
movss dword [esp + 0x14], xmm1
cmp eax, dword [esi + 4]
jle 0x1008fbfe
push 0x1044d704
call fcn.1019bffa
add esp, 4
cmp dword [0x1044d704], 0xffffffff
jne 0x1008fbf8
mov edx, 0xc60bf9f2
mov ecx, 0x101eae51
call fcn.1007da20
mov ecx, eax
call fcn.100d1920
push 0x1044d704
mov dword [0x104473d8], eax
call fcn.1019bfa6
add esp, 4
movss xmm1, dword [esp + 0x14]
mov eax, dword [0x104473d8]
mov ecx, edi
movss dword [eax + edi], xmm1
mov esi, dword [0x10226ca4]
call fcn.1007dbc0
mov ecx, dword [esi + 0x10]
mov eax, dword [eax]
mov eax, dword [eax + 0x70]
cmp eax, dword [ecx + 4]
jne 0x1008fc2e
mov ecx, edi
call fcn.1007dbc0
mov eax, dword [eax]
dec dword [eax + 0x70]
mov esi, dword [0x10226ca4]
mov ecx, edi
call fcn.1007dbc0
mov ecx, dword [esi + 0x10]
mov eax, dword [eax]
movss xmm0, dword [eax + 0x6c]
ucomiss xmm0, dword [ecx + 0x10]
lahf
test ah, 0x44
jp 0x1008fc7b
mov eax, dword [0x10226ca4]
mov ecx, edi
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax + 0x20]
movss dword [esp + 0x14], xmm0
call fcn.1007dbc0
movss xmm0, dword [esp + 0x14]
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 [0x10226ca4]
movss xmm0, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
inc edx
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x18], edx
movss dword [eax + 0x10], xmm0
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
inc eax
cmp edx, eax
jle 0x1008f911
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0xc]
mov eax, dword [0x1044a6f8]
cmp eax, dword [ecx + 4]
jle 0x1008fd1b
push 0x1044a6f8
call fcn.1019bffa
add esp, 4
cmp dword [0x1044a6f8], 0xffffffff
jne 0x1008fd17
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_iEFlags
mov ecx, eax
call fcn.1008ccb0
push 0x1044a6f8
mov dword [0x104473c8], eax
call fcn.1019bfa6
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [0x104473c8]
and dword [eax + edi], 0xffffefff
mov eax, dword [esi + 0x3e9c]
movq xmm0, qword [esi + 0x3e94]
mov dword [esp + 0x38], eax
mov eax, dword [0x10447400]
movq qword [esp + 0x18], xmm0
cmp eax, dword [ecx + 4]
jle 0x1008fd93
push 0x10447400
call fcn.1019bffa
add esp, 4
cmp dword [0x10447400], 0xffffffff
jne 0x1008fd89
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_vecAbsVelocity
mov ecx, eax
call fcn.1008ccb0
push 0x10447400
mov dword [0x1044d700], eax
call fcn.1019bfa6
add esp, 4
mov ecx, dword [esp + 0xc]
movq xmm0, qword [esp + 0x18]
mov eax, dword [0x1044d700]
mov edx, dword [esp + 0x38]
movq qword [eax + edi], xmm0
mov dword [eax + edi + 8], edx
movss xmm0, dword [esi + 0x3ee4]
mov eax, dword [0x1044d704]
movss dword [esp + 0x18], xmm0
cmp eax, dword [ecx + 4]
jle 0x1008fe04
push 0x1044d704
call fcn.1019bffa
add esp, 4
cmp dword [0x1044d704], 0xffffffff
jne 0x1008fdfe
mov edx, 0xc60bf9f2
mov ecx, 0x101eae51
call fcn.1007da20
mov ecx, eax
call fcn.100d1920
push 0x1044d704
mov dword [0x104473d8], eax
call fcn.1019bfa6
add esp, 4
movss xmm0, dword [esp + 0x18]
mov eax, dword [0x104473d8]
movss dword [eax + edi], xmm0
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x380]
call eax
mov eax, 0x3ef0
mov byte [0x1045079c], 0
call fcn.1019c8c0
mov ecx, esp
push esi
call fcn.10090920
mov eax, 0x3ef0
call fcn.1019c8c0
mov ecx, esp
push esi
call fcn.10090920
mov ecx, edi
call fcn.100acb80
mov edx, dword [esp + 0xc]
mov eax, dword [0x10446dd4]
cmp eax, dword [edx + 4]
jle 0x1008fe9f
push 0x10446dd4
call fcn.1019bffa
add esp, 4
cmp dword [0x10446dd4], 0xffffffff
jne 0x1008fe9b
mov edx, 0xc60bf9f2
mov ecx, 0x101ea555
call fcn.1007da20
mov ecx, eax
call fcn.100d1920
push 0x10446dd4
mov dword [0x10446cac], eax
call fcn.1019bfa6
add esp, 4
mov edx, dword [esp + 0xc]
mov eax, dword [0x10226ca4]
mov ecx, dword [eax + 0x10]
mov eax, dword [0x10446cac]
movss xmm0, dword [ecx + 0x20]
movss xmm1, dword [eax + edi]
subss xmm1, dword [esi + 0x3eb4]
comiss xmm0, xmm1
ja 0x1008ff0e
mov eax, dword [0x10446dd4]
cmp eax, dword [edx + 4]
jle 0x1008ff0e
push 0x10446dd4
call fcn.1019bffa
add esp, 4
cmp dword [0x10446dd4], 0xffffffff
jne 0x1008ff0e
mov edx, 0xc60bf9f2
mov ecx, 0x101ea555
call fcn.1007da20
mov ecx, eax
call fcn.100d1920
push 0x10446dd4
mov dword [0x10446cac], eax
call fcn.1019bfa6
add esp, 4
mov ecx, edi
call fcn.1007de60
test byte [eax], 1
jne 0x10090262
mov ecx, edi
call fcn.1007dbc0
mov eax, dword [eax]
mov ecx, dword [eax + 0x60]
mov edx, dword [ecx + 0x2990]
add edx, 0xe0
je 0x10090262
mov eax, dword [0x10226ca4]
push dword [edx + 0x18]
mov eax, dword [eax + 0x34]
call eax
mov dword [esp + 0x38], eax
cmp eax, 0x3da
je 0x1008ff5f
cmp eax, 0x3d9
jne 0x10090262
mov ecx, dword [edi + 0x299c]
lea eax, [esp + 0x3f88]
mov esi, dword [esp + 0x2c]
lea edi, [ecx*8]
mov esi, dword [esi + 0x2990]
sub edi, ecx
shl edi, 3
push edi
push esi
push eax
call fcn.1019d290
mov eax, dword [esp + 0x2c]
add esp, 0xc
add eax, 0x3b74
push edi
push eax
push esi
call fcn.1019d290
mov edi, dword [esp + 0x38]
add esp, 0xc
mov ecx, edi
call fcn.1007dbc0
mov eax, dword [eax]
mov ecx, dword [eax + 0x60]
mov edx, dword [ecx + 0x2990]
add edx, 0xe0
je 0x1008ffd0
mov eax, dword [0x10226ca4]
push dword [edx + 0x18]
mov eax, dword [eax + 0x34]
call eax
mov esi, eax
jmp 0x1008ffd3
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.1019d290
add esp, 0xc
cmp esi, dword [esp + 0x38]
je 0x1009000f
mov ecx, edi
call fcn.1007dbc0
mov esi, dword [esp + 0x20]
jmp 0x10090031
mov esi, dword [esp + 0x20]
movss xmm0, dword [esi + 0x3c80]
comiss xmm0, dword [esi + 0x39a8]
movss dword [esp + 0x30], xmm0
jbe 0x10090046
mov ecx, edi
call fcn.1007dbc0
mov eax, dword [eax]
xorps xmm0, xmm0
movss dword [esp + 0x30], xmm0
mov dword [eax + 0x110], 0
mov ecx, edi
call fcn.1007dbc0
movss xmm0, dword [esi + 0x39a4]
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov edx, dword [eax]
cmp byte [edx + 0x128], cl
jne 0x100900c9
xorps xmm4, xmm4
comiss xmm4, xmm0
jae 0x100900c9
movss xmm3, dword [esi + 0x39a8]
movss xmm1, dword [esp + 0x30]
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jnp 0x100900b9
movss xmm2, dword [edx + 0x74]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x1009009f
mov eax, dword [0x10226ca4]
mov eax, dword [eax + 0x10]
movss xmm2, dword [eax + 0x20]
comiss xmm3, xmm1
jbe 0x100900b9
mulss xmm2, xmm0
movaps xmm0, xmm2
inc ecx
addss xmm1, xmm0
comiss xmm3, xmm1
ja 0x100900a8
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x100900c9
movaps xmm0, xmm3
comiss xmm0, dword [0x101fa844]
jb 0x100900d2
mov esi, dword [esi + 0x3ebc]
inc esi
jmp 0x100900d6
mov esi, dword [esp + 0x18]
mov ecx, edi
call fcn.1007dbc0
movd xmm0, esi
mov ecx, edi
cvtdq2ps xmm0, xmm0
mov eax, dword [eax]
mulss xmm0, dword [eax + 0x74]
movss dword [esp + 0x38], xmm0
call fcn.1007dbc0
movss xmm0, dword [esp + 0x38]
mov ecx, edi
mov eax, dword [eax]
movss dword [eax + 0x110], xmm0
call fcn.1007dbc0
mov ecx, edi
mov dword [esp + 0x44], 0x3f800000
mov dword [esp + 0x34], 0
mov dword [esp + 0x14], 0x3f800000
mov eax, dword [eax]
add eax, 0x228
mov dword [esp + 0x38], 0
mov dword [esp + 0xc], eax
call fcn.1007dbc0
xorps xmm3, xmm3
movss xmm2, dword [0x101fa978]
lea ecx, [esp + 0x38]
lea esi, [esp + 0x44]
mov eax, dword [eax]
movss xmm0, dword [eax + 0x110]
lea eax, [esp + 0x18]
subss xmm0, dword [0x101fa804]
divss xmm0, dword [0x101fa814]
comiss xmm3, xmm0
movss dword [esp + 0x18], xmm0
cmovbe ecx, eax
lea eax, [esp + 0x14]
comiss xmm0, dword [0x101fa850]
cmovbe eax, ecx
lea ecx, [esp + 0x38]
movss xmm1, dword [eax]
lea eax, [esp + 0x34]
movaps xmm0, xmm1
addss xmm0, xmm1
mulss xmm1, xmm1
subss xmm2, xmm0
mulss xmm2, xmm1
comiss xmm3, xmm2
movss dword [esp + 0x38], xmm2
cmovbe eax, ecx
comiss xmm2, dword [0x101fa850]
cmovbe esi, eax
mov eax, dword [esp + 0xc]
cmp byte [eax], 0
jne 0x10090228
mov edi, dword [eax + 8]
mov eax, dword [0x10226cb0]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
call eax
mov eax, dword [esp + 0xc]
push edi
mov dword [eax + 8], edi
mov eax, dword [0x10226ca4]
mov edi, dword [esp + 0x30]
mov eax, dword [eax + 0x168]
push dword [edi + 0x2950]
call eax
mov ecx, dword [esp + 0xc]
mov dword [ecx + 4], eax
cmp eax, 0xffffffff
je 0x1009020d
mov byte [ecx], 1
mov eax, dword [0x10226cb0]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x88]
call eax
mov eax, dword [esp + 0xc]
cmp byte [eax], 0
je 0x1009025e
mov eax, dword [0x10226cb0]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
call eax
mov eax, dword [esp + 0xc]
mov ecx, edi
movss xmm1, dword [esi]
push dword [eax + 4]
call fcn.1008cd50
mov eax, dword [0x10226cb0]
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 + 0x7e78]
shl ecx, 3
push ecx
push eax
push dword [edi + 0x2990]
call fcn.1019d290
add esp, 0xc
cmp byte [esp + 0x2b], 0
je 0x10090378
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x10446dd4]
cmp eax, dword [ecx + 4]
jle 0x100902ec
push 0x10446dd4
call fcn.1019bffa
add esp, 4
cmp dword [0x10446dd4], 0xffffffff
jne 0x100902ec
mov edx, 0xc60bf9f2
mov ecx, 0x101ea555
call fcn.1007da20
mov ecx, eax
call fcn.100d1920
push 0x10446dd4
mov dword [0x10446cac], eax
call fcn.1019bfa6
add esp, 4
mov eax, dword [0x10446cac]
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 [0x10226ca4]
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax + 0x10]
lea eax, [esi + 0x89c]
movss dword [esp + 4], xmm0
push dword [edi + 0x2920]
push eax
call fcn.1008cef0
mov byte [esi + 0x3ec4], al
mov eax, dword [0x10226ca4]
movss xmm0, dword [esp + 0x58]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax + 0x10]
movss dword [eax + 0x14], xmm0
mov eax, dword [0x10226ca4]
movss xmm0, dword [esp + 0x4c]
mov eax, dword [eax + 0x10]
movss dword [eax + 0x10], xmm0
mov eax, dword [esp + 0x10]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x10450778]
cmp eax, dword [ecx + 4]
jle 0x100903f3
push 0x10450778
call fcn.1019bffa
add esp, 4
cmp dword [0x10450778], 0xffffffff
jne 0x100903f3
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_fEffects
mov ecx, eax
call fcn.1008ccb0
push 0x10450778
mov dword [0x1045078c], eax
call fcn.1019bfa6
add esp, 4
mov eax, dword [0x1045078c]
mov ecx, dword [esp + 0x3f7c]
mov dword [eax + edi], ecx
mov eax, dword [0x10226ca8]
cmp byte [eax + 0xef8], 0
je 0x100908cb
mov eax, dword [0x10228e54]
mov ecx, dword [eax]
mov eax, dword [0x10226ca4]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x100908cb
cmp byte [esp + 0x2b], 0
je 0x100908bd
cmp dword [esi + 0x898], 0
je 0x100904d0
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov eax, dword [0x10446dd4]
mov ecx, dword [edi + edx*4]
mov edi, dword [esp + 0x2c]
cmp eax, dword [ecx + 4]
jle 0x100904a2
push 0x10446dd4
call fcn.1019bffa
add esp, 4
cmp dword [0x10446dd4], 0xffffffff
jne 0x100904a2
mov edx, 0xc60bf9f2
mov ecx, 0x101ea555
call fcn.1007da20
mov ecx, eax
call fcn.100d1920
push 0x10446dd4
mov dword [0x10446cac], eax
call fcn.1019bfa6
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 [0x10446cac]
ucomiss xmm0, dword [eax + edi]
lahf
test ah, 0x44
jnp 0x100908df
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.1019bd70
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.1019d810
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.1019d290
movaps xmm0, xmmword [0x101fae00]
lea eax, [esp + 0x8160]
lea ecx, [esp + 0x8178]
mov dword [esp + 0x3f88], eax
add esp, 0xc
mov dword [esp + 0x8164], 6
mov dword [esp + 0x8168], 5
mov dword [esp + 0x3f7c], eax
movups xmmword [esp + 0x8154], xmm0
cmp eax, ecx
je 0x1009074f
mov edx, dword [esp + 0x3f98]
mov edi, eax
mov esi, ecx
nop dword [eax + eax]
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 + 0x7c], xmm0
movss xmm0, dword [esp + eax*8 + 0x400c]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + eax*8 + 0x401c]
lea eax, [edx + 1]
movss dword [esp + 0x84], xmm0
cmp ecx, eax
ja 0x100906b3
push ecx
lea ecx, [esp + 0x3f8c]
call fcn.10090fc0
mov edx, dword [esp + 0x3f98]
mov ecx, dword [esp + 0x3f90]
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x3f94]
and ecx, eax
mov eax, dword [esp + 0x3f90]
add edx, ecx
mov dword [esp + 0x3f94], ecx
mov dword [esp + 0x4c], edx
lea ecx, [eax - 1]
and ecx, edx
mov edx, dword [esp + 0x3f8c]
mov dword [esp + 0x3f7c], ecx
cmp dword [edx + ecx*4], 0
jne 0x10090715
push 0xc
call fcn.1019bd70
mov edx, dword [esp + 0x3f80]
add esp, 4
mov ecx, dword [esp + 0x3f8c]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x3f8c]
mov eax, dword [esp + 0x3f90]
movq xmm0, qword [esp + 0x7c]
dec eax
and eax, dword [esp + 0x4c]
add edi, 4
mov ecx, dword [edx + eax*4]
mov eax, dword [esp + 0x84]
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 0x10090650
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0x898]
lea ecx, [esi + 0x888]
inc eax
cmp dword [ecx + 8], eax
ja 0x1009076d
push ecx
call fcn.10090e00
lea ecx, [esi + 0x888]
mov eax, dword [ecx + 8]
lea edx, [eax - 1]
and edx, dword [ecx + 0xc]
mov dword [ecx + 0xc], edx
cmove edx, eax
dec eax
dec edx
and eax, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x18]
mov eax, dword [ecx + 4]
cmp dword [eax + edi*4], 0
mov edi, dword [esp + 0x2c]
jne 0x100907ce
push 0x3093
call fcn.1019bd70
add esp, 4
test eax, eax
je 0x10090918
mov edx, dword [esp + 0x18]
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
mov eax, dword [esi + 0x88c]
mov dword [eax + edx*4], ecx
lea ecx, [esi + 0x888]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x3f88]
push eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 4]
dec eax
and eax, edx
mov ecx, dword [ecx + eax*4]
call fcn.100912a0
mov eax, dword [esp + 0x14]
inc dword [esi + 0x898]
mov dword [esi + 0x894], eax
mov ecx, dword [esi + 0x898]
cmp ecx, 3
jbe 0x10090894
mov edx, ecx
nop dword [eax + eax]
mov eax, dword [0x10226ca4]
movss xmm0, dword [esp + 0x5c]
mov eax, dword [eax + 0x10]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x101fa7dc]
cvttss2si eax, xmm0
cmp ecx, eax
jbe 0x10090894
mov ecx, dword [esp + 0x20]
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.10090d60
mov eax, dword [esi]
push 8
push eax
mov dword [esi], 0
call fcn.1019bd5d
mov esi, dword [esp + 0x28]
add esp, 8
mov ecx, dword [esi + 0x898]
sub ecx, 1
mov dword [esi + 0x898], ecx
je 0x1009088a
mov edx, ecx
cmp ecx, 3
ja 0x10090810
jmp 0x10090894
mov dword [esi + 0x894], 0
lea ecx, [esp + 0x3f88]
call fcn.10090d60
mov eax, dword [esp + 0x3f88]
push 8
push eax
mov dword [esp + 0x3f90], 0
call fcn.1019bd5d
add esp, 8
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x380]
call eax
jmp 0x100908df
lea ecx, [esi + 0x888]
call fcn.10090c90
jmp 0x100908df
mov ecx, esi
call fcn.1008d390
mov eax, dword [0x10226cb0]
mov esi, dword [esp + 0x50]
inc esi
mov dword [esp + 0x50], esi
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
cmp esi, eax
jle 0x1008ea00
mov ecx, dword [esp + 0x816c]
pop edi
pop esi
xor ecx, esp
call fcn.1019ba64
mov esp, ebp
pop ebp
ret
call fcn.10090c80
call fcn.101a0e96
int3