Function at 0x10013c83
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x170
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x10028f80], 0x1e48
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, ecx, 0x74
mov edi, edx
add edi, esi
add edi, 8
imul esi, ecx, 0x74
add edx, esi
add edx, 4
add ecx, 1
mov esi, dword [edi]
movzx edx, word [edx]
xor edx, esi
add edx, eax
cmp ecx, 0x257
mov eax, edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x10013cb2
xor eax, eax
mov dword [0x10028f80], 0x778
mov dword [0x10028f84], 0x2369
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x10015466]
mov dh, byte [eax + 0x10015437]
sub dh, dl
mov byte [ebp + eax - 0x2c], dh
cmp ecx, 0xe
mov dword [ebp - 0x140], ecx
jne 0x10013d29
lea eax, [ebp - 0x2c]
mov dword [0x10028f84], 0x127e
mov dword [0x10028f80], 0x2213
mov dword [ebp - 0x144], eax
call fcn.10013b4f
mov dword [esp], eax
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], eax
call fcn.10013004
mov dword [0x10028fa0], eax
mov ecx, dword [0x10028f84]
add ecx, 0xfffff192
mov dword [0x10028f80], ecx
mov ecx, esp
mov edx, dword [ebp - 0x13c]
mov dword [ecx + 4], edx
mov dword [ecx + 0xc], 4
mov dword [ecx + 8], 0x1000
mov dword [ecx], 0
call eax
sub esp, 0x10
xor ecx, ecx
mov edx, dword [0x10028f84]
add edx, 0xffffe635
mov dword [0x10028f80], edx
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, section..data
mov esi, dword [ebp - 0x148]
add esi, eax
imul edi, ecx, 0x74
mov ebx, edx
add ebx, edi
imul edi, ecx, 0x74
mov dword [ebp - 0x154], eax
mov eax, edx
add eax, edi
add eax, 8
imul edi, ecx, 0x74
add edx, edi
add edx, 4
add ecx, 1
mov eax, dword [eax]
mov edi, dword [ebx]
movzx edx, word [edx]
xor edx, eax
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x15c], ecx
call fcn.10014220
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x154]
add eax, ecx
mov edx, dword [ebp - 0x15c]
cmp edx, 0x257
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], eax
jne 0x10013df0
lea eax, [0x10015445]
mov ecx, 0x20
lea edx, [ebp - 0x12c]
mov esi, dword [ebp - 0x148]
add esi, 0x513cb
mov edi, dword [ebp - 0x148]
add edi, 0x6d38b
mov dword [0x10028f80], 0x37a
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edi
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x16c], esi
call fcn.1001406e
mov dword [0x10028f80], 0x11ef
mov eax, dword [ebp - 0x168]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x13c]
mov dword [esp + 0xc], edx
call fcn.100144da
xor eax, eax
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x160]
mov dword [ecx], edx
mov edx, dword [0x10028f80]
add edx, 0xffffe1cd
mov dword [0x10028f80], edx
mov dword [ecx + 4], 0x129400
mov edx, dword [ebp - 0x16c]
mov dword [ecx + 8], edx
mov dword [0x10028f84], 0x1963
mov dword [ecx + 0xc], 0x20b0
add esp, 0x170
pop esi
pop edi
pop ebx
pop ebp
ret