Function at 0x1020acfb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x16c
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x1022a634], 0x239d
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x1020add8
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x140]
lea edx, section..data
imul esi, eax, 0xe0
mov edi, edx
add edi, esi
add edi, 0x94
imul esi, eax, 0xe0
mov ebx, edx
add ebx, esi
add ebx, 0x90
imul esi, eax, 0xe0
add edx, esi
add edx, 0x98
mov esi, dword [ebp - 0x144]
add esi, ecx
add eax, 1
mov edx, dword [edx]
mov ebx, dword [ebx]
movzx edi, word [edi]
xor edi, edx
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x150], edi
call fcn.1020a31f
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
add eax, ecx
mov edx, dword [ebp - 0x148]
cmp edx, 0x207
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x140], eax
je 0x1020aeeb
jmp 0x1020ad2f
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
mov esi, eax
add esi, 1
imul edi, eax, 0xe0
mov ebx, edx
add ebx, edi
add ebx, 0x94
imul eax, eax, 0xe0
add edx, eax
add edx, 0x98
mov eax, dword [edx]
movzx edx, word [ebx]
xor edx, eax
add edx, ecx
cmp esi, 0x207
mov eax, edx
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x138], esi
jne 0x1020add8
mov dword [0x1022a634], 0xffe4a2a6
mov dword [0x1022a638], 0x725
lea eax, [0x1020d81b]
mov ecx, 0xe
lea edx, [ebp - 0x12c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x15c], ecx
call fcn.1020b3bc
mov dword [0x1022a638], 0x295
mov dword [0x1022a634], 0x18f0
call fcn.1020b70c
mov dword [esp], eax
mov eax, dword [ebp - 0x158]
mov dword [esp + 4], eax
call fcn.1020b589
mov ecx, eax
mov dword [0x1022a654], eax
mov eax, esp
mov edx, dword [ebp - 0x154]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x13c], ecx
jmp 0x1020ad2f
lea eax, [0x1020d829]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x1022a634], 0x5de
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], ecx
call fcn.1020a575
mov dword [0x1022a634], 0x5ee
mov dword [0x1022a638], 0xffffe27e
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov ecx, dword [ebp - 0x144]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x154]
mov dword [esp + 0xc], edx
call fcn.1020a0e8
mov eax, dword [ebp - 0x144]
add eax, 0x10d83a
mov ecx, dword [ebp - 0x130]
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0x168], ecx
xor eax, eax
mov ecx, dword [ebp - 0x144]
add ecx, 0xfd02a
mov edx, dword [ebp - 0x168]
mov dword [edx], 0x125e00
mov esi, dword [ebp - 0x130]
mov dword [esi + 8], ecx
mov dword [0x1022a638], 0x2640
mov dword [esi + 0xc], 0x1f10
mov dword [0x1022a634], 0x2587
add esp, 0x16c
pop esi
pop edi
pop ebx
pop ebp
ret