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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x733fb8
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x819540]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x140], ecx
mov eax, dword [ebp - 0x140]
movzx ecx, byte [eax + 4]
test ecx, ecx
jne 0x4cc9a4
mov edx, dword [str.FileCrypt_ERROR:_Encryption_Decryption_Object_not_Initialized_]
push edx
lea ecx, [ebp - 0x7c]
call fcn.00419e90
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x148], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x148]
push ecx
lea ecx, [ebp - 0x60]
call fcn.004c23d0
push 0x7eb13c
lea edx, [ebp - 0x60]
push edx
call fcn.005b3dd1
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x7c]
call fcn.0041a030
mov eax, dword [ebp - 0x140]
add eax, 0x38
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
shl edx, 0x18
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
shl edx, 0x10
or edx, dword [ebp - 0x34]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
shl edx, 8
or edx, dword [ebp - 0x34]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
or edx, dword [ebp - 0x34]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x34]
xor edx, dword [ecx]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
shl ecx, 0x18
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
shl ecx, 0x10
or ecx, dword [ebp - 0x20]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
shl ecx, 8
or ecx, dword [ebp - 0x20]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
or ecx, dword [ebp - 0x20]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
xor ecx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
shl eax, 0x18
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
shl eax, 0x10
or eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
shl eax, 8
or eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
or eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
xor eax, dword [edx + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
shl edx, 0x18
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
shl edx, 0x10
or edx, dword [ebp - 0x18]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
shl edx, 8
or edx, dword [ebp - 0x18]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
or edx, dword [ebp - 0x18]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
xor edx, dword [ecx + 0xc]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x38], 1
jmp 0x4ccb59
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x140]
mov edx, dword [ebp - 0x38]
cmp edx, dword [ecx + 0x3d8]
jge 0x4cccdf
mov eax, dword [ebp - 0x38]
shl eax, 5
mov ecx, dword [ebp - 0x140]
lea edx, [ecx + eax + 0x38]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x34]
sar eax, 0x18
and eax, 0xff
mov ecx, dword [ebp - 0x20]
sar ecx, 0x10
and ecx, 0xff
mov edx, dword [eax*4 + 0x762c98]
xor edx, dword [ecx*4 + 0x763098]
mov eax, dword [ebp - 0x14]
sar eax, 8
and eax, 0xff
xor edx, dword [eax*4 + 0x763498]
mov ecx, dword [ebp - 0x18]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x763898]
mov eax, dword [ebp - 0x1c]
xor edx, dword [eax]
mov dword [ebp - 0x30], edx
mov ecx, dword [ebp - 0x20]
sar ecx, 0x18
and ecx, 0xff
mov edx, dword [ebp - 0x14]
sar edx, 0x10
and edx, 0xff
mov eax, dword [ecx*4 + 0x762c98]
xor eax, dword [edx*4 + 0x763098]
mov ecx, dword [ebp - 0x18]
sar ecx, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x763498]
mov edx, dword [ebp - 0x34]
and edx, 0xff
xor eax, dword [edx*4 + 0x763898]
mov ecx, dword [ebp - 0x1c]
xor eax, dword [ecx + 4]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x14]
sar edx, 0x18
and edx, 0xff
mov eax, dword [ebp - 0x18]
sar eax, 0x10
and eax, 0xff
mov ecx, dword [edx*4 + 0x762c98]
xor ecx, dword [eax*4 + 0x763098]
mov edx, dword [ebp - 0x34]
sar edx, 8
and edx, 0xff
xor ecx, dword [edx*4 + 0x763498]
mov eax, dword [ebp - 0x20]
and eax, 0xff
xor ecx, dword [eax*4 + 0x763898]
mov edx, dword [ebp - 0x1c]
xor ecx, dword [edx + 8]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x18]
sar eax, 0x18
and eax, 0xff
mov ecx, dword [ebp - 0x34]
sar ecx, 0x10
and ecx, 0xff
mov edx, dword [eax*4 + 0x762c98]
xor edx, dword [ecx*4 + 0x763098]
mov eax, dword [ebp - 0x20]
sar eax, 8
and eax, 0xff
xor edx, dword [eax*4 + 0x763498]
mov ecx, dword [ebp - 0x14]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x763898]
mov eax, dword [ebp - 0x1c]
xor edx, dword [eax + 0xc]
mov dword [ebp - 0x28], edx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x18], ecx
jmp 0x4ccb50
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 0x3d8]
shl eax, 5
mov ecx, dword [ebp - 0x140]
lea edx, [ecx + eax + 0x38]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x34]
sar edx, 0x18
and edx, 0xff
movsx eax, byte [edx + str.cw]
mov ecx, dword [ebp - 0x24]
sar ecx, 0x18
xor eax, ecx
mov edx, dword [ebp + 0xc]
mov byte [edx], al
mov eax, dword [ebp - 0x20]
sar eax, 0x10
and eax, 0xff
movsx ecx, byte [eax + str.cw]
mov edx, dword [ebp - 0x24]
sar edx, 0x10
xor ecx, edx
mov eax, dword [ebp + 0xc]
mov byte [eax + 1], cl
mov ecx, dword [ebp - 0x14]
sar ecx, 8
and ecx, 0xff
movsx edx, byte [ecx + str.cw]
mov eax, dword [ebp - 0x24]
sar eax, 8
xor edx, eax
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 2], dl
mov edx, dword [ebp - 0x18]
and edx, 0xff
movsx eax, byte [edx + str.cw]
xor eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 3], al
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
sar ecx, 0x18
and ecx, 0xff
movsx edx, byte [ecx + str.cw]
mov eax, dword [ebp - 0x24]
sar eax, 0x18
xor edx, eax
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 4], dl
mov edx, dword [ebp - 0x14]
sar edx, 0x10
and edx, 0xff
movsx eax, byte [edx + str.cw]
mov ecx, dword [ebp - 0x24]
sar ecx, 0x10
xor eax, ecx
mov edx, dword [ebp + 0xc]
mov byte [edx + 5], al
mov eax, dword [ebp - 0x18]
sar eax, 8
and eax, 0xff
movsx ecx, byte [eax + str.cw]
mov edx, dword [ebp - 0x24]
sar edx, 8
xor ecx, edx
mov eax, dword [ebp + 0xc]
mov byte [eax + 6], cl
mov ecx, dword [ebp - 0x34]
and ecx, 0xff
movsx edx, byte [ecx + str.cw]
xor edx, dword [ebp - 0x24]
mov eax, dword [ebp + 0xc]
mov byte [eax + 7], dl
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x14]
sar eax, 0x18
and eax, 0xff
movsx ecx, byte [eax + str.cw]
mov edx, dword [ebp - 0x24]
sar edx, 0x18
xor ecx, edx
mov eax, dword [ebp + 0xc]
mov byte [eax + 8], cl
mov ecx, dword [ebp - 0x18]
sar ecx, 0x10
and ecx, 0xff
movsx edx, byte [ecx + str.cw]
mov eax, dword [ebp - 0x24]
sar eax, 0x10
xor edx, eax
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 9], dl
mov edx, dword [ebp - 0x34]
sar edx, 8
and edx, 0xff
movsx eax, byte [edx + str.cw]
mov ecx, dword [ebp - 0x24]
sar ecx, 8
xor eax, ecx
mov edx, dword [ebp + 0xc]
mov byte [edx + 0xa], al
mov eax, dword [ebp - 0x20]
and eax, 0xff
movsx ecx, byte [eax + str.cw]
xor ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 0xc]
mov byte [edx + 0xb], cl
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x18]
sar edx, 0x18
and edx, 0xff
movsx eax, byte [edx + str.cw]
mov ecx, dword [ebp - 0x24]
sar ecx, 0x18
xor eax, ecx
mov edx, dword [ebp + 0xc]
mov byte [edx + 0xc], al
mov eax, dword [ebp - 0x34]
sar eax, 0x10
and eax, 0xff
movsx ecx, byte [eax + str.cw]
mov edx, dword [ebp - 0x24]
sar edx, 0x10
xor ecx, edx
mov eax, dword [ebp + 0xc]
mov byte [eax + 0xd], cl
mov ecx, dword [ebp - 0x20]
sar ecx, 8
and ecx, 0xff
movsx edx, byte [ecx + str.cw]
mov eax, dword [ebp - 0x24]
sar eax, 8
xor edx, eax
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0xe], dl
mov edx, dword [ebp - 0x14]
and edx, 0xff
movsx eax, byte [edx + str.cw]
xor eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0xf], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8