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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov edx, dword [ecx + 0x1c]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [edx + 2]
shl eax, 4
mov esi, dword [edi]
mov dword [ebp - 4], ecx
mov eax, dword [eax + ecx]
shl edx, 4
xor eax, esi
mov esi, dword [edi + 4]
lea ebx, [edx + ecx]
mov dword [ebp - 0x18], eax
and eax, 0xff
mov edx, dword [ebx + 0x24]
xor edx, esi
mov esi, dword [ebx + 0x28]
xor esi, dword [edi + 8]
mov ebx, dword [ebx + 0x2c]
xor ebx, dword [edi + 0xc]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
and edx, 0xff
mov edi, dword [ebp - 0x11]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xe]
and edi, 0xff
and ebx, 0xff
and esi, 0xff
mov edi, dword [edi*4 + 0x44ed90]
xor edi, dword [ebx*4 + 0x44e990]
mov ebx, dword [ebp - 0xb]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x44e590]
mov ebx, dword [eax*4 + 0x44e190]
mov eax, dword [ebp + 0xc]
xor edi, ebx
mov ebx, dword [ebp - 0xa]
mov dword [eax], edi
mov edi, dword [ebp - 0xd]
and edi, 0xff
and ebx, 0xff
mov edi, dword [edi*4 + 0x44ed90]
xor edi, dword [ebx*4 + 0x44e990]
mov ebx, dword [ebp - 0x17]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x44e590]
mov ebx, dword [edx*4 + 0x44e190]
mov edx, dword [ebp - 9]
xor edi, ebx
and edx, 0xff
mov dword [eax + 4], edi
mov edi, dword [ebp - 0x16]
mov edx, dword [edx*4 + 0x44ed90]
and edi, 0xff
mov ebx, dword [edi*4 + 0x44e990]
mov edi, dword [ebp - 0x13]
and edi, 0xff
xor edx, ebx
mov ebx, dword [edi*4 + 0x44e590]
mov edi, dword [esi*4 + 0x44e190]
xor edx, ebx
mov esi, dword [ebp - 0x12]
xor edx, edi
and esi, 0xff
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x15]
mov ebx, dword [esi*4 + 0x44e990]
and edx, 0xff
mov edi, dword [edx*4 + 0x44ed90]
mov edx, dword [ebp - 0xf]
and edx, 0xff
xor edi, ebx
mov ebx, dword [edx*4 + 0x44e590]
mov edx, dword [ebp - 0xc]
and edx, 0xff
xor edi, ebx
xor edi, dword [edx*4 + 0x44e190]
mov dword [eax + 0xc], edi
mov edx, dword [ecx + 0x1c]
dec edx
cmp edx, 1
jle 0x401c8d
mov esi, edx
shl esi, 4
dec edx
lea ecx, [esi + ecx + 0x24]
mov dword [ebp + 0xc], edx
mov dword [ebp + 8], ecx
mov edx, dword [ecx - 4]
mov ebx, dword [eax]
mov esi, dword [eax + 4]
mov edi, dword [ecx]
xor edx, ebx
mov ebx, dword [eax + 8]
xor esi, edi
mov edi, dword [ecx + 4]
mov ecx, dword [ecx + 8]
xor edi, ebx
mov ebx, dword [eax + 0xc]
mov dword [ebp - 0x14], esi
xor ecx, ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x11]
mov ebx, dword [ebp - 0xe]
and ecx, 0xff
and ebx, 0xff
mov dword [ebp - 0x18], edx
mov ecx, dword [ecx*4 + 0x44ed90]
and edx, 0xff
xor ecx, dword [ebx*4 + 0x44e990]
mov ebx, dword [ebp - 0xb]
and ebx, 0xff
and esi, 0xff
and edi, 0xff
xor ecx, dword [ebx*4 + 0x44e590]
mov ebx, dword [edx*4 + 0x44e190]
mov edx, dword [ebp - 0xd]
xor ecx, ebx
and edx, 0xff
mov dword [eax], ecx
mov ecx, dword [ebp - 0xa]
mov edx, dword [edx*4 + 0x44ed90]
and ecx, 0xff
mov ebx, dword [ecx*4 + 0x44e990]
mov ecx, dword [ebp - 0x17]
and ecx, 0xff
xor edx, ebx
mov ebx, dword [ecx*4 + 0x44e590]
mov ecx, dword [ebp - 0x16]
xor edx, ebx
mov ebx, dword [esi*4 + 0x44e190]
xor edx, ebx
and ecx, 0xff
mov dword [eax + 4], edx
mov edx, dword [ebp - 9]
mov esi, dword [ecx*4 + 0x44e990]
mov ecx, dword [ebp - 0x13]
and edx, 0xff
mov ebx, dword [edi*4 + 0x44e190]
and ecx, 0xff
mov edx, dword [edx*4 + 0x44ed90]
xor edx, esi
mov esi, dword [ecx*4 + 0x44e590]
mov ecx, dword [ebp - 0x12]
xor edx, esi
xor edx, ebx
and ecx, 0xff
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x15]
mov ebx, dword [ecx*4 + 0x44e990]
mov ecx, dword [ebp - 0xf]
and ecx, 0xff
and edx, 0xff
mov esi, dword [ecx*4 + 0x44e590]
mov ecx, dword [ebp - 0xc]
mov edx, dword [edx*4 + 0x44ed90]
and ecx, 0xff
xor edx, ebx
mov edi, dword [ecx*4 + 0x44e190]
mov ecx, dword [ebp + 8]
xor edx, esi
sub ecx, 0x10
xor edx, edi
mov dword [ebp + 8], ecx
mov dword [eax + 0xc], edx
mov edx, dword [ebp + 0xc]
dec edx
mov dword [ebp + 0xc], edx
jne 0x401b34
mov ecx, dword [ebp - 4]
mov esi, dword [ecx + 0x30]
mov edi, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
xor esi, edi
mov edi, dword [ecx + 0x34]
xor edi, edx
mov edx, dword [ecx + 0x38]
xor edx, ebx
mov ebx, dword [ecx + 0x3c]
xor ebx, dword [eax + 0xc]
mov dword [ebp - 0x18], esi
and esi, 0xff
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], edi
mov bl, byte [esi + 0x44f190]
mov esi, dword [ebp - 0xb]
and esi, 0xff
mov byte [eax], bl
and edi, 0xff
and edx, 0xff
mov bl, byte [esi + 0x44f190]
mov esi, dword [ebp - 0xe]
and esi, 0xff
mov byte [eax + 1], bl
mov bl, byte [esi + 0x44f190]
mov esi, dword [ebp - 0x11]
and esi, 0xff
mov byte [eax + 2], bl
mov bl, byte [esi + 0x44f190]
mov esi, dword [ebp - 0x17]
mov byte [eax + 3], bl
mov bl, byte [edi + 0x44f190]
and esi, 0xff
mov byte [eax + 4], bl
mov bl, byte [esi + 0x44f190]
mov esi, dword [ebp - 0xa]
and esi, 0xff
mov byte [eax + 5], bl
mov bl, byte [esi + 0x44f190]
mov esi, dword [ebp - 0xd]
and esi, 0xff
mov byte [eax + 6], bl
mov bl, byte [esi + 0x44f190]
mov esi, dword [ebp - 0xc]
mov byte [eax + 7], bl
mov dl, byte [edx + 0x44f190]
mov byte [eax + 8], dl
mov edx, dword [ebp - 0x13]
and edx, 0xff
and esi, 0xff
mov ebx, dword [eax]
mov dl, byte [edx + 0x44f190]
mov byte [eax + 9], dl
mov edx, dword [ebp - 0x16]
and edx, 0xff
mov dl, byte [edx + 0x44f190]
mov byte [eax + 0xa], dl
mov edx, dword [ebp - 9]
and edx, 0xff
mov dl, byte [edx + 0x44f190]
mov byte [eax + 0xb], dl
mov dl, byte [esi + 0x44f190]
mov byte [eax + 0xc], dl
mov edx, dword [ebp - 0xf]
and edx, 0xff
mov dl, byte [edx + 0x44f190]
mov byte [eax + 0xd], dl
mov edx, dword [ebp - 0x12]
and edx, 0xff
mov dl, byte [edx + 0x44f190]
mov byte [eax + 0xe], dl
mov edx, dword [ebp - 0x15]
and edx, 0xff
mov dl, byte [edx + 0x44f190]
mov byte [eax + 0xf], dl
mov edx, dword [ecx + 0x20]
xor ebx, edx
mov dword [eax], ebx
mov edx, dword [ecx + 0x24]
mov edi, dword [eax + 4]
mov esi, dword [eax + 8]
xor edi, edx
mov dword [eax + 4], edi
mov edx, dword [ecx + 0x28]
xor esi, edx
mov edx, dword [eax + 0xc]
mov dword [eax + 8], esi
mov ecx, dword [ecx + 0x2c]
xor edx, ecx
pop edi
pop esi
mov dword [eax + 0xc], edx
pop ebx
mov esp, ebp
pop ebp
ret 8