Function at 0x140005480
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rsi, rcx
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x48]
call fcn.140002c50
mov r10, rax
mov rdx, qword [0x140008808]
mov qword [rsp + 0x30], rdx
mov edi, dword [0x14000c090]
cmp byte [0x14000880f], 0
je 0x1400035a3
cmp edi, 2
jl 0x14000355e
movdqa xmm4, xmmword [0x1400089b0]
movdqa xmm2, xmmword [0x140008950]
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 [0x140008980]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008990]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.6666666666666666_t]
movd xmm0, dword [rsp + 0x30]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x140008960]
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 [0x140008980]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008990]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.6666666666666666_t]
movd xmm0, dword [rsp + 0x34]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
jmp 0x1400035a3
lea r9, [rsp + 0x30]
xor r8d, r8d
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x140003570
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1400035b2
lea rdx, [rsp + 0x30]
mov rcx, r10
call fcn.140004f00
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.1400049e0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140003616
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003611
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003611
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000622c
movdqa xmm0, xmmword [0x140008940]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140008798]
mov qword [rbp - 0x10], rax
lea rcx, [rbp + 0x98]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x30], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x10]
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 [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x10], rax
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x14], edx
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp - 8], rax
mov byte [rbp + 0x74], 0
mov byte [rbp + 0x69], 0
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x78], 0
mov rax, qword [0x14000cc30]
mov qword [rbp + 0x6c], rax
mov qword [rbp + 0x60], 0
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x10]
call fcn.140004d80
lea rcx, [rsp + 0x68]
call fcn.140002d00
nop
mov ecx, dword [0x14000855c]
mov dword [rsp + 0x30], ecx
movzx ecx, byte [0x140008560]
mov byte [rsp + 0x30], 0x20
xor byte [rsp + 0x31], 0x37
xor byte [rsp + 0x32], 0x38
xor byte [rsp + 0x33], 0x39
xor cl, 0x3a
mov byte [rsp + 0x34], cl
lea rcx, [rsp + 0x30]
mov r8, rbx
nop
inc r8
cmp byte [rcx + r8], 0
jne 0x140003730
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140004f00
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.1400049e0
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140001290
nop
mov rdx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x14000376e
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rbp - 0x10]
call fcn.1400054d0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x1400037bc
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400037b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400037b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000622c
movdqa xmm0, xmmword [0x140008940]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x14000380e
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003809
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003809
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000622c
lea rcx, [rbp - 8]
call fcn.140004cc0
test rax, rax
jne 0x140003838
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x10]
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]
mov eax, dword [0x140008578]
mov dword [rsp + 0x30], eax
movzx eax, word [0x14000857c]
mov word [rsp + 0x34], ax
mov byte [rsp + 0x30], 0x2f
xor byte [rsp + 0x31], 0x37
xor byte [rsp + 0x32], 0x38
xor byte [rsp + 0x33], 0x39
xor byte [rsp + 0x34], 0x3a
xor byte [rsp + 0x35], 0x3b
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
lea rax, [rsp + 0x30]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140003883
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x58]
call fcn.140005090
nop
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova rdx, qword [rbp - 0x38]
mov r8, qword [rbp - 0x28]
lea rcx, [rbp - 0x58]
call fcn.140004f00
movzx eax, word [0x140008848]
mov word [rsp + 0x30], ax
cmp byte [0x140008849], 0
je 0x1400038d6
mov byte [rsp + 0x30], 0x22
xor byte [rsp + 0x31], 0x37
lea rax, [rsp + 0x30]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400038e0
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x58]
call fcn.140004f00
lea r9, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova r9, qword [rbp - 0x58]
movsd xmm0, qword [str.UZKMJ]
movsd qword [rsp + 0x38], xmm0
movzx eax, word [0x140008838]
mov word [rsp + 0x40], ax
mov eax, dword [str.YG_W:]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x1400088bc]
cmp byte [0x140008839], 0
je 0x140003970
mov byte [rsp + 0x38], 0x63
xor byte [rsp + 0x39], 0x37
xor byte [rsp + 0x3a], 0x38
xor byte [rsp + 0x3b], 0x39
xor byte [rsp + 0x3c], 0x3a
xor byte [rsp + 0x3d], 0x3b
xor byte [rsp + 0x3e], 0x3c
xor byte [rsp + 0x3f], 0x3d
xor byte [rsp + 0x40], 0x3e
xor byte [rsp + 0x41], 0x3f
nop
mov byte [rsp + 0x30], 0x6f
xor byte [rsp + 0x31], 0x37
xor byte [rsp + 0x32], 0x38
xor byte [rsp + 0x33], 0x39
xor al, 0x3a
mov byte [rsp + 0x34], al
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
call fcn.1400059e0
nop dword [rax]
mov rax, qword [0x140008840]
mov qword [rsp + 0x30], rax
cmp byte [0x140008847], 0
je 0x140003afe
cmp edi, 2
jl 0x140003ac6
movdqa xmm4, xmmword [0x1400089b0]
movdqa xmm2, xmmword [0x140008950]
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 [0x140008980]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008990]
packuswb xmm2, xmm2
mov eax, dword [str.6666666666666666_t]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x30]
xorps xmm2, xmm1
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x140008960]
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 [0x140008980]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008990]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x34]
xorps xmm2, xmm1
movd dword [rsp + 0x34], xmm2
jmp 0x140003afe
lea r8, [rsp + 0x30]
xor ecx, ecx
nop dword [rax]
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
sub al, dl
add al, 0x36
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 8
jl 0x140003ad0
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
je 0x1400039a0
mov edx, pe_nt_image_headers64
mov rcx, rbx
call fcn.140005710
mov edx, 0x101
mov rcx, rbx
call fcn.140005710
mov rax, qword [rsi]
mov ebx, dword [rax]
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x140003b7f
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b7a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003b7a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000622c
movdqa xmm0, xmmword [0x140008940]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], 0
lea rcx, [rbp - 0x10]
call fcn.140003c60
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x140003bd8
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003bd3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003bd3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000622c
mov eax, ebx
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.1400061d0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
add rcx, 8
jmp 0x1400033f0