Function at 0x100bafc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x44
mov eax, dword [0x102070c0]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword fs:[0x2c]
mov edx, dword [0x10225d4c]
push ebx
push esi
push edi
mov edi, dword [eax + edx*4]
mov bl, cl
mov eax, dword [0x10353538]
mov byte [esp + 0x1b], bl
cmp eax, dword [edi + 4]
jle 0x100bb026
push 0x10353538
call fcn.1019a827
add esp, 4
cmp dword [0x10353538], 0xffffffff
jne 0x100bb026
push 0x101c6830
call fcn.1019a573
push 0x10353538
call fcn.1019a7d6
add esp, 8
mov eax, dword [0x10224ca0]
mov esi, dword [0x10225d40]
mov dl, byte [0x1034ff89]
mov cl, byte [eax + 0x1641]
test cl, cl
jne 0x100bb04e
cmp byte [eax + 0x1766], 0
je 0x100bb1ef
test dl, dl
jne 0x100bb1df
mov eax, dword [0x10224ca8]
movq xmm0, qword [str.RD_QAiUI_XH]
mov ecx, dword [eax + 0x20]
mov eax, dword [0x101d3b08]
mov dword [esp + 0x44], eax
mov ax, word [0x101d3b0c]
mov dword [esp + 0x1c], ecx
movq qword [esp + 0x3c], xmm0
mov word [esp + 0x48], ax
test ah, ah
je 0x100bb1c3
xor ebx, ebx
cmp esi, 2
jl 0x100bb191
movaps xmm2, xmmword [0x101f8d60]
mov ebx, 8
movaps xmm3, xmmword [0x101f9250]
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 [0x101f8de0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101f8da0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f8eb0]
movd xmm0, dword [str.RD_QAiUI_XH]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x101f8ee0]
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 [0x101f8de0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f8eb0]
movd xmm0, dword [esp + 0x40]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x101f8ee0]
xorps xmm1, xmm0
movd dword [esp + 0x40], xmm1
mov eax, 0xa0a0a0a1
mov cl, bl
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [esp + ebx + 0x3c], cl
inc ebx
cmp ebx, 0xe
jl 0x100bb191
mov bl, byte [esp + 0x1b]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
lea edx, [esp + 0x3c]
push 0
push edx
push 0x1022416c
mov eax, dword [eax + 0xc]
call eax
mov byte [0x1034ff89], 1
jmp 0x100bb20e
test cl, cl
jne 0x100bb1eb
cmp byte [eax + 0x1766], cl
je 0x100bb1ef
test bl, bl
je 0x100bb213
test dl, dl
je 0x100bb213
mov eax, dword [0x10224ca8]
push 0x1022416c
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov byte [0x1034ff89], 0
mov eax, dword [0x10224ca0]
mov ecx, dword [0x10353510]
cmp ecx, dword [edi + 4]
jle 0x100bb253
push 0x10353510
call fcn.1019a827
add esp, 4
cmp dword [0x10353510], 0xffffffff
jne 0x100bb24e
push 0x101c6820
call fcn.1019a573
push 0x10353510
call fcn.1019a7d6
add esp, 8
mov eax, dword [0x10224ca0]
mov cl, byte [eax + 0x1641]
mov dl, byte [0x1034ff88]
test cl, cl
jne 0x100bb270
cmp byte [eax + 0x1766], 0
je 0x100bb41a
test dl, dl
jne 0x100bb40a
mov eax, dword [0x10224ca8]
movq xmm0, qword [str.RD_QAiUI_XH]
mov ecx, dword [eax + 0x20]
mov eax, dword [0x101d3b08]
mov dword [esp + 0x44], eax
mov ax, word [0x101d3b0c]
mov dword [esp + 0x1c], ecx
movq qword [esp + 0x3c], xmm0
mov word [esp + 0x48], ax
test ah, ah
je 0x100bb3ee
xor ebx, ebx
cmp esi, 2
jl 0x100bb3c0
movaps xmm2, xmmword [0x101f8d60]
mov ebx, 8
movaps xmm4, xmmword [0x101f9250]
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 [0x101f8ee0]
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101f8de0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101f8da0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f8eb0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.RD_QAiUI_XH]
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 [0x101f8de0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f8eb0]
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, 0xa0a0a0a1
mov cl, bl
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [esp + ebx + 0x3c], cl
inc ebx
cmp ebx, 0xe
jl 0x100bb3c0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
lea edx, [esp + 0x3c]
push 0
push edx
push 0x10224178
mov eax, dword [eax + 0xc]
call eax
mov byte [0x1034ff88], 1
jmp 0x100bb439
test cl, cl
jne 0x100bb416
cmp byte [eax + 0x1766], cl
je 0x100bb41a
test bl, bl
je 0x100bb43e
test dl, dl
je 0x100bb43e
mov eax, dword [0x10224ca8]
push 0x10224178
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov byte [0x1034ff88], 0
mov eax, dword [0x10224ca0]
mov ecx, dword [0x103534f4]
cmp ecx, dword [edi + 4]
jle 0x100bb47e
push 0x103534f4
call fcn.1019a827
add esp, 4
cmp dword [0x103534f4], 0xffffffff
jne 0x100bb479
push 0x101c6810
call fcn.1019a573
push 0x103534f4
call fcn.1019a7d6
add esp, 8
mov eax, dword [0x10224ca0]
mov dl, byte [eax + 0x14f1]
mov cl, byte [0x1034ff80]
test dl, dl
jne 0x100bb49b
cmp byte [eax + 0x14d2], 0
je 0x100bb665
test cl, cl
jne 0x100bb659
mov eax, dword [0x10224ca8]
movups xmm0, xmmword [str.__SJQGiQWVNHHXN__VVXEDR_XYSY]
mov edi, dword [eax + 0x20]
movups xmmword [esp + 0x3c], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x100bb62b
xor ebx, ebx
cmp esi, 2
jl 0x100bb601
movaps xmm0, xmmword [0x101f8ee0]
xor ecx, ecx
movaps xmm4, xmmword [0x101f8d60]
movaps xmm3, xmmword [0x101f9250]
movaps xmm5, xmmword [0x101f8de0]
movaps xmmword [esp + 0x20], xmm0
mov edx, dword [esp + 0x20]
nop word [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
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 [0x101f8eb0]
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 [0x101f8eb0]
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 0x100bb500
jmp 0x100bb62b
mov eax, 0xa0a0a0a1
mov cl, bl
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [esp + ebx + 0x3c], cl
inc ebx
cmp ebx, 0x10
jl 0x100bb601
mov eax, dword [edi]
lea ecx, [esp + 0x3c]
push 0
push ecx
push 0x10224168
mov eax, dword [eax + 0xc]
mov ecx, edi
call eax
mov byte [0x1034ff80], 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.1019a294
mov esp, ebp
pop ebp
ret
test dl, dl
jne 0x100bb66c
cmp byte [eax + 0x14d2], dl
jne 0x100bb66c
cmp byte [esp + 0x1b], 0
je 0x100bb68b
test cl, cl
je 0x100bb68b
mov eax, dword [0x10224ca8]
push 0x10224168
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov byte [0x1034ff80], 0
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1019a294
mov esp, ebp
pop ebp
ret