Function at 0x14007a840
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140131800]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r14, r9
mov rsi, r8
mov edi, edx
xor r15d, r15d
mov dword [rsp + 0x60], r15d
mov edx, reloc.WS2_32.dll_recv
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401334d0], eax
jle 0x14007a8cb
lea rcx, [0x1401334d0]
call fcn.1400dbc60
cmp dword [0x1401334d0], 0xffffffff
jne 0x14007a8cb
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x1401334c8], rax
lea rcx, [0x1401334d0]
call fcn.1400dbbf4
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
xor r8d, r8d
lea rdx, [0x14010c9cf]
lea rcx, [rsp + 0x68]
call fcn.140004160
nop
mov ecx, edi
test edi, edi
je 0x14007a947
sub ecx, 1
je 0x14007a926
cmp ecx, 1
jne 0x14007adda
mov edx, recv
mov rcx, qword [0x1401334c8]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.ERROR
mov r8d, 5
jmp 0x14007a966
mov edx, recv
mov rcx, qword [0x1401334c8]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.INFO
mov r8d, 4
jmp 0x14007a966
mov edx, 0xa
mov rcx, qword [0x1401334c8]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.SUCCESS
mov r8d, 7
lea rcx, [rsp + 0x68]
call fcn.140001d50
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x80]
call fcn.1400055e0
nop
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 rbx, rax
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x70]
call fcn.1400055e0
nop
mov qword [rsp + 0x40], rbx
lea rax, [0x14011a75c]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
nop dword [rax]
inc rax
cmp byte [rax], 0
jne 0x14007aa00
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.140067f60
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x60], 4
movups xmmword [rsp + 0x40], xmm0
mov ecx, dword [rbp + 8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14007aa70
mov rax, qword [rbp - 0x28]
mov r8, qword [rax]
test r8, r8
je 0x14007aa70
mov rax, qword [rbp - 0x48]
mov rdx, qword [rax]
cmp r8, qword [rbp]
cmovb r8, qword [rbp]
sub r8, rdx
jmp 0x14007aaa1
test cl, 4
jne 0x14007aa97
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax]
test rcx, rcx
je 0x14007aa97
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 0x14007aaa1
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x14007aab1
lea rcx, [rsp + 0x20]
call fcn.140001d50
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x70], rbx
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.140001920
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
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rdx, qword [rsp + 0x20]
mov r8, qword [rsp + 0x30]
lea rcx, [rbp + 0x80]
call fcn.140002470
lea rdx, [0x14011a760]
mov rcx, rax
call fcn.140001eb0
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x78]
mov rcx, rax
call fcn.140002470
lea rdx, [0x14011a008]
mov rcx, rax
call fcn.140001eb0
mov rcx, rax
mov rdx, r14
call fcn.140001eb0
mov rcx, rax
lea rdx, [0x14011a754]
call fcn.140001eb0
mov rcx, rax
mov rdx, rsi
call fcn.140001eb0
mov rcx, rax
lea rdx, [0x14011a758]
call fcn.140001eb0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14007abc8
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007abc2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007abc2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400dbb84
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r15
mov r9d, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x38], r9
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x60], reloc.WS2_32.dll_send
movups xmmword [rsp + 0x40], xmm0
mov ecx, dword [rbp + 0xf8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14007ac2d
mov rax, qword [rbp + 0xc8]
mov r8, qword [rax]
test r8, r8
je 0x14007ac2d
mov rax, qword [rbp + 0xa8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0xf0]
cmovb r8, qword [rbp + 0xf0]
sub r8, rdx
jmp 0x14007ac67
test cl, 4
jne 0x14007ac5d
mov rax, qword [rbp + 0xc0]
mov rcx, qword [rax]
test rcx, rcx
je 0x14007ac5d
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0xd8]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x14007ac67
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x14007ac7b
lea rcx, [rsp + 0x20]
call fcn.140001d50
mov r9, qword [rsp + 0x38]
lea rcx, [rsp + 0x20]
cmp r9, 0xf
cmova rcx, qword [rsp + 0x20]
call fcn.140078f50
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14007accf
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007acca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007acca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400dbb84
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
mov edx, reloc.WS2_32.dll_ntohs
mov rcx, qword [0x1401334c8]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp edi, 2
jne 0x14007ad26
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 + 0x80]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x80], rbx
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x7c], edx
lea rcx, [rbp + 0x88]
call fcn.140001920
lea rcx, [rbp + 0x90]
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 + 0x108]
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 0x14007adb4
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007adaf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007adaf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400dbb84
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400dbb20
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, Ordinal_27
call fcn.1400dbb40
mov qword [rsp + 0x58], rax
lea rdx, str.Log_level_not_implemented.
mov rcx, rax
call fcn.140004540
mov qword [rsp + 0x60], rax
lea rdx, [0x14012d128]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3