Function at 0x100b1c50
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x80
mov eax, dword [0x106499c8]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
mov ebx, dword [esp + 0x88]
push ebp
mov eax, dword [ebx + 0x10]
push esi
mov esi, dword [esp + 0x98]
mov edx, eax
lea ecx, [eax + esi*8]
shr edx, 3
push edi
mov edi, dword [esp + 0x98]
lea eax, [esi*8]
and edx, 0x3f
mov dword [esp + 0x48], ebx
mov dword [esp + 0x34], edi
mov dword [ebx + 0x10], ecx
cmp ecx, eax
jae 0x100b1ca1
inc dword [ebx + 0x14]
mov eax, esi
shr eax, 0x1d
add dword [ebx + 0x14], eax
mov ebp, 0x40
sub ebp, edx
mov dword [esp + 0x40], ebp
cmp esi, ebp
jb 0x100b2060
push ebp
lea eax, [ebx + 0x18]
add eax, edx
push edi
push eax
call sub.MSVCR110.dll_memcpy
lea eax, [ebx + 0x18]
push eax
push ebx
call fcn.100b2b70
lea eax, [ebp + 0x3f]
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, esi
jae 0x100b205c
mov edi, dword [ebx]
mov esi, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov ebx, dword [esp + 0x34]
add ebx, 0xffffffc3
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], ebx
jmp 0x100b1d10
add eax, dword [esp + 0x44]
mov dword [esp + 0x20], edi
mov ebp, esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
mov ebx, edx
lea esi, [esp + 0x4c]
mov edi, 0x10
lea esp, [esp]
movzx edx, byte [eax + 1]
movzx ecx, byte [eax]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax - 1]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax - 2]
shl edx, 8
or edx, ecx
mov dword [esi], edx
lea esi, [esi + 4]
lea eax, [eax + 4]
dec edi
jne 0x100b1d40
lea esp, [esp]
movzx eax, byte [edi + 0x10475e18]
mov edx, dword [esp + 0x10]
xor edx, dword [esp + 0x14]
mov eax, dword [esp + eax*4 + 0x4c]
movzx ecx, byte [edi + 0x10475eb8]
xor edx, ebp
add eax, edx
mov esi, edi
sar esi, 4
mov edx, ebx
add eax, dword [esi*4 + 0x10475de0]
not edx
add eax, dword [esp + 0x20]
and edx, dword [esp + 0x1c]
rol eax, cl
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x14], ebp
mov ebp, eax
mov eax, ebx
and eax, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
movzx ecx, byte [edi + str._b_t_t_v_r]
or edx, eax
movzx eax, byte [edi + 0x10475e68]
inc edi
add edx, dword [esp + eax*4 + 0x4c]
mov eax, dword [esp + 0x18]
add edx, dword [esi*4 + 0x10475df4]
add edx, dword [esp + 0x24]
mov dword [esp + 0x24], ebx
rol edx, cl
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
cmp edi, 0x10
jl 0x100b1d70
xor edi, edi
jmp 0x100b1e10
mov eax, dword [esp + 0x14]
movzx ecx, byte [edi + 0x10475ec8]
and eax, ebp
mov edx, ebp
not edx
and edx, dword [esp + 0x10]
lea esi, [edi + 0x10]
or edx, eax
movzx eax, byte [edi + 0x10475e28]
sar esi, 4
add edx, dword [esp + eax*4 + 0x4c]
mov eax, dword [esp + 0x10]
add edx, dword [esi*4 + 0x10475de0]
lea edi, [edi + 1]
add edx, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
rol edx, cl
movzx ecx, byte [edi + 0x10475f17]
mov dword [esp + 0x10], eax
movzx eax, byte [edi + 0x10475e77]
mov dword [esp + 0x14], ebp
mov eax, dword [esp + eax*4 + 0x4c]
mov ebp, edx
mov edx, dword [esp + 0x1c]
not edx
or edx, dword [esp + 0x18]
xor edx, ebx
add eax, edx
add eax, dword [esi*4 + 0x10475df4]
add eax, dword [esp + 0x24]
mov dword [esp + 0x24], ebx
rol eax, cl
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
lea eax, [edi + 0x10]
cmp eax, 0x20
jl 0x100b1e10
xor edi, edi
lea ecx, [ecx]
mov edx, dword [esp + 0x14]
movzx eax, byte [edi + 0x10475e38]
movzx ecx, byte [edi + 0x10475ed8]
mov eax, dword [esp + eax*4 + 0x4c]
not edx
or edx, ebp
xor edx, dword [esp + 0x10]
lea esi, [edi + 0x20]
add eax, edx
mov edx, dword [esp + 0x18]
sar esi, 4
not edx
add eax, dword [esi*4 + 0x10475de0]
and edx, ebx
add eax, dword [esp + 0x20]
lea edi, [edi + 1]
rol eax, cl
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x14], ebp
mov ebp, eax
mov eax, dword [esp + 0x1c]
and eax, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
movzx ecx, byte [edi + 0x10475f27]
or edx, eax
movzx eax, byte [edi + 0x10475e87]
add edx, dword [esp + eax*4 + 0x4c]
mov eax, dword [esp + 0x18]
add edx, dword [esi*4 + 0x10475df4]
add edx, dword [esp + 0x24]
mov dword [esp + 0x24], ebx
rol edx, cl
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
lea eax, [edi + 0x20]
mov dword [esp + 0x18], edx
cmp eax, 0x30
jl 0x100b1eb0
xor edi, edi
nop
mov eax, dword [esp + 0x10]
movzx ecx, byte [edi + 0x10475ee8]
mov edx, eax
not edx
and edx, dword [esp + 0x14]
and eax, ebp
or edx, eax
movzx eax, byte [edi + 0x10475e48]
lea esi, [edi + 0x30]
add edx, dword [esp + eax*4 + 0x4c]
mov eax, dword [esp + 0x10]
sar esi, 4
lea edi, [edi + 1]
add edx, dword [esi*4 + 0x10475de0]
add edx, dword [esp + 0x20]
mov dword [esp + 0x20], eax
rol edx, cl
mov eax, dword [esp + 0x14]
movzx ecx, byte [edi + 0x10475f37]
mov dword [esp + 0x10], eax
movzx eax, byte [edi + 0x10475e97]
mov dword [esp + 0x14], ebp
mov eax, dword [esp + eax*4 + 0x4c]
mov ebp, edx
mov edx, ebx
xor edx, dword [esp + 0x1c]
xor edx, dword [esp + 0x18]
add eax, edx
add eax, dword [esi*4 + 0x10475df4]
mov edx, dword [esp + 0x18]
add eax, dword [esp + 0x24]
mov esi, ebx
rol eax, cl
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], edx
mov ecx, eax
lea eax, [edi + 0x30]
mov dword [esp + 0x18], ecx
cmp eax, 0x40
jl 0x100b1f50
mov eax, dword [esp + 0x30]
add edx, dword [esp + 0x38]
add esi, dword [esp + 0x28]
add ecx, dword [esp + 0x3c]
add esi, dword [esp + 0x10]
add ecx, dword [esp + 0x20]
add eax, ebx
add eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x48]
add edx, ebp
mov ebp, dword [esp + 0x40]
mov edi, eax
mov dword [esp + 0x38], eax
mov dword [ebx], eax
mov eax, dword [esp + 0x2c]
add eax, 0x40
add ebp, 0x40
mov dword [esp + 0x30], esi
mov dword [ebx + 4], esi
mov dword [esp + 0x28], ecx
mov dword [ebx + 8], ecx
mov dword [esp + 0x3c], edx
mov dword [ebx + 0xc], edx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x9c]
jb 0x100b1d10
mov esi, dword [esp + 0x9c]
mov edi, dword [esp + 0x34]
xor edx, edx
jmp 0x100b2062
xor ebp, ebp
sub esi, ebp
lea eax, [edi + ebp]
push esi
push eax
lea eax, [ebx + 0x18]
add eax, edx
push eax
call sub.MSVCR110.dll_memcpy
mov ecx, dword [esp + 0x98]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10311bec
add esp, 0x80
ret