Function at 0x140037d00
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 [0x1400bae00]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov r15, rdx
mov r12, rcx
mov qword [rbp + 0xd0], rdx
xor edi, edi
mov dword [rsp + 0x48], edi
lea rcx, [rbp + 0x120]
call fcn.140041d70
nop
mov dword [rsp + 0x78], 0xe3fbe4ac
mov dword [rsp + 0x7c], 0xf5f9fdeb
mov word [rbp - 0x80], 0xaf
mov byte [rbp - 0x7e], 1
mov dword [rsp + 0x70], 0xe0ede5ac
mov dword [rsp + 0x74], 0x100b2eb
mov dword [rbp + 0xe8], 0xfee9f8ac
mov dword [rbp + 0xec], 0xffffe6fd
mov dword [rbp + 0xf0], 0xa9f7fb
mov byte [rbp + 0xf4], 1
mov dword [rsp + 0x68], 0xe4fbe3ac
mov dword [rsp + 0x6c], 0x100b2ea
mov dword [rsp + 0x48], 0xf4e9e0ac
mov word [rsp + 0x4c], 0xb3
mov byte [rsp + 0x4e], 1
mov dword [rsp + 0x50], 0xe8fcf2fe
mov dword [rsp + 0x54], 0xf2f9e3b3
mov dword [rsp + 0x58], 0xf0e7fdf7
mov word [rsp + 0x5c], 0x100
mov ecx, edi
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x76]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 5
jb 0x140037df0
mov byte [rsp + 0x4e], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x4d]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x78]
call fcn.14000d4c0
nop
cmp byte [rsp + 0x5d], 0
je 0x140037e45
mov rcx, rdi
nop dword [rax + rax]
lea eax, [rcx - 0x76]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0xc
jb 0x140037e30
mov byte [rsp + 0x5d], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x5c]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x140]
call fcn.14000d4c0
nop
lea r9, [rbp - 0x78]
lea r8, [rbp + 0x140]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 0x58]
call fcn.140030860
nop
mov rdx, qword [rbp + 0x158]
cmp rdx, 0x10
jb 0x140037ec0
inc rdx
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037eba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037eba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008c724
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x140037eff
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037ef9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037ef9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008c724
nop
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x140037f0c
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
lea rcx, [rbp - 0x58]
call fcn.14001cdf0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x88]
call fcn.14002ae30
nop
lea rdx, [rbp + 0x120]
cmp qword [rbp + 0x138], 0x10
cmovae rdx, qword [rbp + 0x120]
mov r8, qword [rbp + 0x130]
mov rcx, rax
call fcn.14001cdf0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp + 0xe8]
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x68]
call fcn.14002b1f0
nop
lea rdx, [r12 + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140037fbc
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14001cdf0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x28]
call fcn.14002ae30
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x140038004
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.14001cdf0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x18], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x78]
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x18]
call fcn.14002aff0
nop
lea rdx, [r12 + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140038055
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14001cdf0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x140], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x150], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8, qword [rbp]
cmp r8, 0x10
jb 0x14003809b
inc r8
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x18]
call fcn.14001d150
movdqa xmm0, xmmword [0x140095b90]
movdqu xmmword [rbp - 8], xmm0
mov byte [rbp - 0x18], 0
mov r8, qword [rbp + 0x20]
cmp r8, 0x10
jb 0x1400380c7
inc r8
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 8]
call fcn.14001d150
nop
mov r8, qword [rbp + 0x40]
cmp r8, 0x10
jb 0x1400380e1
inc r8
mov rdx, qword [rbp + 0x28]
lea rcx, [rbp + 0x28]
call fcn.14001d150
movdqa xmm0, xmmword [0x140095b90]
movdqu xmmword [rbp + 0x38], xmm0
mov byte [rbp + 0x28], 0
mov r8, qword [rbp + 0x60]
cmp r8, 0x10
jb 0x14003810d
inc r8
mov rdx, qword [rbp + 0x48]
lea rcx, [rbp + 0x48]
call fcn.14001d150
nop
mov r8, qword [rbp + 0x80]
cmp r8, 0x10
jb 0x14003812a
inc r8
mov rdx, qword [rbp + 0x68]
lea rcx, [rbp + 0x68]
call fcn.14001d150
movdqa xmm0, xmmword [0x140095b90]
movdqu xmmword [rbp + 0x78], xmm0
mov byte [rbp + 0x68], 0
mov r8, qword [rbp - 0x20]
cmp r8, 0x10
jb 0x140038156
inc r8
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x38]
call fcn.14001d150
nop
mov r8, qword [rbp + 0xa0]
cmp r8, 0x10
jb 0x140038179
inc r8
mov rdx, qword [rbp + 0x88]
lea rcx, [rbp + 0x88]
call fcn.14001d150
movdqa xmm0, xmmword [0x140095b90]
movdqu xmmword [rbp + 0x98], xmm0
mov byte [rbp + 0x88], 0
mov r8, qword [rbp - 0x60]
cmp r8, 0x10
jb 0x1400381ab
inc r8
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x78]
call fcn.14001d150
nop
mov r8, qword [rbp - 0x40]
cmp r8, 0x10
jb 0x1400381c5
inc r8
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x58]
call fcn.14001d150
movdqa xmm0, xmmword [0x140095b90]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], 0
lea rax, [rbp - 0x78]
mov qword [rbp + 0xc8], rax
lea rdx, [r12 + 0x80]
lea rcx, [rbp - 0x78]
call fcn.140017270
mov rbx, rax
lea rdx, [rbp + 0x140]
lea rcx, [rbp - 0x38]
call fcn.140017270
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x100]
call fcn.14003b1a0
nop
mov qword [rbp + 0xc0], rdi
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0x88]
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0xd8]
call fcn.14002ddb0
nop
mov dword [rsp + 0x38], 0xfeffeee7
mov dword [rsp + 0x3c], 0xf5e8ef
mov byte [rsp + 0x40], 1
mov rcx, rdi
nop dword [rax + rax]
lea eax, [rcx - 0x76]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 7
jb 0x140038260
mov byte [rsp + 0x40], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x78]
call fcn.14000d4c0
nop
mov rbx, qword [rsp + 0x38]
movzx ecx, byte [rbp + 0xd8]
test cl, cl
jne 0x1400382ba
mov byte [rbp + 0xd8], 1
call fcn.14002c7f0
mov qword [rbp + 0xe0], rax
movzx ecx, byte [rbp + 0xd8]
jmp 0x1400382c1
mov rax, qword [rbp + 0xe0]
cmp cl, 1
jne 0x1400382d5
lea rdx, [rbp - 0x78]
mov rcx, rax
call fcn.140031800
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x160], xmm0
movdqa xmm1, xmmword [0x140095b90]
movdqu xmmword [rbp + 0x170], xmm1
mov byte [rbp + 0x160], 0
mov dword [rsp + 0x48], 0x1ff580
cmp byte [rbx], 3
jne 0x140038315
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x160]
cmp rax, rdx
je 0x140038333
jmp 0x140038318
mov rdx, rdi
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140038326
mov rdx, qword [rdx]
lea rcx, [rbp + 0x160]
call fcn.14001ce80
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x140038371
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003836c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003836c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008c724
movdqa xmm0, xmmword [0x140095b90]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x180]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140095f38]
mov qword [rbp + 0x180], rax
lea rax, [0x140095f40]
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 + 0x48], 0x1ffb80
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], rdi
mov dword [rbp + 0x208], edi
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14008c6e8
mov r14, rax
mov qword [rbp + 0xe8], rax
lea r13, [rax + 0x20]
mov qword [rbp + 0xf8], r13
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0xf0], r13
lea r8, [rbp + 0x100]
cmp qword [rbp + 0x118], 0x10
cmovae r8, qword [rbp + 0x100]
lea rcx, [r12 + 0x258]
cmp qword [rcx + 0x18], 0x10
jb 0x14003849d
mov rcx, qword [rcx]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], r14
mov r9, qword [rbp + 0x110]
mov rdx, qword [r12 + 0x268]
call fcn.1400421e0
mov rsi, r14
cmp r14, r13
je 0x14003852c
nop word [rax + rax]
movzx edi, byte [rsi]
lea rdx, [0x140036050]
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 + 0x50]
call sub.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__
mov r8, qword [rax]
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
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 rsi
cmp rsi, r13
jne 0x1400384d0
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
movdqa xmm1, xmmword [0x140095b90]
movdqu xmmword [rbp - 0x48], xmm1
mov byte [rbp - 0x58], 0
mov dword [rsp + 0x48], 0x1ffb82
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
mov ecx, dword [rbp + 0x208]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140038593
mov rax, qword [rbp + 0x1d8]
mov r8, qword [rax]
test r8, r8
je 0x140038593
mov rax, qword [rbp + 0x1b8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x200]
cmovb r8, qword [rbp + 0x200]
sub r8, rdx
jmp 0x1400385cd
test cl, 4
jne 0x1400385c3
mov rax, qword [rbp + 0x1d0]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400385c3
mov rax, qword [rbp + 0x1b0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x1e8]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x1400385cd
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x1400385dc
lea rcx, [rbp - 0x58]
call fcn.14001ce80
nop
lea rdx, [0x1400bad40]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x1400bad40]
lea rcx, [rbp - 0x58]
mov rbx, qword [rbp - 0x58]
mov rdi, qword [rbp - 0x40]
cmp rdi, 0x10
cmovae rcx, rbx
mov r8, qword [rbp - 0x48]
cmp r8, qword [0x1400bad50]
jne 0x140038622
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140038622
xor sil, sil
jmp 0x140038625
mov sil, 1
cmp rdi, 0x10
jb 0x14003865f
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140038657
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038657
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14008c724
test sil, sil
je 0x140038683
lea r8, [rbp + 0x160]
lea rdx, str.Signature_checksum_failed._Request_was_tampered_with_or_session_ended_most_likely.__echo:__echo_Message:
lea rcx, [rbp - 0x78]
call fcn.14002acd0
mov rcx, rax
call fcn.140034fc0
lea rdx, [rbp + 0xd8]
lea rcx, [rsp + 0x50]
call fcn.140030550
mov rdx, rax
mov rcx, r12
call fcn.140038ae0
mov dword [rsp + 0x38], 0xeeeffef9
mov dword [rsp + 0x3c], 0xe3fceb
mov byte [rsp + 0x40], 1
xor edi, edi
mov ecx, edi
nop dword [rax + rax]
lea eax, [rcx - 0x76]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 7
jb 0x1400386c0
mov byte [rsp + 0x40], dil
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x78]
call fcn.14000d4c0
nop
movzx ecx, byte [rbp + 0xd8]
test cl, cl
jne 0x140038715
mov byte [rbp + 0xd8], 1
call fcn.14002c7f0
mov qword [rbp + 0xe0], rax
movzx ecx, byte [rbp + 0xd8]
jmp 0x14003871c
mov rax, qword [rbp + 0xe0]
cmp cl, 1
jne 0x140038732
lea rdx, [rbp - 0x78]
mov rcx, rax
call fcn.140031800
mov rcx, rax
jmp 0x140038737
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, rdi
movzx ebx, byte [rax]
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x140038783
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003877e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003877e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008c724
test bl, bl
je 0x14003886c
mov dword [rsp + 0x48], 0xe2eae5e3
mov word [rsp + 0x4c], 0x100
mov rcx, rdi
nop dword [rax]
lea eax, [rcx - 0x76]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 4
jb 0x1400387a0
mov byte [rsp + 0x4d], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x4c]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x78]
call fcn.14000d4c0
nop
movzx ecx, byte [rbp + 0xd8]
test cl, cl
jne 0x1400387f5
mov byte [rbp + 0xd8], 1
call fcn.14002c7f0
mov qword [rbp + 0xe0], rax
movzx ecx, byte [rbp + 0xd8]
jmp 0x1400387fc
mov rax, qword [rbp + 0xe0]
cmp cl, 1
jne 0x14003880f
lea rdx, [rbp - 0x78]
mov rcx, rax
call fcn.140031800
jmp 0x140038814
mov rax, qword [rsp + 0x38]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140030550
mov rdx, rax
mov rcx, r12
call fcn.140038b90
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14003886c
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038866
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038866
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008c724
nop
test r14, r14
je 0x1400388a5
sub r13, r14
cmp r13, 0x1000
jb 0x140038899
add r13, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x14003893d
mov r14, rcx
mov rdx, r13
mov rcx, r14
call fcn.14008c724
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 fcn.140018730
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
mov rdx, qword [rbp + 0x178]
cmp rdx, 0x10
jb 0x14003894a
inc rdx
mov rcx, qword [rbp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038944
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038944
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.14008c724
nop
movzx edx, byte [rbp + 0xd8]
lea rcx, [rbp + 0xe0]
call fcn.140033680
nop
mov rdx, qword [rbp + 0x118]
cmp rdx, 0x10
jb 0x1400389a2
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003899d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003899d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008c724
mov qword [rbp + 0x110], rdi
mov qword [rbp + 0x118], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x100], 0
mov rdx, qword [rbp + 0x158]
cmp rdx, 0x10
jb 0x140038a00
inc rdx
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400389fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400389fa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008c724
nop
mov rdx, qword [rbp + 0x138]
cmp rdx, 0x10
jb 0x140038a44
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038a3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038a3f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008c724
mov qword [rbp + 0x130], rdi
mov qword [rbp + 0x138], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x120], 0
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x140038a93
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140038a8e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140038acd
mov rcx, r8
call fcn.14008c724
mov qword [r15 + 0x10], rdi
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r15], 0
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.14008d100
mov rbx, qword [rsp + 0x3e0]
add rsp, 0x390
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]
int3