Function at 0x101d5037
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x140
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.101c2960
mov eax, esp
mov dword [0x10284d48], 0x143b
mov dword [0x10284d44], 0x139d
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
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x11c]
lea edx, section..data
imul esi, eax, 0x190
mov edi, edx
add edi, esi
add edi, 0x16c
mov esi, dword [edi]
imul edi, eax, 0x190
add edx, edi
add edx, 0x68
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x6cb
mov ecx, edx
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x120], eax
jne 0x101d5094
xor eax, eax
mov dword [0x10284d44], 0x52
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov cl, byte [eax + 0x101d7a44]
mov dl, byte [eax + 0x101d7a15]
sub dl, cl
mov esi, dword [ebp - 0x118]
mov byte [esi + eax], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x128], eax
jne 0x101d50ff
mov dword [0x10284d44], 0x1392
call fcn.101d60bb
sub esp, 8
mov dword [esp], eax
mov eax, dword [ebp - 0x118]
mov dword [esp + 4], eax
call fcn.101d4cbb
add esp, 8
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x12c]
mov dword [0x10284d60], ecx
sub esp, 0x10
mov edx, esp
mov esi, dword [ebp - 0x124]
mov dword [edx + 4], esi
mov dword [edx + 0xc], 4
mov dword [edx + 8], 0x1000
mov dword [edx], 0
call eax
xor ecx, ecx
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, eax, 0x190
mov edi, edx
add edi, esi
add edi, 0x16c
mov esi, dword [edi]
imul edi, eax, 0x190
mov ebx, edx
add ebx, edi
mov edi, dword [ebx]
imul ebx, eax, 0x190
add edx, ebx
add edx, 0x68
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x130]
add esi, ecx
sub esp, 0xc
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x144], edx
call fcn.101d5ae8
add esp, 0xc
mov eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x140]
add eax, ecx
mov edx, dword [ebp - 0x13c]
add edx, 1
cmp edx, 0x6cb
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x138], edx
jne 0x101d51a9
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x148], eax
lea eax, str.DJRo
mov ecx, 0x20
sub esp, 0xc
mov edx, dword [ebp - 0x148]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x14c], ecx
call fcn.101d4ef8
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 - 0x124]
mov dword [esp + 0xc], edx
call fcn.101d5d04
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 0x130]
add ecx, 0xe4014
mov edx, dword [ebp - 0x110]
mov dword [edx], ecx
mov dword [0x10284d44], 0x512
mov dword [edx + 4], 0x131200
mov ecx, dword [ebp - 0x130]
add ecx, 0xc42b
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x2000
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret