Function at 0x14002f130
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 [0x1400b29c0]
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 0x14002f1a0
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 0x14002f220
mov byte [rsp + 0x51], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x20]
call fcn.140006390
nop
cmp byte [rsp + 0x62], 0
je 0x14002f275
mov rcx, rsi
nop dword [rax + rax]
lea eax, [rcx - 0x76]
xor byte [rsp + rcx + 0x58], al
inc rcx
cmp rcx, 9
jb 0x14002f260
mov byte [rsp + 0x62], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x61]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.140006390
nop
lea r9, [rbp - 0x20]
lea r8, [rbp - 0x68]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 0x48]
call fcn.14002bd40
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x14002f2e4
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f2de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002f2de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140088220
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14002f323
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f31d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002f31d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140088220
nop
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x14002f330
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
lea rcx, [rbp - 0x48]
call fcn.140016760
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.1400266d0
nop
lea rdx, [r13 + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14002f383
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140016760
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.140026310
nop
mov rdx, r13
cmp qword [r13 + 0x18], 0x10
jb 0x14002f3ca
mov rdx, qword [r13]
mov r8, qword [r13 + 0x10]
mov rcx, rax
call fcn.140016760
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 0x14002f420
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0xa0]
call fcn.140016760
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 0x14002f486
mov rdx, qword [rdx]
lea rcx, [rbp + 0xe0]
call fcn.140016760
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 0x14002f4d9
inc r8
mov rdx, qword [rbp + 0xe0]
lea rcx, [rbp + 0xe0]
call fcn.140016c10
movdqa xmm0, xmmword [0x14008faf0]
movdqu xmmword [rbp + 0xf0], xmm0
mov byte [rbp + 0xe0], 0
mov r8, qword [rbp + 0xb8]
cmp r8, 0x10
jb 0x14002f513
inc r8
mov rdx, qword [rbp + 0xa0]
lea rcx, [rbp + 0xa0]
call fcn.140016c10
movdqa xmm0, xmmword [0x14008faf0]
movdqu xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xa0], 0
mov r8, qword [rbp + 0x38]
cmp r8, 0x10
jb 0x14002f544
inc r8
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.140016c10
movdqa xmm0, xmmword [0x14008faf0]
movdqu xmmword [rbp + 0x30], xmm0
mov byte [rbp + 0x20], 0
mov r8, qword [rbp - 8]
cmp r8, 0x10
jb 0x14002f570
inc r8
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
call fcn.140016c10
nop
mov r8, qword [rbp + 0x58]
cmp r8, 0x10
jb 0x14002f58a
inc r8
mov rdx, qword [rbp + 0x40]
lea rcx, [rbp + 0x40]
call fcn.140016c10
movdqa xmm0, xmmword [0x14008faf0]
movdqu xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0x40], 0
mov r8, qword [rbp - 0x50]
cmp r8, 0x10
jb 0x14002f5b6
inc r8
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x68]
call fcn.140016c10
nop
mov r8, qword [rbp - 0x30]
cmp r8, 0x10
jb 0x14002f5d0
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.140016c10
movdqa xmm0, xmmword [0x14008faf0]
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.14000ff50
mov rbx, rax
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x20]
call fcn.14000ff50
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0xc0]
call fcn.1400365d0
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.140029290
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 0x14002f660
mov byte [rsp + 0x40], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x48]
call fcn.140006390
nop
mov rbx, qword [rsp + 0x38]
movzx ecx, byte [rbp + 0x90]
test cl, cl
jne 0x14002f6ba
mov byte [rbp + 0x90], 1
call fcn.140027cd0
mov qword [rbp + 0x98], rax
movzx ecx, byte [rbp + 0x90]
jmp 0x14002f6c1
mov rax, qword [rbp + 0x98]
cmp cl, 1
jne 0x14002f6d5
lea rdx, [rbp - 0x48]
mov rcx, rax
call fcn.14002cce0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
movdqa xmm1, xmmword [0x14008faf0]
movdqu xmmword [rbp + 0x110], xmm1
mov byte [rbp + 0x100], 0
mov dword [rbp - 0x70], 0x17ff00
cmp byte [rbx], 3
jne 0x14002f714
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x100]
cmp rax, rdx
je 0x14002f732
jmp 0x14002f717
mov rdx, rsi
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14002f725
mov rdx, qword [rdx]
lea rcx, [rbp + 0x100]
call fcn.1400167f0
nop
mov r8, qword [rbp - 0x30]
cmp r8, 0x10
jb 0x14002f74c
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.140016c10
movdqa xmm0, xmmword [0x14008faf0]
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.14002bef0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400881dc
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 0x14002f7e5
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.14003d630
mov r12, rsi
cmp rsi, r14
je 0x14002f872
nop
movzx edi, byte [r12]
lea rdx, [0x140031590]
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 0x14002f810
mov rdi, qword [rbp - 0x28]
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.14002ba30
mov rdx, rax
mov rcx, r13
call fcn.140033f10
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 0x14002f8b0
mov byte [rsp + 0x40], r12b
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x68]
call fcn.140006390
nop
movzx ecx, byte [rbp + 0x90]
test cl, cl
jne 0x14002f905
mov byte [rbp + 0x90], 1
call fcn.140027cd0
mov qword [rbp + 0x98], rax
movzx ecx, byte [rbp + 0x90]
jmp 0x14002f90c
mov rax, qword [rbp + 0x98]
cmp cl, 1
jne 0x14002f922
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.14002cce0
mov rcx, rax
jmp 0x14002f927
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 0x14002f973
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f96e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002f96e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140088220
test bl, bl
je 0x14002feb9
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 0x14002f9a0
mov byte [rsp + 0x51], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x68]
call fcn.140006390
nop
mov rbx, qword [rsp + 0x38]
movzx ecx, byte [rbp + 0x90]
test cl, cl
jne 0x14002f9fa
mov byte [rbp + 0x90], 1
call fcn.140027cd0
mov qword [rbp + 0x98], rax
movzx ecx, byte [rbp + 0x90]
jmp 0x14002fa01
mov rax, qword [rbp + 0x98]
cmp cl, 1
jne 0x14002fa15
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.14002cce0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x14008faf0]
movdqu xmmword [rbp + 0x10], xmm1
mov byte [rbp], 0
mov dword [rbp - 0x70], 0xfff5e
cmp byte [rbx], 3
jne 0x14002fa48
mov rdx, qword [rbx + 8]
lea rax, [rbp]
cmp rax, rdx
je 0x14002fa63
jmp 0x14002fa4b
mov rdx, r12
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14002fa59
mov rdx, qword [rdx]
lea rcx, [rbp]
call fcn.1400167f0
nop
lea rdx, [rbp]
lea rcx, [rbp + 0xa0]
call fcn.1400315b0
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x14002fab3
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002faad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002faad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140088220
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x14002faf1
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002faec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002faec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140088220
movdqa xmm0, xmmword [0x14008faf0]
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 0x1400300d2
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x14002fb6a
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 0x14002fbbd
mov rax, rdi
or rax, 0xf
cmp rax, rbx
ja 0x14002fb85
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.14002dad0
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 0x14002fc35
mov rdx, rdi
mov rcx, r13
call fcn.14002d060
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 0x14002fc6e
inc rdx
mov rax, r8
cmp rdx, 0x1000
jb 0x14002fc66
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002fc66
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.140088220
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 0x14002fcc3
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fcbe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002fcbe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140088220
mov qword [rbp + 0xb0], rbx
mov qword [rbp + 0xb8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xa0], 0
test rsi, rsi
je 0x14002fd15
sub r14, rsi
cmp r14, 0x1000
jb 0x14002fd09
add r14, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x14002fdad
mov rsi, rcx
mov rdx, r14
mov rcx, rsi
call fcn.140088220
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.140011230
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 0x14002fdba
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fdb4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002fdb4
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.140088220
nop
movzx edx, byte [rbp + 0x90]
lea rcx, [rbp + 0x98]
call fcn.14002ebc0
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x14002fe12
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fe0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002fe0d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140088220
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 0x14002fe70
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fe6a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002fe6a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140088220
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x14002fea6
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x14002fea1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002feb2
mov rcx, r8
call fcn.140088220
mov qword [r15 + 0x10], rbx
mov rax, r13
jmp 0x140030095
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 0x14002fefd
sub r14, rsi
cmp r14, 0x1000
jb 0x14002fef1
add r14, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x14002ff95
mov rsi, rcx
mov rdx, r14
mov rcx, rsi
call fcn.140088220
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.140011230
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 0x14002ffa2
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ff9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002ff9c
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.140088220
nop
movzx edx, byte [rbp + 0x90]
lea rcx, [rbp + 0x98]
call fcn.14002ebc0
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x14002fffa
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fff5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002fff5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140088220
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 0x140030058
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030052
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140030052
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140088220
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x14003008e
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140030089
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400300cb
mov rcx, r8
call fcn.140088220
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.140088d00
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.1400056f0
nop
int3