Function at 0x1001dbc0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push ebp
mov ebp, dword [esp + 0x10]
push ebp
push eax
push ecx
call sym.LIBEAY32.dll_AES_set_encrypt_key
add esp, 0xc
test eax, eax
jl 0x1001de2f
mov edx, dword [ebp + 0xf0]
push ebx
push esi
xor esi, esi
shl edx, 2
test edx, edx
push edi
jle 0x1001dc35
lea ecx, [ebp + edx*4 + 8]
lea eax, [ebp + 8]
mov ebx, dword [ecx - 8]
mov edi, dword [eax - 8]
mov dword [eax - 8], ebx
mov ebx, dword [ecx - 4]
mov dword [ecx - 8], edi
mov edi, dword [eax - 4]
mov dword [eax - 4], ebx
mov ebx, dword [ecx]
mov dword [ecx - 4], edi
mov edi, dword [eax]
mov dword [eax], ebx
mov ebx, dword [ecx + 4]
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [eax + 4], ebx
mov dword [ecx + 4], edi
add esi, 4
sub edx, 4
add eax, 0x10
sub ecx, 0x10
cmp esi, edx
jl 0x1001dbf9
mov eax, dword [ebp + 0xf0]
mov ecx, 1
cmp eax, ecx
jle 0x1001de2a
lea eax, [ebp + 1]
mov dl, byte [eax + 0x11]
add eax, 0x10
xor ebx, ebx
and edx, 0xff
mov bl, byte [eax + 2]
mov edx, dword [edx*4 + str.ccccwwww]
mov esi, dword [ebx*4 + str.ccccwwww]
and edx, 0xff
and esi, 0xff
mov edx, dword [edx*4 + 0x1008e3f8]
mov ebx, dword [esi*4 + 0x1008dff8]
xor edx, ebx
xor ebx, ebx
mov bl, byte [eax]
mov esi, dword [ebx*4 + str.ccccwwww]
and esi, 0xff
mov ebx, dword [esi*4 + 0x1008e7f8]
mov esi, dword [eax - 1]
and esi, 0xff
xor edx, ebx
xor ebx, ebx
mov esi, dword [esi*4 + str.ccccwwww]
mov bl, byte [eax + 4]
and esi, 0xff
xor edx, dword [esi*4 + 0x1008ebf8]
mov dword [eax - 1], edx
mov dl, byte [eax + 5]
mov esi, dword [ebx*4 + str.ccccwwww]
and edx, 0xff
and esi, 0xff
mov edx, dword [edx*4 + str.ccccwwww]
mov ebx, dword [esi*4 + 0x1008e7f8]
and edx, 0xff
mov edx, dword [edx*4 + 0x1008e3f8]
xor edx, ebx
xor ebx, ebx
mov bl, byte [eax + 6]
mov esi, dword [ebx*4 + str.ccccwwww]
and esi, 0xff
mov ebx, dword [esi*4 + 0x1008dff8]
mov esi, dword [eax + 3]
and esi, 0xff
xor edx, ebx
xor ebx, ebx
mov esi, dword [esi*4 + str.ccccwwww]
mov bl, byte [eax + 8]
and esi, 0xff
xor edx, dword [esi*4 + 0x1008ebf8]
mov dword [eax + 3], edx
mov dl, byte [eax + 9]
mov esi, dword [ebx*4 + str.ccccwwww]
and edx, 0xff
and esi, 0xff
mov edx, dword [edx*4 + str.ccccwwww]
mov ebx, dword [esi*4 + 0x1008e7f8]
and edx, 0xff
mov edx, dword [edx*4 + 0x1008e3f8]
xor edx, ebx
xor ebx, ebx
mov bl, byte [eax + 0xa]
mov esi, dword [ebx*4 + str.ccccwwww]
and esi, 0xff
mov ebx, dword [esi*4 + 0x1008dff8]
mov esi, dword [eax + 7]
and esi, 0xff
xor edx, ebx
xor ebx, ebx
mov esi, dword [esi*4 + str.ccccwwww]
mov bl, byte [eax + 0xc]
and esi, 0xff
xor edx, dword [esi*4 + 0x1008ebf8]
mov dword [eax + 7], edx
mov dl, byte [eax + 0xd]
mov esi, dword [ebx*4 + str.ccccwwww]
and edx, 0xff
mov edx, dword [edx*4 + str.ccccwwww]
and edx, 0xff
and esi, 0xff
mov edx, dword [edx*4 + 0x1008e3f8]
mov ebx, dword [esi*4 + 0x1008e7f8]
xor edx, ebx
xor ebx, ebx
mov bl, byte [eax + 0xe]
mov esi, dword [ebx*4 + str.ccccwwww]
and esi, 0xff
mov ebx, dword [esi*4 + 0x1008dff8]
mov esi, dword [eax + 0xb]
and esi, 0xff
xor edx, ebx
mov esi, dword [esi*4 + str.ccccwwww]
and esi, 0xff
mov edi, dword [esi*4 + 0x1008ebf8]
xor edx, edi
inc ecx
mov dword [eax + 0xb], edx
mov edx, dword [ebp + 0xf0]
cmp ecx, edx
jl 0x1001dc4b
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret