Function at 0x4c20e0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5f5618]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x84]
shl ecx, 4
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov edx, dword [edx]
xor edx, dword [eax + ecx + 0x88]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x84]
shl ecx, 4
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov edx, dword [edx + 4]
xor edx, dword [eax + ecx + 0x8c]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x84]
shl ecx, 4
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov edx, dword [edx + 8]
xor edx, dword [eax + ecx + 0x90]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x84]
shl ecx, 4
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov edx, dword [edx + 0xc]
xor edx, dword [eax + ecx + 0x94]
mov dword [ebp - 8], edx
movzx eax, byte [ebp - 0x14]
movzx ecx, byte [ebp - 7]
mov edx, dword [eax*4 + 0x5f0e00]
xor edx, dword [ecx*4 + 0x5f1200]
movzx eax, byte [ebp - 0xa]
xor edx, dword [eax*4 + 0x5f1600]
movzx ecx, byte [ebp - 0xd]
xor edx, dword [ecx*4 + 0x5f1a00]
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
movzx ecx, byte [ebp - 0x10]
movzx edx, byte [ebp - 0x13]
mov eax, dword [ecx*4 + 0x5f0e00]
xor eax, dword [edx*4 + 0x5f1200]
movzx ecx, byte [ebp - 6]
xor eax, dword [ecx*4 + 0x5f1600]
movzx edx, byte [ebp - 9]
xor eax, dword [edx*4 + 0x5f1a00]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
movzx edx, byte [ebp - 0xc]
movzx eax, byte [ebp - 0xf]
mov ecx, dword [edx*4 + 0x5f0e00]
xor ecx, dword [eax*4 + 0x5f1200]
movzx edx, byte [ebp - 0x12]
xor ecx, dword [edx*4 + 0x5f1600]
movzx eax, byte [ebp - 5]
xor ecx, dword [eax*4 + 0x5f1a00]
mov edx, dword [ebp + 0xc]
mov dword [edx + 8], ecx
movzx eax, byte [ebp - 8]
movzx ecx, byte [ebp - 0xb]
mov edx, dword [eax*4 + 0x5f0e00]
xor edx, dword [ecx*4 + 0x5f1200]
movzx eax, byte [ebp - 0xe]
xor edx, dword [eax*4 + 0x5f1600]
movzx ecx, byte [ebp - 0x11]
xor edx, dword [ecx*4 + 0x5f1a00]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x84]
sub edx, 1
mov dword [ebp - 0x18], edx
jmp 0x4c224f
mov eax, dword [ebp - 0x18]
sub eax, 1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jle 0x4c2388
mov ecx, dword [ebp - 0x18]
shl ecx, 4
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
mov edx, dword [edx]
xor edx, dword [eax + ecx + 0x88]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
shl eax, 4
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 4]
xor ecx, dword [edx + eax + 0x8c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x18]
shl edx, 4
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
xor eax, dword [ecx + edx + 0x90]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x18]
shl ecx, 4
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
mov edx, dword [edx + 0xc]
xor edx, dword [eax + ecx + 0x94]
mov dword [ebp - 8], edx
movzx eax, byte [ebp - 0x14]
movzx ecx, byte [ebp - 7]
mov edx, dword [eax*4 + 0x5f0e00]
xor edx, dword [ecx*4 + 0x5f1200]
movzx eax, byte [ebp - 0xa]
xor edx, dword [eax*4 + 0x5f1600]
movzx ecx, byte [ebp - 0xd]
xor edx, dword [ecx*4 + 0x5f1a00]
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
movzx ecx, byte [ebp - 0x10]
movzx edx, byte [ebp - 0x13]
mov eax, dword [ecx*4 + 0x5f0e00]
xor eax, dword [edx*4 + 0x5f1200]
movzx ecx, byte [ebp - 6]
xor eax, dword [ecx*4 + 0x5f1600]
movzx edx, byte [ebp - 9]
xor eax, dword [edx*4 + 0x5f1a00]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
movzx edx, byte [ebp - 0xc]
movzx eax, byte [ebp - 0xf]
mov ecx, dword [edx*4 + 0x5f0e00]
xor ecx, dword [eax*4 + 0x5f1200]
movzx edx, byte [ebp - 0x12]
xor ecx, dword [edx*4 + 0x5f1600]
movzx eax, byte [ebp - 5]
xor ecx, dword [eax*4 + 0x5f1a00]
mov edx, dword [ebp + 0xc]
mov dword [edx + 8], ecx
movzx eax, byte [ebp - 8]
movzx ecx, byte [ebp - 0xb]
mov edx, dword [eax*4 + 0x5f0e00]
xor edx, dword [ecx*4 + 0x5f1200]
movzx eax, byte [ebp - 0xe]
xor edx, dword [eax*4 + 0x5f1600]
movzx ecx, byte [ebp - 0x11]
xor edx, dword [ecx*4 + 0x5f1a00]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xc], edx
jmp 0x4c2246
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ecx]
xor eax, dword [edx + 0x98]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ecx + 4]
xor eax, dword [edx + 0x9c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ecx + 8]
xor eax, dword [edx + 0xa0]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0xc]
xor eax, dword [edx + 0xa4]
mov dword [ebp - 8], eax
movzx ecx, byte [ebp - 0x14]
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x5f1e00]
mov byte [edx], al
movzx ecx, byte [ebp - 7]
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x5f1e00]
mov byte [edx + 1], al
movzx ecx, byte [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x5f1e00]
mov byte [edx + 2], al
movzx ecx, byte [ebp - 0xd]
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x5f1e00]
mov byte [edx + 3], al
movzx ecx, byte [ebp - 0x10]
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x5f1e00]
mov byte [edx + 4], al
movzx ecx, byte [ebp - 0x13]
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x5f1e00]
mov byte [edx + 5], al
movzx ecx, byte [ebp - 6]
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x5f1e00]
mov byte [edx + 6], al
movzx ecx, byte [ebp - 9]
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x5f1e00]
mov byte [edx + 7], al
movzx ecx, byte [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x5f1e00]
mov byte [edx + 8], al
movzx ecx, byte [ebp - 0xf]
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x5f1e00]
mov byte [edx + 9], al
movzx ecx, byte [ebp - 0x12]
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x5f1e00]
mov byte [edx + 0xa], al
movzx ecx, byte [ebp - 5]
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x5f1e00]
mov byte [edx + 0xb], al
movzx ecx, byte [ebp - 8]
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x5f1e00]
mov byte [edx + 0xc], al
movzx ecx, byte [ebp - 0xb]
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x5f1e00]
mov byte [edx + 0xd], al
movzx ecx, byte [ebp - 0xe]
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x5f1e00]
mov byte [edx + 0xe], al
movzx ecx, byte [ebp - 0x11]
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x5f1e00]
mov byte [edx + 0xf], al
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ecx]
xor eax, dword [edx + 0x88]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [edx + 4]
xor ecx, dword [eax + 0x8c]
mov edx, dword [ebp + 0xc]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [eax + 8]
xor edx, dword [ecx + 0x90]
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0xc]
xor eax, dword [edx + 0x94]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00541cc8
mov esp, ebp
pop ebp
ret 8