Function at 0x10111986
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 dword [0x101b5940], 0x2249
mov ecx, 0x20
mov dword [ebp - 0x114], eax
mov eax, ecx
call fcn.101110d0
mov eax, esp
mov dword [0x101b5944], 0x1ad5
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 0x10111ac6
lea eax, [0x1016fd67]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov esi, dword [ebp - 0x124]
add esi, 0x7f81
mov edi, dword [ebp - 0x124]
add edi, 0x29264
mov dword [0x101b5940], 0x1695
sub esp, 0xc
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x134], esi
call fcn.101117e9
add esp, 0xc
mov dword [0x101b5944], 0x1967
sub esp, 0x10
mov eax, dword [ebp - 0x130]
mov dword [esp], eax
mov ecx, dword [ebp - 0x124]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x138]
mov dword [esp + 0xc], edx
call fcn.101120ef
add esp, 0x10
xor eax, eax
mov dword [0x101b5944], 0x15ce
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x128]
mov dword [ecx], edx
mov dword [ecx + 4], 0x132600
mov edx, dword [ebp - 0x134]
mov dword [ecx + 8], edx
mov dword [0x101b5940], 0xe3a
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
imul edi, ecx, 0x11c
mov ebx, esi
add ebx, edi
add ebx, 0x68
imul edi, ecx, 0x11c
add esi, edi
add esi, 0x50
add ecx, 1
mov edi, dword [ebx]
movzx esi, word [esi]
xor esi, edi
add esi, eax
cmp ecx, 0x3dd
mov eax, esi
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x13c], edx
jne 0x10111ac6
mov eax, dword [ebp - 0x13c]
mov cl, byte [eax + 0x1016fd88]
mov dl, byte [eax + 0x1016fd59]
sub dl, cl
mov esi, dword [ebp - 0x118]
mov byte [esi + eax], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x13c], eax
jne 0x10111b29
mov dword [0x101b5940], 0x179a
call fcn.10112972
sub esp, 8
mov dword [esp], eax
mov eax, dword [ebp - 0x118]
mov dword [esp + 4], eax
call fcn.101114c7
add esp, 8
mov ecx, eax
mov dword [0x101b595c], eax
sub esp, 0x10
mov eax, esp
mov edx, dword [ebp - 0x138]
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, ecx
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x144], ecx
mov eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x140]
lea edx, section..data
mov esi, ecx
add esi, 1
mov edi, dword [ebp - 0x124]
add edi, eax
imul ebx, ecx, 0x11c
mov dword [ebp - 0x148], eax
mov eax, edx
add eax, ebx
add eax, 0x50
imul ebx, ecx, 0x11c
mov dword [ebp - 0x14c], eax
mov eax, edx
add eax, ebx
add eax, 0x68
imul ecx, ecx, 0x11c
add edx, ecx
mov eax, dword [eax]
mov ecx, dword [edx]
mov edx, dword [ebp - 0x14c]
movzx ebx, word [edx]
xor ebx, eax
sub esp, 0xc
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x154], ebx
call fcn.10112066
add esp, 0xc
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x148]
add eax, ecx
mov edx, dword [ebp - 0x150]
cmp edx, 0x3dd
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x144], eax
je 0x101119e8
jmp 0x10111bc2