Function at 0x18006b420
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 [0x1804ccc40]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov r12, rcx
xor r15d, r15d
mov dword [rsp + 0x58], r15d
cmp byte [0x18065ad98], r15b
jne 0x18006b4a9
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.180017280
lea rcx, [rbp - 0x78]
call fcn.18006e3e0
lea ecx, [r15 + 0xb]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_raise]
lea rcx, [rbp + 0x140]
call fcn.18007b340
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 [0x180213d20]
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 0x18006b530
mov byte [rsp + 0x5f], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x5e]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x18]
call fcn.18001ad90
nop
cmp byte [rbp - 0x44], 0
je 0x18006b584
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx - 0x20]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 0x13
jb 0x18006b570
mov byte [rbp - 0x44], 0
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x45]
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0xb0]
call fcn.18001ad90
nop
lea r9, [rbp - 0x18]
lea r8, [rbp + 0xb0]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.180068340
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x18006b5fd
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006b5f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006b5f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c6398
nop
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x18006b63c
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006b636
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006b636
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c6398
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.18004e930
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.180062dd0
nop
lea rdx, [r12 + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x18006b6b3
mov rdx, qword [rdx]
mov rcx, rax
call fcn.18004e930
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.180062a10
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x18006b6fb
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.18004e930
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.180062cf0
nop
lea rdx, [r12 + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x18006b74c
mov rdx, qword [rdx]
mov rcx, rax
call fcn.18004e930
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 0x18006b7b6
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006b7b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006b7b1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c6398
movdqa xmm0, xmmword [0x180213ba0]
movdqu xmmword [rbp + 0x20], xmm0
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x18006b806
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006b800
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006b800
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c6398
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x18006b844
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006b83f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006b83f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c6398
movdqa xmm0, xmmword [0x180213ba0]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], 0
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x18006b894
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006b88e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006b88e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c6398
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x18006b8d5
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006b8d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006b8d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c6398
movdqa xmm0, xmmword [0x180213ba0]
movdqu xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x18006b92e
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006b928
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006b928
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c6398
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x18006b96c
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006b967
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006b967
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c6398
movdqa xmm0, xmmword [0x180213ba0]
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.180038530
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 0x18006c131
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x18006ba06
mov qword [rbp - 0x68], rdi
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x78], xmm0
jmp 0x18006ba5a
mov rbx, rdi
or rbx, 0xf
cmp rbx, r13
jbe 0x18006ba17
mov rbx, r13
jmp 0x18006ba23
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.180019570
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.1800741b0
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.180065940
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 0x18006bab0
mov byte [rsp + 0x50], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x4f]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x40]
call fcn.18001ad90
nop
mov rbx, qword [rsp + 0x48]
movzx ecx, byte [rbp + 0xf0]
test cl, cl
jne 0x18006bb0a
mov byte [rbp + 0xf0], 1
call fcn.1800643f0
mov qword [rbp + 0xf8], rax
movzx ecx, byte [rbp + 0xf0]
jmp 0x18006bb11
mov rax, qword [rbp + 0xf8]
cmp cl, 1
jne 0x18006bb25
lea rdx, [rbp - 0x40]
mov rcx, rax
call fcn.1800692b0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
movdqa xmm1, xmmword [0x180213ba0]
movdqu xmmword [rbp + 0x130], xmm1
mov byte [rbp + 0x120], 0
mov dword [rsp + 0x58], 0x7fac
cmp byte [rbx], 3
jne 0x18006bb65
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x120]
cmp rax, rdx
je 0x18006bb83
jmp 0x18006bb68
mov rdx, r15
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x18006bb76
mov rdx, qword [rdx]
lea rcx, [rbp + 0x120]
call fcn.18004f140
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x18006bbc1
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006bbbc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006bbbc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c6398
movdqa xmm0, xmmword [0x180213ba0]
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, [0x1802138b8]
mov qword [rbp + 0x1a0], rax
lea rax, [0x1802138c0]
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.1800c6354
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 0x18006bcee
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.18007b7b0
mov r14, rsi
cmp rsi, r15
je 0x18006bd83
nop dword [rax + rax]
movzx edi, byte [r14]
lea rdx, [0x18006f510]
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 0x18006bd20
lea rbx, [0x1804ccbb8]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rbx, qword [0x1804ccbb8]
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x1a0]
call fcn.180076700
cmp qword [rax + 0x18], 0x10
jb 0x18006bdb4
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 0x18006be5d
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006be58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006be58
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c6398
xor edi, edi
test ebx, ebx
je 0x18006befb
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.180017280
lea rdx, [rbp - 0x40]
mov rcx, r12
call fcn.18006a510
lea r8, [r12 + 0x140]
mov rax, qword [r8 + 0x10]
sub r13, rax
cmp r13, 0x57
jb 0x18006c12b
mov r9, r8
cmp qword [r8 + 0x18], 0x10
jb 0x18006bebc
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.180038720
lea rdx, [rbp - 0x18]
mov rcx, r12
call fcn.180072730
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.180062750
lea rcx, [rax + 8]
cmp byte [rax], 4
cmovne rcx, rdi
movzx ebx, byte [rcx]
test rsi, rsi
je 0x18006bf55
sub r15, rsi
cmp r15, 0x1000
jb 0x18006bf49
add r15, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x18006bfed
mov rsi, rcx
mov rdx, r15
mov rcx, rsi
call fcn.1800c6398
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.1800689a0
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 0x18006bffa
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006bff4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006bff4
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.1800c6398
nop
movzx edx, byte [rbp + 0xf0]
lea rcx, [rbp + 0xf8]
call fcn.18006cc80
nop
mov rdx, qword [rbp + 0x118]
cmp rdx, 0x10
jb 0x18006c052
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006c04d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006c04d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c6398
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 0x18006c0aa
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006c0a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006c0a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c6398
nop
mov rdx, qword [rbp + 0x158]
cmp rdx, 0x10
jb 0x18006c0ee
inc rdx
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006c0e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006c0e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c6398
movzx eax, bl
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.1800c6440
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.1800194d0
nop
call fcn.1800194d0
int3