Function at 0x100b0e20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x44
mov eax, dword [0x101f80c0]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword fs:[0x2c]
mov edx, dword [0x1021451c]
push ebx
push esi
push edi
mov edi, dword [eax + edx*4]
mov bl, cl
mov eax, dword [0x103dae74]
mov byte [esp + 0x1b], bl
cmp eax, dword [edi + 4]
jle 0x100b0e86
push 0x103dae74
call fcn.1018e03f
add esp, 4
cmp dword [0x103dae74], 0xffffffff
jne 0x100b0e86
push 0x101b9d00
call fcn.1018dd88
push 0x103dae74
call fcn.1018dfee
add esp, 8
mov eax, dword [0x10213408]
mov esi, dword [0x10214510]
mov dl, byte [0x103d7a3e]
mov cl, byte [eax + 0x1569]
test cl, cl
jne 0x100b0eae
cmp byte [eax + 0x168e], 0
je 0x100b104c
test dl, dl
jne 0x100b103c
mov eax, dword [0x10213410]
movq xmm0, qword [str.V_Z__MeRQM_4A]
mov ecx, dword [eax + 0x20]
mov eax, dword [0x101c69c8]
mov dword [esp + 0x44], eax
mov ax, word [0x101c69cc]
mov dword [esp + 0x1c], ecx
movq qword [esp + 0x3c], xmm0
mov word [esp + 0x48], ax
test ah, ah
je 0x100b1020
xor ebx, ebx
cmp esi, 2
jl 0x100b0ff0
movaps xmm2, xmmword [0x101ea800]
mov ebx, 8
movaps xmm3, xmmword [0x101eabf0]
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 [0x101ea860]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ea840]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ea930]
movd xmm0, dword [str.V_Z__MeRQM_4A]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.44444444444444447777777777777777]
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 [0x101ea860]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ea930]
movd xmm0, dword [esp + 0x40]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.44444444444444447777777777777777]
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, 0x34
xor byte [esp + ebx + 0x3c], cl
inc ebx
cmp ebx, 0xe
jl 0x100b0ff0
mov bl, byte [esp + 0x1b]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
lea edx, [esp + 0x3c]
push 0
push edx
push 0x102128d4
mov eax, dword [eax + 0xc]
call eax
mov byte [0x103d7a3e], 1
jmp 0x100b106b
test cl, cl
jne 0x100b1048
cmp byte [eax + 0x168e], cl
je 0x100b104c
test bl, bl
je 0x100b1070
test dl, dl
je 0x100b1070
mov eax, dword [0x10213410]
push 0x102128d4
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov byte [0x103d7a3e], 0
mov eax, dword [0x10213408]
mov ecx, dword [0x103dae4c]
cmp ecx, dword [edi + 4]
jle 0x100b10b0
push 0x103dae4c
call fcn.1018e03f
add esp, 4
cmp dword [0x103dae4c], 0xffffffff
jne 0x100b10ab
push 0x101b9cf0
call fcn.1018dd88
push 0x103dae4c
call fcn.1018dfee
add esp, 8
mov eax, dword [0x10213408]
mov cl, byte [eax + 0x1569]
mov dl, byte [0x103d7a3d]
test cl, cl
jne 0x100b10cd
cmp byte [eax + 0x168e], 0
je 0x100b1268
test dl, dl
jne 0x100b1258
mov eax, dword [0x10213410]
movq xmm0, qword [str.V_Z__MeRQM_4A]
mov ecx, dword [eax + 0x20]
mov eax, dword [0x101c69c8]
mov dword [esp + 0x44], eax
mov ax, word [0x101c69cc]
mov dword [esp + 0x1c], ecx
movq qword [esp + 0x3c], xmm0
mov word [esp + 0x48], ax
test ah, ah
je 0x100b123c
xor ebx, ebx
cmp esi, 2
jl 0x100b1210
movaps xmm2, xmmword [0x101ea800]
mov ebx, 8
movaps xmm4, xmmword [0x101eabf0]
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 [str.44444444444444447777777777777777]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ea860]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ea840]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ea930]
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
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 [0x101ea860]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ea930]
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, 0x34
xor byte [esp + ebx + 0x3c], cl
inc ebx
cmp ebx, 0xe
jl 0x100b1210
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
lea edx, [esp + 0x3c]
push 0
push edx
push 0x102128e0
mov eax, dword [eax + 0xc]
call eax
mov byte [0x103d7a3d], 1
jmp 0x100b1287
test cl, cl
jne 0x100b1264
cmp byte [eax + 0x168e], cl
je 0x100b1268
test bl, bl
je 0x100b128c
test dl, dl
je 0x100b128c
mov eax, dword [0x10213410]
push 0x102128e0
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov byte [0x103d7a3d], 0
mov eax, dword [0x10213408]
mov ecx, dword [0x103dae3c]
cmp ecx, dword [edi + 4]
jle 0x100b12cc
push 0x103dae3c
call fcn.1018e03f
add esp, 4
cmp dword [0x103dae3c], 0xffffffff
jne 0x100b12c7
push 0x101b9ce0
call fcn.1018dd88
push 0x103dae3c
call fcn.1018dfee
add esp, 8
mov eax, dword [0x10213408]
mov dl, byte [eax + 0x1419]
mov cl, byte [0x103d7a3c]
test dl, dl
jne 0x100b12e9
cmp byte [eax + 0x13fa], 0
je 0x100b14b2
test cl, cl
jne 0x100b14a6
mov eax, dword [0x10213410]
movups xmm0, xmmword [str.DYWN_Ke_SRJL4_2CYTBhLVWOWX_5B]
mov edi, dword [eax + 0x20]
movups xmmword [esp + 0x3c], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x100b1478
xor ebx, ebx
cmp esi, 2
jl 0x100b1450
movaps xmm0, xmmword [str.44444444444444447777777777777777]
xor ecx, ecx
movaps xmm4, xmmword [0x101ea800]
movaps xmm3, xmmword [0x101eabf0]
movaps xmm5, xmmword [0x101ea860]
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 [0x101ea930]
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 [0x101ea930]
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 0x100b1350
jmp 0x100b1478
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, 0x34
xor byte [esp + ebx + 0x3c], cl
inc ebx
cmp ebx, 0x10
jl 0x100b1450
mov eax, dword [edi]
lea ecx, [esp + 0x3c]
push 0
push ecx
push 0x102128d0
mov eax, dword [eax + 0xc]
mov ecx, edi
call eax
mov byte [0x103d7a3c], 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.1018daa9
mov esp, ebp
pop ebp
ret
test dl, dl
jne 0x100b14b9
cmp byte [eax + 0x13fa], dl
jne 0x100b14b9
cmp byte [esp + 0x1b], 0
je 0x100b14d8
test cl, cl
je 0x100b14d8
mov eax, dword [0x10213410]
push 0x102128d0
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov byte [0x103d7a3c], 0
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1018daa9
mov esp, ebp
pop ebp
ret