Function at 0x10096620
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x101a34c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebx + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 0x30], edi
cmp esi, 2
jl 0x10096df9
mov eax, dword [edi + 0x2c]
mov ecx, esi
and byte [ebx + 0x14], 1
movss xmm2, dword [edi + 0x8c]
mov edx, dword [edi + 0x24]
movss xmm0, dword [eax]
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [eax + 4]
lea eax, [esi - 1]
movss dword [ebp - 0x48], xmm0
cmove ecx, eax
movss xmm0, dword [ebx + 0x18]
comiss xmm0, xmm2
mov dword [ebp - 0x14], ecx
movss dword [ebp - 0x18], xmm2
seta byte [ebp - 0x1d]
test dl, 1
je 0x10096bcf
movss xmm3, dword [0x1018a864]
mov eax, dword [ebx + 0x10]
movaps xmm1, xmm3
maxss xmm1, xmm0
and eax, 0xffffff
mov dword [ebp - 0x40], eax
movss dword [ebp - 0x24], xmm1
cvttss2si eax, xmm1
mov dword [ebp - 0x50], eax
test dl, 2
je 0x100961f3
cmp eax, 0x3f
jge 0x100961f3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [0x1018a7ec]
comiss xmm0, xmm1
jb 0x100961f3
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jp 0x100961f3
lea eax, [ecx + ecx*2]
mov byte [ebp - 6], 1
add eax, eax
mov byte [ebp - 5], 1
lea ecx, [esi + esi]
jmp 0x10096233
cmp byte [ebp - 0x1d], 0
mov byte [ebp - 6], 0
je 0x10096226
lea eax, [ecx + ecx*8]
lea ecx, [esi*4]
add eax, eax
push ecx
mov dword [ebp - 0x34], ecx
mov ecx, edi
push eax
call fcn.10095ec0
mov cl, byte [ebp - 6]
mov eax, 0x28
mov byte [ebp - 5], 0
mov byte [ebp - 6], cl
jmp 0x10096246
lea eax, [ecx + ecx*2]
mov byte [ebp - 5], 0
shl eax, 2
lea ecx, [esi + esi*2]
push ecx
mov edx, edi
mov dword [ebp - 0x34], ecx
push eax
mov ecx, edx
call fcn.10095ec0
mov eax, 0x18
imul eax, esi
call fcn.100fd730
cmp dword [ebp - 0x14], 0
mov eax, esp
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], 0
lea edx, [eax + esi*8]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x1c], edx
jle 0x1009631b
xorps xmm4, xmm4
mov edi, esp
xor edx, edx
lea eax, [edx + 1]
mov dword [ebp - 0xc], eax
xor eax, eax
cmp dword [ebp - 0xc], esi
cmovne eax, dword [ebp - 0xc]
movss xmm2, dword [ecx + eax*8]
movss xmm1, dword [ecx + eax*8 + 4]
subss xmm2, dword [ecx + edx*8]
subss xmm1, dword [ecx + edx*8 + 4]
movaps xmm0, xmm2
movss dword [ebp - 0x3c], xmm2
movaps xmm3, xmm1
mulss xmm0, xmm2
mulss xmm3, xmm1
movss dword [ebp - 0x38], xmm1
addss xmm3, xmm0
comiss xmm3, xmm4
jbe 0x100962f1
push ecx
movss dword [esp], xmm3
call fcn.10046460
fld1
add esp, 4
fdivrp st(1)
xorps xmm4, xmm4
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0x10]
movss xmm2, dword [ebp - 0x3c]
fstp dword [ebp - 0x2c]
movss xmm1, dword [ebp - 0x2c]
movaps xmm0, xmm1
mulss xmm1, dword [ebp - 0x38]
mulss xmm2, xmm0
xorps xmm2, xmmword [0x1018ac10]
movss dword [edi + edx*8], xmm1
movss dword [edi + edx*8 + 4], xmm2
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
cmp edx, dword [ebp - 0x14]
jl 0x10096277
mov edi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
mov cl, byte [ebx + 0x14]
test cl, cl
jne 0x10096336
mov ecx, dword [ebp - 0x28]
mov eax, dword [eax + esi*8 - 0x10]
mov dword [edx - 8], eax
mov ecx, dword [ecx + esi*8 - 0xc]
mov dword [edx - 4], ecx
mov cl, byte [ebx + 0x14]
cmp byte [ebp - 5], 0
movss xmm6, dword [0x1018a828]
jne 0x100967d9
cmp byte [ebp - 0x1d], 0
movss xmm4, dword [ebp - 0x18]
je 0x100967cf
movss xmm5, dword [ebp - 0x24]
subss xmm5, xmm4
mulss xmm5, xmm6
test cl, cl
jne 0x100964d0
mov eax, dword [ebp - 0x28]
movaps xmm3, xmm5
mov ecx, dword [ebx + 8]
addss xmm3, xmm4
mov edi, dword [ebp - 0x28]
movaps xmm0, xmm3
movaps xmm1, xmm3
mulss xmm0, dword [eax + 4]
mulss xmm1, dword [eax]
addss xmm0, dword [ecx + 4]
addss xmm1, dword [ecx]
movss dword [edx + 4], xmm0
movaps xmm0, xmm5
movss dword [edx], xmm1
movaps xmm1, xmm5
mulss xmm0, dword [eax + 4]
mulss xmm1, dword [eax]
addss xmm0, dword [ecx + 4]
addss xmm1, dword [ecx]
movss dword [edx + 0xc], xmm0
movaps xmm0, xmm5
movss dword [edx + 8], xmm1
mulss xmm0, dword [eax]
movss xmm2, dword [ecx]
movss xmm1, dword [ecx + 4]
subss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [eax + 4]
subss xmm1, xmm0
movss dword [edx + 0x10], xmm2
movaps xmm0, xmm3
movss dword [edx + 0x14], xmm1
mulss xmm0, dword [eax]
movss xmm2, dword [ecx]
movss xmm1, dword [ecx + 4]
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [eax + 4]
subss xmm1, xmm0
movss dword [edx + 0x18], xmm2
movaps xmm0, xmm3
movss dword [edx + 0x1c], xmm1
movaps xmm1, xmm3
mulss xmm0, dword [eax + esi*8 - 4]
mulss xmm1, dword [eax + esi*8 - 8]
mov eax, esi
shl eax, 5
addss xmm0, dword [ecx + esi*8 - 4]
addss xmm1, dword [ecx + esi*8 - 8]
movss dword [eax + edx - 0x1c], xmm0
movaps xmm0, xmm5
movss dword [eax + edx - 0x20], xmm1
movaps xmm1, xmm5
mulss xmm0, dword [edi + esi*8 - 4]
mulss xmm1, dword [edi + esi*8 - 8]
addss xmm0, dword [ecx + esi*8 - 4]
addss xmm1, dword [ecx + esi*8 - 8]
movss dword [eax + edx - 0x14], xmm0
movaps xmm0, xmm5
movss dword [eax + edx - 0x18], xmm1
mulss xmm0, dword [edi + esi*8 - 8]
movss xmm2, dword [ecx + esi*8 - 8]
movss xmm1, dword [ecx + esi*8 - 4]
subss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [edi + esi*8 - 4]
subss xmm1, xmm0
movss dword [eax + edx - 0x10], xmm2
movaps xmm0, xmm3
movss dword [eax + edx - 0xc], xmm1
mulss xmm0, dword [edi + esi*8 - 8]
mulss xmm3, dword [edi + esi*8 - 4]
mov edi, dword [ebp - 0x30]
movss xmm1, dword [ecx + esi*8 - 8]
subss xmm1, xmm0
movss xmm0, dword [ecx + esi*8 - 4]
subss xmm0, xmm3
movss dword [eax + edx - 8], xmm1
movss dword [eax + edx - 4], xmm0
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x14], eax
jle 0x100966f8
movss xmm7, dword [0x1018a864]
movaps xmm2, xmm5
addss xmm2, xmm4
movss dword [ebp - 0x18], xmm2
lea ecx, [eax + 1]
xor eax, eax
cmp ecx, esi
mov dword [ebp - 0x3c], ecx
cmovne eax, ecx
mov dword [ebp - 0x38], eax
jne 0x1009650f
mov eax, dword [edi + 0x28]
jmp 0x10096515
mov eax, dword [ebp - 0x10]
add eax, 4
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
lea eax, [esi*8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
movss xmm3, dword [eax + ecx*8]
mov ecx, dword [ebp - 0x24]
addss xmm3, dword [ecx + eax]
movss xmm4, dword [ecx + eax + 4]
mov ecx, dword [ebp - 0xc]
mulss xmm3, xmm6
addss xmm4, dword [eax + ecx*8 + 4]
mov ecx, dword [ebx + 8]
movaps xmm0, xmm3
mulss xmm0, xmm3
mulss xmm4, xmm6
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
comiss xmm1, dword [0x1018a7e8]
jbe 0x1009658b
movaps xmm0, xmm7
divss xmm0, xmm1
movss xmm1, dword [0x1018a95c]
minss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm4, xmm1
mulss xmm3, xmm0
mov eax, dword [ebp - 0x24]
movaps xmm1, xmm3
mulss xmm1, xmm2
movaps xmm2, xmm4
shl esi, 5
mulss xmm2, dword [ebp - 0x18]
add esi, edx
movaps xmm0, xmm1
mulss xmm3, xmm5
addss xmm0, dword [eax + ecx]
mulss xmm4, xmm5
movss dword [esi], xmm0
movaps xmm0, xmm2
addss xmm0, dword [eax + ecx + 4]
movss dword [esi + 4], xmm0
movaps xmm0, xmm3
addss xmm0, dword [eax + ecx]
movss dword [esi + 8], xmm0
movaps xmm0, xmm4
addss xmm0, dword [eax + ecx + 4]
movss dword [esi + 0xc], xmm0
movss xmm0, dword [eax + ecx]
subss xmm0, xmm3
movss dword [esi + 0x10], xmm0
movss xmm0, dword [eax + ecx + 4]
subss xmm0, xmm4
movss dword [esi + 0x14], xmm0
movss xmm0, dword [eax + ecx]
subss xmm0, xmm1
movss dword [esi + 0x18], xmm0
movss xmm0, dword [eax + ecx + 4]
mov eax, dword [ebp - 0x2c]
subss xmm0, xmm2
movzx eax, ax
mov dword [ebp - 0xc], eax
movss dword [esi + 0x1c], xmm0
lea esi, [eax + 1]
mov eax, dword [edi + 0x38]
mov word [eax], si
mov eax, dword [ebp - 0x10]
movzx edi, ax
mov eax, dword [ebp - 0x30]
lea ecx, [edi + 1]
mov eax, dword [eax + 0x38]
lea edx, [edi + 2]
mov word [eax + 2], cx
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + 0x38]
mov word [eax + 4], dx
mov eax, dword [ecx + 0x38]
mov word [eax + 6], dx
mov eax, dword [ecx + 0x38]
mov edx, dword [ebp - 0xc]
add edx, 2
mov word [eax + 8], dx
mov edx, ecx
lea ecx, [edi + 1]
mov eax, dword [edx + 0x38]
mov word [eax + 0xa], si
mov eax, dword [edx + 0x38]
mov word [eax + 0xc], si
mov eax, dword [edx + 0x38]
mov word [eax + 0xe], cx
mov eax, dword [edx + 0x38]
mov ecx, dword [ebp - 0xc]
mov word [eax + 0x10], di
mov eax, dword [edx + 0x38]
mov word [eax + 0x12], di
mov eax, dword [edx + 0x38]
mov word [eax + 0x14], cx
mov eax, dword [edx + 0x38]
mov word [eax + 0x16], si
lea esi, [ecx + 2]
mov eax, dword [edx + 0x38]
lea ecx, [edi + 3]
mov word [eax + 0x18], si
mov eax, dword [edx + 0x38]
lea edx, [edi + 2]
mov edi, dword [ebp - 0x30]
mov word [eax + 0x1a], dx
mov eax, dword [edi + 0x38]
mov word [eax + 0x1c], cx
mov eax, dword [edi + 0x38]
movss xmm2, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov word [eax + 0x1e], cx
mov eax, dword [edi + 0x38]
mov ecx, dword [ebp - 0xc]
add ecx, 3
mov word [eax + 0x20], cx
mov eax, dword [edi + 0x38]
mov word [eax + 0x22], si
mov eax, dword [ebp - 0x2c]
add dword [edi + 0x38], 0x24
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp - 0x14]
jl 0x100964f8
mov eax, dword [ebp - 0x1c]
movss xmm0, dword [ebp - 0x44]
add eax, 0x10
movss xmm1, dword [ebp - 0x48]
mov dword [ebp - 0x14], eax
nop dword [eax + eax]
mov ecx, dword [eax - 0x10]
mov edx, dword [eax - 0xc]
mov eax, dword [edi + 0x34]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [edi + 0x34]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x40]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], ecx
mov ecx, dword [edx - 8]
mov eax, dword [edi + 0x34]
mov edx, dword [edx - 4]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edx
mov eax, dword [edi + 0x34]
mov ecx, dword [ebx + 0x10]
movss dword [eax + 0x1c], xmm0
movss dword [eax + 0x20], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x24], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [edi + 0x34]
mov dword [eax + 0x28], ecx
mov ecx, dword [ebx + 0x10]
mov dword [eax + 0x2c], edx
mov eax, dword [edi + 0x34]
movss dword [eax + 0x30], xmm0
movss dword [eax + 0x34], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x38], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [edi + 0x34]
mov dword [eax + 0x3c], ecx
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0x40], edx
mov eax, dword [edi + 0x34]
movss dword [eax + 0x44], xmm0
movss dword [eax + 0x48], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x4c], ecx
mov eax, dword [ebp - 0x14]
add dword [edi + 0x34], 0x50
add eax, 0x20
mov dword [ebp - 0x14], eax
sub esi, 1
jne 0x10096710
mov eax, dword [ebp - 0x34]
movzx eax, ax
add dword [edi + 0x28], eax
jmp 0x10096df9
movss xmm5, dword [0x1018a864]
jmp 0x100967ee
movss xmm4, dword [ebp - 0x24]
movss xmm5, dword [0x1018a864]
mulss xmm4, xmm6
addss xmm4, xmm5
test cl, cl
jne 0x100968ad
mov eax, dword [ebp - 0x28]
movaps xmm0, xmm4
mov ecx, dword [ebx + 8]
movaps xmm1, xmm4
mov edi, dword [ebp - 0x28]
mulss xmm0, dword [eax + 4]
mulss xmm1, dword [eax]
addss xmm0, dword [ecx + 4]
addss xmm1, dword [ecx]
movss dword [edx + 4], xmm0
movaps xmm0, xmm4
movss dword [edx], xmm1
mulss xmm0, dword [eax]
movss xmm2, dword [ecx]
movss xmm1, dword [ecx + 4]
subss xmm2, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [eax + 4]
subss xmm1, xmm0
movss dword [edx + 8], xmm2
movaps xmm0, xmm4
movss dword [edx + 0xc], xmm1
movaps xmm1, xmm4
mulss xmm0, dword [eax + esi*8 - 4]
mulss xmm1, dword [eax + esi*8 - 8]
mov eax, esi
add eax, eax
addss xmm0, dword [ecx + esi*8 - 4]
addss xmm1, dword [ecx + esi*8 - 8]
movss dword [edx + eax*8 - 0xc], xmm0
movaps xmm0, xmm4
movss dword [edx + eax*8 - 0x10], xmm1
mulss xmm0, dword [edi + esi*8 - 8]
movss xmm2, dword [ecx + esi*8 - 8]
movss xmm1, dword [ecx + esi*8 - 4]
subss xmm2, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [edi + esi*8 - 4]
mov edi, dword [ebp - 0x30]
subss xmm1, xmm0
movss dword [edx + eax*8 - 8], xmm2
movss dword [edx + eax*8 - 4], xmm1
mov eax, dword [edi + 0x28]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x14], eax
jle 0x10096a83
movss xmm7, dword [0x1018a95c]
nop dword [eax]
lea ecx, [eax + 1]
xor eax, eax
cmp ecx, esi
mov dword [ebp - 0x38], ecx
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jne 0x100968ea
mov ecx, dword [edi + 0x28]
mov dword [ebp - 0x2c], ecx
jmp 0x100968ff
movzx eax, byte [ebp - 6]
mov ecx, dword [ebp - 0xc]
xor eax, 1
add ecx, 2
add eax, ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
shl eax, 3
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
movss xmm3, dword [eax + ecx*8 + 4]
movss xmm2, dword [esi + eax]
addss xmm2, dword [eax + ecx*8]
addss xmm3, dword [esi + eax + 4]
mov ecx, dword [ebx + 8]
mulss xmm2, xmm6
mulss xmm3, xmm6
movaps xmm0, xmm2
mulss xmm0, xmm2
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm1, xmm0
comiss xmm1, dword [0x1018a7e8]
jbe 0x10096963
movaps xmm0, xmm5
divss xmm0, xmm1
movaps xmm1, xmm7
minss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm3, xmm1
mulss xmm2, xmm0
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
shl eax, 4
add eax, edx
mulss xmm2, xmm4
mov edi, dword [ebp - 0xc]
mulss xmm3, xmm4
mov edx, dword [ebp - 0xc]
movaps xmm0, xmm2
addss xmm0, dword [esi + ecx]
movss dword [eax], xmm0
movaps xmm0, xmm3
addss xmm0, dword [esi + ecx + 4]
movss dword [eax + 4], xmm0
movss xmm0, dword [esi + ecx]
subss xmm0, xmm2
movss dword [eax + 8], xmm0
movss xmm0, dword [esi + ecx + 4]
subss xmm0, xmm3
movss dword [eax + 0xc], xmm0
mov eax, dword [ebp - 0x2c]
movzx esi, ax
mov ecx, esi
lea eax, [ecx + 1]
movzx eax, ax
mov dword [ebp - 0x10], eax
movzx eax, di
mov edi, dword [ebp - 0x30]
inc eax
cmp byte [ebp - 5], 0
movzx eax, ax
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x38]
mov word [eax], cx
mov eax, dword [edi + 0x38]
movzx ecx, dx
mov word [eax + 2], cx
mov eax, dword [edi + 0x38]
je 0x10096a0f
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov word [eax + 4], cx
mov eax, dword [edi + 0x38]
mov word [eax + 6], dx
mov eax, dword [edi + 0x38]
mov word [eax + 8], cx
mov eax, dword [edi + 0x38]
mov word [eax + 0xa], si
add dword [edi + 0x38], 0xc
jmp 0x10096a68
add ecx, 2
mov word [eax + 4], cx
mov eax, dword [edi + 0x38]
mov word [eax + 6], cx
lea ecx, [esi + 2]
mov eax, dword [edi + 0x38]
mov word [eax + 8], cx
mov eax, dword [edi + 0x38]
mov ecx, dword [ebp - 0x10]
mov word [eax + 0xa], si
mov eax, dword [edi + 0x38]
mov word [eax + 0xc], cx
mov eax, dword [edi + 0x38]
mov ecx, dword [ebp - 0x18]
mov word [eax + 0xe], cx
mov eax, dword [edi + 0x38]
movzx ecx, dx
mov word [eax + 0x10], cx
mov eax, dword [edi + 0x38]
mov word [eax + 0x12], cx
mov eax, dword [edi + 0x38]
mov ecx, dword [ebp - 0x10]
mov word [eax + 0x14], si
mov eax, dword [edi + 0x38]
mov word [eax + 0x16], cx
add dword [edi + 0x38], 0x18
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 0x14]
jl 0x100968d0
cmp byte [ebp - 5], 0
je 0x10096b22
mov eax, dword [edi + 0x2c]
mov ecx, dword [ebp - 0x50]
add ecx, ecx
mov eax, dword [eax + 0x1f0]
movups xmm0, xmmword [eax + ecx*8]
movups xmmword [ebp - 0x60], xmm0
movss xmm0, dword [ebp - 0x54]
movss xmm1, dword [ebp - 0x58]
movss xmm2, dword [ebp - 0x5c]
movss xmm3, dword [ebp - 0x60]
mov ecx, dword [edx]
mov eax, dword [edi + 0x34]
mov edx, dword [edx + 4]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x10]
mov dword [eax + 4], edx
mov eax, dword [edi + 0x34]
mov edx, dword [ebp - 0x1c]
movss dword [eax + 8], xmm3
movss dword [eax + 0xc], xmm2
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], ecx
mov ecx, dword [edx + 8]
mov eax, dword [edi + 0x34]
mov edx, dword [edx + 0xc]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, dword [edi + 0x34]
mov edx, dword [ebp - 0x1c]
add edx, 0x10
mov dword [ebp - 0x1c], edx
movss dword [eax + 0x1c], xmm1
movss dword [eax + 0x20], xmm0
mov eax, dword [edi + 0x34]
mov dword [eax + 0x24], ecx
add dword [edi + 0x34], 0x28
sub esi, 1
jne 0x10096ab7
mov eax, dword [ebp - 0x34]
movzx eax, ax
add dword [edi + 0x28], eax
jmp 0x10096df9
mov eax, dword [ebp - 0x34]
movss xmm0, dword [ebp - 0x44]
movss xmm1, dword [ebp - 0x48]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [edi + 0x34]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [edi + 0x34]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x10]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0x18], edx
mov eax, dword [edi + 0x34]
movss dword [eax + 0x1c], xmm0
movss dword [eax + 0x20], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x24], ecx
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x1c], 0x10
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [edi + 0x34]
mov dword [eax + 0x28], ecx
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0x2c], edx
mov eax, dword [edi + 0x34]
movss dword [eax + 0x30], xmm0
movss dword [eax + 0x34], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x38], ecx
mov eax, dword [ebp - 0x4c]
add dword [edi + 0x34], 0x3c
add eax, 8
mov dword [ebp - 0x4c], eax
sub esi, 1
jne 0x10096b35
mov eax, dword [ebp - 0x34]
movzx eax, ax
add dword [edi + 0x28], eax
jmp 0x10096df9
lea eax, [ecx*4]
push eax
lea eax, [ecx + ecx*2]
mov ecx, edi
add eax, eax
push eax
call fcn.10095ec0
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x14], eax
jle 0x10096df9
movss xmm7, dword [ebx + 0x18]
mulss xmm7, dword [0x1018a828]
movss xmm3, dword [ebp - 0x44]
movss xmm4, dword [ebp - 0x48]
movss dword [ebx + 0x18], xmm7
nop
lea ecx, [eax + 1]
xor edx, edx
cmp ecx, esi
mov dword [ebp - 0x24], ecx
cmovne edx, ecx
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x18], edx
movss xmm6, dword [ecx + eax*8]
movss xmm2, dword [ecx + edx*8]
movss xmm1, dword [ecx + edx*8 + 4]
subss xmm2, xmm6
subss xmm1, dword [ecx + eax*8 + 4]
movss dword [ebp - 0x4c], xmm6
movaps xmm0, xmm2
movss dword [ebp - 0x38], xmm2
movaps xmm5, xmm1
mulss xmm0, xmm2
mulss xmm5, xmm1
movss dword [ebp - 0x3c], xmm1
addss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x10096cab
push ecx
movss dword [esp], xmm5
call fcn.10046460
fld1
add esp, 4
fdivrp st(1)
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0x18]
movss xmm2, dword [ebp - 0x38]
movss xmm3, dword [ebp - 0x44]
movss xmm4, dword [ebp - 0x48]
movss xmm6, dword [ebp - 0x4c]
movss xmm7, dword [ebx + 0x18]
fstp dword [ebp - 0x50]
movss xmm1, dword [ebp - 0x50]
movaps xmm0, xmm1
mulss xmm1, dword [ebp - 0x3c]
mulss xmm2, xmm0
mov eax, dword [edi + 0x34]
mulss xmm1, xmm7
mov esi, dword [ebx + 0x10]
mulss xmm2, xmm7
addss xmm6, xmm1
movss dword [eax], xmm6
mov eax, dword [ebp - 0x10]
movss xmm0, dword [ecx + eax*8 + 4]
mov eax, dword [edi + 0x34]
subss xmm0, xmm2
movss dword [eax + 4], xmm0
movaps xmm0, xmm1
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm3
movss dword [eax + 0xc], xmm4
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], esi
addss xmm0, dword [ecx + edx*8]
mov eax, dword [edi + 0x34]
movss dword [eax + 0x14], xmm0
movss xmm0, dword [ecx + edx*8 + 4]
mov eax, dword [edi + 0x34]
subss xmm0, xmm2
movss dword [eax + 0x18], xmm0
mov eax, dword [edi + 0x34]
movss dword [eax + 0x1c], xmm3
movss dword [eax + 0x20], xmm4
mov eax, dword [edi + 0x34]
mov dword [eax + 0x24], esi
movss xmm0, dword [ecx + edx*8]
mov eax, dword [edi + 0x34]
subss xmm0, xmm1
movss dword [eax + 0x28], xmm0
movaps xmm0, xmm2
addss xmm0, dword [ecx + edx*8 + 4]
mov eax, dword [edi + 0x34]
mov edx, esi
movss dword [eax + 0x2c], xmm0
mov eax, dword [edi + 0x34]
movss dword [eax + 0x30], xmm3
movss dword [eax + 0x34], xmm4
mov eax, dword [edi + 0x34]
mov dword [eax + 0x38], edx
mov eax, dword [edi + 0x34]
mov edx, dword [ebp - 0x10]
movss xmm0, dword [ecx + edx*8]
subss xmm0, xmm1
movss dword [eax + 0x3c], xmm0
addss xmm2, dword [ecx + edx*8 + 4]
mov eax, dword [edi + 0x34]
mov ecx, esi
movss dword [eax + 0x40], xmm2
mov eax, dword [edi + 0x34]
movss dword [eax + 0x44], xmm3
movss dword [eax + 0x48], xmm4
mov eax, dword [edi + 0x34]
mov dword [eax + 0x4c], ecx
mov ecx, dword [edi + 0x38]
movzx eax, word [edi + 0x28]
add dword [edi + 0x34], 0x50
mov word [ecx], ax
mov eax, dword [edi + 0x38]
movzx ecx, word [edi + 0x28]
inc cx
mov word [eax + 2], cx
mov eax, dword [edi + 0x38]
movzx ecx, word [edi + 0x28]
add cx, 2
mov word [eax + 4], cx
mov ecx, dword [edi + 0x38]
movzx eax, word [edi + 0x28]
mov word [ecx + 6], ax
mov eax, dword [edi + 0x38]
movzx ecx, word [edi + 0x28]
add cx, 2
mov word [eax + 8], cx
mov eax, dword [edi + 0x38]
movzx ecx, word [edi + 0x28]
add cx, 3
mov word [eax + 0xa], cx
add dword [edi + 0x38], 0xc
mov eax, dword [ebp - 0x24]
add dword [edi + 0x28], 4
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 0x14]
jl 0x10096c10
lea esp, [ebp - 0x68]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100fc8a1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14