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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
push ebx
push esi
push edi
lea edi, [ebp - 0x138]
mov ecx, 0x4e
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
rol ecx, 8
and ecx, 0xff00ff
mov edx, dword [ebp + 8]
mov eax, dword [edx]
ror eax, 8
and eax, 0xff00ff00
or ecx, eax
mov edx, dword [ebp - 8]
xor ecx, dword [edx]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
rol ecx, 8
and ecx, 0xff00ff
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
ror eax, 8
and eax, 0xff00ff00
or ecx, eax
mov edx, dword [ebp - 8]
xor ecx, dword [edx + 4]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
rol ecx, 8
and ecx, 0xff00ff
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
ror eax, 8
and eax, 0xff00ff00
or ecx, eax
mov edx, dword [ebp - 8]
xor ecx, dword [edx + 8]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
rol ecx, 8
and ecx, 0xff00ff
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
ror eax, 8
and eax, 0xff00ff00
or ecx, eax
mov edx, dword [ebp - 8]
xor ecx, dword [edx + 0xc]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0xf0]
sar ecx, 1
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp - 0x14]
shr eax, 0x18
mov ecx, dword [ebp - 0x38]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [eax*4 + 0x10151fb0]
xor edx, dword [ecx*4 + 0x101523b0]
mov eax, dword [ebp - 0x2c]
shr eax, 8
and eax, 0xff
xor edx, dword [eax*4 + 0x101527b0]
mov ecx, dword [ebp - 0x20]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x10152bb0]
mov eax, dword [ebp - 8]
xor edx, dword [eax + 0x10]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x20]
shr eax, 0x18
mov ecx, dword [ebp - 0x14]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [eax*4 + 0x10151fb0]
xor edx, dword [ecx*4 + 0x101523b0]
mov eax, dword [ebp - 0x38]
shr eax, 8
and eax, 0xff
xor edx, dword [eax*4 + 0x101527b0]
mov ecx, dword [ebp - 0x2c]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x10152bb0]
mov eax, dword [ebp - 8]
xor edx, dword [eax + 0x14]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x2c]
shr eax, 0x18
mov ecx, dword [ebp - 0x20]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [eax*4 + 0x10151fb0]
xor edx, dword [ecx*4 + 0x101523b0]
mov eax, dword [ebp - 0x14]
shr eax, 8
and eax, 0xff
xor edx, dword [eax*4 + 0x101527b0]
mov ecx, dword [ebp - 0x38]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x10152bb0]
mov eax, dword [ebp - 8]
xor edx, dword [eax + 0x18]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x38]
shr eax, 0x18
mov ecx, dword [ebp - 0x2c]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [eax*4 + 0x10151fb0]
xor edx, dword [ecx*4 + 0x101523b0]
mov eax, dword [ebp - 0x20]
shr eax, 8
and eax, 0xff
xor edx, dword [eax*4 + 0x101527b0]
mov ecx, dword [ebp - 0x14]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x10152bb0]
mov eax, dword [ebp - 8]
xor edx, dword [eax + 0x1c]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x74]
sub eax, 1
mov dword [ebp - 0x74], eax
jne 0x10046034
jmp 0x10046164
mov eax, dword [ebp - 0x44]
shr eax, 0x18
mov ecx, dword [ebp - 0x68]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [eax*4 + 0x10151fb0]
xor edx, dword [ecx*4 + 0x101523b0]
mov eax, dword [ebp - 0x5c]
shr eax, 8
and eax, 0xff
xor edx, dword [eax*4 + 0x101527b0]
mov ecx, dword [ebp - 0x50]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x10152bb0]
mov eax, dword [ebp - 8]
xor edx, dword [eax]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x50]
shr eax, 0x18
mov ecx, dword [ebp - 0x44]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [eax*4 + 0x10151fb0]
xor edx, dword [ecx*4 + 0x101523b0]
mov eax, dword [ebp - 0x68]
shr eax, 8
and eax, 0xff
xor edx, dword [eax*4 + 0x101527b0]
mov ecx, dword [ebp - 0x5c]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x10152bb0]
mov eax, dword [ebp - 8]
xor edx, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x5c]
shr eax, 0x18
mov ecx, dword [ebp - 0x50]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [eax*4 + 0x10151fb0]
xor edx, dword [ecx*4 + 0x101523b0]
mov eax, dword [ebp - 0x44]
shr eax, 8
and eax, 0xff
xor edx, dword [eax*4 + 0x101527b0]
mov ecx, dword [ebp - 0x68]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x10152bb0]
mov eax, dword [ebp - 8]
xor edx, dword [eax + 8]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x68]
shr eax, 0x18
mov ecx, dword [ebp - 0x5c]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [eax*4 + 0x10151fb0]
xor edx, dword [ecx*4 + 0x101523b0]
mov eax, dword [ebp - 0x50]
shr eax, 8
and eax, 0xff
xor edx, dword [eax*4 + 0x101527b0]
mov ecx, dword [ebp - 0x44]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x10152bb0]
mov eax, dword [ebp - 8]
xor edx, dword [eax + 0xc]
mov dword [ebp - 0x38], edx
jmp 0x10045eef
mov eax, dword [ebp - 0x44]
shr eax, 0x18
movzx ecx, byte [eax + 0x10152fb0]
shl ecx, 0x18
mov edx, dword [ebp - 0x68]
shr edx, 0x10
and edx, 0xff
movzx eax, byte [edx + 0x10152fb0]
shl eax, 0x10
xor ecx, eax
mov edx, dword [ebp - 0x5c]
shr edx, 8
and edx, 0xff
movzx eax, byte [edx + 0x10152fb0]
shl eax, 8
xor ecx, eax
mov edx, dword [ebp - 0x50]
and edx, 0xff
movzx eax, byte [edx + 0x10152fb0]
xor ecx, eax
mov edx, dword [ebp - 8]
xor ecx, dword [edx]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
rol eax, 8
and eax, 0xff00ff
mov ecx, dword [ebp - 0x14]
ror ecx, 8
and ecx, 0xff00ff00
or eax, ecx
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0x50]
shr eax, 0x18
movzx ecx, byte [eax + 0x10152fb0]
shl ecx, 0x18
mov edx, dword [ebp - 0x44]
shr edx, 0x10
and edx, 0xff
movzx eax, byte [edx + 0x10152fb0]
shl eax, 0x10
xor ecx, eax
mov edx, dword [ebp - 0x68]
shr edx, 8
and edx, 0xff
movzx eax, byte [edx + 0x10152fb0]
shl eax, 8
xor ecx, eax
mov edx, dword [ebp - 0x5c]
and edx, 0xff
movzx eax, byte [edx + 0x10152fb0]
xor ecx, eax
mov edx, dword [ebp - 8]
xor ecx, dword [edx + 4]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
rol eax, 8
and eax, 0xff00ff
mov ecx, dword [ebp - 0x20]
ror ecx, 8
and ecx, 0xff00ff00
or eax, ecx
mov edx, dword [ebp + 0xc]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x5c]
shr eax, 0x18
movzx ecx, byte [eax + 0x10152fb0]
shl ecx, 0x18
mov edx, dword [ebp - 0x50]
shr edx, 0x10
and edx, 0xff
movzx eax, byte [edx + 0x10152fb0]
shl eax, 0x10
xor ecx, eax
mov edx, dword [ebp - 0x44]
shr edx, 8
and edx, 0xff
movzx eax, byte [edx + 0x10152fb0]
shl eax, 8
xor ecx, eax
mov edx, dword [ebp - 0x68]
and edx, 0xff
movzx eax, byte [edx + 0x10152fb0]
xor ecx, eax
mov edx, dword [ebp - 8]
xor ecx, dword [edx + 8]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
rol eax, 8
and eax, 0xff00ff
mov ecx, dword [ebp - 0x2c]
ror ecx, 8
and ecx, 0xff00ff00
or eax, ecx
mov edx, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x68]
shr eax, 0x18
movzx ecx, byte [eax + 0x10152fb0]
shl ecx, 0x18
mov edx, dword [ebp - 0x5c]
shr edx, 0x10
and edx, 0xff
movzx eax, byte [edx + 0x10152fb0]
shl eax, 0x10
xor ecx, eax
mov edx, dword [ebp - 0x50]
shr edx, 8
and edx, 0xff
movzx eax, byte [edx + 0x10152fb0]
shl eax, 8
xor ecx, eax
mov edx, dword [ebp - 0x44]
and edx, 0xff
movzx eax, byte [edx + 0x10152fb0]
xor ecx, eax
mov edx, dword [ebp - 8]
xor ecx, dword [edx + 0xc]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
rol eax, 8
and eax, 0xff00ff
mov ecx, dword [ebp - 0x38]
ror ecx, 8
and ecx, 0xff00ff00
or eax, ecx
mov edx, dword [ebp + 0xc]
mov dword [edx + 0xc], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret