Function at 0x1400323c0
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 [0x1400b9e00]
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 0x140032430
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 0x1400324b0
mov byte [rsp + 0x51], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x20]
call fcn.14000c0c0
nop
cmp byte [rsp + 0x62], 0
je 0x140032505
mov rcx, rsi
nop dword [rax + rax]
lea eax, [rcx - 0x76]
xor byte [rsp + rcx + 0x58], al
inc rcx
cmp rcx, 9
jb 0x1400324f0
mov byte [rsp + 0x62], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x61]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.14000c0c0
nop
lea r9, [rbp - 0x20]
lea r8, [rbp - 0x68]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 0x48]
call fcn.14002efd0
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140032574
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003256e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003256e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008aef4
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x1400325b3
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400325ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400325ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008aef4
nop
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x1400325c0
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
lea rcx, [rbp - 0x48]
call fcn.14001d670
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.140029960
nop
lea rdx, [r13 + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140032613
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14001d670
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.1400295a0
nop
mov rdx, r13
cmp qword [r13 + 0x18], 0x10
jb 0x14003265a
mov rdx, qword [r13]
mov r8, qword [r13 + 0x10]
mov rcx, rax
call fcn.14001d670
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 0x1400326b0
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0xa0]
call fcn.14001d670
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 0x140032716
mov rdx, qword [rdx]
lea rcx, [rbp + 0xe0]
call fcn.14001d670
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 0x140032769
inc r8
mov rdx, qword [rbp + 0xe0]
lea rcx, [rbp + 0xe0]
call fcn.14001d9d0
movdqa xmm0, xmmword [0x140094c70]
movdqu xmmword [rbp + 0xf0], xmm0
mov byte [rbp + 0xe0], 0
mov r8, qword [rbp + 0xb8]
cmp r8, 0x10
jb 0x1400327a3
inc r8
mov rdx, qword [rbp + 0xa0]
lea rcx, [rbp + 0xa0]
call fcn.14001d9d0
movdqa xmm0, xmmword [0x140094c70]
movdqu xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xa0], 0
mov r8, qword [rbp + 0x38]
cmp r8, 0x10
jb 0x1400327d4
inc r8
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.14001d9d0
movdqa xmm0, xmmword [0x140094c70]
movdqu xmmword [rbp + 0x30], xmm0
mov byte [rbp + 0x20], 0
mov r8, qword [rbp - 8]
cmp r8, 0x10
jb 0x140032800
inc r8
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
call fcn.14001d9d0
nop
mov r8, qword [rbp + 0x58]
cmp r8, 0x10
jb 0x14003281a
inc r8
mov rdx, qword [rbp + 0x40]
lea rcx, [rbp + 0x40]
call fcn.14001d9d0
movdqa xmm0, xmmword [0x140094c70]
movdqu xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0x40], 0
mov r8, qword [rbp - 0x50]
cmp r8, 0x10
jb 0x140032846
inc r8
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x68]
call fcn.14001d9d0
nop
mov r8, qword [rbp - 0x30]
cmp r8, 0x10
jb 0x140032860
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.14001d9d0
movdqa xmm0, xmmword [0x140094c70]
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.140015ce0
mov rbx, rax
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x20]
call fcn.140015ce0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0xc0]
call fcn.140039970
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.14002c520
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 0x1400328f0
mov byte [rsp + 0x40], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x48]
call fcn.14000c0c0
nop
mov rbx, qword [rsp + 0x38]
movzx ecx, byte [rbp + 0x90]
test cl, cl
jne 0x14003294a
mov byte [rbp + 0x90], 1
call fcn.14002af60
mov qword [rbp + 0x98], rax
movzx ecx, byte [rbp + 0x90]
jmp 0x140032951
mov rax, qword [rbp + 0x98]
cmp cl, 1
jne 0x140032965
lea rdx, [rbp - 0x48]
mov rcx, rax
call fcn.14002ff70
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
movdqa xmm1, xmmword [0x140094c70]
movdqu xmmword [rbp + 0x110], xmm1
mov byte [rbp + 0x100], 0
mov dword [rbp - 0x70], 0x17ff00
cmp byte [rbx], 3
jne 0x1400329a4
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x100]
cmp rax, rdx
je 0x1400329c2
jmp 0x1400329a7
mov rdx, rsi
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400329b5
mov rdx, qword [rdx]
lea rcx, [rbp + 0x100]
call fcn.14001d700
nop
mov r8, qword [rbp - 0x30]
cmp r8, 0x10
jb 0x1400329dc
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.14001d9d0
movdqa xmm0, xmmword [0x140094c70]
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.14002f180
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14008aeb8
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 0x140032a75
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.1400409b0
mov r12, rsi
cmp rsi, r14
je 0x140032b02
nop
movzx edi, byte [r12]
lea rdx, [0x140034820]
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], Ordinal_50
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 0x140032aa0
mov rdi, qword [rbp - 0x28]
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.14002ecc0
mov rdx, rax
mov rcx, r13
call fcn.1400372b0
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 0x140032b40
mov byte [rsp + 0x40], r12b
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x68]
call fcn.14000c0c0
nop
movzx ecx, byte [rbp + 0x90]
test cl, cl
jne 0x140032b95
mov byte [rbp + 0x90], 1
call fcn.14002af60
mov qword [rbp + 0x98], rax
movzx ecx, byte [rbp + 0x90]
jmp 0x140032b9c
mov rax, qword [rbp + 0x98]
cmp cl, 1
jne 0x140032bb2
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.14002ff70
mov rcx, rax
jmp 0x140032bb7
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 0x140032c03
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032bfe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140032bfe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008aef4
test bl, bl
je 0x140033149
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 0x140032c30
mov byte [rsp + 0x51], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x68]
call fcn.14000c0c0
nop
mov rbx, qword [rsp + 0x38]
movzx ecx, byte [rbp + 0x90]
test cl, cl
jne 0x140032c8a
mov byte [rbp + 0x90], 1
call fcn.14002af60
mov qword [rbp + 0x98], rax
movzx ecx, byte [rbp + 0x90]
jmp 0x140032c91
mov rax, qword [rbp + 0x98]
cmp cl, 1
jne 0x140032ca5
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.14002ff70
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x140094c70]
movdqu xmmword [rbp + 0x10], xmm1
mov byte [rbp], 0
mov dword [rbp - 0x70], 0xfff5e
cmp byte [rbx], 3
jne 0x140032cd8
mov rdx, qword [rbx + 8]
lea rax, [rbp]
cmp rax, rdx
je 0x140032cf3
jmp 0x140032cdb
mov rdx, r12
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140032ce9
mov rdx, qword [rdx]
lea rcx, [rbp]
call fcn.14001d700
nop
lea rdx, [rbp]
lea rcx, [rbp + 0xa0]
call fcn.140034840
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x140032d43
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032d3d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140032d3d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008aef4
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140032d81
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032d7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140032d7c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008aef4
movdqa xmm0, xmmword [0x140094c70]
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 0x140033362
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x140032dfa
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 0x140032e4d
mov rax, rdi
or rax, 0xf
cmp rax, rbx
ja 0x140032e15
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.140030d60
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 0x140032ec5
mov rdx, rdi
mov rcx, r13
call fcn.1400302f0
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 0x140032efe
inc rdx
mov rax, r8
cmp rdx, 0x1000
jb 0x140032ef6
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140032ef6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.14008aef4
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 0x140032f53
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032f4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140032f4e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008aef4
mov qword [rbp + 0xb0], rbx
mov qword [rbp + 0xb8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xa0], 0
test rsi, rsi
je 0x140032fa5
sub r14, rsi
cmp r14, 0x1000
jb 0x140032f99
add r14, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x14003303d
mov rsi, rcx
mov rdx, r14
mov rcx, rsi
call fcn.14008aef4
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.1400172f0
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 0x14003304a
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140033044
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140033044
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.14008aef4
nop
movzx edx, byte [rbp + 0x90]
lea rcx, [rbp + 0x98]
call fcn.140031e50
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x1400330a2
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003309d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003309d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008aef4
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 0x140033100
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400330fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400330fa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008aef4
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x140033136
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140033131
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140033142
mov rcx, r8
call fcn.14008aef4
mov qword [r15 + 0x10], rbx
mov rax, r13
jmp 0x140033325
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 0x14003318d
sub r14, rsi
cmp r14, 0x1000
jb 0x140033181
add r14, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x140033225
mov rsi, rcx
mov rdx, r14
mov rcx, rsi
call fcn.14008aef4
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.1400172f0
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 0x140033232
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003322c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003322c
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.14008aef4
nop
movzx edx, byte [rbp + 0x90]
lea rcx, [rbp + 0x98]
call fcn.140031e50
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x14003328a
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140033285
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140033285
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008aef4
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 0x1400332e8
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400332e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400332e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008aef4
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x14003331e
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140033319
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003335b
mov rcx, r8
call fcn.14008aef4
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.14008b8c0
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.14001d540
nop
int3