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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x8198
call fcn.101a10d0
mov eax, dword [0x1020c0c0]
xor eax, esp
mov dword [esp + 0x8194], eax
mov eax, dword [0x1022b6ec]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x20], eax
mov ecx, dword fs:[0x2c]
mov dword [esp + 0x28], ecx
mov edx, dword [ecx + eax*4]
mov eax, dword [0x1051dfc0]
cmp eax, dword [edx + 4]
jle 0x1008fa89
push 0x1051dfc0
call fcn.101a0794
add esp, 4
cmp dword [0x1051dfc0], 0xffffffff
jne 0x1008fa89
mov eax, dword [0x10229c80]
xor edx, edx
movq xmm0, qword [str.AEkRDVNPNB_]
mov dword [esp + 0x34], edx
mov esi, dword [eax + 8]
mov ax, word [0x101f2854]
mov word [esp + 0x3fa8], ax
mov al, byte [0x101f2856]
movq qword [esp + 0x3fa0], xmm0
mov byte [esp + 0x3faa], al
nop dword [eax]
mov eax, 0x1f7047dd
mul edx
mov eax, dword [esp + 0x34]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [esp + 0x34]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x39
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x3fa0], cl
inc edx
mov dword [esp + 0x34], edx
cmp edx, 0xb
jl 0x1008fa30
mov eax, dword [esi]
lea ecx, [esp + 0x3fa0]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x3c]
call eax
push 0x1051dfc0
mov dword [0x1051dfd4], eax
call fcn.101a074a
add esp, 4
mov eax, dword [0x10229c78]
xorps xmm0, xmm0
movss xmm1, dword [0x102023e4]
cmp byte [eax + 0xf00], 0
je 0x1008fab7
mov ecx, dword [eax + 0xf04]
test ecx, ecx
jle 0x1008fab7
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 + 0x6c], xmm2
cmp edi, 4
jne 0x1008faf9
mov eax, dword [0x1022bebc]
cmp dword [eax], 0
jne 0x1008fb0d
mov esi, 0x1022f8b0
mov ecx, esi
call fcn.1008e5f0
add esi, 0x3ef0
cmp esi, 0x1032f3a0
jne 0x1008fae4
pop edi
pop esi
mov ecx, dword [esp + 0x8194]
xor ecx, esp
call fcn.101a0143
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10229c80]
mov esi, 1
mov dword [esp + 0x5c], esi
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
cmp eax, esi
jl 0x1008faf9
fld dword [0x10201ff4]
fstp dword [esp + 0x60]
mov eax, dword [0x10229c80]
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 0x10091a51
imul esi, esi, 0x3ef0
mov dword [esp + 0x18], esi
lea ecx, [esi + 0x1022f8b0]
mov dword [esp + 0x10], ecx
test edi, edi
je 0x10091a18
mov eax, dword [0x1022bebc]
cmp edi, dword [eax]
je 0x10091a18
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x10091a14
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x10091a14
movss xmm0, dword [edi + 0x103c0]
ucomiss xmm0, dword [esi + 0x10233760]
lahf
test ah, 0x44
jnp 0x1008fc42
lea ecx, [esi + 0x1022f8b0]
movss dword [esi + 0x10233760], xmm0
call fcn.1008e5f0
push 0x2d8
lea eax, [esp + 0x3fbc]
push 0
push eax
call fcn.101a2030
add esp, 0xc
lea edi, [esi + 0x10233424]
lea eax, [esp + 0x3fb8]
mov ecx, 0xb6
lea esi, [esp + 0x3fb8]
rep movsd dword es:[edi], dword [esi]
push 0x2d8
push 0
push eax
call fcn.101a2030
mov eax, dword [esp + 0x24]
lea esi, [esp + 0x3fc4]
mov ecx, 0xb6
add esp, 0xc
lea edi, [eax + 0x1023314c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x30]
mov esi, eax
mov dword [esi + 0x1023376c], 0
mov dword [esi + 0x10233770], 0
mov eax, dword [edi + 0x299c]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [esp + 0x7ea8]
shl ecx, 3
push ecx
push dword [edi + 0x2990]
push eax
call fcn.101a1ab0
mov eax, dword [0x10229c74]
add esp, 0xc
mov ecx, dword [eax + 0x10]
movss xmm0, dword [ecx + 0x14]
mov eax, dword [ecx + 0x20]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [ecx + 0x10]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
movss dword [esp + 0x68], xmm0
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x10449e3c]
cmp eax, dword [ecx + 4]
jle 0x1008fce5
push 0x10449e3c
call fcn.101a0794
add esp, 4
cmp dword [0x10449e3c], 0xffffffff
jne 0x1008fce5
mov edx, 0xc60bf9f2
mov ecx, 0x101f1ed9
call fcn.1007e710
mov ecx, eax
call fcn.100d2ad0
push 0x10449e3c
mov dword [0x10449d14], eax
call fcn.101a074a
add esp, 4
mov eax, dword [0x10229c74]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
mov ecx, dword [eax + 0x10]
mov eax, dword [0x10449d14]
mov eax, dword [eax + edi]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + edx*4]
mov ecx, dword [0x104537e0]
cmp ecx, dword [eax + 4]
jle 0x1008fd5a
push 0x104537e0
call fcn.101a0794
mov ecx, dword [0x104537e0]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1008fd56
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_fEffects
mov ecx, eax
call fcn.1008de30
push 0x104537e0
mov dword [0x104537f4], eax
call fcn.101a074a
mov ecx, dword [0x104537e0]
add esp, 4
mov edx, dword [esp + 0x20]
mov eax, dword [0x104537f4]
mov eax, dword [eax + edi]
mov dword [esp + 0x3fa0], eax
mov eax, dword [esi + edx*4]
cmp ecx, dword [eax + 4]
jle 0x1008fdb5
push 0x104537e0
call fcn.101a0794
add esp, 4
cmp dword [0x104537e0], 0xffffffff
jne 0x1008fdb1
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_fEffects
mov ecx, eax
call fcn.1008de30
push 0x104537e0
mov dword [0x104537f4], eax
call fcn.101a074a
add esp, 4
mov edx, dword [esp + 0x20]
mov eax, dword [0x104537f4]
mov byte [esp + 0x27], 0
or dword [eax + edi], 8
mov eax, dword [esi + edx*4]
mov ecx, dword [0x10449e3c]
mov esi, dword [esp + 0x18]
cmp ecx, dword [eax + 4]
jle 0x1008fe22
push 0x10449e3c
call fcn.101a0794
mov ecx, dword [0x10449e3c]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1008fe1e
mov edx, 0xc60bf9f2
mov ecx, 0x101f1ed9
call fcn.1007e710
mov ecx, eax
call fcn.100d2ad0
push 0x10449e3c
mov dword [0x10449d14], eax
call fcn.101a074a
mov ecx, dword [0x10449e3c]
add esp, 4
mov edx, dword [esp + 0x20]
mov eax, dword [0x10449d14]
movss xmm0, dword [esi + 0x10233764]
ucomiss xmm0, dword [eax + edi]
lahf
test ah, 0x44
jnp 0x100913aa
mov edi, dword [esp + 0x28]
mov eax, dword [edi + edx*4]
mov edi, dword [esp + 0x30]
cmp ecx, dword [eax + 4]
jle 0x1008fe9a
push 0x10449e3c
call fcn.101a0794
mov ecx, dword [0x10449e3c]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1008fe96
mov edx, 0xc60bf9f2
mov ecx, 0x101f1ed9
call fcn.1007e710
mov ecx, eax
call fcn.100d2ad0
push 0x10449e3c
mov dword [0x10449d14], eax
call fcn.101a074a
mov ecx, dword [0x10449e3c]
add esp, 4
mov edx, dword [esp + 0x20]
mov eax, dword [0x10449d14]
movss xmm1, dword [esi + 0x10233764]
movss xmm0, dword [eax + edi]
comiss xmm0, xmm1
jbe 0x100913aa
ucomiss xmm1, dword [0x1020244c]
mov byte [esp + 0x27], 1
lahf
test ah, 0x44
jp 0x1008ff26
mov esi, dword [esp + 0x28]
mov eax, dword [esi + edx*4]
mov esi, dword [esp + 0x18]
cmp ecx, dword [eax + 4]
jle 0x1008ff18
push 0x10449e3c
call fcn.101a0794
add esp, 4
cmp dword [0x10449e3c], 0xffffffff
jne 0x1008ff18
mov edx, 0xc60bf9f2
mov ecx, 0x101f1ed9
call fcn.1007e710
mov ecx, eax
call fcn.100d2ad0
push 0x10449e3c
mov dword [0x10449d14], eax
call fcn.101a074a
add esp, 4
mov eax, dword [0x10449d14]
mov eax, dword [eax + edi]
mov dword [esi + 0x10233764], eax
mov eax, dword [esp + 0x18]
lea esi, [esi + 0x1023314c]
lea edx, [eax + 0x10233424]
mov eax, dword [edi + 0x299c]
mov dword [esp + 0x3c], edx
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 3
push ecx
push esi
push edx
call fcn.101a1ab0
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.101a1ab0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov edx, dword [esp + 0x28]
mov eax, dword [0x10449e3c]
mov esi, dword [edx + ecx*4]
cmp eax, dword [esi + 4]
jle 0x1008ffcf
push 0x10449e3c
call fcn.101a0794
add esp, 4
cmp dword [0x10449e3c], 0xffffffff
jne 0x1008ffcf
mov edx, 0xc60bf9f2
mov ecx, 0x101f1ed9
call fcn.1007e710
mov ecx, eax
call fcn.100d2ad0
push 0x10449e3c
mov dword [0x10449d14], eax
call fcn.101a074a
add esp, 4
mov eax, dword [0x10449d14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
movss xmm1, dword [eax + edi]
mov edi, dword [esp + 0x28]
subss xmm1, dword [esi + 0x10233764]
mov eax, dword [0x10449e3c]
mov ecx, dword [edi + edx*4]
mov edi, dword [esp + 0x30]
andps xmm1, xmmword [0x10202ae0]
movss dword [esp + 0xc], xmm1
cmp eax, dword [ecx + 4]
jle 0x10090052
push 0x10449e3c
call fcn.101a0794
add esp, 4
cmp dword [0x10449e3c], 0xffffffff
jne 0x1009004c
mov edx, 0xc60bf9f2
mov ecx, 0x101f1ed9
call fcn.1007e710
mov ecx, eax
call fcn.100d2ad0
push 0x10449e3c
mov dword [0x10449d14], eax
call fcn.101a074a
add esp, 4
movss xmm1, dword [esp + 0xc]
mov eax, dword [0x10449d14]
lea ecx, [esi + 0x1023376c]
movss xmm0, dword [esi + 0x10233764]
mov dword [esp + 0x34], ecx
ucomiss xmm0, dword [eax + edi]
lahf
test ah, 0x44
jnp 0x1009008a
mov eax, dword [0x10229c74]
movaps xmm0, xmm1
mov eax, dword [eax + 0x10]
divss xmm0, dword [eax + 0x20]
cvttss2si eax, xmm0
dec eax
jmp 0x1009008c
xor eax, eax
mov dword [ecx], eax
call fcn.10194270
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0
xorps xmm1, xmm1
lea esi, [eax + 1]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], esi
mov ecx, dword [eax]
test ecx, ecx
cmovns edx, eax
cmp esi, ecx
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmovge eax, edx
mov eax, dword [eax]
mov dword [ecx], eax
movss xmm0, dword [esi + 0x10233720]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10090100
movss xmm0, dword [esi + 0x10233724]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10090100
movss xmm0, dword [esi + 0x10233728]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100901f5
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x10449e3c]
cmp eax, dword [ecx + 4]
jle 0x10090156
push 0x10449e3c
call fcn.101a0794
add esp, 4
cmp dword [0x10449e3c], 0xffffffff
jne 0x10090156
mov edx, 0xc60bf9f2
mov ecx, 0x101f1ed9
call fcn.1007e710
mov ecx, eax
call fcn.100d2ad0
push 0x10449e3c
mov dword [0x10449d14], eax
call fcn.101a074a
add esp, 4
mov eax, dword [0x10449d14]
movss xmm0, dword [esi + 0x10233764]
ucomiss xmm0, dword [eax + edi]
lahf
test ah, 0x44
jnp 0x100901f5
movq xmm0, qword [esi + 0x10233744]
mov ecx, edi
mov eax, dword [esi + 0x1023374c]
movq qword [esi + 0x10233750], xmm0
mov dword [esi + 0x10233758], eax
call fcn.1007ea00
movss xmm2, dword [0x10202060]
divss xmm2, dword [esp + 0xc]
movss xmm3, dword [eax]
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax + 8]
subss xmm3, dword [esi + 0x10233720]
subss xmm1, dword [esi + 0x10233724]
subss xmm0, dword [esi + 0x10233728]
mulss xmm3, xmm2
mulss xmm1, xmm2
mulss xmm0, xmm2
unpcklps xmm3, xmm1
movq qword [esi + 0x10233744], xmm3
movss dword [esp + 0xa0], xmm0
mov eax, dword [esp + 0xa0]
mov dword [esi + 0x1023374c], eax
mov ecx, edi
call fcn.1007e850
mov ecx, edi
mov eax, dword [eax]
mov eax, dword [eax + 0x9c]
mov dword [esi + 0x10233780], eax
call fcn.1007eb50
mov ecx, dword [esp + 0x28]
mov eax, dword [eax]
mov dword [esi + 0x1023379c], eax
mov eax, dword [esp + 0x20]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0xc], eax
mov ecx, eax
mov eax, dword [0x10449e3c]
cmp eax, dword [ecx + 4]
jle 0x10090275
push 0x10449e3c
call fcn.101a0794
add esp, 4
cmp dword [0x10449e3c], 0xffffffff
jne 0x10090275
mov edx, 0xc60bf9f2
mov ecx, 0x101f1ed9
call fcn.1007e710
mov ecx, eax
call fcn.100d2ad0
push 0x10449e3c
mov dword [0x10449d14], eax
call fcn.101a074a
add esp, 4
mov eax, dword [esp + 0xc]
movss xmm0, dword [esi + 0x10233764]
mov ecx, dword [eax + 4]
mov eax, dword [0x10449d14]
ucomiss xmm0, dword [eax + edi]
lahf
test ah, 0x44
jp 0x10090331
cmp dword [0x1045076c], ecx
jle 0x100902e0
push 0x1045076c
call fcn.101a0794
add esp, 4
cmp dword [0x1045076c], 0xffffffff
jne 0x100902e0
mov edx, 0xc60bf9f2
mov ecx, 0x101f27d5
call fcn.1007e710
mov ecx, eax
call fcn.100d2ad0
push 0x1045076c
mov dword [0x1044a440], eax
call fcn.101a074a
add esp, 4
mov eax, dword [0x1044a440]
mov ecx, edi
movss xmm0, dword [eax + edi]
movss dword [esi + 0x10233794], xmm0
movss dword [esi + 0x10233798], xmm0
call fcn.1007ea00
movq xmm0, qword [eax]
movq qword [esi + 0x10233720], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 0x10233728], eax
movq xmm0, qword [esi + 0x10233720]
movq qword [esi + 0x1023372c], xmm0
mov dword [esi + 0x10233734], eax
jmp 0x100903c9
mov eax, dword [esi + 0x10233794]
mov dword [esi + 0x10233798], eax
cmp dword [0x1045076c], ecx
jle 0x10090383
push 0x1045076c
call fcn.101a0794
add esp, 4
cmp dword [0x1045076c], 0xffffffff
jne 0x10090383
mov edx, 0xc60bf9f2
mov ecx, 0x101f27d5
call fcn.1007e710
mov ecx, eax
call fcn.100d2ad0
push 0x1045076c
mov dword [0x1044a440], eax
call fcn.101a074a
add esp, 4
mov eax, dword [0x1044a440]
mov ecx, edi
movq xmm0, qword [esi + 0x10233720]
mov eax, dword [eax + edi]
mov dword [esi + 0x10233794], eax
mov eax, dword [esi + 0x10233728]
movq qword [esi + 0x1023372c], xmm0
mov dword [esi + 0x10233734], eax
call fcn.1007ea00
movq xmm0, qword [eax]
movq qword [esi + 0x10233720], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 0x10233728], eax
mov ecx, edi
call fcn.1007eb50
test byte [eax], 1
je 0x100903e4
mov dword [esi + 0x1023374c], 0
jmp 0x100905eb
movss xmm1, dword [0x10202060]
xorps xmm2, xmm2
subss xmm1, dword [esi + 0x102333d4]
comiss xmm1, xmm2
jbe 0x10090598
movss xmm0, dword [esi + 0x102336b4]
ucomiss xmm0, dword [esi + 0x102333dc]
lahf
test ah, 0x44
jp 0x10090598
mov eax, dword [esi + 0x102336a4]
cmp eax, dword [esi + 0x102333cc]
jne 0x10090598
divss xmm1, dword [0x10202180]
addss xmm1, dword [0x10201ffc]
comiss xmm1, xmm2
movss dword [esp + 0x1c], xmm1
jbe 0x10090598
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x430]
call eax
test eax, eax
je 0x1009049a
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x6e8]
mov dword [esp + 0x10], ecx
mov ecx, eax
call dword [esp + 0x10]
sub esp, 8
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
mov dword [esp + 4], 0x3a83126f
movss dword [esp], xmm0
call fcn.101adb38
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
add esp, 8
jmp 0x100904a2
movss xmm0, dword [0x1020237c]
mulss xmm0, dword [esp + 0x1c]
comiss xmm0, dword [0x10201f00]
movss dword [esp + 0x1c], xmm0
jbe 0x10090598
movss xmm0, dword [esi + 0x10233744]
movss xmm1, dword [esi + 0x10233748]
movaps xmm2, xmm0
mulss xmm2, xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x38], xmm1
xorps xmm1, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
movss dword [esp + 0x10], xmm2
ucomisd xmm1, xmm0
ja 0x10090500
sqrtsd xmm0, xmm0
jmp 0x10090505
call fcn.101c9300
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [0x10201f00]
jbe 0x10090598
movss xmm1, dword [esi + 0x1023374c]
movaps xmm0, xmm1
mulss xmm0, xmm1
xorps xmm1, xmm1
addss xmm0, dword [esp + 0x10]
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1009053d
sqrtsd xmm0, xmm0
jmp 0x10090542
call fcn.101c9300
movaps xmm3, xmmword [esp + 0x40]
movss xmm1, dword [esi + 0x1023374c]
movss xmm4, dword [esp + 0x38]
cvtsd2ss xmm0, xmm0
movss xmm2, dword [esp + 0x1c]
divss xmm3, xmm0
divss xmm4, xmm0
divss xmm1, xmm0
mulss xmm3, xmm2
mulss xmm4, xmm2
mulss xmm1, xmm2
unpcklps xmm3, xmm4
movq qword [esi + 0x10233744], xmm3
movss dword [esp + 0xac], xmm1
mov eax, dword [esp + 0xac]
mov dword [esi + 0x1023374c], eax
mov eax, dword [0x10229c74]
movd xmm0, dword [esi + 0x1023376c]
mov ecx, dword [0x1051dfd4]
cvtdq2ps xmm0, xmm0
mov eax, dword [eax + 0x10]
mulss xmm0, dword [eax + 0x20]
mov eax, dword [ecx]
movss dword [esp + 0x1c], xmm0
mov eax, dword [eax + 0x30]
mov dword [esp + 0x10], eax
call dword [esp + 0x10]
fmul dword [esp + 0x60]
movss xmm0, dword [esi + 0x1023374c]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x10]
subss xmm0, dword [esp + 0x10]
movss dword [esi + 0x1023374c], xmm0
mov ecx, edi
call fcn.1007eb50
test byte [eax], 1
je 0x1009078b
movss xmm0, dword [esi + 0x102333d4]
comiss xmm0, dword [0x10201f00]
jbe 0x1009078b
movss xmm3, dword [0x10202060]
comiss xmm3, xmm0
jbe 0x1009078b
movss xmm0, dword [esi + 0x102333e0]
comiss xmm0, dword [esi + 0x102336b8]
jbe 0x1009078b
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x430]
call eax
test eax, eax
je 0x10090686
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x6e8]
mov dword [esp + 0x10], ecx
mov ecx, eax
call dword [esp + 0x10]
sub esp, 8
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
mov dword [esp + 4], 0x3a83126f
movss dword [esp], xmm0
call fcn.101adb38
fstp dword [esp + 0x18]
movss xmm1, dword [esp + 0x18]
add esp, 8
jmp 0x1009068e
movss xmm1, dword [0x1020237c]
movss xmm3, dword [0x10202060]
xorps xmm2, xmm2
movaps xmm0, xmm3
subss xmm0, dword [esi + 0x102333d4]
mulss xmm0, dword [0x10201fe4]
comiss xmm0, xmm2
jbe 0x1009078b
comiss xmm3, xmm0
jbe 0x1009078b
addss xmm0, dword [0x10201ffc]
mulss xmm0, xmm1
comiss xmm0, xmm2
movss dword [esp + 0x10], xmm0
jbe 0x1009078b
mov ecx, dword [esp + 0xc]
mov eax, dword [0x10449e2c]
cmp eax, dword [ecx + 4]
jle 0x10090728
push 0x10449e2c
call fcn.101a0794
add esp, 4
cmp dword [0x10449e2c], 0xffffffff
jne 0x10090728
mov edx, 0xc60bf9f2
mov ecx, 0x101f1f75
call fcn.1007e710
mov ecx, eax
call fcn.100d2ad0
push 0x10449e2c
mov dword [0x10449d80], eax
call fcn.101a074a
add esp, 4
mov eax, dword [0x10449d80]
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 0x10090756
sqrtsd xmm0, xmm0
jmp 0x1009075b
call fcn.101c9300
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
divss xmm1, dword [esp + 0x10]
movaps xmm0, xmm1
mulss xmm1, dword [esi + 0x10233748]
mulss xmm0, dword [esi + 0x10233744]
movss dword [esi + 0x10233748], xmm1
movss dword [esi + 0x10233744], xmm0
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x102332c4]
jae 0x100907a0
comiss xmm0, dword [esi + 0x102332bc]
jb 0x100907c0
mov ecx, edi
call fcn.1007eb50
test byte [eax], 1
je 0x100907c0
mov dword [esi + 0x10233744], 0
mov dword [esi + 0x10233748], 0
lea eax, [esi + 0x1022f8b0]
push eax
lea ecx, [esp + 0xb4]
call fcn.10091a60
lea eax, [esi + 0x1022f8b0]
push eax
lea ecx, [esp + 0x3fbc]
call fcn.10091a60
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x10090864
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
je 0x10090864
cmp dword [esp + 0x7e74], 0
jle 0x10090864
cmp dword [0x1033b800], 0
je 0x10090864
mov edx, edi
lea ecx, [esp + 0x3fb8]
call fcn.100acd80
mov eax, 0x3ef0
call fcn.101a10d0
lea eax, [esp + 0x3fa0]
mov ecx, esp
push eax
call fcn.10091a60
mov edx, edi
lea ecx, [esp + 0x7ea8]
call fcn.100aad80
mov edx, dword [0x10449cb4]
mov ecx, edi
push 0x10449ca8
push 0x10449cb0
call fcn.100a7ed0
lea ecx, [esp + 0x7e04]
call fcn.1002c1b0
lea ecx, [esp + 0x4840]
call fcn.10091de0
mov eax, dword [esp + 0x4840]
push 8
push eax
mov dword [esp + 0x4848], 0
call fcn.101a043c
add esp, 8
lea ecx, [esp + 0x3efc]
call fcn.1002c1b0
lea ecx, [esp + 0x938]
call fcn.10091de0
mov eax, dword [esp + 0x938]
push 8
push eax
mov dword [esp + 0x940], 0
call fcn.101a043c
mov eax, dword [esi + 0x1023376c]
add esp, 8
mov byte [0x10453804], 1
test eax, eax
jg 0x10090a37
mov esi, dword [0x10229c74]
mov ecx, edi
call fcn.1007e850
mov ecx, dword [esi + 0x10]
mov eax, dword [eax]
mov eax, dword [eax + 0x70]
cmp eax, dword [ecx + 4]
jne 0x10090909
mov ecx, edi
call fcn.1007e850
mov eax, dword [eax]
dec dword [eax + 0x70]
mov esi, dword [0x10229c74]
mov ecx, edi
call fcn.1007e850
mov ecx, dword [esi + 0x10]
mov eax, dword [eax]
movss xmm0, dword [eax + 0x6c]
ucomiss xmm0, dword [ecx + 0x10]
lahf
test ah, 0x44
jp 0x10090956
mov eax, dword [0x10229c74]
mov ecx, edi
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax + 0x20]
movss dword [esp + 0x10], xmm0
call fcn.1007e850
movss xmm0, dword [esp + 0x10]
mov eax, dword [eax]
addss xmm0, dword [eax + 0x6c]
movss dword [eax + 0x6c], xmm0
mov esi, dword [esp + 0xc]
mov eax, dword [0x1044d760]
cmp eax, dword [esi + 4]
jle 0x100909a4
push 0x1044d760
call fcn.101a0794
add esp, 4
cmp dword [0x1044d760], 0xffffffff
jne 0x100909a4
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_iEFlags
mov ecx, eax
call fcn.1008de30
push 0x1044d760
mov dword [0x1044a430], eax
call fcn.101a074a
add esp, 4
mov eax, dword [0x1044a430]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
and dword [eax + edi], 0xffffefff
mov eax, dword [esi + 0x1023374c]
movq xmm0, qword [esi + 0x10233744]
mov dword [esp + 0x10], eax
mov eax, dword [0x1044a468]
movq qword [esp + 0x40], xmm0
cmp eax, dword [ecx + 4]
jle 0x10090a20
push 0x1044a468
call fcn.101a0794
add esp, 4
cmp dword [0x1044a468], 0xffffffff
jne 0x10090a1a
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_vecAbsVelocity
mov ecx, eax
call fcn.1008de30
push 0x1044a468
mov dword [0x10450768], eax
call fcn.101a074a
add esp, 4
movq xmm0, qword [esp + 0x40]
mov eax, dword [0x10450768]
mov ecx, dword [esp + 0x10]
movq qword [eax + edi], xmm0
mov dword [eax + edi + 8], ecx
jmp 0x10090f58
mov ecx, 1
inc eax
mov dword [esp + 0x10], ecx
cmp eax, ecx
jl 0x10090e11
nop dword [eax]
mov eax, dword [0x10229c74]
movd xmm0, ecx
mov ecx, dword [esp + 0xc]
cvtdq2ps xmm0, xmm0
mov eax, dword [eax + 0x10]
mulss xmm0, dword [eax + 0x20]
mov eax, dword [0x10449e3c]
addss xmm0, dword [esi + 0x10233764]
movss dword [esp + 0x38], xmm0
cmp eax, dword [ecx + 4]
jle 0x10090ac7
push 0x10449e3c
call fcn.101a0794
mov eax, dword [0x10449e3c]
add esp, 4
cmp eax, 0xffffffff
jne 0x10090ac7
mov edx, 0xc60bf9f2
mov ecx, 0x101f1ed9
call fcn.1007e710
mov ecx, eax
call fcn.100d2ad0
push 0x10449e3c
mov dword [0x10449d14], eax
call fcn.101a074a
mov eax, dword [0x10449e3c]
add esp, 4
mov ecx, dword [0x10449d14]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xc]
cmp eax, dword [ecx + 4]
jle 0x10090b1f
push 0x10449e3c
call fcn.101a0794
add esp, 4
cmp dword [0x10449e3c], 0xffffffff
jne 0x10090b1b
mov edx, 0xc60bf9f2
mov ecx, 0x101f1ed9
call fcn.1007e710
mov ecx, eax
call fcn.100d2ad0
push 0x10449e3c
mov dword [0x10449d14], eax
call fcn.101a074a
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
movss xmm2, dword [esp + 0x38]
movss xmm1, dword [eax + edi]
mov eax, dword [0x10449d14]
subss xmm1, xmm2
movss xmm0, dword [eax + edi]
subss xmm0, dword [esi + 0x10233764]
mov eax, dword [0x10229c74]
divss xmm1, xmm0
mov eax, dword [eax + 0x10]
movss xmm0, dword [0x10202060]
subss xmm0, xmm1
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [eax + 0x10]
movss dword [eax + 0x10], xmm2
mov eax, dword [0x1044d760]
movss dword [esp + 0x40], xmm0
cmp eax, dword [ecx + 4]
jle 0x10090bc0
push 0x1044d760
call fcn.101a0794
add esp, 4
cmp dword [0x1044d760], 0xffffffff
jne 0x10090bbc
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_iEFlags
mov ecx, eax
call fcn.1008de30
push 0x1044d760
mov dword [0x1044a430], eax
call fcn.101a074a
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [0x1044a430]
and dword [eax + edi], 0xffffefff
movq xmm0, qword [esi + 0x10233750]
mov eax, dword [esi + 0x10233758]
movq qword [esp + 0x70], xmm0
movq xmm0, qword [esi + 0x10233744]
movss xmm1, dword [esp + 0x70]
movss xmm2, dword [esp + 0x74]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x1023374c]
movss xmm3, dword [esp + 0x78]
movq qword [esp + 0x3fac], xmm0
subss xmm1, dword [esp + 0x3fac]
subss xmm2, dword [esp + 0x3fb0]
mov dword [esp + 0x3fb4], eax
subss xmm3, dword [esp + 0x3fb4]
mov eax, dword [0x1044a468]
mulss xmm1, dword [esp + 0x2c]
mulss xmm2, dword [esp + 0x2c]
mulss xmm3, dword [esp + 0x2c]
addss xmm1, dword [esp + 0x3fac]
addss xmm2, dword [esp + 0x3fb0]
addss xmm3, dword [esp + 0x3fb4]
movss dword [esp + 0x58], xmm1
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x1c], xmm3
cmp eax, dword [ecx + 4]
jle 0x10090cca
push 0x1044a468
call fcn.101a0794
add esp, 4
cmp dword [0x1044a468], 0xffffffff
jne 0x10090cb8
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_vecAbsVelocity
mov ecx, eax
call fcn.1008de30
push 0x1044a468
mov dword [0x10450768], eax
call fcn.101a074a
add esp, 4
movss xmm3, dword [esp + 0x1c]
movss xmm2, dword [esp + 0x38]
movss xmm1, dword [esp + 0x58]
mov eax, dword [0x10450768]
movss dword [eax + edi], xmm1
movss dword [eax + edi + 4], xmm2
movss dword [eax + edi + 8], xmm3
movss xmm0, dword [esi + 0x10233794]
movss xmm1, dword [esi + 0x10233798]
mov esi, dword [esp + 0xc]
subss xmm1, xmm0
mov eax, dword [0x1045076c]
mulss xmm1, dword [esp + 0x2c]
addss xmm1, xmm0
movss dword [esp + 0x1c], xmm1
cmp eax, dword [esi + 4]
jle 0x10090d59
push 0x1045076c
call fcn.101a0794
add esp, 4
cmp dword [0x1045076c], 0xffffffff
jne 0x10090d53
mov edx, 0xc60bf9f2
mov ecx, 0x101f27d5
call fcn.1007e710
mov ecx, eax
call fcn.100d2ad0
push 0x1045076c
mov dword [0x1044a440], eax
call fcn.101a074a
add esp, 4
movss xmm1, dword [esp + 0x1c]
mov eax, dword [0x1044a440]
mov ecx, edi
movss dword [eax + edi], xmm1
mov esi, dword [0x10229c74]
call fcn.1007e850
mov ecx, dword [esi + 0x10]
mov eax, dword [eax]
mov eax, dword [eax + 0x70]
cmp eax, dword [ecx + 4]
jne 0x10090d89
mov ecx, edi
call fcn.1007e850
mov eax, dword [eax]
dec dword [eax + 0x70]
mov esi, dword [0x10229c74]
mov ecx, edi
call fcn.1007e850
mov ecx, dword [esi + 0x10]
mov eax, dword [eax]
movss xmm0, dword [eax + 0x6c]
ucomiss xmm0, dword [ecx + 0x10]
lahf
test ah, 0x44
jp 0x10090dd6
mov eax, dword [0x10229c74]
mov ecx, edi
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax + 0x20]
movss dword [esp + 0x1c], xmm0
call fcn.1007e850
movss xmm0, dword [esp + 0x1c]
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 [0x10229c74]
movss xmm0, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
inc ecx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x10], ecx
movss dword [eax + 0x10], xmm0
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
inc eax
cmp ecx, eax
jle 0x10090a50
mov ecx, dword [esp + 0xc]
mov eax, dword [0x1044d760]
cmp eax, dword [ecx + 4]
jle 0x10090e63
push 0x1044d760
call fcn.101a0794
add esp, 4
cmp dword [0x1044d760], 0xffffffff
jne 0x10090e5f
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_iEFlags
mov ecx, eax
call fcn.1008de30
push 0x1044d760
mov dword [0x1044a430], eax
call fcn.101a074a
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [0x1044a430]
and dword [eax + edi], 0xffffefff
mov eax, esi
movq xmm0, qword [eax + 0x10233744]
mov eax, dword [eax + 0x1023374c]
mov dword [esp + 0x40], eax
mov eax, dword [0x1044a468]
movq qword [esp + 0x10], xmm0
cmp eax, dword [ecx + 4]
jle 0x10090ed9
push 0x1044a468
call fcn.101a0794
add esp, 4
cmp dword [0x1044a468], 0xffffffff
jne 0x10090ed3
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_vecAbsVelocity
mov ecx, eax
call fcn.1008de30
push 0x1044a468
mov dword [0x10450768], eax
call fcn.101a074a
add esp, 4
movq xmm0, qword [esp + 0x10]
mov eax, dword [0x10450768]
mov ecx, dword [esp + 0x40]
movq qword [eax + edi], xmm0
mov dword [eax + edi + 8], ecx
mov ecx, dword [esp + 0xc]
movss xmm0, dword [esi + 0x10233794]
mov eax, dword [0x1045076c]
movss dword [esp + 0x10], xmm0
cmp eax, dword [ecx + 4]
jle 0x10090f4e
push 0x1045076c
call fcn.101a0794
add esp, 4
cmp dword [0x1045076c], 0xffffffff
jne 0x10090f48
mov edx, 0xc60bf9f2
mov ecx, 0x101f27d5
call fcn.1007e710
mov ecx, eax
call fcn.100d2ad0
push 0x1045076c
mov dword [0x1044a440], eax
call fcn.101a074a
add esp, 4
movss xmm0, dword [esp + 0x10]
mov eax, dword [0x1044a440]
movss dword [eax + edi], xmm0
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x380]
call eax
mov eax, 0x3ef0
mov byte [0x10453804], 0
call fcn.101a10d0
lea eax, [esi + 0x1022f8b0]
mov ecx, esp
push eax
call fcn.10091a60
mov eax, 0x3ef0
call fcn.101a10d0
lea eax, [esi + 0x1022f8b0]
mov ecx, esp
push eax
call fcn.10091a60
mov ecx, edi
call fcn.100adbc0
mov eax, dword [esp + 0xc]
mov edx, dword [0x10449e3c]
cmp edx, dword [eax + 4]
jle 0x10090ffa
push 0x10449e3c
call fcn.101a0794
mov edx, dword [0x10449e3c]
add esp, 4
cmp edx, 0xffffffff
jne 0x10090ffa
mov edx, 0xc60bf9f2
mov ecx, 0x101f1ed9
call fcn.1007e710
mov ecx, eax
call fcn.100d2ad0
push 0x10449e3c
mov dword [0x10449d14], eax
call fcn.101a074a
mov edx, dword [0x10449e3c]
add esp, 4
mov eax, dword [0x10229c74]
mov ecx, dword [eax + 0x10]
mov eax, dword [0x10449d14]
movss xmm0, dword [ecx + 0x20]
movss xmm1, dword [eax + edi]
subss xmm1, dword [esi + 0x10233764]
comiss xmm0, xmm1
ja 0x10091068
mov eax, dword [esp + 0xc]
cmp edx, dword [eax + 4]
jle 0x10091068
push 0x10449e3c
call fcn.101a0794
add esp, 4
cmp dword [0x10449e3c], 0xffffffff
jne 0x10091068
mov edx, 0xc60bf9f2
mov ecx, 0x101f1ed9
call fcn.1007e710
mov ecx, eax
call fcn.100d2ad0
push 0x10449e3c
mov dword [0x10449d14], eax
call fcn.101a074a
add esp, 4
mov ecx, edi
call fcn.1007eb50
test byte [eax], 1
jne 0x100913aa
mov ecx, edi
call fcn.1007e850
mov eax, dword [eax]
mov ecx, dword [eax + 0x60]
mov edx, dword [ecx + 0x2990]
add edx, 0xe0
je 0x100913aa
mov eax, dword [0x10229c74]
push dword [edx + 0x18]
mov eax, dword [eax + 0x34]
call eax
mov dword [esp + 0x40], eax
cmp eax, 0x3da
je 0x100910b9
cmp eax, 0x3d9
jne 0x100913aa
mov ecx, dword [edi + 0x299c]
lea eax, [esp + 0x3fb8]
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.101a1ab0
add esp, 0xc
push edi
push dword [esp + 0x40]
push esi
call fcn.101a1ab0
mov edi, dword [esp + 0x3c]
add esp, 0xc
mov ecx, edi
call fcn.1007e850
mov eax, dword [eax]
mov ecx, dword [eax + 0x60]
mov edx, dword [ecx + 0x2990]
add edx, 0xe0
je 0x10091124
mov eax, dword [0x10229c74]
push dword [edx + 0x18]
mov eax, dword [eax + 0x34]
call eax
mov esi, eax
jmp 0x10091127
or esi, 0xffffffff
mov eax, dword [edi + 0x299c]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [esp + 0x3fb8]
shl ecx, 3
push ecx
push eax
push dword [edi + 0x2990]
call fcn.101a1ab0
add esp, 0xc
cmp esi, dword [esp + 0x40]
jne 0x10091171
mov eax, dword [esp + 0x18]
movss xmm0, dword [eax + 0x10233530]
comiss xmm0, dword [eax + 0x10233258]
movss dword [esp + 0xc], xmm0
jbe 0x10091191
mov ecx, edi
call fcn.1007e850
xorps xmm0, xmm0
movss dword [esp + 0xc], xmm0
mov eax, dword [eax]
mov dword [eax + 0x110], 0
mov eax, dword [esp + 0x18]
mov ecx, edi
mov dword [esp + 0x2c], eax
call fcn.1007e850
xor esi, esi
mov edx, dword [eax]
mov eax, dword [esp + 0x18]
cmp byte [edx + 0x128], 0
movss xmm3, dword [eax + 0x10233254]
jne 0x10091217
xorps xmm4, xmm4
comiss xmm4, xmm3
jae 0x10091217
mov eax, dword [esp + 0x2c]
mov ecx, 0x10233258
movss xmm0, dword [esp + 0xc]
movss xmm2, dword [ecx + eax]
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jnp 0x1009120a
movss xmm1, dword [edx + 0x74]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100911f5
mov eax, dword [0x10229c74]
mov eax, dword [eax + 0x10]
movss xmm1, dword [eax + 0x20]
comiss xmm2, xmm0
jbe 0x1009120a
mulss xmm1, xmm3
nop
addss xmm0, xmm1
inc esi
comiss xmm2, xmm0
ja 0x10091200
test esi, esi
je 0x10091217
comiss xmm2, dword [0x10202054]
jb 0x1009121e
mov eax, dword [esp + 0x34]
mov esi, dword [eax]
inc esi
mov ecx, edi
call fcn.1007e850
movd xmm0, esi
mov ecx, edi
cvtdq2ps xmm0, xmm0
mov eax, dword [eax]
mulss xmm0, dword [eax + 0x74]
movss dword [esp + 0x3c], xmm0
call fcn.1007e850
movss xmm0, dword [esp + 0x3c]
mov ecx, edi
mov eax, dword [eax]
movss dword [eax + 0x110], xmm0
call fcn.1007e850
mov ecx, edi
mov dword [esp + 0x38], 0x3f800000
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], 0x3f800000
mov eax, dword [eax]
add eax, 0x228
mov dword [esp + 0x3c], 0
mov dword [esp + 0xc], eax
call fcn.1007e850
xorps xmm3, xmm3
movss xmm2, dword [0x10202188]
lea ecx, [esp + 0x3c]
lea esi, [esp + 0x38]
mov eax, dword [eax]
movss xmm0, dword [eax + 0x110]
lea eax, [esp + 0x40]
subss xmm0, dword [0x1020201c]
divss xmm0, dword [0x1020202c]
comiss xmm3, xmm0
movss dword [esp + 0x40], xmm0
cmovbe ecx, eax
lea eax, [esp + 0x10]
comiss xmm0, dword [0x10202060]
cmovbe eax, ecx
lea ecx, [esp + 0x3c]
movss xmm1, dword [eax]
lea eax, [esp + 0x1c]
movaps xmm0, xmm1
addss xmm0, xmm1
mulss xmm1, xmm1
subss xmm2, xmm0
mulss xmm2, xmm1
comiss xmm3, xmm2
movss dword [esp + 0x3c], xmm2
cmovbe eax, ecx
comiss xmm2, dword [0x10202060]
cmovbe esi, eax
mov eax, dword [esp + 0xc]
cmp byte [eax], 0
jne 0x10091370
mov edi, dword [eax + 8]
mov eax, dword [0x10229c80]
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 [0x10229c74]
mov edi, dword [esp + 0x34]
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 0x10091355
mov byte [ecx], 1
mov eax, dword [0x10229c80]
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 0x100913a6
mov eax, dword [0x10229c80]
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.1008ded0
mov eax, dword [0x10229c80]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x88]
call eax
mov esi, dword [esp + 0x18]
mov eax, dword [edi + 0x299c]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [esp + 0x7ea8]
shl ecx, 3
push ecx
push eax
push dword [edi + 0x2990]
call fcn.101a1ab0
add esp, 0xc
cmp byte [esp + 0x27], 0
je 0x100914c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x10449e3c]
cmp eax, dword [ecx + 4]
jle 0x10091434
push 0x10449e3c
call fcn.101a0794
add esp, 4
cmp dword [0x10449e3c], 0xffffffff
jne 0x10091434
mov edx, 0xc60bf9f2
mov ecx, 0x101f1ed9
call fcn.1007e710
mov ecx, eax
call fcn.100d2ad0
push 0x10449e3c
mov dword [0x10449d14], eax
call fcn.101a074a
add esp, 4
mov eax, dword [0x10449d14]
mov ecx, edi
mov eax, dword [eax + edi]
mov dword [esi + 0x10233764], 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 + 0x10233708], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 0x10233710], 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 + 0x10233714], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 0x1023371c], eax
mov eax, dword [0x10229c74]
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax + 0x10]
lea eax, [esi + 0x1023014c]
movss dword [esp + 4], xmm0
push dword [edi + 0x2920]
push eax
call fcn.1008e150
mov byte [esi + 0x10233774], al
mov eax, dword [0x10229c74]
movss xmm0, dword [esp + 0x64]
mov ecx, dword [esp + 0x28]
mov eax, dword [eax + 0x10]
movss dword [eax + 0x14], xmm0
mov eax, dword [0x10229c74]
movss xmm0, dword [esp + 0x68]
mov eax, dword [eax + 0x10]
movss dword [eax + 0x10], xmm0
mov eax, dword [esp + 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x104537e0]
cmp eax, dword [ecx + 4]
jle 0x1009153b
push 0x104537e0
call fcn.101a0794
add esp, 4
cmp dword [0x104537e0], 0xffffffff
jne 0x1009153b
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_fEffects
mov ecx, eax
call fcn.1008de30
push 0x104537e0
mov dword [0x104537f4], eax
call fcn.101a074a
add esp, 4
mov eax, dword [0x104537f4]
mov ecx, dword [esp + 0x3fa0]
mov dword [eax + edi], ecx
mov eax, dword [0x10229c78]
cmp byte [eax + 0xef8], 0
je 0x10091a07
mov eax, dword [0x1022bebc]
mov ecx, dword [eax]
mov eax, dword [0x10229c74]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x10091a07
cmp byte [esp + 0x27], 0
je 0x100919f9
cmp dword [esi + 0x10230148], 0
je 0x10091618
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov eax, dword [0x10449e3c]
mov ecx, dword [edi + edx*4]
mov edi, dword [esp + 0x30]
cmp eax, dword [ecx + 4]
jle 0x100915ea
push 0x10449e3c
call fcn.101a0794
add esp, 4
cmp dword [0x10449e3c], 0xffffffff
jne 0x100915ea
mov edx, 0xc60bf9f2
mov ecx, 0x101f1ed9
call fcn.1007e710
mov ecx, eax
call fcn.100d2ad0
push 0x10449e3c
mov dword [0x10449d14], eax
call fcn.101a074a
add esp, 4
mov ecx, dword [esi + 0x10230140]
mov eax, dword [esi + 0x1023013c]
dec ecx
and ecx, dword [esi + 0x10230144]
mov eax, dword [eax + ecx*4]
movss xmm0, dword [eax + 0x58]
mov eax, dword [0x10449d14]
ucomiss xmm0, dword [eax + edi]
lahf
test ah, 0x44
jnp 0x10091a1d
push 8
mov dword [esp + 0x3fbc], 0
mov dword [esp + 0x3fc0], 0
mov dword [esp + 0x3fc4], 0
mov dword [esp + 0x3fc8], 0
mov dword [esp + 0x3fcc], 0
call fcn.101a044f
add esp, 4
lea ecx, [esp + 0x3fb8]
mov dword [eax + 4], 0
mov dword [esp + 0x3fb8], eax
push 0x54
mov dword [eax], ecx
lea eax, [esp + 0x3fd0]
push 0
push eax
call fcn.101a2030
add esp, 0xc
lea eax, [esp + 0x4020]
push 0x3000
push 0
push eax
call fcn.101a2030
mov eax, dword [esi + 0x10233728]
lea ecx, [esi + 0x1023314c]
movq xmm0, qword [esi + 0x10233720]
add esp, 0xc
mov dword [esp + 0x3fd8], eax
mov eax, dword [esi + 0x10233740]
mov dword [esp + 0x3ff4], eax
mov eax, dword [esi + 0x10233710]
movq qword [esp + 0x3fd0], xmm0
movq xmm0, qword [esi + 0x10233738]
mov dword [esp + 0x4000], eax
mov eax, dword [esi + 0x1023371c]
mov dword [esp + 0x400c], eax
lea eax, [esi + 0x1023014c]
movq qword [esp + 0x3fec], xmm0
sub ecx, eax
movss xmm0, dword [esi + 0x10233764]
movss dword [esp + 0x4010], xmm0
movq xmm0, qword [esi + 0x10233708]
push ecx
push eax
movq qword [esp + 0x4000], xmm0
lea eax, [esp + 0x4028]
movq xmm0, qword [esi + 0x10233714]
push eax
mov dword [esp + 0x702c], 0
mov byte [esp + 0x7030], 0
movq qword [esp + 0x4010], xmm0
call fcn.101a1ab0
movaps xmm0, xmmword [0x10202610]
lea eax, [esp + 0x8190]
lea ecx, [esp + 0x81a8]
mov dword [esp + 0x3fac], eax
add esp, 0xc
mov dword [esp + 0x8194], 6
mov dword [esp + 0x8198], 5
mov dword [esp + 0x3fa0], eax
movups xmmword [esp + 0x8184], xmm0
cmp eax, ecx
je 0x10091895
mov edx, dword [esp + 0x3fc8]
mov edi, eax
mov esi, ecx
nop dword [eax + eax]
mov eax, dword [edi]
mov ecx, dword [esp + 0x3fc0]
lea eax, [eax + eax*2]
add eax, eax
movss xmm0, dword [esp + eax*8 + 0x402c]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [esp + eax*8 + 0x403c]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [esp + eax*8 + 0x404c]
lea eax, [edx + 1]
movss dword [esp + 0x94], xmm0
cmp ecx, eax
ja 0x10091816
push ecx
lea ecx, [esp + 0x3fbc]
call fcn.100920f0
mov edx, dword [esp + 0x3fc8]
mov ecx, dword [esp + 0x3fc0]
mov eax, dword [esp + 0x3fc4]
dec ecx
and eax, ecx
mov dword [esp + 0x3fc4], eax
add eax, edx
and eax, ecx
mov ecx, dword [esp + 0x3fbc]
mov dword [esp + 0x10], eax
cmp dword [ecx + eax*4], 0
jne 0x1009185d
push 0xc
call fcn.101a044f
mov ecx, dword [esp + 0x3fc0]
add esp, 4
mov edx, dword [esp + 0x10]
mov dword [ecx + edx*4], eax
mov eax, edx
mov ecx, dword [esp + 0x3fbc]
mov ecx, dword [ecx + eax*4]
add edi, 4
movq xmm0, qword [esp + 0x8c]
mov eax, dword [esp + 0x94]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x3fc8]
inc edx
mov dword [esp + 0x3fc8], edx
cmp edi, esi
jne 0x100917b0
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 0x10230148]
lea edx, [esi + 0x10230138]
inc eax
cmp dword [edx + 8], eax
ja 0x100918b5
push ecx
mov ecx, edx
call fcn.10091f50
lea edx, [esi + 0x10230138]
mov eax, dword [edx + 8]
mov edi, dword [edx + 0xc]
lea ecx, [eax - 1]
and edi, ecx
mov dword [edx + 0xc], edi
cmove edi, eax
mov eax, edi
mov dword [esp + 0x2c], edi
dec eax
mov edi, eax
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 4]
and edi, ecx
mov dword [esp + 0x10], edi
cmp dword [eax + edi*4], 0
mov edi, dword [esp + 0x30]
jne 0x10091918
push 0x3093
call fcn.101a044f
add esp, 4
test eax, eax
je 0x10091a56
mov edi, dword [esp + 0x10]
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
lea edx, [esi + 0x10230138]
mov dword [ecx - 4], eax
mov eax, dword [edx + 4]
mov dword [eax + edi*4], ecx
mov edi, dword [esp + 0x30]
mov ecx, dword [edx + 4]
lea eax, [esp + 0x3fb8]
push eax
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx + eax*4]
call fcn.100923a0
mov eax, dword [esp + 0x2c]
inc dword [esi + 0x10230148]
mov dword [esi + 0x10230144], eax
mov ecx, dword [esi + 0x10230148]
cmp ecx, 3
jbe 0x100919d0
mov edx, ecx
mov eax, dword [0x10229c74]
movss xmm0, dword [esp + 0x6c]
mov eax, dword [eax + 0x10]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x10201ff4]
cvttss2si eax, xmm0
cmp ecx, eax
jbe 0x100919d0
mov ecx, dword [esp + 0x18]
mov esi, dword [esi + 0x10230140]
dec esi
mov eax, dword [ecx + 0x10230144]
dec eax
add eax, edx
and esi, eax
mov eax, dword [ecx + 0x1023013c]
mov esi, dword [eax + esi*4]
mov ecx, esi
call fcn.10091ec0
mov eax, dword [esi]
push 8
push eax
mov dword [esi], 0
call fcn.101a043c
mov esi, dword [esp + 0x20]
add esp, 8
add dword [esi + 0x10230148], 0xffffffff
jne 0x100919c3
mov dword [esi + 0x10230144], 0
mov ecx, dword [esi + 0x10230148]
mov edx, ecx
cmp ecx, 3
ja 0x10091950
lea ecx, [esp + 0x3fb8]
call fcn.10091ec0
mov eax, dword [esp + 0x3fb8]
push 8
push eax
mov dword [esp + 0x3fc0], 0
call fcn.101a043c
add esp, 8
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x380]
call eax
jmp 0x10091a1d
lea ecx, [esi + 0x10230138]
call fcn.10091de0
jmp 0x10091a1d
mov ecx, dword [esp + 0x10]
call fcn.1008e5f0
mov eax, dword [0x10229c80]
mov esi, dword [esp + 0x5c]
inc esi
mov dword [esp + 0x5c], esi
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
cmp esi, eax
jle 0x1008fb33
mov ecx, dword [esp + 0x819c]
pop edi
pop esi
xor ecx, esp
call fcn.101a0143
mov esp, ebp
pop ebp
ret
call fcn.10091dd0
call fcn.101a56c6
int3