Function at 0x10028710
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x44
call fcn.100bff40
mov eax, dword [0x10116c70]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
push ebx
mov ebx, dword [esp + 0x50]
push ebp
mov ebp, dword [esp + 0x64]
push esi
mov esi, dword [esp + 0x60]
push edi
mov edi, dword [esp + 0x58]
mov dword [esp + 0x14], ecx
cmp eax, 0x10
ja 0x1002875f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.100bff70
add esp, 0x44
ret
mov edx, eax
and edx, 0xf
mov dword [esp + 0x18], edx
jne 0x10028772
mov dword [esp + 0x18], 0x10
mov edx, 0xfffffff0
sub edx, dword [esp + 0x18]
add eax, edx
mov dword [esp + 0x24], eax
je 0x10028799
push ebp
push ecx
push esi
push eax
push ebx
push edi
call sym.LIBEAY32.dll_CRYPTO_cbc128_decrypt
mov eax, dword [esp + 0x3c]
add esp, 0x18
add edi, eax
add ebx, eax
push esi
lea eax, [esp + 0x44]
push eax
push edi
call ebp
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x44], eax
push edx
lea eax, [edi + 0x10]
mov dword [esp + 0x4c], ecx
push eax
lea ecx, [esp + 0x44]
push ecx
call sub.MSVCR90.dll_memcpy
lea edx, [esp + 0x48]
push esi
push edx
mov eax, edx
push eax
call ebp
mov ecx, dword [esp + 0x38]
lea ebp, [esp + 0x54]
mov edx, edi
sub edx, ebp
mov dword [esp + 0x44], edx
mov edx, ebx
sub edx, ebp
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x38]
sub edx, ebp
mov dword [esp + 0x4c], edx
mov edx, ebx
sub edx, dword [esp + 0x38]
add esp, 0x24
mov dword [esp + 0x2c], edx
mov edx, edi
xor eax, eax
inc ecx
sub edx, ebx
lea esi, [ebx + 2]
mov dword [esp + 0x14], edx
lea ecx, [ecx]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
add edx, eax
movzx edx, byte [esp + edx + 0x30]
mov byte [esp + 0x13], dl
mov edx, dword [esp + 0x28]
lea ebp, [edx + eax]
movzx edx, byte [esp + eax + 0x30]
xor dl, byte [esp + ebp + 0x30]
add ebx, eax
mov byte [esp + ebx + 0x30], dl
movzx edx, byte [esp + 0x13]
movzx ebx, byte [esp + eax + 0x31]
xor bl, byte [ecx]
lea ebp, [esp + ebp + 0x30]
mov byte [ebp], dl
mov edx, dword [esp + 0x2c]
lea ebp, [edx + ecx]
mov edx, dword [esp + 0x14]
mov dl, byte [edx + ebp]
mov byte [ebp], bl
movzx ebx, byte [esp + eax + 0x32]
xor bl, byte [ecx + 1]
mov byte [ecx], dl
mov edx, dword [esp + 0x14]
mov dl, byte [edx + esi]
mov byte [esi], bl
movzx ebx, byte [esp + eax + 0x33]
xor bl, byte [ecx + 2]
mov byte [ecx + 1], dl
mov dl, byte [edi + eax + 3]
mov byte [esi + 1], bl
mov byte [ecx + 2], dl
add eax, 4
add ecx, 4
add esi, 4
cmp eax, 0x10
jb 0x10028820
mov ecx, dword [esp + 0x18]
add ecx, 0x10
cmp eax, ecx
jae 0x100288d7
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
lea ebx, [ebx]
lea edx, [esi + eax]
mov dl, byte [esp + edx + 0x30]
xor dl, byte [esp + eax + 0x30]
lea ebx, [edi + eax]
inc eax
mov byte [esp + ebx + 0x30], dl
cmp eax, ecx
jb 0x100288c0
mov eax, dword [esp + 0x24]
pop edi
pop esi
lea eax, [eax + ecx + 0x10]
mov ecx, dword [esp + 0x48]
pop ebp
pop ebx
xor ecx, esp
call fcn.100bff70
add esp, 0x44
ret