Function at 0x100b6920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x102230c0]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [0x10242574]
push esi
push edi
cmp dword [eax], 0
je 0x100b6ff9
mov eax, dword [0x10240c88]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x100b6ff9
xor edx, edx
mov dword [esp + 0x14], edx
mov eax, dword [0x10240c88]
push edx
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
test edi, edi
je 0x100b6fe4
mov edx, dword [edi + 8]
lea ecx, [edi + 8]
mov edx, dword [edx + 8]
call edx
xorps xmm0, xmm0
mov edx, dword [eax + 8]
mov ecx, edx
movaps xmmword [esp + 0x50], xmm0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b69a6
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x58]
call fcn.10027a90
movups xmm0, xmmword [str.fZP_VHzUUHOQS__0C]
mov ax, word [0x10208370]
mov word [esp + 0x40], ax
movups xmmword [esp + 0x30], xmm0
test ah, ah
je 0x100b6b41
xor edx, edx
cmp dword [0x10241d90], 2
mov dword [esp + 0xc], edx
jl 0x100b6b11
movaps xmm0, xmmword [str.2222222222222222]
movaps xmm4, xmmword [0x102157f0]
movaps xmm3, xmmword [0x10215bb0]
movaps xmm5, xmmword [0x10215870]
movaps xmmword [esp + 0x20], xmm0
mov ecx, dword [esp + 0x20]
movd xmm0, edx
lea eax, [edx + 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 [0x10215920]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x30]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + edx + 0x30], 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 [0x10215920]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x34]
xorps xmm1, xmm0
movd dword [esp + edx + 0x34], xmm1
add edx, 8
cmp edx, 0x10
jl 0x100b6a11
mov dword [esp + 0xc], edx
cmp edx, 0x12
jge 0x100b6b41
mov eax, 0x4bda12f7
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x36
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x30], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0x12
jl 0x100b6b11
cmp dword [esp + 0x64], 0xf
lea eax, [esp + 0x50]
mov esi, dword [esp + 0x50]
lea ecx, [esp + 0x18]
cmova eax, esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x30]
push eax
call fcn.100ba040
mov byte [esp + 0xb], al
mov eax, dword [esp + 0x64]
cmp eax, 0xf
jbe 0x100b6ba3
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x100b6b99
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b700a
push ecx
push esi
call fcn.101b6ad2
add esp, 8
cmp byte [esp + 0xb], 0
je 0x100b6fe4
mov eax, dword [0x10240c80]
mov ecx, dword fs:[0x2c]
mov al, byte [eax + 0x1921]
mov byte [esp + 0xb], al
mov eax, dword [0x10241d9c]
mov esi, dword [ecx + eax*4]
mov eax, dword [0x104692d4]
cmp eax, dword [esi + 4]
jle 0x100b6c17
push 0x104692d4
call fcn.101b6d6c
add esp, 4
cmp dword [0x104692d4], 0xffffffff
jne 0x100b6c17
mov edx, 0xc60bf9f2
mov ecx, 0x10206471
call fcn.1007d620
mov ecx, eax
call fcn.100ced60
push 0x104692d4
mov dword [0x104692d0], eax
call fcn.101b6d1b
add esp, 4
mov eax, dword [0x104692d0]
mov cl, byte [esp + 0xb]
mov byte [eax + edi], cl
mov eax, dword [0x1046931c]
cmp eax, dword [esi + 4]
jle 0x100b6c72
push 0x1046931c
call fcn.101b6d6c
add esp, 4
cmp dword [0x1046931c], 0xffffffff
jne 0x100b6c6e
mov edx, 0xc60bf9f2
mov ecx, 0x102064a5
call fcn.1007d620
mov ecx, eax
call fcn.100ced60
push 0x1046931c
mov dword [0x104692d8], eax
call fcn.101b6d1b
add esp, 4
mov cl, byte [esp + 0xb]
mov eax, dword [0x104692d8]
mov byte [eax + edi], cl
mov eax, dword [0x104692e0]
cmp eax, dword [esi + 4]
jle 0x100b6cc9
push 0x104692e0
call fcn.101b6d6c
add esp, 4
cmp dword [0x104692e0], 0xffffffff
jne 0x100b6cc5
mov edx, 0xc60bf9f2
mov ecx, 0x1020650d
call fcn.1007d620
mov ecx, eax
call fcn.100ced60
push 0x104692e0
mov dword [0x104692e8], eax
call fcn.101b6d1b
add esp, 4
mov cl, byte [esp + 0xb]
mov eax, dword [0x104692e8]
movups xmm0, xmmword [str._lYZRRTxWYUXPK_r__C]
mov byte [eax + edi], cl
mov eax, dword [0x10240c88]
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
mov ax, word [0x10208230]
mov word [esp + 0x40], ax
movups xmmword [esp + 0x30], xmm0
test ah, ah
je 0x100b6e64
xor edx, edx
cmp dword [0x10241d90], 2
mov dword [esp + 0xc], edx
jl 0x100b6e34
movaps xmm0, xmmword [str.2222222222222222]
movaps xmm4, xmmword [0x102157f0]
movaps xmm3, xmmword [0x10215bb0]
movaps xmm5, xmmword [0x10215870]
movaps xmmword [esp + 0x20], xmm0
mov ecx, dword [esp + 0x20]
movd xmm0, edx
lea eax, [edx + 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 [0x10215920]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x30]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + edx + 0x30], 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 [0x10215920]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x34]
xorps xmm1, xmm0
movd dword [esp + edx + 0x34], xmm1
add edx, 8
cmp edx, 0x10
jl 0x100b6d34
mov dword [esp + 0xc], edx
cmp edx, 0x12
jge 0x100b6e64
mov eax, 0x4bda12f7
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x36
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x30], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0x12
jl 0x100b6e34
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x30]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
mov ecx, eax
mov dword [esp + 0x10], eax
mov edx, dword [eax]
mov edx, dword [edx + 0x30]
call edx
cmp byte [esp + 0xb], 0
fstp st(0)
je 0x100b6fe4
mov ecx, dword [0x10240c80]
mov eax, dword [0x104692f0]
movss xmm0, dword [ecx + 0x1924]
movss dword [esp + 0xc], xmm0
cmp eax, dword [esi + 4]
jle 0x100b6ef3
push 0x104692f0
call fcn.101b6d6c
add esp, 4
cmp dword [0x104692f0], 0xffffffff
jne 0x100b6eed
mov edx, 0xc60bf9f2
mov ecx, 0x102064d9
call fcn.1007d620
mov ecx, eax
call fcn.100ced60
push 0x104692f0
mov dword [0x10469318], eax
call fcn.101b6d1b
add esp, 4
movss xmm0, dword [esp + 0xc]
mov eax, dword [0x10469318]
movss dword [eax + edi], xmm0
mov eax, dword [0x104692c8]
cmp eax, dword [esi + 4]
jle 0x100b6f4e
push 0x104692c8
call fcn.101b6d6c
add esp, 4
cmp dword [0x104692c8], 0xffffffff
jne 0x100b6f48
mov edx, 0xc60bf9f2
mov ecx, 0x10206569
call fcn.1007d620
mov ecx, eax
call fcn.100ced60
push 0x104692c8
mov dword [0x10469328], eax
call fcn.101b6d1b
add esp, 4
movss xmm0, dword [esp + 0xc]
mov eax, dword [0x10469328]
movss dword [eax + edi], xmm0
mov eax, dword [0x10240c80]
movss xmm0, dword [eax + 0x192c]
mov eax, dword [0x104692ec]
movss dword [esp + 0xc], xmm0
cmp eax, dword [esi + 4]
jle 0x100b6fbc
push 0x104692ec
call fcn.101b6d6c
add esp, 4
cmp dword [0x104692ec], 0xffffffff
jne 0x100b6fb6
mov edx, 0xc60bf9f2
mov ecx, 0x1020653d
call fcn.1007d620
mov ecx, eax
call fcn.100ced60
push 0x104692ec
mov dword [0x10469334], eax
call fcn.101b6d1b
add esp, 4
movss xmm0, dword [esp + 0xc]
mov eax, dword [0x10469334]
mov ecx, dword [esp + 0x10]
push ecx
movss dword [eax + edi], xmm0
mov eax, dword [0x10240c80]
mov edx, dword [ecx]
movss xmm0, dword [eax + 0x1928]
mov eax, dword [edx + 0x3c]
movss dword [esp], xmm0
call eax
mov edx, dword [esp + 0x14]
inc edx
mov dword [esp + 0x14], edx
cmp edx, 0x800
jl 0x100b6961
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
call fcn.101b67d9
mov esp, ebp
pop ebp
ret
call fcn.101bbc06
int3