Function at 0x1400d96c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [0x1401d12b0]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov rbx, rdx
mov qword [rbp - 0x28], rdx
mov r14, rcx
mov qword [rbp + 0xc8], rdx
xor r13d, r13d
mov dword [rsp + 0x40], r13d
lea rcx, [rbp + 0x138]
call fcn.1400e31c0
nop
mov dword [rsp + 0x40], 0xe5fef1bf
mov word [rsp + 0x44], 0xa0
mov byte [rsp + 0x46], 1
mov dword [rsp + 0x58], 0xf9ebe3ed
mov dword [rsp + 0x5c], 0xc3f6f2a0
mov dword [rsp + 0x60], 0xc1d0ccc4
mov word [rsp + 0x64], 0x100
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x40]
call fcn.1400ce1b0
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400d976a
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.14000d160
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov dword [rsp + 0x48], 0xf5ecf2bf
mov dword [rsp + 0x4c], 0x100a3f9
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x20]
call fcn.1400cdad0
nop
lea rdx, [rbp + 0x138]
cmp qword [rbp + 0x150], 0x10
cmovae rdx, qword [rbp + 0x138]
mov r8, qword [rbp + 0x148]
mov rcx, rax
call fcn.14000d160
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x88], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x98], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov dword [rbp - 0x78], 0xeffee9bf
mov dword [rbp - 0x74], 0xcef0f7ee
mov dword [rbp - 0x70], 0x9ec6c8
mov byte [rbp - 0x6c], 1
lea r8, [rbp - 0x78]
lea rdx, [rbp + 0x88]
lea rcx, [rbp]
call fcn.1400ce0b0
nop
lea rdx, [r14 + 0x238]
cmp qword [r14 + 0x250], 0x10
jb 0x1400d9847
mov rdx, qword [r14 + 0x238]
mov r8, qword [r14 + 0x248]
mov rcx, rax
call fcn.14000d160
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x70], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov dword [rsp + 0x50], 0xf1faf4bf
mov dword [rsp + 0x54], 0x100a3f8
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x20]
call fcn.1400cdad0
nop
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1400d98a4
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
mov rcx, rax
call fcn.14000d160
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xe0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf0], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov dword [rsp + 0x78], 0xf2ecf5bf
mov dword [rsp + 0x7c], 0xc4f6ecf8
mov word [rbp - 0x80], 0x9c
mov byte [rbp - 0x7e], 1
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0xe0]
lea rcx, [rbp - 0x68]
call fcn.1400cdfb0
nop
lea rdx, [r14 + 0x20]
cmp qword [r14 + 0x38], 0x10
jb 0x1400d9913
mov rdx, qword [r14 + 0x20]
mov r8, qword [r14 + 0x30]
mov rcx, rax
call fcn.14000d160
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x158], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x168], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x1400d9981
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d997c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d997c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], 0
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0x10
jb 0x1400d99d6
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d99d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d99d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x1400d9a14
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d9a0f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d9a0f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x1400d9a63
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d9a5d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d9a5d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x1400d9aa1
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d9a9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d9a9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp], 0
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0x10
jb 0x1400d9af6
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d9af0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d9af0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x1400d9b34
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d9b2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d9b2f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x20], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x1400d9b83
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d9b7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d9b7d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x1400d9bc1
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d9bbc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d9bbc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
mov qword [rbp + 0x50], r13
mov qword [rbp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x40], 0
lea rax, [rbp - 0x48]
mov qword [rbp + 0x80], rax
lea rdx, [r14 + 0x80]
lea rcx, [rbp - 0x48]
call fcn.1400081d0
mov r15, rax
mov qword [rbp + 0xe0], r13
mov qword [rbp + 0xf0], r13
mov qword [rbp + 0xf8], r13
lea rdi, [rbp + 0x158]
mov r12, qword [rbp + 0x158]
cmp qword [rbp + 0x170], 0x10
cmovae rdi, r12
mov rsi, qword [rbp + 0x168]
cmp rsi, 0x10
jae 0x1400d9c3c
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0xe0], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x1400d9cb8
mov rbx, rsi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400d9c93
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400da5bc
mov rcx, rax
call fcn.14012e828
mov rcx, rax
test rax, rax
je 0x1400d9c8c
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400d9ca2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400d9c9f
call fcn.14012e828
jmp 0x1400d9ca2
mov rax, r13
mov qword [rbp + 0xe0], rax
lea r8, [rsi + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0xf0], rsi
mov qword [rbp + 0xf8], rbx
mov r8, r15
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x118]
call fcn.1400dccd0
nop
mov qword [rbp + 0xc0], r13
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0x88]
lea rdx, [rbp + 0x118]
lea rcx, [rbp + 0xd0]
call fcn.1400d0f60
nop
mov dword [rsp + 0x30], 0xefe8fff4
mov dword [rsp + 0x34], 0xfaf9fc
mov byte [rsp + 0x38], 1
mov rcx, r13
nop
lea eax, [rcx - 0x67]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x1400d9d20
mov byte [rsp + 0x38], 0
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x58], 0
mov r8d, 7
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.140008610
nop
movzx eax, byte [rbp + 0xd0]
test al, al
jne 0x1400d9d8d
mov byte [rbp + 0xd0], 1
call fcn.1400cf800
mov rcx, rax
mov qword [rbp + 0xd8], rax
movzx eax, byte [rbp + 0xd0]
jmp 0x1400d9d94
mov rcx, qword [rbp + 0xd8]
cmp al, 1
jne 0x1400d9da4
lea rdx, [rsp + 0x58]
call fcn.1400d41b0
jmp 0x1400d9da9
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xe0], r13
mov qword [rbp + 0xf0], r13
mov r13d, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xf8], r13
mov byte [rbp + 0xe0], 0
mov dword [rsp + 0x40], 0x17f
xor ebx, ebx
cmp byte [rax], 3
jne 0x1400d9dec
mov r8, qword [rax + 8]
lea rax, [rbp + 0xe0]
cmp rax, r8
je 0x1400d9e13
jmp 0x1400d9def
mov r8, rbx
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x1400d9dfc
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rcx, [rbp + 0xe0]
call fcn.140008610
mov r13, qword [rbp + 0xf8]
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1400d9e53
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d9e4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d9e4e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x58], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x180]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1401b1768]
mov qword [rbp + 0x180], rax
lea rax, [0x1401b16a8]
mov qword [rbp + 0x190], rax
lea rcx, [rbp + 0x218]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x40], 0x2ff
xor r8d, r8d
lea rdx, [rbp + 0x198]
lea rcx, [rbp + 0x180]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x180]
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 + 0x180], rax
mov rax, qword [rbp + 0x180]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x17c], edx
lea rcx, [rbp + 0x198]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x198], rax
mov qword [rbp + 0x200], rbx
mov dword [rbp + 0x208], ebx
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x100], xmm1
mov qword [rbp + 0x110], rbx
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14012e828
mov qword [rbp + 0x100], rax
lea rdx, [rax + 0x20]
mov qword [rbp + 0x110], rdx
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0x108], rdx
mov rax, qword [rbp + 0x100]
sub rdx, rax
lea r8, [rbp + 0x118]
cmp qword [rbp + 0x130], 0x10
cmovae r8, qword [rbp + 0x118]
lea rcx, [r14 + 0x258]
cmp qword [rcx + 0x18], 0x10
jb 0x1400d9f8f
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x128]
mov rdx, qword [r14 + 0x268]
call fcn.1400e3730
mov r15, qword [rbp + 0x108]
mov rsi, qword [rbp + 0x100]
cmp rsi, r15
je 0x1400da018
nop
movzx edi, byte [rsi]
lea rdx, [0x1400727f0]
lea rcx, [rbp + 0x190]
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, [rsp + 0x58]
call sub.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
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 rsi
cmp rsi, r15
jne 0x1400d9fc0
xor r15d, r15d
mov qword [rbp - 0x68], r15
mov ecx, r15d
mov qword [rbp - 0x58], rcx
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x50], rdi
mov byte [rbp - 0x68], cl
mov dword [rsp + 0x40], 0xaff
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
mov edx, dword [rbp + 0x208]
mov eax, edx
and al, 0x22
cmp al, 2
je 0x1400da084
mov rax, qword [rbp + 0x1d8]
mov r8, qword [rax]
test r8, r8
je 0x1400da084
mov rax, qword [rbp + 0x1b8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x200]
cmovb r8, qword [rbp + 0x200]
sub r8, rdx
jmp 0x1400da0be
test dl, 4
jne 0x1400da0b4
mov rax, qword [rbp + 0x1d0]
mov r9, qword [rax]
test r9, r9
je 0x1400da0b4
mov rax, qword [rbp + 0x1b0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x1e8]
movsxd r8, dword [rax]
sub r8, rdx
add r8, r9
jmp 0x1400da0be
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1400da0d4
lea rcx, [rbp - 0x68]
call fcn.140008610
mov rdi, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x58]
lea rdx, [0x1401d1230]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x1401d1230]
lea rax, [rbp - 0x68]
mov rbx, qword [rbp - 0x68]
cmp rdi, 0x10
cmovae rax, rbx
cmp rcx, qword [0x1401d1240]
jne 0x1400da118
mov r8, rcx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400da118
xor sil, sil
jmp 0x1400da11b
mov sil, 1
cmp rdi, 0x10
jb 0x1400da155
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400da14d
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400da14d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14012eab4
test sil, sil
je 0x1400da180
lea r8, [rbp + 0xe0]
lea rdx, str.Signature_checksum_failed._Request_was_tampered_with_or_session_ended_most_likely.__echo:__echo_Message:
lea rcx, [rbp - 0x48]
call fcn.14008da80
mov rcx, rax
call fcn.1400d6ee0
mov r13, qword [rbp + 0xf8]
lea rdx, [rbp + 0xd0]
lea rcx, [rsp + 0x58]
call fcn.1400d3420
mov rdx, rax
mov rcx, r14
call fcn.1400da950
mov dword [rsp + 0x30], 0xfff8efea
mov dword [rsp + 0x34], 0xecedf8
mov byte [rsp + 0x38], 1
mov rcx, r15
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x67]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x1400da1c0
mov byte [rsp + 0x38], 0
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], 0
mov r8d, 7
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.140008610
nop
movzx ecx, byte [rbp + 0xd0]
test cl, cl
jne 0x1400da225
mov byte [rbp + 0xd0], 1
call fcn.1400cf800
mov qword [rbp + 0xd8], rax
movzx ecx, byte [rbp + 0xd0]
jmp 0x1400da22c
mov rax, qword [rbp + 0xd8]
cmp cl, 1
jne 0x1400da242
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.1400d41b0
mov rcx, rax
jmp 0x1400da247
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, r15
movzx ebx, byte [rax]
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x1400da293
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400da28e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400da28e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
test bl, bl
je 0x1400da38b
mov dword [rsp + 0x40], 0xf3fdf4f0
mov word [rsp + 0x44], 0x100
mov rcx, r15
nop dword [rax]
lea eax, [rcx - 0x67]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 4
jb 0x1400da2b0
mov byte [rsp + 0x45], 0
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], 0
mov r8d, 4
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.140008610
nop
movzx eax, byte [rbp + 0xd0]
test al, al
jne 0x1400da318
mov byte [rbp + 0xd0], 1
call fcn.1400cf800
mov rcx, rax
mov qword [rbp + 0xd8], rax
movzx eax, byte [rbp + 0xd0]
jmp 0x1400da31f
mov rcx, qword [rbp + 0xd8]
cmp al, 1
jne 0x1400da32e
lea rdx, [rbp - 0x68]
call fcn.1400d41b0
jmp 0x1400da333
mov rax, qword [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400d3420
mov rdx, rax
mov rcx, r14
call fcn.1400daa60
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x1400da38b
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400da385
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400da385
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
nop
mov rcx, qword [rbp + 0x100]
test rcx, rcx
je 0x1400da3e0
mov rdx, qword [rbp + 0x110]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400da3c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400da3c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x100], xmm0
mov qword [rbp + 0x110], r15
mov rax, qword [rbp + 0x180]
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 + 0x180], rax
mov rax, qword [rbp + 0x180]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x17c], edx
lea rcx, [rbp + 0x198]
call fcn.140081110
lea rcx, [rbp + 0x1a0]
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 + 0x218]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
cmp r13, 0x10
jb 0x1400da478
lea rdx, [r13 + 1]
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400da472
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400da472
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
nop
movzx edx, byte [rbp + 0xd0]
lea rcx, [rbp + 0xd8]
call fcn.140082e40
nop
mov rdx, qword [rbp + 0x130]
cmp rdx, 0x10
jb 0x1400da4d0
inc rdx
mov rcx, qword [rbp + 0x118]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400da4cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400da4cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
mov qword [rbp + 0x128], r15
mov qword [rbp + 0x130], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x118], 0
mov rax, qword [rbp + 0x170]
cmp rax, 0x10
jb 0x1400da52c
lea rdx, [rax + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x1400da523
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400da523
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.14012eab4
nop
mov rdx, qword [rbp + 0x150]
cmp rdx, 0x10
jb 0x1400da570
inc rdx
mov rcx, qword [rbp + 0x138]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400da56b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400da56b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
mov qword [rbp + 0x148], r15
mov qword [rbp + 0x150], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x138], 0
mov rcx, qword [rbp - 0x28]
call fcn.1400080a0
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.14012e570
mov rbx, qword [rsp + 0x3e0]
add rsp, 0x390
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140004440
nop
int3