Function at 0x1000f284
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, edx
push edi
mov edi, ecx
movzx ecx, byte [eax]
inc eax
movzx edx, byte [eax]
shl edx, 8
or ecx, edx
mov dword [ebp - 0x1c], eax
inc eax
movzx edx, byte [eax]
shl edx, 0x10
or ecx, edx
inc eax
movzx edx, byte [eax]
shl edx, 0x18
or ecx, edx
inc eax
movzx edx, byte [eax]
inc eax
movzx ebx, byte [eax]
shl ebx, 8
or edx, ebx
inc eax
movzx ebx, byte [eax]
shl ebx, 0x10
or edx, ebx
inc eax
movzx ebx, byte [eax]
shl ebx, 0x18
or edx, ebx
inc eax
mov dword [ebp - 0xc], edx
movzx edx, byte [eax]
inc eax
movzx ebx, byte [eax]
shl ebx, 8
or edx, ebx
inc eax
movzx ebx, byte [eax]
shl ebx, 0x10
or edx, ebx
inc eax
movzx ebx, byte [eax]
shl ebx, 0x18
or edx, ebx
inc eax
mov dword [ebp - 0x10], edx
movzx edx, byte [eax]
inc eax
movzx ebx, byte [eax]
shl ebx, 8
or edx, ebx
movzx ebx, byte [eax + 2]
inc eax
movzx eax, byte [eax]
shl ebx, 8
or ebx, eax
shl ebx, 0x10
or edx, ebx
mov ebx, dword [ebp + 0xc]
add ebx, 0xfffffff0
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
js 0x1000f46f
lea eax, [ebx + 0x10]
shr eax, 4
mov dword [ebp - 0x14], eax
imul eax, eax, 0xfffffff0
add ebx, eax
mov dword [ebp - 0x18], ebx
movzx eax, byte [edi]
inc edi
movzx ecx, byte [edi]
shl ecx, 8
or eax, ecx
inc edi
movzx ecx, byte [edi]
shl ecx, 0x10
or eax, ecx
inc edi
movzx ecx, byte [edi]
shl ecx, 0x18
or eax, ecx
inc edi
movzx ecx, byte [edi]
inc edi
movzx edx, byte [edi]
shl edx, 8
or ecx, edx
inc edi
movzx edx, byte [edi]
shl edx, 0x10
or ecx, edx
inc edi
movzx edx, byte [edi]
shl edx, 0x18
or ecx, edx
inc edi
movzx edx, byte [edi]
inc edi
movzx ebx, byte [edi]
shl ebx, 8
or edx, ebx
inc edi
movzx ebx, byte [edi]
shl ebx, 0x10
or edx, ebx
xor eax, dword [ebp - 8]
inc edi
movzx ebx, byte [edi]
shl ebx, 0x18
or edx, ebx
mov dword [ebp + 0xc], edx
inc edi
movzx edx, byte [edi]
xor ecx, dword [ebp - 0xc]
inc edi
movzx ebx, byte [edi]
shl ebx, 8
or edx, ebx
inc edi
movzx ebx, byte [edi]
shl ebx, 0x10
or edx, ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
xor eax, dword [ebp - 0x10]
inc edi
movzx ebx, byte [edi]
shl ebx, 0x18
mov dword [ebp - 0x24], eax
or edx, ebx
xor edx, dword [ebp - 4]
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 8]
inc edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], edx
call fcn.100102b8
mov eax, dword [ebp - 0x2c]
mov byte [esi], al
pop ecx
mov edx, eax
inc esi
shr edx, 8
pop ecx
mov ecx, eax
mov byte [esi], dl
mov dword [ebp - 8], ecx
inc esi
mov edx, eax
shr edx, 0x10
mov byte [esi], dl
shr eax, 0x18
inc esi
mov byte [esi], al
mov eax, dword [ebp - 0x28]
inc esi
mov byte [esi], al
inc esi
mov edx, eax
shr edx, 8
mov byte [esi], dl
inc esi
mov edx, eax
shr edx, 0x10
mov byte [esi], dl
inc esi
mov dword [ebp - 0xc], eax
shr eax, 0x18
mov byte [esi], al
mov eax, dword [ebp - 0x24]
inc esi
mov byte [esi], al
inc esi
mov edx, eax
shr edx, 8
mov byte [esi], dl
inc esi
mov edx, eax
shr edx, 0x10
mov byte [esi], dl
inc esi
mov dword [ebp - 0x10], eax
shr eax, 0x18
mov byte [esi], al
mov eax, dword [ebp - 0x20]
inc esi
mov byte [esi], al
inc esi
mov ebx, eax
shr ebx, 8
mov byte [esi], bl
inc esi
mov ebx, eax
shr ebx, 0x10
mov byte [esi], bl
mov edx, eax
inc esi
shr eax, 0x18
mov byte [esi], al
inc esi
dec dword [ebp - 0x14]
mov dword [ebp - 4], edx
jne 0x1000f33b
mov ebx, dword [ebp - 0x18]
cmp ebx, 0xfffffff0
je 0x1000f5ce
xor eax, eax
lea edi, [edi + ebx + 0x10]
add ebx, 0xf
mov dword [ebp - 8], eax
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], eax
cmp ebx, 0xf
ja case.default.0x1000f493
jmp dword [ebx*4 + 0x1000f644]
dec edi
movzx eax, byte [edi]
shl eax, 0x18
mov dword [ebp - 8], eax
dec edi
movzx eax, byte [edi]
shl eax, 0x10
or dword [ebp - 8], eax
dec edi
movzx eax, byte [edi]
shl eax, 8
or dword [ebp - 8], eax
dec edi
movzx eax, byte [edi]
or dword [ebp - 8], eax
dec edi
movzx eax, byte [edi]
shl eax, 0x18
mov dword [ebp + 0xc], eax
dec edi
movzx eax, byte [edi]
shl eax, 0x10
or dword [ebp + 0xc], eax
dec edi
movzx eax, byte [edi]
shl eax, 8
or dword [ebp + 0xc], eax
dec edi
movzx eax, byte [edi]
or dword [ebp + 0xc], eax
dec edi
movzx eax, byte [edi]
shl eax, 0x18
mov dword [ebp - 4], eax
dec edi
movzx eax, byte [edi]
shl eax, 0x10
or dword [ebp - 4], eax
dec edi
movzx eax, byte [edi]
shl eax, 8
or dword [ebp - 4], eax
dec edi
movzx eax, byte [edi]
or dword [ebp - 4], eax
dec edi
movzx eax, byte [edi]
shl eax, 0x18
dec edi
movzx ebx, byte [edi]
shl ebx, 0x10
or eax, ebx
dec edi
movzx ebx, byte [edi]
shl ebx, 8
or eax, ebx
movzx edi, byte [edi - 1]
or eax, edi
xor eax, ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
xor eax, edx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 8]
call fcn.100102b8
mov eax, dword [ebp - 0x2c]
mov byte [esi], al
inc esi
mov edx, eax
shr edx, 8
mov byte [esi], dl
inc esi
mov edx, eax
shr edx, 0x10
mov byte [esi], dl
inc esi
pop ecx
pop ecx
mov ecx, eax
shr eax, 0x18
mov byte [esi], al
mov eax, dword [ebp - 0x28]
inc esi
mov byte [esi], al
inc esi
mov edx, eax
shr edx, 8
mov byte [esi], dl
inc esi
mov edx, eax
shr edx, 0x10
mov byte [esi], dl
inc esi
mov dword [ebp - 0xc], eax
shr eax, 0x18
mov byte [esi], al
mov eax, dword [ebp - 0x24]
inc esi
mov byte [esi], al
inc esi
mov edx, eax
shr edx, 8
mov byte [esi], dl
inc esi
mov edx, eax
shr edx, 0x10
mov byte [esi], dl
inc esi
mov dword [ebp - 0x10], eax
shr eax, 0x18
mov byte [esi], al
mov eax, dword [ebp - 0x20]
inc esi
mov byte [esi], al
mov ebx, eax
shr ebx, 8
inc esi
mov byte [esi], bl
mov ebx, eax
inc esi
shr ebx, 0x10
mov edx, eax
shr eax, 0x18
mov byte [esi], bl
mov byte [esi + 1], al
mov eax, dword [ebp + 0x10]
mov byte [eax], cl
mov eax, dword [ebp - 0x1c]
mov ebx, ecx
shr ebx, 8
mov byte [eax], bl
inc eax
mov ebx, ecx
shr ebx, 0x10
mov byte [eax], bl
shr ecx, 0x18
inc eax
mov byte [eax], cl
mov ecx, dword [ebp - 0xc]
inc eax
mov byte [eax], cl
inc eax
mov ebx, ecx
shr ebx, 8
mov byte [eax], bl
inc eax
mov ebx, ecx
shr ebx, 0x10
mov byte [eax], bl
shr ecx, 0x18
inc eax
mov byte [eax], cl
mov ecx, dword [ebp - 0x10]
inc eax
mov byte [eax], cl
mov ebx, ecx
shr ebx, 8
inc eax
mov byte [eax], bl
mov ebx, ecx
shr ebx, 0x10
inc eax
mov byte [eax], bl
shr ecx, 0x18
inc eax
mov byte [eax], cl
inc eax
mov byte [eax], dl
mov ecx, edx
shr ecx, 8
inc eax
mov byte [eax], cl
mov ecx, edx
inc eax
pop edi
shr ecx, 0x10
shr edx, 0x18
pop esi
mov byte [eax], cl
mov byte [eax + 1], dl
pop ebx
leave
ret