Function at 0x100b1060
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x44
mov eax, dword [0x101f90c0]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword fs:[0x2c]
mov edx, dword [0x1021551c]
push ebx
push esi
push edi
mov edi, dword [eax + edx*4]
mov bl, cl
mov eax, dword [0x103dbe74]
mov byte [esp + 0x1b], bl
cmp eax, dword [edi + 4]
jle 0x100b10c6
push 0x103dbe74
call fcn.1018e65d
add esp, 4
cmp dword [0x103dbe74], 0xffffffff
jne 0x100b10c6
push 0x101ba320
call fcn.1018e3a9
push 0x103dbe74
call fcn.1018e60c
add esp, 8
mov eax, dword [0x10214408]
mov esi, dword [0x10215510]
mov dl, byte [0x103d8a36]
mov cl, byte [eax + 0x1569]
test cl, cl
jne 0x100b10ee
cmp byte [eax + 0x168e], 0
je 0x100b1292
test dl, dl
jne 0x100b1282
mov eax, dword [0x10214410]
movq xmm0, qword [str.V_Z__MeRQM_4A]
mov ecx, dword [eax + 0x20]
mov eax, dword [0x101c7960]
mov dword [esp + 0x44], eax
mov ax, word [0x101c7964]
mov dword [esp + 0x1c], ecx
movq qword [esp + 0x3c], xmm0
mov word [esp + 0x48], ax
test ah, ah
je 0x100b1266
xor ebx, ebx
cmp esi, 2
jl 0x100b1231
movaps xmm2, xmmword [0x101eb880]
mov ebx, 8
movaps xmm3, xmmword [0x101ebc90]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm1, xmm3
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101eb910]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101eb8c0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb990]
movd xmm0, dword [str.V_Z__MeRQM_4A]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.4444444444444444]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x3c], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm1, xmm3
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101eb910]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb990]
movd xmm0, dword [esp + 0x40]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.4444444444444444]
xorps xmm1, xmm0
movd dword [esp + 0x40], xmm1
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, bl
shl cl, 3
sub al, cl
add al, 0x34
xor byte [esp + ebx + 0x3c], al
inc ebx
cmp ebx, 0xe
jl 0x100b1231
mov bl, byte [esp + 0x1b]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
lea edx, [esp + 0x3c]
push 0
push edx
push 0x102138d4
mov eax, dword [eax + 0xc]
call eax
mov byte [0x103d8a36], 1
jmp 0x100b12b1
test cl, cl
jne 0x100b128e
cmp byte [eax + 0x168e], cl
je 0x100b1292
test bl, bl
je 0x100b12b6
test dl, dl
je 0x100b12b6
mov eax, dword [0x10214410]
push 0x102138d4
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov byte [0x103d8a36], 0
mov eax, dword [0x10214408]
mov ecx, dword [0x103dbe4c]
cmp ecx, dword [edi + 4]
jle 0x100b12f6
push 0x103dbe4c
call fcn.1018e65d
add esp, 4
cmp dword [0x103dbe4c], 0xffffffff
jne 0x100b12f1
push 0x101ba310
call fcn.1018e3a9
push 0x103dbe4c
call fcn.1018e60c
add esp, 8
mov eax, dword [0x10214408]
mov cl, byte [eax + 0x1569]
mov dl, byte [0x103d8a35]
test cl, cl
jne 0x100b1313
cmp byte [eax + 0x168e], 0
je 0x100b14bd
test dl, dl
jne 0x100b14ad
mov eax, dword [0x10214410]
movq xmm0, qword [str.V_Z__MeRQM_4A]
mov ecx, dword [eax + 0x20]
mov eax, dword [0x101c7960]
mov dword [esp + 0x44], eax
mov ax, word [0x101c7964]
mov dword [esp + 0x1c], ecx
movq qword [esp + 0x3c], xmm0
mov word [esp + 0x48], ax
test ah, ah
je 0x100b1491
xor ebx, ebx
cmp esi, 2
jl 0x100b1460
movaps xmm2, xmmword [0x101eb880]
mov ebx, 8
movaps xmm4, xmmword [0x101ebc90]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
mov eax, dword [str.4444444444444444]
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101eb910]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101eb8c0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb990]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.V_Z__MeRQM_4A]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x3c], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101eb910]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb990]
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 + eax]
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, bl
shl cl, 3
sub al, cl
add al, 0x34
xor byte [esp + ebx + 0x3c], al
inc ebx
cmp ebx, 0xe
jl 0x100b1460
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
lea edx, [esp + 0x3c]
push 0
push edx
push 0x102138e0
mov eax, dword [eax + 0xc]
call eax
mov byte [0x103d8a35], 1
jmp 0x100b14dc
test cl, cl
jne 0x100b14b9
cmp byte [eax + 0x168e], cl
je 0x100b14bd
test bl, bl
je 0x100b14e1
test dl, dl
je 0x100b14e1
mov eax, dword [0x10214410]
push 0x102138e0
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov byte [0x103d8a35], 0
mov eax, dword [0x10214408]
mov ecx, dword [0x103dbe3c]
cmp ecx, dword [edi + 4]
jle 0x100b1521
push 0x103dbe3c
call fcn.1018e65d
add esp, 4
cmp dword [0x103dbe3c], 0xffffffff
jne 0x100b151c
push 0x101ba300
call fcn.1018e3a9
push 0x103dbe3c
call fcn.1018e60c
add esp, 8
mov eax, dword [0x10214408]
mov dl, byte [eax + 0x1419]
mov cl, byte [0x103d8a34]
test dl, dl
jne 0x100b153e
cmp byte [eax + 0x13fa], 0
je 0x100b1707
test cl, cl
jne 0x100b16fb
mov eax, dword [0x10214410]
movups xmm0, xmmword [str.DYWN_Ke_SRJL4_2CGCiDS_TZQX_]
mov edi, dword [eax + 0x20]
movups xmmword [esp + 0x3c], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x100b16cd
xor ebx, ebx
cmp esi, 2
jl 0x100b16a0
movaps xmm0, xmmword [str.4444444444444444]
lea esi, [esp + 0x40]
movaps xmm4, xmmword [0x101eb880]
xor ecx, ecx
movaps xmm3, xmmword [0x101ebc90]
movaps xmm5, xmmword [0x101eb910]
movaps xmmword [esp + 0x20], xmm0
mov edx, dword [esp + 0x20]
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x101eb990]
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
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x101eb990]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esi + ecx]
xorps xmm1, xmm0
movd dword [esi + ecx], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x100b15a1
jmp 0x100b16cd
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, bl
shl cl, 3
sub al, cl
add al, 0x34
xor byte [esp + ebx + 0x3c], al
inc ebx
cmp ebx, 0x10
jl 0x100b16a0
mov eax, dword [edi]
lea ecx, [esp + 0x3c]
push 0
push ecx
push 0x102138d0
mov eax, dword [eax + 0xc]
mov ecx, edi
call eax
mov byte [0x103d8a34], 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.1018e0ca
mov esp, ebp
pop ebp
ret
test dl, dl
jne 0x100b170e
cmp byte [eax + 0x13fa], dl
jne 0x100b170e
cmp byte [esp + 0x1b], 0
je 0x100b172d
test cl, cl
je 0x100b172d
mov eax, dword [0x10214410]
push 0x102138d0
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov byte [0x103d8a34], 0
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1018e0ca
mov esp, ebp
pop ebp
ret