Function at 0x1002392c
Capabilities:
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, ecx
push edi
mov edi, edx
mov eax, dword [esi + 0xf0]
shr eax, 1
mov dword [ebp - 0x20], eax
cmp eax, 7
ja 0x10023e14
test eax, eax
je 0x10023e14
mov ecx, dword [edi + 4]
push ebx
call fcn.100237fb
xor eax, dword [esi + 4]
mov ecx, dword [edi + 8]
mov dword [ebp - 0xc], eax
call fcn.100237fb
xor eax, dword [esi + 8]
mov ecx, dword [edi + 0xc]
mov dword [ebp - 8], eax
call fcn.100237fb
xor eax, dword [esi + 0xc]
mov ecx, dword [edi]
mov dword [ebp - 0x1c], eax
call fcn.100237fb
mov ebx, eax
xor ebx, dword [esi]
call fcn.1002390f
mov edi, dword [ebp - 8]
or ebx, eax
mov ecx, edi
shr ecx, 8
movzx edx, cl
mov ecx, dword [ebp - 0xc]
shr ecx, 0x10
movzx eax, cl
mov ecx, dword [edx*4 + 0x10064160]
mov edx, dword [ebp - 0x1c]
xor ecx, dword [eax*4 + 0x10063d60]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10063960]
movzx eax, dl
xor ecx, dword [eax*4 + 0x10064560]
mov eax, esi
xor ecx, dword [eax + 0x10]
mov eax, edx
shr eax, 8
mov dword [ebp - 0x14], ecx
movzx ecx, al
mov eax, edi
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x10064160]
xor ecx, dword [eax*4 + 0x10063d60]
mov eax, dword [ebp - 0xc]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10063960]
movzx eax, bl
xor ecx, dword [eax*4 + 0x10064560]
mov eax, edx
xor ecx, dword [esi + 0x14]
shr eax, 0x10
mov dword [ebp - 0x10], ecx
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
shr ebx, 0x10
mov ecx, dword [ecx*4 + 0x10063d60]
shr edx, 0x18
xor ecx, dword [eax*4 + 0x10064160]
mov eax, edi
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10063960]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
movzx eax, cl
shr ecx, 8
movzx ecx, cl
xor edi, dword [eax*4 + 0x10064560]
mov eax, edi
mov dword [ebp - 4], edi
xor eax, dword [esi + 0x18]
mov dword [ebp - 4], eax
movzx eax, bl
mov ebx, dword [ecx*4 + 0x10064160]
xor ebx, dword [eax*4 + 0x10063d60]
xor ebx, dword [edx*4 + 0x10063960]
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 0x20]
movzx eax, al
jmp 0x10023c7c
mov esi, dword [ebp - 4]
mov eax, esi
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0x10]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x10064160]
mov edx, dword [ebp - 0x14]
xor ecx, dword [eax*4 + 0x10063d60]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10063960]
mov eax, dword [ebp - 8]
movzx eax, al
xor ecx, dword [eax*4 + 0x10064560]
mov eax, dword [ebp - 0xc]
xor ecx, dword [eax]
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 0x18], ecx
movzx ecx, al
mov eax, esi
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x10064160]
xor ecx, dword [eax*4 + 0x10063d60]
mov eax, dword [ebp - 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10063960]
movzx eax, dl
xor ecx, dword [eax*4 + 0x10064560]
mov eax, dword [ebp - 0xc]
xor ecx, dword [eax + 4]
mov eax, dword [ebp - 8]
shr eax, 0x10
mov dword [ebp - 0x1c], ecx
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
shr edx, 0x10
mov ebx, dword [ecx*4 + 0x10063d60]
mov ecx, dword [ebp - 0x10]
xor ebx, dword [eax*4 + 0x10064160]
mov eax, esi
shr eax, 0x18
mov esi, dword [ebp - 0xc]
xor ebx, dword [eax*4 + 0x10063960]
movzx eax, cl
shr ecx, 8
movzx ecx, cl
xor ebx, dword [eax*4 + 0x10064560]
xor ebx, dword [esi + 8]
movzx eax, dl
mov edx, dword [ecx*4 + 0x10064160]
xor edx, dword [eax*4 + 0x10063d60]
mov eax, dword [ebp - 8]
shr eax, 0x18
xor edx, dword [eax*4 + 0x10063960]
mov eax, dword [ebp - 4]
movzx eax, al
xor edx, dword [eax*4 + 0x10064560]
mov eax, ebx
xor edx, dword [esi + 0xc]
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0x1c]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x10064160]
xor ecx, dword [eax*4 + 0x10063d60]
mov eax, dword [ebp - 0x18]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10063960]
movzx eax, dl
xor ecx, dword [eax*4 + 0x10064560]
mov eax, esi
xor ecx, dword [eax + 0x10]
mov eax, edx
mov dword [ebp - 0x14], ecx
shr eax, 8
movzx ecx, al
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x10064160]
xor ecx, dword [eax*4 + 0x10063d60]
mov eax, dword [ebp - 0x1c]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10063960]
mov eax, dword [ebp - 0x18]
movzx eax, al
xor ecx, dword [eax*4 + 0x10064560]
mov eax, esi
xor ecx, dword [eax + 0x14]
mov eax, edx
shr eax, 0x10
mov dword [ebp - 0x10], ecx
movzx ecx, al
mov eax, dword [ebp - 0x18]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x10063d60]
shr edx, 0x18
xor ecx, dword [eax*4 + 0x10064160]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10063960]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 4]
movzx eax, cl
shr ecx, 8
movzx ecx, cl
xor esi, dword [eax*4 + 0x10064560]
mov dword [ebp - 4], esi
mov eax, esi
mov esi, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x10064160]
xor eax, dword [esi + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x10063d60]
xor ecx, dword [edx*4 + 0x10063960]
movzx eax, bl
mov ebx, ecx
mov dword [ebp - 8], ecx
xor ebx, dword [eax*4 + 0x10064560]
xor ebx, dword [esi + 0x1c]
add esi, 0x20
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
sub edi, 1
jne 0x10023a89
mov eax, dword [ebp - 4]
mov edi, 0xff000000
shr eax, 0x10
movzx eax, al
mov ecx, dword [eax*4 + 0x10064560]
mov eax, ebx
shr eax, 8
and ecx, 0xff0000
movzx eax, al
mov eax, dword [eax*4 + 0x10063960]
and eax, 0xff00
xor ecx, eax
mov eax, dword [ebp - 0x10]
shr eax, 0x18
mov eax, dword [eax*4 + 0x10064160]
and eax, edi
xor ecx, eax
mov eax, dword [ebp - 0x14]
movzx eax, al
movzx eax, byte [eax*4 + 0x10063d60]
xor ecx, eax
xor ecx, dword [esi + 4]
call fcn.100237fb
mov ecx, dword [ebp - 8]
mov ebx, eax
mov eax, dword [ebp - 4]
shr ecx, 0x10
movzx ecx, cl
shr eax, 0x18
mov edx, dword [ecx*4 + 0x10064560]
mov ecx, dword [ebp - 0x14]
and edx, 0xff0000
mov eax, dword [eax*4 + 0x10064160]
shr ecx, 8
and eax, edi
movzx ecx, cl
mov ecx, dword [ecx*4 + 0x10063960]
and ecx, 0xff00
xor ecx, edx
xor ecx, eax
mov eax, dword [ebp - 0x10]
movzx eax, al
movzx eax, byte [eax*4 + 0x10063d60]
xor ecx, eax
xor ecx, dword [esi + 8]
call fcn.100237fb
mov ecx, dword [ebp - 0x14]
mov edi, eax
mov eax, dword [ebp - 8]
shr ecx, 0x10
movzx ecx, cl
shr eax, 0x18
mov edx, dword [ecx*4 + 0x10064560]
mov ecx, dword [ebp - 0x10]
and edx, 0xff0000
mov eax, dword [eax*4 + 0x10064160]
shr ecx, 8
and eax, 0xff000000
movzx ecx, cl
mov ecx, dword [ecx*4 + 0x10063960]
and ecx, 0xff00
xor ecx, edx
xor ecx, eax
mov eax, dword [ebp - 4]
movzx eax, al
movzx eax, byte [eax*4 + 0x10063d60]
xor ecx, eax
xor ecx, dword [esi + 0xc]
call fcn.100237fb
mov esi, eax
mov eax, dword [ebp - 0x10]
shr eax, 0x10
movzx ecx, al
mov eax, dword [ebp - 4]
shr eax, 8
mov edx, dword [ecx*4 + 0x10064560]
movzx ecx, al
and edx, 0xff0000
mov ecx, dword [ecx*4 + 0x10063960]
and ecx, 0xff00
xor ecx, edx
mov eax, dword [ebp - 0x14]
shr eax, 0x18
mov eax, dword [eax*4 + 0x10064160]
and eax, 0xff000000
xor ecx, eax
mov eax, dword [ebp - 8]
movzx eax, al
movzx eax, byte [eax*4 + 0x10063d60]
xor ecx, eax
mov eax, dword [ebp - 0xc]
xor ecx, dword [eax]
call fcn.100237fb
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [ecx], eax
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], esi
pop ebx
pop edi
pop esi
leave
ret