Function at 0x4d4df0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
mov edx, dword [ebx + 0x10]
mov edi, dword [ebx + 8]
movzx esi, byte [edx]
movzx eax, byte [edx + 1]
shl esi, 8
or esi, eax
movzx eax, byte [edx + 2]
shl esi, 8
or esi, eax
movzx eax, byte [edx + 3]
shl esi, 8
or esi, eax
mov dword [edi], esi
mov edx, dword [ebx + 0x10]
movzx ecx, byte [edx + 4]
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 8
or ecx, eax
mov dword [edi + 4], ecx
mov edx, dword [ebx + 0x10]
movzx ecx, byte [edx + 8]
movzx eax, byte [edx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xb]
shl ecx, 8
or ecx, eax
mov dword [edi + 8], ecx
mov edx, dword [ebx + 0x10]
movzx ecx, byte [edx + 0xc]
movzx eax, byte [edx + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xf]
shl ecx, 8
or ecx, eax
mov dword [edi + 0xc], ecx
mov edx, dword [ebx + 0x10]
movzx ecx, byte [edx + 0x10]
movzx eax, byte [edx + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x13]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x10], ecx
mov edx, dword [ebx + 0x10]
movzx ecx, byte [edx + 0x14]
movzx eax, byte [edx + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x17]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x14], ecx
mov edx, dword [ebx + 0x10]
movzx ecx, byte [edx + 0x18]
movzx eax, byte [edx + 0x19]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1a]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1b]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x18], ecx
mov edx, dword [ebx + 0x10]
movzx eax, byte [edx + 0x1c]
movzx ecx, byte [edx + 0x1d]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 0x1e]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1f]
shl ecx, 8
or ecx, eax
mov eax, ecx
mov dword [edi + 0x1c], ecx
shr eax, 0x10
and eax, 0xff
mov edx, dword [eax*4 + str.ccccwwww]
mov eax, ecx
shr eax, 8
xor edx, 0x1000000
and eax, 0xff
and edx, 0xff000000
mov eax, dword [eax*4 + str.ccccwwww]
and eax, 0xff0000
xor edx, eax
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax*4 + str.ccccwwww]
xor edx, eax
movzx eax, cl
mov ecx, dword [edi + 8]
mov eax, dword [eax*4 + str.ccccwwww]
and eax, 0xff00
xor edx, eax
mov eax, dword [edi + 4]
xor edx, esi
xor eax, edx
mov dword [edi + 0x20], edx
mov dword [edi + 0x24], eax
xor ecx, eax
mov eax, dword [edi + 0xc]
xor eax, ecx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x30]
mov edi, 0x58c1f0
lea esp, [esp]
mov edx, dword [eax - 4]
lea eax, [eax + 0x20]
mov ecx, edx
add edi, 4
shr ecx, 0x10
and ecx, 0xff
mov esi, dword [ecx*4 + str.ccccwwww]
mov ecx, edx
shr ecx, 8
and esi, 0xff0000
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff00
xor esi, ecx
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff000000
xor esi, ecx
movzx ecx, dl
mov edx, dword [eax - 0x38]
movzx ecx, byte [ecx*4 + str.ccccwwww]
xor esi, ecx
mov ecx, dword [eax - 0x3c]
xor esi, dword [eax - 0x40]
xor ecx, esi
mov dword [eax - 0x20], esi
mov dword [eax - 0x1c], ecx
xor edx, ecx
mov ecx, dword [eax - 0x34]
xor ecx, edx
mov dword [eax - 0x18], edx
mov dword [eax - 0x14], ecx
mov edx, dword [eax - 0x14]
mov ecx, edx
shr ecx, 8
and ecx, 0xff
mov esi, dword [ecx*4 + str.ccccwwww]
mov ecx, edx
shr ecx, 0x10
and esi, 0xff0000
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff000000
xor esi, ecx
mov ecx, edx
shr ecx, 0x18
movzx ecx, byte [ecx*4 + str.ccccwwww]
xor esi, ecx
movzx ecx, dl
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff00
xor esi, ecx
xor esi, dword [eax - 0x30]
xor esi, dword [edi]
mov dword [eax - 0x10], esi
mov ecx, dword [eax - 0x2c]
xor ecx, esi
mov dword [eax - 0xc], ecx
mov edx, dword [eax - 0x28]
xor edx, ecx
mov dword [eax - 8], edx
mov ecx, dword [eax - 0x24]
xor ecx, edx
mov dword [eax - 4], ecx
cmp edi, 0x58c208
jne 0x4d4fa0
push 0xf0
push dword [ebx + 8]
mov edi, 0x38
push 0xf0
push dword [ebx + 0xc]
call dword [sym.imp.MSVCR120.dll_memcpy_s]
mov eax, dword [ebx + 0xc]
add esp, 0x10
mov dword [ebp - 4], eax
xor ebx, ebx
lea edx, [eax + 0xe8]
lea esi, [eax + 8]
jmp 0x4d50d0
mov ecx, dword [esi - 8]
lea esi, [esi + 0x10]
mov eax, dword [edx - 8]
lea edx, [edx - 0x10]
mov dword [esi - 0x18], eax
add ebx, 4
mov eax, dword [edx + 0xc]
sub edi, 4
mov dword [edx + 8], ecx
mov ecx, dword [esi - 0x14]
mov dword [esi - 0x14], eax
mov eax, dword [edx + 0x10]
mov dword [edx + 0xc], ecx
mov ecx, dword [esi - 0x10]
mov dword [esi - 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [edx + 0x10], ecx
mov ecx, dword [esi - 0xc]
mov dword [esi - 0xc], eax
mov dword [edx + 0x14], ecx
cmp ebx, edi
jl 0x4d50d0
mov esi, dword [ebp - 4]
mov edi, 0xd
add esi, 2
jmp 0x4d5120
mov edx, dword [esi + 0xe]
lea esi, [esi + 0x10]
mov eax, edx
shr eax, 0x18
movzx ecx, byte [eax*4 + str.ccccwwww]
movzx eax, byte [esi - 1]
mov ecx, dword [ecx*4 + 0x58c220]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x58ca20]
movzx eax, byte [esi]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x58ce20]
movzx eax, dl
mov edx, dword [esi + 2]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x58bdd0]
mov eax, edx
shr eax, 0x18
mov dword [esi - 2], ecx
movzx ecx, byte [eax*4 + str.ccccwwww]
movzx eax, byte [esi + 3]
mov ecx, dword [ecx*4 + 0x58c220]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x58ca20]
movzx eax, byte [esi + 4]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x58ce20]
movzx eax, dl
mov edx, dword [esi + 6]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x58bdd0]
mov eax, edx
shr eax, 0x18
mov dword [esi + 2], ecx
movzx ecx, byte [eax*4 + str.ccccwwww]
movzx eax, byte [esi + 7]
mov ecx, dword [ecx*4 + 0x58c220]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x58ca20]
movzx eax, byte [esi + 8]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x58ce20]
movzx eax, dl
mov edx, dword [esi + 0xa]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x58bdd0]
mov eax, edx
shr eax, 0x18
mov dword [esi + 6], ecx
movzx ecx, byte [eax*4 + str.ccccwwww]
movzx eax, byte [esi + 0xb]
mov ecx, dword [ecx*4 + 0x58c220]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x58ca20]
movzx eax, byte [esi + 0xc]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x58ce20]
movzx eax, dl
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x58bdd0]
mov dword [esi + 0xa], ecx
dec edi
jne 0x4d5120
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret