Function at 0x1400d4b10
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 - 0x210]
sub rsp, 0x310
mov rax, qword [0x14018e298]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r15, r8
mov r13, rdx
mov rdi, rcx
mov qword [rbp - 0x68], rcx
mov qword [rsp + 0x68], rdx
mov qword [rbp + 0x68], r8
xor esi, esi
mov dword [rbp - 0x70], esi
mov dword [rsp + 0x38], 0xee08115b
mov dword [rsp + 0x3c], 0xe0eaf0e4
mov word [rsp + 0x40], 0xb8
mov byte [rsp + 0x42], 1
mov ecx, esi
nop dword [rax]
lea eax, [rcx + 0x7d]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 9
jb 0x1400d4b80
mov byte [rsp + 0x42], 0
mov dword [rsp + 0x68], 0xed1e105b
mov dword [rsp + 0x6c], 0x100bfe4
mov dword [rsp + 0x48], 0xf31a0d5b
mov dword [rsp + 0x4c], 0xeaecebf2
mov dword [rsp + 0x50], 0xbae2ec
mov byte [rsp + 0x54], 1
mov dword [rsp + 0x70], 0xec16185b
mov dword [rsp + 0x74], 0xb9e7ebe4
mov word [rsp + 0x78], 0x100
mov dword [rbp - 0x80], 0xe50f0709
mov dword [rbp - 0x7c], 0xe8eae4bc
mov word [rbp - 0x78], 0xe0
mov byte [rbp - 0x76], 1
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x28]
call fcn.1400cd3c0
nop
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x1400d4c11
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
mov rcx, rax
call fcn.14000ce70
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x40]
lea rcx, [rbp]
call fcn.1400cd670
nop
lea rdx, [rdi + 0x240]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400d4c63
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14000ce70
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], 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 - 0x60]
lea rcx, [rbp - 0x20]
call fcn.1400cd000
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400d4ca9
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.14000ce70
mov qword [rbp + 0xc0], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xd0], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd0], 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 word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400d4d00
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0xc0]
call fcn.14000ce70
mov qword [rbp + 0x70], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x80], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x80], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rdi + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400d4d5d
mov rdx, qword [rdx]
lea rcx, [rbp + 0x70]
call fcn.14000ce70
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
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x1400d4dcb
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d4dc6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d4dc6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012be40
movdqa xmm0, xmmword [0x14014cf50]
movdqu xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x1400d4e23
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d4e1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d4e1e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012be40
movdqa xmm0, xmmword [0x14014cf50]
movdqu xmmword [rbp + 0xd0], xmm0
mov byte [rbp + 0xc0], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x1400d4e78
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d4e73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d4e73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012be40
movdqa xmm0, xmmword [0x14014cf50]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x1400d4ec8
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d4ec2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d4ec2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012be40
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x1400d4f06
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d4f01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d4f01
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012be40
movdqa xmm0, xmmword [0x14014cf50]
movdqu xmmword [rbp + 0x10], xmm0
mov byte [rbp], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1400d4f56
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d4f50
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d4f50
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012be40
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x1400d4f94
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d4f8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d4f8f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012be40
movdqa xmm0, xmmword [0x14014cf50]
movdqu xmmword [rbp + 0x38], xmm0
mov byte [rbp + 0x28], 0
lea rax, [rbp - 0x40]
mov qword [rbp + 0x20], rax
lea rdx, [rdi + 0x80]
lea rcx, [rbp - 0x40]
call fcn.140006ab0
mov rbx, rax
lea rdx, [rbp + 0xe0]
lea rcx, [rbp - 0x60]
call fcn.140006ab0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0xa0]
call fcn.1400da5d0
nop
mov qword [rbp + 0x60], rsi
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0x28]
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x90]
call fcn.1400d0370
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memset
mov edx, 1
lea rcx, [rbp + 0x100]
call fcn.1400d2e50
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14012be04
mov rsi, rax
mov qword [rbp + 0xc0], rax
lea r14, [rax + 0x20]
mov qword [rbp + 0xd0], r14
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0xc8], r14
lea r8, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0x10
cmovae r8, qword [rbp + 0xa0]
lea rcx, [rdi + 0x260]
cmp qword [rcx + 0x18], 0x10
jb 0x1400d5090
mov rcx, qword [rcx]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], rsi
mov r9, qword [rbp + 0xb0]
mov rdx, qword [rdi + 0x270]
call fcn.1400e1210
mov r12, rsi
cmp rsi, r14
je 0x1400d5122
nop dword [rax]
movzx edi, byte [r12]
lea rdx, [0x140085250]
lea rcx, [rbp + 0x110]
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 + 0x48]
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 0x1400d50c0
mov rdi, qword [rbp - 0x68]
mov qword [rbp + 0x70], 0
movdqa xmm0, xmmword [0x14014cf50]
movdqu xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
mov dword [rbp - 0x70], 0x7c4
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rax
mov rcx, qword [rbp + 0x188]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400d5190
mov rax, qword [rbp + 0x158]
mov r8, qword [rax]
test r8, r8
je 0x1400d5190
mov rax, qword [rbp + 0x138]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x180]
cmovb r8, qword [rbp + 0x180]
sub r8, rdx
jmp 0x1400d51ca
test cl, 4
jne 0x1400d51c0
mov rax, qword [rbp + 0x150]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400d51c0
mov rax, qword [rbp + 0x130]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x168]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x1400d51ca
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1400d51d9
lea rcx, [rbp + 0x70]
call fcn.140007c80
nop
lea rdx, [0x14018e208]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x14018e208]
lea rcx, [rbp + 0x70]
mov rbx, qword [rbp + 0x70]
mov r12, qword [rbp + 0x88]
cmp r12, 0x10
cmovae rcx, rbx
mov r8, qword [rbp + 0x80]
cmp r8, qword [0x14018e218]
jne 0x1400d5225
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov byte [rsp + 0x30], 0
je 0x1400d522a
mov byte [rsp + 0x30], 1
cmp r12, 0x10
jb 0x1400d5265
lea rdx, [r12 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400d525d
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d525d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14012be40
cmp byte [rsp + 0x30], 0
je 0x1400d5273
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x48]
call fcn.1400d2b40
mov rdx, rax
mov rcx, rdi
call fcn.1400d8f70
lea rdx, str.success
lea rcx, [rbp + 0x90]
call fcn.1400ccd40
lea rcx, [rax + 8]
cmp byte [rax], 4
mov ebx, 0
cmovne rcx, rbx
cmp byte [rcx], bl
je 0x1400d56ce
lea rdx, str.contents
lea rcx, [rbp + 0x90]
call fcn.1400ccd40
nop
mov qword [rsp + 0x48], rbx
movdqa xmm0, xmmword [0x14014cf50]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], bl
mov dword [rbp - 0x70], 0x7d2
cmp byte [rax], 3
jne 0x1400d5301
mov rdx, qword [rax + 8]
lea rax, [rsp + 0x48]
cmp rax, rdx
je 0x1400d531d
jmp 0x1400d5304
mov rdx, rbx
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400d5312
mov rdx, qword [rdx]
lea rcx, [rsp + 0x48]
call fcn.140007c80
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x70]
call fcn.1400d6b90
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400d536c
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d5367
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d5367
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012be40
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
mov rdi, qword [rbp + 0x80]
lea r12, [rbp + 0x70]
cmp qword [rbp + 0x88], 0x10
cmovae r12, qword [rbp + 0x70]
movabs rbx, 0x7fffffffffffffff
cmp rdi, rbx
ja 0x1400d58a3
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x1400d53cf
mov qword [rsp + 0x58], rdi
mov r8d, reloc.WS2_32.dll_recv
mov rdx, r12
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll_memmove
jmp 0x1400d5424
mov rax, rdi
or rax, 0xf
cmp rax, rbx
ja 0x1400d53ea
mov rbx, rax
mov ecx, reloc.WS2_32.dll_shutdown
cmp rax, rcx
cmovb rbx, rcx
mov rdx, rbx
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140007c20
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rbx
lea r8, [rdi + 1]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea rdi, [rsp + 0x48]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
cmovae rdi, r8
add rdi, qword [rsp + 0x58]
lea r12, [rsp + 0x48]
cmp rdx, 0x10
cmovae r12, r8
xor ebx, ebx
mov qword [r13], rbx
mov qword [r13 + 8], rbx
mov qword [r13 + 0x10], rbx
sub rdi, r12
je 0x1400d549b
mov rdx, rdi
mov rcx, r13
call fcn.1400384c0
mov rbx, qword [r13]
mov r8, rdi
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + rbx]
mov qword [r13 + 8], rax
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x48]
xor ebx, ebx
cmp rdx, 0x10
jb 0x1400d54d4
inc rdx
mov rax, r8
cmp rdx, 0x1000
jb 0x1400d54cc
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d54cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.14012be40
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x1400d5528
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d5523
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d5523
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012be40
mov qword [rbp + 0x80], rbx
mov qword [rbp + 0x88], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x70], 0
test rsi, rsi
je 0x1400d5577
sub r14, rsi
cmp r14, 0x1000
jb 0x1400d556b
add r14, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x1400d5623
mov rsi, rcx
mov rdx, r14
mov rcx, rsi
call fcn.14012be40
nop
mov rax, qword [rbp + 0x100]
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 + 0x100], rax
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xfc], edx
lea rcx, [rbp + 0x118]
call fcn.14002b550
lea rcx, [rbp + 0x120]
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 + 0x198]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
movzx edx, byte [rbp + 0x90]
lea rcx, [rbp + 0x98]
call fcn.1400d45a0
nop
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x1400d562f
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d562a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d562a
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.14012be40
mov qword [rbp + 0xb0], rbx
mov qword [rbp + 0xb8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xa0], 0
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0x10
jb 0x1400d568d
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d5687
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d5687
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012be40
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x1400d585f
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x1400d585a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x1400d5857
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov qword [r13], rbx
mov qword [r13 + 8], rbx
mov qword [r13 + 0x10], rbx
test rsi, rsi
je 0x1400d5713
sub r14, rsi
cmp r14, 0x1000
jb 0x1400d5707
add r14, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x1400d57bf
mov rsi, rcx
mov rdx, r14
mov rcx, rsi
call fcn.14012be40
nop
mov rax, qword [rbp + 0x100]
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 + 0x100], rax
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xfc], edx
lea rcx, [rbp + 0x118]
call fcn.14002b550
lea rcx, [rbp + 0x120]
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 + 0x198]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
movzx edx, byte [rbp + 0x90]
lea rcx, [rbp + 0x98]
call fcn.1400d45a0
nop
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x1400d57cb
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d57c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d57c6
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.14012be40
mov qword [rbp + 0xb0], rbx
mov qword [rbp + 0xb8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xa0], 0
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0x10
jb 0x1400d5829
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d5823
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d5823
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012be40
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x1400d585f
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x1400d585a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400d589c
mov rcx, r8
call fcn.14012be40
mov rax, r13
mov byte [r15], 0
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov qword [r15 + 0x10], rbx
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.14012c1b0
mov rbx, qword [rsp + 0x368]
add rsp, 0x310
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.140007c00
nop
int3