Function at 0x1020c275
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 ecx, 0x20
mov dword [ebp - 0x114], eax
mov eax, ecx
call fcn.1020ba50
mov eax, esp
mov dword [0x1022402c], 0xeb4
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 0x1020c358
mov dword [0x1022402c], 0xf0b
call fcn.1020d0ec
mov dword [ebp - 0x124], eax
sub esp, 8
mov eax, dword [ebp - 0x124]
mov dword [esp], eax
mov ecx, dword [ebp - 0x118]
mov dword [esp + 4], ecx
call fcn.1020be43
add esp, 8
mov ecx, eax
mov dword [0x1022404c], eax
sub esp, 0x10
mov eax, esp
mov edx, dword [ebp - 0x128]
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, dword [0x10224030]
add edx, 0xffffd942
mov dword [0x1022402c], edx
mov edx, ecx
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x134], ecx
jmp 0x1020c3f0
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x11c]
xor edx, edx
lea esi, section..data
imul edi, eax, 0xb4
mov ebx, esi
add ebx, edi
add ebx, 0xb0
mov edi, dword [ebx]
imul ebx, eax, 0xb4
add esi, ebx
add esi, 0xa8
movzx esi, word [esi]
xor esi, edi
add esi, ecx
add eax, 1
cmp eax, 0x1de
mov ecx, esi
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x138], edx
jne 0x1020c358
mov eax, dword [ebp - 0x138]
mov cl, byte [eax + 0x1020e528]
mov dl, byte [eax + 0x1020e4f9]
sub dl, cl
mov esi, dword [ebp - 0x118]
mov byte [esi + eax], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x138], eax
je 0x1020c2cd
jmp 0x1020c3b9
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x130]
lea edx, section..data
mov esi, dword [ebp - 0x12c]
add esi, eax
mov edi, ecx
add edi, 1
imul ebx, ecx, 0xb4
mov dword [ebp - 0x13c], eax
mov eax, edx
add eax, ebx
imul ebx, ecx, 0xb4
mov dword [ebp - 0x140], eax
mov eax, edx
add eax, ebx
add eax, 0xa8
imul ecx, ecx, 0xb4
add edx, ecx
add edx, 0xb0
mov ecx, dword [edx]
mov edx, dword [ebp - 0x140]
mov ebx, dword [edx]
movzx eax, word [eax]
xor eax, ecx
sub esp, 0xc
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [ebp - 0x144], edi
mov dword [ebp - 0x148], eax
call fcn.1020c653
add esp, 0xc
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x13c]
add eax, ecx
mov edx, dword [ebp - 0x144]
cmp edx, 0x1de
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x134], eax
jne 0x1020c3f0
lea eax, str.n_f9C
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov esi, dword [ebp - 0x12c]
add esi, 0x3e25a
mov dword [0x10224030], 0xe6d
sub esp, 0xc
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x154], edx
call fcn.1020c0df
add esp, 0xc
sub esp, 0x10
mov eax, dword [ebp - 0x154]
mov dword [esp], eax
mov ecx, dword [ebp - 0x12c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x128]
mov dword [esp + 0xc], edx
call fcn.1020cc31
add esp, 0x10
mov dword [0x1022402c], 0x1e27
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x14c]
mov dword [eax], ecx
mov dword [eax + 4], 0x140400
xor eax, eax
mov ecx, dword [ebp - 0x12c]
add ecx, 0x2e26d
mov edx, dword [ebp - 0x110]
mov dword [edx + 8], ecx
mov ecx, dword [0x1022402c]
add ecx, 0xffffe53e
mov dword [0x1022402c], ecx
mov dword [edx + 0xc], 0x2010
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret