Function at 0x1003c2d3
Capabilities:
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
mov edi, eax
mov esi, ecx
mov eax, dword [esi + 0xf0]
shr eax, 1
cmp eax, 7
mov dword [ebp - 0x18], eax
ja 0x1003c855
test eax, eax
je 0x1003c855
push ebx
push 4
pop ebx
push ebx
lea eax, [ebp - 4]
push edi
push eax
call sub.MSVCRT.dll_memcpy
push ebx
lea eax, [edi + 4]
push eax
lea eax, [ebp - 8]
push eax
call sub.MSVCRT.dll_memcpy
push ebx
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call sub.MSVCRT.dll_memcpy
push ebx
add edi, 0xc
lea eax, [ebp - 0x14]
push edi
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, ecx
add esp, 0x30
mov ebx, eax
ror ebx, 8
rol eax, 8
ror edx, 8
rol ecx, 8
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x10]
xor ecx, dword [ebp - 0xc]
xor eax, ebx
mov edi, edx
ror edi, 8
mov dword [ebp - 0x10], edi
mov edi, dword [ebp - 0x14]
rol edx, 8
xor edx, dword [ebp - 0x10]
ror edi, 8
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x14]
and eax, 0xff00ff
xor eax, ebx
xor eax, dword [esi]
rol edi, 8
xor edi, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov eax, 0xff00ff
and ecx, eax
xor ecx, dword [esi + 4]
and edi, eax
xor edi, dword [esi + 0xc]
xor ecx, dword [ebp - 0xc]
xor edi, dword [ebp - 0x1c]
and edx, eax
xor edx, dword [esi + 8]
mov dword [ebp - 8], ecx
xor edx, dword [ebp - 0x10]
mov eax, edi
shr ecx, 0x10
mov ebx, edx
shr ebx, 8
movzx edi, bl
movzx ebx, cl
mov ecx, dword [edi*4 + 0x10049a48]
xor ecx, dword [ebx*4 + 0x10049648]
mov edi, dword [ebp - 4]
shr edi, 0x18
xor ecx, dword [edi*4 + 0x10049248]
movzx edi, al
xor ecx, dword [edi*4 + 0x10049e48]
mov dword [ebp - 0x10], edx
xor ecx, dword [esi + 0x10]
mov ebx, eax
shr ebx, 8
movzx edi, bl
shr edx, 0x10
movzx ebx, dl
mov edx, dword [edi*4 + 0x10049a48]
xor edx, dword [ebx*4 + 0x10049648]
mov edi, dword [ebp - 8]
shr edi, 0x18
xor edx, dword [edi*4 + 0x10049248]
movzx edi, byte [ebp - 4]
xor edx, dword [edi*4 + 0x10049e48]
mov ebx, eax
shr ebx, 0x10
movzx edi, bl
mov edi, dword [edi*4 + 0x10049648]
mov ebx, dword [ebp - 0x10]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x10049248]
mov ebx, dword [ebp - 4]
shr ebx, 8
movzx ebx, bl
xor edi, dword [ebx*4 + 0x10049a48]
movzx ebx, byte [ebp - 8]
xor edi, dword [ebx*4 + 0x10049e48]
mov ebx, dword [ebp - 8]
xor edi, dword [esi + 0x18]
xor edx, dword [esi + 0x14]
shr ebx, 8
shr eax, 0x18
mov eax, dword [eax*4 + 0x10049248]
mov dword [ebp - 0xc], edi
movzx edi, bl
xor eax, dword [edi*4 + 0x10049a48]
mov ebx, dword [ebp - 4]
shr ebx, 0x10
movzx edi, bl
xor eax, dword [edi*4 + 0x10049648]
movzx edi, byte [ebp - 0x10]
xor eax, dword [edi*4 + 0x10049e48]
xor eax, dword [esi + 0x1c]
jmp 0x1003c669
mov ebx, dword [ebp - 0xc]
shr ebx, 8
movzx esi, bl
mov esi, dword [esi*4 + 0x10049a48]
mov ebx, edx
shr ebx, 0x10
movzx edi, bl
xor esi, dword [edi*4 + 0x10049648]
mov edi, ecx
shr edi, 0x18
xor esi, dword [edi*4 + 0x10049248]
movzx edi, al
xor esi, dword [edi*4 + 0x10049e48]
mov edi, dword [ebp - 0x14]
xor esi, dword [edi]
mov ebx, eax
mov dword [ebp - 4], esi
shr ebx, 8
movzx esi, bl
mov esi, dword [esi*4 + 0x10049a48]
mov ebx, dword [ebp - 0xc]
shr ebx, 0x10
movzx edi, bl
xor esi, dword [edi*4 + 0x10049648]
mov edi, edx
shr edi, 0x18
xor esi, dword [edi*4 + 0x10049248]
movzx edi, cl
xor esi, dword [edi*4 + 0x10049e48]
mov edi, dword [ebp - 0x14]
xor esi, dword [edi + 4]
mov edi, dword [ebp - 0xc]
mov ebx, eax
mov dword [ebp - 8], esi
shr ebx, 0x10
movzx esi, bl
mov esi, dword [esi*4 + 0x10049648]
mov ebx, ecx
shr edi, 0x18
xor esi, dword [edi*4 + 0x10049248]
shr ebx, 8
mov dword [ebp - 0x1c], esi
mov edi, esi
movzx esi, bl
xor edi, dword [esi*4 + 0x10049a48]
movzx esi, dl
xor edi, dword [esi*4 + 0x10049e48]
mov esi, dword [ebp - 0x14]
xor edi, dword [esi + 8]
shr edx, 8
movzx edx, dl
shr ecx, 0x10
movzx ecx, cl
shr eax, 0x18
mov eax, dword [eax*4 + 0x10049248]
xor eax, dword [edx*4 + 0x10049a48]
mov edx, dword [ebp - 8]
xor eax, dword [ecx*4 + 0x10049648]
movzx ecx, byte [ebp - 0xc]
xor eax, dword [ecx*4 + 0x10049e48]
shr edx, 0x10
xor eax, dword [esi + 0xc]
mov ecx, edi
shr ecx, 8
movzx ecx, cl
mov ecx, dword [ecx*4 + 0x10049a48]
movzx edx, dl
xor ecx, dword [edx*4 + 0x10049648]
mov edx, dword [ebp - 4]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x10049248]
movzx edx, al
xor ecx, dword [edx*4 + 0x10049e48]
mov edx, eax
xor ecx, dword [esi + 0x10]
mov ebx, edi
shr edx, 8
shr ebx, 0x10
mov dword [ebp - 0x10], edi
movzx edx, dl
movzx edi, bl
mov edx, dword [edx*4 + 0x10049a48]
xor edx, dword [edi*4 + 0x10049648]
mov edi, dword [ebp - 8]
shr edi, 0x18
xor edx, dword [edi*4 + 0x10049248]
movzx edi, byte [ebp - 4]
xor edx, dword [edi*4 + 0x10049e48]
mov ebx, eax
shr ebx, 0x10
movzx edi, bl
mov edi, dword [edi*4 + 0x10049648]
mov ebx, dword [ebp - 0x10]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x10049248]
mov ebx, dword [ebp - 4]
shr ebx, 8
movzx ebx, bl
xor edi, dword [ebx*4 + 0x10049a48]
movzx ebx, byte [ebp - 8]
xor edi, dword [ebx*4 + 0x10049e48]
mov ebx, dword [ebp - 8]
xor edi, dword [esi + 0x18]
xor edx, dword [esi + 0x14]
shr eax, 0x18
shr ebx, 8
mov dword [ebp - 0xc], edi
movzx edi, bl
mov ebx, dword [eax*4 + 0x10049248]
mov eax, dword [ebp - 4]
xor ebx, dword [edi*4 + 0x10049a48]
shr eax, 0x10
movzx eax, al
xor ebx, dword [eax*4 + 0x10049648]
movzx eax, byte [ebp - 0x10]
xor ebx, dword [eax*4 + 0x10049e48]
xor ebx, dword [esi + 0x1c]
mov eax, ebx
add esi, 0x20
dec dword [ebp - 0x18]
mov dword [ebp - 0x14], esi
jne 0x1003c490
mov ebx, edx
shr ebx, 0x10
movzx edi, bl
mov edi, dword [edi*4 + str.ccccwwww]
mov ebx, dword [ebp - 0xc]
shr ebx, 8
movzx ebx, bl
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff00
and edi, 0xff0000
xor edi, ebx
mov ebx, ecx
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff000000
xor edi, ebx
movzx ebx, al
movzx ebx, byte [ebx*4 + str.ccccwwww]
xor edi, ebx
xor edi, dword [esi]
mov ebx, edi
ror ebx, 8
and ebx, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
or ebx, edi
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0xc]
shr ebx, 0x10
movzx edi, bl
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff0000
mov ebx, eax
shr ebx, 8
movzx ebx, bl
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff00
xor edi, ebx
mov ebx, edx
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff000000
xor edi, ebx
movzx ebx, cl
movzx ebx, byte [ebx*4 + str.ccccwwww]
xor edi, ebx
xor edi, dword [esi + 4]
mov ebx, edi
ror ebx, 8
and ebx, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
or ebx, edi
mov dword [ebp - 8], ebx
mov ebx, eax
shr ebx, 0x10
movzx edi, bl
mov edi, dword [edi*4 + str.ccccwwww]
mov ebx, dword [ebp - 0xc]
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff000000
and edi, 0xff0000
xor edi, ebx
mov ebx, ecx
shr ebx, 8
movzx ebx, bl
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff00
xor edi, ebx
movzx ebx, dl
movzx ebx, byte [ebx*4 + str.ccccwwww]
xor edi, ebx
xor edi, dword [esi + 8]
mov ebx, edi
ror ebx, 8
and ebx, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
or ebx, edi
mov dword [ebp - 0x10], ebx
shr ecx, 0x10
shr eax, 0x18
mov eax, dword [eax*4 + str.ccccwwww]
movzx ecx, cl
mov ecx, dword [ecx*4 + str.ccccwwww]
and eax, 0xff000000
and ecx, 0xff0000
xor ecx, eax
shr edx, 8
movzx eax, dl
mov eax, dword [eax*4 + str.ccccwwww]
and eax, 0xff00
xor ecx, eax
movzx eax, byte [ebp - 0xc]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, eax
xor ecx, dword [esi + 0xc]
mov esi, dword [ebp + 8]
mov eax, ecx
ror eax, 8
and eax, 0xff00ff00
rol ecx, 8
push 4
and ecx, 0xff00ff
or eax, ecx
pop edi
mov dword [ebp - 0x14], eax
push edi
lea eax, [ebp - 4]
push eax
push esi
call sub.MSVCRT.dll_memcpy
push edi
lea eax, [ebp - 8]
push eax
lea eax, [esi + 4]
push eax
call sub.MSVCRT.dll_memcpy
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 8]
push eax
call sub.MSVCRT.dll_memcpy
push edi
lea eax, [ebp - 0x14]
push eax
add esi, 0xc
push esi
call sub.MSVCRT.dll_memcpy
add esp, 0x30
pop ebx
pop edi
pop esi
leave
ret