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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ecx + 0x18]
mov dword [ebp - 0x10], eax
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
mov dword [ebp - 0x14], ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0041d74b
mov ecx, eax
call fcn.0041d74b
mov ecx, eax
call fcn.0041d74b
mov ecx, eax
call fcn.0041d74b
mov ecx, dword [ebp + 8]
xor ecx, dword [esi + 4]
mov edi, dword [ebp - 0xc]
xor edi, dword [esi + 8]
mov edx, dword [ebp - 4]
xor edx, dword [esi]
mov eax, dword [ebp - 8]
xor eax, dword [esi + 0xc]
mov dword [ebp + 8], ecx
mov ebx, edi
shr ebx, 8
movzx ebx, bl
shr ecx, 0x10
movzx ecx, cl
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebx*4 + 0x5395f0]
mov ebx, dword [ebp - 0x10]
xor ecx, dword [ebx*4 + 0x5391f0]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x538df0]
movzx edx, al
xor ecx, dword [edx*4 + 0x5399f0]
mov ebx, edi
shr ebx, 0x10
movzx ebx, bl
mov edx, eax
shr edx, 8
movzx edx, dl
mov edx, dword [edx*4 + 0x5395f0]
xor edx, dword [ebx*4 + 0x5391f0]
mov ebx, dword [ebp + 8]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x538df0]
movzx ebx, byte [ebp - 4]
xor edx, dword [ebx*4 + 0x5399f0]
xor ecx, dword [esi + 0x10]
xor edx, dword [esi + 0x14]
mov dword [ebp - 0xc], edi
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
shr edi, 0x18
mov dword [ebp - 0x10], edi
mov edi, dword [ebx*4 + 0x5391f0]
mov ebx, dword [ebp - 0x10]
xor edi, dword [ebx*4 + 0x538df0]
mov ebx, dword [ebp - 4]
shr ebx, 8
movzx ebx, bl
xor edi, dword [ebx*4 + 0x5395f0]
movzx ebx, byte [ebp + 8]
xor edi, dword [ebx*4 + 0x5399f0]
mov ebx, dword [ebp + 8]
xor edi, dword [esi + 0x18]
shr eax, 0x18
mov dword [ebp - 8], edi
shr ebx, 8
mov eax, dword [eax*4 + 0x538df0]
movzx edi, bl
xor eax, dword [edi*4 + 0x5395f0]
mov ebx, dword [ebp - 4]
shr ebx, 0x10
movzx edi, bl
xor eax, dword [edi*4 + 0x5391f0]
movzx edi, byte [ebp - 0xc]
xor eax, dword [edi*4 + 0x5399f0]
mov edi, dword [ebp - 0x14]
mov edi, dword [edi + 0xc]
xor eax, dword [esi + 0x1c]
shr edi, 1
add esi, 0x20
dec edi
je 0x41dad2
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp - 8]
shr ebx, 8
movzx edi, bl
mov edi, dword [edi*4 + 0x5395f0]
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
xor edi, dword [ebx*4 + 0x5391f0]
mov ebx, ecx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x538df0]
movzx ebx, al
xor edi, dword [ebx*4 + 0x5399f0]
mov ebx, eax
xor edi, dword [esi]
shr ebx, 8
mov dword [ebp - 4], edi
movzx edi, bl
mov edi, dword [edi*4 + 0x5395f0]
mov ebx, dword [ebp - 8]
shr ebx, 0x10
movzx ebx, bl
xor edi, dword [ebx*4 + 0x5391f0]
mov ebx, edx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x538df0]
movzx ebx, cl
xor edi, dword [ebx*4 + 0x5399f0]
mov ebx, eax
xor edi, dword [esi + 4]
shr ebx, 0x10
mov dword [ebp + 8], edi
movzx edi, bl
mov edi, dword [edi*4 + 0x5391f0]
mov ebx, dword [ebp - 8]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x538df0]
mov ebx, ecx
shr ebx, 8
movzx ebx, bl
mov dword [ebp - 0x14], edi
xor edi, dword [ebx*4 + 0x5395f0]
movzx ebx, dl
xor edi, dword [ebx*4 + 0x5399f0]
shr edx, 8
xor edi, dword [esi + 8]
movzx edx, dl
shr ecx, 0x10
movzx ecx, cl
shr eax, 0x18
mov eax, dword [eax*4 + 0x538df0]
xor eax, dword [edx*4 + 0x5395f0]
mov edx, dword [ebp + 8]
xor eax, dword [ecx*4 + 0x5391f0]
movzx ecx, byte [ebp - 8]
xor eax, dword [ecx*4 + 0x5399f0]
shr edx, 0x10
xor eax, dword [esi + 0xc]
mov ecx, edi
shr ecx, 8
movzx edx, dl
movzx ecx, cl
mov ecx, dword [ecx*4 + 0x5395f0]
xor ecx, dword [edx*4 + 0x5391f0]
mov edx, dword [ebp - 4]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x538df0]
movzx edx, al
xor ecx, dword [edx*4 + 0x5399f0]
mov ebx, edi
xor ecx, dword [esi + 0x10]
mov edx, eax
shr edx, 8
mov dword [ebp - 0xc], edi
movzx edx, dl
mov edx, dword [edx*4 + 0x5395f0]
shr ebx, 0x10
movzx edi, bl
xor edx, dword [edi*4 + 0x5391f0]
mov edi, dword [ebp + 8]
shr edi, 0x18
xor edx, dword [edi*4 + 0x538df0]
movzx edi, byte [ebp - 4]
xor edx, dword [edi*4 + 0x5399f0]
mov ebx, eax
shr ebx, 0x10
movzx edi, bl
mov edi, dword [edi*4 + 0x5391f0]
mov ebx, dword [ebp - 0xc]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x538df0]
mov ebx, dword [ebp - 4]
shr ebx, 8
movzx ebx, bl
xor edi, dword [ebx*4 + 0x5395f0]
movzx ebx, byte [ebp + 8]
xor edi, dword [ebx*4 + 0x5399f0]
mov ebx, dword [ebp + 8]
xor edi, dword [esi + 0x18]
xor edx, dword [esi + 0x14]
shr ebx, 8
shr eax, 0x18
mov dword [ebp - 8], edi
movzx edi, bl
mov ebx, dword [eax*4 + 0x538df0]
mov eax, dword [ebp - 4]
xor ebx, dword [edi*4 + 0x5395f0]
shr eax, 0x10
movzx eax, al
xor ebx, dword [eax*4 + 0x5391f0]
movzx eax, byte [ebp - 0xc]
xor ebx, dword [eax*4 + 0x5399f0]
add esi, 0x20
xor ebx, dword [esi - 4]
dec dword [ebp - 0x10]
mov eax, ebx
jne 0x41d8f8
mov ebx, edx
shr ebx, 0x10
movzx edi, bl
mov edi, dword [edi*4 + str.ccccwwww]
mov ebx, dword [ebp - 8]
shr ebx, 8
movzx ebx, bl
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff00
and edi, 0xff0000
xor edi, ebx
mov ebx, ecx
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff000000
xor edi, ebx
movzx ebx, al
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, ebx
xor edi, dword [esi]
mov ebx, dword [ebp - 8]
shr ebx, 0x10
mov dword [ebp - 4], edi
movzx edi, bl
mov edi, dword [edi*4 + str.ccccwwww]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff00
and edi, 0xff0000
xor edi, ebx
mov ebx, edx
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff000000
xor edi, ebx
movzx ebx, cl
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, ebx
xor edi, dword [esi + 4]
mov ebx, eax
shr ebx, 0x10
mov dword [ebp + 8], edi
movzx edi, bl
mov edi, dword [edi*4 + str.ccccwwww]
mov ebx, dword [ebp - 8]
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff000000
and edi, 0xff0000
xor edi, ebx
mov ebx, ecx
shr ebx, 8
movzx ebx, bl
mov ebx, dword [ebx*4 + str.ccccwwww]
shr ecx, 0x10
shr eax, 0x18
mov eax, dword [eax*4 + str.ccccwwww]
movzx ecx, cl
mov ecx, dword [ecx*4 + str.ccccwwww]
and ebx, 0xff00
xor edi, ebx
and eax, 0xff000000
and ecx, 0xff0000
xor ecx, eax
movzx ebx, dl
invalid
sbb al, 0x9d