Function at 0x10013410
Capabilities:
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
push ebx
push esi
push edi
lea edi, [ebp - 0x144]
mov ecx, 0x51
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x1e0]
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
and ecx, 0xff
shl ecx, 0x18
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 1]
and eax, 0xff
shl eax, 0x10
or ecx, eax
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 2]
and eax, 0xff
shl eax, 8
or ecx, eax
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 3]
and eax, 0xff
or ecx, eax
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 8]
xor ecx, dword [eax]
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 4]
and ecx, 0xff
shl ecx, 0x18
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 5]
and eax, 0xff
shl eax, 0x10
or ecx, eax
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 6]
and eax, 0xff
shl eax, 8
or ecx, eax
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 7]
and eax, 0xff
or ecx, eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x14]
xor ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 8]
and ecx, 0xff
shl ecx, 0x18
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 9]
and eax, 0xff
shl eax, 0x10
or ecx, eax
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0xa]
and eax, 0xff
shl eax, 8
or ecx, eax
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0xb]
and eax, 0xff
or ecx, eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x20]
xor ecx, dword [eax + 8]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xc]
and ecx, 0xff
shl ecx, 0x18
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0xd]
and eax, 0xff
shl eax, 0x10
or ecx, eax
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0xe]
and eax, 0xff
shl eax, 8
or ecx, eax
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0xf]
and eax, 0xff
or ecx, eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x2c]
xor ecx, dword [eax + 0xc]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x74]
sar eax, 1
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 8]
shr eax, 0x18
movzx ecx, al
mov edx, dword [ebp - 0x14]
shr edx, 0x10
movzx eax, dl
mov ecx, dword [ecx*4 + 0x10023438]
xor ecx, dword [eax*4 + 0x10024438]
mov edx, dword [ebp - 0x20]
shr edx, 8
movzx eax, dl
xor ecx, dword [eax*4 + 0x10024838]
movzx edx, byte [ebp - 0x2c]
xor ecx, dword [edx*4 + 0x10024c38]
mov eax, dword [ebp - 0x68]
xor ecx, dword [eax + 0x10]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x14]
shr eax, 0x18
movzx ecx, al
mov edx, dword [ebp - 0x20]
shr edx, 0x10
movzx eax, dl
mov ecx, dword [ecx*4 + 0x10023438]
xor ecx, dword [eax*4 + 0x10024438]
mov edx, dword [ebp - 0x2c]
shr edx, 8
movzx eax, dl
xor ecx, dword [eax*4 + 0x10024838]
movzx edx, byte [ebp - 8]
xor ecx, dword [edx*4 + 0x10024c38]
mov eax, dword [ebp - 0x68]
xor ecx, dword [eax + 0x14]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x20]
shr eax, 0x18
movzx ecx, al
mov edx, dword [ebp - 0x2c]
shr edx, 0x10
movzx eax, dl
mov ecx, dword [ecx*4 + 0x10023438]
xor ecx, dword [eax*4 + 0x10024438]
mov edx, dword [ebp - 8]
shr edx, 8
movzx eax, dl
xor ecx, dword [eax*4 + 0x10024838]
movzx edx, byte [ebp - 0x14]
xor ecx, dword [edx*4 + 0x10024c38]
mov eax, dword [ebp - 0x68]
xor ecx, dword [eax + 0x18]
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x2c]
shr eax, 0x18
movzx ecx, al
mov edx, dword [ebp - 8]
shr edx, 0x10
movzx eax, dl
mov ecx, dword [ecx*4 + 0x10023438]
xor ecx, dword [eax*4 + 0x10024438]
mov edx, dword [ebp - 0x14]
shr edx, 8
movzx eax, dl
xor ecx, dword [eax*4 + 0x10024838]
movzx edx, byte [ebp - 0x20]
xor ecx, dword [edx*4 + 0x10024c38]
mov eax, dword [ebp - 0x68]
xor ecx, dword [eax + 0x1c]
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp - 0x68]
add eax, 0x20
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x80]
sub eax, 1
mov dword [ebp - 0x80], eax
jne 0x100136ab
jmp 0x100137bf
mov eax, dword [ebp - 0x38]
shr eax, 0x18
movzx ecx, al
mov edx, dword [ebp - 0x44]
shr edx, 0x10
movzx eax, dl
mov ecx, dword [ecx*4 + 0x10023438]
xor ecx, dword [eax*4 + 0x10024438]
mov edx, dword [ebp - 0x50]
shr edx, 8
movzx eax, dl
xor ecx, dword [eax*4 + 0x10024838]
movzx edx, byte [ebp - 0x5c]
xor ecx, dword [edx*4 + 0x10024c38]
mov eax, dword [ebp - 0x68]
xor ecx, dword [eax]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0x44]
shr eax, 0x18
movzx ecx, al
mov edx, dword [ebp - 0x50]
shr edx, 0x10
movzx eax, dl
mov ecx, dword [ecx*4 + 0x10023438]
xor ecx, dword [eax*4 + 0x10024438]
mov edx, dword [ebp - 0x5c]
shr edx, 8
movzx eax, dl
xor ecx, dword [eax*4 + 0x10024838]
movzx edx, byte [ebp - 0x38]
xor ecx, dword [edx*4 + 0x10024c38]
mov eax, dword [ebp - 0x68]
xor ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x50]
shr eax, 0x18
movzx ecx, al
mov edx, dword [ebp - 0x5c]
shr edx, 0x10
movzx eax, dl
mov ecx, dword [ecx*4 + 0x10023438]
xor ecx, dword [eax*4 + 0x10024438]
mov edx, dword [ebp - 0x38]
shr edx, 8
movzx eax, dl
xor ecx, dword [eax*4 + 0x10024838]
movzx edx, byte [ebp - 0x44]
xor ecx, dword [edx*4 + 0x10024c38]
mov eax, dword [ebp - 0x68]
xor ecx, dword [eax + 8]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x5c]
shr eax, 0x18
movzx ecx, al
mov edx, dword [ebp - 0x38]
shr edx, 0x10
movzx eax, dl
mov ecx, dword [ecx*4 + 0x10023438]
xor ecx, dword [eax*4 + 0x10024438]
mov edx, dword [ebp - 0x44]
shr edx, 8
movzx eax, dl
xor ecx, dword [eax*4 + 0x10024838]
movzx edx, byte [ebp - 0x50]
xor ecx, dword [edx*4 + 0x10024c38]
mov eax, dword [ebp - 0x68]
xor ecx, dword [eax + 0xc]
mov dword [ebp - 0x2c], ecx
jmp 0x10013582
mov eax, dword [ebp - 0x38]
shr eax, 0x18
movzx ecx, al
mov edx, dword [ebp - 0x44]
shr edx, 0x10
movzx eax, dl
mov ecx, dword [ecx*4 + 0x10025c38]
xor ecx, dword [eax*4 + 0x10025838]
mov edx, dword [ebp - 0x50]
shr edx, 8
movzx eax, dl
xor ecx, dword [eax*4 + 0x10025438]
movzx edx, byte [ebp - 0x5c]
xor ecx, dword [edx*4 + str.cwko0]
mov eax, dword [ebp - 0x68]
xor ecx, dword [eax]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
shr eax, 0x18
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx], al
mov eax, dword [ebp - 8]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 1], al
mov eax, dword [ebp - 8]
shr eax, 8
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 2], al
mov eax, dword [ebp - 8]
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 3], al
mov eax, dword [ebp - 0x44]
shr eax, 0x18
movzx ecx, al
mov edx, dword [ebp - 0x50]
shr edx, 0x10
movzx eax, dl
mov ecx, dword [ecx*4 + 0x10025c38]
xor ecx, dword [eax*4 + 0x10025838]
mov edx, dword [ebp - 0x5c]
shr edx, 8
movzx eax, dl
xor ecx, dword [eax*4 + 0x10025438]
movzx edx, byte [ebp - 0x38]
xor ecx, dword [edx*4 + str.cwko0]
mov eax, dword [ebp - 0x68]
xor ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
shr eax, 0x18
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 4], al
mov eax, dword [ebp - 0x14]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 5], al
mov eax, dword [ebp - 0x14]
shr eax, 8
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 6], al
mov eax, dword [ebp - 0x14]
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 7], al
mov eax, dword [ebp - 0x50]
shr eax, 0x18
movzx ecx, al
mov edx, dword [ebp - 0x5c]
shr edx, 0x10
movzx eax, dl
mov ecx, dword [ecx*4 + 0x10025c38]
xor ecx, dword [eax*4 + 0x10025838]
mov edx, dword [ebp - 0x38]
shr edx, 8
movzx eax, dl
xor ecx, dword [eax*4 + 0x10025438]
movzx edx, byte [ebp - 0x44]
xor ecx, dword [edx*4 + str.cwko0]
mov eax, dword [ebp - 0x68]
xor ecx, dword [eax + 8]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
shr eax, 0x18
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 8], al
mov eax, dword [ebp - 0x20]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 9], al
mov eax, dword [ebp - 0x20]
shr eax, 8
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0xa], al
mov eax, dword [ebp - 0x20]
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0xb], al
mov eax, dword [ebp - 0x5c]
shr eax, 0x18
movzx ecx, al
mov edx, dword [ebp - 0x38]
shr edx, 0x10
movzx eax, dl
mov ecx, dword [ecx*4 + 0x10025c38]
xor ecx, dword [eax*4 + 0x10025838]
mov edx, dword [ebp - 0x44]
shr edx, 8
movzx eax, dl
xor ecx, dword [eax*4 + 0x10025438]
movzx edx, byte [ebp - 0x50]
xor ecx, dword [edx*4 + str.cwko0]
mov eax, dword [ebp - 0x68]
xor ecx, dword [eax + 0xc]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
shr eax, 0x18
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0xc], al
mov eax, dword [ebp - 0x2c]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0xd], al
mov eax, dword [ebp - 0x2c]
shr eax, 8
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0xe], al
mov eax, dword [ebp - 0x2c]
and eax, 0xff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0xf], al
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret