Function at 0x14001ae90
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 - 0x250]
sub rsp, 0x350
mov rax, qword [0x1400989c0]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov r15, r8
mov rdi, rdx
mov qword [rbp - 0x28], rdx
mov r13, rcx
mov qword [rsp + 0x68], rdx
mov qword [rbp + 0x88], r8
xor esi, esi
mov dword [rbp - 0x70], esi
mov dword [rsp + 0x38], 0xe3fbe4ac
mov dword [rsp + 0x3c], 0xf5f9fdeb
mov word [rsp + 0x40], 0xaf
mov byte [rsp + 0x42], 1
mov ecx, esi
nop dword [rax]
lea eax, [rcx - 0x76]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 9
jb 0x14001af00
mov byte [rsp + 0x42], 0
mov dword [rsp + 0x68], 0xe0ede5ac
mov dword [rsp + 0x6c], 0x100b2eb
mov dword [rsp + 0x70], 0xfee9f8ac
mov dword [rsp + 0x74], 0xffffe6fd
mov dword [rsp + 0x78], 0xa9f7fb
mov byte [rsp + 0x7c], 1
mov dword [rsp + 0x48], 0xe1e5edac
mov dword [rsp + 0x4c], 0xacf4e6eb
mov word [rsp + 0x50], 0x100
mov dword [rsp + 0x58], 0xe8fcf2fe
mov dword [rsp + 0x5c], 0xfdf9e9b3
mov word [rsp + 0x60], 0xf7
mov byte [rsp + 0x62], 1
mov rcx, rsi
nop dword [rax + rax]
lea eax, [rcx - 0x76]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 8
jb 0x14001af80
mov byte [rsp + 0x51], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x20]
call fcn.140006360
nop
cmp byte [rsp + 0x62], 0
je 0x14001afd5
mov rcx, rsi
nop dword [rax + rax]
lea eax, [rcx - 0x76]
xor byte [rsp + rcx + 0x58], al
inc rcx
cmp rcx, 9
jb 0x14001afc0
mov byte [rsp + 0x62], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x61]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.140006360
nop
lea r9, [rbp - 0x20]
lea r8, [rbp - 0x68]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 0x48]
call fcn.140017b00
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x14001b044
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b03e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001b03e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072d8c
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14001b083
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b07d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001b07d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072d8c
nop
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x14001b090
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
lea rcx, [rbp - 0x48]
call fcn.14000c480
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x40]
call fcn.140012490
nop
lea rdx, [r13 + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14001b0e3
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14000c480
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x20]
call fcn.1400121f0
nop
mov rdx, r13
cmp qword [r13 + 0x18], 0x10
jb 0x14001b12a
mov rdx, qword [r13]
mov r8, qword [r13 + 0x10]
mov rcx, rax
call fcn.14000c480
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xa0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xb0], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rax, [rsp + 0x38]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14001b180
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0xa0]
call fcn.14000c480
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xe0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf0], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [r13 + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14001b1e6
mov rdx, qword [rdx]
lea rcx, [rbp + 0xe0]
call fcn.14000c480
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x120], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x130], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8, qword [rbp + 0xf8]
cmp r8, 0x10
jb 0x14001b239
inc r8
mov rdx, qword [rbp + 0xe0]
lea rcx, [rbp + 0xe0]
call fcn.14000c700
movdqa xmm0, xmmword [0x140078af0]
movdqu xmmword [rbp + 0xf0], xmm0
mov byte [rbp + 0xe0], 0
mov r8, qword [rbp + 0xb8]
cmp r8, 0x10
jb 0x14001b273
inc r8
mov rdx, qword [rbp + 0xa0]
lea rcx, [rbp + 0xa0]
call fcn.14000c700
movdqa xmm0, xmmword [0x140078af0]
movdqu xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xa0], 0
mov r8, qword [rbp + 0x38]
cmp r8, 0x10
jb 0x14001b2a4
inc r8
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.14000c700
movdqa xmm0, xmmword [0x140078af0]
movdqu xmmword [rbp + 0x30], xmm0
mov byte [rbp + 0x20], 0
mov r8, qword [rbp - 8]
cmp r8, 0x10
jb 0x14001b2d0
inc r8
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
call fcn.14000c700
nop
mov r8, qword [rbp + 0x58]
cmp r8, 0x10
jb 0x14001b2ea
inc r8
mov rdx, qword [rbp + 0x40]
lea rcx, [rbp + 0x40]
call fcn.14000c700
movdqa xmm0, xmmword [0x140078af0]
movdqu xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0x40], 0
mov r8, qword [rbp - 0x50]
cmp r8, 0x10
jb 0x14001b316
inc r8
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x68]
call fcn.14000c700
nop
mov r8, qword [rbp - 0x30]
cmp r8, 0x10
jb 0x14001b330
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.14000c700
movdqa xmm0, xmmword [0x140078af0]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
lea rax, [rbp - 0x68]
mov qword [rbp + 0x80], rax
lea rdx, [r13 + 0x80]
lea rcx, [rbp - 0x68]
call fcn.140008b20
mov rbx, rax
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x20]
call fcn.140008b20
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0xc0]
call fcn.140021500
nop
mov qword [rbp + 0x78], rsi
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x90]
call fcn.140015050
nop
mov dword [rsp + 0x38], 0xfeffeee7
mov dword [rsp + 0x3c], 0xf5e8ef
mov byte [rsp + 0x40], 1
mov rcx, rsi
nop
lea eax, [rcx - 0x76]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 7
jb 0x14001b3c0
mov byte [rsp + 0x40], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x48]
call fcn.140006360
nop
mov rbx, qword [rsp + 0x38]
movzx ecx, byte [rbp + 0x90]
test cl, cl
jne 0x14001b41a
mov byte [rbp + 0x90], 1
call fcn.140013a90
mov qword [rbp + 0x98], rax
movzx ecx, byte [rbp + 0x90]
jmp 0x14001b421
mov rax, qword [rbp + 0x98]
cmp cl, 1
jne 0x14001b435
lea rdx, [rbp - 0x48]
mov rcx, rax
call fcn.140018aa0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
movdqa xmm1, xmmword [0x140078af0]
movdqu xmmword [rbp + 0x110], xmm1
mov byte [rbp + 0x100], 0
mov dword [rbp - 0x70], 0x17ff00
cmp byte [rbx], 3
jne 0x14001b474
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x100]
cmp rax, rdx
je 0x14001b492
jmp 0x14001b477
mov rdx, rsi
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14001b485
mov rdx, qword [rdx]
lea rcx, [rbp + 0x100]
call fcn.14000c510
nop
mov r8, qword [rbp - 0x30]
cmp r8, 0x10
jb 0x14001b4ac
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.14000c700
movdqa xmm0, xmmword [0x140078af0]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x140]
call sub.VCRUNTIME140.dll_memset
mov edx, 1
lea rcx, [rbp + 0x140]
call fcn.140017cb0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140072d48
mov rsi, rax
mov qword [rbp + 0xe0], rax
lea r14, [rax + 0x20]
mov qword [rbp + 0xf0], r14
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0xe8], r14
lea r8, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0x10
cmovae r8, qword [rbp + 0xc0]
lea rcx, [r13 + 0x258]
cmp qword [rcx + 0x18], 0x10
jb 0x14001b545
mov rcx, qword [rcx]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], rsi
mov r9, qword [rbp + 0xd0]
mov rdx, qword [r13 + 0x268]
call fcn.140028540
mov r12, rsi
cmp rsi, r14
je 0x14001b5d2
nop
movzx edi, byte [r12]
lea rdx, [0x14001d2f0]
lea rcx, [rbp + 0x150]
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], gethostbyname
mov edx, 2
lea rcx, [rsp + 0x70]
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 r12
cmp r12, r14
jne 0x14001b570
mov rdi, qword [rbp - 0x28]
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.1400177f0
mov rdx, rax
mov rcx, r13
call fcn.14001fc70
mov dword [rsp + 0x38], 0xeeeffef9
mov dword [rsp + 0x3c], 0xe3fceb
mov byte [rsp + 0x40], 1
xor r12d, r12d
mov ecx, r12d
nop dword [rax]
lea eax, [rcx - 0x76]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 7
jb 0x14001b610
mov byte [rsp + 0x40], r12b
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x68]
call fcn.140006360
nop
movzx ecx, byte [rbp + 0x90]
test cl, cl
jne 0x14001b665
mov byte [rbp + 0x90], 1
call fcn.140013a90
mov qword [rbp + 0x98], rax
movzx ecx, byte [rbp + 0x90]
jmp 0x14001b66c
mov rax, qword [rbp + 0x98]
cmp cl, 1
jne 0x14001b682
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.140018aa0
mov rcx, rax
jmp 0x14001b687
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, r12
movzx ebx, byte [rax]
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x14001b6d3
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b6ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001b6ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072d8c
test bl, bl
je 0x14001bc19
mov dword [rsp + 0x48], 0xf9e2e4e9
mov dword [rsp + 0x4c], 0xe2e4e1eb
mov word [rsp + 0x50], 0x100
mov rcx, r12
nop word [rax + rax]
lea eax, [rcx - 0x76]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 8
jb 0x14001b700
mov byte [rsp + 0x51], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x68]
call fcn.140006360
nop
mov rbx, qword [rsp + 0x38]
movzx ecx, byte [rbp + 0x90]
test cl, cl
jne 0x14001b75a
mov byte [rbp + 0x90], 1
call fcn.140013a90
mov qword [rbp + 0x98], rax
movzx ecx, byte [rbp + 0x90]
jmp 0x14001b761
mov rax, qword [rbp + 0x98]
cmp cl, 1
jne 0x14001b775
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.140018aa0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x140078af0]
movdqu xmmword [rbp + 0x10], xmm1
mov byte [rbp], 0
mov dword [rbp - 0x70], 0xfff5e
cmp byte [rbx], 3
jne 0x14001b7a8
mov rdx, qword [rbx + 8]
lea rax, [rbp]
cmp rax, rdx
je 0x14001b7c3
jmp 0x14001b7ab
mov rdx, r12
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14001b7b9
mov rdx, qword [rdx]
lea rcx, [rbp]
call fcn.14000c510
nop
lea rdx, [rbp]
lea rcx, [rbp + 0xa0]
call fcn.14001d310
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x14001b813
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b80d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001b80d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072d8c
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x14001b851
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b84c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001b84c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072d8c
movdqa xmm0, xmmword [0x140078af0]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov rdi, qword [rbp + 0xb0]
lea r12, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0x10
cmovae r12, qword [rbp + 0xa0]
movabs rbx, 0x7fffffffffffffff
cmp rdi, rbx
ja 0x14001be32
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x14001b8ca
mov qword [rbp - 0x80], rdi
mov r8d, reloc.WS2_32.dll_recv
mov rdx, r12
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memmove
jmp 0x14001b91d
mov rax, rdi
or rax, 0xf
cmp rax, rbx
ja 0x14001b8e5
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, [rsp + 0x70]
call fcn.1400056d0
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], rbx
lea r8, [rdi + 1]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rdi, [rsp + 0x70]
mov r8, qword [rsp + 0x70]
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
cmovae rdi, r8
add rdi, qword [rbp - 0x80]
lea r12, [rsp + 0x70]
cmp rdx, 0x10
cmovae r12, r8
mov r13, qword [rbp - 0x28]
xor ebx, ebx
mov qword [r13], rbx
mov qword [r13 + 8], rbx
mov qword [r13 + 0x10], rbx
sub rdi, r12
je 0x14001b995
mov rdx, rdi
mov rcx, r13
call fcn.140018e20
mov rbx, qword [r13]
mov r8, rdi
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rdi]
mov qword [r13 + 8], rax
mov rdx, qword [rbp - 0x78]
mov r8, qword [rsp + 0x70]
xor ebx, ebx
cmp rdx, 0x10
jb 0x14001b9ce
inc rdx
mov rax, r8
cmp rdx, 0x1000
jb 0x14001b9c6
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001b9c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.140072d8c
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x14001ba23
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ba1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ba1e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072d8c
mov qword [rbp + 0xb0], rbx
mov qword [rbp + 0xb8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xa0], 0
test rsi, rsi
je 0x14001ba75
sub r14, rsi
cmp r14, 0x1000
jb 0x14001ba69
add r14, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x14001bb0d
mov rsi, rcx
mov rdx, r14
mov rcx, rsi
call fcn.140072d8c
nop
mov rax, qword [rbp + 0x140]
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 + 0x140], rax
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x13c], edx
lea rcx, [rbp + 0x158]
call fcn.140009a20
lea rcx, [rbp + 0x160]
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 + 0x1d8]
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 + 0x118]
cmp rdx, 0x10
jb 0x14001bb1a
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001bb14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001bb14
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.140072d8c
nop
movzx edx, byte [rbp + 0x90]
lea rcx, [rbp + 0x98]
call fcn.14001a920
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x14001bb72
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001bb6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001bb6d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072d8c
mov qword [rbp + 0xd0], rbx
mov qword [rbp + 0xd8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xc0], 0
mov rdx, qword [rbp + 0x138]
cmp rdx, 0x10
jb 0x14001bbd0
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001bbca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001bbca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072d8c
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x14001bc06
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x14001bc01
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001bc12
mov rcx, r8
call fcn.140072d8c
mov qword [r15 + 0x10], rbx
mov rax, r13
jmp 0x14001bdf5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov qword [rdi], r12
mov qword [rdi + 8], r12
mov qword [rdi + 0x10], r12
test rsi, rsi
je 0x14001bc5d
sub r14, rsi
cmp r14, 0x1000
jb 0x14001bc51
add r14, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x14001bcf5
mov rsi, rcx
mov rdx, r14
mov rcx, rsi
call fcn.140072d8c
nop
mov rax, qword [rbp + 0x140]
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 + 0x140], rax
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x13c], edx
lea rcx, [rbp + 0x158]
call fcn.140009a20
lea rcx, [rbp + 0x160]
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 + 0x1d8]
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 + 0x118]
cmp rdx, 0x10
jb 0x14001bd02
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001bcfc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001bcfc
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.140072d8c
nop
movzx edx, byte [rbp + 0x90]
lea rcx, [rbp + 0x98]
call fcn.14001a920
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x14001bd5a
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001bd55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001bd55
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072d8c
mov qword [rbp + 0xd0], r12
mov qword [rbp + 0xd8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xc0], 0
mov rdx, qword [rbp + 0x138]
cmp rdx, 0x10
jb 0x14001bdb8
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001bdb2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001bdb2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072d8c
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x14001bdee
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x14001bde9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001be2b
mov rcx, r8
call fcn.140072d8c
mov qword [r15 + 0x10], r12
mov rax, rdi
mov byte [r15], 0
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.140073740
mov rbx, qword [rsp + 0x3a8]
add rsp, 0x350
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 fcn.1400056b0
nop
int3