Function at 0x1000d55b
Capabilities:
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x1000d571
cmp dword [ebp + 0x10], 0
jne 0x1000d579
or eax, 0xffffffff
jmp 0x1000da96
cmp dword [ebp + 0xc], 0x80
je 0x1000d59c
cmp dword [ebp + 0xc], 0xc0
je 0x1000d59c
cmp dword [ebp + 0xc], 0x100
je 0x1000d59c
push 0xfffffffffffffffe
pop eax
jmp 0x1000da96
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], 0x80
jne 0x1000d5ba
mov eax, dword [ebp + 0x10]
mov dword [eax + 0xf0], 0xa
jmp 0x1000d5df
cmp dword [ebp + 0xc], 0xc0
jne 0x1000d5d2
mov eax, dword [ebp + 0x10]
mov dword [eax + 0xf0], 0xc
jmp 0x1000d5df
mov eax, dword [ebp + 0x10]
mov dword [eax + 0xf0], 0xe
mov eax, dword [ebp + 8]
mov eax, dword [eax]
rol eax, 8
and eax, 0xff00ff
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
ror ecx, 8
and ecx, 0xff00ff00
or eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
rol eax, 8
and eax, 0xff00ff
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
ror ecx, 8
and ecx, 0xff00ff00
or eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
rol eax, 8
and eax, 0xff00ff
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
ror ecx, 8
and ecx, 0xff00ff00
or eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
rol eax, 8
and eax, 0xff00ff
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xc]
ror ecx, 8
and ecx, 0xff00ff00
or eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0xc], eax
cmp dword [ebp + 0xc], 0x80
jne 0x1000d75b
xor eax, eax
inc eax
je 0x1000d75b
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x100287f0]
and eax, 0xff000000
mov ecx, dword [ebp - 0xc]
xor eax, dword [ecx]
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x10028bf0]
and ecx, 0xff0000
xor eax, ecx
mov ecx, dword [ebp - 8]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x10027ff0]
and ecx, 0xff00
xor eax, ecx
mov ecx, dword [ebp - 8]
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x100283f0]
and ecx, 0xff
xor eax, ecx
mov ecx, dword [ebp - 4]
xor eax, dword [ecx*4 + 0x1002a0f0]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + 4]
xor eax, dword [ecx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + 8]
xor eax, dword [ecx + 0x14]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
xor eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xa
jne 0x1000d74d
xor eax, eax
jmp 0x1000da96
mov eax, dword [ebp - 0xc]
add eax, 0x10
mov dword [ebp - 0xc], eax
jmp 0x1000d67d
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
rol eax, 8
and eax, 0xff00ff
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x10]
ror ecx, 8
and ecx, 0xff00ff00
or eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
rol eax, 8
and eax, 0xff00ff
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x14]
ror ecx, 8
and ecx, 0xff00ff00
or eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x14], eax
cmp dword [ebp + 0xc], 0xc0
jne 0x1000d8b4
xor eax, eax
inc eax
je 0x1000d8b4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x100287f0]
and eax, 0xff000000
mov ecx, dword [ebp - 0xc]
xor eax, dword [ecx]
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x10028bf0]
and ecx, 0xff0000
xor eax, ecx
mov ecx, dword [ebp - 8]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x10027ff0]
and ecx, 0xff00
xor eax, ecx
mov ecx, dword [ebp - 8]
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x100283f0]
and ecx, 0xff
xor eax, ecx
mov ecx, dword [ebp - 4]
xor eax, dword [ecx*4 + 0x1002a0f0]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + 4]
xor eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + 8]
xor eax, dword [ecx + 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
xor eax, dword [ecx + 0x20]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 8
jne 0x1000d882
xor eax, eax
jmp 0x1000da96
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
xor eax, dword [ecx + 0x24]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x28], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
xor eax, dword [ecx + 0x28]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp - 0xc]
add eax, 0x18
mov dword [ebp - 0xc], eax
jmp 0x1000d7b2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
rol eax, 8
and eax, 0xff00ff
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x18]
ror ecx, 8
and ecx, 0xff00ff00
or eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
rol eax, 8
and eax, 0xff00ff
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x1c]
ror ecx, 8
and ecx, 0xff00ff00
or eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x1c], eax
cmp dword [ebp + 0xc], 0x100
jne 0x1000da94
xor eax, eax
inc eax
je 0x1000da94
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x100287f0]
and eax, 0xff000000
mov ecx, dword [ebp - 0xc]
xor eax, dword [ecx]
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x10028bf0]
and ecx, 0xff0000
xor eax, ecx
mov ecx, dword [ebp - 8]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x10027ff0]
and ecx, 0xff00
xor eax, ecx
mov ecx, dword [ebp - 8]
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x100283f0]
and ecx, 0xff
xor eax, ecx
mov ecx, dword [ebp - 4]
xor eax, dword [ecx*4 + 0x1002a0f0]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + 4]
xor eax, dword [ecx + 0x20]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + 8]
xor eax, dword [ecx + 0x24]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x28], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
xor eax, dword [ecx + 0x28]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 7
jne 0x1000d9db
xor eax, eax
jmp 0x1000da96
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shr eax, 0x18
mov eax, dword [eax*4 + 0x100287f0]
and eax, 0xff000000
mov ecx, dword [ebp - 0xc]
xor eax, dword [ecx + 0x10]
mov ecx, dword [ebp - 8]
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x10028bf0]
and ecx, 0xff0000
xor eax, ecx
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x10027ff0]
and ecx, 0xff00
xor eax, ecx
mov ecx, dword [ebp - 8]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x100283f0]
and ecx, 0xff
xor eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
xor eax, dword [ecx + 0x30]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x34], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
xor eax, dword [ecx + 0x34]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + 0x1c]
xor eax, dword [ecx + 0x38]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x3c], eax
mov eax, dword [ebp - 0xc]
add eax, 0x20
mov dword [ebp - 0xc], eax
jmp 0x1000d90b
xor eax, eax
leave
ret