Function at 0x140026fb0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x120
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov r15, r9
mov rbx, r8
mov r14, rdx
mov rdi, rcx
test rdx, rdx
je 0x140027235
test rbx, rbx
je 0x140027235
movsd xmm0, qword [str.WN_PQ]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x14002fa30]
mov word [rsp + 0x48], ax
cmp byte [0x14002fa31], 0
je 0x14002704a
mov byte [rsp + 0x40], 0x6e
xor byte [rsp + 0x41], 0x3a
xor byte [rsp + 0x42], 0x3b
xor byte [rsp + 0x43], 0x3c
xor byte [rsp + 0x44], 0x3d
xor byte [rsp + 0x45], 0x3e
xor byte [rsp + 0x46], 0x3f
xor byte [rsp + 0x47], 0x40
xor byte [rsp + 0x48], 0x41
xor byte [rsp + 0x49], 0x42
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
test rax, rax
jne 0x14002725e
movups xmm0, xmmword [0x1400300b0]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [0x1400300c0]
movups xmmword [rbp - 0x78], xmm1
movups xmm0, xmmword [0x1400300d0]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [0x1400300e0]
movups xmmword [rbp - 0x58], xmm1
movsd xmm0, qword [0x1400300f0]
movsd qword [rbp - 0x48], xmm0
movzx eax, word [0x1400300f8]
mov word [rbp - 0x40], ax
xor ebx, ebx
cmp dword [0x140041010], 2
jl 0x1400271d4
movdqa xmm5, xmmword [0x14003b400]
movdqa xmm4, xmmword [0x14003b500]
movdqa xmm6, xmmword [0x14003b460]
movdqa xmm7, xmmword [0x14003b480]
lea rcx, [rsp + 0x78]
nop word [rax + rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
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, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [rbx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
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, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 0x10]
cmp ebx, 0x20
jl 0x1400270e0
cmp eax, 0x25
jge 0x140027213
movsxd rax, ebx
lea r8, [rsp + 0x78]
lea r8, [r8 + rax*2]
mov eax, 0x8fb823ef
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x39
add cx, bx
xor word [r8], cx
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x25
jl 0x1400271e0
lea rdx, [rsp + 0x78]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___void_const____ptr64____ptr64]
lea rdx, [0x140016670]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
movsd xmm0, qword [str.wNzXY]
movsd qword [rsp + 0x4a], xmm0
movzx eax, word [0x14002fa40]
mov word [rsp + 0x52], ax
cmp byte [0x14002fa41], 0
je 0x1400272b3
mov byte [rsp + 0x4a], 0x4e
xor byte [rsp + 0x4b], 0x3a
xor byte [rsp + 0x4c], 0x3b
xor byte [rsp + 0x4d], 0x3c
xor byte [rsp + 0x4e], 0x3d
xor byte [rsp + 0x4f], 0x3e
xor byte [rsp + 0x50], 0x3f
xor byte [rsp + 0x51], 0x40
xor byte [rsp + 0x52], 0x41
xor byte [rsp + 0x53], 0x42
lea rdx, [rsp + 0x4a]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x14002747d
movups xmm0, xmmword [0x14002fc30]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [0x14002fc40]
movups xmmword [rbp - 0x78], xmm1
movups xmm0, xmmword [0x14002fc50]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [0x14002fc60]
movups xmmword [rbp - 0x58], xmm1
mov eax, dword [0x14002fc70]
mov dword [rbp - 0x48], eax
xor ebx, ebx
cmp dword [0x140041010], 2
jl 0x140027434
movdqa xmm5, xmmword [0x14003b400]
movdqa xmm4, xmmword [0x14003b500]
movdqa xmm6, xmmword [0x14003b460]
movdqa xmm7, xmmword [0x14003b480]
lea rcx, [rsp + 0x78]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
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, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [rbx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
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, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 0x10]
cmp ebx, 0x20
jl 0x140027340
cmp eax, 0x22
jge 0x140027473
movsxd rax, ebx
lea r8, [rsp + 0x78]
lea r8, [r8 + rax*2]
mov eax, 0x8fb823ef
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x39
add cx, bx
xor word [r8], cx
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x22
jl 0x140027440
lea rdx, [rsp + 0x78]
jmp 0x140027218
mov word [rsp + 0x58], 0xb848
mov word [rsp + 0x62], 0xe0ff
mov qword [rsp + 0x5a], rbx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140041d70], eax
jle 0x1400275c1
lea rcx, [0x140041d70]
call fcn.14002c278
cmp dword [0x140041d70], 0xffffffff
jne 0x1400275c1
movsd xmm0, qword [str.wNzXY]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x14002fa40]
mov word [rsp + 0x48], ax
cmp byte [0x14002fa41], 0
je 0x14002751e
mov byte [rsp + 0x40], 0x4e
xor byte [rsp + 0x41], 0x3a
xor byte [rsp + 0x42], 0x3b
xor byte [rsp + 0x43], 0x3c
xor byte [rsp + 0x44], 0x3d
xor byte [rsp + 0x45], 0x3e
xor byte [rsp + 0x46], 0x3f
xor byte [rsp + 0x47], 0x40
xor byte [rsp + 0x48], 0x41
xor byte [rsp + 0x49], 0x42
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140027540
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.140002e80
nop
lea r8, [rsp + 0x78]
mov rdx, qword [0x140041b80]
mov rcx, rdi
call fcn.14000bfe0
mov qword [0x140041d68], rax
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x1400275b5
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400275af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400275af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002c18c
nop
lea rcx, [0x140041d70]
call fcn.14002c20c
mov rax, qword [0x140041d68]
xor ebx, ebx
test rax, rax
jne 0x14002778d
movups xmm0, xmmword [0x140030060]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [0x140030070]
movups xmmword [rbp - 0x78], xmm1
movups xmm0, xmmword [0x140030080]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [0x140030090]
movups xmmword [rbp - 0x58], xmm1
mov eax, dword [0x1400300a0]
mov dword [rbp - 0x48], eax
movzx eax, word [0x1400300a4]
mov word [rbp - 0x44], ax
cmp dword [0x140041010], 2
jl 0x140027744
movdqa xmm5, xmmword [0x14003b400]
movdqa xmm4, xmmword [0x14003b500]
movdqa xmm6, xmmword [0x14003b460]
movdqa xmm7, xmmword [0x14003b480]
lea rcx, [rsp + 0x78]
nop word [rax + rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
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, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [rbx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
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, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 0x10]
cmp ebx, 0x20
jl 0x140027650
cmp eax, 0x23
jge 0x140027783
movsxd rax, ebx
lea r8, [rsp + 0x78]
lea r8, [r8 + rax*2]
mov eax, 0x8fb823ef
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x39
add cx, bx
xor word [r8], cx
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x23
jl 0x140027750
lea rdx, [rsp + 0x78]
jmp 0x140027218
mov qword [rbp - 0x80], rbx
mov qword [rsp + 0x78], 0x33
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x68]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 0xc
mov dword [rbp + 0x48], ebx
mov qword [rsp + 0x38], rbx
lea rax, [rbp + 0x48]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9d, 0x28
lea r8, [rsp + 0x78]
mov edx, 0x80862007
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140027235
movzx eax, byte [rsp + 0x58]
cmp byte [rsp + 0x68], al
jne 0x1400279ed
movzx eax, byte [rsp + 0x59]
cmp byte [rsp + 0x69], al
jne 0x1400279ed
movzx eax, byte [rsp + 0x62]
cmp byte [rsp + 0x72], al
jne 0x1400279ed
movzx eax, byte [rsp + 0x63]
cmp byte [rsp + 0x73], al
jne 0x1400279ed
movups xmm0, xmmword [0x14003a910]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [0x14003a920]
movups xmmword [rbp - 0x78], xmm1
movups xmm0, xmmword [0x14003a930]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [0x14003a940]
movups xmmword [rbp - 0x58], xmm1
movups xmm0, xmmword [0x14003a950]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [0x14003a960]
movups xmmword [rbp - 0x38], xmm1
movups xmm0, xmmword [0x14003a970]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [0x14003a980]
movups xmmword [rbp - 0x18], xmm1
cmp dword [0x140041010], 2
jl 0x1400279a8
movdqa xmm5, xmmword [0x14003b400]
movdqa xmm4, xmmword [0x14003b500]
movdqa xmm6, xmmword [0x14003b460]
movdqa xmm7, xmmword [0x14003b480]
lea rcx, [rsp + 0x78]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
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, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [rbx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
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, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add ebx, 8
lea rcx, [rcx + 0x10]
cmp ebx, 0x40
jl 0x1400278b1
lea rdx, [rsp + 0x78]
jmp 0x140027218
lea r8, [rsp + 0x78]
nop dword [rax]
mov eax, 0x8fb823ef
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x39
add cx, bx
xor word [r8], cx
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x40
jl 0x1400279b0
lea rdx, [rsp + 0x78]
jmp 0x140027218
lea r8, [rsp + 0x58]
mov rdx, qword [0x140041d68]
mov rcx, rdi
call fcn.140007c30
test al, al
je 0x140027235
mov rdx, qword [rbp + 0x60]
mov rcx, r15
call rsi
mov dword [r14], eax
lea r8, [rsp + 0x68]
mov rdx, qword [0x140041d68]
mov rcx, rdi
call fcn.140007c30
jmp 0x140027237