Function at 0x140005ca0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x14008e180]
xor rax, rsp
mov qword [rbp + 0x88], rax
mov rbx, rcx
mov qword [rsp + 0x60], rcx
xor esi, esi
mov dword [rsp + 0x30], esi
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 [rsp + 0x68], rdx
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x60]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140077fa8]
mov qword [rsp + 0x70], rax
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov edi, 2
mov dword [rsp + 0x30], edi
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 r14, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x70], r14
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
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, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x20], rsi
mov dword [rbp - 0x18], 4
movsd xmm0, qword [0x140077b88]
movsd qword [rsp + 0x20], xmm0
movzx ecx, word [0x140077b90]
mov word [rsp + 0x28], cx
movzx eax, byte [0x140077b92]
mov byte [rsp + 0x20], 0x1b
xor byte [rsp + 0x21], 0x94
xor byte [rsp + 0x22], 0x95
xor byte [rsp + 0x23], 0x96
xor byte [rsp + 0x24], 0x97
xor byte [rsp + 0x25], 0x98
xor byte [rsp + 0x26], 0x99
xor byte [rsp + 0x27], 0x9a
xor cl, 0x9b
mov byte [rsp + 0x28], cl
xor byte [rsp + 0x29], 0x93
xor al, 0x94
mov byte [rsp + 0x2a], al
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.140016a10
lea rcx, [rbp + 0x60]
mov qword [rsp + 0x48], rcx
lea rcx, str._H:_M:_S
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rcx
nop
inc rcx
cmp byte [rcx], 0
jne 0x140005e30
mov qword [rsp + 0x58], rcx
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.140016c30
mov r9, rax
movsd xmm0, qword [0x140078050]
movsd qword [rsp + 0x38], xmm0
mov edx, dword [0x140078058]
mov dword [rsp + 0x40], edx
cmp byte [0x14007805b], 0
je 0x140005ff6
mov ecx, esi
cmp dword [0x14008e1d8], 2
jl 0x140005fc8
movdqa xmm5, xmmword [0x140078e00]
movdqa xmm2, xmmword [0x140078d40]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140078d80]
psubd xmm2, xmm0
movdqa xmm4, xmmword [0x140078df0]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
psubb xmm2, xmmword [0x140078e10]
movd xmm0, dword [0x140078050]
xorps xmm2, xmm0
movd dword [rsp + 0x38], xmm2
movdqa xmm2, xmmword [0x140078d60]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140078d80]
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
psubb xmm2, xmmword [0x140078e10]
movd xmm0, dword [rsp + 0x3c]
xorps xmm2, xmm0
movd dword [rsp + 0x3c], xmm2
movdqa xmm3, xmmword [0x140078d90]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140078d80]
psubd xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
psubb xmm3, xmmword [0x140078e10]
movd xmm0, edx
xorps xmm3, xmm0
movd dword [rsp + 0x40], xmm3
jmp 0x140005ff6
lea r8, [rsp + 0x38]
nop dword [rax]
mov eax, 0x38e38e39
mul ecx
shr edx, 1
movzx eax, dl
shl al, 3
add dl, al
movzx eax, cl
sub al, dl
sub al, 0x6d
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xc
jl 0x140005fd0
lea rdx, [rsp + 0x38]
mov rcx, r9
call fcn.140016a10
nop
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
or edi, 8
mov dword [rsp + 0x30], edi
movups xmmword [rsp + 0x48], xmm0
mov ecx, dword [rbp - 0x18]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140006051
mov rax, qword [rbp - 0x48]
mov r8, qword [rax]
test r8, r8
je 0x140006051
mov rax, qword [rbp - 0x68]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x20]
cmovb r8, qword [rbp - 0x20]
sub r8, rdx
jmp 0x140006082
test cl, 4
jne 0x140006078
mov rax, qword [rbp - 0x50]
mov rcx, qword [rax]
test rcx, rcx
je 0x140006078
mov rax, qword [rbp - 0x70]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x38]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140006082
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140006090
mov rcx, rbx
call fcn.140016050
nop
mov rcx, qword [rsp + 0x70]
movsxd rdx, dword [rcx + 4]
mov qword [rsp + rdx + 0x70], r14
mov rcx, qword [rsp + 0x70]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x88]
mov dword [rsp + rdx + 0x6c], r8d
lea rcx, [rsp + 0x78]
call fcn.140014cd0
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 - 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, rbx
mov rcx, qword [rbp + 0x88]
xor rcx, rsp
call fcn.140066220
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret