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

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
mov ebx, ecx
mov dword [esp + 0x18], ebx
test ebp, ebp
je 0x1000b3ce
push esi
mov esi, dword [esp + 0x34]
lea eax, [ebx + 0x3f4]
push edi
mov dword [ebx + 0x3cc], 0x10
lea edi, [ebx + 0x3d4]
mov dword [ebx + 0x3c8], 0x20
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebx + 0x3cc]
push dword [esp + 0x3c]
push eax
call fcn.1005ce90
mov eax, dword [ebx + 0x3c8]
add esp, 0xc
cmp eax, 0x10
je 0x1000b091
cmp eax, 0x18
je 0x1000b07f
mov dword [ebx + 0x3d0], 0xe
jmp 0x1000b0b3
cmp dword [ebx + 0x3cc], 0x20
push 0xe
pop eax
push 0xc
pop ecx
cmovne eax, ecx
jmp 0x1000b0ad
mov ecx, dword [ebx + 0x3cc]
cmp ecx, 0x10
jne 0x1000b0a1
push 0xa
pop eax
jmp 0x1000b0ad
push 0xe
pop eax
push 0xc
cmp ecx, 0x18
pop edx
cmove eax, edx
mov dword [ebx + 0x3d0], eax
mov eax, dword [ebx + 0x3cc]
xor esi, esi
cdq
and edx, 3
lea edi, [edx + eax]
sar edi, 2
mov dword [esp + 0x14], edi
cmp dword [ebx + 0x3d0], esi
jl 0x1000b0f0
lea edx, [ebx + 8]
test edi, edi
jle 0x1000b0e4
mov ecx, edi
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x14]
inc esi
add edx, 0x20
cmp esi, dword [ebx + 0x3d0]
jle 0x1000b0d4
xor edx, edx
cmp dword [ebx + 0x3d0], edx
jl 0x1000b11c
lea esi, [ebx + 0x1e8]
test edi, edi
jle 0x1000b110
mov ecx, edi
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x14]
inc edx
add esi, 0x20
cmp edx, dword [ebx + 0x3d0]
jle 0x1000b100
mov eax, dword [ebx + 0x3d0]
inc eax
imul eax, edi
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x3c8]
cdq
and edx, 3
lea esi, [edx + eax]
sar esi, 2
lea eax, [ebx + 0x414]
mov dword [esp + 0x1c], esi
mov ecx, eax
test esi, esi
jle 0x1000b17e
mov edx, esi
movzx eax, byte [ebp]
lea ebp, [ebp + 4]
shl eax, 0x18
mov dword [ecx], eax
movzx eax, byte [ebp - 3]
shl eax, 0x10
or dword [ecx], eax
movzx eax, byte [ebp - 2]
shl eax, 8
or dword [ecx], eax
movzx eax, byte [ebp - 1]
or dword [ecx], eax
lea ecx, [ecx + 4]
sub edx, 1
jne 0x1000b14c
lea eax, [ebx + 0x414]
xor ebp, ebp
test esi, esi
jle 0x1000b1ce
mov ecx, eax
mov dword [esp + 0x34], eax
cmp ebp, dword [esp + 0x38]
jge 0x1000b34c
mov eax, ebp
mov ecx, dword [ecx]
cdq
idiv edi
lea esi, [edx + eax*8]
mov dword [ebx + esi*4 + 8], ecx
mov ecx, dword [ebx + 0x3d0]
mov esi, dword [esp + 0x1c]
sub ecx, eax
mov eax, dword [esp + 0x34]
inc ebp
lea ecx, [edx + ecx*8]
mov eax, dword [eax]
mov dword [ebx + ecx*4 + 0x1e8], eax
mov ecx, dword [esp + 0x34]
add ecx, 4
mov dword [esp + 0x34], ecx
cmp ebp, esi
jl 0x1000b18a
cmp ebp, dword [esp + 0x38]
jge 0x1000b34c
mov dword [esp + 0x34], 0x100a8050
mov edx, dword [ebx + esi*4 + 0x410]
mov eax, edx
sar eax, 0x10
movzx eax, al
movsx ecx, byte [eax + str.cw]
mov eax, dword [esp + 0x34]
movsx eax, byte [eax]
xor ecx, eax
mov eax, edx
sar eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + str.cw]
xor ecx, eax
movzx eax, dl
shl ecx, 8
sar edx, 0x18
movzx eax, byte [eax + str.cw]
xor ecx, eax
movzx eax, dl
shl ecx, 8
movzx eax, byte [eax + str.cw]
xor ecx, eax
lea eax, [ebx + 0x414]
xor dword [eax], ecx
inc dword [esp + 0x34]
cmp esi, 8
je 0x1000b266
cmp esi, 1
jle 0x1000b2ea
lea ecx, [ebx + 0x418]
lea edx, [esi - 1]
mov eax, dword [ecx - 4]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub edx, 1
jne 0x1000b257
jmp 0x1000b2e4
push 3
lea ecx, [ebx + 0x418]
pop edx
mov eax, dword [ecx - 4]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub edx, 1
jne 0x1000b26f
mov edx, dword [ebx + 0x420]
mov eax, edx
sar eax, 0x18
movzx eax, al
push 3
movsx ecx, byte [eax + str.cw]
mov eax, edx
sar eax, 0x10
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + str.cw]
xor ecx, eax
mov eax, edx
sar eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + str.cw]
xor ecx, eax
movzx eax, dl
shl ecx, 8
pop edx
movzx eax, byte [eax + str.cw]
xor ecx, eax
xor dword [ebx + 0x424], ecx
lea ecx, [ebx + 0x428]
mov eax, dword [ecx - 4]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub edx, 1
jne 0x1000b2d7
lea eax, [ebx + 0x414]
and dword [esp + 0x18], 0
test esi, esi
jle 0x1000b342
mov ecx, eax
mov dword [esp + 0x10], eax
cmp ebp, dword [esp + 0x38]
jge 0x1000b34c
mov eax, ebp
mov ecx, dword [ecx]
cdq
idiv edi
lea esi, [edx + eax*8]
mov dword [ebx + esi*4 + 8], ecx
mov ecx, dword [ebx + 0x3d0]
mov esi, dword [esp + 0x1c]
sub ecx, eax
mov eax, dword [esp + 0x10]
lea ecx, [edx + ecx*8]
mov eax, dword [eax]
mov dword [ebx + ecx*4 + 0x1e8], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
inc eax
add ecx, 4
mov dword [esp + 0x18], eax
inc ebp
mov dword [esp + 0x10], ecx
cmp eax, esi
jl 0x1000b2f9
cmp ebp, dword [esp + 0x38]
jl 0x1000b1e0
xor esi, esi
inc esi
cmp dword [ebx + 0x3d0], esi
jle 0x1000b3c0
lea ebp, [ebx + 0x208]
test edi, edi
jle 0x1000b3b4
mov ebx, edi
mov dword [esp + 0x38], ebp
mov edi, ebp
mov edx, dword [edi]
mov eax, edx
sar eax, 0x18
movzx ecx, al
mov eax, edx
sar eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x100a8470]
xor ecx, dword [eax*4 + 0x100a7350]
mov eax, edx
sar eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100a8c70]
movzx eax, dl
xor ecx, dword [eax*4 + 0x100a8070]
mov dword [edi], ecx
lea edi, [edi + 4]
sub ebx, 1
jne 0x1000b369
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
inc esi
add ebp, 0x20
cmp esi, dword [ebx + 0x3d0]
jl 0x1000b35d
pop edi
pop esi
pop ebp
mov byte [ebx + 4], 1
pop ebx
add esp, 0x20
ret 0x10
push str.Empty_key
lea ecx, [esp + 0x20]
call fcn.100011c0
push 0x100ae1e0
lea eax, [esp + 0x20]
push eax
call fcn.1005dcb9
int3