Function at 0x1dc1080
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, edx
mov dword [ebp - 0x1c], ecx
mov edx, ecx
mov dword [ebp - 0x10], eax
imul edx, eax
push esi
push edi
xor esi, esi
xor edi, edi
mov dword [ebp - 0x24], edx
test eax, eax
jle 0x1dc10f7
mov eax, dword [ebp + 0xc]
lea eax, [eax + edx*4]
mov edx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
lea eax, [edi + ecx*2]
mov ecx, dword [ebp + 0xc]
movss xmm0, dword [edx + eax*4 - 4]
addss xmm0, dword [edx + edi*4]
movss dword [ecx + esi*4], xmm0
movss xmm0, dword [edx + edi*4]
subss xmm0, dword [edx + eax*4 - 4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
add esi, ecx
movss dword [eax], xmm0
lea edi, [ecx*4]
add eax, edi
sub dword [ebp - 8], 1
mov dword [ebp - 0xc], eax
lea edi, [esi + esi]
jne 0x1dc10b2
mov eax, dword [ebp - 0x10]
cmp ecx, 2
jl 0x1dc1288
je 0x1dc1216
xor edi, edi
xor esi, esi
mov dword [ebp - 8], edi
test eax, eax
jle 0x1dc1203
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x24]
mov dword [ebp - 4], edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
lea edx, [edx + edi*4]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 8]
nop dword [eax]
mov edi, dword [ebp - 8]
cmp ecx, 2
jle 0x1dc11df
mov edi, dword [ebp - 4]
lea eax, [esi + ecx*2]
mov dword [ebp - 0x14], edi
lea eax, [edx + eax*4]
lea edx, [edx + esi*4]
mov esi, dword [ebp + 0x10]
lea edi, [ecx - 3]
add esi, 4
mov ecx, dword [ebp - 0xc]
shr edi, 1
inc edi
mov dword [ebp - 0x18], edi
nop dword [eax]
movss xmm0, dword [edx + 4]
add edx, 8
addss xmm0, dword [eax - 0xc]
mov edi, dword [ebp - 0x14]
sub eax, 8
add edi, 8
add ecx, 8
mov dword [ebp - 0x14], edi
movss dword [edi - 4], xmm0
movss xmm0, dword [edx]
subss xmm0, dword [eax]
movss xmm3, dword [edx - 4]
subss xmm3, dword [eax - 4]
movss dword [edi], xmm0
movss xmm2, dword [eax]
addss xmm2, dword [edx]
movss xmm0, dword [esi]
movaps xmm1, xmm3
mulss xmm1, dword [esi - 4]
mulss xmm0, xmm2
subss xmm1, xmm0
movss dword [ecx - 4], xmm1
movss xmm0, dword [esi]
mulss xmm2, dword [esi - 4]
add esi, 8
sub dword [ebp - 0x18], 1
mulss xmm0, xmm3
addss xmm0, xmm2
movss dword [ecx], xmm0
jne 0x1dc1160
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
add edi, ecx
lea edx, [ecx*4]
add dword [ebp - 0xc], edx
add eax, edx
sub dword [ebp - 0x20], 1
mov edx, dword [ebp + 8]
mov dword [ebp - 8], edi
lea esi, [edi + edi]
mov dword [ebp - 4], eax
jne 0x1dc1130
mov eax, ecx
and eax, reloc.WS2_32.dll_accept
jns 0x1dc1211
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
je 0x1dc1288
mov edi, dword [ebp - 0x10]
test edi, edi
jle 0x1dc1288
mov edx, dword [ebp + 8]
lea eax, [ecx*8]
mov esi, dword [ebp + 0xc]
add edx, 0xfffffffc
movss xmm1, dword [0x1e7e820]
add esi, 0xfffffffc
mov dword [ebp - 0x20], eax
lea eax, [ecx*4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
lea edx, [edx + ecx*4]
dec eax
lea esi, [esi + ecx*4]
add eax, ecx
mov ecx, dword [ebp + 0xc]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x28]
nop word [eax + eax]
movss xmm0, dword [edx]
addss xmm0, xmm0
movss dword [esi], xmm0
add esi, ecx
movss xmm0, dword [edx + 4]
add edx, dword [ebp - 0x20]
addss xmm0, xmm0
xorps xmm0, xmm1
movss dword [eax], xmm0
add eax, ecx
sub edi, 1
jne 0x1dc1260
pop edi
pop esi
mov esp, ebp
pop ebp
ret