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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x4268
call fcn.1019b0f0
mov eax, dword [0x102070c0]
xor eax, esp
mov dword [esp + 0x4264], eax
mov eax, dword [0x10225d4c]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], eax
mov ecx, dword fs:[0x2c]
mov dword [esp + 0x18], ecx
mov edx, dword [ecx + eax*4]
mov eax, dword [0x10352c34]
cmp eax, dword [edx + 4]
jle 0x1008ea49
push 0x10352c34
call fcn.1019a827
add esp, 4
cmp dword [0x10352c34], 0xffffffff
jne 0x1008ea49
mov eax, dword [0x10224ca8]
xor edx, edx
movq xmm0, qword [str.CGmTFT_L_:]
mov dword [esp + 0x10], edx
mov esi, dword [eax + 8]
mov ax, word [0x101e8eb4]
mov word [esp + 0x94], ax
mov al, byte [0x101e8eb6]
movq qword [esp + 0x8c], xmm0
mov byte [esp + 0x96], al
nop dword [eax]
mov eax, 0x1f7047dd
mul edx
mov eax, dword [esp + 0x10]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [esp + 0x10]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x39
sub cl, al
add cl, 0x30
xor byte [esp + edx + 0x8c], cl
inc edx
mov dword [esp + 0x10], edx
cmp edx, 0xb
jl 0x1008e9f0
mov eax, dword [esi]
lea ecx, [esp + 0x8c]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x3c]
call eax
push 0x10352c34
mov dword [0x10352c48], eax
call fcn.1019a7d6
add esp, 4
mov eax, dword [0x10224ca0]
xorps xmm0, xmm0
movss xmm1, dword [0x101f8b68]
cmp byte [eax + 0xf00], 0
je 0x1008ea77
mov ecx, dword [eax + 0xf04]
test ecx, ecx
jle 0x1008ea77
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 0x1008eab9
mov eax, dword [0x10226524]
cmp dword [eax], 0
jne 0x1008eacd
mov esi, 0x10229d00
mov ecx, esi
call fcn.1008d430
add esi, 0x3ee0
cmp esi, 0x103293e0
jne 0x1008eaa4
pop edi
pop esi
mov ecx, dword [esp + 0x4264]
xor ecx, esp
call fcn.1019a294
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10224ca8]
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 0x1008eab9
fld dword [0x101f878c]
fstp dword [esp + 0x54]
mov eax, dword [0x10224ca8]
push esi
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
mov dword [esp + 0x30], edi
cmp esi, 0x41
jae 0x10090a8b
imul esi, esi, 0x3ee0
add esi, 0x10229d00
mov dword [esp + 0x1c], esi
test edi, edi
je 0x10090a50
mov eax, dword [0x10226524]
cmp edi, dword [eax]
je 0x10090a50
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x10090a50
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x10090a50
movss xmm0, dword [edi + 0x103c0]
ucomiss xmm0, dword [esi + 0x3ea0]
lahf
test ah, 0x44
jnp 0x1008eb82
mov ecx, esi
movss dword [esi + 0x3ea0], xmm0
call fcn.1008d520
mov eax, dword [edi + 0x299c]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [esp + 0x3f78]
shl ecx, 3
push ecx
push dword [edi + 0x2990]
push eax
call fcn.1019bac0
mov eax, dword [0x10224c9c]
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 + 0x14]
mov ecx, dword [esp + 0x18]
movss dword [esp + 0x4c], xmm0
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x10343950]
cmp eax, dword [ecx + 4]
jle 0x1008ec25
push 0x10343950
call fcn.1019a827
add esp, 4
cmp dword [0x10343950], 0xffffffff
jne 0x1008ec25
mov edx, 0xc60bf9f2
mov ecx, 0x101e8539
call fcn.1007d620
mov ecx, eax
call fcn.100d08c0
push 0x10343950
mov dword [0x10343828], eax
call fcn.1019a7d6
add esp, 4
mov eax, dword [0x10224c9c]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [eax + 0x10]
mov eax, dword [0x10343828]
mov eax, dword [eax + edi]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + edx*4]
mov ecx, dword [0x1034d2f8]
cmp ecx, dword [eax + 4]
jle 0x1008ec9a
push 0x1034d2f8
call fcn.1019a827
mov ecx, dword [0x1034d2f8]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1008ec96
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_fEffects
mov ecx, eax
call fcn.1008cd30
push 0x1034d2f8
mov dword [0x1034d30c], eax
call fcn.1019a7d6
mov ecx, dword [0x1034d2f8]
add esp, 4
mov edx, dword [esp + 0x14]
mov eax, dword [0x1034d30c]
mov eax, dword [eax + edi]
mov dword [esp + 0x8c], eax
mov eax, dword [esi + edx*4]
cmp ecx, dword [eax + 4]
jle 0x1008ecf5
push 0x1034d2f8
call fcn.1019a827
add esp, 4
cmp dword [0x1034d2f8], 0xffffffff
jne 0x1008ecf1
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_fEffects
mov ecx, eax
call fcn.1008cd30
push 0x1034d2f8
mov dword [0x1034d30c], eax
call fcn.1019a7d6
add esp, 4
mov edx, dword [esp + 0x14]
mov eax, dword [0x1034d30c]
mov byte [esp + 0x2f], 0
or dword [eax + edi], 8
mov eax, dword [esi + edx*4]
mov ecx, dword [0x10343950]
mov esi, dword [esp + 0x1c]
cmp ecx, dword [eax + 4]
jle 0x1008ed62
push 0x10343950
call fcn.1019a827
mov ecx, dword [0x10343950]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1008ed5e
mov edx, 0xc60bf9f2
mov ecx, 0x101e8539
call fcn.1007d620
mov ecx, eax
call fcn.100d08c0
push 0x10343950
mov dword [0x10343828], eax
call fcn.1019a7d6
mov ecx, dword [0x10343950]
add esp, 4
mov edx, dword [esp + 0x14]
mov eax, dword [0x10343828]
movss xmm0, dword [esi + 0x3ea4]
ucomiss xmm0, dword [eax + edi]
lahf
test ah, 0x44
jnp 0x1009041a
mov edi, dword [esp + 0x18]
mov eax, dword [edi + edx*4]
mov edi, dword [esp + 0x30]
cmp ecx, dword [eax + 4]
jle 0x1008edda
push 0x10343950
call fcn.1019a827
mov ecx, dword [0x10343950]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1008edd6
mov edx, 0xc60bf9f2
mov ecx, 0x101e8539
call fcn.1007d620
mov ecx, eax
call fcn.100d08c0
push 0x10343950
mov dword [0x10343828], eax
call fcn.1019a7d6
mov ecx, dword [0x10343950]
add esp, 4
mov edx, dword [esp + 0x14]
mov eax, dword [0x10343828]
movss xmm1, dword [esi + 0x3ea4]
movss xmm0, dword [eax + edi]
comiss xmm0, xmm1
jbe 0x1009041a
ucomiss xmm1, dword [0x101f8bd4]
mov byte [esp + 0x2f], 1
lahf
test ah, 0x44
jp 0x1008ee66
mov esi, dword [esp + 0x18]
mov eax, dword [esi + edx*4]
mov esi, dword [esp + 0x1c]
cmp ecx, dword [eax + 4]
jle 0x1008ee58
push 0x10343950
call fcn.1019a827
add esp, 4
cmp dword [0x10343950], 0xffffffff
jne 0x1008ee58
mov edx, 0xc60bf9f2
mov ecx, 0x101e8539
call fcn.1007d620
mov ecx, eax
call fcn.100d08c0
push 0x10343950
mov dword [0x10343828], eax
call fcn.1019a7d6
add esp, 4
mov eax, dword [0x10343828]
mov eax, dword [eax + edi]
mov dword [esi + 0x3ea4], eax
mov eax, dword [edi + 0x299c]
add esi, 0x3014
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esp + 0x1c]
shl ecx, 3
add eax, 0x32ec
push ecx
push esi
push eax
call fcn.1019bac0
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.1019bac0
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov edx, dword [esp + 0x18]
mov eax, dword [0x10343950]
mov esi, dword [edx + ecx*4]
cmp eax, dword [esi + 4]
jle 0x1008ef0a
push 0x10343950
call fcn.1019a827
add esp, 4
cmp dword [0x10343950], 0xffffffff
jne 0x1008ef0a
mov edx, 0xc60bf9f2
mov ecx, 0x101e8539
call fcn.1007d620
mov ecx, eax
call fcn.100d08c0
push 0x10343950
mov dword [0x10343828], eax
call fcn.1019a7d6
add esp, 4
mov eax, dword [0x10343828]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
movss xmm1, dword [eax + edi]
mov edi, dword [esp + 0x18]
subss xmm1, dword [esi + 0x3ea4]
mov eax, dword [0x10343950]
mov ecx, dword [edi + edx*4]
mov edi, dword [esp + 0x30]
andps xmm1, xmmword [0x101f9200]
movss dword [esp + 0x10], xmm1
cmp eax, dword [ecx + 4]
jle 0x1008ef8d
push 0x10343950
call fcn.1019a827
add esp, 4
cmp dword [0x10343950], 0xffffffff
jne 0x1008ef87
mov edx, 0xc60bf9f2
mov ecx, 0x101e8539
call fcn.1007d620
mov ecx, eax
call fcn.100d08c0
push 0x10343950
mov dword [0x10343828], eax
call fcn.1019a7d6
add esp, 4
movss xmm1, dword [esp + 0x10]
mov eax, dword [0x10343828]
movss xmm0, dword [esi + 0x3ea4]
ucomiss xmm0, dword [eax + edi]
lahf
test ah, 0x44
jnp 0x1008efbb
mov eax, dword [0x10224c9c]
movaps xmm0, xmm1
mov eax, dword [eax + 0x10]
divss xmm0, dword [eax + 0x20]
cvttss2si eax, xmm0
dec eax
jmp 0x1008efbd
xor eax, eax
lea ecx, [esi + 0x3eac]
mov dword [ecx], eax
mov dword [esp + 0x3c], ecx
call fcn.1018e5f0
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 0
xorps xmm1, xmm1
lea esi, [eax + 1]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], esi
mov ecx, dword [eax]
test ecx, ecx
cmovns edx, eax
cmp esi, ecx
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x28]
mov esi, dword [esp + 0x1c]
cmovge eax, edx
mov eax, dword [eax]
mov dword [ecx], eax
movss xmm0, dword [esi + 0x3e64]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1008f03b
movss xmm0, dword [esi + 0x3e68]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1008f03b
movss xmm0, dword [esi + 0x3e6c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1008f17b
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x10343950]
mov dword [esp + 0x34], ecx
cmp eax, dword [ecx + 4]
jle 0x1008f099
push 0x10343950
call fcn.1019a827
add esp, 4
cmp dword [0x10343950], 0xffffffff
jne 0x1008f095
mov edx, 0xc60bf9f2
mov ecx, 0x101e8539
call fcn.1007d620
mov ecx, eax
call fcn.100d08c0
push 0x10343950
mov dword [0x10343828], eax
call fcn.1019a7d6
add esp, 4
mov ecx, dword [esp + 0x34]
mov eax, dword [0x10343828]
movss xmm0, dword [esi + 0x3ea4]
ucomiss xmm0, dword [eax + edi]
lahf
test ah, 0x44
jnp 0x1008f17b
movq xmm0, qword [esi + 0x3e88]
mov eax, dword [esi + 0x3e90]
movq qword [esi + 0x3e94], xmm0
mov dword [esi + 0x3e9c], eax
mov eax, dword [0x103438e4]
cmp eax, dword [ecx + 4]
jle 0x1008f11b
push 0x103438e4
call fcn.1019a827
add esp, 4
cmp dword [0x103438e4], 0xffffffff
jne 0x1008f11b
mov edx, 0xc60bf9f2
mov ecx, 0x101e851d
call fcn.1007d620
mov ecx, eax
call fcn.100d08c0
push 0x103438e4
mov dword [0x103438a0], eax
call fcn.1019a7d6
add esp, 4
movss xmm1, dword [0x101f87f8]
divss xmm1, dword [esp + 0x10]
mov eax, dword [0x103438a0]
movss xmm0, dword [eax + edi]
subss xmm0, dword [esi + 0x3e64]
movss xmm4, dword [eax + edi + 4]
movss xmm5, dword [eax + edi + 8]
mulss xmm0, xmm1
movss dword [esi + 0x3e88], xmm0
subss xmm4, dword [esi + 0x3e68]
mulss xmm4, xmm1
movss dword [esi + 0x3e8c], xmm4
subss xmm5, dword [esi + 0x3e6c]
mulss xmm5, xmm1
movss dword [esi + 0x3e90], xmm5
mov ecx, edi
call fcn.1007d760
mov ecx, edi
mov eax, dword [eax]
mov eax, dword [eax + 0x9c]
mov dword [esi + 0x3ec0], eax
call fcn.1007d990
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esi + 0x3edc], eax
mov ecx, dword [edi + edx*4]
mov eax, dword [0x10343950]
mov edi, dword [esp + 0x30]
cmp eax, dword [ecx + 4]
jle 0x1008f1f9
push 0x10343950
call fcn.1019a827
add esp, 4
cmp dword [0x10343950], 0xffffffff
jne 0x1008f1f9
mov edx, 0xc60bf9f2
mov ecx, 0x101e8539
call fcn.1007d620
mov ecx, eax
call fcn.100d08c0
push 0x10343950
mov dword [0x10343828], eax
call fcn.1019a7d6
add esp, 4
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
movss xmm0, dword [esi + 0x3ea4]
mov eax, dword [edx + ecx*4]
mov ecx, dword [eax + 4]
mov eax, dword [0x10343828]
ucomiss xmm0, dword [eax + edi]
lahf
test ah, 0x44
jp 0x1008f316
cmp dword [0x1034a284], ecx
jle 0x1008f26b
push 0x1034a284
call fcn.1019a827
add esp, 4
cmp dword [0x1034a284], 0xffffffff
jne 0x1008f26b
mov edx, 0xc60bf9f2
mov ecx, 0x101e8e35
call fcn.1007d620
mov ecx, eax
call fcn.100d08c0
push 0x1034a284
mov dword [0x10343f58], eax
call fcn.1019a7d6
add esp, 4
mov eax, dword [0x10343f58]
mov edx, dword [esp + 0x14]
movss xmm0, dword [eax + edi]
mov edi, dword [esp + 0x18]
mov eax, dword [0x103438e4]
movss dword [esi + 0x3ed4], xmm0
movss dword [esi + 0x3ed8], xmm0
mov ecx, dword [edi + edx*4]
mov edi, dword [esp + 0x30]
cmp eax, dword [ecx + 4]
jle 0x1008f2df
push 0x103438e4
call fcn.1019a827
add esp, 4
cmp dword [0x103438e4], 0xffffffff
jne 0x1008f2df
mov edx, 0xc60bf9f2
mov ecx, 0x101e851d
call fcn.1007d620
mov ecx, eax
call fcn.100d08c0
push 0x103438e4
mov dword [0x103438a0], eax
call fcn.1019a7d6
add esp, 4
mov eax, dword [0x103438a0]
movq xmm0, qword [eax + edi]
movq qword [esi + 0x3e64], xmm0
mov eax, dword [eax + edi + 8]
mov dword [esi + 0x3e6c], eax
movq xmm0, qword [esi + 0x3e64]
movq qword [esi + 0x3e70], xmm0
mov dword [esi + 0x3e78], eax
jmp 0x1008f408
mov eax, dword [esi + 0x3ed4]
mov dword [esi + 0x3ed8], eax
cmp dword [0x1034a284], ecx
jle 0x1008f368
push 0x1034a284
call fcn.1019a827
add esp, 4
cmp dword [0x1034a284], 0xffffffff
jne 0x1008f368
mov edx, 0xc60bf9f2
mov ecx, 0x101e8e35
call fcn.1007d620
mov ecx, eax
call fcn.100d08c0
push 0x1034a284
mov dword [0x10343f58], eax
call fcn.1019a7d6
add esp, 4
mov eax, dword [0x10343f58]
mov edx, dword [esp + 0x14]
movq xmm0, qword [esi + 0x3e64]
mov eax, dword [eax + edi]
mov edi, dword [esp + 0x18]
mov dword [esi + 0x3ed4], eax
mov eax, dword [esi + 0x3e6c]
movq qword [esi + 0x3e70], xmm0
mov ecx, dword [edi + edx*4]
mov edi, dword [esp + 0x30]
mov dword [esi + 0x3e78], eax
mov eax, dword [0x103438e4]
cmp eax, dword [ecx + 4]
jle 0x1008f3ec
push 0x103438e4
call fcn.1019a827
add esp, 4
cmp dword [0x103438e4], 0xffffffff
jne 0x1008f3ec
mov edx, 0xc60bf9f2
mov ecx, 0x101e851d
call fcn.1007d620
mov ecx, eax
call fcn.100d08c0
push 0x103438e4
mov dword [0x103438a0], eax
call fcn.1019a7d6
add esp, 4
mov eax, dword [0x103438a0]
movq xmm0, qword [eax + edi]
movq qword [esi + 0x3e64], xmm0
mov eax, dword [eax + edi + 8]
mov dword [esi + 0x3e6c], eax
mov ecx, edi
call fcn.1007d990
test byte [eax], 1
je 0x1008f423
mov dword [esi + 0x3e90], 0
jmp 0x1008f627
movss xmm1, dword [0x101f87f8]
xorps xmm2, xmm2
subss xmm1, dword [esi + 0x329c]
comiss xmm1, xmm2
jbe 0x1008f5d4
movss xmm0, dword [esi + 0x357c]
ucomiss xmm0, dword [esi + 0x32a4]
lahf
test ah, 0x44
jp 0x1008f5d4
mov eax, dword [esi + 0x356c]
cmp eax, dword [esi + 0x3294]
jne 0x1008f5d4
divss xmm1, dword [0x101f8910]
addss xmm1, dword [0x101f8794]
comiss xmm1, xmm2
movss dword [esp + 0x28], xmm1
jbe 0x1008f5d4
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x430]
call eax
test eax, eax
je 0x1008f4d9
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.101a7c18
fstp dword [esp + 0x28]
movss xmm0, dword [esp + 0x28]
add esp, 8
jmp 0x1008f4e1
movss xmm0, dword [0x101f8b04]
mulss xmm0, dword [esp + 0x28]
comiss xmm0, dword [0x101f8698]
movss dword [esp + 0x38], xmm0
jbe 0x1008f5d4
movss xmm0, dword [esi + 0x3e88]
movss xmm1, dword [esi + 0x3e8c]
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 0x1008f540
sqrtsd xmm0, xmm0
jmp 0x1008f545
call fcn.101c2660
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [0x101f8698]
jbe 0x1008f5d4
movss xmm1, dword [esi + 0x3e90]
movaps xmm0, xmm1
movss dword [esp + 0x34], xmm1
mulss xmm0, xmm1
xorps xmm1, xmm1
addss xmm0, dword [esp + 0x20]
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1008f583
sqrtsd xmm0, xmm0
jmp 0x1008f588
call fcn.101c2660
movss xmm1, dword [esp + 0x28]
cvtsd2ss xmm0, xmm0
movss xmm2, dword [esp + 0x38]
divss xmm1, xmm0
mulss xmm1, xmm2
movss dword [esi + 0x3e88], xmm1
movss xmm1, dword [esp + 0x48]
divss xmm1, xmm0
mulss xmm1, xmm2
movss dword [esi + 0x3e8c], xmm1
movss xmm1, dword [esp + 0x34]
divss xmm1, xmm0
mulss xmm1, xmm2
movss dword [esi + 0x3e90], xmm1
mov eax, dword [0x10224c9c]
movd xmm0, dword [esi + 0x3eac]
mov ecx, dword [0x10352c48]
cvtdq2ps xmm0, xmm0
mov eax, dword [eax + 0x10]
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 + 0x54]
movss xmm0, dword [esi + 0x3e90]
fmul dword [esp + 0x28]
fstp dword [esp + 0x20]
subss xmm0, dword [esp + 0x20]
movss dword [esi + 0x3e90], xmm0
mov ecx, edi
call fcn.1007d990
test byte [eax], 1
je 0x1008f7ce
movss xmm0, dword [esi + 0x329c]
comiss xmm0, dword [0x101f8698]
jbe 0x1008f7ce
movss xmm3, dword [0x101f87f8]
comiss xmm3, xmm0
jbe 0x1008f7ce
movss xmm0, dword [esi + 0x32a8]
comiss xmm0, dword [esi + 0x3580]
jbe 0x1008f7ce
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x430]
call eax
test eax, eax
je 0x1008f6c2
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.101a7c18
fstp dword [esp + 0x28]
movss xmm1, dword [esp + 0x28]
add esp, 8
jmp 0x1008f6ca
movss xmm1, dword [0x101f8b04]
movss xmm3, dword [0x101f87f8]
xorps xmm2, xmm2
movaps xmm0, xmm3
subss xmm0, dword [esi + 0x329c]
mulss xmm0, dword [0x101f877c]
comiss xmm0, xmm2
jbe 0x1008f7ce
comiss xmm3, xmm0
jbe 0x1008f7ce
addss xmm0, dword [0x101f8794]
mulss xmm0, xmm1
comiss xmm0, xmm2
movss dword [esp + 0x20], xmm0
jbe 0x1008f7ce
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x10343940]
cmp eax, dword [ecx + 4]
jle 0x1008f76b
push 0x10343940
call fcn.1019a827
add esp, 4
cmp dword [0x10343940], 0xffffffff
jne 0x1008f76b
mov edx, 0xc60bf9f2
mov ecx, 0x101e85d5
call fcn.1007d620
mov ecx, eax
call fcn.100d08c0
push 0x10343940
mov dword [0x10343894], eax
call fcn.1019a7d6
add esp, 4
mov eax, dword [0x10343894]
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 0x1008f799
sqrtsd xmm0, xmm0
jmp 0x1008f79e
call fcn.101c2660
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
divss xmm1, dword [esp + 0x20]
movaps xmm0, xmm1
mulss xmm1, dword [esi + 0x3e8c]
mulss xmm0, dword [esi + 0x3e88]
movss dword [esi + 0x3e8c], xmm1
movss dword [esi + 0x3e88], xmm0
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x318c]
jae 0x1008f7e3
comiss xmm0, dword [esi + 0x3184]
jb 0x1008f803
mov ecx, edi
call fcn.1007d990
test byte [eax], 1
je 0x1008f803
mov dword [esi + 0x3e88], 0
mov dword [esi + 0x3e8c], 0
push esi
lea ecx, [esp + 0x9c]
call fcn.10090aa0
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x1008f86a
cmp dword [esp + 0x3f44], 0
jle 0x1008f86a
mov eax, 0x3ee0
call fcn.1019b0f0
lea eax, [esp + 0x3f78]
mov ecx, esp
push eax
call fcn.10090aa0
mov ecx, edi
call fcn.100ab790
mov eax, 0x3ee0
call fcn.1019b0f0
lea eax, [esp + 0x3f78]
mov ecx, esp
push eax
call fcn.10090aa0
mov ecx, edi
call fcn.100ac2d0
lea ecx, [esp + 0x98]
call fcn.10090d70
mov eax, dword [esp + 0x98]
push 8
push eax
mov dword [esp + 0xa0], 0
call fcn.1019a58d
mov eax, dword [esi + 0x3eac]
add esp, 8
mov byte [0x1034d31c], 1
test eax, eax
jg 0x1008fa0e
mov esi, dword [0x10224c9c]
mov ecx, edi
call fcn.1007d760
mov ecx, dword [esi + 0x10]
mov eax, dword [eax]
mov eax, dword [eax + 0x70]
cmp eax, dword [ecx + 4]
jne 0x1008f8ce
mov ecx, edi
call fcn.1007d760
mov eax, dword [eax]
dec dword [eax + 0x70]
mov esi, dword [0x10224c9c]
mov ecx, edi
call fcn.1007d760
mov ecx, dword [esi + 0x10]
mov eax, dword [eax]
movss xmm0, dword [eax + 0x6c]
ucomiss xmm0, dword [ecx + 0x10]
lahf
test ah, 0x44
jp 0x1008f91b
mov eax, dword [0x10224c9c]
mov ecx, edi
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax + 0x20]
movss dword [esp + 0x20], xmm0
call fcn.1007d760
movss xmm0, dword [esp + 0x20]
mov eax, dword [eax]
addss xmm0, dword [eax + 0x6c]
movss dword [eax + 0x6c], xmm0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + eax*4]
mov eax, dword [0x10347278]
cmp eax, dword [esi + 4]
jle 0x1008f970
push 0x10347278
call fcn.1019a827
add esp, 4
cmp dword [0x10347278], 0xffffffff
jne 0x1008f970
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_iEFlags
mov ecx, eax
call fcn.1008cd30
push 0x10347278
mov dword [0x10343f48], eax
call fcn.1019a7d6
add esp, 4
mov eax, dword [0x10343f48]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
and dword [eax + edi], 0xffffefff
mov eax, dword [esi + 0x3e90]
movq xmm0, qword [esi + 0x3e88]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [0x10343f80]
movq qword [esp + 0x40], xmm0
mov ecx, dword [esi + edx*4]
mov esi, dword [esp + 0x1c]
cmp eax, dword [ecx + 4]
jle 0x1008f9f7
push 0x10343f80
call fcn.1019a827
add esp, 4
cmp dword [0x10343f80], 0xffffffff
jne 0x1008f9f1
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_vecAbsVelocity
mov ecx, eax
call fcn.1008cd30
push 0x10343f80
mov dword [0x1034a280], eax
call fcn.1019a7d6
add esp, 4
movq xmm0, qword [esp + 0x40]
mov eax, dword [0x1034a280]
mov ecx, dword [esp + 0x20]
movq qword [eax + edi], xmm0
mov dword [eax + edi + 8], ecx
jmp 0x1008ff2b
mov ecx, 1
inc eax
mov dword [esp + 0x20], ecx
cmp eax, ecx
jl 0x1008fdd9
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x10], eax
nop
mov eax, dword [0x10224c9c]
movd xmm0, ecx
mov ecx, dword [esp + 0x10]
cvtdq2ps xmm0, xmm0
mov eax, dword [eax + 0x10]
mulss xmm0, dword [eax + 0x20]
mov eax, dword [0x10343950]
addss xmm0, dword [esi + 0x3ea4]
movss dword [esp + 0x28], xmm0
cmp eax, dword [ecx + 4]
jle 0x1008faab
push 0x10343950
call fcn.1019a827
mov eax, dword [0x10343950]
add esp, 4
cmp eax, 0xffffffff
jne 0x1008faa7
mov edx, 0xc60bf9f2
mov ecx, 0x101e8539
call fcn.1007d620
mov ecx, eax
call fcn.100d08c0
push 0x10343950
mov dword [0x10343828], eax
call fcn.1019a7d6
mov eax, dword [0x10343950]
add esp, 4
mov ecx, dword [esp + 0x10]
mov edx, dword [0x10343828]
mov dword [esp + 0x38], edx
cmp eax, dword [ecx + 4]
jle 0x1008faff
push 0x10343950
call fcn.1019a827
add esp, 4
cmp dword [0x10343950], 0xffffffff
jne 0x1008fafb
mov edx, 0xc60bf9f2
mov ecx, 0x101e8539
call fcn.1007d620
mov ecx, eax
call fcn.100d08c0
push 0x10343950
mov dword [0x10343828], eax
call fcn.1019a7d6
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [0x10343828]
movss xmm2, dword [esp + 0x28]
movss xmm1, dword [eax + edi]
mov eax, dword [esp + 0x38]
subss xmm1, xmm2
movss xmm0, dword [eax + edi]
subss xmm0, dword [esi + 0x3ea4]
mov eax, dword [0x10224c9c]
divss xmm1, xmm0
mov eax, dword [eax + 0x10]
movss xmm0, dword [0x101f87f8]
subss xmm0, xmm1
movss dword [esp + 0x34], xmm0
movss xmm0, dword [eax + 0x10]
movss dword [eax + 0x10], xmm2
mov eax, dword [0x10347278]
movss dword [esp + 0x40], xmm0
cmp eax, dword [ecx + 4]
jle 0x1008fba0
push 0x10347278
call fcn.1019a827
add esp, 4
cmp dword [0x10347278], 0xffffffff
jne 0x1008fb9c
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_iEFlags
mov ecx, eax
call fcn.1008cd30
push 0x10347278
mov dword [0x10343f48], eax
call fcn.1019a7d6
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [0x10343f48]
and dword [eax + edi], 0xffffefff
movq xmm0, qword [esi + 0x3e94]
mov eax, dword [esi + 0x3e9c]
movq qword [esp + 0x60], xmm0
movq xmm0, qword [esi + 0x3e88]
movss xmm1, dword [esp + 0x60]
movss xmm2, dword [esp + 0x64]
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x3e90]
movss xmm3, dword [esp + 0x68]
movq qword [esp + 0x74], xmm0
subss xmm1, dword [esp + 0x74]
subss xmm2, dword [esp + 0x78]
mov dword [esp + 0x7c], eax
subss xmm3, dword [esp + 0x7c]
mov eax, dword [0x10343f80]
mulss xmm1, dword [esp + 0x34]
mulss xmm2, dword [esp + 0x34]
mulss xmm3, dword [esp + 0x34]
addss xmm1, dword [esp + 0x74]
addss xmm2, dword [esp + 0x78]
addss xmm3, dword [esp + 0x7c]
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x28], xmm3
cmp eax, dword [ecx + 4]
jle 0x1008fc92
push 0x10343f80
call fcn.1019a827
add esp, 4
cmp dword [0x10343f80], 0xffffffff
jne 0x1008fc80
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_vecAbsVelocity
mov ecx, eax
call fcn.1008cd30
push 0x10343f80
mov dword [0x1034a280], eax
call fcn.1019a7d6
add esp, 4
movss xmm3, dword [esp + 0x28]
movss xmm2, dword [esp + 0x38]
movss xmm1, dword [esp + 0x48]
mov eax, dword [0x1034a280]
movss dword [eax + edi], xmm1
movss dword [eax + edi + 4], xmm2
movss dword [eax + edi + 8], xmm3
movss xmm0, dword [esi + 0x3ed4]
movss xmm1, dword [esi + 0x3ed8]
mov esi, dword [esp + 0x10]
subss xmm1, xmm0
mov eax, dword [0x1034a284]
mulss xmm1, dword [esp + 0x34]
addss xmm1, xmm0
movss dword [esp + 0x28], xmm1
cmp eax, dword [esi + 4]
jle 0x1008fd21
push 0x1034a284
call fcn.1019a827
add esp, 4
cmp dword [0x1034a284], 0xffffffff
jne 0x1008fd1b
mov edx, 0xc60bf9f2
mov ecx, 0x101e8e35
call fcn.1007d620
mov ecx, eax
call fcn.100d08c0
push 0x1034a284
mov dword [0x10343f58], eax
call fcn.1019a7d6
add esp, 4
movss xmm1, dword [esp + 0x28]
mov eax, dword [0x10343f58]
mov ecx, edi
movss dword [eax + edi], xmm1
mov esi, dword [0x10224c9c]
call fcn.1007d760
mov ecx, dword [esi + 0x10]
mov eax, dword [eax]
mov eax, dword [eax + 0x70]
cmp eax, dword [ecx + 4]
jne 0x1008fd51
mov ecx, edi
call fcn.1007d760
mov eax, dword [eax]
dec dword [eax + 0x70]
mov esi, dword [0x10224c9c]
mov ecx, edi
call fcn.1007d760
mov ecx, dword [esi + 0x10]
mov eax, dword [eax]
movss xmm0, dword [eax + 0x6c]
ucomiss xmm0, dword [ecx + 0x10]
lahf
test ah, 0x44
jp 0x1008fd9e
mov eax, dword [0x10224c9c]
mov ecx, edi
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax + 0x20]
movss dword [esp + 0x28], xmm0
call fcn.1007d760
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 [0x10224c9c]
movss xmm0, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
inc ecx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x20], ecx
movss dword [eax + 0x10], xmm0
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
inc eax
cmp ecx, eax
jle 0x1008fa30
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x10], eax
mov ecx, eax
mov eax, dword [0x10347278]
cmp eax, dword [ecx + 4]
jle 0x1008fe38
push 0x10347278
call fcn.1019a827
add esp, 4
cmp dword [0x10347278], 0xffffffff
jne 0x1008fe34
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_iEFlags
mov ecx, eax
call fcn.1008cd30
push 0x10347278
mov dword [0x10343f48], eax
call fcn.1019a7d6
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [0x10343f48]
and dword [eax + edi], 0xffffefff
mov eax, dword [esi + 0x3e90]
movq xmm0, qword [esi + 0x3e88]
mov dword [esp + 0x40], eax
mov eax, dword [0x10343f80]
movq qword [esp + 0x20], xmm0
cmp eax, dword [ecx + 4]
jle 0x1008feb0
push 0x10343f80
call fcn.1019a827
add esp, 4
cmp dword [0x10343f80], 0xffffffff
jne 0x1008fea6
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_vecAbsVelocity
mov ecx, eax
call fcn.1008cd30
push 0x10343f80
mov dword [0x1034a280], eax
call fcn.1019a7d6
add esp, 4
mov ecx, dword [esp + 0x10]
movq xmm0, qword [esp + 0x20]
mov eax, dword [0x1034a280]
mov edx, dword [esp + 0x40]
movq qword [eax + edi], xmm0
mov dword [eax + edi + 8], edx
movss xmm0, dword [esi + 0x3ed4]
mov eax, dword [0x1034a284]
movss dword [esp + 0x20], xmm0
cmp eax, dword [ecx + 4]
jle 0x1008ff21
push 0x1034a284
call fcn.1019a827
add esp, 4
cmp dword [0x1034a284], 0xffffffff
jne 0x1008ff1b
mov edx, 0xc60bf9f2
mov ecx, 0x101e8e35
call fcn.1007d620
mov ecx, eax
call fcn.100d08c0
push 0x1034a284
mov dword [0x10343f58], eax
call fcn.1019a7d6
add esp, 4
movss xmm0, dword [esp + 0x20]
mov eax, dword [0x10343f58]
movss dword [eax + edi], xmm0
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x380]
call eax
push esi
lea ecx, [esp + 0x9c]
mov byte [0x1034d31c], 0
call fcn.10090aa0
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x1008ffc5
cmp dword [esp + 0x3f44], 0
jle 0x1008ffc5
mov eax, 0x3ee0
call fcn.1019b0f0
lea eax, [esp + 0x3f78]
mov ecx, esp
push eax
call fcn.10090aa0
mov ecx, edi
call fcn.100ab790
mov eax, 0x3ee0
call fcn.1019b0f0
lea eax, [esp + 0x3f78]
mov ecx, esp
push eax
call fcn.10090aa0
mov ecx, edi
call fcn.100ac1f0
mov eax, 0x3ee0
call fcn.1019b0f0
lea eax, [esp + 0x3f78]
mov ecx, esp
push eax
call fcn.10090aa0
mov ecx, edi
call fcn.100ac2d0
lea ecx, [esp + 0x98]
call fcn.10090d70
mov eax, dword [esp + 0x98]
push 8
push eax
mov dword [esp + 0xa0], 0
call fcn.1019a58d
mov eax, dword [esp + 0x1c]
add esp, 8
mov ecx, dword [esp + 0x18]
mov edx, dword [0x10343950]
mov eax, dword [ecx + eax*4]
cmp edx, dword [eax + 4]
jle 0x1009004d
push 0x10343950
call fcn.1019a827
mov edx, dword [0x10343950]
add esp, 4
cmp edx, 0xffffffff
jne 0x1009004d
mov edx, 0xc60bf9f2
mov ecx, 0x101e8539
call fcn.1007d620
mov ecx, eax
call fcn.100d08c0
push 0x10343950
mov dword [0x10343828], eax
call fcn.1019a7d6
mov edx, dword [0x10343950]
add esp, 4
mov eax, dword [0x10224c9c]
mov ecx, dword [eax + 0x10]
mov eax, dword [0x10343828]
movss xmm0, dword [ecx + 0x20]
movss xmm1, dword [eax + edi]
subss xmm1, dword [esi + 0x3ea4]
comiss xmm0, xmm1
ja 0x100900c6
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + ecx*4]
mov esi, dword [esp + 0x1c]
cmp edx, dword [eax + 4]
jle 0x100900c6
push 0x10343950
call fcn.1019a827
add esp, 4
cmp dword [0x10343950], 0xffffffff
jne 0x100900c6
mov edx, 0xc60bf9f2
mov ecx, 0x101e8539
call fcn.1007d620
mov ecx, eax
call fcn.100d08c0
push 0x10343950
mov dword [0x10343828], eax
call fcn.1019a7d6
add esp, 4
mov ecx, edi
call fcn.1007d990
test byte [eax], 1
jne 0x1009041a
mov ecx, edi
call fcn.1007d760
mov eax, dword [eax]
mov ecx, dword [eax + 0x60]
mov edx, dword [ecx + 0x2990]
add edx, 0xe0
je 0x1009041a
mov eax, dword [0x10224c9c]
push dword [edx + 0x18]
mov eax, dword [eax + 0x34]
call eax
mov dword [esp + 0x40], eax
cmp eax, 0x3da
je 0x10090117
cmp eax, 0x3d9
jne 0x1009041a
mov ecx, dword [edi + 0x299c]
lea eax, [esp + 0x98]
mov esi, dword [esp + 0x30]
lea edi, [ecx*8]
mov esi, dword [esi + 0x2990]
sub edi, ecx
shl edi, 3
push edi
push esi
push eax
call fcn.1019bac0
mov eax, dword [esp + 0x28]
add esp, 0xc
add eax, 0x32ec
push edi
push eax
push esi
call fcn.1019bac0
mov edi, dword [esp + 0x3c]
add esp, 0xc
mov ecx, edi
call fcn.1007d760
mov eax, dword [eax]
mov ecx, dword [eax + 0x60]
mov edx, dword [ecx + 0x2990]
add edx, 0xe0
je 0x10090188
mov eax, dword [0x10224c9c]
push dword [edx + 0x18]
mov eax, dword [eax + 0x34]
call eax
mov esi, eax
jmp 0x1009018b
or esi, 0xffffffff
mov eax, dword [edi + 0x299c]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [esp + 0x98]
shl ecx, 3
push ecx
push eax
push dword [edi + 0x2990]
call fcn.1019bac0
add esp, 0xc
cmp esi, dword [esp + 0x40]
je 0x100901c7
mov ecx, edi
call fcn.1007d760
mov esi, dword [esp + 0x1c]
jmp 0x100901e9
mov esi, dword [esp + 0x1c]
movss xmm0, dword [esi + 0x33f8]
comiss xmm0, dword [esi + 0x3120]
movss dword [esp + 0x3c], xmm0
jbe 0x100901fe
mov ecx, edi
call fcn.1007d760
mov eax, dword [eax]
xorps xmm0, xmm0
movss dword [esp + 0x3c], xmm0
mov dword [eax + 0x110], 0
mov ecx, edi
call fcn.1007d760
movss xmm0, dword [esi + 0x311c]
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov edx, dword [eax]
cmp byte [edx + 0x128], cl
jne 0x10090281
xorps xmm4, xmm4
comiss xmm4, xmm0
jae 0x10090281
movss xmm3, dword [esi + 0x3120]
movss xmm1, dword [esp + 0x3c]
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jnp 0x10090271
movss xmm2, dword [edx + 0x74]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x10090257
mov eax, dword [0x10224c9c]
mov eax, dword [eax + 0x10]
movss xmm2, dword [eax + 0x20]
comiss xmm3, xmm1
jbe 0x10090271
mulss xmm2, xmm0
movaps xmm0, xmm2
inc ecx
addss xmm1, xmm0
comiss xmm3, xmm1
ja 0x10090260
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x10090281
movaps xmm0, xmm3
comiss xmm0, dword [0x101f87ec]
jb 0x1009028a
mov esi, dword [esi + 0x3eac]
inc esi
jmp 0x1009028e
mov esi, dword [esp + 0x20]
mov ecx, edi
call fcn.1007d760
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.1007d760
movss xmm0, dword [esp + 0x40]
mov ecx, edi
mov eax, dword [eax]
movss dword [eax + 0x110], xmm0
call fcn.1007d760
mov ecx, edi
mov dword [esp + 0x48], 0x3f800000
mov dword [esp + 0x38], 0
mov dword [esp + 0x28], 0x3f800000
mov eax, dword [eax]
add eax, 0x228
mov dword [esp + 0x40], 0
mov dword [esp + 0x10], eax
call fcn.1007d760
xorps xmm3, xmm3
movss xmm2, dword [0x101f8918]
lea ecx, [esp + 0x40]
lea esi, [esp + 0x48]
mov eax, dword [eax]
movss xmm0, dword [eax + 0x110]
lea eax, [esp + 0x20]
subss xmm0, dword [0x101f87b4]
divss xmm0, dword [0x101f87c4]
comiss xmm3, xmm0
movss dword [esp + 0x20], xmm0
cmovbe ecx, eax
lea eax, [esp + 0x28]
comiss xmm0, dword [0x101f87f8]
cmovbe eax, ecx
lea ecx, [esp + 0x40]
movss xmm1, dword [eax]
lea eax, [esp + 0x38]
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 [0x101f87f8]
cmovbe esi, eax
mov eax, dword [esp + 0x10]
cmp byte [eax], 0
jne 0x100903e0
mov edi, dword [eax + 8]
mov eax, dword [0x10224ca8]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
call eax
mov eax, dword [esp + 0x10]
push edi
mov dword [eax + 8], edi
mov eax, dword [0x10224c9c]
mov edi, dword [esp + 0x34]
mov eax, dword [eax + 0x168]
push dword [edi + 0x2950]
call eax
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], eax
cmp eax, 0xffffffff
je 0x100903c5
mov byte [ecx], 1
mov eax, dword [0x10224ca8]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x88]
call eax
mov eax, dword [esp + 0x10]
cmp byte [eax], 0
je 0x10090416
mov eax, dword [0x10224ca8]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
call eax
mov eax, dword [esp + 0x10]
mov ecx, edi
movss xmm1, dword [esi]
push dword [eax + 4]
call fcn.1008cdd0
mov eax, dword [0x10224ca8]
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 + 0x3f78]
shl ecx, 3
push ecx
push eax
push dword [edi + 0x2990]
call fcn.1019bac0
add esp, 0xc
cmp byte [esp + 0x2f], 0
je 0x1009052d
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x10343950]
cmp eax, dword [ecx + 4]
jle 0x100904a4
push 0x10343950
call fcn.1019a827
add esp, 4
cmp dword [0x10343950], 0xffffffff
jne 0x100904a4
mov edx, 0xc60bf9f2
mov ecx, 0x101e8539
call fcn.1007d620
mov ecx, eax
call fcn.100d08c0
push 0x10343950
mov dword [0x10343828], eax
call fcn.1019a7d6
add esp, 4
mov eax, dword [0x10343828]
mov ecx, edi
mov eax, dword [eax + edi]
mov dword [esi + 0x3ea4], 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 + 0x3e4c], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 0x3e54], 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 + 0x3e58], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 0x3e60], eax
mov eax, dword [0x10224c9c]
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.1008cf60
mov byte [esi + 0x3eb4], al
mov eax, dword [0x10224c9c]
movss xmm0, dword [esp + 0x58]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
movss dword [eax + 0x14], xmm0
mov eax, dword [0x10224c9c]
movss xmm0, dword [esp + 0x4c]
mov eax, dword [eax + 0x10]
movss dword [eax + 0x10], xmm0
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x1034d2f8]
cmp eax, dword [ecx + 4]
jle 0x100905a8
push 0x1034d2f8
call fcn.1019a827
add esp, 4
cmp dword [0x1034d2f8], 0xffffffff
jne 0x100905a8
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_fEffects
mov ecx, eax
call fcn.1008cd30
push 0x1034d2f8
mov dword [0x1034d30c], eax
call fcn.1019a7d6
add esp, 4
mov eax, dword [0x1034d30c]
mov ecx, dword [esp + 0x8c]
mov dword [eax + edi], ecx
mov eax, dword [0x10224ca0]
cmp byte [eax + 0xef8], 0
je 0x10090a47
mov eax, dword [0x10226524]
mov ecx, dword [eax]
mov eax, dword [0x10224c9c]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x10090a47
cmp byte [esp + 0x2f], 0
je 0x10090a39
cmp dword [esi + 0x10], 0
je 0x10090687
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
dec ecx
and ecx, dword [esi + 0xc]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x8c], eax
mov ecx, dword [esi + edx*4]
mov eax, dword [0x10343950]
mov esi, dword [esp + 0x1c]
cmp eax, dword [ecx + 4]
jle 0x10090668
push 0x10343950
call fcn.1019a827
add esp, 4
cmp dword [0x10343950], 0xffffffff
jne 0x10090668
mov edx, 0xc60bf9f2
mov ecx, 0x101e8539
call fcn.1007d620
mov ecx, eax
call fcn.100d08c0
push 0x10343950
mov dword [0x10343828], eax
call fcn.1019a7d6
add esp, 4
mov eax, dword [esp + 0x8c]
movss xmm0, dword [eax + 0x58]
mov eax, dword [0x10343828]
ucomiss xmm0, dword [eax + edi]
lahf
test ah, 0x44
jnp 0x10090a57
push 8
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
call fcn.1019a5a0
add esp, 4
lea ecx, [esp + 0x98]
mov dword [eax + 4], 0
mov dword [esp + 0x98], eax
push 0x54
mov dword [eax], ecx
lea eax, [esp + 0xb0]
push 0
push eax
call fcn.1019c040
movq xmm0, qword [esi + 0x3e64]
add esp, 0xc
mov eax, dword [esi + 0x3e6c]
mov dword [esp + 0xb8], eax
mov eax, dword [esi + 0x3e84]
movq qword [esp + 0xb0], xmm0
movq xmm0, qword [esi + 0x3e7c]
mov dword [esp + 0xd4], eax
mov eax, dword [esi + 0x3e54]
movq qword [esp + 0xcc], xmm0
movss xmm0, dword [esi + 0x3ea4]
mov dword [esp + 0xe0], eax
mov eax, dword [esi + 0x3e60]
mov dword [esp + 0xec], eax
lea eax, [esi + 0x14]
movss dword [esp + 0xf0], xmm0
movq xmm0, qword [esi + 0x3e4c]
push 0x3000
push eax
movq qword [esp + 0xe0], xmm0
lea eax, [esp + 0x108]
movq xmm0, qword [esi + 0x3e58]
push eax
mov dword [esp + 0x310c], 0
mov byte [esp + 0x3110], 0
movq qword [esp + 0xf0], xmm0
call fcn.1019bac0
movaps xmm0, xmmword [0x101f8d90]
lea eax, [esp + 0x4260]
lea ecx, [esp + 0x4278]
mov dword [esp + 0x98], eax
add esp, 0xc
mov dword [esp + 0x4264], 6
mov dword [esp + 0x4268], 5
mov dword [esp + 0x8c], eax
movups xmmword [esp + 0x4254], xmm0
cmp eax, ecx
je 0x10090909
mov edx, dword [esp + 0xa8]
mov edi, eax
mov esi, ecx
nop dword [eax]
mov eax, dword [edi]
mov ecx, dword [esp + 0xa0]
lea eax, [eax + eax*2]
add eax, eax
movss xmm0, dword [esp + eax*8 + 0x10c]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + eax*8 + 0x11c]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + eax*8 + 0x12c]
lea eax, [edx + 1]
movss dword [esp + 0x88], xmm0
cmp ecx, eax
ja 0x10090866
push ecx
lea ecx, [esp + 0x9c]
call fcn.100910a0
mov edx, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa0]
lea eax, [ecx - 1]
mov ecx, dword [esp + 0xa4]
and ecx, eax
mov eax, dword [esp + 0xa0]
add edx, ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x4c], edx
lea ecx, [eax - 1]
and ecx, edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x8c], ecx
cmp dword [edx + ecx*4], 0
jne 0x100908c8
push 0xc
call fcn.1019a5a0
mov edx, dword [esp + 0x90]
add esp, 4
mov ecx, dword [esp + 0x9c]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0xa0]
movq xmm0, qword [esp + 0x80]
dec eax
and eax, dword [esp + 0x4c]
add edi, 4
mov ecx, dword [edx + eax*4]
mov eax, dword [esp + 0x88]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov edx, dword [esp + 0xa8]
inc edx
mov dword [esp + 0xa8], edx
cmp edi, esi
jne 0x10090800
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x10]
inc eax
cmp dword [esi + 8], eax
ja 0x1009091a
push ecx
mov ecx, esi
call fcn.10090ee0
mov eax, dword [esi + 8]
lea ecx, [eax - 1]
and ecx, dword [esi + 0xc]
lea edx, [eax - 1]
mov dword [esi + 0xc], ecx
cmove ecx, eax
mov eax, dword [esi + 4]
dec ecx
and edx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x8c], edx
cmp dword [eax + edx*4], 0
jne 0x10090972
push 0x3093
call fcn.1019a5a0
add esp, 4
test eax, eax
je 0x10090a90
mov edx, dword [esp + 0x8c]
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 [esp + 0x20]
lea eax, [esp + 0x98]
push eax
mov eax, dword [esi + 8]
dec eax
and eax, ecx
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + eax*4]
call fcn.100912f0
mov ecx, dword [esi + 0x10]
mov eax, dword [esp + 0x20]
inc ecx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
cmp ecx, 3
jbe 0x10090a10
nop
mov eax, dword [0x10224c9c]
movss xmm0, dword [esp + 0x5c]
mov eax, dword [eax + 0x10]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x101f878c]
cvttss2si eax, xmm0
cmp ecx, eax
jbe 0x10090a10
mov esi, dword [esi + 0xc]
dec ecx
add esi, ecx
mov ecx, dword [esp + 0x1c]
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.10090e40
mov eax, dword [esi]
push 8
push eax
mov dword [esi], 0
call fcn.1019a58d
mov esi, dword [esp + 0x24]
add esp, 8
mov ecx, dword [esi + 0x10]
sub ecx, 1
mov dword [esi + 0x10], ecx
je 0x10090a09
cmp ecx, 3
ja 0x100909a0
jmp 0x10090a10
mov dword [esi + 0xc], 0
lea ecx, [esp + 0x98]
call fcn.10090e40
mov eax, dword [esp + 0x98]
push 8
push eax
mov dword [esp + 0xa0], 0
call fcn.1019a58d
add esp, 8
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x380]
call eax
jmp 0x10090a57
mov ecx, esi
call fcn.10090d70
jmp 0x10090a57
mov ecx, esi
call fcn.1008d430
mov eax, dword [0x10224ca8]
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 0x1008eaf3
mov ecx, dword [esp + 0x426c]
pop edi
pop esi
xor ecx, esp
call fcn.1019a294
mov esp, ebp
pop ebp
ret
call fcn.10090d60
call fcn.1019f6c6
int3