Function at 0x10202667
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x174
mov eax, dword [ebp + 8]
mov ecx, dword [0x1024216c]
add ecx, 0x157d
mov dword [0x10242170], ecx
mov dword [ebp - 0x130], eax
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jmp 0x10202730
mov dword [0x10242170], 0xd93
mov dword [0x1024216c], 0x3e3
call fcn.102036be
mov dword [esp], eax
mov eax, dword [ebp - 0x13c]
mov dword [esp + 4], eax
call fcn.1020223a
mov dword [0x1024218c], eax
mov ecx, dword [0x10242170]
add ecx, 0x70c
mov dword [0x1024216c], ecx
mov dword [ebp - 0x140], eax
mov eax, esp
mov ecx, dword [ebp - 0x144]
mov dword [eax + 4], ecx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
mov eax, dword [ebp - 0x140]
call eax
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ecx
jmp 0x102027f0
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0xb4
mov edi, edx
add edi, esi
add edi, 0xb0
mov esi, dword [edi]
imul edi, eax, 0xb4
add edx, edi
add edx, 0xa8
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x56e
mov ecx, edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x10202730
mov eax, 1
lea ecx, [ebp - 0x12c]
mov dword [0x10242170], 0x482
mov dword [0x1024216c], 0x1d73
mov byte [ebp - 0x12c], 0x56
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
mov cl, byte [eax + 0x10204528]
mov dl, byte [eax + 0x102044f9]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x154], eax
je 0x102026a3
jmp 0x102027bb
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, section..data
imul esi, eax, 0xb4
mov edi, edx
add edi, esi
add edi, 0xb0
mov esi, dword [edi]
imul edi, eax, 0xb4
mov ebx, edx
add ebx, edi
mov edi, dword [ebx]
imul ebx, eax, 0xb4
add edx, ebx
add edx, 0xa8
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x148]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x160], edx
call fcn.10202a65
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x15c]
add eax, ecx
mov edx, dword [ebp - 0x158]
add edx, 1
cmp edx, 0x56e
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], edx
jne 0x102027f0
lea eax, [0x10204507]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov esi, dword [ebp - 0x148]
add esi, 0x8d72d
mov edi, dword [ebp - 0x148]
add edi, 0xbb338
mov dword [0x1024216c], 0x31b
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x164], edi
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x170], esi
call fcn.102024e0
mov eax, dword [0x1024216c]
add eax, 0xffffd986
mov dword [0x10242170], eax
mov eax, dword [ebp - 0x16c]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x144]
mov dword [esp + 0xc], edx
call fcn.10203154
xor eax, eax
mov dword [0x10242170], 0xbcc
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x164]
mov dword [ecx], edx
mov dword [ecx + 4], 0x11c200
mov edx, dword [ebp - 0x170]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0x2010
mov dword [0x1024216c], 0x1317
add esp, 0x174
pop esi
pop edi
pop ebx
pop ebp
ret