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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xa0
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [edx]
xor ecx, dword [eax]
mov edx, dword [ebp - 8]
mov dword [edx], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 4]
xor edx, dword [ecx + 4]
mov eax, dword [ebp - 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 8]
xor eax, dword [edx + 8]
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + 0xc]
xor ecx, dword [eax + 0xc]
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], ecx
mov dword [ebp - 0xc], 0
jmp 0x4bab33
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xa
jge 0x4bae45
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov al, byte [edx + 0xd]
mov byte [ebp - 0xd], al
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov al, byte [edx + 9]
mov byte [ecx + 0xd], al
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov al, byte [edx + 5]
mov byte [ecx + 9], al
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov al, byte [edx + 1]
mov byte [ecx + 5], al
mov ecx, dword [ebp - 0x14]
mov dl, byte [ebp - 0xd]
mov byte [ecx + 1], dl
mov eax, dword [ebp - 0x14]
mov cl, byte [eax + 2]
mov byte [ebp - 0xd], cl
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov cl, byte [eax + 0xa]
mov byte [edx + 2], cl
mov edx, dword [ebp - 0x14]
mov al, byte [ebp - 0xd]
mov byte [edx + 0xa], al
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx + 6]
mov byte [ebp - 0xd], dl
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx + 0xe]
mov byte [eax + 6], dl
mov eax, dword [ebp - 0x14]
mov cl, byte [ebp - 0xd]
mov byte [eax + 0xe], cl
mov edx, dword [ebp - 0x14]
mov al, byte [edx + 3]
mov byte [ebp - 0xd], al
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov al, byte [edx + 7]
mov byte [ecx + 3], al
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov al, byte [edx + 0xb]
mov byte [ecx + 7], al
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov al, byte [edx + 0xf]
mov byte [ecx + 0xb], al
mov ecx, dword [ebp - 0x14]
mov dl, byte [ebp - 0xd]
mov byte [ecx + 0xf], dl
mov dword [ebp - 0x18], 0
jmp 0x4babfd
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x10
jge 0x4bac1c
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x18]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x18]
mov cl, byte [edx + 0x566ba8]
mov byte [eax], cl
jmp 0x4babf4
mov edx, 0xa
sub edx, dword [ebp - 0xc]
sub edx, 2
shl edx, 4
mov eax, dword [ebp - 0x24]
lea ecx, [eax + edx + 0x10]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [edx]
xor ecx, dword [eax]
mov edx, dword [ebp - 8]
mov dword [edx], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 4]
xor edx, dword [ecx + 4]
mov eax, dword [ebp - 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 8]
xor eax, dword [edx + 8]
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + 0xc]
xor ecx, dword [eax + 0xc]
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], ecx
cmp dword [ebp - 0xc], 9
jge 0x4bae40
mov dword [ebp - 0x20], 0
jmp 0x4bac95
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 4
jge 0x4bae40
push 0xe
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx]
push edx
call fcn.004baa80
add esp, 8
movzx ebx, al
push 0xb
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 1]
push ecx
call fcn.004baa80
add esp, 8
movzx edx, al
xor ebx, edx
push 0xd
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 2]
push ecx
call fcn.004baa80
add esp, 8
movzx edx, al
xor ebx, edx
push 9
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 3]
push ecx
call fcn.004baa80
add esp, 8
movzx edx, al
xor ebx, edx
mov byte [ebp - 0x1b], bl
push 9
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax]
push ecx
call fcn.004baa80
add esp, 8
movzx ebx, al
push 0xe
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 1]
push eax
call fcn.004baa80
add esp, 8
movzx ecx, al
xor ebx, ecx
push 0xb
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 2]
push eax
call fcn.004baa80
add esp, 8
movzx ecx, al
xor ebx, ecx
push 0xd
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 3]
push eax
call fcn.004baa80
add esp, 8
movzx ecx, al
xor ebx, ecx
mov byte [ebp - 0x1c], bl
push 0xd
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx]
push eax
call fcn.004baa80
add esp, 8
movzx ebx, al
push 9
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 1]
push edx
call fcn.004baa80
add esp, 8
movzx eax, al
xor ebx, eax
push 0xe
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 2]
push edx
call fcn.004baa80
add esp, 8
movzx eax, al
xor ebx, eax
push 0xb
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 3]
push edx
call fcn.004baa80
add esp, 8
movzx eax, al
xor ebx, eax
mov byte [ebp - 0x19], bl
push 0xb
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx]
push edx
call fcn.004baa80
add esp, 8
movzx ebx, al
push 0xd
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 1]
push ecx
call fcn.004baa80
add esp, 8
movzx edx, al
xor ebx, edx
push 9
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 2]
push ecx
call fcn.004baa80
add esp, 8
movzx edx, al
xor ebx, edx
push 0xe
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 3]
push ecx
call fcn.004baa80
add esp, 8
movzx edx, al
xor ebx, edx
mov byte [ebp - 0x1a], bl
mov eax, dword [ebp - 0x14]
mov cl, byte [ebp - 0x1b]
mov byte [eax], cl
mov edx, dword [ebp - 0x14]
mov al, byte [ebp - 0x1c]
mov byte [edx + 1], al
mov ecx, dword [ebp - 0x14]
mov dl, byte [ebp - 0x19]
mov byte [ecx + 2], dl
mov eax, dword [ebp - 0x14]
mov cl, byte [ebp - 0x1a]
mov byte [eax + 3], cl
mov edx, dword [ebp - 0x14]
add edx, 4
mov dword [ebp - 0x14], edx
jmp 0x4bac8c
jmp 0x4bab2a
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4