Function at 0x1004baaa
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x100a0070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x94]
push 0x90
push 0
push eax
mov esi, edx
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0xb0], edi
call fcn.10050900
movzx ecx, byte [esi]
lea edx, [ebp - 0x94]
movzx eax, byte [esi + 1]
add esp, 0xc
shl ecx, 8
or ecx, eax
mov edi, dword [ebp - 0x98]
movzx eax, byte [esi + 2]
sub edx, edi
shl ecx, 8
or ecx, eax
mov dword [ebp - 0xa0], edx
movzx eax, byte [esi + 3]
lea edx, [ebp - 0x84]
shl ecx, 8
or ecx, eax
mov dword [ebp - 0x98], 0x20
movzx eax, byte [esi + 5]
mov dword [ebp - 0x94], ecx
movzx ecx, byte [esi + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 9]
mov dword [ebp - 0x90], ecx
movzx ecx, byte [esi + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xd]
mov dword [ebp - 0x8c], ecx
movzx ecx, byte [esi + 0xc]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xf]
shl ecx, 8
lea esi, [ebp - 0x88]
or ecx, eax
sub esi, edi
mov dword [ebp - 0x88], ecx
lea eax, [ebp - 0x8c]
lea ecx, [ebp - 0x90]
sub eax, edi
sub ecx, edi
mov dword [ebp - 0xa8], eax
sub edx, edi
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa4], edx
mov ecx, dword [ecx + edi]
xor ecx, dword [eax + edi]
xor ecx, dword [esi + edi]
xor ecx, dword [edi]
mov eax, ecx
mov dword [ebp - 0x9c], ecx
shr eax, 0x18
mov ebx, ecx
shr ecx, 8
shr ebx, 0x10
mov dl, byte [eax + 0x10089060]
movzx eax, bl
movzx edx, dl
shl edx, 8
mov bl, byte [eax + 0x10089060]
movzx eax, cl
mov cl, byte [eax + 0x10089060]
mov eax, dword [ebp - 0x9c]
movzx eax, al
mov ch, byte [eax + 0x10089060]
movzx eax, bl
or edx, eax
movzx eax, cl
shl edx, 8
or edx, eax
movzx eax, ch
shl edx, 8
or edx, eax
mov ecx, edx
mov eax, edx
rol eax, 0xa
ror ecx, 0xe
xor ecx, eax
mov eax, edx
ror eax, 8
xor ecx, eax
mov eax, edx
rol eax, 2
xor ecx, eax
mov eax, dword [ebp - 0xa0]
xor ecx, dword [eax + edi]
mov eax, dword [ebp - 0xa4]
xor ecx, edx
sub dword [ebp - 0x98], 1
mov dword [eax + edi], ecx
lea edi, [edi + 4]
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xac]
jne 0x1004bbca
mov edi, dword [ebp - 0xb0]
mov ecx, dword [ebp - 8]
mov eax, ecx
shr eax, 0x18
mov byte [edi], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 1], al
mov eax, ecx
shr eax, 8
mov byte [edi + 2], al
mov byte [edi + 3], cl
mov ecx, dword [ebp - 0xc]
mov eax, ecx
shr eax, 0x18
mov byte [edi + 4], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 5], al
mov eax, ecx
shr eax, 8
mov byte [edi + 6], al
mov byte [edi + 7], cl
mov ecx, dword [ebp - 0x10]
mov eax, ecx
shr eax, 0x18
mov byte [edi + 8], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 9], al
mov eax, ecx
shr eax, 8
mov byte [edi + 0xa], al
mov byte [edi + 0xb], cl
mov ecx, dword [ebp - 0x14]
mov eax, ecx
shr eax, 0x18
mov byte [edi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [edi + 0xf], cl
mov ecx, dword [ebp - 4]
mov byte [edi + 0xe], al
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1004d78e
mov esp, ebp
pop ebp
ret