Function at 0x440960
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x4902d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
mov esi, ecx
lea eax, [ebp - 0x110]
push 0
mov dword [ebp - 0x114], esi
push eax
mov dword [ebp - 0x114], esi
call sub.VCRUNTIME140.dll_memset
mov eax, dword fs:[0x2c]
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [0x49333c]
cmp eax, dword [ecx + 4]
jle 0x440d54
push 0x49333c
call fcn.004743d1
add esp, 4
cmp dword [0x49333c], 0xffffffff
jne 0x440d54
mov eax, dword [0x4848d8]
mov edx, 4
movups xmm0, xmmword [str.uV_cY_MT_rR_QM__6_aG]
mov dword [ebp - 0x138], eax
mov ax, word [0x4848dc]
mov word [ebp - 0x134], ax
movups xmmword [ebp - 0x148], xmm0
test ah, ah
je 0x440b9b
xor ecx, ecx
cmp dword [0x4931b8], 2
jl 0x440b70
movaps xmm0, xmmword [0x4861f0]
mov eax, 0x1f
movaps xmm4, xmmword [0x4860d0]
movaps xmm3, xmmword [0x486500]
movaps xmm6, xmmword [0x486100]
movd xmm5, edx
movaps xmmword [ebp - 0x130], xmm0
mov edx, dword [ebp - 0x130]
movd xmm7, eax
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
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4861d0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x148]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x148], 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, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4861d0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x144]
pxor xmm1, xmm0
movd dword [ebp + ecx - 0x144], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x440a60
cmp ecx, 0x16
jge 0x440b9b
nop dword [eax + eax]
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x31
sub dl, al
add dl, 0x32
xor byte [ebp + ecx - 0x148], dl
inc ecx
cmp ecx, 0x16
jl 0x440b70
mov eax, dword [0x485664]
xor edx, edx
cmp dword [0x4931b8], 2
movq xmm0, qword [str.YVF_S__v_v]
mov dword [ebp - 0x128], eax
mov al, byte [0x485668]
mov byte [ebp - 0x124], al
movq qword [ebp - 0x130], xmm0
mov dword [ebp - 0x114], edx
jl 0x440cf0
movaps xmm2, xmmword [0x4860d0]
mov eax, 4
movaps xmm4, xmmword [0x486500]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov edx, 8
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
movd xmm5, eax
mov eax, 0x1f
psrad xmm1, xmm5
mov dword [ebp - 0x114], edx
movaps xmm0, xmm1
movd xmm6, eax
mov eax, dword [0x4861f0]
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x486100]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x4860e0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4861d0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.YVF_S__v_v]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x130], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x486100]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4861d0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ebp - 0x12c]
pxor xmm1, xmm0
movd dword [ebp - 0x12c], xmm1
nop dword [eax + eax]
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x114]
movsx eax, al
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x32
xor byte [ebp + edx - 0x130], cl
inc edx
mov dword [ebp - 0x114], edx
cmp edx, 0xd
jl 0x440cf0
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x148]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x49333c
mov dword [0x493340], eax
call fcn.00474387
add esp, 4
mov eax, dword [0x493340]
test eax, eax
je 0x440dab
push 0x104
lea ecx, [ebp - 0x110]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
call eax
test eax, eax
je 0x440dab
xorps xmm0, xmm0
lea ecx, [ebp - 0x110]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edx, [ecx + 1]
mov dword [esi + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x440d98
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
jmp 0x440dc6
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
push 0x47d04e
mov ecx, esi
call fcn.00437fe0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00473fd7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret