Function at 0x1000bb70
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
xor ecx, ecx
mov ch, byte [eax]
movzx edx, byte [eax + 2]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov cl, byte [eax + 1]
push edi
shl ecx, 8
or ecx, edx
shl ecx, 8
movzx edx, byte [eax + 3]
or ecx, edx
xor ecx, dword [esi]
movzx edx, byte [eax + 6]
mov dword [ebp + 8], ecx
xor ecx, ecx
mov ch, byte [eax + 4]
mov cl, byte [eax + 5]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 7]
shl ecx, 8
or ecx, edx
xor ecx, dword [esi + 4]
movzx edx, byte [eax + 0xa]
mov dword [ebp + 0x10], ecx
xor ecx, ecx
mov ch, byte [eax + 8]
mov cl, byte [eax + 9]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 0xb]
shl ecx, 8
or ecx, edx
xor ecx, dword [esi + 8]
movzx edx, byte [eax + 0xe]
mov edi, ecx
xor ecx, ecx
mov ch, byte [eax + 0xc]
mov dword [ebp - 8], edi
mov cl, byte [eax + 0xd]
movzx eax, byte [eax + 0xf]
shl ecx, 8
or ecx, edx
mov edx, dword [ebp + 0x10]
shl ecx, 8
or ecx, eax
xor ecx, dword [esi + 0xc]
shr edx, 0x10
mov eax, ecx
mov ecx, edi
shr ecx, 8
movzx ecx, cl
movzx ebx, dl
mov edx, dword [ecx*4 + 0x1001e8a8]
xor edx, dword [ebx*4 + 0x1001e4a8]
mov ecx, dword [ebp + 8]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x1001d4a8]
movzx ecx, al
xor edx, dword [ecx*4 + 0x1001eca8]
mov ecx, eax
xor edx, dword [esi + 0x10]
shr ecx, 8
movzx ecx, cl
mov ecx, dword [ecx*4 + 0x1001e8a8]
mov ebx, edi
shr ebx, 0x10
movzx ebx, bl
xor ecx, dword [ebx*4 + 0x1001e4a8]
mov ebx, dword [ebp + 0x10]
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x1001d4a8]
movzx ebx, byte [ebp + 8]
xor ecx, dword [ebx*4 + 0x1001eca8]
mov ebx, eax
xor ecx, dword [esi + 0x14]
shr ebx, 0x10
mov dword [ebp - 0x10], ecx
movzx ebx, bl
shr edi, 0x18
mov dword [ebp - 0x14], edi
mov edi, dword [ebx*4 + 0x1001e4a8]
mov ebx, dword [ebp - 0x14]
xor edi, dword [ebx*4 + 0x1001d4a8]
mov ebx, dword [ebp + 8]
shr ebx, 8
movzx ebx, bl
xor edi, dword [ebx*4 + 0x1001e8a8]
movzx ebx, byte [ebp + 0x10]
xor edi, dword [ebx*4 + 0x1001eca8]
mov ebx, dword [ebp + 0x10]
xor edi, dword [esi + 0x18]
shr eax, 0x18
mov eax, dword [eax*4 + 0x1001d4a8]
shr ebx, 8
mov dword [ebp - 4], edi
movzx edi, bl
xor eax, dword [edi*4 + 0x1001e8a8]
mov ebx, dword [ebp + 8]
shr ebx, 0x10
movzx edi, bl
xor eax, dword [edi*4 + 0x1001e4a8]
movzx edi, byte [ebp - 8]
xor eax, dword [edi*4 + 0x1001eca8]
lea edi, [esi + 0x20]
xor eax, dword [esi + 0x1c]
mov esi, dword [esi + 0x200]
sar esi, 1
dec esi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], esi
je 0x1000beee
mov ebx, dword [ebp - 4]
shr ebx, 8
movzx esi, bl
mov esi, dword [esi*4 + 0x1001e8a8]
mov ebx, ecx
shr ebx, 0x10
movzx edi, bl
xor esi, dword [edi*4 + 0x1001e4a8]
mov edi, edx
shr edi, 0x18
xor esi, dword [edi*4 + 0x1001d4a8]
movzx edi, al
xor esi, dword [edi*4 + 0x1001eca8]
mov edi, dword [ebp - 0xc]
xor esi, dword [edi]
mov ebx, eax
mov dword [ebp + 8], esi
shr ebx, 8
movzx esi, bl
mov esi, dword [esi*4 + 0x1001e8a8]
mov ebx, dword [ebp - 4]
shr ebx, 0x10
movzx edi, bl
xor esi, dword [edi*4 + 0x1001e4a8]
mov edi, ecx
shr edi, 0x18
xor esi, dword [edi*4 + 0x1001d4a8]
movzx edi, dl
xor esi, dword [edi*4 + 0x1001eca8]
mov edi, dword [ebp - 0xc]
xor esi, dword [edi + 4]
mov edi, dword [ebp - 4]
mov ebx, eax
mov dword [ebp + 0x10], esi
shr ebx, 0x10
movzx esi, bl
mov esi, dword [esi*4 + 0x1001e4a8]
mov ebx, edx
shr edi, 0x18
xor esi, dword [edi*4 + 0x1001d4a8]
shr ebx, 8
movzx edi, bl
mov dword [ebp - 0x10], esi
xor esi, dword [edi*4 + 0x1001e8a8]
movzx edi, cl
xor esi, dword [edi*4 + 0x1001eca8]
mov edi, dword [ebp - 0xc]
xor esi, dword [edi + 8]
shr ecx, 8
movzx ecx, cl
shr eax, 0x18
mov eax, dword [eax*4 + 0x1001d4a8]
xor eax, dword [ecx*4 + 0x1001e8a8]
shr edx, 0x10
movzx ecx, dl
xor eax, dword [ecx*4 + 0x1001e4a8]
movzx ecx, byte [ebp - 4]
xor eax, dword [ecx*4 + 0x1001eca8]
mov edx, dword [ebp + 0x10]
xor eax, dword [edi + 0xc]
mov ecx, esi
shr ecx, 8
movzx ecx, cl
mov ecx, dword [ecx*4 + 0x1001e8a8]
shr edx, 0x10
movzx edx, dl
xor ecx, dword [edx*4 + 0x1001e4a8]
mov edx, dword [ebp + 8]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x1001d4a8]
movzx edx, al
xor ecx, dword [edx*4 + 0x1001eca8]
mov ebx, esi
xor ecx, dword [edi + 0x10]
mov dword [ebp - 8], esi
mov edx, ecx
mov ecx, eax
shr ecx, 8
shr ebx, 0x10
movzx ecx, cl
movzx esi, bl
mov ecx, dword [ecx*4 + 0x1001e8a8]
xor ecx, dword [esi*4 + 0x1001e4a8]
mov esi, dword [ebp + 0x10]
shr esi, 0x18
xor ecx, dword [esi*4 + 0x1001d4a8]
movzx esi, byte [ebp + 8]
xor ecx, dword [esi*4 + 0x1001eca8]
mov ebx, eax
shr ebx, 0x10
movzx esi, bl
mov esi, dword [esi*4 + 0x1001e4a8]
mov ebx, dword [ebp - 8]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x1001d4a8]
mov ebx, dword [ebp + 8]
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0x1001e8a8]
movzx ebx, byte [ebp + 0x10]
xor esi, dword [ebx*4 + 0x1001eca8]
mov ebx, dword [ebp + 0x10]
xor esi, dword [edi + 0x18]
xor ecx, dword [edi + 0x14]
shr ebx, 8
shr eax, 0x18
mov dword [ebp - 4], esi
movzx esi, bl
mov ebx, dword [eax*4 + 0x1001d4a8]
mov eax, dword [ebp + 8]
xor ebx, dword [esi*4 + 0x1001e8a8]
shr eax, 0x10
movzx eax, al
xor ebx, dword [eax*4 + 0x1001e4a8]
movzx eax, byte [ebp - 8]
xor ebx, dword [eax*4 + 0x1001eca8]
add edi, 0x20
xor ebx, dword [edi - 4]
dec dword [ebp - 0x14]
mov eax, ebx
mov dword [ebp - 0xc], edi
jne 0x1000bd03
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp - 4]
shr ebx, 8
movzx esi, bl
mov esi, dword [esi*4 + 0x1001f4a8]
shr ecx, 0x10
movzx ecx, cl
xor esi, dword [ecx*4 + 0x1001f8a8]
mov ecx, edx
shr ecx, 0x18
xor esi, dword [ecx*4 + 0x1001fca8]
movzx ecx, al
xor esi, dword [ecx*4 + str.cwko0]
mov ecx, dword [ebp + 0xc]
xor esi, dword [edi]
mov ebx, esi
shr ebx, 0x18
mov byte [ecx], bl
mov ebx, esi
shr ebx, 0x10
mov byte [ecx + 1], bl
mov ebx, esi
shr ebx, 8
mov byte [ecx + 2], bl
mov dword [ebp + 8], esi
mov bl, byte [ebp + 8]
mov byte [ecx + 3], bl
mov ebx, eax
shr ebx, 8
movzx esi, bl
mov esi, dword [esi*4 + 0x1001f4a8]
mov ebx, dword [ebp - 4]
shr ebx, 0x10
movzx edi, bl
xor esi, dword [edi*4 + 0x1001f8a8]
mov edi, dword [ebp - 0x10]
mov dword [ebp + 8], esi
shr edi, 0x18
xor esi, dword [edi*4 + 0x1001fca8]
movzx edi, dl
xor esi, dword [edi*4 + str.cwko0]
mov edi, dword [ebp - 0xc]
xor esi, dword [edi + 4]
mov edi, dword [ebp - 4]
mov ebx, esi
shr ebx, 0x18
mov byte [ecx + 4], bl
mov ebx, esi
shr ebx, 0x10
mov byte [ecx + 5], bl
mov ebx, esi
shr ebx, 8
mov byte [ecx + 6], bl
mov dword [ebp + 0x10], esi
mov bl, byte [ebp + 0x10]
mov byte [ecx + 7], bl
mov ebx, eax
shr ebx, 0x10
movzx esi, bl
mov esi, dword [esi*4 + 0x1001f8a8]
shr edi, 0x18
xor esi, dword [edi*4 + 0x1001fca8]
movzx edi, byte [ebp - 0x10]
mov dword [ebp + 8], esi
mov ebx, edx
shr ebx, 8
movzx esi, bl
mov esi, dword [esi*4 + 0x1001f4a8]
xor dword [ebp + 8], esi
mov esi, dword [ebp + 8]
xor esi, dword [edi*4 + str.cwko0]
mov edi, dword [ebp - 0xc]
xor esi, dword [edi + 8]
mov ebx, esi
shr ebx, 0x18
mov byte [ecx + 8], bl
mov ebx, esi
shr ebx, 0x10
mov byte [ecx + 9], bl
mov ebx, esi
mov dword [ebp - 8], esi
shr ebx, 8
mov byte [ecx + 0xa], bl
mov bl, byte [ebp - 8]
mov byte [ecx + 0xb], bl
mov ebx, dword [ebp - 0x10]
shr edx, 0x10
shr eax, 0x18
mov eax, dword [eax*4 + 0x1001fca8]
movzx edx, dl
shr ebx, 8
movzx esi, bl
xor eax, dword [esi*4 + 0x1001f4a8]
xor eax, dword [edx*4 + 0x1001f8a8]
movzx edx, byte [ebp - 4]
xor eax, dword [edx*4 + str.cwko0]
mov edx, edi
xor eax, dword [edx + 0xc]
pop edi
mov edx, eax
shr edx, 0x18
mov byte [ecx + 0xc], dl
mov edx, eax
shr edx, 0x10
mov byte [ecx + 0xd], dl
mov edx, eax
shr edx, 8
pop esi
mov byte [ecx + 0xe], dl
mov byte [ecx + 0xf], al
pop ebx
leave
ret