Function at 0x1001ad10
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 [0x1006a00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebx + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 0xc], edi
cmp esi, 2
jl 0x1001b8ca
mov eax, dword [edi + 0x28]
lea edx, [esi - 1]
cmp byte [ebx + 0x14], 0
cmovne edx, esi
movss xmm0, dword [eax]
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x54], xmm0
movss xmm0, dword [ebx + 0x18]
comiss xmm0, dword [0x1006747c]
mov dword [ebp - 0x18], edx
seta cl
test byte [edi + 0x24], 1
mov byte [ebp - 0x11], cl
je 0x1001b699
mov eax, dword [ebx + 0x10]
movzx esi, cl
and eax, 0xffffff
mov dword [ebp - 0x4c], eax
mov ecx, 0x12
lea eax, [esi + 3]
imul eax, dword [ebx + 0xc]
cmp byte [ebp - 0x11], 0
push eax
mov dword [ebp - 0x5c], eax
mov eax, 0xc
cmove ecx, eax
imul ecx, edx
push ecx
mov ecx, edi
call fcn.1001ab60
shl esi, 4
lea eax, [esi + 0x18]
imul eax, dword [ebx + 0xc]
call fcn.10043820
cmp dword [ebp - 0x18], 0
mov eax, esp
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
mov dword [ebp - 0x38], edx
lea esi, [eax + ecx*8]
mov dword [ebp - 0x20], esi
jle 0x1001ae91
xorps xmm3, xmm3
mov edi, eax
xor esi, esi
nop dword [eax + eax]
lea eax, [esi + 1]
mov dword [ebp - 0x10], eax
xor eax, eax
cmp dword [ebp - 0x10], ecx
cmovne eax, dword [ebp - 0x10]
movss xmm1, dword [edx + eax*8 + 4]
subss xmm1, dword [edx + esi*8 + 4]
movss xmm2, dword [edx + eax*8]
subss xmm2, dword [edx + esi*8]
movaps xmm0, xmm1
movss dword [ebp - 0x1c], xmm1
mulss xmm0, xmm1
movaps xmm1, xmm2
movss dword [ebp - 0x3c], xmm2
mulss xmm1, xmm2
addss xmm0, xmm1
comiss xmm0, xmm3
jbe 0x1001ae57
call fcn.10013350
movss xmm1, dword [0x1006747c]
xorps xmm3, xmm3
movss xmm2, dword [ebp - 0x3c]
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
divss xmm1, xmm0
jmp 0x1001ae5f
movss xmm1, dword [0x1006747c]
movaps xmm0, xmm1
mulss xmm1, xmm2
mulss xmm0, dword [ebp - 0x1c]
xorps xmm1, xmmword [0x10067860]
movss dword [edi + esi*8 + 4], xmm1
movss dword [edi + esi*8], xmm0
mov esi, dword [ebp - 0x10]
cmp esi, dword [ebp - 0x18]
jl 0x1001adf0
mov edi, dword [ebp - 0xc]
mov eax, esp
mov esi, dword [ebp - 0x20]
cmp byte [ebx + 0x14], 0
jne 0x1001aeaa
mov eax, dword [eax + ecx*8 - 0x10]
mov edi, esp
mov dword [esi - 8], eax
mov ecx, dword [edi + ecx*8 - 0xc]
mov edi, dword [ebp - 0xc]
mov dword [esi - 4], ecx
cmp byte [ebp - 0x11], 0
jne 0x1001b1b5
cmp byte [ebx + 0x14], 0
mov ecx, dword [ebx + 0xc]
jne 0x1001af42
mov eax, esp
movss xmm1, dword [eax]
addss xmm1, dword [edx]
movss xmm0, dword [eax + 4]
addss xmm0, dword [edx + 4]
movss dword [esi], xmm1
movss dword [esi + 4], xmm0
movss xmm1, dword [edx]
subss xmm1, dword [eax]
movss xmm0, dword [edx + 4]
subss xmm0, dword [eax + 4]
mov eax, ecx
add eax, eax
movss dword [esi + 8], xmm1
movss dword [esi + 0xc], xmm0
movss xmm1, dword [edx + ecx*8 - 8]
movss xmm0, dword [edx + ecx*8 - 4]
addss xmm1, dword [esi - 8]
addss xmm0, dword [esi - 4]
movss dword [esi + eax*8 - 0x10], xmm1
movss dword [esi + eax*8 - 0xc], xmm0
movss xmm1, dword [edx + ecx*8 - 8]
movss xmm0, dword [edx + ecx*8 - 4]
subss xmm1, dword [esi - 8]
subss xmm0, dword [esi - 4]
movss dword [esi + eax*8 - 8], xmm1
movss dword [esi + eax*8 - 4], xmm0
cmp dword [ebp - 0x18], 0
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x28], eax
jle 0x1001b113
movss xmm4, dword [0x10067444]
lea esi, [edx + 8]
movss xmm6, dword [0x100673f0]
mov eax, 8
movss xmm5, dword [0x1006754c]
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 0x18
mov dword [ebp - 0x34], eax
nop dword [eax]
cmp dword [ebp - 0x30], ecx
jne 0x1001afb2
mov eax, dword [edi + 0x30]
mov edi, edx
mov dword [ebp - 0x44], edx
xor edx, edx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x48], 8
mov dword [ebp - 0x10], eax
jmp 0x1001afd1
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], ecx
lea edx, [ecx - 8]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x40], edx
add ecx, 3
mov edx, eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
mov edi, eax
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x34]
mov eax, esp
movss xmm2, dword [eax + ecx - 8]
movss xmm3, dword [eax + ecx - 4]
addss xmm2, dword [edx + eax]
addss xmm3, dword [edx + eax + 4]
mulss xmm2, xmm4
mulss xmm3, xmm4
movaps xmm1, xmm2
mulss xmm1, xmm2
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm1, xmm0
comiss xmm1, xmm6
jbe 0x1001b02a
movss xmm0, dword [0x1006747c]
divss xmm0, xmm1
movaps xmm1, xmm5
minss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm3, xmm1
mulss xmm2, xmm0
mov eax, dword [ebp - 0x40]
movaps xmm1, xmm2
addss xmm1, dword [edi]
mov edx, dword [ebp - 0xc]
movaps xmm0, xmm3
addss xmm0, dword [edi + 4]
add dword [ebp - 0x2c], 0x10
inc dword [ebp - 0x30]
movss dword [eax + esi], xmm1
add dword [ebp - 8], 8
movss dword [eax + esi + 4], xmm0
movss xmm0, dword [edi + 4]
mov eax, dword [ebp - 0x44]
subss xmm0, xmm3
movss xmm1, dword [eax]
mov eax, dword [ebp - 0x48]
subss xmm1, xmm2
movss dword [eax + esi + 4], xmm0
movss dword [eax + esi], xmm1
mov eax, dword [ebp - 0x10]
movzx edi, ax
mov eax, dword [edx + 0x38]
mov word [eax], di
mov eax, dword [ebp - 0x28]
movzx esi, ax
mov eax, dword [edx + 0x38]
lea ecx, [esi + 2]
mov word [eax + 2], si
mov eax, dword [edx + 0x38]
mov word [eax + 4], cx
mov eax, dword [edx + 0x38]
mov word [eax + 6], cx
lea ecx, [edi + 2]
mov eax, dword [edx + 0x38]
mov word [eax + 8], cx
lea ecx, [esi + 1]
mov eax, dword [edx + 0x38]
lea edx, [edi + 1]
mov word [eax + 0xa], di
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
mov word [eax + 0xc], dx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
mov word [eax + 0xe], cx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 0x38]
mov word [eax + 0x10], si
mov eax, dword [ecx + 0x38]
mov word [eax + 0x12], si
mov eax, dword [ecx + 0x38]
mov esi, dword [ebp - 0x20]
mov word [eax + 0x14], di
mov edi, ecx
mov ecx, dword [ebx + 0xc]
mov eax, dword [edi + 0x38]
mov word [eax + 0x16], dx
mov eax, dword [ebp - 0x10]
add dword [edi + 0x38], 0x18
mov edx, dword [ebx + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x34]
add eax, 8
sub dword [ebp - 0x18], 1
mov dword [ebp - 0x34], eax
jne 0x1001af90
movss xmm0, dword [ebp - 0x50]
movss xmm1, dword [ebp - 0x54]
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
lea esi, [esi + 0x10]
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 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 [esi - 0x10]
mov edx, dword [esi - 0xc]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x4c]
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 [edi + 0x34]
mov ecx, dword [esi - 8]
mov edx, dword [esi - 4]
mov dword [eax + 0x28], ecx
mov ecx, dword [ebp - 0x4c]
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 - 0x38]
add dword [edi + 0x34], 0x3c
add eax, 8
sub dword [ebx + 0xc], 1
mov dword [ebp - 0x38], eax
jne 0x1001b120
mov eax, dword [ebp - 0x5c]
movzx eax, ax
add dword [edi + 0x30], eax
jmp 0x1001b8ca
cmp byte [ebx + 0x14], 0
movss xmm1, dword [0x1006747c]
movss xmm7, dword [ebx + 0x18]
movss xmm0, dword [0x10067444]
subss xmm7, xmm1
mulss xmm7, xmm0
movaps xmm5, xmm7
addss xmm5, xmm1
movss dword [ebp - 0x3c], xmm5
jne 0x1001b350
mov eax, esp
lea ecx, [esi + 0x10]
movaps xmm0, xmm5
mov dword [ebp - 0x1c], ecx
movaps xmm1, xmm5
mulss xmm0, dword [eax + 4]
mulss xmm1, dword [eax]
addss xmm0, dword [edx + 4]
addss xmm1, dword [edx]
movss dword [esi + 4], xmm0
movaps xmm0, xmm7
movss dword [esi], xmm1
movaps xmm1, xmm7
mulss xmm0, dword [eax + 4]
mulss xmm1, dword [eax]
addss xmm0, dword [edx + 4]
addss xmm1, dword [edx]
movss dword [esi + 0xc], xmm0
movaps xmm0, xmm7
movss dword [esi + 8], xmm1
mulss xmm0, dword [eax]
movss xmm2, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm2, xmm0
movaps xmm0, xmm7
mulss xmm0, dword [eax + 4]
subss xmm1, xmm0
movss dword [ecx], xmm2
movaps xmm0, xmm5
movss dword [ecx + 4], xmm1
mulss xmm0, dword [eax]
mov ecx, dword [ebx + 0xc]
movss xmm2, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [eax + 4]
mov eax, ecx
shl eax, 5
subss xmm1, xmm0
movss dword [esi + 0x18], xmm2
movaps xmm0, xmm5
movss dword [esi + 0x1c], xmm1
movaps xmm1, xmm5
mulss xmm0, dword [esi - 4]
mulss xmm1, dword [esi - 8]
addss xmm0, dword [edx + ecx*8 - 4]
addss xmm1, dword [edx + ecx*8 - 8]
movss dword [eax + esi - 0x1c], xmm0
movaps xmm0, xmm7
movss dword [eax + esi - 0x20], xmm1
movaps xmm1, xmm7
mulss xmm0, dword [esi - 4]
mulss xmm1, dword [esi - 8]
addss xmm0, dword [edx + ecx*8 - 4]
addss xmm1, dword [edx + ecx*8 - 8]
movss dword [eax + esi - 0x14], xmm0
movaps xmm0, xmm7
movss dword [eax + esi - 0x18], xmm1
mulss xmm0, dword [esi - 8]
movss xmm2, dword [edx + ecx*8 - 8]
movss xmm1, dword [edx + ecx*8 - 4]
subss xmm2, xmm0
movaps xmm0, xmm7
mulss xmm0, dword [esi - 4]
subss xmm1, xmm0
movss dword [eax + esi - 0x10], xmm2
movaps xmm0, xmm5
movss dword [eax + esi - 0xc], xmm1
mulss xmm0, dword [esi - 8]
movss xmm2, dword [edx + ecx*8 - 8]
movss xmm1, dword [edx + ecx*8 - 4]
subss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esi - 4]
subss xmm1, xmm0
movss dword [eax + esi - 8], xmm2
movss xmm0, dword [0x10067444]
movss dword [eax + esi - 4], xmm1
movss xmm1, dword [0x1006747c]
jmp 0x1001b359
mov ecx, dword [ebx + 0xc]
lea eax, [esi + 0x10]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x18], 0
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x30], eax
jle 0x1001b5da
lea esi, [edx + 8]
mov dword [ebp - 0x2c], 1
mov eax, 0x28
mov dword [ebp - 0x28], esi
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 8
cmp dword [ebp - 0x2c], ecx
jne 0x1001b3b6
mov eax, dword [edi + 0x30]
xor ecx, ecx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 8
mov dword [ebp - 0x40], 0x10
mov dword [ebp - 8], 0x18
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x38], edx
jmp 0x1001b3dd
mov edx, dword [ebp - 0x28]
lea ecx, [eax - 8]
lea esi, [eax + 8]
mov dword [ebp - 0x44], eax
add eax, 0x10
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x40], esi
add eax, 4
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x38], edx
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x34], eax
mov eax, esp
movss xmm3, dword [edi + eax - 8]
movss xmm6, dword [edi + eax - 4]
addss xmm3, dword [ecx + eax]
addss xmm6, dword [ecx + eax + 4]
mov edi, dword [ebp - 0xc]
mulss xmm3, xmm0
mulss xmm6, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
movaps xmm2, xmm6
mulss xmm2, xmm6
addss xmm2, xmm0
comiss xmm2, dword [0x100673f0]
jbe 0x1001b440
movaps xmm0, xmm1
movss xmm1, dword [0x1006754c]
divss xmm0, xmm2
minss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm6, xmm1
mulss xmm3, xmm0
mov eax, dword [ebp - 0x38]
movaps xmm4, xmm5
mov ecx, dword [ebp - 0x48]
movaps xmm2, xmm7
mulss xmm4, xmm3
mulss xmm5, xmm6
mulss xmm2, xmm3
movaps xmm1, xmm4
movaps xmm0, xmm5
movaps xmm3, xmm7
addss xmm1, dword [eax]
addss xmm0, dword [eax + 4]
mulss xmm3, xmm6
movss dword [ecx + esi], xmm1
movaps xmm1, xmm2
movss dword [ecx + esi + 4], xmm0
movaps xmm0, xmm3
addss xmm0, dword [eax + 4]
addss xmm1, dword [edx]
mov ecx, dword [ebp - 0x44]
movss dword [ecx + esi], xmm1
movss dword [ecx + esi + 4], xmm0
movss xmm0, dword [eax + 4]
movss xmm1, dword [edx]
subss xmm0, xmm3
mov ecx, dword [ebp - 0x40]
subss xmm1, xmm2
movss dword [ecx + esi + 4], xmm0
movss dword [ecx + esi], xmm1
movss xmm0, dword [eax + 4]
movss xmm1, dword [edx]
subss xmm0, xmm5
mov eax, dword [ebp - 8]
subss xmm1, xmm4
movss dword [eax + esi + 4], xmm0
movss dword [eax + esi], xmm1
mov eax, dword [ebp - 0x34]
movzx eax, ax
mov dword [ebp - 8], eax
lea esi, [eax + 1]
mov eax, dword [edi + 0x38]
mov word [eax], si
mov eax, dword [ebp - 0x30]
movzx edi, ax
mov eax, dword [ebp - 0xc]
lea ecx, [edi + 1]
mov eax, dword [eax + 0x38]
lea edx, [edi + 2]
mov word [eax + 2], cx
mov ecx, dword [ebp - 0xc]
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 - 8]
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 - 8]
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]
mov word [eax + 0x18], si
mov eax, dword [edx + 0x38]
lea edx, [edi + 2]
mov word [eax + 0x1a], dx
lea ecx, [edi + 3]
inc dword [ebp - 0x2c]
mov edi, dword [ebp - 0xc]
add dword [ebp - 0x10], 8
add dword [ebp - 0x28], 8
movss xmm1, dword [0x1006747c]
mov eax, dword [edi + 0x38]
movss xmm0, dword [0x10067444]
movss xmm5, dword [ebp - 0x3c]
mov edx, dword [ebx + 8]
mov word [eax + 0x1c], cx
mov eax, dword [edi + 0x38]
mov word [eax + 0x1e], cx
mov eax, dword [edi + 0x38]
mov ecx, dword [ebp - 8]
add ecx, 3
mov word [eax + 0x20], cx
mov eax, dword [edi + 0x38]
mov ecx, dword [ebx + 0xc]
mov word [eax + 0x22], si
mov eax, dword [ebp - 0x34]
add dword [edi + 0x38], 0x24
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x20
sub dword [ebp - 0x18], 1
mov dword [ebp - 0x1c], eax
jne 0x1001b388
add esi, 0x10
jmp 0x1001b5dd
mov esi, dword [ebp - 0x1c]
movss xmm0, dword [ebp - 0x50]
movss xmm1, dword [ebp - 0x54]
mov eax, dword [edi + 0x34]
lea esi, [esi + 0x20]
mov ecx, dword [esi - 0x30]
mov edx, dword [esi - 0x2c]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [edi + 0x34]
mov ecx, dword [ebp - 0x4c]
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 [esi - 0x28]
mov edx, dword [esi - 0x24]
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 [edi + 0x34]
mov ecx, dword [esi - 0x20]
mov edx, dword [esi - 0x1c]
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 [edi + 0x34]
mov ecx, dword [esi - 0x18]
mov edx, dword [esi - 0x14]
mov dword [eax + 0x3c], ecx
mov ecx, dword [ebp - 0x4c]
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
add dword [edi + 0x34], 0x50
sub dword [ebx + 0xc], 1
jne 0x1001b5e7
mov eax, dword [ebp - 0x5c]
movzx eax, ax
add dword [edi + 0x30], eax
jmp 0x1001b8ca
lea eax, [edx*4]
mov ecx, edi
push eax
lea eax, [edx + edx*2]
add eax, eax
push eax
call fcn.1001ab60
xor eax, eax
mov dword [ebp - 8], eax
cmp dword [ebp - 0x18], eax
jle 0x1001b8ca
movss xmm6, dword [ebx + 0x18]
xorps xmm5, xmm5
mulss xmm6, dword [0x10067444]
movss xmm3, dword [ebp - 0x50]
movss xmm4, dword [ebp - 0x54]
movss dword [ebx + 0x18], xmm6
nop dword [eax + eax]
lea ecx, [eax + 1]
xor edx, edx
cmp ecx, esi
mov dword [ebp - 0x38], ecx
cmovne edx, ecx
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x3c], edx
movss xmm1, dword [ecx + edx*8]
movss xmm7, dword [ecx + eax*8]
movss xmm2, dword [ecx + edx*8 + 4]
subss xmm1, xmm7
subss xmm2, dword [ecx + eax*8 + 4]
movss dword [ebp - 0x58], xmm7
movaps xmm0, xmm1
movss dword [ebp - 0x1c], xmm1
mulss xmm0, xmm1
movaps xmm1, xmm2
mulss xmm1, xmm2
movss dword [ebp - 0x5c], xmm2
addss xmm0, xmm1
comiss xmm0, xmm5
jbe 0x1001b765
call fcn.10013350
movss xmm5, dword [0x1006747c]
movss xmm2, dword [ebp - 0x5c]
movss xmm3, dword [ebp - 0x50]
movss xmm4, dword [ebp - 0x54]
movss xmm6, dword [ebx + 0x18]
movss xmm7, dword [ebp - 0x58]
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0x3c]
divss xmm5, xmm0
jmp 0x1001b76d
movss xmm5, dword [0x1006747c]
mov eax, dword [edi + 0x34]
movaps xmm1, xmm5
mulss xmm1, dword [ebp - 0x1c]
mov esi, dword [ebx + 0x10]
mulss xmm2, xmm5
mulss xmm1, xmm6
mulss xmm2, xmm6
addss xmm7, xmm2
movss dword [eax], xmm7
mov eax, dword [ebp - 8]
movss xmm0, dword [ecx + eax*8 + 4]
mov eax, dword [edi + 0x34]
subss xmm0, xmm1
movss dword [eax + 4], xmm0
movaps xmm0, xmm2
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, xmm1
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, xmm2
movss dword [eax + 0x28], xmm0
movaps xmm0, xmm1
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 - 8]
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 + 0x34]
mov ecx, esi
movss dword [eax + 0x40], xmm1
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 + 0x30]
add dword [edi + 0x34], 0x50
mov word [ecx], ax
movzx ecx, word [edi + 0x30]
mov eax, dword [edi + 0x38]
inc cx
mov word [eax + 2], cx
movzx ecx, word [edi + 0x30]
mov eax, dword [edi + 0x38]
add cx, 2
mov word [eax + 4], cx
mov ecx, dword [edi + 0x38]
movzx eax, word [edi + 0x30]
mov word [ecx + 6], ax
movzx ecx, word [edi + 0x30]
mov eax, dword [edi + 0x38]
add cx, 2
mov word [eax + 8], cx
movzx ecx, word [edi + 0x30]
add cx, 3
mov eax, dword [edi + 0x38]
xorps xmm5, xmm5
mov esi, dword [ebx + 0xc]
mov word [eax + 0xa], cx
mov eax, dword [ebp - 0x38]
add dword [edi + 0x38], 0xc
add dword [edi + 0x30], 4
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0x18]
jl 0x1001b6e0
lea esp, [ebp - 0x68]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003f934
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14