Function at 0x10210c81
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.1020fd30
mov eax, esp
mov ecx, dword [0x102312ac]
mov dword [0x102312b0], 0x2230
add ecx, 0xffffc357
mov dword [0x102312ac], ecx
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, 0xfc
mov edi, edx
add edi, esi
add edi, 0xbc
mov esi, dword [edi]
imul edi, eax, 0xfc
add edx, edi
add edx, 0x6c
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x1da
mov ecx, edx
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x120], eax
jne 0x10210ce6
mov dword [0x102312ac], 0x13
xor eax, eax
mov dword [ebp - 0x128], eax
jmp 0x10210d53
mov eax, dword [ebp - 0x128]
mov cl, byte [eax + 0x1021368a]
mov dl, byte [eax + 0x1021365b]
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 0x10210d53
mov dword [0x102312b0], 0xca9
mov dword [0x102312ac], 0xfffffc67
call fcn.102106ae
sub esp, 8
mov dword [esp], eax
mov eax, dword [ebp - 0x118]
mov dword [esp + 4], eax
call fcn.102101d5
add esp, 8
mov dword [0x102312cc], eax
mov dword [ebp - 0x12c], eax
mov dword [0x102312ac], 0xdc9
mov eax, dword [ebp - 0x12c]
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 - 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, 0xfc
mov edi, edx
add edi, esi
add edi, 0xbc
mov esi, dword [edi]
imul edi, eax, 0xfc
mov ebx, edx
add ebx, edi
add ebx, 0x24
mov edi, dword [ebx]
imul ebx, eax, 0xfc
add edx, ebx
add edx, 0x6c
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.1021124c
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, 0x1da
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x138], edx
jne 0x10210e0a
lea eax, [0x10213669]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x102312ac], 0x1202
sub esp, 0xc
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14c], ecx
call fcn.10210786
add esp, 0xc
mov dword [0x102312ac], 0xb30
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.10211561
add esp, 0x10
mov eax, dword [ebp - 0x130]
add eax, 0xcf0f3
mov ecx, dword [ebp - 0x110]
mov dword [ecx], eax
mov dword [0x102312b0], 0x21e8
xor eax, eax
mov ecx, dword [ebp - 0x130]
add ecx, 0x3a96a
mov edx, dword [ebp - 0x110]
mov dword [edx + 4], 0x135800
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x20c0
mov ecx, dword [0x102312b0]
add ecx, 0x1847
mov dword [0x102312ac], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret