Function at 0x47ce90
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 - 0x44], 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 - 0x3c], ecx
mov dword [ebp - 0x28], 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 - 0x2c], ecx
mov dword [ebp - 0x24], 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 - 0x30], ecx
mov dword [ebp - 0x20], 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 dword [ebp - 0x1c], edx
mov ecx, dword [eax + 0xc]
add eax, 0x10
xor ecx, edx
mov edx, ecx
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x1c], edx
mov ecx, dword [ecx]
sar ecx, 1
dec ecx
mov dword [ebp - 0x44], ecx
test ecx, ecx
jle 0x47d1a0
nop dword [eax]
mov ecx, edx
mov ebx, dword [ebp - 0x3c]
shr ecx, 8
movzx edx, cl
mov ecx, dword [ebp - 0x30]
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x4de530]
mov esi, dword [ebp - 0x2c]
shr esi, 0x18
xor edx, dword [ecx*4 + 0x4df530]
movzx ecx, bl
xor edx, dword [esi*4 + 0x4dd808]
xor edx, dword [ecx*4 + 0x4de930]
xor edx, dword [eax]
mov ecx, dword [ebp - 0x38]
shr ecx, 0x10
mov dword [ebp - 0x34], edx
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x4df530]
xor edx, dword [ecx*4 + 0x4de530]
mov ecx, dword [ebp - 0x30]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x4dd808]
mov ecx, dword [ebp - 0x2c]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x4de930]
xor edx, dword [eax + 4]
mov ecx, dword [ebp - 0x2c]
shr ecx, 8
mov dword [ebp - 0x40], edx
movzx edx, cl
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
mov ebx, dword [ebp - 0x30]
mov edx, dword [edx*4 + 0x4de530]
xor edx, dword [ecx*4 + 0x4df530]
mov ecx, dword [ebp - 0x38]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x4dd808]
movzx ecx, bl
shr ebx, 8
xor edx, dword [ecx*4 + 0x4de930]
xor edx, dword [eax + 8]
mov ecx, dword [ebp - 0x2c]
shr ecx, 0x10
movzx ecx, cl
mov dword [ebp - 0x48], edx
movzx edx, bl
mov ebx, dword [edx*4 + 0x4de530]
xor ebx, dword [ecx*4 + 0x4df530]
mov ecx, dword [ebp - 0x3c]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x4dd808]
mov ecx, dword [ebp - 0x38]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x4de930]
xor ebx, dword [eax + 0xc]
mov ecx, ebx
shr ecx, 8
movzx edx, cl
mov ecx, dword [ebp - 0x48]
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x4de530]
xor edx, dword [ecx*4 + 0x4df530]
mov ecx, dword [ebp - 0x40]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x4dd808]
mov ecx, dword [ebp - 0x34]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x4de930]
mov ecx, ebx
xor edx, dword [eax + 0x10]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x28], edx
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [ebp - 0x34]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x4df530]
xor edx, dword [ecx*4 + 0x4de530]
mov ecx, dword [ebp - 0x48]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x4dd808]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x2c]
movzx ecx, dl
xor esi, dword [ecx*4 + 0x4de930]
mov ecx, esi
mov dword [ebp - 0x2c], esi
xor ecx, dword [eax + 0x14]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], ecx
mov ecx, edx
shr ecx, 8
movzx edx, cl
mov ecx, dword [ebp - 0x34]
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x4de530]
xor edx, dword [ecx*4 + 0x4df530]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x4dd808]
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x30]
movzx ecx, dl
shr edx, 8
movzx edx, dl
xor edi, dword [ecx*4 + 0x4de930]
mov ecx, edi
mov dword [ebp - 0x30], edi
xor ecx, dword [eax + 0x18]
mov edx, dword [edx*4 + 0x4de530]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x40]
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x4df530]
mov ecx, dword [ebp - 0x34]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x4dd808]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x4de930]
xor edx, dword [eax + 0x1c]
add eax, 0x20
mov ecx, dword [ebp - 0x44]
dec ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x44], ecx
test ecx, ecx
jg 0x47cf80
mov ecx, edx
mov ebx, dword [ebp - 0x3c]
shr ecx, 8
movzx edx, cl
mov ecx, dword [ebp - 0x30]
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x4de530]
xor edx, dword [ecx*4 + 0x4df530]
mov ecx, dword [ebp - 0x2c]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x4dd808]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x4de930]
xor edx, dword [eax]
mov ecx, dword [ebp - 0x38]
shr ecx, 0x10
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x34], edx
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x4df530]
xor edx, dword [ecx*4 + 0x4de530]
mov ecx, dword [ebp - 0x30]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x4dd808]
mov ecx, dword [ebp - 0x2c]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x4de930]
xor edx, dword [eax + 4]
mov ecx, dword [ebp - 0x2c]
shr ecx, 8
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x14], edx
movzx edx, cl
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
mov ebx, dword [ebp - 0x30]
mov edx, dword [edx*4 + 0x4de530]
xor edx, dword [ecx*4 + 0x4df530]
mov ecx, dword [ebp - 0x38]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x4dd808]
movzx ecx, bl
shr ebx, 8
xor edx, dword [ecx*4 + 0x4de930]
xor edx, dword [eax + 8]
mov ecx, dword [ebp - 0x2c]
shr ecx, 0x10
movzx ecx, cl
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x10], edx
movzx edx, bl
mov ebx, dword [edx*4 + 0x4de530]
xor ebx, dword [ecx*4 + 0x4df530]
mov ecx, dword [ebp - 0x3c]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x4dd808]
mov ecx, dword [ebp - 0x38]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x4de930]
mov ecx, dword [ebp - 0x30]
xor ebx, dword [eax + 0xc]
shr ecx, 0x10
movzx ecx, cl
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0xc], ebx
movzx edx, byte [ecx + 0x4ddc08]
mov ecx, dword [ebp - 0x40]
shr ecx, 0x18
movzx ecx, byte [ecx + 0x4ddc08]
shl ecx, 8
xor edx, ecx
mov ecx, ebx
shl edx, 8
shr ecx, 8
movzx ecx, cl
movzx ecx, byte [ecx + 0x4ddc08]
xor edx, ecx
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x34]
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x4ddc08]
xor edx, ecx
mov ecx, dword [ebp - 0x30]
xor edx, dword [eax + 0x10]
shr ecx, 0x18
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x28], edx
movzx edx, byte [ecx + 0x4ddc08]
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x4ddc08]
xor edx, ecx
mov ecx, dword [ebp - 0x34]
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x4ddc08]
xor edx, ecx
mov ecx, dword [ebp - 0x40]
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x4ddc08]
xor edx, ecx
mov ecx, dword [ebp - 0x34]
xor edx, dword [eax + 0x14]
shr ecx, 0x10
movzx ecx, cl
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x40]
movzx ebx, byte [ecx + 0x4ddc08]
mov ecx, dword [ebp - 0x44]
shr ecx, 0x18
movzx ecx, byte [ecx + 0x4ddc08]
shl ecx, 8
xor ebx, ecx
mov ecx, edx
shr ecx, 8
movzx ecx, cl
shl ebx, 8
shr edx, 0x10
movzx ecx, byte [ecx + 0x4ddc08]
xor ebx, ecx
mov ecx, dword [ebp - 0x30]
movzx ecx, cl
shl ebx, 8
movzx ecx, byte [ecx + 0x4ddc08]
xor ebx, ecx
movzx ecx, dl
xor ebx, dword [eax + 0x18]
mov dword [ebp - 0x20], ebx
movzx edx, byte [ecx + 0x4ddc08]
mov ecx, dword [ebp - 0x34]
shr ecx, 0x18
movzx ecx, byte [ecx + 0x4ddc08]
shl ecx, 8
xor edx, ecx
mov ecx, dword [ebp - 0x30]
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x4ddc08]
xor edx, ecx
mov ecx, dword [ebp - 0x44]
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x4ddc08]
xor edx, ecx
mov ecx, dword [ebp - 0x48]
xor edx, dword [eax + 0x1c]
mov eax, ecx
mov dword [ebp - 0x1c], edx
mov byte [esi], cl
shr eax, 8
mov byte [esi + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 2], al
shr ecx, 0x18
mov byte [esi + 3], cl
mov ecx, dword [ebp - 0x3c]
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 + 8], bl
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