Function at 0x100fc680
Capabilities:
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc
call fcn.10010ae0
push esi
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x100fc6a1
cmp dword [ebp + 0x10], 0
jne 0x100fc6a9
or eax, 0xffffffff
jmp 0x100fcc69
cmp dword [ebp + 0xc], 0x80
je 0x100fc6ce
cmp dword [ebp + 0xc], 0xc0
je 0x100fc6ce
cmp dword [ebp + 0xc], 0x100
je 0x100fc6ce
mov eax, 0xfffffffe
jmp 0x100fcc69
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], 0x80
jne 0x100fc6ec
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0xf0], 0xa
jmp 0x100fc711
cmp dword [ebp + 0xc], 0xc0
jne 0x100fc704
mov edx, dword [ebp + 0x10]
mov dword [edx + 0xf0], 0xc
jmp 0x100fc711
mov eax, dword [ebp + 0x10]
mov dword [eax + 0xf0], 0xe
push 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call sub.MSVCR90.dll__lrotl
add esp, 8
mov esi, eax
and esi, 0xff00ff
push 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call sub.MSVCR90.dll__lrotr
add esp, 8
and eax, 0xff00ff00
or esi, eax
mov edx, dword [ebp - 0xc]
mov dword [edx], esi
push 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call sub.MSVCR90.dll__lrotl
add esp, 8
mov esi, eax
and esi, 0xff00ff
push 8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call sub.MSVCR90.dll__lrotr
add esp, 8
and eax, 0xff00ff00
or esi, eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], esi
push 8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
call sub.MSVCR90.dll__lrotl
add esp, 8
mov esi, eax
and esi, 0xff00ff
push 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
call sub.MSVCR90.dll__lrotr
add esp, 8
and eax, 0xff00ff00
or esi, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], esi
push 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
call sub.MSVCR90.dll__lrotl
add esp, 8
mov esi, eax
and esi, 0xff00ff
push 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
call sub.MSVCR90.dll__lrotr
add esp, 8
and eax, 0xff00ff00
or esi, eax
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xc], esi
cmp dword [ebp + 0xc], 0x80
jne 0x100fc8da
mov eax, 1
test eax, eax
je 0x100fc8da
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [eax*4 + 0x101fd598]
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 + 0x101fd998]
and edx, 0xff0000
xor ecx, edx
mov eax, dword [ebp - 8]
and eax, 0xff
mov edx, dword [eax*4 + 0x101fcd98]
and edx, 0xff00
xor ecx, edx
mov eax, dword [ebp - 8]
shr eax, 0x18
mov edx, dword [eax*4 + 0x101fd198]
and edx, 0xff
xor ecx, edx
mov eax, dword [ebp - 4]
xor ecx, dword [eax*4 + 0x101fee98]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x10], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 4]
xor edx, dword [ecx + 0x10]
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x14], edx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx + 8]
xor eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov ecx, dword [edx + 0xc]
xor ecx, dword [eax + 0x18]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xa
jne 0x100fc8cc
xor eax, eax
jmp 0x100fcc69
mov ecx, dword [ebp - 0xc]
add ecx, 0x10
mov dword [ebp - 0xc], ecx
jmp 0x100fc7f7
push 8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
push eax
call sub.MSVCR90.dll__lrotl
add esp, 8
mov esi, eax
and esi, 0xff00ff
push 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
call sub.MSVCR90.dll__lrotr
add esp, 8
and eax, 0xff00ff00
or esi, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x10], esi
push 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
push edx
call sub.MSVCR90.dll__lrotl
add esp, 8
mov esi, eax
and esi, 0xff00ff
push 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
push ecx
call sub.MSVCR90.dll__lrotr
add esp, 8
and eax, 0xff00ff00
or esi, eax
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x14], esi
cmp dword [ebp + 0xc], 0xc0
jne 0x100fca5c
mov eax, 1
test eax, eax
je 0x100fca5c
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 + 0x101fd598]
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 + 0x101fd998]
and edx, 0xff0000
xor ecx, edx
mov eax, dword [ebp - 8]
and eax, 0xff
mov edx, dword [eax*4 + 0x101fcd98]
and edx, 0xff00
xor ecx, edx
mov eax, dword [ebp - 8]
shr eax, 0x18
mov edx, dword [eax*4 + 0x101fd198]
and edx, 0xff
xor ecx, edx
mov eax, dword [ebp - 4]
xor ecx, dword [eax*4 + 0x101fee98]
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 0x100fca2a
xor eax, eax
jmp 0x100fcc69
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 0x100fc955
push 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
push edx
call sub.MSVCR90.dll__lrotl
add esp, 8
mov esi, eax
and esi, 0xff00ff
push 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
push ecx
call sub.MSVCR90.dll__lrotr
add esp, 8
and eax, 0xff00ff00
or esi, eax
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x18], esi
push 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
push ecx
call sub.MSVCR90.dll__lrotl
add esp, 8
mov esi, eax
and esi, 0xff00ff
push 8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
push eax
call sub.MSVCR90.dll__lrotr
add esp, 8
and eax, 0xff00ff00
or esi, eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x1c], esi
cmp dword [ebp + 0xc], 0x100
jne 0x100fcc67
mov edx, 1
test edx, edx
je 0x100fcc67
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
shr edx, 0x10
and edx, 0xff
mov eax, dword [edx*4 + 0x101fd598]
and eax, 0xff000000
mov ecx, dword [ebp - 0xc]
xor eax, dword [ecx]
mov edx, dword [ebp - 8]
shr edx, 8
and edx, 0xff
mov ecx, dword [edx*4 + 0x101fd998]
and ecx, 0xff0000
xor eax, ecx
mov edx, dword [ebp - 8]
and edx, 0xff
mov ecx, dword [edx*4 + 0x101fcd98]
and ecx, 0xff00
xor eax, ecx
mov edx, dword [ebp - 8]
shr edx, 0x18
mov ecx, dword [edx*4 + 0x101fd198]
and ecx, 0xff
xor eax, ecx
mov edx, dword [ebp - 4]
xor eax, dword [edx*4 + 0x101fee98]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov ecx, dword [edx + 4]
xor ecx, dword [eax + 0x20]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x24], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 8]
xor edx, dword [ecx + 0x24]
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x28], edx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx + 0xc]
xor eax, dword [edx + 0x28]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 7
jne 0x100fcbae
xor eax, eax
jmp 0x100fcc69
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
shr edx, 0x18
mov eax, dword [edx*4 + 0x101fd598]
and eax, 0xff000000
mov ecx, dword [ebp - 0xc]
xor eax, dword [ecx + 0x10]
mov edx, dword [ebp - 8]
shr edx, 0x10
and edx, 0xff
mov ecx, dword [edx*4 + 0x101fd998]
and ecx, 0xff0000
xor eax, ecx
mov edx, dword [ebp - 8]
shr edx, 8
and edx, 0xff
mov ecx, dword [edx*4 + 0x101fcd98]
and ecx, 0xff00
xor eax, ecx
mov edx, dword [ebp - 8]
and edx, 0xff
mov ecx, dword [edx*4 + 0x101fd198]
and ecx, 0xff
xor eax, ecx
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 0x14]
xor edx, dword [ecx + 0x30]
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x34], edx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx + 0x18]
xor eax, dword [edx + 0x34]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x38], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov ecx, dword [edx + 0x1c]
xor ecx, dword [eax + 0x38]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x3c], ecx
mov eax, dword [ebp - 0xc]
add eax, 0x20
mov dword [ebp - 0xc], eax
jmp 0x100fcad7
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret