Function at 0x140049ab0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x140061040]
xor rax, rsp
mov qword [rbp + 0x1f], rax
movups xmm3, xmmword [str.jXSUQXJZ2_f7_7]
movups xmmword [rbp - 0x21], xmm3
mov edx, dword [0x140059108]
mov dword [rbp - 0x11], edx
movzx eax, byte [0x14005910c]
mov byte [rbp - 0xd], al
xor r15d, r15d
mov ecx, r15d
movdqa xmm7, xmmword [0x1400595b0]
mov edi, dword [0x140061090]
cmp edi, 2
jl 0x140049d24
movdqa xmm4, xmmword [0x140059be0]
movdqa xmm5, xmmword [str.9999]
movdqa xmm6, xmmword [0x140059690]
movdqa xmm2, xmmword [0x140059530]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd eax, xmm3
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp - 0x21], xmm2
movdqa xmm2, xmmword [0x140059550]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd xmm0, dword [rbp - 0x1d]
xorps xmm2, xmm0
movd dword [rbp - 0x1d], xmm2
movdqa xmm3, xmmword [0x140059560]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm6
movd xmm0, dword [rbp - 0x19]
xorps xmm3, xmm0
movd dword [rbp - 0x19], xmm3
movdqa xmm2, xmmword [0x140059570]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd xmm0, dword [rbp - 0x15]
xorps xmm2, xmm0
movd dword [rbp - 0x15], xmm2
movdqa xmm3, xmmword [0x140059580]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm6
movd xmm0, edx
xorps xmm3, xmm0
movd dword [rbp - 0x11], xmm3
mov ecx, 0x14
mov eax, ecx
lea r8, [rbp - 0x21]
add r8, rax
nop dword [rax]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x15
jl 0x140049d30
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
lea rsi, [rbp + 0x5f]
movabs r14, 0xff00ff00ff00ff00
mov qword [rbp - 1], r14
mov qword [rbp + 7], rsi
mov rbx, qword [rsi]
mov rax, rbx
xor rax, r14
mov qword [rbp - 9], rax
mov qword [rsi], r15
mov rax, qword [0x14008ac90]
xor edx, edx
lea rcx, [rbp - 0x21]
call rax
nop
mov qword [rsi], rbx
mov qword [0x14008ab60], rax
test rax, rax
jne 0x14004a0b7
mov byte [rbp - 0x29], al
lea r10, [rbp - 0x29]
movups xmm6, xmmword [0x1400591d0]
movups xmmword [rbp - 0x21], xmm6
movsd xmm0, qword [0x1400591e0]
movsd qword [rbp - 0x11], xmm0
cmp byte [0x1400591e7], al
je 0x14004a0a2
mov r8d, r15d
cmp edi, 2
jl 0x14004a05e
movdqa xmm4, xmmword [0x140059be0]
movdqa xmm5, xmmword [str.9999]
movdqa xmm3, xmmword [0x140059530]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov ecx, dword [0x140059690]
movd xmm0, ecx
paddb xmm3, xmm0
movd eax, xmm6
movd xmm0, eax
xorps xmm3, xmm0
movd dword [rbp - 0x21], xmm3
movdqa xmm2, xmmword [0x140059550]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x1d]
xorps xmm2, xmm1
movd dword [rbp - 0x1d], xmm2
movdqa xmm3, xmmword [0x140059560]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, ecx
paddb xmm3, xmm0
movd xmm1, dword [rbp - 0x19]
xorps xmm3, xmm1
movd dword [rbp - 0x19], xmm3
movdqa xmm2, xmmword [0x140059570]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x15]
xorps xmm2, xmm1
movd dword [rbp - 0x15], xmm2
movdqa xmm3, xmmword [0x140059580]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, ecx
paddb xmm3, xmm0
movd xmm1, dword [rbp - 0x11]
xorps xmm3, xmm1
movd dword [rbp - 0x11], xmm3
movdqa xmm2, xmmword [0x140059590]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0xd]
xorps xmm2, xmm1
movd dword [rbp - 0xd], xmm2
jmp 0x14004a0a2
lea r9, [rbp - 0x21]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x1f7047dd
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x18
jl 0x14004a070
mov r9d, 0x40
mov r8, r10
lea rdx, [rbp - 0x21]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r8d, eax
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
lea rsi, [rbp + 0x5f]
mov qword [rbp - 1], r14
mov qword [rbp + 7], rsi
mov rdi, qword [rsi]
mov rdx, rdi
xor rdx, r14
mov qword [rbp - 9], rdx
mov qword [rsi], r15
mov rax, qword [0x14008ac70]
mov dword [rsp + 0x30], 0x40
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, 0xffffffffffffffff
mov rcx, qword [0x14008ab60]
call rax
nop
mov qword [rsi], rdi
test eax, eax
je 0x14004a291
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
lea rbx, [rbp + 0x5f]
mov qword [rbp - 1], r14
mov qword [rbp + 7], rbx
mov rax, rdi
xor rax, r14
mov qword [rbp - 9], rax
mov qword [rbx], r15
mov rax, qword [0x14008ac88]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
mov rcx, qword [0x14008ab60]
call rax
nop
mov qword [rbx], rdi
test eax, eax
je 0x14004a291
mov edx, 0xffffffec
mov rcx, qword [0x14008ab60]
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov r8d, eax
or r8d, 0x20
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
lea rdi, [rbp + 0x5f]
mov qword [rbp - 1], r14
mov qword [rbp + 7], rdi
mov rbx, qword [rdi]
mov rax, rbx
xor rax, r14
mov qword [rbp - 9], rax
mov qword [rdi], r15
mov rax, qword [0x14008ac20]
mov edx, 0xffffffec
mov rcx, qword [0x14008ab60]
call rax
nop
mov qword [rdi], rbx
test eax, eax
je 0x14004a291
movdqa xmm0, xmmword [0x140059470]
movdqu xmmword [rbp + 0xf], xmm0
lea rdx, [rbp + 0xf]
mov rcx, qword [0x14008ab60]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
test eax, eax
js 0x14004a291
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
lea rcx, [rbp + 0x5f]
mov qword [rbp - 1], r14
mov qword [rbp + 7], rcx
mov rbx, qword [rcx]
mov rax, rbx
xor rax, r14
mov qword [rbp - 9], rax
mov qword [rcx], r15
mov edx, 5
mov rcx, qword [0x14008ab60]
call qword [0x14008ac40]
nop
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
lea rcx, [rbp + 0x5f]
mov qword [rbp - 1], r14
mov qword [rbp + 7], rcx
mov rax, rbx
xor rax, r14
mov qword [rbp - 9], rax
mov qword [rcx], r15
mov rcx, qword [0x14008ab60]
call qword [0x14008ab98]
nop
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
lea rdi, [rbp + 0x5f]
mov qword [rbp - 1], r14
mov qword [rbp + 7], rdi
mov rax, rbx
xor rax, r14
mov qword [rbp - 9], rax
mov qword [rdi], r15
xor edx, edx
mov rcx, qword [0x14008ab60]
call qword [0x14008ac40]
nop
mov qword [rdi], rbx
mov al, 1
jmp 0x14004a293
xor al, al
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.14004e970
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rbp
ret