Function at 0x4ecfa9
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
push 8
push dword [esi]
call fcn.0053e7d0
push 8
push dword [esi]
mov edi, eax
and edi, 0xff00ff00
call fcn.0053e7be
mov ebx, 0xff00ff
and eax, ebx
or eax, edi
mov edi, dword [ebp + 8]
xor eax, dword [edi]
push 8
push dword [esi + 4]
mov dword [ebp + 0x10], eax
call fcn.0053e7d0
push 8
push dword [esi + 4]
mov dword [ebp + 8], eax
and dword [ebp + 8], 0xff00ff00
call fcn.0053e7be
and eax, ebx
or eax, dword [ebp + 8]
push 8
xor eax, dword [edi + 4]
push dword [esi + 8]
mov dword [ebp + 8], eax
call fcn.0053e7d0
push 8
push dword [esi + 8]
mov dword [ebp - 0x10], eax
and dword [ebp - 0x10], 0xff00ff00
call fcn.0053e7be
and eax, ebx
or eax, dword [ebp - 0x10]
push 8
xor eax, dword [edi + 8]
push dword [esi + 0xc]
mov dword [ebp - 0xc], eax
call fcn.0053e7d0
push 8
push dword [esi + 0xc]
mov dword [ebp - 0x10], eax
and dword [ebp - 0x10], 0xff00ff00
call fcn.0053e7be
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
shr ecx, 8
and eax, ebx
or eax, dword [ebp - 0x10]
mov esi, 0xff
xor eax, dword [edi + 0xc]
and ecx, esi
mov ebx, dword [ecx*4 + 0x589018]
mov ecx, dword [ebp + 0x10]
shr edx, 0x10
and edx, esi
xor ebx, dword [edx*4 + 0x588c18]
mov edx, dword [ebp - 0xc]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x588818]
mov ecx, eax
and ecx, esi
xor ebx, dword [ecx*4 + 0x589418]
mov ecx, eax
xor ebx, dword [edi + 0x10]
shr ecx, 8
and ecx, esi
mov ecx, dword [ecx*4 + 0x589018]
shr edx, 0x10
and edx, esi
xor ecx, dword [edx*4 + 0x588c18]
mov edx, dword [ebp + 8]
add esp, 0x40
mov dword [ebp - 4], eax
shr edx, 0x18
xor ecx, dword [edx*4 + 0x588818]
mov edx, dword [ebp + 0x10]
and edx, esi
xor ecx, dword [edx*4 + 0x589418]
mov edx, dword [ebp + 0x10]
shr eax, 0x10
shr edx, 8
and eax, esi
mov eax, dword [eax*4 + 0x588c18]
and edx, esi
xor eax, dword [edx*4 + 0x589018]
mov edx, dword [ebp - 0xc]
shr edx, 0x18
xor eax, dword [edx*4 + 0x588818]
mov edx, dword [ebp + 8]
and edx, esi
xor eax, dword [edx*4 + 0x589418]
mov edx, dword [ebp + 0x10]
xor eax, dword [edi + 0x18]
xor ecx, dword [edi + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
shr eax, 8
shr edx, 0x10
and eax, esi
mov eax, dword [eax*4 + 0x589018]
and edx, esi
xor eax, dword [edx*4 + 0x588c18]
mov edx, dword [ebp - 4]
shr edx, 0x18
xor eax, dword [edx*4 + 0x588818]
mov edx, dword [ebp - 0xc]
and edx, esi
xor eax, dword [edx*4 + 0x589418]
mov edx, dword [ebp + 0xc]
xor eax, dword [edi + 0x1c]
sar edx, 1
add edi, 0x20
dec edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], eax
mov dword [ebp + 0xc], edx
je 0x4ed33f
mov eax, dword [ebp - 8]
shr eax, 8
and eax, esi
mov eax, dword [eax*4 + 0x589018]
mov edx, ecx
shr edx, 0x10
and edx, esi
xor eax, dword [edx*4 + 0x588c18]
mov edx, ebx
shr edx, 0x18
xor eax, dword [edx*4 + 0x588818]
mov edx, dword [ebp - 4]
and edx, esi
xor eax, dword [edx*4 + 0x589418]
mov edx, dword [ebp - 8]
xor eax, dword [edi]
shr edx, 0x10
and edx, esi
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 4]
shr eax, 8
and eax, esi
mov eax, dword [eax*4 + 0x589018]
xor eax, dword [edx*4 + 0x588c18]
mov edx, ecx
shr edx, 0x18
xor eax, dword [edx*4 + 0x588818]
mov edx, ebx
and edx, esi
xor eax, dword [edx*4 + 0x589418]
mov edx, ebx
xor eax, dword [edi + 4]
shr edx, 8
and edx, esi
mov dword [ebp + 8], eax
mov eax, dword [ebp - 4]
shr eax, 0x10
and eax, esi
mov eax, dword [eax*4 + 0x588c18]
xor eax, dword [edx*4 + 0x589018]
mov edx, dword [ebp - 8]
shr edx, 0x18
xor eax, dword [edx*4 + 0x588818]
mov edx, ecx
and edx, esi
xor eax, dword [edx*4 + 0x589418]
mov edx, dword [ebp - 4]
xor eax, dword [edi + 8]
shr ecx, 8
shr ebx, 0x10
and ecx, esi
mov ecx, dword [ecx*4 + 0x589018]
and ebx, esi
xor ecx, dword [ebx*4 + 0x588c18]
mov ebx, dword [ebp + 8]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x588818]
mov edx, dword [ebp - 8]
and edx, esi
xor ecx, dword [edx*4 + 0x589418]
shr ebx, 0x10
xor ecx, dword [edi + 0xc]
mov edx, eax
shr edx, 8
and edx, esi
mov edx, dword [edx*4 + 0x589018]
and ebx, esi
xor edx, dword [ebx*4 + 0x588c18]
mov ebx, dword [ebp + 0x10]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x588818]
mov ebx, ecx
and ebx, esi
xor edx, dword [ebx*4 + 0x589418]
mov dword [ebp - 4], ecx
xor edx, dword [edi + 0x10]
shr ecx, 8
mov ebx, edx
mov edx, eax
and ecx, esi
shr edx, 0x10
mov ecx, dword [ecx*4 + 0x589018]
and edx, esi
xor ecx, dword [edx*4 + 0x588c18]
mov edx, dword [ebp + 8]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x588818]
mov edx, dword [ebp + 0x10]
and edx, esi
xor ecx, dword [edx*4 + 0x589418]
mov edx, dword [ebp + 0x10]
xor ecx, dword [edi + 0x14]
shr edx, 8
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 4]
shr ecx, 0x10
and ecx, esi
mov ecx, dword [ecx*4 + 0x588c18]
and edx, esi
xor ecx, dword [edx*4 + 0x589018]
mov edx, eax
shr edx, 0x18
xor ecx, dword [edx*4 + 0x588818]
mov edx, dword [ebp + 8]
and edx, esi
xor ecx, dword [edx*4 + 0x589418]
mov edx, dword [ebp + 8]
xor ecx, dword [edi + 0x18]
shr edx, 8
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 0x10]
and edx, esi
mov edx, dword [edx*4 + 0x589018]
shr ecx, 0x10
and ecx, esi
xor edx, dword [ecx*4 + 0x588c18]
mov ecx, dword [ebp - 4]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x588818]
mov ecx, dword [ebp - 0x10]
and eax, esi
xor edx, dword [eax*4 + 0x589418]
add edi, 0x20
xor edx, dword [edi - 4]
dec dword [ebp + 0xc]
mov dword [ebp - 4], edx
jne 0x4ed161
mov eax, edx
mov edx, dword [ebp - 8]
shr ecx, 0x10
shr edx, 8
and ecx, esi
mov ecx, dword [ecx*4 + str.ccccwwww]
and edx, esi
mov edx, dword [edx*4 + str.ccccwwww]
and edx, 0xff00
and ecx, 0xff0000
xor ecx, edx
mov edx, ebx
shr edx, 0x18
mov edx, dword [edx*4 + str.ccccwwww]
and eax, esi
movzx eax, byte [eax*4 + str.ccccwwww]
and edx, 0xff000000
xor ecx, edx
xor ecx, eax
xor ecx, dword [edi]
push 8
push ecx
mov dword [ebp + 0x10], ecx
call fcn.0053e7d0
push 8
push dword [ebp + 0x10]
mov dword [ebp + 8], eax
and dword [ebp + 8], 0xff00ff00
call fcn.0053e7be
mov ecx, dword [ebp + 0x14]
and eax, 0xff00ff
or eax, dword [ebp + 8]
push 8
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
shr ecx, 8
shr eax, 0x10
and ecx, esi
mov ecx, dword [ecx*4 + str.ccccwwww]
and eax, esi
mov eax, dword [eax*4 + str.ccccwwww]
and ecx, 0xff00
and eax, 0xff0000
xor eax, ecx
mov ecx, dword [ebp - 0x10]
shr ecx, 0x18
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff000000
xor eax, ecx
mov ecx, ebx
and ecx, esi
movzx ecx, byte [ecx*4 + str.ccccwwww]
xor eax, ecx
xor eax, dword [edi + 4]
push eax
mov dword [ebp + 8], eax
call fcn.0053e7d0
push 8
push dword [ebp + 8]
mov dword [ebp + 0x10], eax
and dword [ebp + 0x10], 0xff00ff00
call fcn.0053e7be
mov ecx, dword [ebp + 0x14]
and eax, 0xff00ff
or eax, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
shr eax, 0x10
mov ecx, ebx
shr ecx, 8
and ecx, esi
mov ecx, dword [ecx*4 + str.ccccwwww]
and eax, esi
mov eax, dword [eax*4 + str.ccccwwww]
and ecx, 0xff00
and eax, 0xff0000
xor eax, ecx
mov ecx, dword [ebp - 8]
shr ecx, 0x18
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff000000
xor eax, ecx
mov ecx, dword [ebp - 0x10]
and ecx, esi
movzx ecx, byte [ecx*4 + str.ccccwwww]
xor eax, ecx
xor eax, dword [edi + 8]
push 8
push eax
mov dword [ebp - 0xc], eax
call fcn.0053e7d0
push 8
push dword [ebp - 0xc]
mov dword [ebp + 0x10], eax
and dword [ebp + 0x10], 0xff00ff00
call fcn.0053e7be
mov ecx, dword [ebp + 0x14]
and eax, 0xff00ff
or eax, dword [ebp + 0x10]
shr ebx, 0x10
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x10]
shr eax, 8
and eax, esi
mov eax, dword [eax*4 + str.ccccwwww]
and ebx, esi
mov ebx, dword [ebx*4 + str.ccccwwww]
and eax, 0xff00
and ebx, 0xff0000
xor ebx, eax
mov eax, dword [ebp - 4]
shr eax, 0x18
mov eax, dword [eax*4 + str.ccccwwww]
and eax, 0xff000000
xor ebx, eax
mov eax, dword [ebp - 8]
and eax, esi
movzx eax, byte [eax*4 + str.ccccwwww]
xor ebx, eax
xor ebx, dword [edi + 0xc]
push 8
push ebx
call fcn.0053e7d0
mov esi, eax
push 8
push ebx
and esi, 0xff00ff00
call fcn.0053e7be
mov ecx, dword [ebp + 0x14]
add esp, 0x40
and eax, 0xff00ff
pop edi
or eax, esi
pop esi
mov dword [ecx + 0xc], eax
pop ebx
leave
ret