Function at 0x14007abf0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x140140800]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rdi, r9
mov ebx, edx
xor esi, esi
mov dword [rsp + 0x60], esi
mov edx, reloc.WS2_32.dll_recv
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140142780], eax
jle 0x14007ac78
lea rcx, [0x140142780]
call fcn.1400e6ca0
cmp dword [0x140142780], 0xffffffff
jne 0x14007ac78
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x140142778], rax
lea rcx, [0x140142780]
call fcn.1400e6c34
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rsi
xor r8d, r8d
lea rdx, [0x140118a1f]
lea rcx, [rsp + 0x68]
call fcn.1400044d0
nop
mov ecx, ebx
test ebx, ebx
je 0x14007acf4
sub ecx, 1
je 0x14007acd3
cmp ecx, 1
jne 0x14007b0a4
mov edx, recv
mov rcx, qword [0x140142778]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.ERROR
mov r8d, 5
jmp 0x14007ad13
mov edx, select
mov rcx, qword [0x140142778]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.INFO
mov r8d, 4
jmp 0x14007ad13
mov edx, 0xa
mov rcx, qword [0x140142778]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.SUCCESS
mov r8d, 7
lea rcx, [rsp + 0x68]
call fcn.140001d60
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140118968]
mov qword [rbp - 0x70], rax
lea rcx, [rbp + 0x18]
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 + 0x60], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x70], r14
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x68]
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 - 0x68], rax
mov qword [rbp], rsi
mov dword [rbp + 8], 4
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, rax
movabs rax, 0xd6bf94d5e57a42bd
imul rcx
add rdx, rcx
sar rdx, 0x17
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rsp + 0x60], rdx
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
mov r8, rax
lea rdx, [rsp + 0x20]
call fcn.140066470
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14007adfa
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140002480
lea rdx, [0x140126df8]
mov rcx, rax
call fcn.140001ec0
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x78]
mov rcx, rax
call fcn.140002480
lea rdx, [0x140126118]
mov rcx, rax
call fcn.140001ec0
mov rcx, rax
mov rdx, rdi
call fcn.140001ec0
mov rcx, rax
lea rdx, [0x140126dec]
call fcn.140001ec0
mov rcx, rax
lea rdx, str.main__
call fcn.140001ec0
mov rcx, rax
lea rdx, [0x140126df0]
call fcn.140001ec0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14007aebb
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007aeb5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007aeb5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6bc4
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rsi
mov r9d, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x38], r9
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x60], 5
movups xmmword [rsp + 0x40], xmm0
mov ecx, dword [rbp + 8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14007af11
mov rax, qword [rbp - 0x28]
mov r8, qword [rax]
test r8, r8
je 0x14007af11
mov rax, qword [rbp - 0x48]
mov rdx, qword [rax]
cmp r8, qword [rbp]
cmovb r8, qword [rbp]
sub r8, rdx
jmp 0x14007af42
test cl, 4
jne 0x14007af38
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax]
test rcx, rcx
je 0x14007af38
mov rax, qword [rbp - 0x50]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x18]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x14007af42
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x14007af56
lea rcx, [rsp + 0x20]
call fcn.140001d60
mov r9, qword [rsp + 0x38]
lea rcx, [rsp + 0x20]
cmp r9, 0xf
cmova rcx, qword [rsp + 0x20]
call fcn.140077b20
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14007afaa
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007afa5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007afa5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6bc4
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
mov edx, reloc.WS2_32.dll_ntohs
mov rcx, qword [0x140142778]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp ebx, 2
jne 0x14007b001
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x70], r14
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x68]
call fcn.140001930
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x18]
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 - 0x80]
cmp rdx, 0xf
jbe 0x14007b07d
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007b078
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007b078
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6bc4
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1400e6b60
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, Ordinal_27
call fcn.1400e6b80
mov qword [rsp + 0x58], rax
lea rdx, str.Log_level_not_implemented.
mov rcx, rax
call fcn.1400048b0
mov qword [rsp + 0x60], rax
lea rdx, [0x14013c0b8]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3