Function at 0x140072d40
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0xd8]
sub rsp, 0x1c0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x140122080]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov eax, dword [0x14010c7e0]
xor edi, edi
movsd xmm0, qword [str.gPBCQW_H]
mov r8d, edi
mov esi, dword [reloc.WS2_32.dll_accept]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x14010c7e4]
lea r14d, [rdi + 5]
movsd qword [rsp + 0x28], xmm0
lea r15d, [rdi + 0x1f]
mov byte [rsp + 0x34], al
cmp esi, 2
jl 0x140072ec4
movdqa xmm2, xmmword [0x14010db10]
mov r8d, 8
movdqa xmm3, xmmword [0x14010db30]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x14010e180]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r14d
movd xmm5, r15d
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14010dba0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str.gPBCQW_H]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x14010dc40]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14010dc60]
pxor xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x28], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14010dba0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x2c]
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14010dc40]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14010dc60]
pxor xmm2, xmm0
movd dword [rsp + 0x2c], xmm2
mov eax, r8d
lea r9, [rsp + 0x28]
add r9, rax
nop
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
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
inc r8d
sub al, cl
add al, 0x34
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x140072ed0
lea rax, [rsp + 0x28]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], dil
jne 0x140072f10
call fcn.1400e90bc
lea rcx, [rsp + 0x28]
mov qword [rbp + 0x88], rbx
mov qword [rbp + 0x80], rcx
lea r8, [rbp + 0x80]
lea rcx, [rsp + 0x38]
mov edx, eax
call fcn.14005cf10
lea rcx, [rsp + 0x38]
call fcn.14005d900
mov rdx, qword [rsp + 0x50]
movzx ebx, al
cmp rdx, 8
jb 0x140072f95
mov rcx, qword [rsp + 0x38]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140072f90
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, r15
jbe 0x140072f90
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e97ec
test bl, bl
je 0x140073318
xor edx, edx
lea rcx, [rsp + 0x68]
mov r8d, 0x108
call sub.VCRUNTIME140.dll_memset
lea rax, [0x14010c668]
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x60], rax
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
xor r9d, r9d
lea rdx, [rsp + 0x70]
xor r8d, r8d
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x70]
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 byte [rbp - 0x14], dil
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x70], rax
mov byte [rbp - 0x1f], dil
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov rax, qword [0x1402833b0]
mov ecx, edi
movsd xmm0, qword [str.gPBCQW_H]
mov qword [rbp - 0x1c], rax
mov eax, dword [0x14010c7e0]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x14010c7e4]
mov byte [rsp + 0x34], al
mov qword [rbp - 0x10], rdi
mov qword [rbp - 0x28], rdi
movsd qword [rsp + 0x28], xmm0
cmp esi, 2
jl 0x140073181
movdqa xmm2, xmmword [0x14010db10]
mov ecx, 8
movdqa xmm3, xmmword [0x14010db30]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x14010e180]
movdqa xmm0, xmm2
mov eax, dword [0x14010dc60]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r14d
movd xmm5, r15d
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14010dba0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14010dc40]
movd xmm1, dword [str.gPBCQW_H]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movdqa xmm0, xmm3
pxor xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rsp + 0x28], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14010dba0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14010dc40]
movd xmm1, dword [rsp + 0x2c]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
pxor xmm2, xmm1
movd dword [rsp + 0x2c], xmm2
mov eax, ecx
lea r8, [rsp + 0x28]
add r8, rax
nop dword [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
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
inc ecx
sub al, dl
add al, 0x34
xor byte [r8 - 1], al
cmp ecx, 0xd
jl 0x140073190
mov r8d, 1
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x70]
call fcn.140065b50
xor r8d, r8d
test rax, rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
je 0x1400731f7
add rcx, rax
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x140073205
add rcx, rax
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rax, qword [rsp + 0x60]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x80], xmm0
mov rbx, qword [rbp + 0x88]
mov qword [rbp + 0x90], rdi
movsxd rcx, dword [rax + 4]
test byte [rsp + rcx + 0x70], 1
jne 0x14007328b
nop
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
mov eax, dword [rbp + 0x70]
mov byte [rsp + 0x20], al
cmp rbx, rdi
je 0x140073259
mov byte [rbx], al
inc rbx
mov qword [rbp + 0x88], rbx
jmp 0x14007327b
lea r8, [rsp + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x80]
call fcn.14006d7b0
mov rdi, qword [rbp + 0x90]
mov rbx, qword [rbp + 0x88]
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
test byte [rsp + rcx + 0x70], 1
je 0x140073230
mov rsi, qword [rbp + 0x80]
lea rcx, [0x140283210]
sub rbx, rsi
mov rdx, rsi
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsp + 0x70]
call fcn.140064e70
test rax, rax
jne 0x1400732d4
mov rax, qword [rsp + 0x60]
xor r8d, r8d
movsxd rcx, dword [rax + 4]
lea edx, [r8 + 2]
lea rax, [rsp + 0x60]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
test rsi, rsi
je 0x14007330e
sub rdi, rsi
mov rax, rsi
cmp rdi, 0x1000
jb 0x140073303
mov rsi, qword [rsi - 8]
add rdi, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, r15
jbe 0x140073303
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rdi
mov rcx, rsi
call fcn.1400e97ec
lea rcx, [rsp + 0x60]
call fcn.14005f1a0
mov al, 1
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400e9540
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret