Function at 0x10ab1ca
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1e8
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1e8]
push edi
xor edi, edi
cmp dword [ebp + 0x20], 0x78
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x4c]
mov dword [ebp - 8], edi
mov dword [eax], edi
jle 0x10ab21d
lea eax, [ebp - 4]
push eax
push edi
push 4
push dword [ebp + 0x20]
xor ebx, ebx
push dword [esi + 8]
inc ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], edi
call fcn.0107b27c
cmp eax, edi
je 0x10ab21d
push eax
push dword [ebp - 4]
push ebx
jmp 0x10ab497
mov ebx, dword [ebp + 0x40]
push ebx
push dword [ebp + 0x48]
mov eax, dword [esi]
push dword [ebp + 0x44]
push dword [ebp - 4]
push dword [ebp + 0x3c]
push dword [ebp + 0x38]
push dword [ebp + 0x14]
push dword [ebp + 0x20]
push dword [ebp + 0x24]
push dword [ebp + 0x28]
push dword [ebp + 0x30]
push dword [ebp + 0x18]
push dword [esi + 4]
call dword [eax + 0x98]
cmp eax, edi
je 0x10ab257
push eax
jmp 0x10ab491
mov eax, dword [ebx]
cmp eax, edi
jg 0x10ab264
push 0xffffffffffffffff
jmp 0x10ab491
cmp eax, 0x78
jle 0x10ab2dd
mov eax, dword [ebp + 0x4c]
mov ecx, dword [ebp + 0x58]
mov dword [eax], 1
mov eax, dword [ebp + 0x50]
mov dword [eax], edi
mov dword [ecx], edi
mov ecx, dword [ebp + 0x54]
mov dword [ecx], edi
mov ecx, dword [ebp + 0x5c]
push eax
mov dword [ecx], edi
mov ecx, dword [ebp + 0x60]
push edi
push 4
mov dword [ecx], edi
push dword [ebx]
push dword [esi + 8]
call fcn.0107b27c
cmp eax, edi
jne 0x10ab251
push dword [ebp + 0x54]
push edi
push 4
push dword [ebx]
push dword [esi + 8]
call fcn.0107b27c
cmp eax, edi
jne 0x10ab251
push dword [ebp + 0x5c]
push edi
push 8
push dword [ebx]
push dword [esi + 8]
call fcn.0107b27c
cmp eax, edi
jne 0x10ab251
push dword [ebp + 0x60]
push edi
push 1
push dword [ebx]
push dword [esi + 8]
call fcn.0107b27c
cmp eax, edi
jne 0x10ab251
mov eax, dword [ebx]
shl eax, 2
push eax
mov eax, dword [ebp + 0x54]
push edi
push dword [eax]
call sub.msvcrt.dll_memset
push dword [ebx]
mov eax, dword [ebp + 0x60]
push edi
push dword [eax]
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 0x60]
add esp, 0x18
push dword [eax]
push dword [ebp + 0x34]
push dword [ebx]
push dword [ebp + 0x20]
push dword [ebp + 0x38]
call fcn.010a06e4
cmp eax, edi
jne 0x10ab251
cmp dword [ebp + 0x20], edi
jle 0x10ab346
mov eax, dword [ebp + 0x34]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x20]
sub ecx, eax
mov dword [ebp + 8], edx
mov edx, dword [ecx + eax]
shl edx, 0x11
xor edx, dword [eax]
and edx, 0x20000
xor dword [eax], edx
add eax, 4
dec dword [ebp + 8]
jne 0x10ab32e
mov ecx, dword [ebp + 0x5c]
push dword [ecx]
mov ecx, dword [ebp + 0x50]
push dword [ecx]
mov ecx, dword [ebp + 0x48]
push dword [ebp + 0x14]
mov eax, dword [esi]
push dword [ebx]
push dword [ecx]
mov ecx, dword [ebp + 0x44]
push dword [ecx]
push dword [ebp + 0x20]
push dword [ebp + 0x3c]
push dword [ebp + 0x38]
push dword [ebp + 0x24]
push 1
push dword [ebp + 0x28]
push dword [ebp + 0x30]
push dword [ebp + 0x18]
push dword [esi + 4]
call dword [eax + 0x9c]
cmp eax, edi
jne 0x10ab251
cmp dword [esi + 0xc0], edi
je 0x10ab417
mov eax, dword [ebp + 0x4c]
cmp dword [eax], edi
je 0x10ab3b4
push dword [ebp + 0x58]
push edi
push 4
push dword [ebx]
push dword [esi + 8]
call fcn.0107b27c
cmp eax, edi
jne 0x10ab251
cmp dword [esi + 0xc4], edi
jne 0x10ab3ff
mov ecx, dword [ebp + 0x5c]
push dword [ecx]
mov ecx, dword [ebp + 0x58]
push dword [ecx]
mov ecx, dword [ebp + 0x48]
push dword [ebp + 0x14]
mov eax, dword [esi]
push dword [ebx]
push dword [ecx]
mov ecx, dword [ebp + 0x44]
push dword [ecx]
push dword [ebp + 0x20]
push dword [ebp + 0x3c]
push dword [ebp + 0x38]
push dword [ebp + 0x24]
push edi
push dword [ebp + 0x28]
push dword [ebp + 0x30]
push dword [ebp + 0x18]
push dword [esi + 4]
call dword [eax + 0x9c]
cmp eax, edi
je 0x10ab417
jmp 0x10ab251
mov eax, dword [ebx]
shl eax, 2
push eax
mov eax, dword [ebp + 0x50]
push dword [eax]
mov eax, dword [ebp + 0x58]
push dword [eax]
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 0x1c]
test byte [eax + 8], 2
je 0x10ab45c
mov eax, dword [ebp + 0x60]
push dword [eax]
mov eax, dword [ebp + 0x54]
push dword [ebp + 0x34]
mov ecx, dword [ebp + 0x28]
push dword [eax]
mov eax, dword [ebp + 0x50]
push dword [eax]
mov eax, dword [ebp + 0x18]
push dword [ebx]
mov ebx, dword [ebp + 0x20]
push dword [ebp + 0x24]
push dword [eax + ecx*4 - 4]
mov eax, dword [ebp + 0x10]
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.010aaef2
cmp eax, edi
jne 0x10ab251
push dword [ebp + 0x64]
mov eax, dword [ebp + 0x60]
push dword [eax]
mov eax, dword [ebp + 0x54]
push dword [eax]
mov eax, dword [ebp + 0x50]
push dword [eax]
mov ecx, dword [ebp + 0x6c]
push dword [ebp + 0x30]
mov eax, dword [ebp + 0x68]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x38]
push dword [ebp + 0x34]
call fcn.010aaff2
cmp eax, edi
jne 0x10ab251
push edi
push dword [ebp - 4]
push dword [ebp - 8]
mov eax, esi
call fcn.010ab1a2
pop edi
pop esi
pop ebx
leave
ret 0x68