Function at 0x1400515d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x1400d51c0]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rbx, r8
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x38], rdx
mov r12, rcx
mov qword [rsp + 0x78], rdx
mov qword [rbp + 0x58], rbx
xor r15d, r15d
mov dword [rsp + 0x70], r15d
mov dword [rsp + 0x30], 0xcee8f1bb
mov dword [rsp + 0x34], 0xc0cad0c4
mov word [rsp + 0x38], 0x98
mov byte [rsp + 0x3a], 1
mov ecx, r15d
nop
lea eax, [rcx - 0x63]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 9
jb 0x140051640
mov byte [rsp + 0x3a], 0
mov dword [rsp + 0x78], 0xcdfef0bb
mov dword [rsp + 0x7c], 0x1009fc4
mov dword [rbp - 0x58], 0xd3faedbb
mov dword [rbp - 0x54], 0xcacccbd2
mov dword [rbp - 0x50], 0x9ac2cc
mov byte [rbp - 0x4c], 1
mov dword [rbp - 0x80], 0xccf6f8bb
mov dword [rbp - 0x7c], 0x99c7cbc4
mov word [rbp - 0x78], 0x100
mov dword [rbp - 0x70], 0xc5efe7e9
mov dword [rbp - 0x6c], 0xc8cac49c
mov word [rbp - 0x68], 0xc0
mov byte [rbp - 0x66], 1
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x18]
call fcn.140049110
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400516c9
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.140015340
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 8]
call fcn.140049380
nop
lea rdx, [r12 + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14005171b
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140015340
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x80], 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 + 0x70]
lea rcx, [rbp + 0xd0]
call fcn.140048da0
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x140051769
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.140015340
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400517b1
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140015340
mov qword [rbp + 0x90], r15
mov qword [rbp + 0xa0], r15
mov qword [rbp + 0xa8], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x90], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa0], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [r12 + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140051816
mov rdx, qword [rdx]
lea rcx, [rbp + 0x90]
call fcn.140015340
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x100], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x14005188a
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051885
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051885
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a73e4
mov qword [rbp + 0xa0], r15
mov qword [rbp + 0xa8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x90], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400518e3
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400518de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400518de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a73e4
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0x10
jb 0x14005193a
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051935
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051935
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a73e4
mov qword [rbp + 0xe0], r15
mov qword [rbp + 0xe8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xd0], 0
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x140051995
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005198f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005198f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a73e4
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x1400519d3
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400519ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400519ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a73e4
mov qword [rbp + 8], r15
mov qword [rbp + 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 8], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140051a22
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051a1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051a1c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a73e4
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x140051a60
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051a5b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051a5b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a73e4
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x18], 0
lea rax, [rbp - 0x28]
mov qword [rsp + 0x60], rax
lea rdx, [r12 + 0x80]
lea rcx, [rbp - 0x28]
call fcn.140015500
mov r14, rax
mov qword [rbp + 0x70], r15
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x88], r15
lea rdi, [rbp + 0xf0]
cmp qword [rbp + 0x108], 0x10
cmovae rdi, qword [rbp + 0xf0]
mov rsi, qword [rbp + 0x100]
cmp rsi, 0x10
jae 0x140051ad1
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0x70], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x140051b4a
mov rbx, rsi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140051b28
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140052660
mov rcx, rax
call fcn.1400a7090
mov rcx, rax
test rax, rax
je 0x140051b21
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140051b37
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140051b34
call fcn.1400a7090
jmp 0x140051b37
mov rax, r15
mov qword [rbp + 0x70], rax
lea r8, [rsi + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0x80], rsi
mov qword [rbp + 0x88], rbx
mov r8, r14
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0xb0]
call fcn.1400564a0
nop
mov qword [rbp + 0x50], r15
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0x18]
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x60]
call fcn.14004bf00
nop
mov dword [rsp + 0x30], 0xd3ecfbf0
mov dword [rsp + 0x34], 0xc6c5c0
mov byte [rsp + 0x38], 1
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx - 0x63]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x140051bb0
mov byte [rsp + 0x38], 0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
mov r8d, 7
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140015f30
nop
mov rbx, qword [rsp + 0x30]
movzx ecx, byte [rbp + 0x60]
test cl, cl
jne 0x140051c13
mov byte [rbp + 0x60], 1
call fcn.14004a820
mov qword [rbp + 0x68], rax
movzx ecx, byte [rbp + 0x60]
jmp 0x140051c17
mov rax, qword [rbp + 0x68]
cmp cl, 1
jne 0x140051c2c
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14004f250
mov rbx, rax
mov qword [rbp + 0x70], r15
mov qword [rbp + 0x80], r15
mov r13d, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x88], r13
mov byte [rbp + 0x70], 0
mov dword [rsp + 0x70], 0x2fe
cmp byte [rbx], 3
jne 0x140051c64
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x70]
cmp rax, rdx
je 0x140051c85
jmp 0x140051c67
mov rdx, r15
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140051c75
mov rdx, qword [rdx]
lea rcx, [rbp + 0x70]
call fcn.140015f30
mov r13, qword [rbp + 0x88]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140051cc5
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051cc0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051cc0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a73e4
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x110]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400b2708]
mov qword [rbp + 0x110], rax
lea rax, [0x1400b2710]
mov qword [rbp + 0x120], rax
lea rcx, [rbp + 0x1a8]
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 + 0x70], 0x5fe
xor r8d, r8d
lea rdx, [rbp + 0x128]
lea rcx, [rbp + 0x110]
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 + 0x110]
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 + 0x110], rax
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x10c], edx
lea rcx, [rbp + 0x128]
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 + 0x128], rax
mov qword [rbp + 0x190], r15
mov dword [rbp + 0x198], r15d
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400a7090
mov rsi, rax
mov qword [rbp + 0x90], rax
lea r14, [rax + 0x20]
mov qword [rbp + 0xa0], r14
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0x98], r14
lea r8, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0x10
cmovae r8, qword [rbp + 0xb0]
lea rcx, [r12 + 0x258]
cmp qword [rcx + 0x18], 0x10
jb 0x140051df4
mov rcx, qword [rcx]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], rsi
mov r9, qword [rbp + 0xc0]
mov rdx, qword [r12 + 0x268]
call fcn.14005c370
mov r15, rsi
cmp rsi, r14
je 0x140051e7c
nop
movzx edi, byte [r15]
lea rdx, [0x140053a10]
lea rcx, [rbp + 0x120]
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 rax, qword [rax]
movsxd rcx, dword [rax + 4]
mov byte [rcx + rbx + 0x58], Ordinal_50
mov edx, 2
lea rcx, [rbp - 0x58]
call sub.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__
mov rdx, qword [rax + 8]
mov r8, qword [rax]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
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 r15
cmp r15, r14
jne 0x140051e20
mov qword [rsp + 0x40], 0
xor ecx, ecx
mov qword [rsp + 0x50], rcx
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x58], rdi
mov byte [rsp + 0x40], cl
mov dword [rsp + 0x70], 0x15fe
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rax
mov edx, dword [rbp + 0x198]
mov eax, edx
and al, 0x22
cmp al, 2
je 0x140051eea
mov rax, qword [rbp + 0x168]
mov r8, qword [rax]
test r8, r8
je 0x140051eea
mov rax, qword [rbp + 0x148]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x190]
cmovb r8, qword [rbp + 0x190]
sub r8, rdx
jmp 0x140051f22
test dl, 4
jne 0x140051f1a
mov rax, qword [rbp + 0x160]
mov r9, qword [rax]
test r9, r9
je 0x140051f1a
mov rax, qword [rbp + 0x140]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x178]
movsxd r8, dword [rax]
sub r8, rdx
add r8, r9
jmp 0x140051f22
mov r8, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x58]
test rdx, rdx
je 0x140051f3b
lea rcx, [rsp + 0x40]
call fcn.140015f30
mov rdi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
lea rdx, [0x1400d5140]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x1400d5140]
lea rax, [rsp + 0x40]
mov rbx, qword [rsp + 0x40]
cmp rdi, 0x10
cmovae rax, rbx
cmp rcx, qword [0x1400d5150]
jne 0x140051f81
mov r8, rcx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140051f81
xor r15b, r15b
jmp 0x140051f84
mov r15b, 1
cmp rdi, 0x10
jb 0x140051fbe
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140051fb6
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051fb6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400a73e4
test r15b, r15b
je 0x140051fe6
lea r8, [rbp + 0x70]
lea rdx, str.Signature_checksum_failed._Request_was_tampered_with_or_session_ended_most_likely.__echo:__echo_Message:
lea rcx, [rbp - 0x28]
call fcn.140016770
mov rcx, rax
call fcn.140052a90
mov r13, qword [rbp + 0x88]
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x58]
call fcn.14004e330
mov rdx, rax
mov rcx, r12
call fcn.140055080
mov dword [rsp + 0x30], 0xc3fcebee
mov dword [rsp + 0x34], 0xd0d1c4
mov byte [rsp + 0x38], 1
xor r15d, r15d
mov ecx, r15d
nop dword [rax]
lea eax, [rcx - 0x63]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x140052020
mov byte [rsp + 0x38], r15b
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], r15b
mov r8d, 7
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140015f30
nop
movzx ecx, byte [rbp + 0x60]
test cl, cl
jne 0x14005207e
mov byte [rbp + 0x60], 1
call fcn.14004a820
mov qword [rbp + 0x68], rax
movzx ecx, byte [rbp + 0x60]
jmp 0x140052082
mov rax, qword [rbp + 0x68]
cmp cl, 1
jne 0x140052099
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14004f250
mov rcx, rax
jmp 0x14005209e
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, r15
movzx ebx, byte [rax]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400520ec
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400520e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400520e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a73e4
test bl, bl
je 0x1400524b6
mov dword [rsp + 0x60], 0xd4f1f1fe
mov dword [rsp + 0x64], 0xd7d7ccc4
mov word [rsp + 0x68], 0x100
mov rcx, r15
nop
lea eax, [rcx - 0x63]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 8
jb 0x140052110
mov byte [rsp + 0x69], 0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
mov r8d, 8
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140015f30
nop
mov rbx, qword [rsp + 0x30]
movzx ecx, byte [rbp + 0x60]
test cl, cl
jne 0x140052173
mov byte [rbp + 0x60], 1
call fcn.14004a820
mov qword [rbp + 0x68], rax
movzx ecx, byte [rbp + 0x60]
jmp 0x140052177
mov rax, qword [rbp + 0x68]
cmp cl, 1
jne 0x14005218c
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14004f250
mov rbx, rax
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], 0
mov dword [rsp + 0x70], 0x5edfe
cmp byte [rbx], 3
jne 0x1400521bc
mov rdx, qword [rbx + 8]
lea rax, [rbp - 0x58]
cmp rax, rdx
je 0x1400521d7
jmp 0x1400521bf
mov rdx, r15
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400521cd
mov rdx, qword [rdx]
lea rcx, [rbp - 0x58]
call fcn.140015f30
nop
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0xd0]
call fcn.140053a30
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140052227
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052221
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052221
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a73e4
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140052267
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052262
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052262
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a73e4
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
lea rdx, [rbp + 0xd0]
lea rcx, [rbp - 0x28]
call fcn.140015500
mov rbx, rax
mov qword [rsp + 0x30], rax
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x1400522a5
add r8, qword [rax]
mov rdx, qword [rax]
jmp 0x1400522ab
add r8, rbx
mov rdx, rbx
lea r9, [rbp - 0x60]
mov rdi, qword [rbp - 0x38]
mov rcx, rdi
call fcn.140048a70
nop
mov rcx, rbx
call fcn.1400153d0
nop
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0x10
jb 0x140052309
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052304
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052304
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a73e4
mov qword [rbp + 0xe0], r15
mov qword [rbp + 0xe8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xd0], 0
test rsi, rsi
je 0x14005235b
sub r14, rsi
cmp r14, 0x1000
jb 0x14005234f
add r14, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x1400523ea
mov rsi, rcx
mov rdx, r14
mov rcx, rsi
call fcn.1400a73e4
nop
mov rax, qword [rbp + 0x110]
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 + 0x110], rax
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x10c], edx
lea rcx, [rbp + 0x128]
call fcn.140023904
lea rcx, [rbp + 0x130]
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 + 0x1a8]
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 0x1400523f7
lea rdx, [r13 + 1]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400523f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400523f1
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.1400a73e4
nop
movzx edx, byte [rbp + 0x60]
lea rcx, [rbp + 0x68]
call fcn.140051070
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x140052449
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052444
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052444
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a73e4
mov qword [rbp + 0xc0], r15
mov qword [rbp + 0xc8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xb0], 0
mov rax, qword [rbp + 0x108]
cmp rax, 0x10
jb 0x1400524a8
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400524a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400524a2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a73e4
nop
mov rcx, qword [rbp - 0x30]
call fcn.1400153d0
jmp 0x140052633
mov rdi, qword [rbp - 0x38]
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
test rsi, rsi
je 0x1400524fe
sub r14, rsi
cmp r14, 0x1000
jb 0x1400524f2
add r14, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x14005258d
mov rsi, rcx
mov rdx, r14
mov rcx, rsi
call fcn.1400a73e4
nop
mov rax, qword [rbp + 0x110]
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 + 0x110], rax
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x10c], edx
lea rcx, [rbp + 0x128]
call fcn.140023904
lea rcx, [rbp + 0x130]
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 + 0x1a8]
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 0x14005259a
lea rdx, [r13 + 1]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052594
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052594
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.1400a73e4
nop
movzx edx, byte [rbp + 0x60]
lea rcx, [rbp + 0x68]
call fcn.140051070
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x1400525ec
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400525e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400525e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a73e4
mov qword [rbp + 0xc0], r15
mov qword [rbp + 0xc8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xb0], 0
mov rax, qword [rbp + 0x108]
cmp rax, 0x10
jb 0x14005262a
lea r8, [rax + 1]
mov rdx, qword [rbp + 0xf0]
lea rcx, [rbp + 0xf0]
call fcn.1400160a0
nop
mov rcx, qword [rbp - 0x30]
call fcn.1400153d0
mov rax, rdi
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1400a7070
mov rbx, qword [rsp + 0x378]
add rsp, 0x320
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140002560
nop
int3