Function at 0x1401be200
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 - 0x220]
sub rsp, 0x320
mov rax, qword [0x1402da2b0]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov r14, rdx
mov r12, rcx
mov qword [rbp + 0x80], rdx
xor r13d, r13d
mov dword [rsp + 0x40], r13d
cmp byte [0x1402eaea8], r13b
jne 0x1401be28a
mov qword [rbp + 0xd0], r13
mov qword [rbp + 0xe0], r13
mov qword [rbp + 0xe8], 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 + 0xd0]
call fcn.14000da20
lea rcx, [rbp + 0xd0]
call fcn.1401c0350
mov dword [rsp + 0x68], 0xcdd5ce86
mov dword [rsp + 0x6c], 0xc3cfd7c1
mov word [rsp + 0x70], __WSAFDIsSet
mov byte [rsp + 0x72], 1
mov dword [rsp + 0x40], 0xcec3cf86
mov dword [rsp + 0x44], 0x10098c1
mov dword [rsp + 0x78], 0xd0c7d286
mov dword [rsp + 0x7c], 0xc9c9ccd7
mov dword [rbp - 0x80], 0x97cdc1
mov byte [rbp - 0x7c], 1
mov dword [rsp + 0x48], 0xc2c7d386
mov dword [rsp + 0x4c], 0x9ac8cad7
mov word [rsp + 0x50], 0x100
mov dword [rsp + 0x58], 0xc6d2d8d4
mov dword [rsp + 0x5c], 0xc9c7c799
mov word [rsp + 0x60], 0x100
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x18]
call fcn.1401b6ae0
nop
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1401be320
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
mov rcx, rax
call fcn.1400582b0
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 + 0x78]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 8]
call fcn.1401b6fc0
nop
lea rdx, [r12 + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1401be373
mov rdx, qword [rdx]
mov rcx, rax
call fcn.1400582b0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x28]
call fcn.1401b69e0
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x1401be3bb
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.1400582b0
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, [rsp + 0x68]
lea rdx, [rbp + 0x88]
lea rcx, [rbp - 0x68]
call fcn.1401b6ec0
nop
lea rdx, [r12 + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1401be415
mov rdx, qword [rdx]
mov rcx, rax
call fcn.1400582b0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xd0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xe0], 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 0x1401be47f
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401be47a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401be47a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140218054
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], 0
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0x10
jb 0x1401be4d4
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401be4ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401be4ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140218054
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1401be512
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401be50d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401be50d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140218054
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x1401be561
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401be55b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401be55b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140218054
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x1401be59f
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401be59a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401be59a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140218054
mov qword [rbp + 8], r13
mov qword [rbp + 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 8], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x1401be5ee
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401be5e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401be5e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140218054
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x1401be62c
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401be627
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401be627
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140218054
mov qword [rbp + 0x28], r13
mov qword [rbp + 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x18], 0
lea rax, [rbp - 0x48]
mov qword [rbp + 0x38], rax
lea rdx, [r12 + 0x80]
lea rcx, [rbp - 0x48]
call fcn.14000c950
mov r15, rax
mov qword [rbp + 0x88], r13
mov qword [rbp + 0x98], r13
mov qword [rbp + 0xa0], r13
lea rdi, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0x10
cmovae rdi, qword [rbp + 0xd0]
mov rsi, qword [rbp + 0xe0]
cmp rsi, 0x10
jae 0x1401be6a2
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0x88], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x1401be71e
mov rbx, rsi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1401be6f9
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1401bee05
mov rcx, rax
call fcn.140217dc8
mov rcx, rax
test rax, rax
je 0x1401be6f2
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1401be708
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1401be705
call fcn.140217dc8
jmp 0x1401be708
mov rax, r13
mov qword [rbp + 0x88], rax
lea r8, [rsi + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0xa0], rbx
mov r8, r15
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0xf0]
call fcn.1401c5f30
nop
mov qword [rbp + 0x78], r13
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0xc0]
call fcn.1401b9f20
nop
mov dword [rsp + 0x30], 0xd0d1c4cd
mov dword [rsp + 0x34], 0xc3c2c5
mov byte [rsp + 0x38], 1
mov rcx, r13
nop
lea eax, [rcx - 0x60]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x1401be780
mov byte [rsp + 0x38], 0
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
mov r8d, 7
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.14000da20
nop
mov rbx, qword [rsp + 0x30]
movzx ecx, byte [rbp + 0xc0]
test cl, cl
jne 0x1401be7ed
mov byte [rbp + 0xc0], 1
call fcn.14012c8b0
mov qword [rbp + 0xc8], rax
movzx ecx, byte [rbp + 0xc0]
jmp 0x1401be7f4
mov rax, qword [rbp + 0xc8]
cmp cl, 1
jne 0x1401be809
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.1401bd110
mov rbx, rax
mov qword [rbp + 0x88], r13
mov qword [rbp + 0x98], r13
mov r15d, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xa0], r15
mov byte [rbp + 0x88], 0
mov dword [rsp + 0x40], 0xbf
cmp byte [rbx], 3
jne 0x1401be84a
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x88]
cmp rax, rdx
je 0x1401be86e
jmp 0x1401be84d
mov rdx, r13
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1401be85b
mov rdx, qword [rdx]
lea rcx, [rbp + 0x88]
call fcn.14000da20
mov r15, qword [rbp + 0xa0]
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x1401be8ad
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401be8a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401be8a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140218054
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x110]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1402b8590]
mov qword [rbp + 0x110], rax
lea rax, [0x1402b8270]
mov qword [rbp + 0x120], rax
lea rcx, [rbp + 0x1a8]
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], 0x17f
xor r8d, r8d
lea rdx, [rbp + 0x128]
lea rcx, [rbp + 0x110]
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 + 0x110]
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 + 0x110], rax
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x10c], edx
lea rcx, [rbp + 0x128]
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 + 0x128], rax
mov qword [rbp + 0x190], r13
mov dword [rbp + 0x198], r13d
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xa8], xmm1
mov qword [rbp + 0xb8], r13
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140217dc8
mov qword [rbp + 0xa8], rax
lea r9, [rax + 0x20]
mov qword [rbp + 0xb8], r9
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0xb0], r9
mov rax, qword [rbp + 0xa8]
sub r9, rax
lea r8, [rbp + 0xf0]
cmp qword [rbp + 0x108], 0x10
cmovae r8, qword [rbp + 0xf0]
lea rcx, [r12 + 0x258]
cmp qword [rcx + 0x18], 0x10
jb 0x1401be9e9
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x100]
mov rdx, qword [r12 + 0x268]
call fcn.1401cc6f0
mov r13, qword [rbp + 0xb0]
mov rsi, qword [rbp + 0xa8]
cmp rsi, r13
je 0x1401bea7c
nop word [rax + rax]
movzx edi, byte [rsi]
lea rdx, [0x1401133d0]
lea rcx, [rbp + 0x120]
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 + 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 rsi
cmp rsi, r13
jne 0x1401bea20
lea rsi, [0x1402da230]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rsi, qword [0x1402da230]
xor r13d, r13d
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x58], r13
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x50], rdi
mov byte [rbp - 0x68], r13b
mov dword [rsp + 0x40], 0x57f
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rax
mov ecx, dword [rbp + 0x198]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1401beafc
mov rax, qword [rbp + 0x168]
mov r8, qword [rax]
test r8, r8
je 0x1401beafc
mov rax, qword [rbp + 0x148]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x190]
cmovb r8, qword [rbp + 0x190]
sub r8, rdx
jmp 0x1401beb35
test cl, 4
jne 0x1401beb2c
mov rax, qword [rbp + 0x160]
mov rcx, qword [rax]
test rcx, rcx
je 0x1401beb2c
mov rax, qword [rbp + 0x140]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x178]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x1401beb35
mov r8, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x1401beb47
lea rcx, [rbp - 0x68]
call fcn.14000da20
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.1401bf570
movzx esi, al
cmp rdi, 0x10
jb 0x1401beba2
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1401beb9a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401beb9a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140218054
test sil, sil
jne 0x1401bebcd
lea r8, [rbp + 0x88]
lea rdx, str.Signature_checksum_failed._Request_was_tampered_with_or_session_ended_most_likely.__echo:__echo_Message:
lea rcx, [rbp - 0x48]
call fcn.1401840b0
mov rcx, rax
call fcn.1401c0350
mov r15, qword [rbp + 0xa0]
lea rdx, [rbp + 0xc0]
lea rcx, [rsp + 0x78]
call fcn.1401bc3f0
mov rdx, rax
mov rcx, r12
call fcn.1401c3b90
nop
mov rcx, qword [rbp + 0xa8]
test rcx, rcx
je 0x1401bec3f
mov rdx, qword [rbp + 0xb8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401bec28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401bec28
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140218054
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xa8], xmm0
mov qword [rbp + 0xb8], r13
mov rax, qword [rbp + 0x110]
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 + 0x110], rax
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x10c], edx
lea rcx, [rbp + 0x128]
call fcn.140122920
lea rcx, [rbp + 0x130]
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 + 0x1a8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
cmp r15, 0x10
jb 0x1401becd7
lea rdx, [r15 + 1]
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401becd1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401becd1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140218054
nop
movzx edx, byte [rbp + 0xc0]
lea rcx, [rbp + 0xc8]
call fcn.1401257f0
nop
mov rdx, qword [rbp + 0x108]
cmp rdx, 0x10
jb 0x1401bed2f
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401bed2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401bed2a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140218054
mov qword [rbp + 0x100], r13
mov qword [rbp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xf0], 0
mov rax, qword [rbp + 0xe8]
cmp rax, 0x10
jb 0x1401bed8e
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401bed88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401bed88
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140218054
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x1401bedc4
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1401bedbf
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401bedfe
mov rcx, r8
call fcn.140218054
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], 0
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140217b10
mov rbx, qword [rsp + 0x370]
add rsp, 0x320
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140005ac0
nop
int3