Function at 0x100bbfa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x44
mov eax, dword [0x102090c0]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword fs:[0x2c]
mov edx, dword [0x1022867c]
push ebx
push esi
push edi
mov edi, dword [eax + edx*4]
mov bl, cl
mov eax, dword [0x1051bcb0]
mov byte [esp + 0x1b], bl
cmp eax, dword [edi + 4]
jle 0x100bc006
push 0x1051bcb0
call fcn.1019bffa
add esp, 4
cmp dword [0x1051bcb0], 0xffffffff
jne 0x100bc006
push 0x101c8370
call fcn.1019bd43
push 0x1051bcb0
call fcn.1019bfa6
add esp, 8
mov eax, dword [0x10226ca8]
mov esi, dword [0x10228670]
mov dl, byte [0x10450974]
mov cl, byte [eax + 0x1641]
test cl, cl
jne 0x100bc02e
cmp byte [eax + 0x1766], 0
je 0x100bc1cc
test dl, dl
jne 0x100bc1bc
mov eax, dword [0x10226cb0]
movq xmm0, qword [0x101d5a7c]
mov ecx, dword [eax + 0x20]
mov eax, dword [0x101d5a84]
mov dword [esp + 0x44], eax
mov ax, word [0x101d5a88]
mov dword [esp + 0x1c], ecx
movq qword [esp + 0x3c], xmm0
mov word [esp + 0x48], ax
test ah, ah
je 0x100bc1a0
xor ebx, ebx
cmp esi, 2
jl 0x100bc170
movaps xmm2, xmmword [0x101fadd0]
mov ebx, 8
movaps xmm3, xmmword [0x101fb200]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101fae30]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101fae10]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101faf00]
movd xmm0, dword [0x101d5a7c]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x101faf50]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x3c], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101fae30]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101faf00]
movd xmm0, dword [esp + 0x40]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x101faf50]
xorps xmm1, xmm0
movd dword [esp + 0x40], xmm1
nop dword [eax]
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x35
xor byte [esp + ebx + 0x3c], cl
inc ebx
cmp ebx, 0xe
jl 0x100bc170
mov bl, byte [esp + 0x1b]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
lea edx, [esp + 0x3c]
push 0
push edx
push 0x10226178
mov eax, dword [eax + 0xc]
call eax
mov byte [0x10450974], 1
jmp 0x100bc1eb
test cl, cl
jne 0x100bc1c8
cmp byte [eax + 0x1766], cl
je 0x100bc1cc
test bl, bl
je 0x100bc1f0
test dl, dl
je 0x100bc1f0
mov eax, dword [0x10226cb0]
push 0x10226178
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov byte [0x10450974], 0
mov eax, dword [0x10226ca8]
mov ecx, dword [0x1051bc88]
cmp ecx, dword [edi + 4]
jle 0x100bc230
push 0x1051bc88
call fcn.1019bffa
add esp, 4
cmp dword [0x1051bc88], 0xffffffff
jne 0x100bc22b
push 0x101c8360
call fcn.1019bd43
push 0x1051bc88
call fcn.1019bfa6
add esp, 8
mov eax, dword [0x10226ca8]
mov cl, byte [eax + 0x1641]
mov dl, byte [0x10450975]
test cl, cl
jne 0x100bc24d
cmp byte [eax + 0x1766], 0
je 0x100bc3e8
test dl, dl
jne 0x100bc3d8
mov eax, dword [0x10226cb0]
movq xmm0, qword [0x101d5a7c]
mov ecx, dword [eax + 0x20]
mov eax, dword [0x101d5a84]
mov dword [esp + 0x44], eax
mov ax, word [0x101d5a88]
mov dword [esp + 0x1c], ecx
movq qword [esp + 0x3c], xmm0
mov word [esp + 0x48], ax
test ah, ah
je 0x100bc3bc
xor ebx, ebx
cmp esi, 2
jl 0x100bc390
movaps xmm2, xmmword [0x101fadd0]
mov ebx, 8
movaps xmm4, xmmword [0x101fb200]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov eax, dword [0x101faf50]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101fae30]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101fae10]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101faf00]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x101d5a7c]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x3c], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101fae30]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101faf00]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x40]
xorps xmm1, xmm0
movd dword [esp + 0x40], xmm1
nop dword [eax]
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x35
xor byte [esp + ebx + 0x3c], cl
inc ebx
cmp ebx, 0xe
jl 0x100bc390
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
lea edx, [esp + 0x3c]
push 0
push edx
push 0x10226184
mov eax, dword [eax + 0xc]
call eax
mov byte [0x10450975], 1
jmp 0x100bc407
test cl, cl
jne 0x100bc3e4
cmp byte [eax + 0x1766], cl
je 0x100bc3e8
test bl, bl
je 0x100bc40c
test dl, dl
je 0x100bc40c
mov eax, dword [0x10226cb0]
push 0x10226184
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov byte [0x10450975], 0
mov eax, dword [0x10226ca8]
mov ecx, dword [0x1051bc6c]
cmp ecx, dword [edi + 4]
jle 0x100bc44c
push 0x1051bc6c
call fcn.1019bffa
add esp, 4
cmp dword [0x1051bc6c], 0xffffffff
jne 0x100bc447
push 0x101c8350
call fcn.1019bd43
push 0x1051bc6c
call fcn.1019bfa6
add esp, 8
mov eax, dword [0x10226ca8]
mov dl, byte [eax + 0x14f1]
mov cl, byte [0x1045096c]
test dl, dl
jne 0x100bc469
cmp byte [eax + 0x14d2], 0
je 0x100bc632
test cl, cl
jne 0x100bc626
mov eax, dword [0x10226cb0]
movups xmm0, xmmword [str.EZVAHdZRQK353DEWEYZRNHX_]
mov edi, dword [eax + 0x20]
movups xmmword [esp + 0x3c], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x100bc5f8
xor ebx, ebx
cmp esi, 2
jl 0x100bc5d0
movaps xmm0, xmmword [0x101faf50]
xor ecx, ecx
movaps xmm4, xmmword [0x101fadd0]
movaps xmm3, xmmword [0x101fb200]
movaps xmm5, xmmword [0x101fae30]
movaps xmmword [esp + 0x20], xmm0
mov edx, dword [esp + 0x20]
nop dword [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101faf00]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x3c]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ecx + 0x3c], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101faf00]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x40]
xorps xmm1, xmm0
movd dword [esp + ecx + 0x40], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x100bc4d0
jmp 0x100bc5f8
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x35
xor byte [esp + ebx + 0x3c], cl
inc ebx
cmp ebx, 0x10
jl 0x100bc5d0
mov eax, dword [edi]
lea ecx, [esp + 0x3c]
push 0
push ecx
push 0x10226174
mov eax, dword [eax + 0xc]
mov ecx, edi
call eax
mov byte [0x1045096c], 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.1019ba64
mov esp, ebp
pop ebp
ret
test dl, dl
jne 0x100bc639
cmp byte [eax + 0x14d2], dl
jne 0x100bc639
cmp byte [esp + 0x1b], 0
je 0x100bc658
test cl, cl
je 0x100bc658
mov eax, dword [0x10226cb0]
push 0x10226174
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov byte [0x1045096c], 0
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1019ba64
mov esp, ebp
pop ebp
ret