Function at 0x101b29fd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x13c
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.101b18a0
mov eax, esp
mov dword [0x102152e4], 0x1298
mov dword [0x102152e8], 0x18ab
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, 0xdc
mov edi, edx
add edi, esi
add edi, 0xa0
mov esi, dword [edi]
imul edi, eax, 0xdc
add edx, edi
add edx, 0x54
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x6ec
mov ecx, edx
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x120], eax
jne 0x101b2a5a
xor eax, eax
mov dword [0x102152e4], 0x1672
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101b52b4]
mov dh, byte [eax + 0x101b5285]
sub dh, dl
mov esi, dword [ebp - 0x118]
mov byte [esi + eax], dh
cmp ecx, 0xe
mov dword [ebp - 0x128], ecx
jne 0x101b2ac5
mov dword [0x102152e8], 0x323
mov dword [0x102152e4], 0x263a
call fcn.101b2769
sub esp, 8
mov dword [esp], eax
mov eax, dword [ebp - 0x118]
mov dword [esp + 4], eax
call fcn.101b284a
add esp, 8
mov dword [0x10215304], eax
mov dword [0x102152e4], 0x145a
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x124]
mov dword [ecx + 4], edx
mov dword [ecx + 0xc], 4
mov dword [ecx + 8], 0x1000
mov dword [ecx], 0
call eax
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x134], ecx
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x130]
lea edx, section..data
imul esi, eax, 0xdc
mov edi, edx
add edi, esi
add edi, 0xa0
mov esi, dword [edi]
imul edi, eax, 0xdc
mov ebx, edx
add ebx, edi
add ebx, 0x40
mov edi, dword [ebx]
imul ebx, eax, 0xdc
add edx, ebx
add edx, 0x54
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x12c]
add esi, ecx
sub esp, 0xc
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x140], edx
call fcn.101b2d5b
add esp, 0xc
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x13c]
add eax, ecx
mov edx, dword [ebp - 0x138]
add edx, 1
cmp edx, 0x6ec
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
jne 0x101b2b74
lea eax, [0x101b5293]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x102152e4], 0xd81
sub esp, 0xc
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x148], ecx
call fcn.101b227f
add esp, 0xc
sub esp, 0x10
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
mov ecx, dword [ebp - 0x12c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x124]
mov dword [esp + 0xc], edx
call fcn.101b3081
add esp, 0x10
mov eax, dword [ebp - 0x12c]
add eax, 0x11f553
mov ecx, dword [ebp - 0x110]
mov dword [ecx], eax
mov dword [0x102152e8], 0x16d8
mov dword [ecx + 4], 0x12f600
mov eax, dword [ebp - 0x12c]
add eax, 0x1064ee
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0x2090
xor eax, eax
mov dword [0x102152e4], 0x2f4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret