Function at 0x100b2b70
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x68
mov eax, dword [0x106499c8]
xor eax, esp
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, dword [eax + 8]
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0xc]
push ebp
push esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ebx
mov ebx, eax
mov eax, dword [esp + 0x7c]
push edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], edx
mov ebp, edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edx
add eax, 2
lea esi, [esp + 0x34]
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 0x100b2bd0
lea esp, [esp]
movzx eax, byte [edi + 0x10475e18]
mov edx, dword [esp + 0x14]
xor edx, dword [esp + 0x10]
mov eax, dword [esp + eax*4 + 0x34]
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 + 0x24]
and edx, dword [esp + 0x1c]
rol eax, cl
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], ebp
mov ebp, eax
mov eax, ebx
and eax, dword [esp + 0x18]
mov dword [esp + 0x14], 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 + 0x34]
mov eax, dword [esp + 0x18]
add edx, dword [esi*4 + 0x10475df4]
add edx, dword [esp + 0x20]
mov dword [esp + 0x20], ebx
rol edx, cl
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
cmp edi, 0x10
jl 0x100b2c00
xor edi, edi
jmp 0x100b2ca0
mov eax, dword [esp + 0x10]
movzx ecx, byte [edi + 0x10475ec8]
and eax, ebp
mov edx, ebp
not edx
and edx, dword [esp + 0x14]
lea esi, [edi + 0x10]
or edx, eax
movzx eax, byte [edi + 0x10475e28]
sar esi, 4
add edx, dword [esp + eax*4 + 0x34]
mov eax, dword [esp + 0x14]
add edx, dword [esi*4 + 0x10475de0]
lea edi, [edi + 1]
add edx, dword [esp + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
rol edx, cl
movzx ecx, byte [edi + 0x10475f17]
mov dword [esp + 0x14], eax
movzx eax, byte [edi + 0x10475e77]
mov dword [esp + 0x10], ebp
mov eax, dword [esp + eax*4 + 0x34]
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 + 0x20]
mov dword [esp + 0x20], 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 0x100b2ca0
xor edi, edi
lea ecx, [ecx]
mov edx, dword [esp + 0x10]
movzx eax, byte [edi + 0x10475e38]
movzx ecx, byte [edi + 0x10475ed8]
mov eax, dword [esp + eax*4 + 0x34]
not edx
or edx, ebp
xor edx, dword [esp + 0x14]
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 + 0x24]
lea edi, [edi + 1]
rol eax, cl
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], ebp
mov ebp, eax
mov eax, dword [esp + 0x1c]
and eax, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
movzx ecx, byte [edi + 0x10475f27]
or edx, eax
movzx eax, byte [edi + 0x10475e87]
add edx, dword [esp + eax*4 + 0x34]
mov eax, dword [esp + 0x18]
add edx, dword [esi*4 + 0x10475df4]
add edx, dword [esp + 0x20]
mov dword [esp + 0x20], 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 0x100b2d40
xor edi, edi
nop
mov eax, dword [esp + 0x14]
movzx ecx, byte [edi + 0x10475ee8]
mov edx, eax
not edx
and edx, dword [esp + 0x10]
and eax, ebp
or edx, eax
movzx eax, byte [edi + 0x10475e48]
lea esi, [edi + 0x30]
add edx, dword [esp + eax*4 + 0x34]
mov eax, dword [esp + 0x14]
sar esi, 4
lea edi, [edi + 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 [edi + 0x10475f37]
mov dword [esp + 0x14], eax
movzx eax, byte [edi + 0x10475e97]
mov dword [esp + 0x10], ebp
mov eax, dword [esp + eax*4 + 0x34]
mov ebp, edx
mov edx, ebx
xor edx, dword [esp + 0x1c]
xor edx, dword [esp + 0x18]
add edx, eax
add edx, dword [esi*4 + 0x10475df4]
mov esi, dword [esp + 0x18]
add edx, dword [esp + 0x20]
lea eax, [edi + 0x30]
rol edx, cl
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edx
cmp eax, 0x40
jl 0x100b2de0
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
add eax, dword [esp + 0x14]
add ecx, ebx
add ecx, dword [esp + 0x10]
mov dword [edi + 4], eax
mov eax, dword [edi + 0xc]
add eax, edx
add eax, dword [esp + 0x24]
mov dword [edi + 8], eax
mov eax, dword [edi]
add eax, esi
add eax, ebp
mov dword [edi], ecx
mov ecx, dword [esp + 0x74]
mov dword [edi + 0xc], eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10311bec
add esp, 0x68
ret