Function at 0x100a3560
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0x2c]
sub esp, 0x10
mov edx, dword [0x10217cb0]
push ebx
mov edx, dword [eax + edx*4]
mov bl, cl
mov eax, dword [0x104edda0]
cmp eax, dword [edx + 4]
jle 0x100a35af
push 0x104edda0
call fcn.1015fec1
add esp, 4
cmp dword [0x104edda0], 0xffffffff
jne 0x100a35af
push 0x1018bff0
call fcn.1015fe0a
push 0x104edda0
call fcn.1015fe70
add esp, 8
cmp byte [0x1042371c], 0
jne 0x100a3bd0
mov eax, dword [0x1021663c]
movq xmm0, qword [str.V_Z__MeRQM_4A]
push esi
mov esi, dword [0x10217ca4]
push edi
mov edi, dword [eax + 0x20]
mov eax, dword [0x101ae3ec]
mov dword [esp + 0x16], eax
mov ax, word [0x101ae3f0]
movq qword [esp + 0xe], xmm0
mov word [esp + 0x1a], ax
test ah, ah
je 0x100a372d
xor ebx, ebx
cmp esi, 2
jl 0x100a3700
movaps xmm2, xmmword [0x101ed000]
mov ebx, 8
movaps xmm3, xmmword [0x101ed430]
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 [0x101ed0a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ed030]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
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 + 0xe], 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 [0x101ed0a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
movd xmm0, dword [esp + 0x12]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.4444444444444444]
xorps xmm1, xmm0
movd dword [esp + 0x12], 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 + 0xe], al
inc ebx
cmp ebx, 0xe
jl 0x100a3700
mov eax, dword [edi]
lea ecx, [esp + 0xe]
push 0
push ecx
push 0x10215b78
mov eax, dword [eax + 0xc]
mov ecx, edi
call eax
cmp byte [0x101987c7], 0
mov eax, dword [0x1021663c]
movq xmm0, qword [str.DYWN_KeSIOJ_DYWN_Ke_YJW_]
mov edi, dword [eax + 0x20]
mov eax, dword [0x101987c4]
movq qword [esp + 0xe], xmm0
mov dword [esp + 0x16], eax
je 0x100a38ad
xor ebx, ebx
cmp esi, 2
jl 0x100a3880
movaps xmm2, xmmword [0x101ed000]
mov ebx, 8
movaps xmm4, xmmword [0x101ed430]
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 [0x101ed0a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ed030]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.DYWN_KeSIOJ_DYWN_Ke_YJW_]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0xe], 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 [0x101ed0a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x12]
xorps xmm1, xmm0
movd dword [esp + 0x12], 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 + 0xe], al
inc ebx
cmp ebx, 0xc
jl 0x100a3880
mov eax, dword [edi]
lea ecx, [esp + 0xe]
push 0
push ecx
push 0x10215b7c
mov eax, dword [eax + 0xc]
mov ecx, edi
call eax
cmp byte [0x1019875f], 0
mov eax, dword [0x1021663c]
movq xmm0, qword [str.FZCY_fIO_OJ_VZ_Ug__USZZ41D]
mov edi, dword [eax + 0x20]
mov eax, dword [0x1019875c]
movq qword [esp + 0xe], xmm0
mov dword [esp + 0x16], eax
je 0x100a3a2d
xor ebx, ebx
cmp esi, 2
jl 0x100a3a00
movaps xmm2, xmmword [0x101ed000]
mov ebx, 8
movaps xmm4, xmmword [0x101ed430]
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 [0x101ed0a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ed030]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.FZCY_fIO_OJ_VZ_Ug__USZZ41D]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0xe], 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 [0x101ed0a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x12]
xorps xmm1, xmm0
movd dword [esp + 0x12], 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 + 0xe], al
inc ebx
cmp ebx, 0xc
jl 0x100a3a00
mov eax, dword [edi]
lea ecx, [esp + 0xe]
push 0
push ecx
push 0x10215b80
mov eax, dword [eax + 0xc]
mov ecx, edi
call eax
cmp byte [0x10198833], 0
mov eax, dword [0x1021663c]
movq xmm0, qword [str.CPWGWWe_UO__]
mov edi, dword [eax + 0x20]
mov eax, dword [0x10198830]
movq qword [esp + 0xe], xmm0
mov dword [esp + 0x16], eax
je 0x100a3bad
xor ebx, ebx
cmp esi, 2
jl 0x100a3b80
movaps xmm2, xmmword [0x101ed000]
mov ebx, 8
movaps xmm4, xmmword [0x101ed430]
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 [0x101ed0a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ed030]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.CPWGWWe_UO__]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0xe], 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 [0x101ed0a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x12]
xorps xmm1, xmm0
movd dword [esp + 0x12], 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 + 0xe], al
inc ebx
cmp ebx, 0xc
jl 0x100a3b80
mov eax, dword [edi]
lea ecx, [esp + 0xe]
push 0
push ecx
push 0x10215b84
mov eax, dword [eax + 0xc]
mov ecx, edi
call eax
pop edi
pop esi
mov byte [0x1042371c], 1
pop ebx
add esp, 0x10
ret
test bl, bl
je 0x100a3c2b
mov eax, dword [0x1021663c]
push 0x10215b78
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [0x1021663c]
push 0x10215b7c
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [0x1021663c]
push 0x10215b80
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [0x1021663c]
push 0x10215b84
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov byte [0x1042371c], 0
pop ebx
add esp, 0x10
ret