Function at 0x101aa09c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x170
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x10277d7c], 0xe6a
mov dword [0x10277d80], 0x1c1d
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x101aa199
lea eax, [0x101ab1b3]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x10277d7c], 0x1cea
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x140], ecx
call fcn.101a99eb
mov eax, dword [ebp - 0x13c]
mov dword [esp], eax
mov ecx, dword [ebp - 0x144]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x148]
mov dword [esp + 0xc], edx
call fcn.101a9889
mov eax, dword [ebp - 0x144]
add eax, 0xcc4ce
mov ecx, dword [ebp - 0x130]
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0x14c], ecx
xor eax, eax
mov ecx, dword [ebp - 0x14c]
mov dword [ecx], 0x14c600
mov edx, dword [ebp - 0x144]
add edx, 0x2f12d
mov esi, dword [ebp - 0x130]
mov dword [esi + 8], edx
mov dword [esi + 0xc], 0x2000
mov dword [0x10277d7c], 0x25ad
add esp, 0x170
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
xor edx, edx
lea esi, section..data
imul edi, eax, 0xac
mov ebx, esi
add ebx, edi
add ebx, 0xa8
mov edi, dword [ebx]
imul ebx, eax, 0xac
add esi, ebx
add esi, 0x7c
movzx esi, word [esi]
xor esi, edi
add esi, ecx
add eax, 1
cmp eax, 0x70e
mov ecx, esi
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x148], esi
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x150], edx
jne 0x101aa199
mov eax, dword [ebp - 0x150]
mov cl, byte [eax + 0x101ab1d4]
mov dl, byte [eax + 0x101ab1a5]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x150], eax
jne 0x101aa1fa
lea eax, [ebp - 0x12c]
mov dword [0x10277d80], 0x1490
mov dword [0x10277d7c], 0x2176
mov dword [ebp - 0x154], eax
call fcn.101a9cc0
mov dword [esp], eax
mov eax, dword [ebp - 0x154]
mov dword [esp + 4], eax
call fcn.101a9df3
mov ecx, eax
mov dword [0x10277d98], eax
mov eax, esp
mov edx, dword [ebp - 0x148]
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 - 0x158], edx
mov dword [ebp - 0x15c], ecx
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
lea edx, section..data
mov esi, dword [ebp - 0x144]
add esi, eax
mov edi, ecx
add edi, 1
imul ebx, ecx, 0xac
mov dword [ebp - 0x160], eax
mov eax, edx
add eax, ebx
add eax, 0x20
imul ebx, ecx, 0xac
mov dword [ebp - 0x164], eax
mov eax, edx
add eax, ebx
add eax, 0xa8
imul ecx, ecx, 0xac
add edx, ecx
add edx, 0x7c
mov eax, dword [eax]
mov ecx, dword [ebp - 0x164]
mov ebx, dword [ecx]
movzx edx, word [edx]
xor edx, eax
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [ebp - 0x168], edi
mov dword [ebp - 0x16c], edx
call fcn.101a931d
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x160]
add eax, ecx
mov edx, dword [ebp - 0x168]
cmp edx, 0x70e
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x15c], eax
je 0x101aa0da
jmp 0x101aa2a1