Function at 0x14003f820
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xb8]
sub rsp, 0x1b8
mov r14, r8
mov rdi, rdx
mov rsi, rcx
xor r15d, r15d
mov dword [rsp + 0x50], r15d
mov rcx, qword [rdx + 0x10]
mov rax, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x14003f868
mov rax, qword [rdx]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rcx
call fcn.1400f1464
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.14003ed10
nop
lea rcx, [rsp + 0x58]
call fcn.14003f730
movzx ebx, al
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x14003f8e6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f8e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003f8e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f2094
test bl, bl
jne 0x14003fb84
movsd xmm0, qword [str.vXV]
movsd qword [rsp + 0x30], xmm0
mov edx, dword [0x1401239e0]
mov dword [rsp + 0x38], edx
movzx eax, word [0x1401239e4]
mov word [rsp + 0x3c], ax
movzx eax, byte [0x1401239e6]
mov byte [rsp + 0x3e], al
mov ecx, r15d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14003fa77
movdqa xmm5, xmmword [0x140124850]
movdqa xmm2, xmmword [0x140124780]
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 [0x1401247b0]
psubd xmm2, xmm0
movdqa xmm4, xmmword [0x140124810]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140124860]
movd xmm0, dword [str.vXV]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm2, xmmword [0x140124790]
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 [0x1401247b0]
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140124860]
movd xmm0, dword [rsp + 0x34]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
movdqa xmm3, xmmword [0x1401247a0]
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 [0x1401247b0]
psubd xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [0x140124860]
movd xmm0, edx
xorps xmm3, xmm0
movd dword [rsp + 0x38], xmm3
mov ecx, listen
mov eax, ecx
lea r8, [rsp + 0x30]
add r8, rax
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xf
jl 0x14003fa81
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14003fac6
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140039170
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14003fb18
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rdi]
jb 0x14003fb13
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003fd8a
mov rcx, r8
call fcn.1400f2094
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x14003fb61
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x14003fb5c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003fd91
mov rcx, r8
call fcn.1400f2094
mov rax, rsi
mov byte [r14], 0
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov qword [r14 + 0x10], r15
add rsp, 0x1b8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.1400431f0
nop
mov qword [rbp - 0x70], r15
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x40]
call fcn.140046870
nop
movzx edx, byte [rsp + 0x40]
test dl, dl
jne 0x14003fc15
mov byte [rsp + 0x40], 1
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400f1d40
mov rbx, rax
lea rax, [rbp + 0x108]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov ecx, 0x50
call fcn.1400f1d40
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov qword [rsp + 0x48], rbx
movzx edx, byte [rsp + 0x40]
cmp dl, 1
je 0x14003fc1a
lea eax, [rdx - 2]
cmp al, 1
jbe 0x14003fc2e
cmp dl, 8
je 0x14003fc2e
cmp dl, 1
jne 0x14003fc2e
mov rdx, r14
mov rcx, qword [rsp + 0x48]
call fcn.140045260
movzx edx, byte [rsp + 0x40]
jmp 0x14003fc35
mov rax, qword [rbp + 0xf8]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov dword [rsp + 0x50], 0x26
cmp byte [rax], 3
jne 0x14003fc5d
mov rax, qword [rax + 8]
jmp 0x14003fc60
mov rax, r15
cmp rsi, rax
je 0x14003fc83
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14003fc73
mov rax, qword [rax]
mov rdx, rax
mov rcx, rsi
call fcn.1400389b0
movzx edx, byte [rsp + 0x40]
cmp dl, 1
jne 0x14003fcb3
cmp qword [rsp + 0x48], 0
jne 0x14003fd37
mov r8d, 0x4c8
lea rdx, str.C:Users_virna_source_reposkeyauth_cpp_library_nlohmannjson.hpp
lea rcx, str.m_type___value_t::object__m_value.object___nullptr
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movzx edx, byte [rsp + 0x40]
cmp dl, 2
jne 0x14003fcdf
cmp qword [rsp + 0x48], 0
jne 0x14003fd37
mov r8d, 0x4c9
lea rdx, str.C:Users_virna_source_reposkeyauth_cpp_library_nlohmannjson.hpp
lea rcx, str.m_type___value_t::array__m_value.array___nullptr
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movzx edx, byte [rsp + 0x40]
cmp dl, 3
jne 0x14003fd0b
cmp qword [rsp + 0x48], 0
jne 0x14003fd37
mov r8d, 0x4ca
lea rdx, str.C:Users_virna_source_reposkeyauth_cpp_library_nlohmannjson.hpp
lea rcx, str.m_type___value_t::string__m_value.string___nullptr
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movzx edx, byte [rsp + 0x40]
cmp dl, 8
jne 0x14003fd37
cmp qword [rsp + 0x48], 0
jne 0x14003fd37
mov r8d, 0x4cb
lea rdx, str.C:Users_virna_source_reposkeyauth_cpp_library_nlohmannjson.hpp
lea rcx, str.m_type___value_t::binary__m_value.binary___nullptr
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.140044dd0
nop
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x60], rax
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x64], edx
lea rcx, [rbp - 0x50]
call fcn.140043180
lea rcx, [rbp - 0x48]
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 + 0x50]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x14003fade
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]
int3