Function at 0x473958
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, word [eax]
shr eax, 8
mov edx, dword [ebp - 0x24]
mov dx, word [edx]
shl edx, 8
or ax, dx
mov word [ebp - 0x12], ax
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, word [eax]
shr eax, 8
mov edx, dword [ebp - 0x24]
mov dx, word [edx]
shl edx, 8
or ax, dx
mov word [ebp - 0x14], ax
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, word [eax]
shr eax, 8
mov edx, dword [ebp - 0x24]
mov dx, word [edx]
shl edx, 8
or ax, dx
mov word [ebp - 0x16], ax
mov eax, dword [ebp - 4]
add eax, 6
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, word [eax]
shr eax, 8
mov edx, dword [ebp - 0x24]
mov dx, word [edx]
shl edx, 8
or ax, dx
mov word [ebp - 0x18], ax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
mov dx, word [eax]
mov ax, word [ebp - 0x12]
call fcn.004735b8
mov word [ebp - 0x12], ax
mov eax, dword [ebp - 0x20]
mov ax, word [eax + 2]
add word [ebp - 0x14], ax
mov eax, dword [ebp - 0x20]
mov ax, word [eax + 4]
add word [ebp - 0x16], ax
mov eax, dword [ebp - 0x20]
mov dx, word [eax + 6]
mov ax, word [ebp - 0x18]
call fcn.004735b8
mov word [ebp - 0x18], ax
mov ax, word [ebp - 0x16]
mov word [ebp - 0x1c], ax
mov ax, word [ebp - 0x16]
xor ax, word [ebp - 0x12]
mov edx, dword [ebp - 0x20]
mov dx, word [edx + 8]
call fcn.004735b8
mov word [ebp - 0x16], ax
mov ax, word [ebp - 0x14]
mov word [ebp - 0x1a], ax
mov ax, word [ebp - 0x14]
xor ax, word [ebp - 0x18]
add ax, word [ebp - 0x16]
mov edx, dword [ebp - 0x20]
mov dx, word [edx + 0xa]
call fcn.004735b8
mov word [ebp - 0x14], ax
mov ax, word [ebp - 0x14]
add word [ebp - 0x16], ax
mov ax, word [ebp - 0x14]
xor word [ebp - 0x12], ax
mov ax, word [ebp - 0x16]
xor word [ebp - 0x18], ax
mov ax, word [ebp - 0x1c]
xor word [ebp - 0x14], ax
mov ax, word [ebp - 0x1a]
xor word [ebp - 0x16], ax
add dword [ebp - 0x20], 0xc
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 8
jne 0x4739f7
mov eax, dword [ebp - 0x20]
mov dx, word [eax]
mov ax, word [ebp - 0x12]
call fcn.004735b8
mov word [ebp - 0x12], ax
mov eax, dword [ebp - 0x20]
mov ax, word [eax + 2]
add word [ebp - 0x16], ax
mov eax, dword [ebp - 0x20]
mov ax, word [eax + 4]
add word [ebp - 0x14], ax
mov eax, dword [ebp - 0x20]
mov dx, word [eax + 6]
mov ax, word [ebp - 0x18]
call fcn.004735b8
mov word [ebp - 0x18], ax
movzx eax, word [ebp - 0x12]
shr eax, 8
mov dx, word [ebp - 0x12]
shl edx, 8
or ax, dx
mov edx, dword [ebp - 0xc]
mov word [edx], ax
movzx eax, word [ebp - 0x16]
shr eax, 8
mov dx, word [ebp - 0x16]
shl edx, 8
or ax, dx
mov edx, dword [ebp - 0xc]
add edx, 2
mov word [edx], ax
movzx eax, word [ebp - 0x14]
shr eax, 8
mov dx, word [ebp - 0x14]
shl edx, 8
or ax, dx
mov edx, dword [ebp - 0xc]
add edx, 4
mov word [edx], ax
movzx eax, word [ebp - 0x18]
shr eax, 8
mov dx, word [ebp - 0x18]
shl edx, 8
or ax, dx
mov edx, dword [ebp - 0xc]
add edx, 6
mov word [edx], ax
mov esp, ebp
pop ebp
ret