Function at 0x7ff769106220
Capabilities:
Encode data using xor
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x7ff769193080]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x60], rax
xor r15d, r15d
mov dword [rbp + 0xb8], r15d
lea r14, [0x7ff7691bc2c0]
mov qword [rsp + 0x60], r14
mov rcx, r14
call fcn.7ff769104790
nop
call fcn.7ff76915c728
lea rcx, [0x7ff76917da40]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], 4
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rbp + 0x140]
call fcn.7ff7690bc2e0
nop
mov rax, qword [0x7ff76917da20]
mov qword [rbp + 0xb8], rax
cmp byte [0x7ff76917da27], r15b
je 0x7ff76910641e
cmp dword [0x7ff7691930d0], 2
jl 0x7ff7691063d9
movdqa xmm4, xmmword [0x7ff76917dfb0]
movdqa xmm2, xmmword [0x7ff76917dd10]
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, xmmword [0x7ff76917dd80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x7ff76917de10]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x7ff76917de30]
movd xmm0, dword [rbp + 0xb8]
xorps xmm2, xmm0
movd dword [rbp + 0xb8], xmm2
movdqa xmm3, xmmword [0x7ff76917dd30]
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, xmmword [0x7ff76917dd80]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x7ff76917de10]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x7ff76917de30]
movd xmm0, dword [rbp + 0xbc]
xorps xmm2, xmm0
movd dword [rbp + 0xbc], xmm2
jmp 0x7ff76910641e
lea r8, [rbp + 0xb8]
mov ecx, r15d
nop dword [rax]
nop word [rax + rax]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 8
jl 0x7ff7691063f0
lea rcx, [rbp + 0xb8]
call qword [sym.imp.ucrtbase.dll_getenv]
mov rsi, rax
mov rbx, 0xffffffffffffffff
mov rdi, rbx
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x7ff769106440
call fcn.7ff76915c728
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], rdi
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rbp + 0x120]
call fcn.7ff7690bc2e0
nop
movsd xmm0, qword [0x7ff76917da28]
movsd qword [rsp + 0x20], xmm0
movzx eax, byte [0x7ff76917da30]
mov byte [rsp + 0x20], 0x63
xor byte [rsp + 0x21], 0x31
xor byte [rsp + 0x22], 0x32
xor byte [rsp + 0x23], 0x33
xor byte [rsp + 0x24], 0x34
xor byte [rsp + 0x25], 0x35
xor byte [rsp + 0x26], 0x36
xor byte [rsp + 0x27], 0x37
xor al, 0x38
mov byte [rsp + 0x28], al
lea rax, [rsp + 0x20]
inc rbx
cmp byte [rax + rbx], 0
jne 0x7ff7691064b4
call fcn.7ff76915c728
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.7ff7690bc2e0
mov esi, 0x3f
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0xe0]
call fcn.7ff7690c03f0
nop
lea rcx, [rsp + 0x40]
call fcn.7ff7690bec40
lea rcx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 7
cmova rcx, qword [rbp + 0xe0]
call fcn.7ff76915c988
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x7ff769106894
lea r8, [rbp + 0x140]
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0xc0]
call fcn.7ff7690c03f0
nop
call qword [sym.imp.msvcp140.dll__Xtime_get_ticks]
mov rcx, rax
movabs rax, 0xd6bf94d5e57a42bd
imul rcx
add rdx, rcx
sar rdx, 0x17
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rbp + 0xb8], rdx
lea rcx, [rbp + 0xb8]
call qword [sym.imp.ucrtbase.dll__localtime64]
lea r9, [0x7ff76917da48]
mov r8, rax
lea rdx, [rbp + 0x98]
call fcn.7ff7691068b0
nop
lea r8d, [rsi - 0x3b]
lea rdx, [0x7ff76917da54]
mov rcx, rax
call fcn.7ff7690b6a60
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
bts esi, 8
mov rdi, qword [rsp + 0x50]
lea rbx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rbx, qword [rsp + 0x40]
call fcn.7ff76915c728
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rdi
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rbp + 0x78]
call fcn.7ff7690bc2e0
or esi, 0x600
lea r8, [rbp + 0x78]
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x100]
call fcn.7ff7690c03f0
nop
lea rcx, [rbp + 0x78]
call fcn.7ff7690bec40
nop
lea rcx, [rsp + 0x40]
call fcn.7ff7690b6990
nop
lea rcx, [rbp + 0x98]
call fcn.7ff7690b6990
lea rcx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 7
cmova rcx, qword [rbp + 0xc0]
call fcn.7ff76915c988
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x7ff76910687c
lea rbx, [rbp + 0x100]
cmp qword [rbp + 0x118], 7
cmova rbx, qword [rbp + 0x100]
lea rax, [0x7ff769177888]
mov qword [rsp + 0x70], rax
lea rcx, [rbp + 0x18]
call qword [sym.imp.msvcp140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
bts esi, 0xc
mov dword [rbp + 0xb8], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
call qword [sym.imp.msvcp140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rdi, [0x7ff769177858]
mov qword [rsp + rcx + 0x70], rdi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rsp + 0x78]
call qword [sym.imp.msvcp140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, [0x7ff7691777d8]
mov qword [rsp + 0x78], rax
mov byte [rbp - 0xc], 0
mov byte [rbp - 0x17], 0
lea rcx, [rsp + 0x78]
call qword [sym.imp.msvcp140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 8], r15
mov rax, qword [0x7ff7691bc488]
mov qword [rbp - 0x14], rax
mov qword [rbp - 0x20], r15
mov r8d, 2
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.7ff7690fc750
test rax, rax
jne 0x7ff769106774
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.msvcp140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], rdi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
lea rax, [rsp + 0x70]
cmp r14, rax
je 0x7ff7691067c5
lea rcx, [r14 + 8]
call fcn.7ff7690bea40
lea rdx, [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.msvcp140.dll_protected:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::swap_class_std::basic_iostream_char__struct_std::char_traits_char______ptr64____ptr64]
lea rdx, [rsp + 0x78]
lea rcx, [r14 + 8]
call fcn.7ff769104860
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], rdi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rsp + 0x78]
call fcn.7ff7690be570
lea rcx, [rbp - 0x80]
call qword [sym.imp.msvcp140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x18]
call qword [sym.imp.msvcp140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov byte [r14 + 0x108], 1
lea rcx, [rbp + 0x100]
call fcn.7ff7690bec40
nop
lea rcx, [rbp + 0xc0]
call fcn.7ff7690bec40
nop
lea rcx, [rbp + 0xe0]
call fcn.7ff7690bec40
nop
lea rcx, [rbp + 0x120]
call fcn.7ff7690bec40
nop
lea rcx, [rbp + 0x140]
call fcn.7ff7690bec40
nop
mov rax, r14
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.7ff76915d150
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
shr rdx, 0x20
lea r8, [rbp + 0xc0]
lea rcx, [0x7ff76917b8b0]
call fcn.7ff7690c04c0
nop
shr rdx, 0x20
lea r8, [rbp + 0xe0]
lea rcx, [0x7ff76917b8b0]
call fcn.7ff7690c04c0
int3