Function at 0x4580b0
Capabilities:
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov eax, ecx
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
movzx esi, byte [ecx + 1]
shl edx, 8
or edx, esi
movzx esi, byte [ecx + 2]
movzx ebx, byte [ecx + 9]
movzx edi, byte [ecx + 5]
shl edx, 8
or edx, esi
movzx esi, byte [ecx + 3]
shl edx, 8
or edx, esi
movzx esi, byte [ecx + 4]
shl esi, 8
or esi, edi
movzx edi, byte [ecx + 6]
shl esi, 8
or esi, edi
movzx edi, byte [ecx + 7]
shl esi, 8
or esi, edi
movzx edi, byte [ecx + 8]
shl edi, 8
or edi, ebx
movzx ebx, byte [ecx + 0xa]
shl edi, 8
or edi, ebx
movzx ebx, byte [ecx + 0xb]
shl edi, 8
or edi, ebx
movzx ebx, byte [ecx + 0xd]
mov dword [ebp + 8], edi
movzx edi, byte [ecx + 0xc]
shl edi, 8
or edi, ebx
movzx ebx, byte [ecx + 0xe]
movzx ecx, byte [ecx + 0xf]
shl edi, 8
or edi, ebx
mov ebx, dword [eax + 0x3c]
shl edi, 8
or edi, ecx
mov ecx, dword [eax + 0x44]
xor ecx, dword [ebp + 8]
xor ebx, edx
mov edx, dword [eax + 0x40]
mov dword [ebp + 8], ecx
mov ecx, dword [eax + 0x48]
xor ecx, edi
xor edx, esi
mov dword [ebp - 4], ecx
xor ecx, ecx
mov edi, 0x4c1fb8
mov esi, 0x20
and ecx, dword [edi]
add edi, 0x20
dec esi
jne 0x458166
cmp edi, str.ccccwwww
jl 0x458161
or ebx, ecx
mov ecx, dword [ebp + 8]
shr ecx, 8
movzx ecx, cl
mov esi, dword [0x593604]
mov ecx, dword [esi + ecx*4]
mov esi, dword [0x593600]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], edx
shr edx, 0x10
movzx edi, dl
xor ecx, dword [esi + edi*4]
mov edi, dword [0x5935fc]
shr ebx, 0x18
xor ecx, dword [edi + ebx*4]
movzx edi, byte [ebp - 4]
mov ebx, dword [0x593608]
xor ecx, dword [ebx + edi*4]
mov ebx, dword [ebp + 8]
xor ecx, dword [eax + 0x4c]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
shr ecx, 8
movzx ecx, cl
shr ebx, 0x10
movzx edi, bl
mov ebx, dword [0x593604]
mov ecx, dword [ebx + ecx*4]
xor ecx, dword [esi + edi*4]
mov ebx, dword [0x5935fc]
mov edi, edx
shr edi, 0x18
xor ecx, dword [ebx + edi*4]
movzx edi, byte [ebp - 0x10]
mov ebx, dword [0x593608]
xor ecx, dword [ebx + edi*4]
mov ebx, dword [ebp - 0x10]
xor ecx, dword [eax + 0x50]
shr ebx, 8
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 4]
shr ecx, 0x10
movzx ecx, cl
movzx edi, bl
mov ebx, dword [esi + ecx*4]
mov ecx, dword [0x593604]
xor ebx, dword [ecx + edi*4]
mov ecx, dword [ebp + 8]
mov edi, dword [0x5935fc]
shr ecx, 0x18
xor ebx, dword [edi + ecx*4]
mov edi, dword [0x593608]
movzx ecx, dl
xor ebx, dword [edi + ecx*4]
mov ecx, dword [ebp - 4]
shr ecx, 0x18
xor ebx, dword [eax + 0x54]
mov edi, ecx
mov ecx, dword [0x593604]
shr edx, 8
movzx edx, dl
mov edx, dword [ecx + edx*4]
mov ecx, dword [0x5935fc]
xor edx, dword [ecx + edi*4]
mov ecx, dword [ebp - 0x10]
mov edi, dword [0x593608]
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [esi + ecx*4]
movzx ecx, byte [ebp + 8]
xor edx, dword [edi + ecx*4]
mov ecx, dword [ebp - 0x20]
xor edx, dword [eax + 0x58]
mov ecx, dword [ecx + 0x38]
shr ecx, 1
add eax, 0x5c
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], edx
dec ecx
mov dword [ebp - 0x18], ecx
je 0x4584b7
shr ebx, 8
movzx ecx, bl
mov ebx, dword [ebp - 0xc]
shr ebx, 0x10
movzx edi, bl
mov ebx, dword [0x593604]
mov ecx, dword [ebx + ecx*4]
xor ecx, dword [esi + edi*4]
mov edi, dword [ebp - 8]
mov ebx, dword [0x5935fc]
shr edi, 0x18
xor ecx, dword [ebx + edi*4]
mov ebx, dword [0x593608]
movzx edi, dl
xor ecx, dword [ebx + edi*4]
mov ebx, dword [ebp - 0x14]
shr ebx, 0x10
movzx edi, bl
mov ebx, dword [0x593604]
shr edx, 8
movzx edx, dl
mov edx, dword [ebx + edx*4]
xor edx, dword [esi + edi*4]
mov edi, dword [ebp - 0xc]
mov ebx, dword [0x5935fc]
shr edi, 0x18
xor edx, dword [ebx + edi*4]
movzx edi, byte [ebp - 8]
mov ebx, dword [0x593608]
xor edx, dword [ebx + edi*4]
mov ebx, dword [ebp - 0x10]
shr ebx, 0x10
movzx edi, bl
mov esi, dword [esi + edi*4]
mov ebx, dword [ebp - 0x14]
mov edi, dword [0x5935fc]
shr ebx, 0x18
xor esi, dword [edi + ebx*4]
mov ebx, dword [ebp - 8]
mov edi, dword [0x593604]
mov dword [ebp + 8], esi
shr ebx, 8
movzx esi, bl
mov esi, dword [edi + esi*4]
xor dword [ebp + 8], esi
movzx edi, byte [ebp - 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [0x593608]
xor esi, dword [ebx + edi*4]
mov ebx, dword [ebp - 0xc]
xor esi, dword [eax + 8]
shr ebx, 8
mov dword [ebp + 8], esi
mov esi, dword [ebp - 0x10]
movzx edi, bl
mov ebx, dword [0x5935fc]
xor edx, dword [eax + 4]
shr esi, 0x18
mov esi, dword [ebx + esi*4]
mov ebx, dword [0x593604]
xor esi, dword [ebx + edi*4]
mov ebx, dword [ebp - 8]
mov edi, dword [0x593600]
xor ecx, dword [eax]
mov dword [ebp - 0x10], esi
shr ebx, 0x10
movzx esi, bl
mov esi, dword [edi + esi*4]
xor dword [ebp - 0x10], esi
movzx edi, byte [ebp - 0x14]
mov ebx, dword [0x593608]
mov esi, dword [ebp - 0x10]
xor esi, dword [ebx + edi*4]
mov ebx, dword [ebp + 8]
xor esi, dword [eax + 0xc]
shr ebx, 8
mov dword [ebp - 4], esi
movzx esi, bl
mov ebx, edx
shr ebx, 0x10
movzx edi, bl
mov ebx, dword [0x593604]
mov esi, dword [ebx + esi*4]
mov ebx, dword [0x593600]
xor esi, dword [ebx + edi*4]
mov ebx, dword [0x5935fc]
mov edi, ecx
shr edi, 0x18
xor esi, dword [ebx + edi*4]
movzx edi, byte [ebp - 4]
mov ebx, dword [0x593608]
xor esi, dword [ebx + edi*4]
mov ebx, dword [ebp - 4]
xor esi, dword [eax + 0x10]
shr ebx, 8
mov dword [ebp - 8], esi
movzx esi, bl
mov ebx, dword [ebp + 8]
shr ebx, 0x10
movzx edi, bl
mov ebx, dword [0x593604]
mov esi, dword [ebx + esi*4]
mov ebx, dword [0x593600]
xor esi, dword [ebx + edi*4]
mov ebx, dword [0x5935fc]
mov edi, edx
shr edi, 0x18
xor esi, dword [ebx + edi*4]
mov ebx, dword [0x593608]
movzx edi, cl
xor esi, dword [ebx + edi*4]
mov ebx, dword [ebp - 4]
xor esi, dword [eax + 0x14]
shr ebx, 0x10
mov dword [ebp - 0xc], esi
movzx esi, bl
mov ebx, ecx
shr ebx, 8
movzx edi, bl
mov ebx, dword [0x593600]
mov ebx, dword [ebx + esi*4]
mov esi, dword [0x593604]
xor ebx, dword [esi + edi*4]
mov esi, dword [ebp + 8]
mov edi, dword [0x5935fc]
shr esi, 0x18
xor ebx, dword [edi + esi*4]
mov edi, dword [0x593608]
movzx esi, dl
xor ebx, dword [edi + esi*4]
mov edi, dword [0x593604]
xor ebx, dword [eax + 0x18]
shr edx, 8
movzx esi, dl
mov esi, dword [edi + esi*4]
mov edx, dword [ebp - 4]
mov edi, dword [0x5935fc]
shr edx, 0x18
xor esi, dword [edi + edx*4]
mov edi, dword [0x593608]
shr ecx, 0x10
movzx ecx, cl
mov edx, esi
mov esi, dword [0x593600]
xor edx, dword [esi + ecx*4]
movzx ecx, byte [ebp + 8]
xor edx, dword [edi + ecx*4]
add eax, 0x20
xor edx, dword [eax - 4]
dec dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], edx
jne 0x458293
mov ecx, dword [ebp - 0xc]
shr ecx, 0x10
movzx ecx, cl
mov edi, dword [edi + ecx*4]
mov ecx, dword [ebp - 8]
shr ecx, 0x18
and edi, 0xff0000
mov dword [ebp + 8], edi
mov edi, dword [0x593604]
mov ecx, dword [edi + ecx*4]
and ecx, 0xff000000
xor dword [ebp + 8], ecx
mov edi, dword [0x5935fc]
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov edi, dword [edi + ecx*4]
mov ecx, dword [ebp + 8]
and edi, 0xff00
xor ecx, edi
movzx edi, dl
movzx edi, byte [esi + edi*4]
xor ecx, edi
xor ecx, dword [eax]
mov edi, dword [0x593608]
mov dword [ebp - 0x10], ecx
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
mov ecx, dword [edi + ecx*4]
and ecx, 0xff0000
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0xc]
mov edi, dword [0x593604]
shr ecx, 0x18
mov ecx, dword [edi + ecx*4]
and ecx, 0xff000000
xor dword [ebp + 8], ecx
mov edi, dword [0x5935fc]
mov ecx, edx
shr ecx, 8
movzx ecx, cl
mov ecx, dword [edi + ecx*4]
mov edi, dword [ebp + 8]
and ecx, 0xff00
xor edi, ecx
movzx ecx, byte [ebp - 8]
movzx ecx, byte [esi + ecx*4]
xor edi, ecx
xor edi, dword [eax + 4]
mov ecx, edx
shr ecx, 0x10
movzx ecx, cl
mov dword [ebp - 0x20], edi
mov edi, dword [0x593608]
mov ecx, dword [edi + ecx*4]
mov edi, dword [0x593604]
and ecx, 0xff0000
mov dword [ebp + 8], ecx
mov ecx, ebx
shr ecx, 0x18
mov ecx, dword [edi + ecx*4]
mov edi, dword [0x5935fc]
and ecx, 0xff000000
xor dword [ebp + 8], ecx
mov ecx, dword [ebp - 8]
shr ecx, 8
movzx ecx, cl
mov ecx, dword [edi + ecx*4]
mov edi, dword [ebp + 8]
and ecx, 0xff00
xor edi, ecx
movzx ecx, byte [ebp - 0xc]
movzx ecx, byte [esi + ecx*4]
xor edi, ecx
xor edi, dword [eax + 8]
mov ecx, dword [ebp - 8]
shr ecx, 0x10
mov dword [ebp + 8], edi
mov edi, dword [0x593608]
movzx ecx, cl
mov edi, dword [edi + ecx*4]
mov ecx, dword [0x593604]
shr edx, 0x18
mov edx, dword [ecx + edx*4]
mov ecx, dword [ebp - 0xc]
shr ecx, 8
and edx, 0xff000000
movzx ecx, cl
and edi, 0xff0000
xor edi, edx
mov edx, dword [0x5935fc]
mov ecx, dword [edx + ecx*4]
and ecx, 0xff00
xor edi, ecx
movzx edx, bl
movzx ecx, byte [esi + edx*4]
mov edx, dword [ebp + 0xc]
xor edi, ecx
xor edi, dword [eax + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push edi
push ecx
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
push edx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00458030
mov ecx, eax
call fcn.00458030
mov ecx, eax
call fcn.00458030
mov ecx, eax
call fcn.00458030
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc