Function at 0x4e4db0
Capabilities:
Encode data using xor
Encrypt data using aes
Encrypt data using rc4 ksa
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5698f3
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
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 ebx, ecx
mov dword [ebp - 0x70], ebx
cmp byte [ebx + 4], 0
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x64], edx
jne 0x4e4eaf
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4e4e03
call dword [sym.imp.KERNEL32.dll_DebugBreak]
sub esp, 0x18
xor edx, edx
mov ecx, esp
mov dword [ebp - 0x84], 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 eax, dword [ebx + 0x3cc]
cmp eax, 0x10
jne 0x4e4ec8
push edx
push ecx
mov ecx, ebx
call fcn.004e4520
jmp 0x4e5136
cdq
and edx, 3
lea edi, [edx + eax]
xor eax, eax
sar edi, 2
mov dword [ebp - 0x6c], edi
cmp edi, 4
je 0x4e4ee3
cmp edi, 6
setne al
inc eax
shl eax, 5
mov esi, dword [eax + 0x58adc4]
mov edx, dword [eax + 0x58adbc]
mov eax, dword [eax + 0x58adcc]
mov dword [ebp - 0x74], eax
lea eax, [ebx + 0x454]
mov dword [ebp - 0x5c], esi
mov esi, eax
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x78], eax
test edi, edi
jle 0x4e4f4f
add ebx, 0x1e8
movzx eax, byte [ecx]
lea ecx, [ecx + 4]
shl eax, 0x18
lea ebx, [ebx + 4]
mov dword [esi], eax
mov edx, esi
movzx eax, byte [ecx - 3]
shl eax, 0x10
or dword [esi], eax
movzx eax, byte [ecx - 2]
shl eax, 8
or dword [esi], eax
movzx eax, byte [ecx - 1]
or dword [esi], eax
add esi, 4
mov eax, dword [ebx - 4]
xor dword [edx], eax
dec edi
jne 0x4e4f16
mov edi, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x70]
mov dword [ebp - 0x6c], 1
cmp dword [esi + 0x3d0], 1
jle 0x4e505f
lea ecx, [esi + 0x208]
lea eax, [esi + 0x434]
mov dword [ebp - 0x60], ecx
test edi, edi
jle 0x4e5022
mov dword [ebp - 0x7c], eax
mov ebx, edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x80], ecx
sub eax, edx
mov ecx, dword [ebp - 0x74]
sub ecx, edx
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x70], edi
mov edi, edi
add eax, ebx
cdq
idiv edi
mov eax, dword [ebp - 0x88]
add eax, ebx
mov ecx, dword [esi + edx*4 + 0x454]
cdq
idiv edi
sar ecx, 8
and ecx, 0xff
movzx eax, byte [esi + edx*4 + 0x454]
mov ecx, dword [ecx*4 + 0x589990]
xor ecx, dword [eax*4 + 0x589590]
mov eax, ebx
cdq
inc ebx
idiv edi
movsx eax, word [esi + edx*4 + 0x456]
mov edx, dword [ebp - 0x7c]
and eax, 0xff
xor ecx, dword [eax*4 + 0x58bc10]
movzx eax, byte [edx + 0x23]
xor ecx, dword [eax*4 + 0x589190]
mov eax, dword [ebp - 0x80]
xor ecx, dword [eax]
add eax, 4
mov dword [edx], ecx
add edx, 4
dec dword [ebp - 0x70]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x7c], edx
jne 0x4e4fa0
lea eax, [esi + 0x434]
lea ecx, [edi*4]
push ecx
push eax
lea eax, [esi + 0x454]
push eax
call fcn.005256b0
mov eax, dword [ebp - 0x6c]
add esp, 0xc
mov ecx, dword [ebp - 0x60]
inc eax
mov edx, dword [ebp - 0x68]
add ecx, 0x20
cmp eax, dword [esi + 0x3d0]
mov dword [ebp - 0x6c], eax
lea eax, [esi + 0x434]
mov dword [ebp - 0x60], ecx
jl 0x4e4f75
xor ecx, ecx
mov dword [ebp - 0x60], ecx
test edi, edi
jle 0x4e5136
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x5c]
sub edx, eax
sub dword [ebp - 0x74], eax
mov dword [ebp - 0x68], edx
lea ebx, [ebx]
mov eax, dword [esi + 0x3d0]
lea eax, [ecx + eax*8]
mov ebx, dword [esi + eax*4 + 0x1e8]
mov ecx, ebx
mov eax, dword [ebp - 0x78]
sar ecx, 0x18
add dword [ebp - 0x78], 4
movzx eax, byte [eax + 3]
xor cl, byte [eax + 0x58ae10]
mov eax, dword [ebp - 0x64]
mov byte [eax], cl
inc eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x5c]
add eax, edx
cdq
idiv edi
mov eax, ebx
sar eax, 0x10
movsx ecx, word [esi + edx*4 + 0x456]
mov edx, dword [ebp - 0x64]
and ecx, 0xff
xor al, byte [ecx + 0x58ae10]
mov byte [edx], al
inc edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], edx
cdq
idiv edi
mov eax, ebx
sar eax, 8
mov ecx, dword [esi + edx*4 + 0x454]
sar ecx, 8
and ecx, 0xff
xor al, byte [ecx + 0x58ae10]
mov ecx, dword [ebp - 0x64]
mov byte [ecx], al
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x74]
cdq
idiv edi
inc dword [ebp - 0x5c]
movzx eax, byte [esi + edx*4 + 0x454]
mov edx, dword [ebp - 0x68]
mov al, byte [eax + 0x58ae10]
xor al, bl
mov byte [ecx + 1], al
add ecx, 2
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x60]
inc ecx
mov dword [ebp - 0x60], ecx
cmp ecx, edi
jl 0x4e5080
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