Function at 0x1008ed40
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.1019e0f0
mov eax, dword [0x1020a0c0]
xor eax, esp
mov dword [esp + 0x8194], eax
mov eax, dword [0x102296ac]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x20], eax
mov ecx, dword fs:[0x2c]
mov dword [esp + 0x2c], ecx
mov edx, dword [ecx + eax*4]
mov eax, dword [0x104e4ac0]
cmp eax, dword [edx + 4]
jle 0x1008ee2f
push 0x104e4ac0
call fcn.1019d7b4
add esp, 4
cmp dword [0x104e4ac0], 0xffffffff
jne 0x1008ee2f
mov eax, dword [0x10227c48]
xor edx, edx
movq xmm0, qword [str.EAgHZJTJF_]
mov dword [esp + 0x28], edx
mov esi, dword [eax + 8]
mov ax, word [0x101ef814]
mov word [esp + 0x3fa8], ax
mov al, byte [0x101ef816]
movq qword [esp + 0x3fa0], xmm0
mov byte [esp + 0x3faa], al
nop dword [eax]
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
mov edx, dword [esp + 0x28]
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + edx + 0x3fa0], cl
inc edx
mov dword [esp + 0x28], edx
cmp edx, 0xb
jl 0x1008ede0
mov eax, dword [esi]
lea ecx, [esp + 0x3fa0]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x3c]
call eax
push 0x104e4ac0
mov dword [0x104e4ad4], eax
call fcn.1019d76a
add esp, 4
mov eax, dword [0x10227c40]
xorps xmm0, xmm0
movss xmm1, dword [0x101ff4c4]
cmp byte [eax + 0xf00], 0
je 0x1008ee5d
mov ecx, dword [eax + 0xf04]
test ecx, ecx
jle 0x1008ee5d
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 0x1008eea5
mov eax, dword [0x10229e7c]
cmp dword [eax], 0
jne 0x1008eeb9
mov esi, 0x10237280
nop word [eax + eax]
mov ecx, esi
call fcn.1008d9b0
add esi, 0x3ef0
cmp esi, 0x10336d70
jne 0x1008ee90
pop edi
pop esi
mov ecx, dword [esp + 0x8194]
xor ecx, esp
call fcn.1019d163
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10227c48]
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 0x1008eea5
fld dword [0x101ff0d4]
fstp dword [esp + 0x60]
nop
mov eax, dword [0x10227c48]
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 0x10090e01
imul esi, esi, 0x3ef0
mov dword [esp + 0x18], esi
lea ecx, [esi + 0x10237280]
mov dword [esp + 0x10], ecx
test edi, edi
je 0x10090dc8
mov eax, dword [0x10229e7c]
cmp edi, dword [eax]
je 0x10090dc8
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x10090dc4
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x10090dc4
movss xmm0, dword [edi + 0x103c0]
ucomiss xmm0, dword [esi + 0x1023b130]
lahf
test ah, 0x44
jnp 0x1008efef
lea ecx, [esi + 0x10237280]
movss dword [esi + 0x1023b130], xmm0
call fcn.1008d9b0
push 0x2d8
lea eax, [esp + 0x3fbc]
push 0
push eax
call fcn.1019f050
add esp, 0xc
lea edi, [esi + 0x1023adf4]
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.1019f050
mov eax, dword [esp + 0x24]
lea esi, [esp + 0x3fc4]
mov ecx, 0xb6
add esp, 0xc
lea edi, [eax + 0x1023ab1c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x30]
mov esi, eax
mov dword [esi + 0x1023b13c], 0
mov dword [esi + 0x1023b140], 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.1019ead0
mov eax, dword [0x10227c3c]
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 + 0x2c]
movss dword [esp + 0x68], xmm0
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x1022a01c]
cmp eax, dword [ecx + 4]
jle 0x1008f092
push 0x1022a01c
call fcn.1019d7b4
add esp, 4
cmp dword [0x1022a01c], 0xffffffff
jne 0x1008f092
mov edx, 0xc60bf9f2
mov ecx, 0x101eeeb9
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x1022a01c
mov dword [0x10229ef4], eax
call fcn.1019d76a
add esp, 4
mov eax, dword [0x10227c3c]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov ecx, dword [eax + 0x10]
mov eax, dword [0x10229ef4]
mov eax, dword [eax + edi]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + edx*4]
mov ecx, dword [0x102339b8]
cmp ecx, dword [eax + 4]
jle 0x1008f107
push 0x102339b8
call fcn.1019d7b4
mov ecx, dword [0x102339b8]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1008f103
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_fEffects
mov ecx, eax
call fcn.1008d1f0
push 0x102339b8
mov dword [0x102339cc], eax
call fcn.1019d76a
mov ecx, dword [0x102339b8]
add esp, 4
mov edx, dword [esp + 0x20]
mov eax, dword [0x102339cc]
mov eax, dword [eax + edi]
mov dword [esp + 0x3fa0], eax
mov eax, dword [esi + edx*4]
cmp ecx, dword [eax + 4]
jle 0x1008f162
push 0x102339b8
call fcn.1019d7b4
add esp, 4
cmp dword [0x102339b8], 0xffffffff
jne 0x1008f15e
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_fEffects
mov ecx, eax
call fcn.1008d1f0
push 0x102339b8
mov dword [0x102339cc], eax
call fcn.1019d76a
add esp, 4
mov edx, dword [esp + 0x20]
mov eax, dword [0x102339cc]
mov byte [esp + 0x27], 0
or dword [eax + edi], 8
mov eax, dword [esi + edx*4]
mov ecx, dword [0x1022a01c]
mov esi, dword [esp + 0x18]
cmp ecx, dword [eax + 4]
jle 0x1008f1cf
push 0x1022a01c
call fcn.1019d7b4
mov ecx, dword [0x1022a01c]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1008f1cb
mov edx, 0xc60bf9f2
mov ecx, 0x101eeeb9
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x1022a01c
mov dword [0x10229ef4], eax
call fcn.1019d76a
mov ecx, dword [0x1022a01c]
add esp, 4
mov edx, dword [esp + 0x20]
mov eax, dword [0x10229ef4]
movss xmm0, dword [esi + 0x1023b134]
ucomiss xmm0, dword [eax + edi]
lahf
test ah, 0x44
jnp 0x1009075a
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + edx*4]
mov edi, dword [esp + 0x30]
cmp ecx, dword [eax + 4]
jle 0x1008f247
push 0x1022a01c
call fcn.1019d7b4
mov ecx, dword [0x1022a01c]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1008f243
mov edx, 0xc60bf9f2
mov ecx, 0x101eeeb9
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x1022a01c
mov dword [0x10229ef4], eax
call fcn.1019d76a
mov ecx, dword [0x1022a01c]
add esp, 4
mov edx, dword [esp + 0x20]
mov eax, dword [0x10229ef4]
movss xmm1, dword [esi + 0x1023b134]
movss xmm0, dword [eax + edi]
comiss xmm0, xmm1
jbe 0x1009075a
ucomiss xmm1, dword [0x101ff52c]
mov byte [esp + 0x27], 1
lahf
test ah, 0x44
jp 0x1008f2d3
mov esi, dword [esp + 0x2c]
mov eax, dword [esi + edx*4]
mov esi, dword [esp + 0x18]
cmp ecx, dword [eax + 4]
jle 0x1008f2c5
push 0x1022a01c
call fcn.1019d7b4
add esp, 4
cmp dword [0x1022a01c], 0xffffffff
jne 0x1008f2c5
mov edx, 0xc60bf9f2
mov ecx, 0x101eeeb9
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x1022a01c
mov dword [0x10229ef4], eax
call fcn.1019d76a
add esp, 4
mov eax, dword [0x10229ef4]
mov eax, dword [eax + edi]
mov dword [esi + 0x1023b134], eax
mov eax, dword [esp + 0x18]
lea esi, [esi + 0x1023ab1c]
lea edx, [eax + 0x1023adf4]
mov eax, dword [edi + 0x299c]
mov dword [esp + 0x38], edx
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 3
push ecx
push esi
push edx
call fcn.1019ead0
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.1019ead0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov edx, dword [esp + 0x2c]
mov eax, dword [0x1022a01c]
mov esi, dword [edx + ecx*4]
cmp eax, dword [esi + 4]
jle 0x1008f37c
push 0x1022a01c
call fcn.1019d7b4
add esp, 4
cmp dword [0x1022a01c], 0xffffffff
jne 0x1008f37c
mov edx, 0xc60bf9f2
mov ecx, 0x101eeeb9
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x1022a01c
mov dword [0x10229ef4], eax
call fcn.1019d76a
add esp, 4
mov eax, dword [0x10229ef4]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
movss xmm1, dword [eax + edi]
mov edi, dword [esp + 0x2c]
subss xmm1, dword [esi + 0x1023b134]
mov eax, dword [0x1022a01c]
mov ecx, dword [edi + edx*4]
mov edi, dword [esp + 0x30]
andps xmm1, xmmword [0x101ffbc0]
movss dword [esp + 0xc], xmm1
cmp eax, dword [ecx + 4]
jle 0x1008f3ff
push 0x1022a01c
call fcn.1019d7b4
add esp, 4
cmp dword [0x1022a01c], 0xffffffff
jne 0x1008f3f9
mov edx, 0xc60bf9f2
mov ecx, 0x101eeeb9
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x1022a01c
mov dword [0x10229ef4], eax
call fcn.1019d76a
add esp, 4
movss xmm1, dword [esp + 0xc]
mov eax, dword [0x10229ef4]
lea ecx, [esi + 0x1023b13c]
movss xmm0, dword [esi + 0x1023b134]
mov dword [esp + 0x3c], ecx
ucomiss xmm0, dword [eax + edi]
lahf
test ah, 0x44
jnp 0x1008f437
mov eax, dword [0x10227c3c]
movaps xmm0, xmm1
mov eax, dword [eax + 0x10]
divss xmm0, dword [eax + 0x20]
cvttss2si eax, xmm0
dec eax
jmp 0x1008f439
xor eax, eax
mov dword [ecx], eax
call fcn.10191290
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0
xorps xmm1, xmm1
lea esi, [eax + 1]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], esi
mov ecx, dword [eax]
test ecx, ecx
cmovns edx, eax
cmp esi, ecx
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmovge eax, edx
mov eax, dword [eax]
mov dword [ecx], eax
movss xmm0, dword [esi + 0x1023b0f0]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1008f4ad
movss xmm0, dword [esi + 0x1023b0f4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1008f4ad
movss xmm0, dword [esi + 0x1023b0f8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1008f5a2
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x1022a01c]
cmp eax, dword [ecx + 4]
jle 0x1008f503
push 0x1022a01c
call fcn.1019d7b4
add esp, 4
cmp dword [0x1022a01c], 0xffffffff
jne 0x1008f503
mov edx, 0xc60bf9f2
mov ecx, 0x101eeeb9
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x1022a01c
mov dword [0x10229ef4], eax
call fcn.1019d76a
add esp, 4
mov eax, dword [0x10229ef4]
movss xmm0, dword [esi + 0x1023b134]
ucomiss xmm0, dword [eax + edi]
lahf
test ah, 0x44
jnp 0x1008f5a2
movq xmm0, qword [esi + 0x1023b114]
mov ecx, edi
mov eax, dword [esi + 0x1023b11c]
movq qword [esi + 0x1023b120], xmm0
mov dword [esi + 0x1023b128], eax
call fcn.1007df40
movss xmm2, dword [0x101ff140]
divss xmm2, dword [esp + 0xc]
movss xmm3, dword [eax]
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax + 8]
subss xmm3, dword [esi + 0x1023b0f0]
subss xmm1, dword [esi + 0x1023b0f4]
subss xmm0, dword [esi + 0x1023b0f8]
mulss xmm3, xmm2
mulss xmm1, xmm2
mulss xmm0, xmm2
unpcklps xmm3, xmm1
movq qword [esi + 0x1023b114], xmm3
movss dword [esp + 0xa0], xmm0
mov eax, dword [esp + 0xa0]
mov dword [esi + 0x1023b11c], eax
mov ecx, edi
call fcn.1007dd90
mov ecx, edi
mov eax, dword [eax]
mov eax, dword [eax + 0x9c]
mov dword [esi + 0x1023b150], eax
call fcn.1007e090
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [esi + 0x1023b16c], eax
mov eax, dword [esp + 0x20]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0xc], eax
mov ecx, eax
mov eax, dword [0x1022a01c]
cmp eax, dword [ecx + 4]
jle 0x1008f622
push 0x1022a01c
call fcn.1019d7b4
add esp, 4
cmp dword [0x1022a01c], 0xffffffff
jne 0x1008f622
mov edx, 0xc60bf9f2
mov ecx, 0x101eeeb9
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x1022a01c
mov dword [0x10229ef4], eax
call fcn.1019d76a
add esp, 4
mov eax, dword [esp + 0xc]
movss xmm0, dword [esi + 0x1023b134]
mov ecx, dword [eax + 4]
mov eax, dword [0x10229ef4]
ucomiss xmm0, dword [eax + edi]
lahf
test ah, 0x44
jp 0x1008f6de
cmp dword [0x10230944], ecx
jle 0x1008f68d
push 0x10230944
call fcn.1019d7b4
add esp, 4
cmp dword [0x10230944], 0xffffffff
jne 0x1008f68d
mov edx, 0xc60bf9f2
mov ecx, 0x101ef795
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x10230944
mov dword [0x1022a618], eax
call fcn.1019d76a
add esp, 4
mov eax, dword [0x1022a618]
mov ecx, edi
movss xmm0, dword [eax + edi]
movss dword [esi + 0x1023b164], xmm0
movss dword [esi + 0x1023b168], xmm0
call fcn.1007df40
movq xmm0, qword [eax]
movq qword [esi + 0x1023b0f0], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 0x1023b0f8], eax
movq xmm0, qword [esi + 0x1023b0f0]
movq qword [esi + 0x1023b0fc], xmm0
mov dword [esi + 0x1023b104], eax
jmp 0x1008f776
mov eax, dword [esi + 0x1023b164]
mov dword [esi + 0x1023b168], eax
cmp dword [0x10230944], ecx
jle 0x1008f730
push 0x10230944
call fcn.1019d7b4
add esp, 4
cmp dword [0x10230944], 0xffffffff
jne 0x1008f730
mov edx, 0xc60bf9f2
mov ecx, 0x101ef795
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x10230944
mov dword [0x1022a618], eax
call fcn.1019d76a
add esp, 4
mov eax, dword [0x1022a618]
mov ecx, edi
movq xmm0, qword [esi + 0x1023b0f0]
mov eax, dword [eax + edi]
mov dword [esi + 0x1023b164], eax
mov eax, dword [esi + 0x1023b0f8]
movq qword [esi + 0x1023b0fc], xmm0
mov dword [esi + 0x1023b104], eax
call fcn.1007df40
movq xmm0, qword [eax]
movq qword [esi + 0x1023b0f0], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 0x1023b0f8], eax
mov ecx, edi
call fcn.1007e090
test byte [eax], 1
je 0x1008f791
mov dword [esi + 0x1023b11c], 0
jmp 0x1008f998
movss xmm1, dword [0x101ff140]
xorps xmm2, xmm2
subss xmm1, dword [esi + 0x1023ada4]
comiss xmm1, xmm2
jbe 0x1008f945
movss xmm0, dword [esi + 0x1023b084]
ucomiss xmm0, dword [esi + 0x1023adac]
lahf
test ah, 0x44
jp 0x1008f945
mov eax, dword [esi + 0x1023b074]
cmp eax, dword [esi + 0x1023ad9c]
jne 0x1008f945
divss xmm1, dword [0x101ff260]
addss xmm1, dword [0x101ff0dc]
comiss xmm1, xmm2
movss dword [esp + 0x1c], xmm1
jbe 0x1008f945
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x430]
call eax
test eax, eax
je 0x1008f847
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.101aab58
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
add esp, 8
jmp 0x1008f84f
movss xmm0, dword [0x101ff45c]
mulss xmm0, dword [esp + 0x1c]
comiss xmm0, dword [0x101fefe0]
movss dword [esp + 0x1c], xmm0
jbe 0x1008f945
movss xmm0, dword [esi + 0x1023b114]
movss xmm1, dword [esi + 0x1023b118]
movaps xmm2, xmm0
mulss xmm2, xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x34], xmm1
xorps xmm1, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
movss dword [esp + 0x10], xmm2
ucomisd xmm1, xmm0
ja 0x1008f8ad
sqrtsd xmm0, xmm0
jmp 0x1008f8b2
call fcn.101c6320
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [0x101fefe0]
jbe 0x1008f945
movss xmm1, dword [esi + 0x1023b11c]
movaps xmm0, xmm1
mulss xmm0, xmm1
xorps xmm1, xmm1
addss xmm0, dword [esp + 0x10]
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1008f8ea
sqrtsd xmm0, xmm0
jmp 0x1008f8ef
call fcn.101c6320
movaps xmm3, xmmword [esp + 0x40]
movss xmm1, dword [esi + 0x1023b11c]
movss xmm4, dword [esp + 0x34]
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 + 0x1023b114], xmm3
movss dword [esp + 0xac], xmm1
mov eax, dword [esp + 0xac]
mov dword [esi + 0x1023b11c], eax
mov eax, dword [0x10227c3c]
movd xmm0, dword [esi + 0x1023b13c]
mov ecx, dword [0x104e4ad4]
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 + 0x1023b11c]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x10]
subss xmm0, dword [esp + 0x10]
movss dword [esi + 0x1023b11c], xmm0
mov ecx, edi
call fcn.1007e090
test byte [eax], 1
je 0x1008fb38
movss xmm0, dword [esi + 0x1023ada4]
comiss xmm0, dword [0x101fefe0]
jbe 0x1008fb38
movss xmm3, dword [0x101ff140]
comiss xmm3, xmm0
jbe 0x1008fb38
movss xmm0, dword [esi + 0x1023adb0]
comiss xmm0, dword [esi + 0x1023b088]
jbe 0x1008fb38
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x430]
call eax
test eax, eax
je 0x1008fa33
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.101aab58
fstp dword [esp + 0x18]
movss xmm1, dword [esp + 0x18]
add esp, 8
jmp 0x1008fa3b
movss xmm1, dword [0x101ff45c]
movss xmm3, dword [0x101ff140]
xorps xmm2, xmm2
movaps xmm0, xmm3
subss xmm0, dword [esi + 0x1023ada4]
mulss xmm0, dword [0x101ff0c4]
comiss xmm0, xmm2
jbe 0x1008fb38
comiss xmm3, xmm0
jbe 0x1008fb38
addss xmm0, dword [0x101ff0dc]
mulss xmm0, xmm1
comiss xmm0, xmm2
movss dword [esp + 0x10], xmm0
jbe 0x1008fb38
mov ecx, dword [esp + 0xc]
mov eax, dword [0x1022a00c]
cmp eax, dword [ecx + 4]
jle 0x1008fad5
push 0x1022a00c
call fcn.1019d7b4
add esp, 4
cmp dword [0x1022a00c], 0xffffffff
jne 0x1008fad5
mov edx, 0xc60bf9f2
mov ecx, 0x101eef55
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x1022a00c
mov dword [0x10229f60], eax
call fcn.1019d76a
add esp, 4
mov eax, dword [0x10229f60]
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 0x1008fb03
sqrtsd xmm0, xmm0
jmp 0x1008fb08
call fcn.101c6320
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
divss xmm1, dword [esp + 0x10]
movaps xmm0, xmm1
mulss xmm1, dword [esi + 0x1023b118]
mulss xmm0, dword [esi + 0x1023b114]
movss dword [esi + 0x1023b118], xmm1
movss dword [esi + 0x1023b114], xmm0
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x1023ac94]
jae 0x1008fb4d
comiss xmm0, dword [esi + 0x1023ac8c]
jb 0x1008fb6d
mov ecx, edi
call fcn.1007e090
test byte [eax], 1
je 0x1008fb6d
mov dword [esi + 0x1023b114], 0
mov dword [esi + 0x1023b118], 0
lea eax, [esi + 0x10237280]
push eax
lea ecx, [esp + 0xb4]
call fcn.10090e10
lea eax, [esi + 0x10237280]
push eax
lea ecx, [esp + 0x3fbc]
call fcn.10090e10
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x1008fc11
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
je 0x1008fc11
cmp dword [esp + 0x7e74], 0
jle 0x1008fc11
cmp dword [0x10342ca8], 0
je 0x1008fc11
mov edx, edi
lea ecx, [esp + 0x3fb8]
call fcn.100ab210
mov eax, 0x3ef0
call fcn.1019e0f0
lea eax, [esp + 0x3fa0]
mov ecx, esp
push eax
call fcn.10090e10
mov edx, edi
lea ecx, [esp + 0x7ea8]
call fcn.100a9680
mov edx, dword [0x10229e94]
mov ecx, edi
push 0x10229e88
push 0x10229e90
call fcn.100a6bb0
lea ecx, [esp + 0x7e04]
call fcn.1002bef0
lea ecx, [esp + 0x4840]
call fcn.10091190
mov eax, dword [esp + 0x4840]
push 8
push eax
mov dword [esp + 0x4848], 0
call fcn.1019d45c
add esp, 8
lea ecx, [esp + 0x3efc]
call fcn.1002bef0
lea ecx, [esp + 0x938]
call fcn.10091190
mov eax, dword [esp + 0x938]
push 8
push eax
mov dword [esp + 0x940], 0
call fcn.1019d45c
mov eax, dword [esi + 0x1023b13c]
add esp, 8
mov byte [0x102339dc], 1
test eax, eax
jg 0x1008fde4
mov esi, dword [0x10227c3c]
mov ecx, edi
call fcn.1007dd90
mov ecx, dword [esi + 0x10]
mov eax, dword [eax]
mov eax, dword [eax + 0x70]
cmp eax, dword [ecx + 4]
jne 0x1008fcb6
mov ecx, edi
call fcn.1007dd90
mov eax, dword [eax]
dec dword [eax + 0x70]
mov esi, dword [0x10227c3c]
mov ecx, edi
call fcn.1007dd90
mov ecx, dword [esi + 0x10]
mov eax, dword [eax]
movss xmm0, dword [eax + 0x6c]
ucomiss xmm0, dword [ecx + 0x10]
lahf
test ah, 0x44
jp 0x1008fd03
mov eax, dword [0x10227c3c]
mov ecx, edi
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax + 0x20]
movss dword [esp + 0x10], xmm0
call fcn.1007dd90
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 [0x1022d938]
cmp eax, dword [esi + 4]
jle 0x1008fd51
push 0x1022d938
call fcn.1019d7b4
add esp, 4
cmp dword [0x1022d938], 0xffffffff
jne 0x1008fd51
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_iEFlags
mov ecx, eax
call fcn.1008d1f0
push 0x1022d938
mov dword [0x1022a608], eax
call fcn.1019d76a
add esp, 4
mov eax, dword [0x1022a608]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
and dword [eax + edi], 0xffffefff
mov eax, dword [esi + 0x1023b11c]
movq xmm0, qword [esi + 0x1023b114]
mov dword [esp + 0x10], eax
mov eax, dword [0x1022a640]
movq qword [esp + 0x40], xmm0
cmp eax, dword [ecx + 4]
jle 0x1008fdcd
push 0x1022a640
call fcn.1019d7b4
add esp, 4
cmp dword [0x1022a640], 0xffffffff
jne 0x1008fdc7
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_vecAbsVelocity
mov ecx, eax
call fcn.1008d1f0
push 0x1022a640
mov dword [0x10230940], eax
call fcn.1019d76a
add esp, 4
movq xmm0, qword [esp + 0x40]
mov eax, dword [0x10230940]
mov ecx, dword [esp + 0x10]
movq qword [eax + edi], xmm0
mov dword [eax + edi + 8], ecx
jmp 0x10090308
mov ecx, 1
inc eax
mov dword [esp + 0x10], ecx
cmp eax, ecx
jl 0x100901c1
nop word [eax + eax]
mov eax, dword [0x10227c3c]
movd xmm0, ecx
mov ecx, dword [esp + 0xc]
cvtdq2ps xmm0, xmm0
mov eax, dword [eax + 0x10]
mulss xmm0, dword [eax + 0x20]
mov eax, dword [0x1022a01c]
addss xmm0, dword [esi + 0x1023b134]
movss dword [esp + 0x34], xmm0
cmp eax, dword [ecx + 4]
jle 0x1008fe77
push 0x1022a01c
call fcn.1019d7b4
mov eax, dword [0x1022a01c]
add esp, 4
cmp eax, 0xffffffff
jne 0x1008fe77
mov edx, 0xc60bf9f2
mov ecx, 0x101eeeb9
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x1022a01c
mov dword [0x10229ef4], eax
call fcn.1019d76a
mov eax, dword [0x1022a01c]
add esp, 4
mov ecx, dword [0x10229ef4]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xc]
cmp eax, dword [ecx + 4]
jle 0x1008fecf
push 0x1022a01c
call fcn.1019d7b4
add esp, 4
cmp dword [0x1022a01c], 0xffffffff
jne 0x1008fecb
mov edx, 0xc60bf9f2
mov ecx, 0x101eeeb9
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x1022a01c
mov dword [0x10229ef4], eax
call fcn.1019d76a
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
movss xmm2, dword [esp + 0x34]
movss xmm1, dword [eax + edi]
mov eax, dword [0x10229ef4]
subss xmm1, xmm2
movss xmm0, dword [eax + edi]
subss xmm0, dword [esi + 0x1023b134]
mov eax, dword [0x10227c3c]
divss xmm1, xmm0
mov eax, dword [eax + 0x10]
movss xmm0, dword [0x101ff140]
subss xmm0, xmm1
movss dword [esp + 0x28], xmm0
movss xmm0, dword [eax + 0x10]
movss dword [eax + 0x10], xmm2
mov eax, dword [0x1022d938]
movss dword [esp + 0x40], xmm0
cmp eax, dword [ecx + 4]
jle 0x1008ff70
push 0x1022d938
call fcn.1019d7b4
add esp, 4
cmp dword [0x1022d938], 0xffffffff
jne 0x1008ff6c
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_iEFlags
mov ecx, eax
call fcn.1008d1f0
push 0x1022d938
mov dword [0x1022a608], eax
call fcn.1019d76a
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [0x1022a608]
and dword [eax + edi], 0xffffefff
movq xmm0, qword [esi + 0x1023b120]
mov eax, dword [esi + 0x1023b128]
movq qword [esp + 0x70], xmm0
movq xmm0, qword [esi + 0x1023b114]
movss xmm1, dword [esp + 0x70]
movss xmm2, dword [esp + 0x74]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x1023b11c]
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 [0x1022a640]
mulss xmm1, dword [esp + 0x28]
mulss xmm2, dword [esp + 0x28]
mulss xmm3, dword [esp + 0x28]
addss xmm1, dword [esp + 0x3fac]
addss xmm2, dword [esp + 0x3fb0]
addss xmm3, dword [esp + 0x3fb4]
movss dword [esp + 0x58], xmm1
movss dword [esp + 0x34], xmm2
movss dword [esp + 0x1c], xmm3
cmp eax, dword [ecx + 4]
jle 0x1009007a
push 0x1022a640
call fcn.1019d7b4
add esp, 4
cmp dword [0x1022a640], 0xffffffff
jne 0x10090068
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_vecAbsVelocity
mov ecx, eax
call fcn.1008d1f0
push 0x1022a640
mov dword [0x10230940], eax
call fcn.1019d76a
add esp, 4
movss xmm3, dword [esp + 0x1c]
movss xmm2, dword [esp + 0x34]
movss xmm1, dword [esp + 0x58]
mov eax, dword [0x10230940]
movss dword [eax + edi], xmm1
movss dword [eax + edi + 4], xmm2
movss dword [eax + edi + 8], xmm3
movss xmm0, dword [esi + 0x1023b164]
movss xmm1, dword [esi + 0x1023b168]
mov esi, dword [esp + 0xc]
subss xmm1, xmm0
mov eax, dword [0x10230944]
mulss xmm1, dword [esp + 0x28]
addss xmm1, xmm0
movss dword [esp + 0x1c], xmm1
cmp eax, dword [esi + 4]
jle 0x10090109
push 0x10230944
call fcn.1019d7b4
add esp, 4
cmp dword [0x10230944], 0xffffffff
jne 0x10090103
mov edx, 0xc60bf9f2
mov ecx, 0x101ef795
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x10230944
mov dword [0x1022a618], eax
call fcn.1019d76a
add esp, 4
movss xmm1, dword [esp + 0x1c]
mov eax, dword [0x1022a618]
mov ecx, edi
movss dword [eax + edi], xmm1
mov esi, dword [0x10227c3c]
call fcn.1007dd90
mov ecx, dword [esi + 0x10]
mov eax, dword [eax]
mov eax, dword [eax + 0x70]
cmp eax, dword [ecx + 4]
jne 0x10090139
mov ecx, edi
call fcn.1007dd90
mov eax, dword [eax]
dec dword [eax + 0x70]
mov esi, dword [0x10227c3c]
mov ecx, edi
call fcn.1007dd90
mov ecx, dword [esi + 0x10]
mov eax, dword [eax]
movss xmm0, dword [eax + 0x6c]
ucomiss xmm0, dword [ecx + 0x10]
lahf
test ah, 0x44
jp 0x10090186
mov eax, dword [0x10227c3c]
mov ecx, edi
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax + 0x20]
movss dword [esp + 0x1c], xmm0
call fcn.1007dd90
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 [0x10227c3c]
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 + 0x3c]
mov eax, dword [eax]
inc eax
cmp ecx, eax
jle 0x1008fe00
mov ecx, dword [esp + 0xc]
mov eax, dword [0x1022d938]
cmp eax, dword [ecx + 4]
jle 0x10090213
push 0x1022d938
call fcn.1019d7b4
add esp, 4
cmp dword [0x1022d938], 0xffffffff
jne 0x1009020f
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_iEFlags
mov ecx, eax
call fcn.1008d1f0
push 0x1022d938
mov dword [0x1022a608], eax
call fcn.1019d76a
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [0x1022a608]
and dword [eax + edi], 0xffffefff
mov eax, esi
movq xmm0, qword [eax + 0x1023b114]
mov eax, dword [eax + 0x1023b11c]
mov dword [esp + 0x40], eax
mov eax, dword [0x1022a640]
movq qword [esp + 0x10], xmm0
cmp eax, dword [ecx + 4]
jle 0x10090289
push 0x1022a640
call fcn.1019d7b4
add esp, 4
cmp dword [0x1022a640], 0xffffffff
jne 0x10090283
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_vecAbsVelocity
mov ecx, eax
call fcn.1008d1f0
push 0x1022a640
mov dword [0x10230940], eax
call fcn.1019d76a
add esp, 4
movq xmm0, qword [esp + 0x10]
mov eax, dword [0x10230940]
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 + 0x1023b164]
mov eax, dword [0x10230944]
movss dword [esp + 0x10], xmm0
cmp eax, dword [ecx + 4]
jle 0x100902fe
push 0x10230944
call fcn.1019d7b4
add esp, 4
cmp dword [0x10230944], 0xffffffff
jne 0x100902f8
mov edx, 0xc60bf9f2
mov ecx, 0x101ef795
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x10230944
mov dword [0x1022a618], eax
call fcn.1019d76a
add esp, 4
movss xmm0, dword [esp + 0x10]
mov eax, dword [0x1022a618]
movss dword [eax + edi], xmm0
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x380]
call eax
mov eax, 0x3ef0
mov byte [0x102339dc], 0
call fcn.1019e0f0
lea eax, [esi + 0x10237280]
mov ecx, esp
push eax
call fcn.10090e10
mov eax, 0x3ef0
call fcn.1019e0f0
lea eax, [esi + 0x10237280]
mov ecx, esp
push eax
call fcn.10090e10
mov ecx, edi
call fcn.100ac050
mov eax, dword [esp + 0xc]
mov edx, dword [0x1022a01c]
cmp edx, dword [eax + 4]
jle 0x100903aa
push 0x1022a01c
call fcn.1019d7b4
mov edx, dword [0x1022a01c]
add esp, 4
cmp edx, 0xffffffff
jne 0x100903aa
mov edx, 0xc60bf9f2
mov ecx, 0x101eeeb9
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x1022a01c
mov dword [0x10229ef4], eax
call fcn.1019d76a
mov edx, dword [0x1022a01c]
add esp, 4
mov eax, dword [0x10227c3c]
mov ecx, dword [eax + 0x10]
mov eax, dword [0x10229ef4]
movss xmm0, dword [ecx + 0x20]
movss xmm1, dword [eax + edi]
subss xmm1, dword [esi + 0x1023b134]
comiss xmm0, xmm1
ja 0x10090418
mov eax, dword [esp + 0xc]
cmp edx, dword [eax + 4]
jle 0x10090418
push 0x1022a01c
call fcn.1019d7b4
add esp, 4
cmp dword [0x1022a01c], 0xffffffff
jne 0x10090418
mov edx, 0xc60bf9f2
mov ecx, 0x101eeeb9
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x1022a01c
mov dword [0x10229ef4], eax
call fcn.1019d76a
add esp, 4
mov ecx, edi
call fcn.1007e090
test byte [eax], 1
jne 0x1009075a
mov ecx, edi
call fcn.1007dd90
mov eax, dword [eax]
mov ecx, dword [eax + 0x60]
mov edx, dword [ecx + 0x2990]
add edx, 0xe0
je 0x1009075a
mov eax, dword [0x10227c3c]
push dword [edx + 0x18]
mov eax, dword [eax + 0x34]
call eax
mov dword [esp + 0x40], eax
cmp eax, 0x3da
je 0x10090469
cmp eax, 0x3d9
jne 0x1009075a
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.1019ead0
add esp, 0xc
push edi
push dword [esp + 0x3c]
push esi
call fcn.1019ead0
mov edi, dword [esp + 0x3c]
add esp, 0xc
mov ecx, edi
call fcn.1007dd90
mov eax, dword [eax]
mov ecx, dword [eax + 0x60]
mov edx, dword [ecx + 0x2990]
add edx, 0xe0
je 0x100904d4
mov eax, dword [0x10227c3c]
push dword [edx + 0x18]
mov eax, dword [eax + 0x34]
call eax
mov esi, eax
jmp 0x100904d7
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.1019ead0
add esp, 0xc
cmp esi, dword [esp + 0x40]
jne 0x10090521
mov eax, dword [esp + 0x18]
movss xmm0, dword [eax + 0x1023af00]
comiss xmm0, dword [eax + 0x1023ac28]
movss dword [esp + 0xc], xmm0
jbe 0x10090541
mov ecx, edi
call fcn.1007dd90
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 + 0x28], eax
call fcn.1007dd90
xor esi, esi
mov edx, dword [eax]
mov eax, dword [esp + 0x18]
cmp byte [edx + 0x128], 0
movss xmm3, dword [eax + 0x1023ac24]
jne 0x100905c7
xorps xmm4, xmm4
comiss xmm4, xmm3
jae 0x100905c7
mov eax, dword [esp + 0x28]
mov ecx, 0x1023ac28
movss xmm0, dword [esp + 0xc]
movss xmm2, dword [ecx + eax]
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jnp 0x100905ba
movss xmm1, dword [edx + 0x74]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100905a5
mov eax, dword [0x10227c3c]
mov eax, dword [eax + 0x10]
movss xmm1, dword [eax + 0x20]
comiss xmm2, xmm0
jbe 0x100905ba
mulss xmm1, xmm3
nop
addss xmm0, xmm1
inc esi
comiss xmm2, xmm0
ja 0x100905b0
test esi, esi
je 0x100905c7
comiss xmm2, dword [0x101ff134]
jb 0x100905ce
mov eax, dword [esp + 0x3c]
mov esi, dword [eax]
inc esi
mov ecx, edi
call fcn.1007dd90
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.1007dd90
movss xmm0, dword [esp + 0x38]
mov ecx, edi
mov eax, dword [eax]
movss dword [eax + 0x110], xmm0
call fcn.1007dd90
mov ecx, edi
mov dword [esp + 0x34], 0x3f800000
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], 0x3f800000
mov eax, dword [eax]
add eax, 0x228
mov dword [esp + 0x38], 0
mov dword [esp + 0xc], eax
call fcn.1007dd90
xorps xmm3, xmm3
movss xmm2, dword [0x101ff268]
lea ecx, [esp + 0x38]
lea esi, [esp + 0x34]
mov eax, dword [eax]
movss xmm0, dword [eax + 0x110]
lea eax, [esp + 0x40]
subss xmm0, dword [0x101ff0fc]
divss xmm0, dword [0x101ff10c]
comiss xmm3, xmm0
movss dword [esp + 0x40], xmm0
cmovbe ecx, eax
lea eax, [esp + 0x10]
comiss xmm0, dword [0x101ff140]
cmovbe eax, ecx
lea ecx, [esp + 0x38]
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 + 0x38], xmm2
cmovbe eax, ecx
comiss xmm2, dword [0x101ff140]
cmovbe esi, eax
mov eax, dword [esp + 0xc]
cmp byte [eax], 0
jne 0x10090720
mov edi, dword [eax + 8]
mov eax, dword [0x10227c48]
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 [0x10227c3c]
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 0x10090705
mov byte [ecx], 1
mov eax, dword [0x10227c48]
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 0x10090756
mov eax, dword [0x10227c48]
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.1008d290
mov eax, dword [0x10227c48]
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.1019ead0
add esp, 0xc
cmp byte [esp + 0x27], 0
je 0x10090870
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x1022a01c]
cmp eax, dword [ecx + 4]
jle 0x100907e4
push 0x1022a01c
call fcn.1019d7b4
add esp, 4
cmp dword [0x1022a01c], 0xffffffff
jne 0x100907e4
mov edx, 0xc60bf9f2
mov ecx, 0x101eeeb9
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x1022a01c
mov dword [0x10229ef4], eax
call fcn.1019d76a
add esp, 4
mov eax, dword [0x10229ef4]
mov ecx, edi
mov eax, dword [eax + edi]
mov dword [esi + 0x1023b134], 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 + 0x1023b0d8], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 0x1023b0e0], 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 + 0x1023b0e4], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 0x1023b0ec], eax
mov eax, dword [0x10227c3c]
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax + 0x10]
lea eax, [esi + 0x10237b1c]
movss dword [esp + 4], xmm0
push dword [edi + 0x2920]
push eax
call fcn.1008d510
mov byte [esi + 0x1023b144], al
mov eax, dword [0x10227c3c]
movss xmm0, dword [esp + 0x64]
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax + 0x10]
movss dword [eax + 0x14], xmm0
mov eax, dword [0x10227c3c]
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 [0x102339b8]
cmp eax, dword [ecx + 4]
jle 0x100908eb
push 0x102339b8
call fcn.1019d7b4
add esp, 4
cmp dword [0x102339b8], 0xffffffff
jne 0x100908eb
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_fEffects
mov ecx, eax
call fcn.1008d1f0
push 0x102339b8
mov dword [0x102339cc], eax
call fcn.1019d76a
add esp, 4
mov eax, dword [0x102339cc]
mov ecx, dword [esp + 0x3fa0]
mov dword [eax + edi], ecx
mov eax, dword [0x10227c40]
cmp byte [eax + 0xef8], 0
je 0x10090db7
mov eax, dword [0x10229e7c]
mov ecx, dword [eax]
mov eax, dword [0x10227c3c]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x10090db7
cmp byte [esp + 0x27], 0
je 0x10090da9
cmp dword [esi + 0x10237b18], 0
je 0x100909c8
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov eax, dword [0x1022a01c]
mov ecx, dword [edi + edx*4]
mov edi, dword [esp + 0x30]
cmp eax, dword [ecx + 4]
jle 0x1009099a
push 0x1022a01c
call fcn.1019d7b4
add esp, 4
cmp dword [0x1022a01c], 0xffffffff
jne 0x1009099a
mov edx, 0xc60bf9f2
mov ecx, 0x101eeeb9
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x1022a01c
mov dword [0x10229ef4], eax
call fcn.1019d76a
add esp, 4
mov ecx, dword [esi + 0x10237b10]
mov eax, dword [esi + 0x10237b0c]
dec ecx
and ecx, dword [esi + 0x10237b14]
mov eax, dword [eax + ecx*4]
movss xmm0, dword [eax + 0x58]
mov eax, dword [0x10229ef4]
ucomiss xmm0, dword [eax + edi]
lahf
test ah, 0x44
jnp 0x10090dcd
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.1019d46f
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.1019f050
add esp, 0xc
lea eax, [esp + 0x4020]
push 0x3000
push 0
push eax
call fcn.1019f050
mov eax, dword [esi + 0x1023b0f8]
lea ecx, [esi + 0x1023ab1c]
movq xmm0, qword [esi + 0x1023b0f0]
add esp, 0xc
mov dword [esp + 0x3fd8], eax
mov eax, dword [esi + 0x1023b110]
mov dword [esp + 0x3ff4], eax
mov eax, dword [esi + 0x1023b0e0]
movq qword [esp + 0x3fd0], xmm0
movq xmm0, qword [esi + 0x1023b108]
mov dword [esp + 0x4000], eax
mov eax, dword [esi + 0x1023b0ec]
mov dword [esp + 0x400c], eax
lea eax, [esi + 0x10237b1c]
movq qword [esp + 0x3fec], xmm0
sub ecx, eax
movss xmm0, dword [esi + 0x1023b134]
movss dword [esp + 0x4010], xmm0
movq xmm0, qword [esi + 0x1023b0d8]
push ecx
push eax
movq qword [esp + 0x4000], xmm0
lea eax, [esp + 0x4028]
movq xmm0, qword [esi + 0x1023b0e4]
push eax
mov dword [esp + 0x702c], 0
mov byte [esp + 0x7030], 0
movq qword [esp + 0x4010], xmm0
call fcn.1019ead0
movaps xmm0, xmmword [0x101ff6f0]
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 0x10090c45
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 0x10090bc6
push ecx
lea ecx, [esp + 0x3fbc]
call fcn.100914a0
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 0x10090c0d
push 0xc
call fcn.1019d46f
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 0x10090b60
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 0x10237b18]
lea edx, [esi + 0x10237b08]
inc eax
cmp dword [edx + 8], eax
ja 0x10090c65
push ecx
mov ecx, edx
call fcn.10091300
lea edx, [esi + 0x10237b08]
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 + 0x28], edi
dec eax
mov edi, eax
mov dword [esp + 0x28], 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 0x10090cc8
push 0x3093
call fcn.1019d46f
add esp, 4
test eax, eax
je 0x10090e06
mov edi, dword [esp + 0x10]
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
lea edx, [esi + 0x10237b08]
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.10091750
mov eax, dword [esp + 0x28]
inc dword [esi + 0x10237b18]
mov dword [esi + 0x10237b14], eax
mov ecx, dword [esi + 0x10237b18]
cmp ecx, 3
jbe 0x10090d80
mov edx, ecx
mov eax, dword [0x10227c3c]
movss xmm0, dword [esp + 0x6c]
mov eax, dword [eax + 0x10]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x101ff0d4]
cvttss2si eax, xmm0
cmp ecx, eax
jbe 0x10090d80
mov ecx, dword [esp + 0x18]
mov esi, dword [esi + 0x10237b10]
dec esi
mov eax, dword [ecx + 0x10237b14]
dec eax
add eax, edx
and esi, eax
mov eax, dword [ecx + 0x10237b0c]
mov esi, dword [eax + esi*4]
mov ecx, esi
call fcn.10091270
mov eax, dword [esi]
push 8
push eax
mov dword [esi], 0
call fcn.1019d45c
mov esi, dword [esp + 0x20]
add esp, 8
add dword [esi + 0x10237b18], 0xffffffff
jne 0x10090d73
mov dword [esi + 0x10237b14], 0
mov ecx, dword [esi + 0x10237b18]
mov edx, ecx
cmp ecx, 3
ja 0x10090d00
lea ecx, [esp + 0x3fb8]
call fcn.10091270
mov eax, dword [esp + 0x3fb8]
push 8
push eax
mov dword [esp + 0x3fc0], 0
call fcn.1019d45c
add esp, 8
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x380]
call eax
jmp 0x10090dcd
lea ecx, [esi + 0x10237b08]
call fcn.10091190
jmp 0x10090dcd
mov ecx, dword [esp + 0x10]
call fcn.1008d9b0
mov eax, dword [0x10227c48]
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 0x1008eee0
mov ecx, dword [esp + 0x819c]
pop edi
pop esi
xor ecx, esp
call fcn.1019d163
mov esp, ebp
pop ebp
ret
call fcn.10091180
call fcn.101a26e6
int3