Function at 0x101afef4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x148
mov eax, dword [ebp + 8]
mov dword [ebp - 0x110], eax
xor eax, eax
mov ecx, 0x20
mov dword [ebp - 0x114], eax
mov eax, ecx
call fcn.101af700
mov eax, esp
mov dword [0x101bed64], 0xeb4
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 0x101b0106
mov eax, dword [ebp - 0x124]
mov cl, byte [eax + 0x101b147f]
mov dl, byte [eax + 0x101b1450]
sub dl, cl
mov esi, dword [ebp - 0x118]
mov byte [esi + eax], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x124], eax
je 0x101b017c
jmp 0x101aff4c
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x12c]
lea edx, section..data
imul esi, ecx, 0xb4
mov edi, edx
add edi, esi
add edi, 0x48
imul esi, ecx, 0xb4
mov ebx, edx
add ebx, esi
mov esi, ecx
add esi, 1
imul ecx, ecx, 0xb4
add edx, ecx
add edx, 0x44
mov ecx, dword [ebp - 0x130]
add ecx, eax
mov edi, dword [edi]
mov ebx, dword [ebx]
movzx edx, word [edx]
xor edx, edi
sub esp, 0xc
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x13c], edx
call fcn.101b02d6
add esp, 0xc
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x134]
add eax, ecx
mov edx, dword [ebp - 0x138]
cmp edx, 0x124
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x128], eax
jne 0x101aff83
lea eax, [0x101b145e]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov esi, dword [ebp - 0x130]
add esi, 0x2e711
mov dword [0x101bed68], 0xe6d
mov edi, dword [ebp - 0x130]
add edi, 0x21fcc
sub esp, 0xc
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14c], esi
call fcn.101afd6a
add esp, 0xc
sub esp, 0x10
mov eax, dword [ebp - 0x148]
mov dword [esp], eax
mov ecx, dword [ebp - 0x130]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x150]
mov dword [esp + 0xc], edx
call fcn.101b089e
add esp, 0x10
xor eax, eax
mov dword [0x101bed64], 0x1e27
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x14c]
mov dword [ecx], edx
mov dword [ecx + 4], 0x122800
mov edx, dword [ebp - 0x140]
mov dword [ecx + 8], edx
mov edx, dword [0x101bed64]
add edx, 0xffffe53e
mov dword [0x101bed64], edx
mov dword [ecx + 0xc], 0x2010
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x11c]
xor edx, edx
lea esi, section..data
mov edi, ecx
add edi, 1
imul ebx, ecx, 0xb4
mov dword [ebp - 0x154], eax
mov eax, esi
add eax, ebx
add eax, 0x48
imul ecx, ecx, 0xb4
add esi, ecx
add esi, 0x44
mov eax, dword [eax]
movzx ecx, word [esi]
xor ecx, eax
mov eax, dword [ebp - 0x154]
add ecx, eax
cmp edi, 0x124
mov eax, ecx
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x120], eax
je 0x101aff4c
jmp 0x101b0106
mov dword [0x101bed64], 0xf0b
call fcn.101b0d65
sub esp, 8
mov dword [esp], eax
mov eax, dword [ebp - 0x118]
mov dword [esp + 4], eax
call fcn.101afa83
add esp, 8
mov ecx, eax
mov dword [0x101bed84], eax
sub esp, 0x10
mov eax, esp
mov edx, dword [ebp - 0x150]
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 edx, dword [0x101bed68]
add edx, 0xffffd942
mov dword [0x101bed64], edx
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x128], ecx
jmp 0x101aff83