Function at 0x100b7350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x394
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x20], ebx
cmp byte [ebx + 0x3d], 0
je 0x100b75fe
mov edi, dword [ebx + 0x44]
mov dword [esp + 0x1c], edi
test edi, edi
je 0x100b738e
push edi
push dword [ebx + 0x40]
lea eax, [esp + 0x220]
push eax
call fcn.100d8b00
add esp, 0xc
cmp byte [ebx + 0x3c], 0
je 0x100b73af
mov eax, dword [ebx + 0x34]
mov dword [esp + edi + 0x218], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + edi + 0x21c], eax
add edi, 8
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x190]
call fcn.100d5410
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x10], eax
xor esi, esi
nop word [eax + eax]
push edi
lea edx, [esp + 0x21c]
lea ecx, [esp + 0x194]
call fcn.100d5530
mov eax, esi
lea ecx, [ebx + edi]
sub eax, edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], eax
and ecx, 0xffffffc0
lea eax, [ebx + 0x40]
mov dword [esp + 0x28], ecx
cmp ecx, eax
jbe 0x100b751b
mov ecx, ebx
lea edx, [esp + 0x50]
and ecx, 0xffffffc0
lea edi, [esp + 0x218]
add ecx, 0x40
mov eax, ecx
mov dword [esp + 0x24], ecx
sub eax, ebx
lea ebx, [esp + 0x228]
sub eax, edx
add esi, ebx
add edi, eax
mov ebx, ecx
add esi, ecx
cmp dword [0x10117168], 2
jl 0x100b749f
lea eax, [esi + 0x2c]
lea ecx, [esp + 0x50]
cmp ecx, eax
ja 0x100b7453
lea eax, [esi - 0x10]
lea ecx, [esp + 0x8c]
cmp ecx, eax
jae 0x100b749f
movups xmm0, xmmword [esi - 0x10]
pshufb xmm0, xmmword [0x100f7540]
movups xmmword [esp + 0x50], xmm0
movups xmm0, xmmword [esi]
pshufb xmm0, xmmword [0x100f7540]
movups xmmword [esp + 0x60], xmm0
movups xmm0, xmmword [esi + 0x10]
pshufb xmm0, xmmword [0x100f7540]
movups xmmword [esp + 0x70], xmm0
movups xmm0, xmmword [esi + 0x20]
pshufb xmm0, xmmword [0x100f7540]
movups xmmword [esp + 0x80], xmm0
jmp 0x100b74b4
xor ecx, ecx
lea eax, [edi + ecx*4]
mov eax, dword [esp + eax + 0x50]
bswap eax
mov dword [esp + ecx*4 + 0x50], eax
inc ecx
cmp ecx, 0x10
jb 0x100b74a1
lea eax, [esp + 0x58]
mov edx, 0x40
nop dword [eax]
mov ecx, dword [eax + 0x2c]
lea eax, [eax + 4]
xor ecx, dword [eax + 0x14]
xor ecx, dword [eax - 0xc]
xor ecx, dword [eax - 4]
rol ecx, 1
mov dword [eax + 0x34], ecx
sub edx, 1
jne 0x100b74c0
movups xmm0, xmmword [esp + 0x150]
add ebx, 0x40
add edi, 0x40
movups xmmword [esi - 0x10], xmm0
movups xmm0, xmmword [esp + 0x160]
movups xmmword [esi], xmm0
movups xmm0, xmmword [esp + 0x170]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [esp + 0x180]
movups xmmword [esi + 0x20], xmm0
add esi, 0x40
cmp ebx, dword [esp + 0x28]
jne 0x100b7431
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
mov eax, ecx
mov byte [esp + 0x14], cl
shr eax, 8
mov byte [esp + 0x15], al
mov eax, ecx
shr eax, 0x10
lea ecx, [esp + 0x190]
push 3
mov byte [esp + 0x1a], al
call fcn.100d5530
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
add esi, 0xfffffffd
mov eax, dword [esp + 0x10]
add ebx, 3
mov dword [esp + 0x18], esi
test eax, 0x3fff
jne 0x100b75a4
mov ecx, 0x20
lea esi, [esp + 0x190]
lea edi, [esp + 0x320]
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x30]
lea ecx, [esp + 0x320]
call fcn.100d52c0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov al, byte [esp + 0x43]
mov esi, dword [esp + 0x18]
shr ecx, 0xe
mov byte [ecx + edx + 0x58], al
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x10], eax
cmp eax, 0x40000
jb 0x100b73d0
lea edx, [esp + 0x30]
lea ecx, [esp + 0x190]
call fcn.100d52c0
mov ebx, dword [esp + 0x20]
xor edx, edx
lea ecx, [ebx + 0x49]
movzx eax, byte [esp + edx*4 + 0x33]
lea ecx, [ecx + 4]
mov byte [ecx - 5], al
movzx eax, byte [esp + edx*4 + 0x32]
mov byte [ecx - 4], al
movzx eax, byte [esp + edx*4 + 0x31]
mov byte [ecx - 3], al
movzx eax, byte [esp + edx*4 + 0x30]
inc edx
mov byte [ecx - 2], al
cmp edx, 4
jb 0x100b75d1
mov byte [ebx + 0x3d], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret