Function at 0x180065eb0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2f8]
sub rsp, 0x3d0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x18047d0c0]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov r12, rcx
xor r15d, r15d
mov dword [rsp + 0x58], r15d
cmp byte [0x18064ce98], r15b
jne 0x180065f39
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], r15
lea r8d, [r15 + 0x52]
lea rdx, str.You_need_to_run_the_KeyAuthApp.init____function_before_any_other_KeyAuth_functions
lea rcx, [rbp - 0x78]
call fcn.18001a6e0
lea rcx, [rbp - 0x78]
call fcn.180068090
lea ecx, [r15 + 0xb]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_raise]
lea rcx, [rbp + 0x140]
call fcn.180074dc0
nop
mov dword [rsp + 0x68], 0x8d958ec6
mov dword [rsp + 0x6c], 0x838f9781
mov word [rsp + 0x70], Ordinal_217
mov byte [rsp + 0x72], 1
mov dword [rsp + 0x60], 0x8e838fc6
mov dword [rsp + 0x64], 0x100d881
mov dword [rsp + 0x78], 0x908792c6
mov dword [rsp + 0x7c], 0x89898c97
mov dword [rbp - 0x80], 0xd78d81
mov byte [rbp - 0x7c], 1
mov dword [rsp + 0x58], 0x8a9589c6
mov dword [rsp + 0x5c], 0x100d880
movdqa xmm0, xmmword [0x180204640]
movdqu xmmword [rbp - 0x58], xmm0
mov dword [rbp - 0x48], 0x868299
mov byte [rbp - 0x44], 1
mov rcx, r15
nop dword [rax + rax]
lea eax, [rcx - 0x20]
xor byte [rsp + rcx + 0x58], al
inc rcx
cmp rcx, 6
jb 0x180065fc0
mov byte [rsp + 0x5f], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x5e]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x18]
call fcn.180042f30
nop
cmp byte [rbp - 0x44], 0
je 0x180066014
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx - 0x20]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 0x13
jb 0x180066000
mov byte [rbp - 0x44], 0
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x45]
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0xb0]
call fcn.180042f30
nop
lea r9, [rbp - 0x18]
lea r8, [rbp + 0xb0]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.18003ed70
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x18006608d
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180066087
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180066087
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c00e0
nop
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x1800660cc
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800660c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800660c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c00e0
nop
lea rdx, [rbp + 0x140]
cmp qword [rbp + 0x158], 0x10
cmovae rdx, qword [rbp + 0x140]
mov r8, qword [rbp + 0x150]
lea rcx, [rbp - 0x40]
call fcn.180033380
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x90], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa0], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x70]
call fcn.18005da10
nop
lea rdx, [r12 + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180066143
mov rdx, qword [rdx]
mov rcx, rax
call fcn.180033380
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x60], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x30]
call fcn.18005d650
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x18006618b
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.180033380
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], 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 - 0x78]
lea rcx, [rbp + 0x10]
call fcn.18005d930
nop
lea rdx, [r12 + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1800661dc
mov rdx, qword [rdx]
mov rcx, rax
call fcn.180033380
movups xmm7, xmmword [rax]
movups xmmword [rbp + 0x178], xmm7
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp + 0x188], xmm6
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x180066246
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180066241
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180066241
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c00e0
movdqa xmm0, xmmword [0x1802044c0]
movdqu xmmword [rbp + 0x20], xmm0
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x180066296
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180066290
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180066290
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c00e0
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x1800662d4
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800662cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800662cf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c00e0
movdqa xmm0, xmmword [0x1802044c0]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], 0
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x180066324
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006631e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006631e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c00e0
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x180066365
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180066360
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180066360
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c00e0
movdqa xmm0, xmmword [0x1802044c0]
movdqu xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x1800663be
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800663b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800663b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c00e0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1800663fc
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800663f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800663f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c00e0
movdqa xmm0, xmmword [0x1802044c0]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
lea rax, [rbp - 0x18]
mov qword [rsp + 0x48], rax
lea rdx, [r12 + 0x80]
lea rcx, [rbp - 0x18]
call fcn.180025d50
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], r15
lea rsi, [rbp + 0x178]
movq rax, xmm7
mov qword [rbp - 0x20], rax
movdqa xmm0, xmm6
psrldq xmm0, 8
movq rcx, xmm0
mov qword [rbp + 8], rcx
cmp rcx, 0x10
cmovae rsi, rax
movabs r13, 0x7fffffffffffffff
movq rdi, xmm6
cmp rdi, r13
ja 0x180066bc1
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x180066496
mov qword [rbp - 0x68], rdi
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x78], xmm0
jmp 0x1800664ea
mov rbx, rdi
or rbx, 0xf
cmp rbx, r13
jbe 0x1800664a7
mov rbx, r13
jmp 0x1800664b3
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmp rbx, rax
cmovb rbx, rax
mov rdx, rbx
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rbp - 0x78]
call fcn.18001ada0
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], rbx
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
mov r8, r14
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x100]
call fcn.18006dc30
nop
mov qword [rbp + 0xe8], r15
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0xb0]
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0xf0]
call fcn.180060580
nop
mov dword [rsp + 0x48], 0x9091848d
mov dword [rsp + 0x4c], 0x838285
mov byte [rsp + 0x50], 1
mov rcx, r15
lea eax, [rcx - 0x20]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 7
jb 0x180066540
mov byte [rsp + 0x50], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x4f]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x40]
call fcn.180042f30
nop
mov rbx, qword [rsp + 0x48]
movzx ecx, byte [rbp + 0xf0]
test cl, cl
jne 0x18006659a
mov byte [rbp + 0xf0], 1
call fcn.18005f030
mov qword [rbp + 0xf8], rax
movzx ecx, byte [rbp + 0xf0]
jmp 0x1800665a1
mov rax, qword [rbp + 0xf8]
cmp cl, 1
jne 0x1800665b5
lea rdx, [rbp - 0x40]
mov rcx, rax
call fcn.180063d40
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
movdqa xmm1, xmmword [0x1802044c0]
movdqu xmmword [rbp + 0x130], xmm1
mov byte [rbp + 0x120], 0
mov dword [rsp + 0x58], 0x7fac
cmp byte [rbx], 3
jne 0x1800665f5
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x120]
cmp rax, rdx
je 0x180066613
jmp 0x1800665f8
mov rdx, r15
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180066606
mov rdx, qword [rdx]
lea rcx, [rbp + 0x120]
call fcn.1800330f0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x180066651
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006664c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006664c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c00e0
movdqa xmm0, xmmword [0x1802044c0]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x1a0]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1802041d8]
mov qword [rbp + 0x1a0], rax
lea rax, [0x1802041e0]
mov qword [rbp + 0x1b0], rax
lea rcx, [rbp + 0x238]
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 + 0x58], 0x7fdc
xor r8d, r8d
lea rdx, [rbp + 0x1b8]
lea rcx, [rbp + 0x1a0]
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 + 0x1a0]
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 + 0x1a0], rax
mov rax, qword [rbp + 0x1a0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x19c], edx
lea rcx, [rbp + 0x1b8]
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 + 0x1b8], rax
mov qword [rbp + 0x220], r15
mov dword [rbp + 0x228], r15d
xorps xmm0, xmm0
movups xmmword [rbp + 0x160], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1800c00e8
mov rsi, rax
mov qword [rbp + 0x160], rax
lea r15, [rax + 0x20]
mov qword [rbp + 0x170], r15
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0x168], r15
lea r8, [rbp + 0x100]
cmp qword [rbp + 0x118], 0x10
cmovae r8, qword [rbp + 0x100]
lea rcx, [r12 + 0x258]
cmp qword [rcx + 0x18], 0x10
jb 0x18006677e
mov rcx, qword [rcx]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], rsi
mov r9, qword [rbp + 0x110]
mov rdx, qword [r12 + 0x268]
call fcn.180075230
mov r14, rsi
cmp rsi, r15
je 0x180066813
nop dword [rax + rax]
movzx edi, byte [r14]
lea rdx, [0x1800691c0]
lea rcx, [rbp + 0x1b0]
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 rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0x30
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::fill_char____ptr64]
mov edx, 2
lea rcx, [rsp + 0x78]
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 0x1800667b0
lea rbx, [section..data]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rbx, qword [section..data]
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x1a0]
call fcn.180070180
cmp qword [rax + 0x18], 0x10
jb 0x180066844
mov rax, qword [rax]
movd xmm2, dword [rbx]
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
psrad xmm2, 0x18
movd xmm0, dword [rax]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm2, xmm0
movd xmm1, dword [rax + 4]
punpcklbw xmm1, xmm1
punpcklwd xmm1, xmm1
psrad xmm1, 0x18
movd xmm0, dword [rbx + 4]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
orps xmm2, xmm1
movdqa xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movd ebx, xmm2
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x1800668ed
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800668e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800668e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c00e0
xor edi, edi
test ebx, ebx
je 0x18006698b
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rdi
lea r8d, [rdi + 0x4d]
lea rdx, str.banned_for_failing_program_authenticity_check____Signature_checksum_failed_
lea rcx, [rbp - 0x40]
call fcn.18001a6e0
lea rdx, [rbp - 0x40]
mov rcx, r12
call fcn.180064fa0
lea r8, [r12 + 0x140]
mov rax, qword [r8 + 0x10]
sub r13, rax
cmp r13, 0x57
jb 0x180066bbb
mov r9, r8
cmp qword [r8 + 0x18], 0x10
jb 0x18006694c
mov r9, qword [r8]
mov qword [rsp + 0x30], 0x57
lea rdx, str._has_been_banned_for_failing_program_authenticity_check____Signature_checksum_failed_
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.18003f1c0
lea rdx, [rbp - 0x18]
mov rcx, r12
call fcn.18006c1b0
mov ecx, listen
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_raise]
lea rdx, str.success
lea rcx, [rbp + 0xf0]
call fcn.18005d390
lea rcx, [rax + 8]
cmp byte [rax], 4
cmovne rcx, rdi
movzx ebx, byte [rcx]
test rsi, rsi
je 0x1800669e5
sub r15, rsi
cmp r15, 0x1000
jb 0x1800669d9
add r15, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x180066a7d
mov rsi, rcx
mov rdx, r15
mov rcx, rsi
call fcn.1800c00e0
nop
mov rax, qword [rbp + 0x1a0]
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 + 0x1a0], rax
mov rax, qword [rbp + 0x1a0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x19c], edx
lea rcx, [rbp + 0x1b8]
call fcn.180063430
lea rcx, [rbp + 0x1c0]
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 + 0x238]
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 + 0x138]
cmp rdx, 0x10
jb 0x180066a8a
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180066a84
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180066a84
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.1800c00e0
nop
movzx edx, byte [rbp + 0xf0]
lea rcx, [rbp + 0xf8]
call fcn.180067710
nop
mov rdx, qword [rbp + 0x118]
cmp rdx, 0x10
jb 0x180066ae2
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180066add
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180066add
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c00e0
mov qword [rbp + 0x110], rdi
mov qword [rbp + 0x118], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x100], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x180066b3a
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180066b34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180066b34
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c00e0
nop
mov rdx, qword [rbp + 0x158]
cmp rdx, 0x10
jb 0x180066b7e
inc rdx
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180066b79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180066b79
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c00e0
movzx eax, bl
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.1800c00c0
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180017c40
nop
call fcn.180017c40
int3