Function at 0x1000aa3c
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]
xor ecx, ecx
mov dword [0x1004fd64], 0x11bb
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x1000aca6
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x140]
lea edx, section..data
imul esi, ecx, 0x16c
mov edi, edx
add edi, esi
mov esi, ecx
add esi, 1
imul ebx, ecx, 0x16c
mov dword [ebp - 0x144], eax
mov eax, edx
add eax, ebx
add eax, 0x78
mov ebx, dword [ebp - 0x148]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x144]
add ebx, eax
imul ecx, ecx, 0x16c
add edx, ecx
add edx, 0xa8
mov ecx, dword [edx]
mov edx, dword [edi]
mov edi, dword [ebp - 0x14c]
movzx eax, word [edi]
xor eax, ecx
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x154], eax
call fcn.1000b76e
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x144]
add eax, ecx
mov edx, dword [ebp - 0x150]
cmp edx, 0x23c
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x13c], eax
jne 0x1000aa70
lea eax, [0x1001c211]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov esi, dword [ebp - 0x148]
add esi, 0x30aae
mov edi, dword [ebp - 0x148]
add edi, 0x211ee
mov dword [0x1004fd68], 0xda2
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x158], edi
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], esi
call fcn.1000b452
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x168]
mov dword [esp + 0xc], edx
call fcn.1000b9a9
xor eax, eax
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x164]
mov dword [ecx], edx
mov dword [ecx + 4], 0x151a00
mov edx, dword [ebp - 0x158]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0x20d0
mov dword [0x1004fd68], 0x1223
add esp, 0x174
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [0x1001c203]
mov ecx, 0xe
lea edx, [ebp - 0x12c]
mov dword [0x1004fd64], 0xfffff0ef
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x170], ecx
call fcn.1000b18b
mov eax, dword [0x1004fd64]
add eax, 0xffffdb0c
mov dword [0x1004fd68], eax
mov dword [0x1004fd64], 0x1b9e
call fcn.1000b033
mov dword [esp], eax
mov eax, dword [ebp - 0x16c]
mov dword [esp + 4], eax
call fcn.1000a6a1
mov ecx, eax
mov dword [0x1004fd84], eax
mov eax, esp
mov edx, dword [ebp - 0x168]
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, dword [0x1004fd64]
add edx, 0xffffec8a
mov dword [0x1004fd64], edx
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x13c], ecx
jmp 0x1000aa70
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0x16c
mov edi, edx
add edi, esi
add edi, 0x78
imul esi, eax, 0x16c
add edx, esi
add edx, 0xa8
add eax, 1
mov edx, dword [edx]
movzx esi, word [edi]
xor esi, edx
add esi, ecx
cmp eax, 0x23c
mov ecx, esi
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x138], eax
je 0x1000abe3
jmp 0x1000aca6