Function at 0x4b8e50
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
cmp dword [esp + 0x44], 1
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x40]
je 0x4b8f01
cmp edi, ebx
je 0x4b8f44
cmp ebp, 0xf
jbe 0x4b8ebc
push eax
mov edx, dword [esp + 0x40]
push edx
push ebx
push edi
call fcn.004b81f0
xor edx, edx
add esp, 0x10
jmp 0x4b8ea0
mov cl, byte [edx + esi]
xor byte [edx + ebx], cl
inc edx
cmp edx, 0xf
jbe 0x4b8ea0
mov esi, edi
sub ebp, 0x10
add edi, 0x10
add ebx, 0x10
cmp ebp, 0xf
ja 0x4b8e7f
test ebp, ebp
jne 0x4b8fec
mov edx, dword [esi]
mov ebx, dword [esp + 0x40]
mov dword [ebx], edx
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov ebp, dword [esi + 8]
mov dword [ebx + 8], ebp
mov edi, dword [esi + 0xc]
mov dword [ebx + 0xc], edi
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
push ecx
mov edx, dword [esp + 0x40]
push edx
push ebx
push ebx
call fcn.004b7c20
mov esi, ebx
sub ebp, 0x10
add edi, 0x10
add ebx, 0x10
add esp, 0x10
cmp ebp, 0xf
jbe 0x4b8f92
xor edx, edx
lea esi, [esi]
mov al, byte [edx + esi]
xor al, byte [edx + edi]
mov byte [edx + ebx], al
inc edx
cmp edx, 0xf
jbe 0x4b8f10
jmp 0x4b8ee6
mov edx, dword [esp]
mov dword [ecx], edx
mov eax, dword [esp + 4]
mov dword [ecx + 4], eax
mov esi, dword [esp + 8]
mov dword [ecx + 8], esi
mov edx, dword [esp + 0xc]
mov dword [ecx + 0xc], edx
sub ebp, 0x10
add edi, 0x10
add ebx, 0x10
cmp ebp, 0xf
jbe 0x4b9019
mov esi, dword [edi]
mov dword [esp], esi
mov edx, dword [edi + 4]
mov dword [esp + 4], edx
mov eax, dword [edi + 8]
mov dword [esp + 8], eax
mov ecx, dword [edi + 0xc]
mov dword [esp + 0xc], ecx
push esi
mov esi, dword [esp + 0x40]
push esi
push ebx
push edi
call fcn.004b81f0
xor edx, edx
add esp, 0x10
lea esi, [esi]
mov ecx, dword [esp + 0x40]
mov al, byte [edx + ecx]
xor byte [edx + ebx], al
inc edx
cmp edx, 0xf
jbe 0x4b8f80
jmp 0x4b8f21
test ebp, ebp
je 0x4b8fca
xor edx, edx
jmp 0x4b8fa4
mov cl, byte [edx + esi]
xor cl, byte [edx + edi]
mov byte [edx + ebx], cl
inc edx
cmp edx, ebp
jb 0x4b8f9a
mov edx, ebp
jmp 0x4b8fb3
mov al, byte [edx + esi]
mov byte [edx + ebx], al
inc edx
cmp edx, 0xf
jbe 0x4b8fac
push eax
mov esi, dword [esp + 0x40]
push esi
push ebx
push ebx
call fcn.004b7c20
mov esi, ebx
add esp, 0x10
mov ebp, dword [esi]
mov edx, dword [esp + 0x40]
mov dword [edx], ebp
mov edi, dword [esi + 4]
mov dword [edx + 4], edi
mov ebx, dword [esi + 8]
mov dword [edx + 8], ebx
mov eax, dword [esi + 0xc]
mov dword [edx + 0xc], eax
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
push eax
mov edx, dword [esp + 0x40]
push edx
lea eax, [esp + 8]
push eax
push edi
call fcn.004b81f0
xor edx, edx
add esp, 0x10
jmp 0x4b900e
mov cl, byte [edx + esi]
xor cl, byte [esp + edx]
mov byte [edx + ebx], cl
inc edx
cmp edx, ebp
jb 0x4b9004
mov esi, edi
jmp 0x4b8ec4
test ebp, ebp
je 0x4b8ede
mov ecx, dword [edi]
mov dword [esp], ecx
mov edx, dword [edi + 4]
mov dword [esp + 4], edx
mov eax, dword [edi + 8]
mov dword [esp + 8], eax
mov esi, dword [edi + 0xc]
mov dword [esp + 0xc], esi
push edx
mov ecx, dword [esp + 0x40]
push ecx
push ebx
lea edi, [esp + 0xc]
push edi
call fcn.004b81f0
xor edx, edx
add esp, 0x10
jmp 0x4b905e
mov edi, dword [esp + 0x40]
mov al, byte [edx + edi]
xor byte [edx + ebx], al
inc edx
cmp edx, ebp
jb 0x4b9053
mov edx, ebp
jmp 0x4b906d
mov cl, byte [esp + edx]
mov byte [edx + ebx], cl
inc edx
cmp edx, 0xf
jbe 0x4b9066
mov esi, dword [esp]
mov edx, dword [esp + 0x40]
mov dword [edx], esi
mov ebp, dword [esp + 4]
mov dword [edx + 4], ebp
mov ebx, dword [esp + 8]
mov dword [edx + 8], ebx
mov eax, dword [esp + 0xc]
mov dword [edx + 0xc], eax
jmp 0x4b8fe4