Function at 0x4a5610
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov edx, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0x14]
movzx ebx, byte [edx + 3]
movzx ecx, byte [edx + 7]
push edi
movzx edi, byte [esi + 3]
movzx eax, byte [esi + 2]
shl edi, 8
or edi, eax
shl ecx, 8
movzx eax, byte [esi + 1]
shl edi, 8
or edi, eax
shl ebx, 8
movzx eax, byte [esi]
shl edi, 8
or edi, eax
movzx eax, byte [edx + 2]
or ebx, eax
mov dword [ebp - 0x30], edi
movzx eax, byte [edx + 1]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 6]
or ecx, eax
mov dword [ebp - 0x34], ebx
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xa]
mov dword [ebp - 0x2c], ecx
movzx ecx, byte [edx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xe]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x38], ecx
movzx ecx, byte [edx + 0xf]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xc]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 6]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x3c], ecx
movzx ecx, byte [esi + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 4]
shl ecx, 8
or ecx, eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ecx + 3]
shl eax, 8
mov dword [ebp + 0x10], eax
movzx eax, byte [ecx + 2]
or dword [ebp + 0x10], eax
shl dword [ebp + 0x10], 8
movzx eax, byte [ecx + 1]
or dword [ebp + 0x10], eax
movzx eax, byte [ecx]
shl dword [ebp + 0x10], 8
or dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
movzx eax, byte [ecx + 7]
shl eax, 8
mov dword [ebp + 0x14], eax
movzx eax, byte [ecx + 6]
or dword [ebp + 0x14], eax
movzx eax, byte [ecx + 5]
shl dword [ebp + 0x14], 8
or dword [ebp + 0x14], eax
movzx eax, byte [ecx + 4]
shl dword [ebp + 0x14], 8
or dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
movzx eax, byte [ecx + 0xb]
shl eax, 8
mov dword [ebp - 4], eax
movzx eax, byte [ecx + 0xa]
or dword [ebp - 4], eax
movzx eax, byte [ecx + 9]
shl dword [ebp - 4], 8
or dword [ebp - 4], eax
movzx eax, byte [ecx + 8]
shl dword [ebp - 4], 8
or dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x4c], eax
movzx eax, byte [ecx + 0xf]
shl eax, 8
mov dword [ebp + 0xc], eax
movzx eax, byte [ecx + 0xe]
or dword [ebp + 0xc], eax
movzx eax, byte [ecx + 0xd]
shl dword [ebp + 0xc], 8
or dword [ebp + 0xc], eax
movzx eax, byte [ecx + 0xc]
shl dword [ebp + 0xc], 8
mov ecx, dword [ebp + 0xc]
or ecx, eax
movzx eax, byte [esi + 0xa]
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0x50], ecx
movzx ecx, byte [esi + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x12]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x54], ecx
movzx ecx, byte [edx + 0x13]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x10]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x16]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x58], ecx
movzx ecx, byte [edx + 0x17]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x14]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1a]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x5c], ecx
movzx ecx, byte [edx + 0x1b]
shl ecx, 8
or ecx, eax
mov dword [ebp - 0x28], 0xa
movzx eax, byte [edx + 0x19]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x18]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1e]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x60], ecx
movzx ecx, byte [edx + 0x1f]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1d]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1c]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xf]
shl eax, 8
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x64], ecx
movzx ecx, byte [esi + 0xe]
or eax, ecx
movzx ecx, byte [esi + 0xd]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 0xc]
mov esi, dword [ebp - 0x2c]
shl eax, 8
or eax, ecx
mov dword [ebp - 0x68], eax
nop
mov ecx, dword [ebp - 0x1c]
add ecx, edi
mov edx, dword [ebp - 4]
rol ecx, 7
xor dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
add ecx, edi
rol ecx, 9
xor edx, ecx
mov ecx, dword [ebp - 8]
add ecx, edx
mov dword [ebp - 4], edx
rol ecx, 0xd
xor dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x1c]
add ecx, edx
mov edx, dword [ebp + 0xc]
ror ecx, 0xe
xor edi, ecx
mov ecx, dword [ebp - 0xc]
add ecx, ebx
rol ecx, 7
xor edx, ecx
mov ecx, dword [ebp - 0xc]
add ecx, edx
mov dword [ebp + 0xc], edx
rol ecx, 9
xor dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, edx
mov edx, dword [ebp - 0x20]
rol ecx, 0xd
xor ebx, ecx
mov ecx, dword [ebp - 0x10]
add ecx, ebx
ror ecx, 0xe
xor dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp + 0x10]
rol ecx, 7
xor edx, ecx
mov ecx, dword [ebp - 0x14]
add ecx, edx
mov dword [ebp - 0x20], edx
rol ecx, 9
xor esi, ecx
mov ecx, edx
mov edx, dword [ebp + 0x10]
add ecx, esi
rol ecx, 0xd
xor edx, ecx
mov dword [ebp + 0x10], edx
lea ecx, [edx + esi]
mov edx, dword [ebp - 0x24]
ror ecx, 0xe
xor dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x18]
add ecx, eax
rol ecx, 7
xor edx, ecx
mov dword [ebp - 0x24], edx
lea ecx, [eax + edx]
rol ecx, 9
xor dword [ebp + 0x14], ecx
mov ecx, dword [ebp + 0x14]
add ecx, edx
mov edx, dword [ebp - 0x18]
rol ecx, 0xd
xor edx, ecx
mov ecx, dword [ebp + 0x14]
add ecx, edx
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x24]
ror ecx, 0xe
xor eax, ecx
lea ecx, [edx + edi]
rol ecx, 7
xor ebx, ecx
lea ecx, [ebx + edi]
rol ecx, 9
xor esi, ecx
lea ecx, [esi + ebx]
rol ecx, 0xd
xor edx, ecx
mov dword [ebp - 0x24], edx
lea ecx, [edx + esi]
mov edx, dword [ebp + 0x10]
ror ecx, 0xe
xor edi, ecx
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0xc]
rol ecx, 7
xor edx, ecx
mov ecx, dword [ebp - 0xc]
add ecx, edx
mov dword [ebp + 0x10], edx
rol ecx, 9
xor dword [ebp + 0x14], ecx
mov ecx, dword [ebp + 0x14]
add ecx, edx
mov edx, dword [ebp - 4]
rol ecx, 0xd
xor dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
add ecx, dword [ebp + 0x14]
ror ecx, 0xe
xor dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x14]
rol ecx, 7
xor dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x14]
rol ecx, 9
xor edx, ecx
mov ecx, dword [ebp - 0x18]
add ecx, edx
mov dword [ebp - 4], edx
rol ecx, 0xd
xor dword [ebp + 0xc], ecx
mov ecx, dword [ebp + 0xc]
add ecx, edx
mov edx, dword [ebp - 0x1c]
ror ecx, 0xe
xor dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x20]
add ecx, eax
rol ecx, 7
xor edx, ecx
mov dword [ebp - 0x1c], edx
lea ecx, [eax + edx]
rol ecx, 9
xor dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, edx
mov edx, dword [ebp - 0x20]
rol ecx, 0xd
xor edx, ecx
mov ecx, dword [ebp - 0x10]
add ecx, edx
mov dword [ebp - 0x20], edx
ror ecx, 0xe
xor eax, ecx
sub dword [ebp - 0x28], 1
jne 0x4a5890
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x30]
add ecx, edi
mov byte [edx], cl
shr ecx, 8
mov byte [edx + 1], cl
shr ecx, 8
mov byte [edx + 2], cl
shr ecx, 8
mov byte [edx + 3], cl
mov ecx, dword [ebp - 0x34]
add ecx, ebx
mov byte [edx + 4], cl
shr ecx, 8
mov byte [edx + 5], cl
shr ecx, 8
mov byte [edx + 6], cl
shr ecx, 8
mov byte [edx + 7], cl
mov ecx, dword [ebp - 0x2c]
add ecx, esi
mov byte [edx + 8], cl
shr ecx, 8
mov byte [edx + 9], cl
shr ecx, 8
mov byte [edx + 0xa], cl
shr ecx, 8
mov byte [edx + 0xb], cl
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x38]
mov byte [edx + 0xc], cl
shr ecx, 8
mov byte [edx + 0xd], cl
shr ecx, 8
mov byte [edx + 0xe], cl
shr ecx, 8
mov byte [edx + 0xf], cl
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x3c]
mov byte [edx + 0x10], cl
shr ecx, 8
mov byte [edx + 0x11], cl
shr ecx, 8
mov byte [edx + 0x12], cl
shr ecx, 8
mov byte [edx + 0x13], cl
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x40]
mov byte [edx + 0x14], cl
shr ecx, 8
mov byte [edx + 0x15], cl
shr ecx, 8
mov byte [edx + 0x16], cl
shr ecx, 8
mov byte [edx + 0x17], cl
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 0x44]
mov byte [edx + 0x18], cl
shr ecx, 8
mov byte [edx + 0x19], cl
shr ecx, 8
mov byte [edx + 0x1a], cl
shr ecx, 8
mov byte [edx + 0x1b], cl
mov ecx, dword [ebp + 0x14]
add ecx, dword [ebp - 0x48]
mov byte [edx + 0x1c], cl
shr ecx, 8
mov byte [edx + 0x1d], cl
shr ecx, 8
mov byte [edx + 0x1e], cl
shr ecx, 8
mov byte [edx + 0x1f], cl
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x4c]
mov byte [edx + 0x20], cl
shr ecx, 8
mov byte [edx + 0x21], cl
shr ecx, 8
mov byte [edx + 0x22], cl
shr ecx, 8
mov byte [edx + 0x23], cl
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x50]
mov byte [edx + 0x24], cl
shr ecx, 8
mov byte [edx + 0x25], cl
shr ecx, 8
mov byte [edx + 0x26], cl
shr ecx, 8
mov byte [edx + 0x27], cl
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x54]
mov byte [edx + 0x28], cl
shr ecx, 8
mov byte [edx + 0x29], cl
shr ecx, 8
mov byte [edx + 0x2a], cl
shr ecx, 8
mov byte [edx + 0x2b], cl
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x58]
mov byte [edx + 0x2c], cl
shr ecx, 8
mov byte [edx + 0x2d], cl
shr ecx, 8
mov byte [edx + 0x2e], cl
shr ecx, 8
mov byte [edx + 0x2f], cl
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x5c]
mov byte [edx + 0x30], cl
shr ecx, 8
mov byte [edx + 0x31], cl
shr ecx, 8
mov byte [edx + 0x32], cl
shr ecx, 8
mov byte [edx + 0x33], cl
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x60]
mov byte [edx + 0x34], cl
add eax, dword [ebp - 0x68]
shr ecx, 8
mov byte [edx + 0x35], cl
shr ecx, 8
mov byte [edx + 0x36], cl
shr ecx, 8
mov byte [edx + 0x37], cl
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x64]
mov byte [edx + 0x38], cl
shr ecx, 8
mov byte [edx + 0x39], cl
shr ecx, 8
mov byte [edx + 0x3a], cl
shr ecx, 8
mov byte [edx + 0x3b], cl
mov byte [edx + 0x3c], al
shr eax, 8
mov byte [edx + 0x3d], al
shr eax, 8
mov byte [edx + 0x3e], al
pop edi
shr eax, 8
pop esi
mov byte [edx + 0x3f], al
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret