Function at 0x101e7220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
imul esi, ebx
xor edx, edx
push edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], edx
cmp ebx, 4
jl 0x101e72f0
mov ebx, dword [ebp + 0xc]
lea edi, [ecx + ecx]
lea edi, [ebx + edi*4 - 4]
mov ebx, dword [ebp + 8]
add ebx, 0xfffffffc
shr ebx, 2
inc ebx
mov dword [ebp - 0x1c], ebx
add ebx, ebx
add ebx, ebx
mov dword [ebp - 4], ebx
fld dword [eax + edx*4]
mov ebx, dword [ebp + 0xc]
fadd dword [eax + esi*4]
fstp dword [ebx + edx*8]
lea ebx, [ecx*8]
fld dword [eax + edx*4]
add edx, ecx
fsub dword [eax + esi*4]
add esi, ecx
fstp dword [edi]
add edi, ebx
fld dword [eax + edx*4]
mov ebx, dword [ebp + 0xc]
fadd dword [eax + esi*4]
fstp dword [ebx + edx*8]
lea ebx, [ecx*8]
fld dword [eax + edx*4]
add edx, ecx
fsub dword [eax + esi*4]
add esi, ecx
fstp dword [edi]
add edi, ebx
fld dword [eax + edx*4]
mov ebx, dword [ebp + 0xc]
fadd dword [eax + esi*4]
fstp dword [ebx + edx*8]
lea ebx, [ecx*8]
fld dword [eax + edx*4]
add edx, ecx
fsub dword [eax + esi*4]
add esi, ecx
fstp dword [edi]
add edi, ebx
fld dword [eax + edx*4]
mov ebx, dword [ebp + 0xc]
fadd dword [eax + esi*4]
fstp dword [ebx + edx*8]
lea ebx, [ecx*8]
fld dword [eax + edx*4]
add edx, ecx
fsub dword [eax + esi*4]
add esi, ecx
fstp dword [edi]
add edi, ebx
dec dword [ebp - 0x1c]
jne 0x101e7260
mov ebx, dword [ebp + 8]
cmp dword [ebp - 4], ebx
jge 0x101e7354
mov ebx, dword [ebp + 0xc]
lea ebx, [ebx + edx*8]
lea edi, [eax + edx*4]
mov dword [ebp - 0x1c], ebx
lea ebx, [ecx + ecx]
lea edx, [ebx + edx*2]
mov ebx, dword [ebp + 0xc]
lea edx, [ebx + edx*4 - 4]
mov dword [ebp - 8], edx
mov edx, dword [ebp + 8]
sub edx, dword [ebp - 4]
lea esi, [eax + esi*4]
mov dword [ebp - 0x18], edx
lea ecx, [ecx]
fld dword [edi]
mov edx, dword [ebp - 0x1c]
fadd dword [esi]
mov ebx, dword [ebp - 8]
fstp dword [edx]
fld dword [edi]
fsub dword [esi]
fstp dword [ebx]
lea ebx, [ecx*8]
add dword [ebp - 8], ebx
add edx, ebx
mov dword [ebp - 0x1c], edx
lea edx, [ecx*4]
add edi, edx
add esi, edx
dec dword [ebp - 0x18]
jne 0x101e7320
mov ebx, dword [ebp + 8]
cmp ecx, 2
jl 0x101e7569
je 0x101e747a
test ebx, ebx
jle 0x101e7462
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x1c], edx
lea esi, [eax + esi*4]
lea edx, [edx + ecx*8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], ebx
cmp ecx, 2
jle 0x101e743f
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 0x18]
mov dword [ebp - 4], esi
mov esi, dword [ebp + 0x10]
add esi, 4
mov dword [ebp - 8], esi
lea esi, [ecx - 3]
shr esi, 1
inc esi
mov ebx, dword [ebp - 8]
fld dword [ebx - 4]
add dword [ebp - 4], 8
fstp dword [ebp - 0x28]
mov ebx, dword [ebp - 4]
fld dword [ebx - 4]
mov ebx, dword [ebp - 8]
fstp dword [ebp - 0x2c]
add dword [ebp - 0xc], 8
fld dword [ebx]
mov ebx, dword [ebp - 4]
fstp dword [ebp - 0x34]
add edx, 8
fld dword [ebx]
mov ebx, dword [ebp - 0xc]
fstp dword [ebp - 0x30]
add dword [ebp - 8], 8
fld dword [ebp - 0x28]
sub edi, 8
dec esi
fld st(0)
fld dword [ebp - 0x2c]
fld st(0)
fmulp st(2)
fld dword [ebp - 0x30]
fld st(0)
fld dword [ebp - 0x34]
fld st(0)
fmulp st(2)
fxch st(4)
faddp st(1)
fstp dword [ebp - 0x30]
fmulp st(3)
fmulp st(1)
fsubp st(1)
fstp dword [ebp - 0x34]
fld dword [edx]
fld dword [ebp - 0x34]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [ebx]
fsub dword [edx]
fstp dword [edi]
fld dword [edx - 4]
fld dword [ebp - 0x30]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [ebx - 4]
fsubr dword [edx - 4]
fstp dword [edi - 4]
jne 0x101e73b0
mov ebx, dword [ebp + 8]
lea edx, [ecx*8]
add dword [ebp - 0x10], edx
add dword [ebp - 0x1c], edx
lea esi, [ecx*4]
add dword [ebp - 0x14], esi
add dword [ebp - 0x18], esi
dec dword [ebp - 0x20]
jne 0x101e7386
mov edx, ecx
and edx, reloc.WS2_32.dll_accept
jns 0x101e7471
dec edx
or edx, 0xfffffffe
inc edx
cmp edx, 1
je 0x101e7569
movss xmm0, dword [0x10256800]
lea esi, [ecx - 1]
mov edi, esi
add esi, dword [ebp - 0x24]
mov edx, ecx
mov dword [ebp - 4], 0
cmp ebx, 4
jl 0x101e7527
mov ebx, dword [ebp + 8]
add ebx, 0xfffffffc
shr ebx, 2
inc ebx
mov dword [ebp - 0x24], ebx
add ebx, ebx
add ebx, ebx
mov dword [ebp - 4], ebx
movss xmm1, dword [eax + esi*4]
mov ebx, dword [ebp + 0xc]
xorps xmm1, xmm0
movss dword [ebx + edx*4], xmm1
fld dword [eax + edi*4]
fstp dword [ebx + edx*4 - 4]
add esi, ecx
movss xmm1, dword [eax + esi*4]
lea edx, [edx + ecx*2]
add edi, ecx
xorps xmm1, xmm0
movss dword [ebx + edx*4], xmm1
fld dword [eax + edi*4]
fstp dword [ebx + edx*4 - 4]
add esi, ecx
movss xmm1, dword [eax + esi*4]
lea edx, [edx + ecx*2]
add edi, ecx
xorps xmm1, xmm0
movss dword [ebx + edx*4], xmm1
fld dword [eax + edi*4]
fstp dword [ebx + edx*4 - 4]
add esi, ecx
movss xmm1, dword [eax + esi*4]
lea edx, [edx + ecx*2]
add edi, ecx
xorps xmm1, xmm0
movss dword [ebx + edx*4], xmm1
fld dword [eax + edi*4]
add esi, ecx
fstp dword [ebx + edx*4 - 4]
add edi, ecx
dec dword [ebp - 0x24]
lea edx, [edx + ecx*2]
jne 0x101e74b0
mov ebx, dword [ebp + 8]
cmp dword [ebp - 4], ebx
jge 0x101e7569
lea ebx, [ecx*8]
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp + 0xc]
add ecx, ecx
lea esi, [eax + esi*4]
lea eax, [eax + edi*4]
mov edi, dword [ebp + 8]
add ecx, ecx
sub edi, dword [ebp - 4]
lea edx, [ebx + edx*4]
mov ebx, dword [ebp - 0x34]
nop
movss xmm1, dword [esi]
xorps xmm1, xmm0
movss dword [edx], xmm1
fld dword [eax]
fstp dword [edx - 4]
add edx, ebx
add esi, ecx
add eax, ecx
dec edi
jne 0x101e7550
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret