Function at 0x101ee759
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x17c
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x10208404], 0x1498
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, ecx, 0x10c
mov edi, edx
add edi, esi
add edi, 0xbc
imul esi, ecx, 0x10c
add edx, esi
add edx, 0x60
add ecx, 1
mov esi, dword [edi]
movzx edx, word [edx]
xor edx, esi
add edx, eax
cmp ecx, 0x154
mov eax, edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x101ee788
lea eax, str.r2
mov ecx, 0xe
lea edx, [ebp - 0x12c]
mov dword [0x10208404], 0x3528
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x144], ecx
call fcn.101ef434
mov dword [0x10208404], 0xee1
call fcn.101ef7ae
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
mov dword [esp], eax
mov ecx, dword [ebp - 0x140]
mov dword [esp + 4], ecx
call fcn.101ee2de
mov ecx, eax
mov dword [0x10208424], eax
mov eax, esp
mov edx, dword [ebp - 0x13c]
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 - 0x14c], eax
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x154], ecx
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x150]
lea edx, section..data
mov esi, dword [ebp - 0x14c]
add esi, ecx
imul edi, eax, 0x10c
mov ebx, edx
add ebx, edi
add ebx, 0x5c
imul edi, eax, 0x10c
mov dword [ebp - 0x158], eax
mov eax, edx
add eax, edi
add eax, 0x60
mov edi, dword [ebp - 0x158]
add edi, 1
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x158]
imul eax, eax, 0x10c
add edx, eax
add edx, 0xbc
mov eax, dword [edx]
mov edx, dword [ebx]
mov ebx, dword [ebp - 0x15c]
movzx ebx, word [ebx]
xor ebx, eax
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], edi
call fcn.101eeb24
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x164]
add eax, ecx
mov edx, dword [ebp - 0x168]
cmp edx, 0x154
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x150], eax
jne 0x101ee88c
lea eax, [0x101f159b]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x10208404], 0xb3f
mov esi, dword [ebp - 0x14c]
add esi, 0xac995
mov edi, dword [ebp - 0x14c]
add edi, 0xaa395
mov dword [0x10208408], 0x16e8
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x16c], edi
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x178], esi
call fcn.101ee5c6
mov dword [0x10208404], 0x1454
mov eax, dword [ebp - 0x174]
mov dword [esp], eax
mov ecx, dword [ebp - 0x14c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x13c]
mov dword [esp + 0xc], edx
call fcn.101ef1dd
xor eax, eax
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x178]
mov dword [ecx], edx
mov dword [0x10208404], 0x1719
mov dword [ecx + 4], 0x13ea00
mov edx, dword [ebp - 0x16c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0x2000
mov edx, dword [0x10208404]
add edx, 0xffffe743
mov dword [0x10208404], edx
add esp, 0x17c
pop esi
pop edi
pop ebx
pop ebp
ret