Function at 0x140039060
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 - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x1400bae00]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
mov r13, r8
mov r12, rdx
mov rbx, rcx
mov qword [rbp - 0x28], rcx
mov qword [rbp + 0x128], rdx
mov qword [rbp + 0x130], r8
xor r15d, r15d
mov dword [rsp + 0x48], r15d
lea rcx, [rbp + 0x180]
call fcn.140041d70
nop
mov dword [rsp + 0x60], 0xe3fbe4ac
mov dword [rsp + 0x64], 0xf5f9fdeb
mov word [rsp + 0x68], 0xaf
mov byte [rsp + 0x6a], 1
mov dword [rsp + 0x58], 0xe0ede5ac
mov dword [rsp + 0x5c], 0x100b2eb
mov dword [rbp - 0x80], 0xfee9f8ac
mov dword [rbp - 0x7c], 0xffffe6fd
mov dword [rbp - 0x78], 0xa9f7fb
mov byte [rbp - 0x74], 1
mov dword [rsp + 0x50], 0xe4fbe3ac
mov dword [rsp + 0x54], 0x100b2ea
mov dword [rsp + 0x48], 0xfeedfbac
mov dword [rsp + 0x4c], 0x100b2fd
mov dword [rsp + 0x70], 0xe8fffeac
mov dword [rsp + 0x74], 0xfcf1e1fc
mov dword [rsp + 0x78], 0x100aef7
mov dword [rbp + 0x148], 0xe8fcf2fe
mov dword [rbp + 0x14c], 0xf6ffe3b3
mov dword [rbp + 0x150], 0x100fdfb
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x148]
lea rcx, [rbp - 0x48]
call fcn.14002b0d0
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x140039180
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.14001cdf0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], 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 - 0x20]
lea rcx, [rbp + 0xe0]
call fcn.14002ae30
nop
mov rdx, r13
cmp qword [r13 + 0x18], 0x10
jb 0x1400391cf
mov rdx, qword [r13]
mov r8, qword [r13 + 0x10]
mov rcx, rax
call fcn.14001cdf0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd0], 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 + 0xc0]
lea rcx, [rbp + 0xa0]
call fcn.14002ae30
nop
lea rdx, [rbp + 0x180]
cmp qword [rbp + 0x198], 0x10
cmovae rdx, qword [rbp + 0x180]
mov r8, qword [rbp + 0x190]
mov rcx, rax
call fcn.14001cdf0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x90], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x60]
call fcn.14002b1f0
nop
lea rdx, [rbx + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14003928c
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14001cdf0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x20]
call fcn.14002ae30
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400392d2
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.14001cdf0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x68]
lea rcx, [rbp]
call fcn.14002aff0
nop
lea rdx, [rbx + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140039321
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14001cdf0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1c0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1d0], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8, qword [rbp + 0x18]
cmp r8, 0x10
jb 0x140039367
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.14001d150
movdqa xmm0, xmmword [0x140095b90]
movdqu xmmword [rbp + 0x10], xmm0
mov byte [rbp], 0
mov r8, qword [rbp - 0x50]
cmp r8, 0x10
jb 0x140039393
inc r8
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x68]
call fcn.14001d150
nop
mov r8, qword [rbp + 0x38]
cmp r8, 0x10
jb 0x1400393ad
inc r8
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.14001d150
movdqa xmm0, xmmword [0x140095b90]
movdqu xmmword [rbp + 0x30], xmm0
mov byte [rbp + 0x20], 0
mov r8, qword [rbp + 0x58]
cmp r8, 0x10
jb 0x1400393d9
inc r8
mov rdx, qword [rbp + 0x40]
lea rcx, [rbp + 0x40]
call fcn.14001d150
nop
mov r8, qword [rbp + 0x78]
cmp r8, 0x10
jb 0x1400393f3
inc r8
mov rdx, qword [rbp + 0x60]
lea rcx, [rbp + 0x60]
call fcn.14001d150
movdqa xmm0, xmmword [0x140095b90]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], 0
mov r8, qword [rbp + 0x98]
cmp r8, 0x10
jb 0x140039428
inc r8
mov rdx, qword [rbp + 0x80]
lea rcx, [rbp + 0x80]
call fcn.14001d150
nop
mov r8, qword [rbp + 0xb8]
cmp r8, 0x10
jb 0x14003944b
inc r8
mov rdx, qword [rbp + 0xa0]
lea rcx, [rbp + 0xa0]
call fcn.14001d150
movdqa xmm0, xmmword [0x140095b90]
movdqu xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xa0], 0
mov r8, qword [rbp + 0xd8]
cmp r8, 0x10
jb 0x140039486
inc r8
mov rdx, qword [rbp + 0xc0]
lea rcx, [rbp + 0xc0]
call fcn.14001d150
nop
mov r8, qword [rbp + 0xf8]
cmp r8, 0x10
jb 0x1400394a9
inc r8
mov rdx, qword [rbp + 0xe0]
lea rcx, [rbp + 0xe0]
call fcn.14001d150
movdqa xmm0, xmmword [0x140095b90]
movdqu xmmword [rbp + 0xf0], xmm0
mov byte [rbp + 0xe0], 0
mov r8, qword [rbp - 8]
cmp r8, 0x10
jb 0x1400394db
inc r8
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
call fcn.14001d150
nop
mov r8, qword [rbp - 0x30]
cmp r8, 0x10
jb 0x1400394f5
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.14001d150
movdqa xmm0, xmmword [0x140095b90]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
lea rax, [rbp - 0x20]
mov qword [rbp + 0x120], rax
lea rdx, [rbx + 0x80]
lea rcx, [rbp - 0x20]
call fcn.140017270
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], r15
lea rsi, [rbp + 0x1c0]
cmp qword [rbp + 0x1d8], 0x10
cmovae rsi, qword [rbp + 0x1c0]
movabs rbx, 0x7fffffffffffffff
mov rdi, qword [rbp + 0x1d0]
cmp rdi, rbx
ja 0x140039e7c
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x14003958a
mov qword [rbp - 0x58], rdi
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rsi
lea rcx, [rbp - 0x68]
call sub.VCRUNTIME140.dll_memmove
jmp 0x1400395dc
mov rax, rdi
or rax, 0xf
cmp rax, rbx
ja 0x1400395a5
mov rbx, rax
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmp rax, rcx
cmovb rbx, rcx
mov rdx, rbx
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rbp - 0x68]
call fcn.14000c7b0
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], rbx
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
mov r8, r14
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x160]
call fcn.14003b1a0
nop
mov qword [rbp + 0x118], r15
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0xe0]
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x138]
call fcn.14002ddb0
nop
mov dword [rsp + 0x30], 0xfeffeee7
mov dword [rsp + 0x34], 0xf5e8ef
mov byte [rsp + 0x38], 1
mov rcx, r15
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x76]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x140039640
mov byte [rsp + 0x38], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x48]
call fcn.14000d4c0
nop
mov rbx, qword [rsp + 0x30]
movzx ecx, byte [rbp + 0x138]
test cl, cl
jne 0x14003969a
mov byte [rbp + 0x138], 1
call fcn.14002c7f0
mov qword [rbp + 0x140], rax
movzx ecx, byte [rbp + 0x138]
jmp 0x1400396a1
mov rax, qword [rbp + 0x140]
cmp cl, 1
jne 0x1400396b5
lea rdx, [rbp - 0x48]
mov rcx, rax
call fcn.140031800
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
movdqa xmm1, xmmword [0x140095b90]
movdqu xmmword [rbp + 0x1b0], xmm1
mov byte [rbp + 0x1a0], 0
mov dword [rsp + 0x48], 0x1fd80
cmp byte [rbx], 3
jne 0x1400396f5
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x1a0]
cmp rax, rdx
je 0x140039713
jmp 0x1400396f8
mov rdx, r15
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140039706
mov rdx, qword [rdx]
lea rcx, [rbp + 0x1a0]
call fcn.14001ce80
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140039751
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003974c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003974c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008c724
movdqa xmm0, xmmword [0x140095b90]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll_memset
mov edx, 1
lea rcx, [rbp + 0x1e0]
call fcn.140030a10
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x148], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14008c6e8
mov rsi, rax
mov qword [rbp + 0x148], rax
lea r15, [rax + 0x20]
mov qword [rbp + 0x158], r15
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0x150], r15
lea r8, [rbp + 0x160]
cmp qword [rbp + 0x178], 0x10
cmovae r8, qword [rbp + 0x160]
mov rax, qword [rbp - 0x28]
lea rcx, [rax + 0x258]
cmp qword [rcx + 0x18], 0x10
jb 0x1400397ee
mov rcx, qword [rcx]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], rsi
mov r9, qword [rbp + 0x170]
mov rdx, qword [rax + 0x268]
call fcn.1400421e0
mov r14, rsi
cmp rsi, r15
je 0x14003987c
nop word [rax + rax]
movzx edi, byte [r14]
lea rdx, [0x140036050]
lea rcx, [rbp + 0x1f0]
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, [rbp - 0x80]
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 r14
cmp r14, r15
jne 0x140039820
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
movdqa xmm1, xmmword [0x140095b90]
movdqu xmmword [rbp - 0x58], xmm1
mov byte [rbp - 0x68], 0
mov dword [rsp + 0x48], 0x1fb82
xor eax, eax
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rax
mov rcx, qword [rbp + 0x268]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400398e2
mov rax, qword [rbp + 0x238]
mov r8, qword [rax]
test r8, r8
je 0x1400398e2
mov rax, qword [rbp + 0x218]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x260]
cmovb r8, qword [rbp + 0x260]
sub r8, rdx
jmp 0x14003991a
test cl, 4
jne 0x140039912
mov rax, qword [rbp + 0x230]
mov rcx, qword [rax]
test rcx, rcx
je 0x140039912
mov rax, qword [rbp + 0x210]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x248]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x14003991a
mov r8, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
test rdx, rdx
je 0x140039929
lea rcx, [rbp - 0x68]
call fcn.14001ce80
nop
lea rdx, [0x1400bad40]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x1400bad40]
lea rcx, [rbp - 0x68]
mov rbx, qword [rbp - 0x68]
mov rdi, qword [rbp - 0x50]
cmp rdi, 0x10
cmovae rcx, rbx
mov r8, qword [rbp - 0x58]
cmp r8, qword [0x1400bad50]
jne 0x14003996f
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14003996f
xor r14b, r14b
jmp 0x140039972
mov r14b, 1
cmp rdi, 0x10
jb 0x1400399ac
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400399a4
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400399a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14008c724
test r14b, r14b
je 0x1400399d0
lea r8, [rbp + 0x1a0]
lea rdx, str.Signature_checksum_failed._Request_was_tampered_with_or_session_ended_most_likely.__echo:__echo_Message:
lea rcx, [rbp - 0x48]
call fcn.14002acd0
mov rcx, rax
call fcn.140034fc0
lea rdx, [rbp + 0x138]
lea rcx, [rbp - 0x80]
call fcn.140030550
mov rdx, rax
mov rdi, qword [rbp - 0x28]
mov rcx, rdi
call fcn.140038ae0
mov dword [rsp + 0x30], 0xeeeffef9
mov dword [rsp + 0x34], 0xe3fceb
mov byte [rsp + 0x38], 1
xor r14d, r14d
mov ecx, r14d
nop word [rax + rax]
lea eax, [rcx - 0x76]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x140039a10
mov byte [rsp + 0x38], r14b
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x48]
call fcn.14000d4c0
nop
movzx ecx, byte [rbp + 0x138]
test cl, cl
jne 0x140039a65
mov byte [rbp + 0x138], 1
call fcn.14002c7f0
mov qword [rbp + 0x140], rax
movzx ecx, byte [rbp + 0x138]
jmp 0x140039a6c
mov rax, qword [rbp + 0x140]
cmp cl, 1
jne 0x140039a82
lea rdx, [rbp - 0x48]
mov rcx, rax
call fcn.140031800
mov rcx, rax
jmp 0x140039a87
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, r14
movzx ebx, byte [rax]
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140039ad3
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039ace
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039ace
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008c724
test bl, bl
je 0x140039bbb
mov dword [rsp + 0x48], 0xe2eae5e3
mov word [rsp + 0x4c], 0x100
mov rcx, r14
nop dword [rax]
lea eax, [rcx - 0x76]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 4
jb 0x140039af0
mov byte [rsp + 0x4d], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x4c]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x48]
call fcn.14000d4c0
nop
movzx ecx, byte [rbp + 0x138]
test cl, cl
jne 0x140039b45
mov byte [rbp + 0x138], 1
call fcn.14002c7f0
mov qword [rbp + 0x140], rax
movzx ecx, byte [rbp + 0x138]
jmp 0x140039b4c
mov rax, qword [rbp + 0x140]
cmp cl, 1
jne 0x140039b5f
lea rdx, [rbp - 0x48]
mov rcx, rax
call fcn.140031800
jmp 0x140039b64
mov rax, qword [rsp + 0x30]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140030550
mov rdx, rax
mov rcx, rdi
call fcn.140038b90
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140039bbb
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039bb5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039bb5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008c724
nop
test rsi, rsi
je 0x140039bf4
sub r15, rsi
cmp r15, 0x1000
jb 0x140039be8
add r15, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x140039c8c
mov rsi, rcx
mov rdx, r15
mov rcx, rsi
call fcn.14008c724
nop
mov rax, qword [rbp + 0x1e0]
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 + 0x1e0], rax
mov rax, qword [rbp + 0x1e0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x1dc], edx
lea rcx, [rbp + 0x1f8]
call fcn.140018730
lea rcx, [rbp + 0x200]
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 + 0x278]
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 [rbp + 0x1b8]
cmp rdx, 0x10
jb 0x140039c99
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039c93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039c93
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.14008c724
nop
movzx edx, byte [rbp + 0x138]
lea rcx, [rbp + 0x140]
call fcn.140033680
nop
mov rdx, qword [rbp + 0x178]
cmp rdx, 0x10
jb 0x140039cf1
inc rdx
mov rcx, qword [rbp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039cec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039cec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008c724
mov qword [rbp + 0x170], r14
mov qword [rbp + 0x178], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x160], 0
mov rax, qword [rbp + 0x1d8]
cmp rax, 0x10
jb 0x140039d50
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039d4a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039d4a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008c724
nop
mov rdx, qword [rbp + 0x198]
cmp rdx, 0x10
jb 0x140039d94
inc rdx
mov rcx, qword [rbp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039d8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039d8f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008c724
mov qword [rbp + 0x190], r14
mov qword [rbp + 0x198], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x180], 0
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x140039de9
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x140039de4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140039e6e
mov rcx, r8
call fcn.14008c724
mov qword [r12 + 0x10], r14
mov qword [r12 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r12], 0
mov rdx, qword [r13 + 0x18]
cmp rdx, 0x10
jb 0x140039e33
inc rdx
mov rcx, qword [r13]
cmp rdx, 0x1000
jb 0x140039e2e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140039e75
mov rcx, r8
call fcn.14008c724
mov qword [r13 + 0x10], r14
mov qword [r13 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r13], 0
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.14008d100
mov rbx, qword [rsp + 0x448]
add rsp, 0x3f0
pop r15
pop r14
pop r13
pop r12
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
call fcn.14000c790
int3