Function at 0x140039f30
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 [0x14023a0c0]
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 0x140039f8b
mov rax, qword [rdx]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rcx
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x20], xmm0
xor r8d, r8d
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x48]
call fcn.14004ae40
nop
mov qword [rbp - 0x20], r15
lea rax, [0x14023a158]
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x48]
call fcn.140038930
movzx r14d, al
cmp dword [rbp - 0x20], 0
jne 0x14003a4c1
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14003a01e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a019
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003a019
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c2084
test r14b, r14b
jne 0x14003a2ab
movsd xmm0, qword [0x14021ef70]
movsd qword [rsp + 0x30], xmm0
mov edx, dword [0x14021ef78]
mov dword [rsp + 0x38], edx
movzx eax, word [0x14021ef7c]
mov word [rsp + 0x3c], ax
movzx eax, byte [0x14021ef7e]
mov byte [rsp + 0x3e], al
mov ecx, r15d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14003a1b0
movdqa xmm5, xmmword [0x14021fd40]
movdqa xmm2, xmmword [0x14021f9d0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.5555::::]
psubd xmm2, xmm0
movdqa xmm4, xmmword [0x14021fa90]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.9999999999999999]
movd xmm0, dword [0x14021ef70]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm2, xmmword [0x14021f9f0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.5555::::]
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.9999999999999999]
movd xmm0, dword [rsp + 0x34]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
movdqa xmm3, xmmword [0x14021fa00]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.5555::::]
psubd xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [str.9999999999999999]
movd xmm0, edx
xorps xmm3, xmm0
movd dword [rsp + 0x38], xmm3
mov ecx, recv
mov eax, 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, 0x39
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xf
jl 0x14003a1c0
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 0x14003a206
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140002d40
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14003a254
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14003a24f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003a2a4
mov rcx, r8
call fcn.1400c2084
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 0x14003a442
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14003a43d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14003a43a
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
cmp qword [rbx + 0x18], 0xf
jbe 0x14003a2c9
mov rdx, qword [rbx]
mov r8d, 1
lea rcx, [rbp]
call fcn.1400411b0
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx], r14
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 4], edx
mov qword [rbp - 0x60], r15
lea r8, [rsp + 0x68]
lea rdx, [rbp]
lea rcx, [rbp - 0x10]
call fcn.1400426e0
nop
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.140002ff0
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.14003fc00
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], reloc.WS2_32.dll_select
cmp byte [rax], 3
jne 0x14003a488
mov rdx, qword [rax + 8]
cmp rdi, rdx
je 0x14003a375
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x14003a36c
mov rdx, qword [rdx]
mov rcx, rdi
call fcn.14004f6a0
nop
movzx edx, byte [rbp - 0x10]
lea rcx, [rbp - 8]
call fcn.1400412c0
nop
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx], r14
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.14003f8f0
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 0x14003a3fd
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14003a3f8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003a47a
mov rcx, r8
call fcn.1400c2084
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 0x14003a442
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14003a43d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003a481
mov rcx, r8
call fcn.1400c2084
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.1400c1cc0
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.1400417c0
mov qword [rbp - 0x20], rax
lea r8, [rbp - 0x20]
lea rcx, [rbp - 0x58]
call fcn.14004f800
nop
mov r8, rax
lea rcx, [rsp + 0x68]
call fcn.14004f8c0
lea rdx, [0x140235980]
lea rcx, [rsp + 0x68]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x20]
lea rcx, str.exists
call fcn.1400388d0
int3