Function at 0x1000f540
Capabilities:
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x1000f559
cmp dword [ebp + 0x10], 0
jne 0x1000f561
or eax, 0xffffffff
jmp 0x1000faee
cmp dword [ebp + 0xc], 0x80
je 0x1000f586
cmp dword [ebp + 0xc], 0xc0
je 0x1000f586
cmp dword [ebp + 0xc], 0x100
je 0x1000f586
mov eax, 0xfffffffe
jmp 0x1000faee
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], 0x80
jne 0x1000f5a4
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0xf0], 0xa
jmp 0x1000f5c9
cmp dword [ebp + 0xc], 0xc0
jne 0x1000f5bc
mov edx, dword [ebp + 0x10]
mov dword [edx + 0xf0], 0xc
jmp 0x1000f5c9
mov eax, dword [ebp + 0x10]
mov dword [eax + 0xf0], 0xe
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
shl edx, 0x18
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 1]
shl ecx, 0x10
xor edx, ecx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 2]
shl ecx, 8
xor edx, ecx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 3]
xor edx, ecx
mov eax, dword [ebp - 0xc]
mov dword [eax], edx
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 4]
shl edx, 0x18
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 5]
shl ecx, 0x10
xor edx, ecx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 6]
shl ecx, 8
xor edx, ecx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 7]
xor edx, ecx
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 8]
shl edx, 0x18
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 9]
shl ecx, 0x10
xor edx, ecx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xa]
shl ecx, 8
xor edx, ecx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xb]
xor edx, ecx
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], edx
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0xc]
shl edx, 0x18
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xd]
shl ecx, 0x10
xor edx, ecx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xe]
shl ecx, 8
xor edx, ecx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xf]
xor edx, ecx
mov eax, dword [ebp - 0xc]
mov dword [eax + 0xc], edx
cmp dword [ebp + 0xc], 0x80
jne 0x1000f77b
mov ecx, 1
test ecx, ecx
je 0x1000f77b
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [ecx*4 + str.ccccwwww]
and edx, 0xff000000
mov eax, dword [ebp - 0xc]
xor edx, dword [eax]
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff
mov eax, dword [ecx*4 + str.ccccwwww]
and eax, 0xff0000
xor edx, eax
mov ecx, dword [ebp - 8]
and ecx, 0xff
mov eax, dword [ecx*4 + str.ccccwwww]
and eax, 0xff00
xor edx, eax
mov ecx, dword [ebp - 8]
shr ecx, 0x18
mov eax, dword [ecx*4 + str.ccccwwww]
and eax, 0xff
xor edx, eax
mov ecx, dword [ebp - 4]
xor edx, dword [ecx*4 + 0x10079e30]
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x10], edx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx + 4]
xor eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov ecx, dword [edx + 8]
xor ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
xor edx, dword [ecx + 0x18]
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x1c], edx
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0xa
jne 0x1000f76d
xor eax, eax
jmp 0x1000faee
mov edx, dword [ebp - 0xc]
add edx, 0x10
mov dword [ebp - 0xc], edx
jmp 0x1000f698
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x10]
shl ecx, 0x18
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x11]
shl eax, 0x10
xor ecx, eax
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x12]
shl eax, 8
xor ecx, eax
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x13]
xor ecx, eax
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x10], ecx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x14]
shl ecx, 0x18
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x15]
shl eax, 0x10
xor ecx, eax
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x16]
shl eax, 8
xor ecx, eax
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x17]
xor ecx, eax
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x14], ecx
cmp dword [ebp + 0xc], 0xc0
jne 0x1000f8f1
mov eax, 1
test eax, eax
je 0x1000f8f1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [eax*4 + str.ccccwwww]
and ecx, 0xff000000
mov edx, dword [ebp - 0xc]
xor ecx, dword [edx]
mov eax, dword [ebp - 8]
shr eax, 8
and eax, 0xff
mov edx, dword [eax*4 + str.ccccwwww]
and edx, 0xff0000
xor ecx, edx
mov eax, dword [ebp - 8]
and eax, 0xff
mov edx, dword [eax*4 + str.ccccwwww]
and edx, 0xff00
xor ecx, edx
mov eax, dword [ebp - 8]
shr eax, 0x18
mov edx, dword [eax*4 + str.ccccwwww]
and edx, 0xff
xor ecx, edx
mov eax, dword [ebp - 4]
xor ecx, dword [eax*4 + 0x10079e30]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 4]
xor edx, dword [ecx + 0x18]
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x1c], edx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx + 8]
xor eax, dword [edx + 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov ecx, dword [edx + 0xc]
xor ecx, dword [eax + 0x20]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x24], ecx
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 8
jne 0x1000f8bf
xor eax, eax
jmp 0x1000faee
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx + 0x10]
xor eax, dword [edx + 0x24]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov ecx, dword [edx + 0x14]
xor ecx, dword [eax + 0x28]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x2c], ecx
mov eax, dword [ebp - 0xc]
add eax, 0x18
mov dword [ebp - 0xc], eax
jmp 0x1000f7ea
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x18]
shl edx, 0x18
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x19]
shl ecx, 0x10
xor edx, ecx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x1a]
shl ecx, 8
xor edx, ecx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x1b]
xor edx, ecx
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x18], edx
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x1c]
shl edx, 0x18
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x1d]
shl ecx, 0x10
xor edx, ecx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x1e]
shl ecx, 8
xor edx, ecx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x1f]
xor edx, ecx
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x1c], edx
cmp dword [ebp + 0xc], 0x100
jne 0x1000faec
mov ecx, 1
test ecx, ecx
je 0x1000faec
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [ecx*4 + str.ccccwwww]
and edx, 0xff000000
mov eax, dword [ebp - 0xc]
xor edx, dword [eax]
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff
mov eax, dword [ecx*4 + str.ccccwwww]
and eax, 0xff0000
xor edx, eax
mov ecx, dword [ebp - 8]
and ecx, 0xff
mov eax, dword [ecx*4 + str.ccccwwww]
and eax, 0xff00
xor edx, eax
mov ecx, dword [ebp - 8]
shr ecx, 0x18
mov eax, dword [ecx*4 + str.ccccwwww]
and eax, 0xff
xor edx, eax
mov ecx, dword [ebp - 4]
xor edx, dword [ecx*4 + 0x10079e30]
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x20], edx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx + 4]
xor eax, dword [edx + 0x20]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x24], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov ecx, dword [edx + 8]
xor ecx, dword [eax + 0x24]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x28], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
xor edx, dword [ecx + 0x28]
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x2c], edx
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 7
jne 0x1000fa35
xor eax, eax
jmp 0x1000faee
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x2c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
shr ecx, 0x18
mov edx, dword [ecx*4 + str.ccccwwww]
and edx, 0xff000000
mov eax, dword [ebp - 0xc]
xor edx, dword [eax + 0x10]
mov ecx, dword [ebp - 8]
shr ecx, 0x10
and ecx, 0xff
mov eax, dword [ecx*4 + str.ccccwwww]
and eax, 0xff0000
xor edx, eax
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff
mov eax, dword [ecx*4 + str.ccccwwww]
and eax, 0xff00
xor edx, eax
mov ecx, dword [ebp - 8]
and ecx, 0xff
mov eax, dword [ecx*4 + str.ccccwwww]
and eax, 0xff
xor edx, eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x30], edx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov ecx, dword [edx + 0x14]
xor ecx, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x34], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 0x18]
xor edx, dword [ecx + 0x34]
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x38], edx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx + 0x1c]
xor eax, dword [edx + 0x38]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x3c], eax
mov edx, dword [ebp - 0xc]
add edx, 0x20
mov dword [ebp - 0xc], edx
jmp 0x1000f960
xor eax, eax
mov esp, ebp
pop ebp
ret