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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1c]
shl ecx, 4
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
mov edx, dword [edx]
xor edx, dword [ecx + eax + 0x20]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1c]
shl ecx, 4
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
mov edx, dword [edx + 4]
xor edx, dword [ecx + eax + 0x24]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1c]
shl ecx, 4
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
mov edx, dword [edx + 8]
xor edx, dword [ecx + eax + 0x28]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1c]
shl ecx, 4
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
mov edx, dword [edx + 0xc]
xor edx, dword [ecx + eax + 0x2c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x14]
and eax, 0xff
mov ecx, dword [ebp - 7]
and ecx, 0xff
mov edx, dword [eax*4 + 0x10029264]
xor edx, dword [ecx*4 + 0x10029664]
mov eax, dword [ebp - 0xa]
and eax, 0xff
xor edx, dword [eax*4 + 0x10029a64]
mov ecx, dword [ebp - 0xd]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x10029e64]
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
mov edx, dword [ebp - 0x13]
and edx, 0xff
mov eax, dword [ecx*4 + 0x10029264]
xor eax, dword [edx*4 + 0x10029664]
mov ecx, dword [ebp - 6]
and ecx, 0xff
xor eax, dword [ecx*4 + 0x10029a64]
mov edx, dword [ebp - 9]
and edx, 0xff
xor eax, dword [edx*4 + 0x10029e64]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xc]
and edx, 0xff
mov eax, dword [ebp - 0xf]
and eax, 0xff
mov ecx, dword [edx*4 + 0x10029264]
xor ecx, dword [eax*4 + 0x10029664]
mov edx, dword [ebp - 0x12]
and edx, 0xff
xor ecx, dword [edx*4 + 0x10029a64]
mov eax, dword [ebp - 5]
and eax, 0xff
xor ecx, dword [eax*4 + 0x10029e64]
mov edx, dword [ebp + 0xc]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 8]
and eax, 0xff
mov ecx, dword [ebp - 0xb]
and ecx, 0xff
mov edx, dword [eax*4 + 0x10029264]
xor edx, dword [ecx*4 + 0x10029664]
mov eax, dword [ebp - 0xe]
and eax, 0xff
xor edx, dword [eax*4 + 0x10029a64]
mov ecx, dword [ebp - 0x11]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x10029e64]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x1c]
sub edx, 1
mov dword [ebp - 4], edx
jmp 0x10002a40
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jle 0x10002bb7
mov ecx, dword [ebp - 4]
shl ecx, 4
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
mov edx, dword [edx]
xor edx, dword [ecx + eax + 0x20]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
shl eax, 4
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ecx + 4]
xor ecx, dword [eax + edx + 0x24]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 4]
shl edx, 4
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax + 8]
xor eax, dword [edx + ecx + 0x28]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
shl ecx, 4
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
mov edx, dword [edx + 0xc]
xor edx, dword [ecx + eax + 0x2c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x14]
and eax, 0xff
mov ecx, dword [ebp - 7]
and ecx, 0xff
mov edx, dword [eax*4 + 0x10029264]
xor edx, dword [ecx*4 + 0x10029664]
mov eax, dword [ebp - 0xa]
and eax, 0xff
xor edx, dword [eax*4 + 0x10029a64]
mov ecx, dword [ebp - 0xd]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x10029e64]
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
mov edx, dword [ebp - 0x13]
and edx, 0xff
mov eax, dword [ecx*4 + 0x10029264]
xor eax, dword [edx*4 + 0x10029664]
mov ecx, dword [ebp - 6]
and ecx, 0xff
xor eax, dword [ecx*4 + 0x10029a64]
mov edx, dword [ebp - 9]
and edx, 0xff
xor eax, dword [edx*4 + 0x10029e64]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xc]
and edx, 0xff
mov eax, dword [ebp - 0xf]
and eax, 0xff
mov ecx, dword [edx*4 + 0x10029264]
xor ecx, dword [eax*4 + 0x10029664]
mov edx, dword [ebp - 0x12]
and edx, 0xff
xor ecx, dword [edx*4 + 0x10029a64]
mov eax, dword [ebp - 5]
and eax, 0xff
xor ecx, dword [eax*4 + 0x10029e64]
mov edx, dword [ebp + 0xc]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 8]
and eax, 0xff
mov ecx, dword [ebp - 0xb]
and ecx, 0xff
mov edx, dword [eax*4 + 0x10029264]
xor edx, dword [ecx*4 + 0x10029664]
mov eax, dword [ebp - 0xe]
and eax, 0xff
xor edx, dword [eax*4 + 0x10029a64]
mov ecx, dword [ebp - 0x11]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x10029e64]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xc], edx
jmp 0x10002a37
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx]
xor eax, dword [edx + 0x30]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx + 4]
xor eax, dword [edx + 0x34]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx + 8]
xor eax, dword [edx + 0x38]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx + 0xc]
xor eax, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x14]
and ecx, 0xff
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x1002a264]
mov byte [edx], al
mov ecx, dword [ebp - 7]
and ecx, 0xff
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x1002a264]
mov byte [edx + 1], al
mov ecx, dword [ebp - 0xa]
and ecx, 0xff
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x1002a264]
mov byte [edx + 2], al
mov ecx, dword [ebp - 0xd]
and ecx, 0xff
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x1002a264]
mov byte [edx + 3], al
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x1002a264]
mov byte [edx + 4], al
mov ecx, dword [ebp - 0x13]
and ecx, 0xff
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x1002a264]
mov byte [edx + 5], al
mov ecx, dword [ebp - 6]
and ecx, 0xff
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x1002a264]
mov byte [edx + 6], al
mov ecx, dword [ebp - 9]
and ecx, 0xff
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x1002a264]
mov byte [edx + 7], al
mov ecx, dword [ebp - 0xc]
and ecx, 0xff
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x1002a264]
mov byte [edx + 8], al
mov ecx, dword [ebp - 0xf]
and ecx, 0xff
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x1002a264]
mov byte [edx + 9], al
mov ecx, dword [ebp - 0x12]
and ecx, 0xff
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x1002a264]
mov byte [edx + 0xa], al
mov ecx, dword [ebp - 5]
and ecx, 0xff
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x1002a264]
mov byte [edx + 0xb], al
mov ecx, dword [ebp - 8]
and ecx, 0xff
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x1002a264]
mov byte [edx + 0xc], al
mov ecx, dword [ebp - 0xb]
and ecx, 0xff
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x1002a264]
mov byte [edx + 0xd], al
mov ecx, dword [ebp - 0xe]
and ecx, 0xff
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x1002a264]
mov byte [edx + 0xe], al
mov ecx, dword [ebp - 0x11]
and ecx, 0xff
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 0x1002a264]
mov byte [edx + 0xf], al
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx]
xor eax, dword [edx + 0x20]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
mov ecx, dword [edx + 4]
xor ecx, dword [eax + 0x24]
mov edx, dword [ebp + 0xc]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + 8]
xor edx, dword [ecx + 0x28]
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx + 0xc]
xor eax, dword [edx + 0x2c]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0xc], eax
mov esp, ebp
pop ebp
ret 8