Function at 0x100b0200
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov eax, dword [0x10119540]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x38]
push ebp
mov ebp, dword [esp + 0x40]
push esi
mov esi, dword [esp + 0x3c]
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebp
mov edi, dword [esi + 0x10de4]
mov dword [esp + 0x14], eax
cmp dword [esi + 0x10de0], edi
je 0x100b0275
imul ecx, edi, 0x2c
mov edx, dword [ecx + esi + 0x10dfc]
mov eax, edx
sub eax, edi
mov edi, dword [esp + 0x14]
mov dword [edi], eax
mov eax, dword [ecx + esi + 0x10e00]
pop edi
mov dword [esi + 0x10de4], edx
pop esi
mov dword [ebp], eax
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.100913c0
add esp, 0x2c
ret 0x14
cmp dword [ebx + 0x18], 0
jne 0x100b031f
cmp dword [esi + 0x10d98], 0x80
jb 0x100b0291
push esi
call fcn.100aeb10
cmp dword [esi + 0x10ddc], 0x10
jb 0x100b031f
xor eax, eax
lea ecx, [esi + 0x10d9c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
nop
mov edi, eax
mov dword [esp + 0x18], 4
xor ebp, ebp
mov ebx, 1
movzx ecx, word [esi + ebx*2 + 0x70e4]
mov edx, edi
and edx, 1
shr ecx, 4
mov eax, edx
shr edi, 1
neg eax
shr eax, 4
and eax, 0x7f
lea ebx, [edx + ebx*2]
xor ecx, eax
movzx eax, byte [ecx + 0x10008400]
add ebp, eax
sub dword [esp + 0x18], 1
jne 0x100b02c1
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
mov dword [ecx], ebp
add ecx, 4
mov dword [esp + 0x10], ecx
cmp eax, 0x10
jb 0x100b02b0
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov dword [esi + 0x10ddc], 0
push dword [esp + 0x50]
push dword [esp + 0x18]
push ebp
push ebx
push esi
call fcn.100aedd0
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x100b047c
movups xmm0, xmmword [esi + 0x1e8]
mov edi, 1
movups xmmword [esp + 0x28], xmm0
cmp eax, edi
jbe 0x100b03be
lea eax, [esi + 0x1f8]
lea ecx, [esi + 0xa88]
nop dword [eax]
push eax
push ecx
push ebx
call fcn.100b1150
mov ebp, dword [ebx + 0x48]
mov dword [esi + 0xa8c], eax
cmp eax, ebp
jae 0x100b03be
mov edx, dword [ebx + 0x14]
mov eax, 0xfff
mov ecx, dword [ebx + 0x20]
sub eax, edi
sub ecx, edx
inc ecx
cmp ecx, eax
cmovae ecx, eax
mov eax, dword [esp + 0x50]
push ecx
push ebp
push edi
add eax, edi
dec edx
push eax
push dword [esp + 0x20]
mov eax, dword [ebx]
add eax, edx
push eax
lea eax, [esp + 0x40]
push eax
push esi
call fcn.100af420
inc edi
mov dword [esp + 0x10], eax
cmp edi, eax
lea ecx, [esi + 0xa88]
lea eax, [esi + 0x1f8]
jb 0x100b0360
imul eax, edi, 0x2c
mov dword [esi + 0x10de0], edi
mov ebx, dword [eax + esi + 0x10dfc]
mov ebp, dword [eax + esi + 0x10e00]
nop word [eax + eax]
imul edx, edi, 0x2c
add edx, esi
cmp byte [edx + 0x10dec], 0
je 0x100b0435
imul ecx, ebx, 0x2c
lea eax, [ebx - 1]
add ecx, esi
mov dword [ecx + 0x10e00], 0xffffffff
mov byte [ecx + 0x10dec], 0
mov dword [ecx + 0x10dfc], eax
cmp byte [edx + 0x10ded], 0
je 0x100b0435
mov byte [ecx + 0x10dc0], 0
mov eax, dword [edx + 0x10df0]
mov dword [ecx + 0x10dd0], eax
mov eax, dword [edx + 0x10df4]
mov dword [ecx + 0x10dd4], eax
imul eax, ebx, 0x2c
mov edx, ebx
mov ecx, ebp
mov ebx, dword [eax + esi + 0x10dfc]
mov ebp, dword [eax + esi + 0x10e00]
mov dword [eax + esi + 0x10dfc], edi
mov edi, edx
mov dword [eax + esi + 0x10e00], ecx
test edx, edx
jne 0x100b03e0
mov edi, dword [esp + 0x14]
mov eax, dword [esi + 0x10dfc]
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x10de4], eax
mov dword [edi], eax
mov eax, dword [esi + 0x10e00]
mov dword [ecx], eax
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100913c0
add esp, 0x2c
ret 0x14