Function at 0x100b2390
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x98
mov eax, dword [0x106499c8]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
mov esi, dword [esp + 0xac]
push edi
mov edi, dword [esp + 0xac]
mov dword [esp + 0x50], edi
mov eax, dword [edi + 0x20]
mov edx, eax
lea ecx, [eax + ebp*8]
shr edx, 3
lea eax, [ebp*8]
and edx, 0x3f
mov dword [esp + 0x58], esi
mov dword [edi + 0x20], ecx
cmp ecx, eax
jae 0x100b23e4
inc dword [edi + 0x24]
mov eax, ebp
shr eax, 0x1d
add dword [edi + 0x24], eax
mov ebx, 0x40
sub ebx, edx
mov dword [esp + 0x54], ebx
cmp ebp, ebx
jb 0x100b2820
push ebx
lea eax, [edi + 0x28]
add eax, edx
push esi
push eax
call sub.MSVCR110.dll_memcpy
lea eax, [edi + 0x28]
push eax
push edi
call fcn.100b2ec0
lea eax, [ebx + 0x3f]
add esp, 0x14
mov dword [esp + 0x48], eax
cmp eax, ebp
jae 0x100b281c
mov eax, dword [edi + 0x14]
mov ecx, dword [edi]
mov ebp, dword [edi + 4]
mov edx, dword [edi + 8]
mov esi, dword [edi + 0xc]
mov ebx, dword [edi + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x58]
add eax, 0xffffffc3
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x44], ebx
jmp 0x100b2478
mov ebp, dword [esp + 0x4c]
mov ebx, dword [esp + 0x44]
add eax, dword [esp + 0x5c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
lea esi, [esp + 0x64]
mov ebx, 0x10
lea ecx, [ecx]
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 ebx
jne 0x100b24b0
lea esp, [esp]
movzx eax, byte [ebx + 0x10475e18]
mov edx, dword [esp + 0x14]
xor edx, dword [esp + 0x18]
mov eax, dword [esp + eax*4 + 0x64]
movzx ecx, byte [ebx + 0x10475eb8]
xor edx, ebp
add eax, edx
mov esi, ebx
sar esi, 4
inc ebx
add eax, dword [esi*4 + 0x10475de0]
add eax, dword [esp + 0x28]
rol eax, cl
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ebp
mov ebp, eax
mov eax, dword [esp + 0x1c]
mov edx, eax
and eax, dword [esp + 0x20]
not edx
and edx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
movzx ecx, byte [ebx + 0x10475f07]
or edx, eax
movzx eax, byte [ebx + 0x10475e67]
add edx, dword [esp + eax*4 + 0x64]
mov eax, dword [esp + 0x1c]
add edx, dword [esi*4 + 0x10475df4]
add edx, dword [esp + 0x24]
mov dword [esp + 0x24], eax
rol edx, cl
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], edx
cmp ebx, 0x10
jl 0x100b24e0
xor ebx, ebx
mov edi, edx
mov eax, dword [esp + 0x18]
movzx ecx, byte [ebx + 0x10475ec8]
and eax, ebp
mov edx, ebp
not edx
and edx, dword [esp + 0x14]
lea esi, [ebx + 0x10]
or edx, eax
movzx eax, byte [ebx + 0x10475e28]
sar esi, 4
add edx, dword [esp + eax*4 + 0x64]
mov eax, dword [esp + 0x14]
add edx, dword [esi*4 + 0x10475de0]
lea ebx, [ebx + 1]
add edx, dword [esp + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
rol edx, cl
movzx ecx, byte [ebx + 0x10475f17]
mov dword [esp + 0x14], eax
movzx eax, byte [ebx + 0x10475e77]
mov dword [esp + 0x18], ebp
mov eax, dword [esp + eax*4 + 0x64]
mov ebp, edx
mov edx, dword [esp + 0x10]
not edx
or edx, edi
xor edx, dword [esp + 0x1c]
add eax, edx
add eax, dword [esi*4 + 0x10475df4]
add eax, dword [esp + 0x28]
rol eax, cl
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], edi
mov edi, eax
lea eax, [ebx + 0x10]
mov dword [esp + 0x1c], ecx
cmp eax, 0x20
jl 0x100b2581
mov dword [esp + 0x20], edi
xor ebx, ebx
mov edx, dword [esp + 0x18]
movzx eax, byte [ebx + 0x10475e38]
movzx ecx, byte [ebx + 0x10475ed8]
mov eax, dword [esp + eax*4 + 0x64]
not edx
or edx, dword [esp + 0x20]
lea esi, [ebx + 0x20]
xor edx, dword [esp + 0x14]
sar esi, 4
add eax, edx
add eax, dword [esi*4 + 0x10475de0]
mov edx, ebp
add eax, dword [esp + 0x24]
not edx
and edx, dword [esp + 0x1c]
rol eax, cl
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
and eax, ebp
or edx, eax
movzx eax, byte [ebx + 0x10475e88]
mov dword [esp + 0x18], ecx
add edx, dword [esp + eax*4 + 0x64]
mov eax, dword [esp + 0x1c]
add edx, dword [esi*4 + 0x10475df4]
movzx ecx, byte [ebx + 0x10475f28]
add edx, dword [esp + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
rol edx, cl
lea ebx, [ebx + 1]
mov dword [esp + 0x1c], eax
lea eax, [ebx + 0x20]
mov dword [esp + 0x10], ebp
mov ebp, edx
cmp eax, 0x30
jl 0x100b2624
mov dword [esp + 0x60], ebp
xor ebp, ebp
mov edi, edx
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
movzx ecx, byte [ebp + 0x10475ee8]
mov edx, eax
not edx
and edx, dword [esp + 0x10]
and eax, ebx
or edx, eax
movzx eax, byte [ebp + 0x10475e48]
lea esi, [ebp + 0x30]
add edx, dword [esp + eax*4 + 0x64]
mov eax, dword [esp + 0x14]
sar esi, 4
lea ebp, [ebp + 1]
add edx, dword [esi*4 + 0x10475de0]
add edx, dword [esp + 0x24]
mov dword [esp + 0x24], eax
rol edx, cl
mov eax, dword [esp + 0x10]
movzx ecx, byte [ebp + 0x10475f37]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x1c]
xor edx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
movzx eax, byte [ebp + 0x10475e97]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + eax*4 + 0x64]
xor edx, edi
add ebx, edx
add ebx, dword [esi*4 + 0x10475df4]
mov esi, dword [esp + 0x1c]
add ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
rol ebx, cl
lea eax, [ebp + 0x30]
mov ecx, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], edx
mov edi, ebx
cmp eax, 0x40
jl 0x100b26d1
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x24]
mov ebp, dword [esp + 0xb4]
mov dword [esp + 0x3c], eax
mov dword [edi], eax
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
mov dword [edi + 4], eax
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov dword [edi + 8], eax
mov eax, dword [esp + 0x34]
add eax, edx
mov dword [esp + 0x34], eax
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x44]
add eax, esi
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x44], eax
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x38]
add eax, ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x38], eax
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x2c]
add eax, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0x14]
add ebx, 0x40
mov dword [esp + 0x40], eax
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x48]
add eax, 0x40
mov dword [esp + 0x54], ebx
mov dword [esp + 0x48], eax
cmp eax, ebp
jb 0x100b2470
mov esi, dword [esp + 0x58]
xor edx, edx
jmp 0x100b2822
xor ebx, ebx
sub ebp, ebx
lea eax, [esi + ebx]
push ebp
push eax
lea eax, [edi + 0x28]
add eax, edx
push eax
call sub.MSVCR110.dll_memcpy
mov ecx, dword [esp + 0xb0]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10311bec
add esp, 0x98
ret