Function at 0x1400c0bd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x320]
sub rsp, 0x420
mov rax, qword [0x14040b100]
xor rax, rsp
mov qword [rbp + 0x310], rax
mov rdi, r8
mov qword [rbp + 0x20], r8
mov rbx, rdx
mov qword [rbp + 0x18], rdx
mov r14, rcx
mov qword [rbp + 0x150], rdx
mov qword [rbp + 0x158], r8
xor esi, esi
mov dword [rsp + 0x50], esi
cmp byte [0x14040c1f8], sil
jne 0x1400c0c6a
mov qword [rbp + 0x188], rsi
mov qword [rbp + 0x198], rsi
mov qword [rbp + 0x1a0], reloc.WS2_32.dll_ntohs
lea r8d, [rsi + 0x52]
lea rdx, str.You_need_to_run_the_KeyAuthApp.init____function_before_any_other_KeyAuth_functions
lea rcx, [rbp + 0x188]
call fcn.1400ba840
lea rcx, [rbp + 0x188]
call fcn.1400bdb40
lea rcx, [rbp + 0x1e8]
call fcn.1400cb550
nop
mov dword [rsp + 0x68], 0xf1e9f2ba
mov dword [rsp + 0x6c], 0xc7cbd3c5
mov word [rsp + 0x70], 0x99
mov byte [rsp + 0x72], 1
mov dword [rsp + 0x58], 0xf2fff3ba
mov dword [rsp + 0x5c], 0x1009cc5
mov dword [rbp - 0x60], 0xecfbeeba
mov dword [rbp - 0x5c], 0xcdcdc8d3
mov dword [rbp - 0x58], 0x9bc1cd
mov byte [rbp - 0x54], 1
mov dword [rsp + 0x60], 0xf6e9f5ba
mov dword [rsp + 0x64], 0x1009cc4
mov dword [rsp + 0x50], 0xecffedba
mov dword [rsp + 0x54], 0x1009cd3
mov dword [rsp + 0x78], 0xfaede8ba
mov dword [rsp + 0x7c], 0xcec3cfd2
mov dword [rbp - 0x80], 0x10098c1
mov dword [rbp - 0x78], 0xfaeee4e8
mov dword [rbp - 0x74], 0xc4cdcd9d
mov dword [rbp - 0x70], 0x100cbcd
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 8]
call fcn.1400aee30
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400c0d28
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.1400ba7b0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0xa8]
call fcn.1400ae8c0
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400c0d75
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.1400ba7b0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x110], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x120], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x88]
call fcn.1400ae8c0
nop
lea rdx, [rbp + 0x1e8]
cmp qword [rbp + 0x200], 0x10
cmovae rdx, qword [rbp + 0x1e8]
mov r8, qword [rbp + 0x1f8]
mov rcx, rax
call fcn.1400ba7b0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xe8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf8], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0xe8]
lea rcx, [rbp + 0x68]
call fcn.1400aefa0
nop
lea rdx, [r14 + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400c0e32
mov rdx, qword [rdx]
mov rcx, rax
call fcn.1400ba7b0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd8], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0xc8]
lea rcx, [rbp + 0x48]
call fcn.1400ae8c0
nop
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1400c0e81
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
mov rcx, rax
call fcn.1400ba7b0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x28]
call fcn.1400aed30
nop
lea rdx, [r14 + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400c0ed0
mov rdx, qword [rdx]
mov rcx, rax
call fcn.1400ba7b0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x188], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x198], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x1400c0f3a
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c0f35
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c0f35
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401165f0
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x28], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x1400c0f89
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c0f83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c0f83
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401165f0
nop
mov rdx, qword [rbp + 0x60]
cmp rdx, 0x10
jb 0x1400c0fc7
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c0fc2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c0fc2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401165f0
mov qword [rbp + 0x58], rsi
mov qword [rbp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x48], 0
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0x10
jb 0x1400c101c
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c1016
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c1016
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401165f0
nop
mov rdx, qword [rbp + 0x80]
cmp rdx, 0x10
jb 0x1400c105d
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c1058
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c1058
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401165f0
mov qword [rbp + 0x78], rsi
mov qword [rbp + 0x80], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x68], 0
mov rdx, qword [rbp + 0x100]
cmp rdx, 0x10
jb 0x1400c10b5
inc rdx
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c10af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c10af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401165f0
nop
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0x10
jb 0x1400c10f9
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c10f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c10f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401165f0
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0xa0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x88], 0
mov rdx, qword [rbp + 0x128]
cmp rdx, 0x10
jb 0x1400c1157
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c1151
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c1151
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401165f0
nop
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0x10
jb 0x1400c119b
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c1196
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c1196
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401165f0
mov qword [rbp + 0xb8], rsi
mov qword [rbp + 0xc0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xa8], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1400c11f3
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c11ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c11ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401165f0
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x1400c1231
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c122c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c122c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401165f0
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 8], 0
lea rax, [rbp - 0x28]
mov qword [rbp + 0x108], rax
lea rdx, [r14 + 0x80]
lea rcx, [rbp - 0x28]
call fcn.14003f9f0
mov r12, rax
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], rsi
lea rdi, [rbp + 0x188]
mov r15, qword [rbp + 0x188]
cmp qword [rbp + 0x1a0], 0x10
cmovae rdi, r15
movabs r13, 0x7fffffffffffffff
mov rsi, qword [rbp + 0x198]
cmp rsi, 0x10
jae 0x1400c12aa
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x48], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x1400c1318
mov rbx, rsi
or rbx, 0xf
cmp rbx, r13
cmova rbx, r13
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400c12f7
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400c1a18
mov rcx, rax
call fcn.1401165b4
mov rcx, rax
test rax, rax
je 0x1400c12f0
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400c1305
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400c1303
call fcn.1401165b4
jmp 0x1400c1305
xor eax, eax
mov qword [rbp - 0x48], rax
lea r8, [rsi + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], rbx
mov r8, r12
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x1c8]
call fcn.1400c3fb0
nop
xor ebx, ebx
mov qword [rbp + 0x148], rbx
mov byte [rsp + 0x20], bl
mov r9b, 1
lea r8, [rbp + 0x110]
lea rdx, [rbp + 0x1c8]
lea rcx, [rbp + 0x178]
call fcn.1400b4450
nop
mov dword [rsp + 0x40], 0xecedf8f1
mov dword [rsp + 0x44], 0xc7c6c1
mov byte [rsp + 0x48], 1
mov ecx, ebx
nop word [rax + rax]
lea eax, [rcx - 0x64]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 7
jb 0x1400c1380
mov byte [rsp + 0x48], 0
mov qword [rbp - 8], rbx
mov qword [rbp + 8], rbx
mov qword [rbp + 0x10], reloc.WS2_32.dll_ntohs
mov r8d, 7
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 8]
call fcn.1400ba840
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x178]
call fcn.1400b8720
lea rdx, [rbp + 0x1a8]
mov rcx, rax
call fcn.1400ae630
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x210]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140145748]
mov qword [rbp + 0x210], rax
lea rax, [0x140145750]
mov qword [rbp + 0x220], rax
lea rcx, [rbp + 0x2a8]
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 + 0x50], 0x1ff
xor r8d, r8d
lea rdx, [rbp + 0x228]
lea rcx, [rbp + 0x210]
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 + 0x210]
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 + 0x210], rax
mov rax, qword [rbp + 0x210]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x20c], edx
lea rcx, [rbp + 0x228]
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 + 0x228], rax
mov qword [rbp + 0x290], rbx
mov dword [rbp + 0x298], ebx
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x160], xmm1
mov qword [rbp + 0x170], rbx
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1401165b4
mov qword [rbp + 0x160], rax
lea r9, [rax + 0x20]
mov qword [rbp + 0x170], r9
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0x168], r9
mov rax, qword [rbp + 0x160]
sub r9, rax
lea r8, [rbp + 0x1c8]
cmp qword [rbp + 0x1e0], 0x10
cmovae r8, qword [rbp + 0x1c8]
lea rcx, [r14 + 0x258]
cmp qword [rcx + 0x18], 0x10
jb 0x1400c1502
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x1d8]
mov rdx, qword [r14 + 0x268]
call fcn.1400cb9d0
mov r12, qword [rbp + 0x168]
mov rsi, qword [rbp + 0x160]
cmp rsi, r12
je 0x1400c158f
movzx edi, byte [rsi]
lea rdx, [0x1400bed20]
lea rcx, [rbp + 0x220]
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, [rbp - 0x60]
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, r12
jne 0x1400c1532
xor ebx, ebx
lea rsi, [0x14040b030]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rsi, qword [0x14040b030]
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x38], rbx
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x30], rdi
mov byte [rbp - 0x48], 0
mov dword [rsp + 0x50], 0x5ff
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rax
mov ecx, dword [rbp + 0x298]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400c160b
mov rax, qword [rbp + 0x268]
mov r8, qword [rax]
test r8, r8
je 0x1400c160b
mov rax, qword [rbp + 0x248]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x290]
cmovb r8, qword [rbp + 0x290]
sub r8, rdx
jmp 0x1400c1643
test cl, 4
jne 0x1400c163b
mov rax, qword [rbp + 0x260]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400c163b
mov rax, qword [rbp + 0x240]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x278]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x1400c1643
mov r8, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x60]
test rdx, rdx
je 0x1400c1655
lea rcx, [rbp - 0x48]
call fcn.1400ba840
mov rdi, qword [rbp - 0x30]
lea rcx, [rbp - 0x48]
mov rbx, qword [rbp - 0x48]
cmp rdi, 0x10
cmovae rcx, rbx
mov r8d, 8
mov rdx, rsi
call fcn.1400bb310
movzx esi, al
cmp rdi, 0x10
jb 0x1400c16b0
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400c16a8
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c16a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1401165f0
test sil, sil
jne 0x1400c1717
mov rcx, qword [rbp + 0x1b8]
sub r13, rcx
cmp r13, 0x6b
jb 0x1400c1a12
lea rax, [rbp + 0x1a8]
cmp qword [rbp + 0x1c0], 0x10
cmovae rax, qword [rbp + 0x1a8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], WSAGetLastError
lea r9, str.Signature_checksum_failed._Request_was_tampered_with_or_session_ended_most_likely.__echo:__echo_Message:
lea r8, [rbp + 0x1a8]
movzx edx, byte [rbp - 0x68]
lea rcx, [rbp - 0x28]
call fcn.1400b6e90
lea rcx, [rbp - 0x28]
call fcn.1400bdb40
lea rdx, [rbp + 0x178]
lea rcx, [rbp - 0x60]
call fcn.1400b6830
mov rdx, rax
mov rcx, r14
call fcn.1400c0340
mov dword [rsp + 0x40], 0xfcfde8ef
mov dword [rsp + 0x44], 0xd1d2c5
mov byte [rsp + 0x48], 1
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x40]
call fcn.1400b8a30
mov rdx, rax
lea rcx, [rbp + 0x178]
call fcn.1400b8720
mov rcx, rax
call fcn.1400ae6f0
test al, al
je 0x1400c17b4
mov dword [rsp + 0x50], 0xf0f8f3f5
mov word [rsp + 0x54], 0x100
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x50]
call fcn.1400b89c0
mov rdx, rax
lea rcx, [rbp + 0x178]
call fcn.1400b8720
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.1400b6830
mov rdx, rax
mov rcx, r14
call fcn.1400c0420
nop
mov rcx, qword [rbp + 0x160]
test rcx, rcx
je 0x1400c180d
mov rdx, qword [rbp + 0x170]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c17f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c17f2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401165f0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x160], xmm0
xor ebx, ebx
mov qword [rbp + 0x170], rbx
jmp 0x1400c180f
xor ebx, ebx
mov rax, qword [rbp + 0x210]
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 + 0x210], rax
mov rax, qword [rbp + 0x210]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x20c], edx
lea rcx, [rbp + 0x228]
call fcn.1400b7b60
lea rcx, [rbp + 0x230]
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 + 0x2a8]
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 + 0x1c0]
cmp rdx, 0x10
jb 0x1400c18ac
inc rdx
mov rcx, qword [rbp + 0x1a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c18a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c18a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401165f0
mov qword [rbp + 0x1b8], rbx
mov qword [rbp + 0x1c0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x1a8], 0
movzx edx, byte [rbp + 0x178]
lea rcx, [rbp + 0x180]
call fcn.1400bcf50
nop
mov rdx, qword [rbp + 0x1e0]
cmp rdx, 0x10
jb 0x1400c191d
inc rdx
mov rcx, qword [rbp + 0x1c8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c1918
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c1918
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401165f0
mov qword [rbp + 0x1d8], rbx
mov qword [rbp + 0x1e0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x1c8], 0
mov rax, qword [rbp + 0x1a0]
cmp rax, 0x10
jb 0x1400c1978
lea rdx, [rax + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x1400c196f
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c196f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.1401165f0
nop
mov rdx, qword [rbp + 0x200]
cmp rdx, 0x10
jb 0x1400c19bc
inc rdx
mov rcx, qword [rbp + 0x1e8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c19b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c19b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401165f0
mov qword [rbp + 0x1f8], rbx
mov qword [rbp + 0x200], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x1e8], 0
mov rcx, qword [rbp + 0x18]
call fcn.1400ba490
nop
mov rcx, qword [rbp + 0x20]
call fcn.1400ba490
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.140116fc0
mov rbx, qword [rsp + 0x478]
add rsp, 0x420
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400413d0
nop
call fcn.140020690
int3