Function at 0x140037f70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x140187080]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rcx
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x30], r8
xor r15d, r15d
mov dword [rsp + 0x40], r15d
mov rcx, qword [rdx + 0x10]
mov rax, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x140037fcb
mov rax, qword [rdx]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rcx
call fcn.1400ca254
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x20], xmm0
lea r8, [rbp - 0x20]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.140035d40
nop
mov qword [rbp - 0x20], r15
lea rax, [0x140241fe0]
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x48]
call fcn.1400372e0
movzx r14d, al
cmp dword [rbp - 0x20], 0
jne 0x140038473
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140038062
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003805d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003805d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c9800
test r14b, r14b
jne 0x14003828b
movsd xmm0, qword [str.PV]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x14016b320]
mov dword [rsp + 0x38], eax
movzx eax, word [0x14016b324]
mov word [rsp + 0x3c], ax
movzx eax, byte [0x14016b326]
mov byte [rsp + 0x3e], al
mov ecx, r15d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14003818f
movdqa xmm4, xmmword [0x14016cac0]
movdqa xmm2, xmmword [0x14016c750]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14016c780]
psubd xmm2, xmm0
andps xmm2, xmmword [0x14016c7e0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.8888888888888888]
movd xmm0, dword [str.PV]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm2, xmmword [0x14016c770]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14016c780]
psubd xmm2, xmm0
andps xmm2, xmmword [0x14016c7e0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.8888888888888888]
movd xmm0, dword [rsp + 0x34]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
mov ecx, 8
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop word [rax + rax]
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xf
jl 0x1400381a0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400381e6
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140056d10
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140038234
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14003822f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140038284
mov rcx, r8
call fcn.1400c9800
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x1400383f4
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1400383ef
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x1400383ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp]
call sub.VCRUNTIME140.dll_memset
mov rdx, rbx
lea rcx, [rbp]
call fcn.140052bc0
nop
mov qword [rbp - 0x60], r15
lea r8, [rsp + 0x68]
lea rdx, [rbp]
lea rcx, [rbp - 0x10]
call fcn.140055e20
nop
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.1400533b0
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.140052fe0
nop
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov dword [rsp + 0x40], Ordinal_45
cmp byte [rax], 3
jne 0x14003843a
mov rdx, qword [rax + 8]
cmp rdi, rdx
je 0x140038320
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140038317
mov rdx, qword [rdx]
mov rcx, rdi
call fcn.1400554b0
nop
movzx edx, byte [rbp - 0x10]
lea rcx, [rbp - 8]
call fcn.140054580
nop
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx], rax
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 4], edx
lea rcx, [rbp + 0x10]
call fcn.140052b50
lea rcx, [rbp + 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400383af
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400383aa
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003842c
mov rcx, r8
call fcn.1400c9800
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x1400383f4
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1400383ef
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140038433
mov rcx, r8
call fcn.1400c9800
mov rax, rdi
mov byte [rsi], 0
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rsi + 0x10], r15
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.1400c91e0
mov rbx, qword [rsp + 0x268]
add rsp, 0x220
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rax
call fcn.140054a80
mov qword [rbp - 0x20], rax
lea r8, [rbp - 0x20]
lea rcx, [rbp - 0x58]
call fcn.140063810
nop
mov r8, rax
lea rcx, [rsp + 0x68]
call fcn.1400638c0
lea rdx, [0x140182810]
lea rcx, [rsp + 0x68]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x20]
call fcn.140036e50
int3