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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x569850
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5bf500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x74], edi
cmp byte [edi + 4], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
jne 0x4e4169
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4e40c0
call dword [sym.imp.KERNEL32.dll_DebugBreak]
sub esp, 0x18
xor edx, edx
mov ecx, esp
mov dword [ebp - 0x70], esp
mov eax, 0x16
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
cmp byte [str.Object_not_Initialized], dl
cmove eax, edx
push eax
push str.Object_not_Initialized
call fcn.004027f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.004e37c0
mov esi, eax
push esi
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 1
call fcn.0051fa77
mov byte [ebp - 4], 2
lea eax, [esi + 0xc]
push 0xffffffffffffffff
push 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push eax
mov dword [ebp - 0x34], vtable.encryptionerror.0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00402660
push 0x5bc210
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
push eax
call fcn.00524e20
mov esi, dword [ebp + 8]
movzx ebx, byte [esi]
movzx eax, byte [esi + 1]
movzx ecx, byte [esi + 5]
shl eax, 0x10
movzx edx, byte [esi + 8]
shl ebx, 0x18
or ebx, eax
shl ecx, 0x10
movzx eax, byte [esi + 2]
shl eax, 8
or ebx, eax
shl edx, 0x18
movzx eax, byte [esi + 3]
or ebx, eax
movzx eax, byte [esi + 4]
shl eax, 0x18
or eax, ecx
xor ebx, dword [edi + 8]
movzx ecx, byte [esi + 6]
shl ecx, 8
or eax, ecx
mov dword [ebp - 0x60], ebx
movzx ecx, byte [esi + 7]
or eax, ecx
movzx ecx, byte [esi + 9]
shl ecx, 0x10
or edx, ecx
xor eax, dword [edi + 0xc]
movzx ecx, byte [esi + 0xa]
shl ecx, 8
or edx, ecx
movzx ecx, byte [esi + 0xb]
or edx, ecx
movzx ecx, byte [esi + 0xd]
xor edx, dword [edi + 0x10]
mov dword [ebp - 0x64], edx
movzx edx, byte [esi + 0xc]
shl ecx, 0x10
shl edx, 0x18
or edx, ecx
movzx ecx, byte [esi + 0xe]
shl ecx, 8
mov dword [ebp - 0x5c], ecx
movzx ecx, byte [esi + 0xf]
or dword [ebp - 0x5c], ecx
or dword [ebp - 0x5c], edx
mov edx, dword [ebp - 0x5c]
xor edx, dword [edi + 0x14]
mov ecx, dword [edi + 0x3d0]
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x68], ecx
cmp ecx, 1
jle 0x4e435f
dec ecx
lea esi, [edi + 0x30]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x60], esi
sar ecx, 0x10
and ecx, 0xff
sar edx, 8
and edx, 0xff
mov edi, dword [edx*4 + 0x58a9b0]
xor edi, dword [ecx*4 + 0x58a1b0]
mov ecx, eax
sar ecx, 0x18
and ecx, 0xff
mov edx, dword [ebp - 0x5c]
sar edx, 0x10
and edx, 0xff
xor edi, dword [ecx*4 + 0x58b810]
movzx ecx, bl
xor edi, dword [ecx*4 + 0x589db0]
xor edi, dword [esi - 4]
mov ecx, dword [ebp - 0x64]
mov esi, dword [edx*4 + 0x58a1b0]
sar ecx, 0x18
and ecx, 0xff
mov edx, dword [ebp - 0x5c]
sar edx, 0x18
and edx, 0xff
xor esi, dword [ecx*4 + 0x58b810]
mov ecx, ebx
sar ecx, 8
and ecx, 0xff
mov edx, dword [edx*4 + 0x58b810]
xor esi, dword [ecx*4 + 0x58a9b0]
movzx ecx, al
xor esi, dword [ecx*4 + 0x589db0]
mov ecx, dword [ebp - 0x60]
xor esi, dword [ecx]
mov ecx, eax
sar ecx, 8
and ecx, 0xff
sar eax, 0x10
and eax, 0xff
xor edx, dword [ecx*4 + 0x58a9b0]
mov ecx, ebx
sar ecx, 0x10
and ecx, 0xff
sar ebx, 0x18
and ebx, 0xff
xor edx, dword [ecx*4 + 0x58a1b0]
mov ecx, dword [ebp - 0x64]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x589db0]
mov ecx, dword [ebp - 0x60]
xor edx, dword [ecx + 4]
mov ecx, dword [ebp - 0x64]
sar ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x58a9b0]
xor ecx, dword [eax*4 + 0x58a1b0]
mov eax, dword [ebp - 0x5c]
xor ecx, dword [ebx*4 + 0x58b810]
movzx eax, al
mov dword [ebp - 0x5c], edx
xor ecx, dword [eax*4 + 0x589db0]
mov eax, dword [ebp - 0x60]
xor ecx, dword [eax - 8]
mov eax, edi
mov ebx, ecx
mov ecx, esi
mov esi, dword [ebp - 0x60]
add esi, 0x20
mov dword [ebp - 0x64], ecx
dec dword [ebp - 0x6c]
mov dword [ebp - 0x60], esi
jne 0x4e4223
mov edi, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x60], ebx
shl ecx, 5
mov esi, dword [ebp - 0x70]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x60]
mov ebx, dword [ecx + edi + 8]
mov ecx, ebx
sar ecx, 0x18
sar edx, 0x18
and edx, 0xff
xor cl, byte [edx + 0x58b310]
mov edx, eax
mov byte [esi], cl
mov ecx, ebx
sar ecx, 0x10
sar edx, 0x10
and edx, 0xff
xor cl, byte [edx + 0x58b310]
mov edx, dword [ebp - 0x64]
mov byte [esi + 1], cl
mov ecx, ebx
sar ecx, 8
sar edx, 8
and edx, 0xff
xor cl, byte [edx + 0x58b310]
mov edx, eax
mov byte [esi + 2], cl
mov ecx, dword [ebp - 0x5c]
movzx ecx, cl
sar edx, 0x18
and edx, 0xff
movzx ecx, byte [ecx + 0x58b310]
xor cl, bl
mov ebx, dword [ebp - 0x68]
mov byte [esi + 3], cl
mov ebx, dword [ebx + edi + 0xc]
mov ecx, ebx
sar ecx, 0x18
xor cl, byte [edx + 0x58b310]
mov edx, dword [ebp - 0x64]
mov byte [esi + 4], cl
mov ecx, ebx
sar edx, 0x10
sar ecx, 0x10
and edx, 0xff
xor cl, byte [edx + 0x58b310]
mov edx, dword [ebp - 0x5c]
mov byte [esi + 5], cl
mov ecx, ebx
sar edx, 8
sar ecx, 8
and edx, 0xff
xor cl, byte [edx + 0x58b310]
mov edx, dword [ebp - 0x64]
mov byte [esi + 6], cl
mov ecx, dword [ebp - 0x60]
movzx ecx, cl
sar edx, 0x18
and edx, 0xff
movzx ecx, byte [ecx + 0x58b310]
xor cl, bl
mov byte [esi + 7], cl
mov ecx, dword [ebp - 0x68]
mov ebx, dword [ecx + edi + 0x10]
mov ecx, ebx
sar ecx, 0x18
xor cl, byte [edx + 0x58b310]
mov edx, dword [ebp - 0x5c]
sar edx, 0x10
mov byte [esi + 8], cl
and edx, 0xff
mov ecx, ebx
sar ecx, 0x10
xor cl, byte [edx + 0x58b310]
mov edx, dword [ebp - 0x60]
sar edx, 8
mov byte [esi + 9], cl
and edx, 0xff
mov ecx, ebx
sar ecx, 8
xor cl, byte [edx + 0x58b310]
mov byte [esi + 0xa], cl
movzx ecx, al
sar eax, 8
and eax, 0xff
movzx ecx, byte [ecx + 0x58b310]
xor cl, bl
mov ebx, dword [ebp - 0x5c]
mov byte [esi + 0xb], cl
mov ecx, dword [ebp - 0x68]
sar ebx, 0x18
and ebx, 0xff
mov edx, dword [ecx + edi + 0x14]
mov ecx, edx
sar ecx, 0x18
xor cl, byte [ebx + 0x58b310]
mov ebx, dword [ebp - 0x60]
mov byte [esi + 0xc], cl
mov ecx, edx
sar ebx, 0x10
and ebx, 0xff
sar ecx, 0x10
xor cl, byte [ebx + 0x58b310]
mov byte [esi + 0xd], cl
mov ecx, edx
sar ecx, 8
xor cl, byte [eax + 0x58b310]
mov eax, dword [ebp - 0x64]
movzx eax, al
mov byte [esi + 0xe], cl
mov al, byte [eax + 0x58b310]
xor al, dl
mov byte [esi + 0xf], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051ece9
mov esp, ebp
pop ebp
ret 8