Function at 0x180242610
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x1802f40c0]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r12, rcx
xor r15d, r15d
mov dword [rsp + 0x48], r15d
cmp byte [0x1803776b8], r15b
jne 0x18024268b
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
mov qword [rbp + 0x78], r15
mov qword [rbp + 0x80], r15
lea r8d, [r15 + 0x52]
lea rdx, str.You_need_to_run_the_KeyAuthApp.init____function_before_any_other_KeyAuth_functions
lea rcx, [rbp + 0x68]
call fcn.180125a30
lea rcx, [rbp + 0x68]
call fcn.180241e20
mov dword [rsp + 0x68], 0xc0dac38d
mov dword [rsp + 0x6c], 0xd6d8c2ca
mov word [rsp + 0x70], Ordinal_143
mov byte [rsp + 0x72], 1
mov dword [rsp + 0x48], 0xc3ccc28d
mov dword [rsp + 0x4c], 0x1008dca
mov dword [rsp + 0x50], 0xddc8df8d
mov dword [rsp + 0x54], 0xdcded9dc
mov dword [rsp + 0x58], 0x88d0da
mov byte [rsp + 0x5c], 1
movdqa xmm0, xmmword [0x1802bab50]
movdqu xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0x60], 1
mov rcx, r15
nop dword [rax + rax]
lea eax, [rcx - 0x55]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0xb
jb 0x1802426f0
mov byte [rsp + 0x5c], r15b
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x5b]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x68]
call fcn.18012e260
nop
cmp byte [rbp + 0x60], 0
je 0x180242744
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx - 0x55]
xor byte [rbp + rcx + 0x50], al
inc rcx
cmp rcx, 0xf
jb 0x180242730
mov byte [rbp + 0x60], 0
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x5f]
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x78]
call fcn.18012e260
nop
lea r9, [rbp + 0x68]
lea r8, [rsp + 0x78]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.180129760
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x1802427b4
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1802427ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802427ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
nop
mov rdx, qword [rbp + 0x80]
cmp rdx, 0x10
jb 0x1802427f6
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1802427f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802427f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
nop
lea rdx, [r12 + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x18024280c
mov rdx, qword [rdx]
lea rcx, [rbp - 0x68]
call fcn.1800268f0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x20]
call fcn.180238410
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x180242857
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.1800268f0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x40], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x68]
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x48]
call fcn.1802385d0
nop
lea rdx, [r12 + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1802428a8
mov rdx, qword [rdx]
mov rcx, rax
call fcn.1800268f0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x78], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x18024290c
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180242907
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180242907
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
movdqa xmm0, xmmword [0x1802baae0]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x18024295c
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180242956
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180242956
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x18024299a
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180242995
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180242995
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
movdqa xmm0, xmmword [0x1802baae0]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x1802429eb
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1802429e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802429e5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x180242a29
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180242a24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180242a24
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
movdqa xmm0, xmmword [0x1802baae0]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
lea rax, [rsp + 0x78]
mov qword [rbp - 0x28], rax
lea rdx, [r12 + 0x80]
lea rcx, [rsp + 0x78]
call fcn.1801193c0
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], r15
lea rsi, [rbp + 0x68]
mov r13, qword [rbp + 0x68]
cmp qword [rbp + 0x80], 0x10
cmovae rsi, r13
movabs rbx, 0x7fffffffffffffff
mov rdi, qword [rbp + 0x78]
cmp rdi, rbx
ja 0x180243274
mov qword [rbp + 0x48], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x180242ab8
mov qword [rbp + 0x40], rdi
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rsi
lea rcx, [rbp + 0x30]
call sub.VCRUNTIME140.dll_memmove
jmp 0x180242b0a
mov rax, rdi
or rax, 0xf
cmp rax, rbx
ja 0x180242ad3
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, [rbp + 0x30]
call fcn.1800274a0
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x48], rbx
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
mov r8, r14
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x88]
call fcn.180247d90
nop
mov qword [rbp + 0x18], r15
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp - 0x20]
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0x20]
call fcn.18023b810
nop
mov dword [rsp + 0x38], 0xdddec9c6
mov dword [rsp + 0x3c], 0xd4d7ce
mov byte [rsp + 0x40], 1
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx - 0x55]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 7
jb 0x180242b60
mov byte [rsp + 0x40], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x68]
call fcn.18012e260
nop
mov rbx, qword [rsp + 0x38]
movzx ecx, byte [rbp + 0x20]
test cl, cl
jne 0x180242bae
mov byte [rbp + 0x20], 1
call fcn.18023a080
mov qword [rbp + 0x28], rax
movzx ecx, byte [rbp + 0x20]
jmp 0x180242bb2
mov rax, qword [rbp + 0x28]
cmp cl, 1
jne 0x180242bc6
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.18023efe0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
movdqa xmm1, xmmword [0x1802baae0]
movdqu xmmword [rbp + 0x40], xmm1
mov byte [rbp + 0x30], 0
mov dword [rsp + 0x48], 0x5bf80
cmp byte [rbx], 3
jne 0x180242bfa
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x30]
cmp rax, rdx
je 0x180242c15
jmp 0x180242bfd
mov rdx, r15
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180242c0b
mov rdx, qword [rdx]
lea rcx, [rbp + 0x30]
call fcn.18011d230
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x180242c53
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180242c4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180242c4e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
movdqa xmm0, xmmword [0x1802baae0]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0xb0]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1802baa08]
mov qword [rbp + 0xb0], rax
lea rax, [0x1802baa10]
mov qword [rbp + 0xc0], rax
lea rcx, [rbp + 0x148]
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], 0x3bfc0
xor r8d, r8d
lea rdx, [rbp + 0xc8]
lea rcx, [rbp + 0xb0]
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 + 0xb0]
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 + 0xb0], rax
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xac], edx
lea rcx, [rbp + 0xc8]
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 + 0xc8], rax
mov qword [rbp + 0x130], r15
mov dword [rbp + 0x138], r15d
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1802996d0
mov rsi, rax
mov qword [rbp + 0x50], rax
lea r15, [rax + 0x20]
mov qword [rbp + 0x60], r15
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0x58], r15
lea r8, [rbp + 0x88]
cmp qword [rbp + 0xa0], 0x10
cmovae r8, qword [rbp + 0x88]
lea rcx, [r12 + 0x258]
cmp qword [rcx + 0x18], 0x10
jb 0x180242d74
mov rcx, qword [rcx]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], rsi
mov r9, qword [rbp + 0x98]
mov rdx, qword [r12 + 0x268]
call fcn.18024ee60
mov r14, rsi
cmp rsi, r15
je 0x180242dfd
nop
movzx edi, byte [r14]
lea rdx, [0x180243980]
lea rcx, [rbp + 0xc0]
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 r14
cmp r14, r15
jne 0x180242da0
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
movdqa xmm1, xmmword [0x1802baae0]
movdqu xmmword [rbp - 0x58], xmm1
mov byte [rbp - 0x68], 0
mov dword [rsp + 0x48], 0x3bfc2
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
mov ecx, dword [rbp + 0x138]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x180242e64
mov rax, qword [rbp + 0x108]
mov r8, qword [rax]
test r8, r8
je 0x180242e64
mov rax, qword [rbp + 0xe8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x130]
cmovb r8, qword [rbp + 0x130]
sub r8, rdx
jmp 0x180242e9e
test cl, 4
jne 0x180242e94
mov rax, qword [rbp + 0x100]
mov rcx, qword [rax]
test rcx, rcx
je 0x180242e94
mov rax, qword [rbp + 0xe0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x118]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x180242e9e
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x180242ead
lea rcx, [rbp - 0x68]
call fcn.18011d230
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x180242eeb
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180242ee6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180242ee6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.18023dfc0
mov rdx, rax
mov rcx, r12
call fcn.180245660
mov dword [rsp + 0x38], 0xcdced9d8
mov dword [rsp + 0x3c], 0xc2c3ca
mov byte [rsp + 0x40], 1
xor edi, edi
mov ecx, edi
nop dword [rax]
lea eax, [rcx - 0x55]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 7
jb 0x180242f20
mov byte [rsp + 0x40], dil
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x78]
call fcn.18012e260
nop
movzx ecx, byte [rbp + 0x20]
test cl, cl
jne 0x180242f6a
mov byte [rbp + 0x20], 1
call fcn.18023a080
mov qword [rbp + 0x28], rax
movzx ecx, byte [rbp + 0x20]
jmp 0x180242f6e
mov rax, qword [rbp + 0x28]
cmp cl, 1
jne 0x180242f85
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.18023efe0
mov rcx, rax
jmp 0x180242f8a
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, rdi
movzx ebx, byte [rax]
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x180242fd7
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180242fd2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180242fd2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
test bl, bl
je 0x1802430c0
mov dword [rsp + 0x38], 0xc7dddcca
mov dword [rsp + 0x3c], 0xded6c1
mov byte [rsp + 0x40], 1
mov rcx, rdi
nop word [rax + rax]
lea eax, [rcx - 0x55]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 7
jb 0x180243000
mov byte [rsp + 0x40], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x78]
call fcn.18012e260
nop
movzx ecx, byte [rbp + 0x20]
test cl, cl
jne 0x18024304a
mov byte [rbp + 0x20], 1
call fcn.18023a080
mov qword [rbp + 0x28], rax
movzx ecx, byte [rbp + 0x20]
jmp 0x18024304e
mov rax, qword [rbp + 0x28]
cmp cl, 1
jne 0x180243062
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.18023efe0
jmp 0x180243067
mov rax, qword [rsp + 0x38]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.18023dfc0
mov rdx, rax
mov rcx, r12
call fcn.1802454e0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x1802430c0
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1802430ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802430ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
nop
test rsi, rsi
je 0x1802430f9
sub r15, rsi
cmp r15, 0x1000
jb 0x1802430ed
add r15, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x18024318b
mov rsi, rcx
mov rdx, r15
mov rcx, rsi
call fcn.18029970c
nop
mov rax, qword [rbp + 0xb0]
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 + 0xb0], rax
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xac], edx
lea rcx, [rbp + 0xc8]
call fcn.18023e6f0
lea rcx, [rbp + 0xd0]
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 + 0x148]
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 + 0x48]
cmp rdx, 0x10
jb 0x180243198
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180243192
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180243192
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.18029970c
nop
movzx edx, byte [rbp + 0x20]
lea rcx, [rbp + 0x28]
call fcn.180241490
nop
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0x10
jb 0x1802431ea
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1802431e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802431e5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
mov qword [rbp + 0x98], rdi
mov qword [rbp + 0xa0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x88], 0
mov rax, qword [rbp + 0x80]
cmp rax, 0x10
jb 0x180243244
lea rdx, [rax + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x18024323c
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18024323c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.18029970c
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.180299b50
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1800266e0
nop
int3