Function at 0x14001f000
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 0x18], r8
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 r14, rdx
mov rdi, rcx
mov rbx, qword [0x140041c80]
test rdx, rdx
je 0x14001f281
test rbx, rbx
je 0x14001f281
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 0x14001f0a2
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 0x14001f2aa
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 0x14001f21e
movdqa xmm5, xmmword [0x14003b400]
movdqa xmm4, xmmword [0x14003b4a0]
movdqa xmm6, xmmword [0x14003b440]
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
psrad xmm1, 1
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
psrad xmm1, 1
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 0x14001f132
cmp eax, 0x25
jge 0x14001f25f
movsxd rax, ebx
lea r8, [rsp + 0x78]
lea r8, [r8 + rax*2]
nop word [rax + rax]
mov eax, 0x94f2095
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, bx
sub ax, cx
add ax, 0x39
xor word [r8], ax
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x25
jl 0x14001f230
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 + 0x28]
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 0x14001f2ff
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 0x14001f4b9
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 0x14001f46c
movdqa xmm5, xmmword [0x14003b400]
movdqa xmm4, xmmword [0x14003b4a0]
movdqa xmm6, xmmword [0x14003b440]
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
psrad xmm1, 1
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
psrad xmm1, 1
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 0x14001f380
cmp eax, 0x22
jge 0x14001f4af
movsxd rax, ebx
lea r8, [rsp + 0x78]
lea r8, [r8 + rax*2]
nop dword [rax + rax]
mov eax, 0x94f2095
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, bx
sub ax, cx
add ax, 0x39
xor word [r8], ax
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x22
jl 0x14001f480
lea rdx, [rsp + 0x78]
jmp 0x14001f264
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 [0x140041c3c], eax
jle 0x14001f5f7
lea rcx, [0x140041c3c]
call fcn.14002c278
cmp dword [0x140041c3c], 0xffffffff
jne 0x14001f5f7
movsd xmm0, qword [str.wNzXY]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x14002fa40]
mov word [rsp + 0x48], ax
cmp byte [0x14002fa41], 0
je 0x14001f55a
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
inc r8
cmp byte [rax + r8], 0
jne 0x14001f576
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 [0x140041d60], rax
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x14001f5eb
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f5e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f5e5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002c18c
nop
lea rcx, [0x140041c3c]
call fcn.14002c20c
mov rax, qword [0x140041d60]
xor ebx, ebx
test rax, rax
jne 0x14001f7b9
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 0x14001f76c
movdqa xmm5, xmmword [0x14003b400]
movdqa xmm4, xmmword [0x14003b4a0]
movdqa xmm6, xmmword [0x14003b440]
movdqa xmm7, xmmword [0x14003b480]
lea rcx, [rsp + 0x78]
nop dword [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
psrad xmm1, 1
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
psrad xmm1, 1
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 0x14001f680
cmp eax, 0x23
jge 0x14001f7af
movsxd rax, ebx
lea r8, [rsp + 0x78]
lea r8, [r8 + rax*2]
nop dword [rax + rax]
mov eax, 0x94f2095
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, bx
sub ax, cx
add ax, 0x39
xor word [r8], ax
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x23
jl 0x14001f780
lea rdx, [rsp + 0x78]
jmp 0x14001f264
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 + 0x50], ebx
mov qword [rsp + 0x38], rbx
lea rax, [rbp + 0x50]
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 0x14001f281
movzx eax, byte [rsp + 0x58]
cmp byte [rsp + 0x68], al
jne 0x14001fa19
movzx eax, byte [rsp + 0x59]
cmp byte [rsp + 0x69], al
jne 0x14001fa19
movzx eax, byte [rsp + 0x62]
cmp byte [rsp + 0x72], al
jne 0x14001fa19
movzx eax, byte [rsp + 0x63]
cmp byte [rsp + 0x73], al
jne 0x14001fa19
movups xmm0, xmmword [0x14002fee0]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [0x14002fef0]
movups xmmword [rbp - 0x78], xmm1
movups xmm0, xmmword [0x14002ff00]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [0x14002ff10]
movups xmmword [rbp - 0x58], xmm1
movups xmm0, xmmword [0x14002ff20]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [0x14002ff30]
movups xmmword [rbp - 0x38], xmm1
movups xmm0, xmmword [0x14002ff40]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [str.NRQXM]
movups xmmword [rbp - 0x18], xmm1
cmp dword [0x140041010], 2
jl 0x14001f9cf
movdqa xmm5, xmmword [0x14003b400]
movdqa xmm4, xmmword [0x14003b4a0]
movdqa xmm6, xmmword [0x14003b440]
movdqa xmm7, xmmword [0x14003b480]
lea rcx, [rsp + 0x78]
nop dword [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
psrad xmm1, 1
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
psrad xmm1, 1
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 0x14001f8e0
lea rdx, [rsp + 0x78]
jmp 0x14001f264
lea r8, [rsp + 0x78]
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x94f2095
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, bx
sub ax, cx
add ax, 0x39
xor word [r8], ax
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x40
jl 0x14001f9e0
lea rdx, [rsp + 0x78]
jmp 0x14001f264
lea r8, [rsp + 0x58]
mov rdx, qword [0x140041d60]
mov rcx, rdi
call fcn.140007c30
test al, al
je 0x14001f281
mov rdx, qword [rbp + 0x60]
mov rcx, r15
call rsi
mov qword [r14], rax
lea r8, [rsp + 0x68]
mov rdx, qword [0x140041d60]
mov rcx, rdi
call fcn.140007c30
jmp 0x14001f283