Function at 0x1400965c0
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 [0x140182840]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov rbx, rdx
mov qword [rbp - 0x28], rdx
mov r15, rcx
mov qword [rbp + 0xc8], rdx
xor r13d, r13d
mov dword [rsp + 0x40], r13d
cmp byte [0x140189c90], r13b
jne 0x14009664e
mov qword [rbp + 0x118], r13
mov qword [rbp + 0x128], r13
mov qword [rbp + 0x130], reloc.WS2_32.dll_ntohs
lea r8d, [r13 + 0x52]
lea rdx, str.You_need_to_run_the_KeyAuthApp.init____function_before_any_other_KeyAuth_functions
lea rcx, [rbp + 0x118]
call fcn.14007c570
lea rcx, [rbp + 0x118]
call fcn.140092d00
lea rcx, [rbp + 0x158]
call fcn.1400a08d0
nop
mov dword [rsp + 0x78], 0xa9b1aae2
mov dword [rsp + 0x7c], 0xafa3bbad
mov word [rbp - 0x80], 0xf1
mov byte [rbp - 0x7e], 1
mov dword [rsp + 0x48], 0xaaa7abe2
mov dword [rsp + 0x4c], 0x100f4ad
mov dword [rbp - 0x78], 0xb4a3b6e2
mov dword [rbp - 0x74], 0xa5a5a0bb
mov dword [rbp - 0x70], 0xf3a9a5
mov byte [rbp - 0x6c], 1
mov dword [rsp + 0x50], 0xaeb1ade2
mov dword [rsp + 0x54], 0x100f4ac
mov dword [rsp + 0x40], 0xbea3aee2
mov word [rsp + 0x44], 0xf5
mov byte [rsp + 0x46], 1
mov dword [rsp + 0x58], 0xa2b6bcb0
mov dword [rsp + 0x5c], 0xa8a3a5f5
mov dword [rsp + 0x60], 0xaabda3a9
mov word [rsp + 0x64], 0x100
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x40]
call fcn.140087460
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140096702
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.14007c460
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x20]
call fcn.140086930
nop
lea rdx, [rbp + 0x158]
cmp qword [rbp + 0x170], 0x10
cmovae rdx, qword [rbp + 0x158]
mov r8, qword [rbp + 0x168]
mov rcx, rax
call fcn.14007c460
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x88], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x98], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp - 0x78]
lea rdx, [rbp + 0x88]
lea rcx, [rbp]
call fcn.140087360
nop
lea rdx, [r15 + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400967b3
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14007c460
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x70], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x20]
call fcn.140086930
nop
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x1400967f9
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
mov rcx, rax
call fcn.14007c460
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xe0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf0], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0xe0]
lea rcx, [rbp - 0x68]
call fcn.140086f80
nop
lea rdx, [r15 + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140096851
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14007c460
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x118], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x128], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x1400968bb
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400968b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400968b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140102074
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], 0
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0x10
jb 0x140096910
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009690a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009690a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140102074
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14009694e
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140096949
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140096949
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140102074
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x14009699d
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140096997
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140096997
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140102074
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x1400969db
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400969d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400969d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140102074
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp], 0
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0x10
jb 0x140096a30
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140096a2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140096a2a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140102074
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x140096a6e
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140096a69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140096a69
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140102074
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x20], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140096abd
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140096ab7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140096ab7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140102074
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x140096afb
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140096af6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140096af6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140102074
mov qword [rbp + 0x50], r13
mov qword [rbp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x40], 0
lea rax, [rbp - 0x48]
mov qword [rbp + 0x80], rax
lea rdx, [r15 + 0x80]
lea rcx, [rbp - 0x48]
call fcn.140078730
mov r14, rax
mov qword [rbp + 0xe0], r13
mov qword [rbp + 0xf0], r13
mov qword [rbp + 0xf8], r13
lea rdi, [rbp + 0x118]
mov r12, qword [rbp + 0x118]
cmp qword [rbp + 0x130], 0x10
cmovae rdi, r12
mov rsi, qword [rbp + 0x128]
cmp rsi, 0x10
jae 0x140096b76
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0xe0], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x140096bf2
mov rbx, rsi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140096bcd
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400974ec
mov rcx, rax
call fcn.14010262c
mov rcx, rax
test rax, rax
je 0x140096bc6
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140096bdc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140096bd9
call fcn.14010262c
jmp 0x140096bdc
mov rax, r13
mov qword [rbp + 0xe0], rax
lea r8, [rsi + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0xf0], rsi
mov qword [rbp + 0xf8], rbx
mov r8, r14
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x138]
call fcn.140099c20
nop
mov qword [rbp + 0xc0], r13
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0x88]
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0xd0]
call fcn.14008aa20
nop
mov dword [rsp + 0x30], 0xb4b5a0a9
mov dword [rsp + 0x34], 0xafaea9
mov byte [rsp + 0x38], 1
mov rcx, r13
nop dword [rax]
lea eax, [rcx - 0x3c]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x140096c60
mov byte [rsp + 0x38], 0
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x58], 0
mov r8d, 7
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.14007c570
nop
mov rbx, qword [rsp + 0x30]
movzx ecx, byte [rbp + 0xd0]
test cl, cl
jne 0x140096ccf
mov byte [rbp + 0xd0], 1
call fcn.1400892c0
mov qword [rbp + 0xd8], rax
movzx ecx, byte [rbp + 0xd0]
jmp 0x140096cd6
mov rax, qword [rbp + 0xd8]
cmp cl, 1
jne 0x140096ceb
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.14008e1b0
mov rbx, rax
mov qword [rbp + 0xe0], r13
mov qword [rbp + 0xf0], r13
mov r13d, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xf8], r13
mov byte [rbp + 0xe0], 0
mov dword [rsp + 0x40], 0x17f
cmp byte [rbx], 3
jne 0x140096d2e
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0xe0]
xor ebx, ebx
cmp rax, rdx
je 0x140096d53
jmp 0x140096d32
xor ebx, ebx
mov edx, ebx
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140096d40
mov rdx, qword [rdx]
lea rcx, [rbp + 0xe0]
call fcn.14007c570
mov r13, qword [rbp + 0xf8]
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140096d93
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140096d8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140096d8e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140102074
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x58], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x180]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1401354a0]
mov qword [rbp + 0x180], rax
lea rax, [0x1401354a8]
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 + 0x40], 0x2ff
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], rbx
mov dword [rbp + 0x208], ebx
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x100], xmm1
mov qword [rbp + 0x110], rbx
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14010262c
mov qword [rbp + 0x100], rax
lea r9, [rax + 0x20]
mov qword [rbp + 0x110], r9
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0x108], r9
mov rax, qword [rbp + 0x100]
sub r9, rax
lea r8, [rbp + 0x138]
cmp qword [rbp + 0x150], 0x10
cmovae r8, qword [rbp + 0x138]
lea rcx, [r15 + 0x258]
cmp qword [rcx + 0x18], 0x10
jb 0x140096ecf
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x148]
mov rdx, qword [r15 + 0x268]
call fcn.1400a0d50
mov r14, qword [rbp + 0x108]
mov rsi, qword [rbp + 0x100]
cmp rsi, r14
je 0x140096f5c
nop
movzx edi, byte [rsi]
lea rdx, [0x140094bc0]
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 + 0x58]
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, r14
jne 0x140096f00
lea rsi, [0x1401827a8]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rsi, qword [0x1401827a8]
xor r14d, r14d
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x58], r14
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x50], rdi
mov byte [rbp - 0x68], r14b
mov dword [rsp + 0x40], 0xaff
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
mov ecx, dword [rbp + 0x208]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140096fdd
mov rax, qword [rbp + 0x1d8]
mov r8, qword [rax]
test r8, r8
je 0x140096fdd
mov rax, qword [rbp + 0x1b8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x200]
cmovb r8, qword [rbp + 0x200]
sub r8, rdx
jmp 0x140097017
test cl, 4
jne 0x14009700d
mov rax, qword [rbp + 0x1d0]
mov rcx, qword [rax]
test rcx, rcx
je 0x14009700d
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 0x140097017
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140097029
lea rcx, [rbp - 0x68]
call fcn.14007c570
mov rdi, qword [rbp - 0x50]
lea rcx, [rbp - 0x68]
mov rbx, qword [rbp - 0x68]
cmp rdi, 0x10
cmovae rcx, rbx
mov r8d, 8
mov rdx, rsi
call fcn.140090c70
movzx esi, al
cmp rdi, 0x10
jb 0x140097084
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14009707c
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009707c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140102074
test sil, sil
jne 0x1400970af
lea r8, [rbp + 0xe0]
lea rdx, str.Signature_checksum_failed._Request_was_tampered_with_or_session_ended_most_likely.__echo:__echo_Message:
lea rcx, [rbp - 0x48]
call fcn.1400867d0
mov rcx, rax
call fcn.140092d00
mov r13, qword [rbp + 0xf8]
lea rdx, [rbp + 0xd0]
lea rcx, [rsp + 0x58]
call fcn.14008cef0
mov rdx, rax
mov rcx, r15
call fcn.140097670
mov dword [rsp + 0x30], 0xa4a5b0b7
mov dword [rsp + 0x34], 0xb9baad
mov byte [rsp + 0x38], 1
mov rcx, r14
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x3c]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x1400970f0
mov byte [rsp + 0x38], 0
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], 0
mov r8d, 7
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.14007c570
nop
movzx ecx, byte [rbp + 0xd0]
test cl, cl
jne 0x140097155
mov byte [rbp + 0xd0], 1
call fcn.1400892c0
mov qword [rbp + 0xd8], rax
movzx ecx, byte [rbp + 0xd0]
jmp 0x14009715c
mov rax, qword [rbp + 0xd8]
cmp cl, 1
jne 0x140097172
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.14008e1b0
mov rcx, rax
jmp 0x140097177
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, r14
movzx ebx, byte [rax]
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x1400971c3
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400971be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400971be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140102074
test bl, bl
je 0x1400972bb
mov dword [rsp + 0x40], 0xa8a0abad
mov word [rsp + 0x44], 0x100
mov rcx, r14
nop dword [rax]
lea eax, [rcx - 0x3c]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 4
jb 0x1400971e0
mov byte [rsp + 0x45], 0
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], 0
mov r8d, 4
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.14007c570
nop
movzx eax, byte [rbp + 0xd0]
test al, al
jne 0x140097248
mov byte [rbp + 0xd0], 1
call fcn.1400892c0
mov rcx, rax
mov qword [rbp + 0xd8], rax
movzx eax, byte [rbp + 0xd0]
jmp 0x14009724f
mov rcx, qword [rbp + 0xd8]
cmp al, 1
jne 0x14009725e
lea rdx, [rbp - 0x68]
call fcn.14008e1b0
jmp 0x140097263
mov rax, qword [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14008cef0
mov rdx, rax
mov rcx, r15
call fcn.140097720
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x1400972bb
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400972b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400972b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140102074
nop
mov rcx, qword [rbp + 0x100]
test rcx, rcx
je 0x140097310
mov rdx, qword [rbp + 0x110]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400972f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400972f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140102074
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x100], xmm0
mov qword [rbp + 0x110], r14
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.14008d830
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
cmp r13, 0x10
jb 0x1400973a8
lea rdx, [r13 + 1]
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400973a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400973a2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140102074
nop
movzx edx, byte [rbp + 0xd0]
lea rcx, [rbp + 0xd8]
call fcn.140091520
nop
mov rdx, qword [rbp + 0x150]
cmp rdx, 0x10
jb 0x140097400
inc rdx
mov rcx, qword [rbp + 0x138]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400973fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400973fb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140102074
mov qword [rbp + 0x148], r14
mov qword [rbp + 0x150], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x138], 0
mov rax, qword [rbp + 0x130]
cmp rax, 0x10
jb 0x14009745c
lea rdx, [rax + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x140097453
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140097453
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.140102074
nop
mov rdx, qword [rbp + 0x170]
cmp rdx, 0x10
jb 0x1400974a0
inc rdx
mov rcx, qword [rbp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009749b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009749b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140102074
mov qword [rbp + 0x168], r14
mov qword [rbp + 0x170], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x158], 0
mov rcx, qword [rbp - 0x28]
call fcn.14008f520
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.140102190
mov rbx, qword [rsp + 0x3e0]
add rsp, 0x390
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14007bf30
nop
int3