Function at 0x1004ffa0
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, 0x40
mov eax, dword [0x10077008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebx + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 8], edi
cmp esi, 2
jl 0x10050ac4
mov eax, dword [0x10077088]
lea ecx, [esi - 1]
cmp byte [ebx + 0x14], 0
cmovne ecx, esi
movss xmm0, dword [eax + 0x1724]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [eax + 0x1728]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebx + 0x18]
comiss xmm0, dword [0x10070e90]
mov dword [ebp - 0x20], ecx
seta dl
test byte [eax + 0x1470], 1
mov byte [ebp - 0x25], dl
je 0x100508a1
mov eax, dword [ebx + 0x10]
and eax, 0xffffff
mov dword [ebp - 0x18], eax
test dl, dl
je 0x10050040
lea eax, [esi*4]
mov dword [ebp - 0x1c], 0x12
jmp 0x1005004a
lea eax, [esi + esi*2]
mov dword [ebp - 0x1c], 0xc
imul ecx, dword [ebp - 0x1c]
movzx esi, dl
mov dword [ebp - 0x3c], eax
lea eax, [esi + 3]
imul eax, dword [ebx + 0xc]
push eax
push ecx
mov ecx, edi
call fcn.1004fdf0
shl esi, 4
lea eax, [esi + 0x18]
imul eax, dword [ebx + 0xc]
call fcn.10068580
cmp dword [ebp - 0x20], 0
mov edx, esp
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x14], eax
lea esi, [edx + ecx*8]
mov dword [ebp - 0x1c], esi
jle 0x1005013b
xorps xmm4, xmm4
mov edi, eax
xor esi, esi
lea eax, [esi + 1]
mov dword [ebp - 0xc], eax
xor eax, eax
cmp dword [ebp - 0xc], ecx
cmovne eax, dword [ebp - 0xc]
movss xmm0, dword [edi + eax*8]
movss xmm2, dword [edi + eax*8 + 4]
subss xmm0, dword [edi + esi*8]
subss xmm2, dword [edi + esi*8 + 4]
movaps xmm1, xmm0
movss dword [ebp - 0x24], xmm0
movaps xmm3, xmm2
mulss xmm1, xmm0
mulss xmm3, xmm2
movss dword [ebp - 0x2c], xmm2
addss xmm3, xmm1
comiss xmm3, xmm4
jbe 0x10050107
movaps xmm0, xmm3
call fcn.10002bd0
movss xmm1, dword [0x10070e90]
xorps xmm4, xmm4
movss xmm2, dword [ebp - 0x2c]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 0x40]
divss xmm1, xmm0
movss xmm0, dword [ebp - 0x24]
jmp 0x1005010f
movss xmm1, dword [0x10070e90]
mulss xmm0, xmm1
mulss xmm2, xmm1
xorps xmm0, xmmword [0x100719c0]
movss dword [edx + esi*8 + 4], xmm0
movss dword [edx + esi*8], xmm2
mov esi, dword [ebp - 0xc]
cmp esi, dword [ebp - 0x20]
jl 0x10050098
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x1c]
mov al, byte [ebx + 0x14]
test al, al
jne 0x10050153
mov eax, dword [edx + ecx*8 - 0x10]
mov dword [esi - 8], eax
mov eax, dword [edx + ecx*8 - 0xc]
mov dword [esi - 4], eax
mov al, byte [ebx + 0x14]
cmp byte [ebp - 0x25], 0
jne 0x1005040c
test al, al
jne 0x100501ed
mov eax, dword [ebx + 8]
movss xmm1, dword [edx + 4]
mov edi, dword [ebx + 8]
addss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
addss xmm0, dword [edx]
movss dword [esi + 4], xmm1
movss dword [esi], xmm0
movss xmm1, dword [eax]
movss xmm0, dword [eax + 4]
subss xmm1, dword [edx]
subss xmm0, dword [edx + 4]
movss dword [esi + 8], xmm1
movss dword [esi + 0xc], xmm0
movss xmm1, dword [esi - 8]
addss xmm1, dword [eax + ecx*8 - 8]
movss xmm0, dword [eax + ecx*8 - 4]
mov eax, ecx
addss xmm0, dword [esi - 4]
add eax, eax
movss dword [esi + eax*8 - 0x10], xmm1
movss dword [esi + eax*8 - 0xc], xmm0
movss xmm1, dword [edi + ecx*8 - 8]
movss xmm0, dword [edi + ecx*8 - 4]
subss xmm1, dword [esi - 8]
subss xmm0, dword [esi - 4]
mov edi, dword [ebp - 8]
movss dword [esi + eax*8 - 8], xmm1
movss dword [esi + eax*8 - 4], xmm0
mov eax, dword [edi + 0x28]
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], eax
jle 0x1005035d
movss xmm4, dword [0x10070e5c]
movss xmm6, dword [0x10070d9c]
movss xmm5, dword [0x10070f40]
nop dword [eax]
inc eax
mov dword [ebp - 0x10], eax
xor eax, eax
cmp dword [ebp - 0x10], ecx
cmovne eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
jne 0x10050237
mov ecx, dword [edi + 0x28]
jmp 0x1005023d
mov ecx, dword [ebp - 8]
add ecx, 3
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x24]
movss xmm3, dword [edx + eax*8 + 4]
movss xmm2, dword [edx + ecx*8]
addss xmm2, dword [edx + eax*8]
addss xmm3, dword [edx + ecx*8 + 4]
mulss xmm2, xmm4
mulss xmm3, xmm4
movaps xmm0, xmm2
mulss xmm0, xmm2
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm1, xmm0
comiss xmm1, xmm6
jbe 0x10050296
movss xmm0, dword [0x10070e90]
divss xmm0, xmm1
movaps xmm1, xmm5
minss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
mov eax, dword [ebx + 8]
movaps xmm1, xmm2
movss xmm0, dword [eax + ecx*8 + 4]
lea eax, [eax + ecx*8]
addss xmm1, dword [eax]
mov edx, dword [ebp - 0xc]
addss xmm0, xmm3
add ecx, ecx
movss dword [esi + ecx*8], xmm1
movss dword [esi + ecx*8 + 4], xmm0
movss xmm1, dword [eax]
movss xmm0, dword [eax + 4]
subss xmm1, xmm2
subss xmm0, xmm3
movss dword [esi + ecx*8 + 8], xmm1
movss dword [esi + ecx*8 + 0xc], xmm0
mov eax, dword [edi + 0x30]
mov ecx, dword [ebp - 8]
mov word [eax], dx
mov eax, dword [edi + 0x30]
mov word [eax + 2], cx
add ecx, 2
mov eax, dword [edi + 0x30]
mov word [eax + 4], cx
mov eax, dword [edi + 0x30]
mov word [eax + 6], cx
lea ecx, [edx + 2]
mov eax, dword [edi + 0x30]
mov word [eax + 8], cx
mov eax, dword [edi + 0x30]
mov ecx, dword [ebp - 8]
inc ecx
mov word [eax + 0xa], dx
inc edx
mov eax, dword [edi + 0x30]
mov word [eax + 0xc], dx
mov eax, dword [edi + 0x30]
mov word [eax + 0xe], cx
mov eax, dword [edi + 0x30]
mov ecx, dword [ebp - 8]
mov word [eax + 0x10], cx
mov eax, dword [edi + 0x30]
mov word [eax + 0x12], cx
mov eax, dword [edi + 0x30]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov word [eax + 0x14], cx
mov eax, dword [edi + 0x30]
mov ecx, dword [ebx + 0xc]
mov word [eax + 0x16], dx
mov eax, dword [ebp - 0x10]
add dword [edi + 0x30], 0x18
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp - 0x20]
jl 0x10050220
mov edx, dword [ebx + 0xc]
test edx, edx
jle 0x10050893
movss xmm0, dword [ebp - 0x34]
movss xmm1, dword [ebp - 0x38]
mov eax, dword [ebx + 8]
mov eax, dword [eax]
lea esi, [esi + 0x10]
mov ecx, dword [edi + 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x2c]
mov ecx, dword [ebx + 0x10]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x2c]
mov dword [eax + 0x10], ecx
mov ecx, dword [edi + 0x2c]
mov eax, dword [esi - 0x10]
mov dword [ecx + 0x14], eax
mov eax, dword [esi - 0xc]
mov dword [ecx + 0x18], eax
mov eax, dword [edi + 0x2c]
mov ecx, dword [ebp - 0x18]
movss dword [eax + 0x1c], xmm0
movss dword [eax + 0x20], xmm1
mov eax, dword [edi + 0x2c]
mov dword [eax + 0x24], ecx
mov ecx, dword [edi + 0x2c]
mov eax, dword [esi - 8]
mov dword [ecx + 0x28], eax
mov eax, dword [esi - 4]
mov dword [ecx + 0x2c], eax
mov eax, dword [edi + 0x2c]
mov ecx, dword [ebp - 0x18]
movss dword [eax + 0x30], xmm0
movss dword [eax + 0x34], xmm1
mov eax, dword [edi + 0x2c]
mov dword [eax + 0x38], ecx
mov eax, dword [ebp - 0x14]
add dword [edi + 0x2c], 0x3c
add eax, 8
mov dword [ebp - 0x14], eax
sub edx, 1
jne 0x10050375
mov eax, dword [ebp - 0x3c]
movzx eax, ax
add dword [edi + 0x28], eax
jmp 0x10050ac4
movss xmm1, dword [0x10070e90]
movss xmm6, dword [ebx + 0x18]
movss xmm7, dword [0x10070e5c]
subss xmm6, xmm1
mulss xmm6, xmm7
test al, al
jne 0x100505b8
movss xmm0, dword [edx]
movaps xmm3, xmm6
movss xmm2, dword [edx + 4]
addss xmm3, xmm1
mov eax, dword [ebx + 8]
mov edi, dword [ebx + 8]
movss xmm1, dword [eax]
mulss xmm0, xmm3
mulss xmm2, xmm3
addss xmm1, xmm0
addss xmm2, dword [eax + 4]
movss dword [esi], xmm1
movss dword [esi + 4], xmm2
movss xmm0, dword [edx]
movss xmm2, dword [edx + 4]
movss xmm1, dword [eax]
mulss xmm0, xmm6
mulss xmm2, xmm6
addss xmm1, xmm0
addss xmm2, dword [eax + 4]
movss dword [esi + 8], xmm1
movss dword [esi + 0xc], xmm2
movss xmm0, dword [edx]
movss xmm1, dword [edx + 4]
movss xmm2, dword [eax]
mulss xmm0, xmm6
mulss xmm1, xmm6
subss xmm2, xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm1
movss dword [esi + 0x10], xmm2
movss dword [esi + 0x14], xmm0
movss xmm0, dword [edx]
movss xmm1, dword [edx + 4]
movss xmm2, dword [eax]
mulss xmm0, xmm3
mulss xmm1, xmm3
subss xmm2, xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm1
movss dword [esi + 0x18], xmm2
movss dword [esi + 0x1c], xmm0
movss xmm2, dword [esi - 8]
movss xmm0, dword [esi - 4]
movss xmm1, dword [eax + ecx*8 - 4]
mulss xmm0, xmm3
mulss xmm2, xmm3
addss xmm1, xmm0
addss xmm2, dword [eax + ecx*8 - 8]
mov eax, ecx
shl eax, 5
movss dword [eax + esi - 0x20], xmm2
movss dword [eax + esi - 0x1c], xmm1
movss xmm0, dword [esi - 8]
movss xmm1, dword [esi - 4]
movss xmm2, dword [edi + ecx*8 - 8]
mulss xmm0, xmm6
mulss xmm1, xmm6
addss xmm2, xmm0
movss xmm0, dword [edi + ecx*8 - 4]
addss xmm0, xmm1
movss dword [eax + esi - 0x18], xmm2
movss dword [eax + esi - 0x14], xmm0
movaps xmm0, xmm6
mulss xmm0, dword [esi - 8]
movss xmm1, dword [esi - 4]
movss xmm2, dword [edi + ecx*8 - 8]
subss xmm2, xmm0
mulss xmm1, xmm6
movss xmm0, dword [edi + ecx*8 - 4]
subss xmm0, xmm1
movss dword [eax + esi - 0x10], xmm2
movss dword [eax + esi - 0xc], xmm0
movss xmm0, dword [esi - 8]
movss xmm1, dword [esi - 4]
movss xmm2, dword [edi + ecx*8 - 8]
mulss xmm0, xmm3
mulss xmm1, xmm3
subss xmm2, xmm0
movss xmm0, dword [edi + ecx*8 - 4]
subss xmm0, xmm1
movss xmm1, dword [0x10070e90]
mov edi, dword [ebp - 8]
movss dword [eax + esi - 8], xmm2
movss dword [eax + esi - 4], xmm0
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x20], eax
jle 0x100507d0
movaps xmm3, xmm6
addss xmm3, xmm1
movss dword [ebp - 0x24], xmm3
inc eax
mov dword [ebp - 0xc], eax
xor eax, eax
cmp dword [ebp - 0xc], ecx
cmovne eax, dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
jne 0x100505ef
mov eax, dword [edi + 0x28]
jmp 0x100505f5
mov eax, dword [ebp - 0x10]
add eax, 4
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
movss xmm4, dword [edx + eax*8]
movss xmm5, dword [edx + eax*8 + 4]
addss xmm4, dword [edx + ecx*8]
addss xmm5, dword [edx + ecx*8 + 4]
mulss xmm4, xmm7
mulss xmm5, xmm7
movaps xmm2, xmm4
mulss xmm2, xmm4
movaps xmm0, xmm5
mulss xmm0, xmm5
addss xmm2, xmm0
comiss xmm2, dword [0x10070d9c]
jbe 0x10050652
movaps xmm0, xmm1
movss xmm1, dword [0x10070f40]
divss xmm0, xmm2
minss xmm1, xmm0
mulss xmm4, xmm1
mulss xmm5, xmm1
mov eax, dword [ebx + 8]
movaps xmm2, xmm3
movss xmm0, dword [eax + ecx*8 + 4]
lea eax, [eax + ecx*8]
shl ecx, 5
movaps xmm3, xmm5
mulss xmm3, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mulss xmm2, xmm4
addss xmm0, xmm3
mulss xmm4, xmm6
movaps xmm1, xmm2
mulss xmm5, xmm6
addss xmm1, dword [eax]
movss dword [ecx + esi + 4], xmm0
movss dword [ecx + esi], xmm1
movss xmm1, dword [eax]
movss xmm0, dword [eax + 4]
addss xmm1, xmm4
addss xmm0, xmm5
movss dword [ecx + esi + 8], xmm1
movss dword [ecx + esi + 0xc], xmm0
movss xmm1, dword [eax]
movss xmm0, dword [eax + 4]
subss xmm1, xmm4
subss xmm0, xmm5
movss dword [ecx + esi + 0x10], xmm1
movss dword [ecx + esi + 0x14], xmm0
movss xmm1, dword [eax]
movss xmm0, dword [eax + 4]
subss xmm1, xmm2
subss xmm0, xmm3
movss dword [ecx + esi + 0x18], xmm1
movss dword [ecx + esi + 0x1c], xmm0
lea ecx, [edx + 1]
mov eax, dword [edi + 0x30]
add edx, 2
mov esi, dword [ebp - 0x14]
inc esi
mov dword [ebp - 0x30], edx
mov word [eax], si
mov eax, dword [edi + 0x30]
mov word [eax + 2], cx
mov eax, dword [edi + 0x30]
mov word [eax + 4], dx
mov eax, dword [edi + 0x30]
mov edi, dword [ebp - 0x14]
add edi, 2
mov word [eax + 6], dx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + 0x30]
mov word [eax + 8], di
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov word [eax + 0xa], si
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov word [eax + 0xc], si
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov word [eax + 0xe], cx
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x30]
mov word [eax + 0x10], dx
mov eax, dword [ecx + 0x30]
mov word [eax + 0x12], dx
mov eax, dword [ecx + 0x30]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov word [eax + 0x14], cx
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x30]
mov word [eax + 0x16], si
mov eax, dword [ecx + 0x30]
mov word [eax + 0x18], di
mov eax, dword [ecx + 0x30]
mov ecx, dword [ebp - 0x10]
add ecx, 3
mov word [eax + 0x1a], dx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x30]
mov esi, dword [ebp - 0x14]
movss xmm1, dword [0x10070e90]
movss xmm3, dword [ebp - 0x24]
mov word [eax + 0x1c], cx
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x10], esi
mov word [eax + 0x1e], cx
lea ecx, [esi + 3]
mov eax, dword [edx + 0x30]
mov esi, dword [ebp - 0x1c]
mov word [eax + 0x20], cx
mov eax, dword [edx + 0x30]
mov ecx, dword [ebx + 0xc]
mov word [eax + 0x22], di
mov edi, edx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x2c], eax
add dword [edi + 0x30], 0x24
cmp eax, dword [ebp - 0x20]
jl 0x100505d8
mov edx, dword [ebx + 0xc]
test edx, edx
jle 0x10050893
movss xmm0, dword [ebp - 0x34]
add esi, 0x10
movss xmm1, dword [ebp - 0x38]
nop dword [eax + eax]
mov ecx, dword [edi + 0x2c]
lea esi, [esi + 0x20]
mov eax, dword [esi - 0x30]
mov dword [ecx], eax
mov eax, dword [esi - 0x2c]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x2c]
mov ecx, dword [ebp - 0x18]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x2c]
mov dword [eax + 0x10], ecx
mov ecx, dword [edi + 0x2c]
mov eax, dword [esi - 0x28]
mov dword [ecx + 0x14], eax
mov eax, dword [esi - 0x24]
mov dword [ecx + 0x18], eax
mov eax, dword [edi + 0x2c]
mov ecx, dword [ebx + 0x10]
movss dword [eax + 0x1c], xmm0
movss dword [eax + 0x20], xmm1
mov eax, dword [edi + 0x2c]
mov dword [eax + 0x24], ecx
mov ecx, dword [edi + 0x2c]
mov eax, dword [esi - 0x20]
mov dword [ecx + 0x28], eax
mov eax, dword [esi - 0x1c]
mov dword [ecx + 0x2c], eax
mov eax, dword [edi + 0x2c]
mov ecx, dword [ebx + 0x10]
movss dword [eax + 0x30], xmm0
movss dword [eax + 0x34], xmm1
mov eax, dword [edi + 0x2c]
mov dword [eax + 0x38], ecx
mov ecx, dword [edi + 0x2c]
mov eax, dword [esi - 0x18]
mov dword [ecx + 0x3c], eax
mov eax, dword [esi - 0x14]
mov dword [ecx + 0x40], eax
mov eax, dword [edi + 0x2c]
mov ecx, dword [ebp - 0x18]
movss dword [eax + 0x44], xmm0
movss dword [eax + 0x48], xmm1
mov eax, dword [edi + 0x2c]
mov dword [eax + 0x4c], ecx
add dword [edi + 0x2c], 0x50
sub edx, 1
jne 0x100507f0
mov eax, dword [ebp - 0x3c]
movzx eax, ax
add dword [edi + 0x28], eax
jmp 0x10050ac4
lea eax, [ecx*4]
push eax
lea eax, [ecx + ecx*2]
mov ecx, edi
add eax, eax
push eax
call fcn.1004fdf0
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x20], eax
jle 0x10050ac4
movss xmm0, dword [ebx + 0x18]
xorps xmm5, xmm5
mulss xmm0, dword [0x10070e5c]
movss xmm3, dword [ebp - 0x34]
movss xmm4, dword [ebp - 0x38]
movss dword [ebx + 0x18], xmm0
lea ecx, [eax + 1]
xor edx, edx
cmp ecx, esi
mov dword [ebp - 0x2c], ecx
cmovne edx, ecx
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x3c], edx
movss xmm1, dword [ecx + edx*8]
subss xmm1, dword [ecx + eax*8]
movss xmm2, dword [ecx + edx*8 + 4]
subss xmm2, dword [ecx + eax*8 + 4]
movaps xmm0, xmm1
movss dword [ebp - 0x24], xmm1
mulss xmm0, xmm1
movaps xmm1, xmm2
movss dword [ebp - 0x30], xmm2
mulss xmm1, xmm2
addss xmm0, xmm1
comiss xmm0, xmm5
jbe 0x10050958
call fcn.10002bd0
movss xmm5, dword [0x10070e90]
movss xmm2, dword [ebp - 0x30]
movss xmm3, dword [ebp - 0x34]
movss xmm4, dword [ebp - 0x38]
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x18]
divss xmm5, xmm0
jmp 0x10050960
movss xmm5, dword [0x10070e90]
mulss xmm2, xmm5
movaps xmm1, xmm5
mov esi, dword [ebx + 0x10]
mulss xmm1, dword [ebp - 0x24]
mulss xmm2, dword [ebx + 0x18]
mulss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm2
addss xmm0, dword [ecx + eax*8]
mov eax, dword [edi + 0x2c]
movss dword [eax], xmm0
mov eax, dword [ebp - 0x18]
movss xmm0, dword [ecx + eax*8 + 4]
mov eax, dword [edi + 0x2c]
subss xmm0, xmm1
movss dword [eax + 4], xmm0
mov eax, dword [edi + 0x2c]
movss dword [eax + 8], xmm3
movss dword [eax + 0xc], xmm4
mov eax, dword [edi + 0x2c]
mov dword [eax + 0x10], esi
movss xmm0, dword [ecx + edx*8]
mov eax, dword [edi + 0x2c]
addss xmm0, xmm2
movss dword [eax + 0x14], xmm0
movss xmm0, dword [ecx + edx*8 + 4]
mov eax, dword [edi + 0x2c]
subss xmm0, xmm1
movss dword [eax + 0x18], xmm0
mov eax, dword [edi + 0x2c]
movss dword [eax + 0x1c], xmm3
movss dword [eax + 0x20], xmm4
mov eax, dword [edi + 0x2c]
mov dword [eax + 0x24], esi
movss xmm0, dword [ecx + edx*8]
mov eax, dword [edi + 0x2c]
subss xmm0, xmm2
movss dword [eax + 0x28], xmm0
movaps xmm0, xmm1
addss xmm0, dword [ecx + edx*8 + 4]
mov eax, dword [edi + 0x2c]
mov edx, esi
movss dword [eax + 0x2c], xmm0
mov eax, dword [edi + 0x2c]
movss dword [eax + 0x30], xmm3
movss dword [eax + 0x34], xmm4
mov eax, dword [edi + 0x2c]
mov dword [eax + 0x38], edx
mov eax, dword [edi + 0x2c]
mov edx, dword [ebp - 0x18]
movss xmm0, dword [ecx + edx*8]
subss xmm0, xmm2
movss dword [eax + 0x3c], xmm0
addss xmm1, dword [ecx + edx*8 + 4]
mov eax, dword [edi + 0x2c]
mov ecx, esi
movss dword [eax + 0x40], xmm1
mov eax, dword [edi + 0x2c]
movss dword [eax + 0x44], xmm3
movss dword [eax + 0x48], xmm4
mov eax, dword [edi + 0x2c]
mov dword [eax + 0x4c], ecx
mov ecx, dword [edi + 0x30]
movzx eax, word [edi + 0x28]
add dword [edi + 0x2c], 0x50
mov word [ecx], ax
movzx ecx, word [edi + 0x28]
mov eax, dword [edi + 0x30]
inc cx
mov word [eax + 2], cx
movzx ecx, word [edi + 0x28]
mov eax, dword [edi + 0x30]
add cx, 2
mov word [eax + 4], cx
mov ecx, dword [edi + 0x30]
movzx eax, word [edi + 0x28]
mov word [ecx + 6], ax
movzx ecx, word [edi + 0x28]
mov eax, dword [edi + 0x30]
add cx, 2
mov word [eax + 8], cx
movzx ecx, word [edi + 0x28]
mov eax, dword [edi + 0x30]
add cx, 3
mov esi, dword [ebx + 0xc]
xorps xmm5, xmm5
mov word [eax + 0xa], cx
mov eax, dword [ebp - 0x2c]
add dword [edi + 0x30], 0xc
add dword [edi + 0x28], 4
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x20]
jl 0x100508e3
lea esp, [ebp - 0x48]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100671ce
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18