Function at 0x14006d590
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x1400ef080]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov rbx, rdx
mov qword [rbp - 0x38], rdx
mov r12, rcx
mov qword [rbp + 0xb8], rdx
xor r15d, r15d
mov dword [rsp + 0x40], r15d
lea rcx, [rbp + 0x128]
call fcn.140076980
nop
mov dword [rsp + 0x78], 0x1a041d57
mov dword [rsp + 0x7c], 0x1c1e0410
mov word [rbp - 0x80], 0x44
mov byte [rbp - 0x7e], 1
mov dword [rsp + 0x50], 0x19121c57
mov dword [rsp + 0x54], 0x1004b10
mov dword [rbp + 0xd0], 0x7160157
mov dword [rbp + 0xd4], 0x16181f06
mov dword [rbp + 0xd8], 0x461e10
mov byte [rbp + 0xdc], 1
mov dword [rsp + 0x48], 0x1d041a57
mov dword [rsp + 0x4c], 0x1004b11
mov dword [rsp + 0x40], 0xd161957
mov word [rsp + 0x44], 0x48
mov byte [rsp + 0x46], 1
mov dword [rsp + 0x58], 0x11030b05
mov dword [rsp + 0x5c], 0x1b1e1a48
mov dword [rsp + 0x60], 0x1908141c
mov word [rsp + 0x64], 0x100
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x30]
call fcn.1400600e0
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14006d699
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.140055990
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x10]
call fcn.14005f890
nop
lea rdx, [rbp + 0x128]
cmp qword [rbp + 0x140], 0x10
cmovae rdx, qword [rbp + 0x128]
mov r8, qword [rbp + 0x138]
mov rcx, rax
call fcn.140055990
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x88], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp + 0xd0]
lea rdx, [rbp + 0x78]
lea rcx, [rbp - 0x10]
call fcn.14005ffe0
nop
lea rdx, [r12 + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14006d748
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140055990
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x60], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x30]
call fcn.14005f890
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x14006d790
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.140055990
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xe8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf8], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0xe8]
lea rcx, [rbp - 0x78]
call fcn.14005fd70
nop
lea rdx, [r12 + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14006d7ea
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140055990
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x148], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x158], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14006d854
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d84f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006d84f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c17e8
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp + 0x100]
cmp rdx, 0x10
jb 0x14006d8a9
inc rdx
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d8a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006d8a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c17e8
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x14006d8e7
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d8e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006d8e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c17e8
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x14006d936
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d930
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006d930
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c17e8
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x14006d974
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d96f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006d96f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c17e8
mov qword [rbp], r15
mov qword [rbp + 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x10], 0
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x14006d9c6
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d9c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006d9c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c17e8
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x14006da04
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d9ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006d9ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c17e8
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14006da53
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006da4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006da4d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c17e8
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x14006da91
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006da8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006da8c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c17e8
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x30], 0
lea rax, [rbp - 0x58]
mov qword [rbp + 0x70], rax
lea rdx, [r12 + 0x80]
lea rcx, [rbp - 0x58]
call fcn.140055100
mov r14, rax
mov qword [rbp + 0xe8], r15
mov qword [rbp + 0xf8], r15
mov qword [rbp + 0x100], r15
lea rdi, [rbp + 0x148]
cmp qword [rbp + 0x160], 0x10
cmovae rdi, qword [rbp + 0x148]
mov rsi, qword [rbp + 0x158]
cmp rsi, 0x10
jae 0x14006db07
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0xe8], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x14006db83
mov rbx, rsi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14006db5e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14006e46a
mov rcx, rax
call fcn.1400c1afc
mov rcx, rax
test rax, rax
je 0x14006db57
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14006db6d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14006db6a
call fcn.1400c1afc
jmp 0x14006db6d
mov rax, r15
mov qword [rbp + 0xe8], rax
lea r8, [rsi + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0xf8], rsi
mov qword [rbp + 0x100], rbx
mov r8, r14
lea rdx, [rbp + 0xe8]
lea rcx, [rbp + 0x108]
call fcn.14006ff80
nop
mov qword [rbp + 0xb0], r15
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0x78]
lea rdx, [rbp + 0x108]
lea rcx, [rbp + 0xc0]
call fcn.1400635d0
nop
mov dword [rsp + 0x30], 0x700171c
mov dword [rsp + 0x34], 0x121114
mov byte [rsp + 0x38], 1
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx + 0x71]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x14006dbf0
mov byte [rsp + 0x38], 0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x58], 0
mov r8d, 7
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.140055830
nop
mov rbx, qword [rsp + 0x30]
movzx ecx, byte [rbp + 0xc0]
test cl, cl
jne 0x14006dc5f
mov byte [rbp + 0xc0], 1
call fcn.140061e80
mov qword [rbp + 0xc8], rax
movzx ecx, byte [rbp + 0xc0]
jmp 0x14006dc66
mov rax, qword [rbp + 0xc8]
cmp cl, 1
jne 0x14006dc7b
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.140066a40
mov rbx, rax
mov qword [rbp + 0xe8], r15
mov qword [rbp + 0xf8], r15
mov r13d, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x100], r13
mov byte [rbp + 0xe8], 0
mov dword [rsp + 0x40], 0x17f
cmp byte [rbx], 3
jne 0x14006dcbc
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0xe8]
cmp rax, rdx
je 0x14006dce0
jmp 0x14006dcbf
mov rdx, r15
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14006dccd
mov rdx, qword [rdx]
lea rcx, [rbp + 0xe8]
call fcn.140055830
mov r13, qword [rbp + 0x100]
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14006dd20
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006dd1b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006dd1b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c17e8
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x58], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x170]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400c7230]
mov qword [rbp + 0x170], rax
lea rax, [0x1400c7238]
mov qword [rbp + 0x180], rax
lea rcx, [rbp + 0x208]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x40], 0x2ff
xor r8d, r8d
lea rdx, [rbp + 0x188]
lea rcx, [rbp + 0x170]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x170]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x170], rax
mov rax, qword [rbp + 0x170]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x16c], edx
lea rcx, [rbp + 0x188]
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_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x188], rax
mov qword [rbp + 0x1f0], r15
mov dword [rbp + 0x1f8], r15d
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400c1afc
mov r14, rax
mov qword [rbp + 0xd0], rax
lea r15, [rax + 0x20]
mov qword [rbp + 0xe0], r15
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0xd8], r15
lea r8, [rbp + 0x108]
cmp qword [rbp + 0x120], 0x10
cmovae r8, qword [rbp + 0x108]
lea rcx, [r12 + 0x258]
cmp qword [rcx + 0x18], 0x10
jb 0x14006de4f
mov rcx, qword [rcx]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], r14
mov r9, qword [rbp + 0x118]
mov rdx, qword [r12 + 0x268]
call fcn.140076df0
mov rsi, r14
cmp r14, r15
je 0x14006dedc
nop dword [rax]
movzx edi, byte [rsi]
lea rdx, [0x14006bcd0]
lea rcx, [rbp + 0x180]
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__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rbx, rax
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov byte [rdx + rax + 0x58], Ordinal_50
mov edx, 2
lea rcx, [rsp + 0x58]
call sub.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__
mov r8, qword [rax]
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call r8
mov edx, edi
mov rcx, rbx
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__::operator___int____ptr64]
inc rsi
cmp rsi, r15
jne 0x14006de80
mov qword [rbp - 0x78], 0
xor ecx, ecx
mov qword [rbp - 0x68], rcx
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x60], rdi
mov byte [rbp - 0x78], cl
mov dword [rsp + 0x40], 0xaff
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
mov edx, dword [rbp + 0x1f8]
mov eax, edx
and al, 0x22
cmp al, 2
je 0x14006df48
mov rax, qword [rbp + 0x1c8]
mov r8, qword [rax]
test r8, r8
je 0x14006df48
mov rax, qword [rbp + 0x1a8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x1f0]
cmovb r8, qword [rbp + 0x1f0]
sub r8, rdx
jmp 0x14006df82
test dl, 4
jne 0x14006df78
mov rax, qword [rbp + 0x1c0]
mov r9, qword [rax]
test r9, r9
je 0x14006df78
mov rax, qword [rbp + 0x1a0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x1d8]
movsxd r8, dword [rax]
sub r8, rdx
add r8, r9
jmp 0x14006df82
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14006df98
lea rcx, [rbp - 0x78]
call fcn.140055830
mov rdi, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x68]
lea rdx, [section..data]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [section..data]
lea rax, [rbp - 0x78]
mov rbx, qword [rbp - 0x78]
cmp rdi, 0x10
cmovae rax, rbx
cmp rcx, qword [0x1400ef010]
jne 0x14006dfdc
mov r8, rcx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14006dfdc
xor sil, sil
jmp 0x14006dfdf
mov sil, 1
cmp rdi, 0x10
jb 0x14006e019
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14006e011
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006e011
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400c17e8
test sil, sil
je 0x14006e044
lea r8, [rbp + 0xe8]
lea rdx, str.Signature_checksum_failed._Request_was_tampered_with_or_session_ended_most_likely.__echo:__echo_Message:
lea rcx, [rbp - 0x58]
call fcn.14005f730
mov rcx, rax
call fcn.14006ad50
mov r13, qword [rbp + 0x100]
lea rdx, [rbp + 0xc0]
lea rcx, [rsp + 0x58]
call fcn.140065a00
mov rdx, rax
mov rcx, r12
call fcn.14006e470
mov dword [rsp + 0x30], 0x17100702
mov dword [rsp + 0x34], 0x40510
mov byte [rsp + 0x38], 1
xor edi, edi
mov ecx, edi
nop dword [rax]
lea eax, [rcx + 0x71]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x14006e080
mov byte [rsp + 0x38], dil
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x78], dil
mov r8d, 7
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x78]
call fcn.140055830
nop
movzx ecx, byte [rbp + 0xc0]
test cl, cl
jne 0x14006e0e5
mov byte [rbp + 0xc0], 1
call fcn.140061e80
mov qword [rbp + 0xc8], rax
movzx ecx, byte [rbp + 0xc0]
jmp 0x14006e0ec
mov rax, qword [rbp + 0xc8]
cmp cl, 1
jne 0x14006e102
lea rdx, [rbp - 0x78]
mov rcx, rax
call fcn.140066a40
mov rcx, rax
jmp 0x14006e107
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, rdi
movzx ebx, byte [rax]
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14006e153
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006e14e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006e14e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c17e8
test bl, bl
je 0x14006e24b
mov dword [rsp + 0x40], 0x1b151c18
mov word [rsp + 0x44], 0x100
mov rcx, rdi
nop dword [rax]
lea eax, [rcx + 0x71]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 4
jb 0x14006e170
mov byte [rsp + 0x45], 0
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x78], 0
mov r8d, 4
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x78]
call fcn.140055830
nop
movzx eax, byte [rbp + 0xc0]
test al, al
jne 0x14006e1d8
mov byte [rbp + 0xc0], 1
call fcn.140061e80
mov rcx, rax
mov qword [rbp + 0xc8], rax
movzx eax, byte [rbp + 0xc0]
jmp 0x14006e1df
mov rcx, qword [rbp + 0xc8]
cmp al, 1
jne 0x14006e1ee
lea rdx, [rbp - 0x78]
call fcn.140066a40
jmp 0x14006e1f3
mov rax, qword [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140065a00
mov rdx, rax
mov rcx, r12
call fcn.14006e520
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14006e24b
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006e245
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006e245
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c17e8
nop
test r14, r14
je 0x14006e284
sub r15, r14
cmp r15, 0x1000
jb 0x14006e278
add r15, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x14006e316
mov r14, rcx
mov rdx, r15
mov rcx, r14
call fcn.1400c17e8
nop
mov rax, qword [rbp + 0x170]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x170], rax
mov rax, qword [rbp + 0x170]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x16c], edx
lea rcx, [rbp + 0x188]
call fcn.140054a20
lea rcx, [rbp + 0x190]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x208]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
cmp r13, 0x10
jb 0x14006e323
lea rdx, [r13 + 1]
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006e31d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006e31d
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
call fcn.1400c17e8
nop
movzx edx, byte [rbp + 0xc0]
lea rcx, [rbp + 0xc8]
call fcn.14006a1c0
nop
mov rdx, qword [rbp + 0x120]
cmp rdx, 0x10
jb 0x14006e37b
inc rdx
mov rcx, qword [rbp + 0x108]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006e376
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006e376
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c17e8
mov qword [rbp + 0x118], rdi
mov qword [rbp + 0x120], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x108], 0
mov rax, qword [rbp + 0x160]
cmp rax, 0x10
jb 0x14006e3da
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x148]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006e3d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006e3d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c17e8
nop
mov rdx, qword [rbp + 0x140]
cmp rdx, 0x10
jb 0x14006e41e
inc rdx
mov rcx, qword [rbp + 0x128]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006e419
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006e419
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c17e8
mov qword [rbp + 0x138], rdi
mov qword [rbp + 0x140], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x128], 0
mov rcx, qword [rbp - 0x38]
call fcn.140055060
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.1400c1210
mov rbx, qword [rsp + 0x3d0]
add rsp, 0x380
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140039040
nop