Function at 0x14007ad10
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 - 0x290]
sub rsp, 0x390
mov rax, qword [0x1400f4080]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov r12, r8
mov r13, rdx
mov rdi, rcx
mov qword [rbp - 0x30], rcx
mov qword [rbp + 0x98], rdx
mov qword [rbp + 0xe8], r8
xor esi, esi
mov dword [rbp - 0x80], esi
cmp byte [0x1400f5d58], sil
jne 0x14007ad95
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], rsi
lea r8d, [rsi + 0x52]
lea rdx, str.You_need_to_run_the_KeyAuthApp.init____function_before_any_other_KeyAuth_functions
lea rcx, [rbp - 0x78]
call fcn.140011c10
lea rcx, [rbp - 0x78]
call fcn.1400732c0
mov dword [rsp + 0x60], 0xcbd3cc84
mov dword [rsp + 0x64], 0xcdc1d5c3
mov word [rsp + 0x68], reloc.WS2_32.dll___WSAFDIsSet
mov byte [rsp + 0x6a], 1
mov dword [rsp + 0x58], 0xc8c5cd84
mov dword [rsp + 0x5c], 0x1009ac3
mov dword [rsp + 0x70], 0xd6c1d084
mov dword [rsp + 0x74], 0xc7c7ced5
mov dword [rsp + 0x78], 0x91cfc3
mov byte [rsp + 0x7c], 1
mov dword [rsp + 0x38], 0xd7c5d584
mov dword [rsp + 0x3c], 0x95c3cf
mov byte [rsp + 0x40], 1
mov dword [rsp + 0x48], 0xc0d4dad6
mov dword [rsp + 0x4c], 0xdbc9d19b
mov word [rsp + 0x50], 0x100
mov rcx, rsi
nop dword [rax]
lea eax, [rcx - 0x5e]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 7
jb 0x14007ae10
mov byte [rsp + 0x40], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x50]
call fcn.140068fc0
nop
cmp byte [rsp + 0x51], 0
je 0x14007ae65
mov rcx, rsi
nop dword [rax + rax]
lea eax, [rcx - 0x5e]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 8
jb 0x14007ae50
mov byte [rsp + 0x51], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x28]
call fcn.140068fc0
nop
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x28]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 0x78]
call fcn.14006f2f0
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14007aed4
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007aece
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007aece
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ca6cc
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x14007af13
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007af0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007af0d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ca6cc
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x14007af22
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
lea rcx, [rbp - 0x78]
call fcn.140011b40
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xa8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xb8], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0x78]
call fcn.140069790
nop
lea rdx, [rdi + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14007af7f
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140011b40
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x68], 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 + 0x58]
lea rcx, [rbp + 0x38]
call fcn.1400693d0
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14007afc5
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.140011b40
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x28], 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 + 0x18]
lea rcx, [rbp - 8]
call fcn.140069590
nop
lea rdx, [rdi + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14007b014
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140011b40
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x158], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x168], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x14007b07e
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007b079
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007b079
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ca6cc
movdqa xmm0, xmmword [0x1400e2e10]
movdqu xmmword [rbp + 8], xmm0
mov byte [rbp - 8], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x14007b0ce
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007b0c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007b0c8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ca6cc
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x14007b10c
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007b107
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007b107
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ca6cc
movdqa xmm0, xmmword [0x1400e2e10]
movdqu xmmword [rbp + 0x48], xmm0
mov byte [rbp + 0x38], 0
mov rdx, qword [rbp + 0x70]
cmp rdx, 0x10
jb 0x14007b15c
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007b156
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007b156
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ca6cc
nop
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x14007b19d
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007b198
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007b198
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ca6cc
movdqa xmm0, xmmword [0x1400e2e10]
movdqu xmmword [rbp + 0x88], xmm0
mov byte [rbp + 0x78], 0
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0x10
jb 0x14007b1f6
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007b1f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007b1f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ca6cc
nop
mov r8, qword [rbp - 0x60]
cmp r8, 0x10
jb 0x14007b210
inc r8
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x78]
call fcn.140011bd0
movdqa xmm0, xmmword [0x1400e2e10]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
lea rax, [rbp - 0x50]
mov qword [rbp + 0xa0], rax
lea rdx, [rdi + 0x80]
lea rcx, [rbp - 0x50]
call fcn.140065970
mov rbx, rax
lea rdx, [rbp + 0x158]
lea rcx, [rbp - 0x28]
call fcn.140065970
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x100]
call fcn.140078790
nop
mov qword [rbp + 0xe0], rsi
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0xa8]
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0xf0]
call fcn.14006c900
nop
mov dword [rsp + 0x38], 0xd6d7c6cf
mov dword [rsp + 0x3c], 0xcdc0c7
mov byte [rsp + 0x40], 1
mov rcx, rsi
nop word [rax + rax]
lea eax, [rcx - 0x5e]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 7
jb 0x14007b2b0
mov byte [rsp + 0x40], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x78]
call fcn.140068fc0
nop
mov rbx, qword [rbp - 0x58]
movzx ecx, byte [rbp + 0xf0]
test cl, cl
jne 0x14007b309
mov byte [rbp + 0xf0], 1
call fcn.14006b340
mov qword [rbp + 0xf8], rax
movzx ecx, byte [rbp + 0xf0]
jmp 0x14007b310
mov rax, qword [rbp + 0xf8]
cmp cl, 1
jne 0x14007b324
lea rdx, [rbp - 0x78]
mov rcx, rax
call fcn.140070370
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
movdqa xmm1, xmmword [0x1400e2e10]
movdqu xmmword [rbp + 0x130], xmm1
mov byte [rbp + 0x120], 0
mov dword [rbp - 0x80], 0x7fac0
cmp byte [rbx], 3
jne 0x14007b363
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x120]
cmp rax, rdx
je 0x14007b381
jmp 0x14007b366
mov rdx, rsi
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14007b374
mov rdx, qword [rdx]
lea rcx, [rbp + 0x120]
call fcn.1400714c0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14007b3bf
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007b3ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007b3ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ca6cc
movdqa xmm0, xmmword [0x1400e2e10]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x180]
call fcn.1400cba80
lea rax, [0x1400cf1f8]
mov qword [rbp + 0x180], rax
lea rax, [0x1400cf200]
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 [rbp - 0x80], 0x7fdc0
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], rsi
mov dword [rbp + 0x208], esi
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400ca690
mov rsi, rax
mov qword [rbp + 0x140], rax
lea r15, [rax + 0x20]
mov qword [rbp + 0x150], r15
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0x148], r15
lea r8, [rbp + 0x100]
cmp qword [rbp + 0x118], 0x10
cmovae r8, qword [rbp + 0x100]
lea rcx, [rdi + 0x258]
cmp qword [rcx + 0x18], 0x10
jb 0x14007b4e9
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 [rdi + 0x268]
call fcn.1400801c0
mov r14, rsi
cmp rsi, r15
je 0x14007b579
movzx edi, byte [r14]
lea rdx, [0x140074350]
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 rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
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 + 0x70]
call sub.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__
mov rdx, qword [rax + 8]
mov r8, qword [rax]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
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 0x14007b512
mov rdi, qword [rbp - 0x30]
lea rbx, [section..data]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rbx, qword [section..data]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x180]
call fcn.14007aa80
cmp qword [rax + 0x18], 0x10
jb 0x14007b5b0
mov rax, qword [rax]
nop word [rax + rax]
movd xmm2, dword [rax]
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
psrad xmm2, 0x18
movd xmm0, dword [rbx]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
pxor 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
pxor xmm1, xmm0
por xmm2, xmm1
movdqa xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd ebx, xmm2
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x14007b65e
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007b659
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007b659
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ca6cc
test ebx, ebx
je 0x14007b681
lea r8, [rbp + 0x120]
lea rdx, str.Signature_checksum_failed._Request_was_tampered_with_or_session_ended_most_likely.__echo:__echo_Message:
lea rcx, [rbp - 0x50]
call fcn.140066570
mov rcx, rax
call fcn.1400732c0
lea rdx, [rbp + 0xf0]
lea rcx, [rsp + 0x70]
call fcn.14006efe0
mov rdx, rax
mov rcx, rdi
call fcn.140075e50
mov dword [rsp + 0x38], 0xd6d7c6cf
mov dword [rsp + 0x3c], 0xcdc0c7
mov byte [rsp + 0x40], 1
xor ebx, ebx
mov ecx, ebx
nop word [rax + rax]
lea eax, [rcx - 0x5e]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 7
jb 0x14007b6c0
mov byte [rsp + 0x40], bl
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x78]
call fcn.140068fc0
nop
movzx ecx, byte [rbp + 0xf0]
test cl, cl
jne 0x14007b714
mov byte [rbp + 0xf0], 1
call fcn.14006b340
mov qword [rbp + 0xf8], rax
movzx ecx, byte [rbp + 0xf0]
jmp 0x14007b71b
mov rax, qword [rbp + 0xf8]
cmp cl, 1
jne 0x14007b72e
lea rdx, [rbp - 0x78]
mov rcx, rax
call fcn.140070370
jmp 0x14007b732
mov rax, qword [rbp - 0x58]
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], rbx
mov qword [r13 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r13], 0
mov dword [rbp - 0x80], 0x7fddc
cmp byte [rax], 3
jne 0x14007b75d
mov rdx, qword [rax + 8]
jmp 0x14007b760
mov rdx, rbx
cmp r13, rdx
je 0x14007b77c
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14007b773
mov rdx, qword [rdx]
mov rcx, r13
call fcn.1400714c0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14007b7ba
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007b7b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007b7b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ca6cc
movdqa xmm0, xmmword [0x1400e2e10]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
test rsi, rsi
je 0x14007b804
sub r15, rsi
cmp r15, 0x1000
jb 0x14007b7f8
add r15, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x14007b89c
mov rsi, rcx
mov rdx, r15
mov rcx, rsi
call fcn.1400ca6cc
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 fcn.140065590
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
mov rdx, qword [rbp + 0x138]
cmp rdx, 0x10
jb 0x14007b8a9
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007b8a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007b8a3
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.1400ca6cc
nop
movzx edx, byte [rbp + 0xf0]
lea rcx, [rbp + 0xf8]
call fcn.140072730
nop
mov rdx, qword [rbp + 0x118]
cmp rdx, 0x10
jb 0x14007b901
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007b8fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007b8fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ca6cc
mov qword [rbp + 0x110], rbx
mov qword [rbp + 0x118], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x100], 0
mov rdx, qword [rbp + 0x170]
cmp rdx, 0x10
jb 0x14007b95f
inc rdx
mov rcx, qword [rbp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007b959
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007b959
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ca6cc
nop
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x14007b997
inc rdx
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x14007b992
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14007b9d7
mov rcx, r8
call fcn.1400ca6cc
mov qword [r12 + 0x10], rbx
mov qword [r12 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r12], 0
mov rax, r13
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.1400ca670
mov rbx, qword [rsp + 0x3e8]
add rsp, 0x390
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]
int3