Function at 0x4048e0
Capabilities:
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [ebp + 8], 0
je 0x4048f8
cmp dword [ebp + 0xc], 0
je 0x4048f8
cmp dword [ebp + 0x10], 0
jne 0x404900
or eax, 0xffffffff
jmp 0x404e46
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
rol edx, 8
and edx, 0xff00ff
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
ror ecx, 8
and ecx, 0xff00ff00
or edx, ecx
mov eax, dword [ebp - 0x24]
xor edx, dword [eax]
mov dword [ebp - 8], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
rol edx, 8
and edx, 0xff00ff
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
ror ecx, 8
and ecx, 0xff00ff00
or edx, ecx
mov eax, dword [ebp - 0x24]
xor edx, dword [eax + 4]
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
rol edx, 8
and edx, 0xff00ff
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
ror ecx, 8
and ecx, 0xff00ff00
or edx, ecx
mov eax, dword [ebp - 0x24]
xor edx, dword [eax + 8]
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
rol edx, 8
and edx, 0xff00ff
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
ror ecx, 8
and ecx, 0xff00ff00
or edx, ecx
mov eax, dword [ebp - 0x24]
xor edx, dword [eax + 0xc]
mov dword [ebp - 4], edx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0xf0]
sar edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 8]
shr eax, 0x18
mov ecx, dword [ebp - 0x18]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [eax*4 + 0x4831a8]
xor edx, dword [ecx*4 + 0x4835a8]
mov eax, dword [ebp - 0x14]
shr eax, 8
and eax, 0xff
xor edx, dword [eax*4 + 0x4839a8]
mov ecx, dword [ebp - 4]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x483da8]
mov eax, dword [ebp - 0x24]
xor edx, dword [eax + 0x10]
mov dword [ebp - 0x28], edx
mov ecx, dword [ebp - 0x18]
shr ecx, 0x18
mov edx, dword [ebp - 0x14]
shr edx, 0x10
and edx, 0xff
mov eax, dword [ecx*4 + 0x4831a8]
xor eax, dword [edx*4 + 0x4835a8]
mov ecx, dword [ebp - 4]
shr ecx, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x4839a8]
mov edx, dword [ebp - 8]
and edx, 0xff
xor eax, dword [edx*4 + 0x483da8]
mov ecx, dword [ebp - 0x24]
xor eax, dword [ecx + 0x14]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x14]
shr edx, 0x18
mov eax, dword [ebp - 4]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [edx*4 + 0x4831a8]
xor ecx, dword [eax*4 + 0x4835a8]
mov edx, dword [ebp - 8]
shr edx, 8
and edx, 0xff
xor ecx, dword [edx*4 + 0x4839a8]
mov eax, dword [ebp - 0x18]
and eax, 0xff
xor ecx, dword [eax*4 + 0x483da8]
mov edx, dword [ebp - 0x24]
xor ecx, dword [edx + 0x18]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 4]
shr eax, 0x18
mov ecx, dword [ebp - 8]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [eax*4 + 0x4831a8]
xor edx, dword [ecx*4 + 0x4835a8]
mov eax, dword [ebp - 0x18]
shr eax, 8
and eax, 0xff
xor edx, dword [eax*4 + 0x4839a8]
mov ecx, dword [ebp - 0x14]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x483da8]
mov eax, dword [ebp - 0x24]
xor edx, dword [eax + 0x1c]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x24]
add ecx, 0x20
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x20]
sub edx, 1
mov dword [ebp - 0x20], edx
jne 0x404afa
jmp 0x404c2a
mov eax, dword [ebp - 0x28]
shr eax, 0x18
mov ecx, dword [ebp - 0x1c]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [eax*4 + 0x4831a8]
xor edx, dword [ecx*4 + 0x4835a8]
mov eax, dword [ebp - 0xc]
shr eax, 8
and eax, 0xff
xor edx, dword [eax*4 + 0x4839a8]
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x483da8]
mov eax, dword [ebp - 0x24]
xor edx, dword [eax]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 0x1c]
shr ecx, 0x18
mov edx, dword [ebp - 0xc]
shr edx, 0x10
and edx, 0xff
mov eax, dword [ecx*4 + 0x4831a8]
xor eax, dword [edx*4 + 0x4835a8]
mov ecx, dword [ebp - 0x10]
shr ecx, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x4839a8]
mov edx, dword [ebp - 0x28]
and edx, 0xff
xor eax, dword [edx*4 + 0x483da8]
mov ecx, dword [ebp - 0x24]
xor eax, dword [ecx + 4]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0xc]
shr edx, 0x18
mov eax, dword [ebp - 0x10]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [edx*4 + 0x4831a8]
xor ecx, dword [eax*4 + 0x4835a8]
mov edx, dword [ebp - 0x28]
shr edx, 8
and edx, 0xff
xor ecx, dword [edx*4 + 0x4839a8]
mov eax, dword [ebp - 0x1c]
and eax, 0xff
xor ecx, dword [eax*4 + 0x483da8]
mov edx, dword [ebp - 0x24]
xor ecx, dword [edx + 8]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x10]
shr eax, 0x18
mov ecx, dword [ebp - 0x28]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [eax*4 + 0x4831a8]
xor edx, dword [ecx*4 + 0x4835a8]
mov eax, dword [ebp - 0x1c]
shr eax, 8
and eax, 0xff
xor edx, dword [eax*4 + 0x4839a8]
mov ecx, dword [ebp - 0xc]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x483da8]
mov eax, dword [ebp - 0x24]
xor edx, dword [eax + 0xc]
mov dword [ebp - 4], edx
jmp 0x4049b5
mov ecx, dword [ebp - 0x28]
shr ecx, 0x18
mov edx, dword [ecx*4 + 0x4839a8]
and edx, 0xff000000
mov eax, dword [ebp - 0x1c]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [eax*4 + 0x483da8]
and ecx, 0xff0000
xor edx, ecx
mov eax, dword [ebp - 0xc]
shr eax, 8
and eax, 0xff
mov ecx, dword [eax*4 + 0x4831a8]
and ecx, 0xff00
xor edx, ecx
mov eax, dword [ebp - 0x10]
and eax, 0xff
mov ecx, dword [eax*4 + 0x4835a8]
and ecx, 0xff
xor edx, ecx
mov eax, dword [ebp - 0x24]
xor edx, dword [eax]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
rol ecx, 8
and ecx, 0xff00ff
mov edx, dword [ebp - 8]
ror edx, 8
and edx, 0xff00ff00
or ecx, edx
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x1c]
shr ecx, 0x18
mov edx, dword [ecx*4 + 0x4839a8]
and edx, 0xff000000
mov eax, dword [ebp - 0xc]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [eax*4 + 0x483da8]
and ecx, 0xff0000
xor edx, ecx
mov eax, dword [ebp - 0x10]
shr eax, 8
and eax, 0xff
mov ecx, dword [eax*4 + 0x4831a8]
and ecx, 0xff00
xor edx, ecx
mov eax, dword [ebp - 0x28]
and eax, 0xff
mov ecx, dword [eax*4 + 0x4835a8]
and ecx, 0xff
xor edx, ecx
mov eax, dword [ebp - 0x24]
xor edx, dword [eax + 4]
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp - 0x18]
rol ecx, 8
and ecx, 0xff00ff
mov edx, dword [ebp - 0x18]
ror edx, 8
and edx, 0xff00ff00
or ecx, edx
mov eax, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0xc]
shr ecx, 0x18
mov edx, dword [ecx*4 + 0x4839a8]
and edx, 0xff000000
mov eax, dword [ebp - 0x10]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [eax*4 + 0x483da8]
and ecx, 0xff0000
xor edx, ecx
mov eax, dword [ebp - 0x28]
shr eax, 8
and eax, 0xff
mov ecx, dword [eax*4 + 0x4831a8]
and ecx, 0xff00
xor edx, ecx
mov eax, dword [ebp - 0x1c]
and eax, 0xff
mov ecx, dword [eax*4 + 0x4835a8]
and ecx, 0xff
xor edx, ecx
mov eax, dword [ebp - 0x24]
xor edx, dword [eax + 8]
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x14]
rol ecx, 8
and ecx, 0xff00ff
mov edx, dword [ebp - 0x14]
ror edx, 8
and edx, 0xff00ff00
or ecx, edx
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x10]
shr ecx, 0x18
mov edx, dword [ecx*4 + 0x4839a8]
and edx, 0xff000000
mov eax, dword [ebp - 0x28]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [eax*4 + 0x483da8]
and ecx, 0xff0000
xor edx, ecx
mov eax, dword [ebp - 0x1c]
shr eax, 8
and eax, 0xff
mov ecx, dword [eax*4 + 0x4831a8]
and ecx, 0xff00
xor edx, ecx
mov eax, dword [ebp - 0xc]
and eax, 0xff
mov ecx, dword [eax*4 + 0x4835a8]
and ecx, 0xff
xor edx, ecx
mov eax, dword [ebp - 0x24]
xor edx, dword [eax + 0xc]
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
rol ecx, 8
and ecx, 0xff00ff
mov edx, dword [ebp - 4]
ror edx, 8
and edx, 0xff00ff00
or ecx, edx
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xc], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret