Function at 0x100b2ec0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x6c
mov eax, dword [0x106499c8]
xor eax, esp
mov dword [esp + 0x68], eax
mov edx, dword [esp + 0x74]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x80]
mov dword [esp + 0x2c], edi
mov eax, dword [edi]
mov ebp, dword [edi + 4]
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x18], eax
add edx, 2
lea esi, [esp + 0x38]
mov ebx, 0x10
movzx ecx, byte [edx + 1]
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 2]
shl ecx, 8
or ecx, eax
mov dword [esi], ecx
lea esi, [esi + 4]
lea edx, [edx + 4]
dec ebx
jne 0x100b2f24
lea ecx, [ecx]
movzx eax, byte [ebx + 0x10475e18]
mov edx, dword [esp + 0x14]
xor edx, dword [esp + 0x1c]
mov eax, dword [esp + eax*4 + 0x38]
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 + 0x1c]
mov dword [esp + 0x1c], ebp
mov ebp, eax
mov eax, dword [esp + 0x18]
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 + 0x38]
mov eax, dword [esp + 0x18]
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 + 0x18], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], edx
cmp ebx, 0x10
jl 0x100b2f50
xor ebx, ebx
mov edi, edx
mov eax, dword [esp + 0x1c]
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 + 0x38]
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 + 0x1c]
rol edx, cl
movzx ecx, byte [ebx + 0x10475f17]
mov dword [esp + 0x14], eax
movzx eax, byte [ebx + 0x10475e77]
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + eax*4 + 0x38]
mov ebp, edx
mov edx, dword [esp + 0x10]
not edx
or edx, edi
xor edx, dword [esp + 0x18]
add eax, edx
add eax, dword [esi*4 + 0x10475df4]
add eax, dword [esp + 0x28]
rol eax, cl
mov ecx, dword [esp + 0x18]
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 + 0x18], ecx
cmp eax, 0x20
jl 0x100b2ff1
mov dword [esp + 0x20], edi
xor ebx, ebx
mov edx, dword [esp + 0x1c]
movzx eax, byte [ebx + 0x10475e38]
movzx ecx, byte [ebx + 0x10475ed8]
mov eax, dword [esp + eax*4 + 0x38]
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 + 0x18]
rol eax, cl
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x1c]
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 + 0x1c], ecx
add edx, dword [esp + eax*4 + 0x38]
mov eax, dword [esp + 0x18]
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 + 0x18], eax
lea eax, [ebx + 0x20]
mov dword [esp + 0x10], ebp
mov ebp, edx
cmp eax, 0x30
jl 0x100b3094
mov dword [esp + 0x30], 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 + 0x38]
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 + 0x18]
xor edx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
movzx eax, byte [ebp + 0x10475e97]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + eax*4 + 0x38]
xor edx, edi
add ebx, edx
add ebx, dword [esi*4 + 0x10475df4]
mov esi, dword [esp + 0x18]
add ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
rol ebx, cl
lea eax, [ebp + 0x30]
mov ecx, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], edx
mov edi, ebx
cmp eax, 0x40
jl 0x100b3141
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x34]
add dword [edi + 0x18], ecx
add dword [edi + 0x10], esi
add dword [edi + 0x14], ebx
add dword [edi + 0xc], edx
mov ecx, dword [esp + 0x78]
mov dword [edi], eax
mov eax, dword [esp + 0x20]
add dword [edi + 4], eax
mov eax, dword [esp + 0x10]
add dword [edi + 8], eax
mov eax, dword [esp + 0x14]
add dword [edi + 0x1c], eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10311bec
add esp, 0x6c
ret