Function at 0x278cd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [0x2a7c4], 2
push ebx
push esi
push edi
jne 0x278f4
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00027d52
jmp 0x27d4b
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push 1
pop ecx
cmp edi, ecx
jbe 0x2791c
lea edx, [eax + 4]
cmp esi, dword [edx]
je 0x27915
inc ecx
add edx, 4
cmp ecx, edi
jb 0x27907
jmp 0x2791c
mov edx, dword [eax]
mov dword [eax + ecx*4], edx
mov dword [eax], esi
mov ecx, dword [eax]
cmp esi, ecx
jne 0x27a65
cmp edi, 1
jbe 0x27d4b
dec edi
lea ebx, [eax + 4]
mov dword [ebp + 0x10], edi
mov eax, dword [ebx]
mov dword [ebp + 0x14], eax
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
shr edx, 7
push edi
push esi
push 8
mov esi, edx
pop edx
mov edi, dword [ecx]
xor dword [eax], edi
mov edi, dword [ecx + 4]
xor dword [eax + 4], edi
mov edi, dword [ecx + edx]
xor dword [eax + edx], edi
mov edi, dword [ecx + edx + 4]
xor dword [eax + edx + 4], edi
add ecx, edx
add eax, edx
add ecx, edx
add eax, edx
mov edi, dword [ecx]
xor dword [eax], edi
mov edi, dword [ecx + 4]
xor dword [eax + 4], edi
mov edi, dword [ecx + edx]
xor dword [eax + edx], edi
mov edi, dword [ecx + edx + 4]
xor dword [eax + edx + 4], edi
add ecx, edx
add eax, edx
add ecx, edx
add eax, edx
mov edi, dword [ecx]
xor dword [eax], edi
mov edi, dword [ecx + 4]
xor dword [eax + 4], edi
mov edi, dword [ecx + edx]
xor dword [eax + edx], edi
mov edi, dword [ecx + edx + 4]
xor dword [eax + edx + 4], edi
add ecx, edx
add eax, edx
add ecx, edx
add eax, edx
mov edi, dword [ecx]
xor dword [eax], edi
mov edi, dword [ecx + 4]
xor dword [eax + 4], edi
mov edi, dword [ecx + edx]
xor dword [eax + edx], edi
mov edi, dword [ecx + edx + 4]
add ecx, edx
xor dword [eax + edx + 4], edi
add eax, edx
add ecx, edx
add eax, edx
mov edi, dword [ecx]
xor dword [eax], edi
mov edi, dword [ecx + 4]
xor dword [eax + 4], edi
mov edi, dword [ecx + edx]
xor dword [eax + edx], edi
mov edi, dword [ecx + edx + 4]
add ecx, edx
xor dword [eax + edx + 4], edi
add eax, edx
add ecx, edx
add eax, edx
mov edi, dword [ecx]
xor dword [eax], edi
mov edi, dword [ecx + 4]
xor dword [eax + 4], edi
mov edi, dword [ecx + edx]
xor dword [eax + edx], edi
mov edi, dword [ecx + edx + 4]
add ecx, edx
xor dword [eax + edx + 4], edi
add eax, edx
add ecx, edx
add eax, edx
mov edi, dword [ecx]
xor dword [eax], edi
mov edi, dword [ecx + 4]
xor dword [eax + 4], edi
mov edi, dword [ecx + edx]
add ecx, edx
add eax, edx
xor dword [eax], edi
mov edi, dword [ecx + 4]
xor dword [eax + 4], edi
mov edi, dword [ecx + edx]
xor dword [eax + edx], edi
mov edi, dword [ecx + edx + 4]
add ecx, edx
xor dword [eax + edx + 4], edi
add eax, edx
add ecx, edx
add eax, edx
mov edi, dword [ecx]
xor dword [eax], edi
mov edi, dword [ecx + 4]
xor dword [eax + 4], edi
add ecx, edx
add eax, edx
dec esi
jne 0x2794e
pop esi
pop edi
add ebx, 4
dec dword [ebp + 0x10]
jne 0x27936
jmp 0x27d4b
mov eax, dword [eax + 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
shr edx, 7
push edi
push esi
push 8
mov esi, edx
pop edx
mov edi, dword [ecx]
xor edi, dword [ebx]
mov dword [eax], edi
mov edi, dword [ecx + 4]
xor edi, dword [ebx + 4]
mov dword [eax + 4], edi
mov edi, dword [ecx + edx]
xor edi, dword [ebx + edx]
mov dword [eax + edx], edi
mov edi, dword [ecx + edx + 4]
xor edi, dword [ebx + edx + 4]
add ecx, edx
add ebx, edx
mov dword [eax + edx + 4], edi
add eax, edx
add ecx, edx
add ebx, edx
add eax, edx
mov edi, dword [ecx]
xor edi, dword [ebx]
mov dword [eax], edi
mov edi, dword [ecx + 4]
xor edi, dword [ebx + 4]
mov dword [eax + 4], edi
mov edi, dword [ecx + edx]
xor edi, dword [ebx + edx]
mov dword [eax + edx], edi
mov edi, dword [ecx + edx + 4]
xor edi, dword [ebx + edx + 4]
add ecx, edx
add ebx, edx
mov dword [eax + edx + 4], edi
add eax, edx
add ecx, edx
add ebx, edx
add eax, edx
mov edi, dword [ecx]
xor edi, dword [ebx]
mov dword [eax], edi
mov edi, dword [ecx + 4]
xor edi, dword [ebx + 4]
mov dword [eax + 4], edi
mov edi, dword [ecx + edx]
xor edi, dword [ebx + edx]
mov dword [eax + edx], edi
mov edi, dword [ecx + edx + 4]
xor edi, dword [ebx + edx + 4]
add ecx, edx
add ebx, edx
mov dword [eax + edx + 4], edi
add eax, edx
add ecx, edx
add ebx, edx
add eax, edx
mov edi, dword [ecx]
xor edi, dword [ebx]
mov dword [eax], edi
mov edi, dword [ecx + 4]
xor edi, dword [ebx + 4]
mov dword [eax + 4], edi
mov edi, dword [ecx + edx]
xor edi, dword [ebx + edx]
mov dword [eax + edx], edi
mov edi, dword [ecx + edx + 4]
xor edi, dword [ebx + edx + 4]
add ecx, edx
add ebx, edx
mov dword [eax + edx + 4], edi
add eax, edx
add ecx, edx
add ebx, edx
add eax, edx
mov edi, dword [ecx]
xor edi, dword [ebx]
mov dword [eax], edi
mov edi, dword [ecx + 4]
xor edi, dword [ebx + 4]
mov dword [eax + 4], edi
mov edi, dword [ecx + edx]
xor edi, dword [ebx + edx]
mov dword [eax + edx], edi
mov edi, dword [ecx + edx + 4]
xor edi, dword [ebx + edx + 4]
add ecx, edx
add ebx, edx
mov dword [eax + edx + 4], edi
add eax, edx
add ecx, edx
add ebx, edx
add eax, edx
mov edi, dword [ecx]
xor edi, dword [ebx]
mov dword [eax], edi
mov edi, dword [ecx + 4]
xor edi, dword [ebx + 4]
mov dword [eax + 4], edi
mov edi, dword [ecx + edx]
xor edi, dword [ebx + edx]
mov dword [eax + edx], edi
mov edi, dword [ecx + edx + 4]
xor edi, dword [ebx + edx + 4]
add ecx, edx
add ebx, edx
mov dword [eax + edx + 4], edi
add eax, edx
add ecx, edx
add ebx, edx
add eax, edx
mov edi, dword [ecx]
xor edi, dword [ebx]
mov dword [eax], edi
mov edi, dword [ecx + 4]
xor edi, dword [ebx + 4]
mov dword [eax + 4], edi
mov edi, dword [ecx + edx]
xor edi, dword [ebx + edx]
add ecx, edx
add ebx, edx
add eax, edx
mov dword [eax], edi
mov edi, dword [ecx + 4]
xor edi, dword [ebx + 4]
mov dword [eax + 4], edi
mov edi, dword [ecx + edx]
xor edi, dword [ebx + edx]
mov dword [eax + edx], edi
mov edi, dword [ecx + edx + 4]
xor edi, dword [ebx + edx + 4]
add ecx, edx
add ebx, edx
mov dword [eax + edx + 4], edi
add eax, edx
add ecx, edx
add ebx, edx
add eax, edx
mov edi, dword [ecx]
xor edi, dword [ebx]
mov dword [eax], edi
mov edi, dword [ecx + 4]
xor edi, dword [ebx + 4]
mov dword [eax + 4], edi
add ecx, edx
add ebx, edx
add eax, edx
dec esi
jne 0x27a84
pop esi
pop edi
mov eax, dword [ebp + 0x14]
cmp eax, 2
jbe 0x27d4b
mov ecx, dword [ebp + 0x10]
add eax, 0xfffffffe
mov dword [ebp + 0x10], eax
lea ebx, [ecx + 8]
mov eax, dword [ebx]
mov dword [ebp + 0x14], eax
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
shr edx, 7
push edi
push esi
push 8
mov esi, edx
pop edx
mov edi, dword [ecx]
xor dword [eax], edi
mov edi, dword [ecx + 4]
xor dword [eax + 4], edi
mov edi, dword [ecx + edx]
xor dword [eax + edx], edi
mov edi, dword [ecx + edx + 4]
xor dword [eax + edx + 4], edi
add ecx, edx
add eax, edx
add ecx, edx
add eax, edx
mov edi, dword [ecx]
xor dword [eax], edi
mov edi, dword [ecx + 4]
xor dword [eax + 4], edi
mov edi, dword [ecx + edx]
xor dword [eax + edx], edi
mov edi, dword [ecx + edx + 4]
xor dword [eax + edx + 4], edi
add ecx, edx
add eax, edx
add ecx, edx
add eax, edx
mov edi, dword [ecx]
xor dword [eax], edi
mov edi, dword [ecx + 4]
xor dword [eax + 4], edi
mov edi, dword [ecx + edx]
xor dword [eax + edx], edi
mov edi, dword [ecx + edx + 4]
xor dword [eax + edx + 4], edi
add ecx, edx
add eax, edx
add ecx, edx
add eax, edx
mov edi, dword [ecx]
xor dword [eax], edi
mov edi, dword [ecx + 4]
xor dword [eax + 4], edi
mov edi, dword [ecx + edx]
xor dword [eax + edx], edi
mov edi, dword [ecx + edx + 4]
add ecx, edx
xor dword [eax + edx + 4], edi
add eax, edx
add ecx, edx
add eax, edx
mov edi, dword [ecx]
xor dword [eax], edi
mov edi, dword [ecx + 4]
xor dword [eax + 4], edi
mov edi, dword [ecx + edx]
xor dword [eax + edx], edi
mov edi, dword [ecx + edx + 4]
add ecx, edx
xor dword [eax + edx + 4], edi
add eax, edx
add ecx, edx
add eax, edx
mov edi, dword [ecx]
xor dword [eax], edi
mov edi, dword [ecx + 4]
xor dword [eax + 4], edi
mov edi, dword [ecx + edx]
xor dword [eax + edx], edi
mov edi, dword [ecx + edx + 4]
add ecx, edx
xor dword [eax + edx + 4], edi
add eax, edx
add ecx, edx
add eax, edx
mov edi, dword [ecx]
xor dword [eax], edi
mov edi, dword [ecx + 4]
xor dword [eax + 4], edi
mov edi, dword [ecx + edx]
add ecx, edx
add eax, edx
xor dword [eax], edi
mov edi, dword [ecx + 4]
xor dword [eax + 4], edi
mov edi, dword [ecx + edx]
xor dword [eax + edx], edi
mov edi, dword [ecx + edx + 4]
add ecx, edx
xor dword [eax + edx + 4], edi
add eax, edx
add ecx, edx
add eax, edx
mov edi, dword [ecx]
xor dword [eax], edi
mov edi, dword [ecx + 4]
xor dword [eax + 4], edi
add ecx, edx
add eax, edx
dec esi
jne 0x27c39
pop esi
pop edi
add ebx, 4
dec dword [ebp + 0x10]
jne 0x27c21
pop edi
pop esi
pop ebx
leave
ret 0x14