Function at 0x47c8b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4da018]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x4c], ecx
push ebx
mov ebx, edx
mov dword [ebp - 0x40], eax
mov eax, dword [eax + 4]
push esi
push edi
movzx edi, byte [ebx + 3]
movzx esi, byte [ebx + 2]
movzx ecx, byte [ebx + 1]
movzx edx, byte [ebx + 7]
shl edi, 8
or edi, esi
shl edx, 8
shl edi, 8
or edi, ecx
movzx ecx, byte [ebx]
shl edi, 8
or edi, ecx
mov dword [ebp - 0x28], edi
mov ecx, dword [eax]
xor ecx, edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x44], ecx
movzx ecx, byte [ebx + 6]
or edx, ecx
movzx ecx, byte [ebx + 5]
shl edx, 8
or edx, ecx
movzx ecx, byte [ebx + 4]
shl edx, 8
or edx, ecx
mov dword [ebp - 0x24], edx
mov ecx, dword [eax + 4]
xor ecx, edx
movzx edx, byte [ebx + 0xb]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x38], ecx
movzx ecx, byte [ebx + 0xa]
shl edx, 8
or edx, ecx
movzx ecx, byte [ebx + 9]
shl edx, 8
or edx, ecx
movzx ecx, byte [ebx + 8]
shl edx, 8
or edx, ecx
mov dword [ebp - 0x20], edx
mov ecx, dword [eax + 8]
xor ecx, edx
movzx edx, byte [ebx + 0xf]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x2c], ecx
movzx ecx, byte [ebx + 0xe]
shl edx, 8
or edx, ecx
movzx ecx, byte [ebx + 0xd]
shl edx, 8
or edx, ecx
movzx ecx, byte [ebx + 0xc]
shl edx, 8
or edx, ecx
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x1c], edx
mov ebx, dword [eax + 0xc]
add eax, 0x10
xor ebx, edx
mov ecx, dword [ecx]
sar ecx, 1
dec ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x40], ecx
test ecx, ecx
jle 0x47cbb8
nop dword [eax + eax]
mov ecx, dword [ebp - 0x2c]
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [ebp - 0x38]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x4de130]
shr ebx, 0x18
xor edx, dword [ecx*4 + 0x4ded30]
xor edx, dword [ebx*4 + 0x4ddd30]
mov ebx, dword [ebp - 0x44]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x4df130]
xor edx, dword [eax]
mov ecx, dword [ebp - 0x30]
shr ecx, 0x10
mov dword [ebp - 0x34], edx
movzx edx, cl
mov ecx, dword [ebp - 0x2c]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x4de130]
xor edx, dword [ecx*4 + 0x4ded30]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x4ddd30]
mov ecx, dword [ebp - 0x38]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x4df130]
xor edx, dword [eax + 4]
mov ecx, dword [ebp - 0x30]
shr ecx, 8
mov dword [ebp - 0x48], edx
movzx edx, cl
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
shr ebx, 8
mov edx, dword [edx*4 + 0x4ded30]
xor edx, dword [ecx*4 + 0x4de130]
mov ecx, dword [ebp - 0x38]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x4ddd30]
mov ecx, dword [ebp - 0x2c]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x4df130]
xor edx, dword [eax + 8]
mov ecx, dword [ebp - 0x38]
shr ecx, 0x10
mov dword [ebp - 0x3c], edx
movzx edx, cl
movzx ecx, bl
mov ebx, dword [edx*4 + 0x4de130]
xor ebx, dword [ecx*4 + 0x4ded30]
mov ecx, dword [ebp - 0x2c]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x4ddd30]
mov ecx, dword [ebp - 0x30]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x4df130]
mov ecx, dword [ebp - 0x48]
xor ebx, dword [eax + 0xc]
shr ecx, 8
movzx edx, cl
mov ecx, dword [ebp - 0x3c]
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x4ded30]
xor edx, dword [ecx*4 + 0x4de130]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x4ddd30]
mov ecx, dword [ebp - 0x34]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x4df130]
mov ecx, ebx
xor edx, dword [eax + 0x10]
shr ecx, 0x10
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x28], edx
movzx edx, cl
mov edx, dword [edx*4 + 0x4de130]
mov ecx, dword [ebp - 0x3c]
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x4ded30]
mov ecx, dword [ebp - 0x34]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x4ddd30]
mov ecx, dword [ebp - 0x48]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x4df130]
mov ecx, ebx
xor edx, dword [eax + 0x14]
shr ecx, 8
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x38], edx
movzx edx, cl
mov ecx, dword [ebp - 0x34]
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x4ded30]
xor edx, dword [ecx*4 + 0x4de130]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x48]
mov ecx, edx
mov esi, dword [ebp - 0x2c]
shr ecx, 0x18
shr edx, 0x10
movzx edx, dl
xor esi, dword [ecx*4 + 0x4ddd30]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [edx*4 + 0x4de130]
movzx ecx, cl
xor esi, dword [ecx*4 + 0x4df130]
mov ecx, esi
mov dword [ebp - 0x2c], esi
xor ecx, dword [eax + 0x18]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x34]
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x4ded30]
mov ecx, dword [ebp - 0x3c]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x4ddd30]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x4df130]
xor edx, dword [eax + 0x1c]
add eax, 0x20
mov ecx, dword [ebp - 0x40]
mov ebx, edx
dec ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x40], ecx
test ecx, ecx
jg 0x47c9a0
mov ecx, dword [ebp - 0x2c]
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [ebp - 0x38]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x4de130]
shr ebx, 0x18
xor edx, dword [ecx*4 + 0x4ded30]
xor edx, dword [ebx*4 + 0x4ddd30]
mov ebx, dword [ebp - 0x44]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x4df130]
xor edx, dword [eax]
mov ecx, dword [ebp - 0x30]
shr ecx, 0x10
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x34], edx
movzx edx, cl
mov ecx, dword [ebp - 0x2c]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x4de130]
xor edx, dword [ecx*4 + 0x4ded30]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x4ddd30]
mov ecx, dword [ebp - 0x38]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x4df130]
xor edx, dword [eax + 4]
mov ecx, dword [ebp - 0x30]
shr ecx, 8
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x14], edx
movzx edx, cl
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
mov ebx, dword [edx*4 + 0x4ded30]
mov edx, dword [ebp - 0x38]
xor ebx, dword [ecx*4 + 0x4de130]
mov ecx, edx
shr ecx, 0x18
shr edx, 0x10
movzx edx, dl
xor ebx, dword [ecx*4 + 0x4ddd30]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [edx*4 + 0x4de130]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x4df130]
mov ecx, dword [ebp - 0x44]
xor ebx, dword [eax + 8]
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x48], ebx
xor edx, dword [ecx*4 + 0x4ded30]
mov ecx, dword [ebp - 0x2c]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x4ddd30]
mov ecx, dword [ebp - 0x30]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x4df130]
xor edx, dword [eax + 0xc]
mov ecx, edx
mov dword [ebp - 0x40], edx
shr ecx, 0x18
mov dword [ebp - 0xc], edx
movzx esi, byte [ecx + 0x4dd708]
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
shl esi, 8
movzx ecx, byte [ecx + 0x4dd708]
xor esi, ecx
mov ecx, dword [ebp - 0x3c]
shl esi, 8
shr ecx, 8
movzx ecx, cl
movzx ecx, byte [ecx + 0x4dd708]
xor esi, ecx
mov ecx, dword [ebp - 0x34]
movzx ecx, cl
shl esi, 8
movzx ecx, byte [ecx + 0x4dd708]
xor esi, ecx
mov ecx, edx
shr ecx, 0x10
movzx ecx, cl
xor esi, dword [eax + 0x10]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x44], esi
movzx edx, byte [ecx + 0x4dd708]
mov ecx, dword [ebp - 0x34]
shr ecx, 0x18
movzx ecx, byte [ecx + 0x4dd708]
shl ecx, 8
xor edx, ecx
mov ecx, ebx
shr ecx, 8
mov ebx, dword [ebp - 0x3c]
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x4dd708]
xor edx, ecx
movzx ecx, bl
shl edx, 8
movzx ecx, byte [ecx + 0x4dd708]
xor edx, ecx
mov ecx, ebx
xor edx, dword [eax + 0x14]
shr ecx, 0x18
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x48]
movzx ebx, byte [ecx + 0x4dd708]
mov ecx, dword [ebp - 0x34]
shr ecx, 0x10
movzx ecx, cl
shl ebx, 8
movzx ecx, byte [ecx + 0x4dd708]
xor ebx, ecx
mov ecx, dword [ebp - 0x40]
shr ecx, 8
movzx ecx, cl
shl ebx, 8
movzx ecx, byte [ecx + 0x4dd708]
xor ebx, ecx
movzx ecx, dl
shr edx, 0x18
shl ebx, 8
movzx ecx, byte [ecx + 0x4dd708]
movzx edx, byte [edx + 0x4dd708]
xor ebx, ecx
mov ecx, dword [ebp - 0x3c]
shr ecx, 0x10
xor ebx, dword [eax + 0x18]
movzx ecx, cl
shl edx, 8
mov dword [ebp - 0x20], ebx
movzx ecx, byte [ecx + 0x4dd708]
xor edx, ecx
mov ecx, dword [ebp - 0x34]
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x4dd708]
xor edx, ecx
mov ecx, dword [ebp - 0x40]
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x4dd708]
xor edx, ecx
mov ecx, esi
xor edx, dword [eax + 0x1c]
mov eax, ecx
mov esi, dword [ebp - 0x4c]
shr eax, 8
mov dword [ebp - 0x1c], edx
mov byte [esi], cl
mov byte [esi + 1], al
mov eax, ecx
mov byte [esi + 8], bl
shr eax, 0x10
mov byte [esi + 2], al
shr ecx, 0x18
mov byte [esi + 3], cl
mov ecx, dword [ebp - 0x30]
mov eax, ecx
shr eax, 8
mov byte [esi + 5], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 6], al
mov eax, ebx
shr eax, 8
mov byte [esi + 9], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 0xa], al
mov eax, edx
shr eax, 8
mov byte [esi + 0xd], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 0xe], al
lea eax, [ebp - 0x28]
push 0x20
mov byte [esi + 4], cl
mov byte [esi + 0xc], dl
push 0
shr ecx, 0x18
shr edx, 0x18
push eax
mov eax, dword [fcn.0048b170]
shr ebx, 0x18
mov byte [esi + 7], cl
mov byte [esi + 0xb], bl
mov byte [esi + 0xf], dl
call eax
mov ecx, dword [ebp - 8]
add esp, 0xc
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.004891fb
mov esp, ebp
pop ebp
ret