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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [esi + 0xa0]
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi]
mov ebx, dword [edi + 4]
mov edi, dword [esi + 0xa8]
xor edx, ecx
mov ecx, dword [esi + 0xa4]
mov eax, dword [0x68031884]
xor ecx, ebx
mov ebx, dword [ebp + 8]
xor edi, dword [ebx + 8]
mov ebx, dword [esi + 0xac]
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], edi
xor ebx, dword [esi + 0xc]
movzx edi, byte [ebp - 0xa]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x680045d8]
xor esi, dword [edi*4 + 0x680041d8]
movzx edi, bh
xor esi, dword [edi*4 + 0x68003dd8]
movzx edi, dl
xor esi, dword [edi*4 + 0x680039d8]
mov dword [ebp - 0x14], edx
movzx edx, dh
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov esi, dword [ebp - 0xc]
shr esi, 0x18
mov esi, dword [esi*4 + 0x680045d8]
mov dword [ebp - 8], ebx
movzx edi, byte [ebp - 6]
xor esi, dword [edi*4 + 0x680041d8]
xor esi, dword [edx*4 + 0x68003dd8]
movzx edx, cl
xor esi, dword [edx*4 + 0x680039d8]
mov dword [eax + 4], esi
movzx esi, byte [ebp - 0x12]
mov edi, dword [esi*4 + 0x680041d8]
mov dword [ebp - 0x10], ecx
movzx ecx, ch
mov esi, dword [ecx*4 + 0x68003dd8]
mov ecx, dword [ebp - 0xc]
mov edx, ebx
shr edx, 0x18
mov edx, dword [edx*4 + 0x680045d8]
xor edx, edi
xor edx, esi
movzx esi, cl
mov edi, dword [esi*4 + 0x680039d8]
movzx esi, byte [ebp - 0xe]
xor edx, edi
mov dword [eax + 8], edx
movzx edx, byte [ebp - 0x11]
mov edx, dword [edx*4 + 0x680045d8]
mov edi, dword [esi*4 + 0x680041d8]
movzx ecx, ch
xor edx, edi
mov edi, dword [ecx*4 + 0x68003dd8]
movzx ecx, bl
mov esi, dword [ecx*4 + 0x680039d8]
mov ecx, dword [ebp + 0x10]
xor edx, edi
xor edx, esi
mov dword [eax + 0xc], edx
add ecx, 0x98
mov dword [ebp - 0x18], 2
jmp 0x68018d60
mov edx, dword [ecx - 8]
xor edx, dword [eax]
mov esi, dword [ecx - 4]
xor esi, dword [eax + 4]
mov dword [ebp - 0x10], esi
mov edi, dword [ecx]
mov esi, dword [eax + 8]
xor esi, edi
mov dword [ebp - 0xc], esi
mov ebx, dword [ecx + 4]
xor ebx, dword [eax + 0xc]
mov esi, dword [ebp - 0x10]
movzx edi, byte [ebp - 0xa]
shr esi, 0x18
mov esi, dword [esi*4 + 0x680045d8]
xor esi, dword [edi*4 + 0x680041d8]
movzx edi, bh
xor esi, dword [edi*4 + 0x68003dd8]
movzx edi, dl
xor esi, dword [edi*4 + 0x680039d8]
mov dword [ebp - 0x14], edx
mov dword [eax], esi
mov esi, dword [ebp - 0xc]
shr esi, 0x18
mov esi, dword [esi*4 + 0x680045d8]
mov dword [ebp - 8], ebx
movzx edi, byte [ebp - 6]
xor esi, dword [edi*4 + 0x680041d8]
movzx edx, dh
mov edi, dword [edx*4 + 0x68003dd8]
mov edx, dword [ebp - 0x10]
xor esi, edi
movzx edi, dl
xor esi, dword [edi*4 + 0x680039d8]
movzx edi, byte [ebp - 0x12]
mov dword [eax + 4], esi
mov esi, ebx
shr esi, 0x18
mov esi, dword [esi*4 + 0x680045d8]
xor esi, dword [edi*4 + 0x680041d8]
movzx edx, dh
mov edi, dword [edx*4 + 0x68003dd8]
mov edx, dword [ebp - 0xc]
xor esi, edi
movzx edi, dl
xor esi, dword [edi*4 + 0x680039d8]
movzx edi, byte [ebp - 0xe]
mov dword [eax + 8], esi
movzx esi, byte [ebp - 0x11]
mov esi, dword [esi*4 + 0x680045d8]
xor esi, dword [edi*4 + 0x680041d8]
movzx edx, dh
xor esi, dword [edx*4 + 0x68003dd8]
movzx edx, bl
mov edi, dword [edx*4 + 0x680039d8]
mov ebx, dword [eax + 4]
xor esi, edi
mov edi, dword [eax + 8]
mov dword [eax + 0xc], esi
mov esi, dword [eax]
mov edx, dword [ecx - 0x18]
xor edx, esi
mov esi, dword [ecx - 0x14]
xor esi, ebx
mov ebx, dword [ecx - 0xc]
mov dword [ebp - 0x10], esi
mov esi, dword [ecx - 0x10]
xor esi, edi
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0xc]
movzx edi, byte [ebp - 0xa]
xor ebx, esi
mov esi, dword [ebp - 0x10]
shr esi, 0x18
mov esi, dword [esi*4 + 0x680045d8]
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], ebx
xor esi, dword [edi*4 + 0x680041d8]
movzx edi, bh
xor esi, dword [edi*4 + 0x68003dd8]
movzx edi, dl
xor esi, dword [edi*4 + 0x680039d8]
movzx edi, byte [ebp - 6]
mov dword [eax], esi
mov esi, dword [ebp - 0xc]
shr esi, 0x18
mov esi, dword [esi*4 + 0x680045d8]
xor esi, dword [edi*4 + 0x680041d8]
movzx edx, dh
xor esi, dword [edx*4 + 0x68003dd8]
mov edx, dword [ebp - 0x10]
movzx edi, dl
xor esi, dword [edi*4 + 0x680039d8]
movzx edi, byte [ebp - 0x12]
mov dword [eax + 4], esi
movzx edx, dh
mov esi, ebx
shr esi, 0x18
mov esi, dword [esi*4 + 0x680045d8]
xor esi, dword [edi*4 + 0x680041d8]
xor esi, dword [edx*4 + 0x68003dd8]
mov edx, dword [ebp - 0xc]
movzx edi, dl
xor esi, dword [edi*4 + 0x680039d8]
movzx edi, byte [ebp - 0xe]
mov dword [eax + 8], esi
movzx esi, byte [ebp - 0x11]
mov esi, dword [esi*4 + 0x680045d8]
xor esi, dword [edi*4 + 0x680041d8]
movzx edx, dh
xor esi, dword [edx*4 + 0x68003dd8]
movzx edx, bl
mov edi, dword [edx*4 + 0x680039d8]
mov ebx, dword [eax + 4]
xor esi, edi
mov edi, dword [eax + 8]
mov dword [eax + 0xc], esi
mov edx, dword [ecx - 0x28]
xor edx, dword [eax]
mov esi, dword [ecx - 0x24]
xor esi, ebx
mov ebx, dword [ecx - 0x1c]
mov dword [ebp - 0x10], esi
mov esi, dword [ecx - 0x20]
xor esi, edi
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0xc]
movzx edi, byte [ebp - 0xa]
xor ebx, esi
mov esi, dword [ebp - 0x10]
shr esi, 0x18
mov esi, dword [esi*4 + 0x680045d8]
xor esi, dword [edi*4 + 0x680041d8]
movzx edi, bh
xor esi, dword [edi*4 + 0x68003dd8]
movzx edi, dl
xor esi, dword [edi*4 + 0x680039d8]
mov dword [ebp - 8], ebx
movzx edi, byte [ebp - 6]
mov dword [eax], esi
mov esi, dword [ebp - 0xc]
shr esi, 0x18
mov esi, dword [esi*4 + 0x680045d8]
xor esi, dword [edi*4 + 0x680041d8]
mov dword [ebp - 0x14], edx
movzx edx, dh
mov edi, dword [edx*4 + 0x68003dd8]
mov edx, dword [ebp - 0x10]
xor esi, edi
movzx edi, dl
xor esi, dword [edi*4 + 0x680039d8]
mov dword [eax + 4], esi
mov esi, ebx
shr esi, 0x18
mov esi, dword [esi*4 + 0x680045d8]
movzx edi, byte [ebp - 0x12]
xor esi, dword [edi*4 + 0x680041d8]
movzx edx, dh
xor esi, dword [edx*4 + 0x68003dd8]
mov edx, dword [ebp - 0xc]
movzx edi, dl
xor esi, dword [edi*4 + 0x680039d8]
movzx edi, byte [ebp - 0xe]
mov dword [eax + 8], esi
movzx esi, byte [ebp - 0x11]
mov esi, dword [esi*4 + 0x680045d8]
xor esi, dword [edi*4 + 0x680041d8]
movzx edx, dh
xor esi, dword [edx*4 + 0x68003dd8]
movzx edx, bl
xor esi, dword [edx*4 + 0x680039d8]
mov dword [eax + 0xc], esi
mov edx, dword [ecx - 0x38]
xor edx, dword [eax]
mov esi, dword [ecx - 0x34]
mov ebx, dword [eax + 4]
mov edi, dword [eax + 8]
xor esi, ebx
mov ebx, dword [ecx - 0x2c]
mov dword [ebp - 0x10], esi
mov esi, dword [ecx - 0x30]
xor esi, edi
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0xc]
movzx edi, byte [ebp - 0xa]
xor ebx, esi
mov esi, dword [ebp - 0x10]
shr esi, 0x18
mov esi, dword [esi*4 + 0x680045d8]
xor esi, dword [edi*4 + 0x680041d8]
movzx edi, bh
xor esi, dword [edi*4 + 0x68003dd8]
movzx edi, dl
xor esi, dword [edi*4 + 0x680039d8]
mov dword [ebp - 0x14], edx
mov dword [eax], esi
mov esi, dword [ebp - 0xc]
shr esi, 0x18
mov esi, dword [esi*4 + 0x680045d8]
movzx edx, dh
mov dword [ebp - 8], ebx
movzx edi, byte [ebp - 6]
xor esi, dword [edi*4 + 0x680041d8]
mov edi, dword [edx*4 + 0x68003dd8]
mov edx, dword [ebp - 0x10]
xor esi, edi
movzx edi, dl
xor esi, dword [edi*4 + 0x680039d8]
movzx edi, byte [ebp - 0x12]
mov dword [eax + 4], esi
mov esi, ebx
shr esi, 0x18
mov esi, dword [esi*4 + 0x680045d8]
xor esi, dword [edi*4 + 0x680041d8]
movzx edx, dh
mov edi, dword [edx*4 + 0x68003dd8]
mov edx, dword [ebp - 0xc]
xor esi, edi
movzx edi, dl
xor esi, dword [edi*4 + 0x680039d8]
movzx edi, byte [ebp - 0xe]
mov dword [eax + 8], esi
movzx esi, byte [ebp - 0x11]
mov esi, dword [esi*4 + 0x680045d8]
xor esi, dword [edi*4 + 0x680041d8]
movzx edx, dh
mov edi, dword [edx*4 + 0x68003dd8]
movzx edx, bl
xor esi, edi
xor esi, dword [edx*4 + 0x680039d8]
mov edx, dword [ebp - 0x18]
sub ecx, 0x40
dec edx
mov dword [eax + 0xc], esi
mov dword [ebp - 0x18], edx
jne 0x68018d60
mov ecx, dword [ebp + 0x10]
mov esi, dword [ecx + 0x14]
mov edx, dword [ecx + 0x10]
mov edi, dword [eax + 4]
xor edx, dword [eax]
mov ebx, dword [eax + 8]
xor esi, edi
mov edi, dword [eax + 0xc]
mov dword [ebp - 0x10], esi
mov esi, dword [ecx + 0x18]
xor esi, ebx
mov dword [ebp - 0xc], esi
mov esi, dword [ecx + 0x1c]
xor esi, edi
mov dword [ebp - 8], esi
movzx esi, dl
mov bl, byte [esi + 0x680049d8]
movzx esi, byte [ebp - 7]
mov byte [eax], bl
mov bl, byte [esi + 0x680049d8]
movzx esi, byte [ebp - 0xa]
mov byte [eax + 1], bl
mov bl, byte [esi + 0x680049d8]
mov esi, dword [ebp - 0x10]
mov byte [eax + 2], bl
mov dword [ebp - 0x14], edx
shr esi, 0x18
mov bl, byte [esi + 0x680049d8]
movzx esi, byte [ebp - 0x10]
mov byte [eax + 3], bl
mov bl, byte [esi + 0x680049d8]
mov byte [eax + 4], bl
movzx edx, dh
mov dl, byte [edx + 0x680049d8]
mov byte [eax + 5], dl
mov edx, dword [ebp - 8]
shr edx, 0x10
movzx edx, dl
mov dl, byte [edx + 0x680049d8]
mov byte [eax + 6], dl
mov edx, dword [ebp - 0xc]
shr edx, 0x18
mov dl, byte [edx + 0x680049d8]
mov byte [eax + 7], dl
mov edx, dword [ebp - 0xc]
movzx esi, dl
mov bl, byte [esi + 0x680049d8]
movzx esi, byte [ebp - 0xf]
mov byte [eax + 8], bl
mov bl, byte [esi + 0x680049d8]
movzx esi, byte [ebp - 0x12]
mov byte [eax + 9], bl
mov bl, byte [esi + 0x680049d8]
movzx esi, byte [ebp - 5]
mov byte [eax + 0xa], bl
mov bl, byte [esi + 0x680049d8]
movzx esi, byte [ebp - 8]
mov byte [eax + 0xb], bl
mov bl, byte [esi + 0x680049d8]
mov edi, dword [eax + 4]
movzx edx, dh
mov byte [eax + 0xc], bl
mov dl, byte [edx + 0x680049d8]
mov ebx, dword [eax]
mov esi, dword [eax + 8]
mov byte [eax + 0xd], dl
movzx edx, byte [ebp - 0xe]
mov dl, byte [edx + 0x680049d8]
mov byte [eax + 0xe], dl
movzx edx, byte [ebp - 0x11]
mov dl, byte [edx + 0x680049d8]
mov byte [eax + 0xf], dl
mov edx, dword [ecx]
xor ebx, edx
mov dword [eax], ebx
mov edx, dword [ecx + 4]
xor edi, edx
mov dword [eax + 4], edi
mov edx, dword [ecx + 8]
xor esi, edx
mov edx, dword [eax + 0xc]
mov dword [eax + 8], esi
mov ecx, dword [ecx + 0xc]
pop edi
xor edx, ecx
mov ecx, dword [ebp - 4]
pop esi
mov dword [eax + 0xc], edx
pop ebx
call fcn.68014cb9
mov esp, ebp
pop ebp
ret 0xc