Function at 0x1013dece
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x144
mov eax, dword [ebp + 8]
mov dword [ebp - 0x110], eax
xor eax, eax
mov dword [0x10180a28], 0x288
mov ecx, 0x20
mov dword [ebp - 0x114], eax
mov eax, ecx
call fcn.1013d980
mov eax, esp
mov dword [0x10180a24], 0xffffeb8f
mov ecx, dword [ebp - 0x114]
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x120], edx
jmp 0x1013e06b
mov dword [0x10180a28], 0xffff0dc0
mov dword [0x10180a24], 0x24bd
call fcn.1013efdb
sub esp, 8
mov dword [esp], eax
mov eax, dword [ebp - 0x118]
mov dword [esp + 4], eax
call fcn.1013db17
add esp, 8
mov ecx, eax
mov dword [0x10180a40], eax
sub esp, 0x10
mov eax, esp
mov edx, dword [ebp - 0x124]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
xor ecx, ecx
mov dword [0x10180a28], 0x1845
mov edx, ecx
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x130], ecx
jmp 0x1013e111
lea eax, [0x10140322]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
sub esp, 0xc
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
call fcn.1013dda1
add esp, 0xc
sub esp, 0x10
mov eax, dword [ebp - 0x134]
mov dword [esp], eax
mov ecx, dword [ebp - 0x128]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x124]
mov dword [esp + 0xc], edx
call fcn.1013e3bf
add esp, 0x10
xor eax, eax
mov ecx, dword [0x10180a28]
add ecx, 0x3d8
mov dword [0x10180a24], ecx
mov ecx, dword [ebp - 0x128]
add ecx, 0x90f3e
mov edx, dword [ebp - 0x110]
mov dword [edx], ecx
mov dword [edx + 4], 0x12f600
mov ecx, dword [ebp - 0x128]
add ecx, 0x59cfc
mov dword [edx + 8], ecx
mov dword [0x10180a28], 0x741
mov dword [edx + 0xc], 0x2000
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x11c]
lea edx, section..data
imul esi, ecx, 0xd0
mov edi, edx
add edi, esi
add edi, 0xcc
mov esi, ecx
add esi, 1
imul ecx, ecx, 0xd0
add edx, ecx
add edx, 0xb4
mov ecx, dword [edi]
movzx edx, word [edx]
xor edx, ecx
add edx, eax
cmp esi, 0x4e5
mov eax, edx
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x120], eax
jne 0x1013e06b
xor eax, eax
mov dword [0x10180a24], 0x1723
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov cl, byte [eax + 0x10140343]
mov dl, byte [eax + 0x10140314]
sub dl, cl
mov esi, dword [ebp - 0x118]
mov byte [esi + eax], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x13c], eax
je 0x1013df30
jmp 0x1013e0da
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x12c]
lea edx, section..data
imul esi, ecx, 0xd0
mov edi, edx
add edi, esi
add edi, 0xb4
mov esi, ecx
add esi, 1
mov ebx, dword [ebp - 0x128]
add ebx, eax
mov dword [ebp - 0x140], eax
imul eax, ecx, 0xd0
mov dword [ebp - 0x144], eax
mov eax, edx
mov dword [ebp - 0x148], ecx
mov ecx, dword [ebp - 0x144]
add eax, ecx
add eax, 0xcc
mov ecx, dword [ebp - 0x148]
imul ecx, ecx, 0xd0
add edx, ecx
add edx, 0x78
mov eax, dword [eax]
mov ecx, dword [edx]
movzx edx, word [edi]
xor edx, eax
sub esp, 0xc
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], edx
call fcn.1013e5cd
add esp, 0xc
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x140]
add eax, ecx
mov edx, dword [ebp - 0x14c]
cmp edx, 0x4e5
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x130], eax
je 0x1013dfb1
jmp 0x1013e111