Function at 0x10011880
Capabilities:
Encode data using xor
Encrypt data using aes
Encrypt data using rc4 ksa
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, ecx
test esi, esi
je 0x10011c89
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x3cc], 0x10
mov dword [ebx + 0x3c8], 0x20
movq xmm0, qword [eax]
movq qword [ebx + 0x3d4], xmm0
movq xmm0, qword [eax + 8]
movq qword [ebx + 0x3dc], xmm0
push dword [ebx + 0x3cc]
push eax
lea eax, [ebx + 0x3f4]
push eax
call fcn.10073400
mov eax, dword [ebx + 0x3c8]
add esp, 0xc
cmp eax, 0x10
je 0x10011906
cmp eax, 0x18
je 0x100118f8
mov dword [ebx + 0x3d0], 0xe
jmp 0x1001192b
xor eax, eax
cmp dword [ebx + 0x3cc], 0x20
sete al
jmp 0x1001191e
mov ecx, dword [ebx + 0x3cc]
cmp ecx, 0x10
jne 0x10011916
lea eax, [ecx - 6]
jmp 0x10011925
xor eax, eax
cmp ecx, 0x18
setne al
lea eax, [eax*2 + 0xc]
mov dword [ebx + 0x3d0], eax
mov eax, dword [ebx + 0x3cc]
cdq
and edx, 3
add eax, edx
sar eax, 2
xor edx, edx
mov dword [ebp + 0xc], eax
cmp dword [ebx + 0x3d0], edx
jl 0x1001196f
lea edi, [ebx + 8]
mov dword [ebp - 0xc], edi
mov esi, eax
nop
test esi, esi
jle 0x1001195d
mov ecx, esi
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0xc]
inc edx
add edi, 0x20
mov dword [ebp - 0xc], edi
cmp edx, dword [ebx + 0x3d0]
jle 0x10011950
mov esi, dword [ebp + 8]
xor edx, edx
cmp dword [ebx + 0x3d0], edx
jl 0x100119a4
mov esi, dword [ebp + 0xc]
lea edi, [ebx + 0x1e8]
mov dword [ebp - 0xc], edi
test esi, esi
jle 0x10011992
mov ecx, esi
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0xc]
inc edx
add edi, 0x20
mov dword [ebp - 0xc], edi
cmp edx, dword [ebx + 0x3d0]
jle 0x10011985
mov esi, dword [ebp + 8]
mov eax, dword [ebx + 0x3d0]
inc eax
imul eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x3c8]
cdq
and edx, 3
add edx, eax
sar edx, 2
lea eax, [ebx + 0x414]
mov dword [ebp + 8], edx
mov ecx, eax
test edx, edx
jle 0x10011a01
mov edi, edx
movzx eax, byte [esi]
shl eax, 0x18
mov dword [ecx], eax
movzx eax, byte [esi + 1]
shl eax, 0x10
or dword [ecx], eax
movzx eax, byte [esi + 2]
shl eax, 8
or dword [ecx], eax
movzx eax, byte [esi + 3]
or dword [ecx], eax
lea esi, [esi + 4]
lea ecx, [ecx + 4]
dec edi
jne 0x100119d2
lea eax, [ebx + 0x414]
xor edi, edi
test edx, edx
jle 0x10011a4c
mov ecx, eax
mov dword [ebp - 4], eax
lea esp, [esp]
cmp edi, dword [ebp - 0xc]
jge 0x10011a4c
mov eax, edi
cdq
idiv dword [ebp + 0xc]
mov ecx, dword [ecx]
inc edi
lea esi, [edx + eax*8]
mov dword [ebx + esi*4 + 8], ecx
mov ecx, dword [ebx + 0x3d0]
sub ecx, eax
mov eax, dword [ebp - 4]
lea ecx, [edx + ecx*8]
mov eax, dword [eax]
mov edx, dword [ebp + 8]
mov dword [ebx + ecx*4 + 0x1e8], eax
mov ecx, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 4], ecx
cmp edi, edx
jl 0x10011a10
mov esi, dword [ebp - 0xc]
cmp edi, esi
jge 0x10011bf2
lea eax, [ebx + 0x410]
mov dword [ebp - 4], 0x100a8560
lea eax, [eax + edx*4]
mov dword [ebp - 0x14], eax
lea ebx, [ebx]
mov edx, dword [eax]
mov eax, edx
sar eax, 0x10
and eax, 0xff
movsx ecx, byte [eax + 0x100aa2e0]
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
movsx eax, byte [eax]
xor ecx, eax
mov eax, edx
sar eax, 8
and eax, 0xff
shl ecx, 8
movzx eax, byte [eax + 0x100aa2e0]
xor ecx, eax
movzx eax, dl
sar edx, 0x18
movzx eax, byte [eax + 0x100aa2e0]
shl ecx, 8
xor ecx, eax
and edx, 0xff
shl ecx, 8
movzx eax, byte [edx + 0x100aa2e0]
xor ecx, eax
mov eax, dword [ebp + 8]
xor dword [ebx + 0x414], ecx
lea edx, [ebx + 0x414]
cmp eax, 8
je 0x10011b00
cmp eax, 1
jle 0x10011b94
lea ecx, [ebx + 0x418]
lea edx, [eax - 1]
mov edi, edi
mov eax, dword [ecx - 4]
xor dword [ecx], eax
lea ecx, [ecx + 4]
dec edx
jne 0x10011af0
jmp 0x10011b8b
lea eax, [ebx + 0x418]
mov edx, 3
jmp 0x10011b10
mov ecx, dword [eax - 4]
xor dword [eax], ecx
lea eax, [eax + 4]
dec edx
jne 0x10011b10
mov edx, dword [ebx + 0x420]
mov eax, edx
sar eax, 0x18
and eax, 0xff
movsx ecx, byte [eax + 0x100aa2e0]
mov eax, edx
sar eax, 0x10
and eax, 0xff
shl ecx, 8
movzx eax, byte [eax + 0x100aa2e0]
xor ecx, eax
mov eax, edx
sar eax, 8
and eax, 0xff
shl ecx, 8
movzx eax, byte [eax + 0x100aa2e0]
xor ecx, eax
movzx eax, dl
shl ecx, 8
movzx eax, byte [eax + 0x100aa2e0]
xor ecx, eax
xor dword [ebx + 0x424], ecx
lea ecx, [ebx + 0x428]
mov edx, 3
mov edi, edi
mov eax, dword [ecx - 4]
xor dword [ecx], eax
lea ecx, [ecx + 4]
dec edx
jne 0x10011b80
mov eax, dword [ebp + 8]
lea edx, [ebx + 0x414]
mov dword [ebp - 0x10], 0
test eax, eax
jle 0x10011be7
mov ecx, edx
mov dword [ebp - 8], edx
cmp edi, esi
jge 0x10011bf2
mov eax, edi
cdq
idiv dword [ebp + 0xc]
mov ecx, dword [ecx]
inc edi
lea esi, [edx + eax*8]
mov dword [ebx + esi*4 + 8], ecx
mov ecx, dword [ebx + 0x3d0]
mov esi, dword [ebp - 0xc]
sub ecx, eax
mov eax, dword [ebp - 8]
lea ecx, [edx + ecx*8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
mov dword [ebx + ecx*4 + 0x1e8], eax
mov ecx, dword [ebp - 8]
inc edx
add ecx, 4
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], ecx
cmp edx, dword [ebp + 8]
jl 0x10011ba4
mov eax, dword [ebp - 0x14]
cmp edi, esi
jl 0x10011a70
mov ecx, 1
mov dword [ebp + 8], ecx
cmp dword [ebx + 0x3d0], ecx
jle 0x10011c7c
mov eax, dword [ebp + 0xc]
lea edx, [ebx + 0x208]
mov dword [ebp - 0x10], edx
mov edi, edi
test eax, eax
jle 0x10011c6a
mov esi, edx
mov edi, eax
mov edx, dword [esi]
mov ecx, edx
sar ecx, 0x18
and ecx, 0xff
mov eax, edx
mov ecx, dword [ecx*4 + 0x100aafe0]
sar eax, 0x10
and eax, 0xff
lea esi, [esi + 4]
xor ecx, dword [eax*4 + 0x100a9180]
mov eax, edx
sar eax, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x100aa3e0]
movzx eax, dl
xor ecx, dword [eax*4 + 0x100a9ee0]
mov dword [esi - 4], ecx
dec edi
jne 0x10011c18
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
inc ecx
add edx, 0x20
mov dword [ebp + 8], ecx
mov dword [ebp - 0x10], edx
cmp ecx, dword [ebx + 0x3d0]
jl 0x10011c10
pop edi
pop esi
mov byte [ebx + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp + 8], str.Empty_key
call fcn.100709d6
push 0x100af068
lea eax, [ebp - 0x20]
push eax
call fcn.1007878b
int3