Function at 0x4f43f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
mov eax, dword [0x65d4e4]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push ebx
mov dword [esp + 0xc], eax
mov eax, dword [0x663c4c]
add eax, 1
cmp eax, 1
push ebp
mov ebx, ecx
push edi
mov dword [esp + 0xc], ebx
mov edi, edx
mov dword [0x663c4c], eax
jne 0x4f4438
push 0
call fcn.005b2b63
xor eax, 0xbb40e64e
push eax
call fcn.005b9631
add esp, 8
mov edx, esi
mov eax, ebx
call fcn.004f4380
mov dword [esp + 0x10], 0
lea esp, [esp]
call fcn.005b963e
mov edx, dword [esi]
mov ebx, edx
sar eax, 7
and eax, 0xff
mov ecx, dword [esi + 8]
xor ebx, eax
shr edx, 8
and ebx, 0xff
mov ebx, dword [edi + ebx*4]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov ebp, ecx
imul edx, edx, 0x8088405
add edx, 1
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
shr ecx, 8
and edx, 0xff
and ebp, 0xfffd
mov dword [esi], ebx
xor ecx, dword [edi + edx*4]
or ebp, 2
mov dword [esi + 8], ecx
mov ecx, ebp
xor ecx, 1
imul ecx, ebp
shr ecx, 8
xor cl, al
mov eax, dword [esp + 0x10]
mov byte [esp + eax + 0x18], cl
add eax, 1
cmp eax, 0xa
mov dword [esp + 0x10], eax
jl 0x4f4450
mov eax, dword [esp + 0xc]
mov edx, esi
call fcn.004f4380
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
xor eax, eax
sub ecx, edx
mov dword [esp + 0xc], ecx
mov edx, dword [esi]
movzx ebx, byte [esp + eax + 0x18]
xor ebx, edx
shr edx, 8
and ebx, 0xff
mov ebx, dword [edi + ebx*4]
xor ebx, edx
mov ecx, dword [esi + 8]
movzx edx, bl
add edx, dword [esi + 4]
mov ebp, ecx
imul edx, edx, 0x8088405
add edx, 1
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
mov dword [esi], ebx
shr ecx, 8
xor ecx, dword [edi + edx*4]
mov edx, dword [esp + 0xc]
mov dword [esi + 8], ecx
movzx ebx, byte [esp + eax + 0x19]
and ebp, 0xfffd
or ebp, 2
mov ecx, ebp
xor ecx, 1
imul ecx, ebp
add edx, eax
shr ecx, 8
xor cl, byte [esp + eax + 0x18]
mov byte [esp + edx + 0x18], cl
mov edx, dword [esi]
xor ebx, edx
shr edx, 8
mov ecx, dword [esi + 8]
and ebx, 0xff
mov ebx, dword [edi + ebx*4]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov ebp, ecx
imul edx, edx, 0x8088405
add edx, 1
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
mov dword [esi], ebx
shr ecx, 8
xor ecx, dword [edi + edx*4]
mov edx, dword [esp + 0x14]
movzx ebx, byte [esp + eax + 0x1a]
and ebp, 0xfffd
mov dword [esi + 8], ecx
or ebp, 2
mov ecx, ebp
xor ecx, 1
imul ecx, ebp
shr ecx, 8
xor cl, byte [esp + eax + 0x19]
mov byte [edx + eax + 1], cl
mov edx, dword [esi]
xor ebx, edx
mov ecx, dword [esi + 8]
shr edx, 8
and ebx, 0xff
mov ebx, dword [edi + ebx*4]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov ebp, ecx
imul edx, edx, 0x8088405
add edx, 1
mov dword [esi + 4], edx
shr edx, 0x18
and ebp, 0xfffd
xor edx, ecx
or ebp, 2
mov dword [esi], ebx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edi + edx*4]
mov edx, dword [esp + 0x14]
mov dword [esi + 8], ecx
movzx ebx, byte [esp + eax + 0x1b]
mov ecx, ebp
xor ecx, 1
imul ecx, ebp
shr ecx, 8
xor cl, byte [esp + eax + 0x1a]
add eax, 5
mov byte [edx + eax - 3], cl
mov edx, dword [esi]
xor ebx, edx
shr edx, 8
mov ecx, dword [esi + 8]
and ebx, 0xff
mov ebx, dword [edi + ebx*4]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov ebp, ecx
imul edx, edx, 0x8088405
add edx, 1
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
shr ecx, 8
and edx, 0xff
mov dword [esi], ebx
xor ecx, dword [edi + edx*4]
mov edx, dword [esp + 0x14]
mov dword [esi + 8], ecx
movzx ebx, byte [esp + eax + 0x17]
and ebp, 0xfffd
or ebp, 2
mov ecx, ebp
xor ecx, 1
imul ecx, ebp
shr ecx, 8
xor cl, byte [esp + eax + 0x16]
mov byte [edx + eax - 2], cl
mov edx, dword [esi]
xor ebx, edx
mov ecx, dword [esi + 8]
shr edx, 8
and ebx, 0xff
mov ebx, dword [edi + ebx*4]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov ebp, ecx
imul edx, edx, 0x8088405
add edx, 1
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
shr ecx, 8
and edx, 0xff
and ebp, 0xfffd
mov dword [esi], ebx
xor ecx, dword [edi + edx*4]
or ebp, 2
mov dword [esi + 8], ecx
mov ecx, ebp
xor ecx, 1
imul ecx, ebp
mov ebp, dword [esp + 0x14]
shr ecx, 8
xor cl, byte [esp + eax + 0x17]
cmp eax, 0xa
mov byte [eax + ebp - 1], cl
jl 0x4f44e3
mov ecx, dword [esi + 8]
mov ebx, dword [esp + 0x30]
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov dword [esp + 0xc], edx
mov edx, dword [esi]
shr ebx, 0x10
mov dword [esp + 0x10], ebx
xor ebx, edx
shr edx, 8
and ebx, 0xff
mov ebx, dword [edi + ebx*4]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
add edx, 1
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edi + edx*4]
mov ebx, dword [esp + 0x30]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0xc]
mov edx, ecx
xor edx, 1
imul edx, ecx
shr edx, 8
xor dl, byte [esp + 0x10]
shr ebx, 0x18
mov byte [eax + ebp], dl
mov ecx, dword [esi + 8]
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov dword [esp + 0xc], edx
mov edx, dword [esi]
mov dword [esp + 0x10], ebx
xor ebx, edx
shr edx, 8
and ebx, 0xff
mov ebx, dword [edi + ebx*4]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
add edx, 1
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edi + edx*4]
add eax, 1
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0xc]
mov edx, ecx
xor edx, 1
imul edx, ecx
mov ecx, dword [esp + 0x24]
shr edx, 8
xor dl, byte [esp + 0x10]
pop edi
mov byte [eax + ebp], dl
pop ebp
pop ebx
xor ecx, esp
add eax, 1
call fcn.005b1988
add esp, 0x1c
ret