Function at 0x180069ce0
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 [0x1804ccc80]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov r12, rcx
xor r15d, r15d
mov dword [rsp + 0x58], r15d
cmp byte [0x18065b1b0], r15b
jne 0x180069d69
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.180019270
lea rcx, [rbp - 0x78]
call fcn.18006cca0
lea ecx, [r15 + 0xb]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_raise]
lea rcx, [rbp + 0x140]
call fcn.180079c00
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 [0x180213330]
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 0x180069df0
mov byte [rsp + 0x5f], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x5e]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x18]
call fcn.18001c640
nop
cmp byte [rbp - 0x44], 0
je 0x180069e44
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx - 0x20]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 0x13
jb 0x180069e30
mov byte [rbp - 0x44], 0
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x45]
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0xb0]
call fcn.18001c640
nop
lea r9, [rbp - 0x18]
lea r8, [rbp + 0xb0]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.180038210
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x180069ebd
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180069eb7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180069eb7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c4f84
nop
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x180069efc
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180069ef6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180069ef6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c4f84
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.18004ccc0
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.180061840
nop
lea rdx, [r12 + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180069f73
mov rdx, qword [rdx]
mov rcx, rax
call fcn.18004ccc0
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.180061480
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x180069fbb
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.18004ccc0
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.180061760
nop
lea rdx, [r12 + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x18006a00c
mov rdx, qword [rdx]
mov rcx, rax
call fcn.18004ccc0
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 0x18006a076
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006a071
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006a071
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c4f84
movdqa xmm0, xmmword [0x1802131b0]
movdqu xmmword [rbp + 0x20], xmm0
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x18006a0c6
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006a0c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006a0c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c4f84
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x18006a104
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006a0ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006a0ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c4f84
movdqa xmm0, xmmword [0x1802131b0]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], 0
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x18006a154
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006a14e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006a14e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c4f84
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x18006a195
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006a190
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006a190
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c4f84
movdqa xmm0, xmmword [0x1802131b0]
movdqu xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x18006a1ee
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006a1e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006a1e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c4f84
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x18006a22c
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006a227
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006a227
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c4f84
movdqa xmm0, xmmword [0x1802131b0]
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.180038020
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 0x18006a9f1
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x18006a2c6
mov qword [rbp - 0x68], rdi
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x78], xmm0
jmp 0x18006a31a
mov rbx, rdi
or rbx, 0xf
cmp rbx, r13
jbe 0x18006a2d7
mov rbx, r13
jmp 0x18006a2e3
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.18001ae70
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.180072a70
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.1800643b0
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 0x18006a370
mov byte [rsp + 0x50], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x4f]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x40]
call fcn.18001c640
nop
mov rbx, qword [rsp + 0x48]
movzx ecx, byte [rbp + 0xf0]
test cl, cl
jne 0x18006a3ca
mov byte [rbp + 0xf0], 1
call fcn.180062e60
mov qword [rbp + 0xf8], rax
movzx ecx, byte [rbp + 0xf0]
jmp 0x18006a3d1
mov rax, qword [rbp + 0xf8]
cmp cl, 1
jne 0x18006a3e5
lea rdx, [rbp - 0x40]
mov rcx, rax
call fcn.180067b70
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
movdqa xmm1, xmmword [0x1802131b0]
movdqu xmmword [rbp + 0x130], xmm1
mov byte [rbp + 0x120], 0
mov dword [rsp + 0x58], 0x7fac
cmp byte [rbx], 3
jne 0x18006a425
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x120]
cmp rax, rdx
je 0x18006a443
jmp 0x18006a428
mov rdx, r15
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x18006a436
mov rdx, qword [rdx]
lea rcx, [rbp + 0x120]
call fcn.18004d460
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x18006a481
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006a47c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006a47c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c4f84
movdqa xmm0, xmmword [0x1802131b0]
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, [0x180212ec8]
mov qword [rbp + 0x1a0], rax
lea rax, [0x180212ed0]
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.1800c4f40
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 0x18006a5ae
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.18007a070
mov r14, rsi
cmp rsi, r15
je 0x18006a643
nop dword [rax + rax]
movzx edi, byte [r14]
lea rdx, [0x18006ddd0]
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 0x18006a5e0
lea rbx, [0x1804ccbc0]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rbx, qword [0x1804ccbc0]
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x1a0]
call fcn.180074fc0
cmp qword [rax + 0x18], 0x10
jb 0x18006a674
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 0x18006a71d
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006a718
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006a718
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c4f84
xor edi, edi
test ebx, ebx
je 0x18006a7bb
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.180019270
lea rdx, [rbp - 0x40]
mov rcx, r12
call fcn.180068dd0
lea r8, [r12 + 0x140]
mov rax, qword [r8 + 0x10]
sub r13, rax
cmp r13, 0x57
jb 0x18006a9eb
mov r9, r8
cmp qword [r8 + 0x18], 0x10
jb 0x18006a77c
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.180038660
lea rdx, [rbp - 0x18]
mov rcx, r12
call fcn.180070ff0
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.1800611c0
lea rcx, [rax + 8]
cmp byte [rax], 4
cmovne rcx, rdi
movzx ebx, byte [rcx]
test rsi, rsi
je 0x18006a815
sub r15, rsi
cmp r15, 0x1000
jb 0x18006a809
add r15, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x18006a8ad
mov rsi, rcx
mov rdx, r15
mov rcx, rsi
call fcn.1800c4f84
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.180067260
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 0x18006a8ba
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006a8b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006a8b4
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.1800c4f84
nop
movzx edx, byte [rbp + 0xf0]
lea rcx, [rbp + 0xf8]
call fcn.18006b540
nop
mov rdx, qword [rbp + 0x118]
cmp rdx, 0x10
jb 0x18006a912
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006a90d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006a90d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c4f84
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 0x18006a96a
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006a964
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006a964
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c4f84
nop
mov rdx, qword [rbp + 0x158]
cmp rdx, 0x10
jb 0x18006a9ae
inc rdx
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006a9a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006a9a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c4f84
movzx eax, bl
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.1800c5020
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.1800186d0
nop
call fcn.1800186d0
int3