Function at 0x140058850
Capabilities:
Encode data using xor

Disassembly:
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
movaps xmmword [rsp + 0x170], xmm6
mov rax, qword [0x1400f4080]
xor rax, rsp
mov qword [rbp + 0x60], rax
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x50]
call fcn.1400cba80
movsd xmm0, qword [str.Q_ZBO]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [str.ZT_]
mov dword [rsp + 0x38], eax
cmp byte [0x1400e287b], 0
je 0x140058a0c
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400589c7
movdqa xmm4, xmmword [0x1400e31a0]
mov eax, 4
movd xmm6, eax
mov eax, Ordinal_33
movd xmm5, eax
movdqa xmm2, xmmword [0x1400e2e60]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e2e80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400e2ea0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
movd xmm0, dword [str.Q_ZBO]
pxor xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x1400e2e70]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e2e80]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400e2ea0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
movd xmm0, dword [rsp + 0x34]
pxor xmm2, xmm0
movd dword [rsp + 0x34], xmm2
mov ecx, 8
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x33
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xc
jl 0x1400589e0
mov r8d, Ordinal_35
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140064e40
nop
mov r8, qword [0x1400f6710]
mov rdx, qword [0x1400f6708]
sub r8, rdx
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rsp + 0x58]
call fcn.140065e70
test rax, rax
jne 0x140058a6b
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
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 ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x1400e24c8]
mov dword [rsp + 0x48], eax
movsd xmm0, qword [0x1400e24c0]
movzx eax, word [reloc.WS2_32.dll_gethostname]
movsd qword [rsp + 0x40], xmm0
mov ecx, 0x53
mov word [rsp + 0x40], cx
xor word [rsp + 0x42], 0x34
xor word [rsp + 0x44], 0x35
xor word [rsp + 0x46], 0x36
xor word [rsp + 0x48], 0x37
xor word [rsp + 0x4a], 0x38
xor ax, 0x39
mov word [rsp + 0x4c], ax
movsd xmm0, qword [0x1400e2590]
movsd qword [rsp + 0x30], xmm0
movzx eax, word [0x1400e2598]
mov ecx, 0x44
mov word [rsp + 0x30], cx
xor word [rsp + 0x32], 0x34
xor word [rsp + 0x34], 0x35
xor word [rsp + 0x36], 0x36
xor ax, 0x37
mov word [rsp + 0x38], ax
xor r9d, r9d
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x58]
call fcn.140064d40
lea rcx, [rsp + 0x60]
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 rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1400ca670
movaps xmm6, xmmword [rsp + 0x170]
add rsp, 0x180
pop rbp
ret