Function at 0x4075d6
Capabilities:
Execute command

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
lea rcx, str.msedge.exe
call sym.is_run_process_char_const_
test eax, eax
je 0x407613
lea rcx, str.chrome.exe
call sym.is_run_process_char_const_
test eax, eax
je 0x407613
mov eax, 1
jmp 0x407618
mov eax, 0
test al, al
je 0x407664
lea rcx, [0x00496003]
call sym.system
lea rdx, str.Mutliple_browser_are_open................_n
mov rcx, qword [0x0049c9d0]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
lea rdx, str.Close_one_browser.............._n
mov rcx, qword [0x0049c9d0]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
lea rcx, str.pause
call sym.system
mov ecx, 1
call sym.exit
lea rcx, str.msedge.exe
call sym.is_run_process_char_const_
test eax, eax
jne 0x40768b
lea rcx, str.chrome.exe
call sym.is_run_process_char_const_
test eax, eax
jne 0x40768b
mov eax, 1
jmp 0x407690
mov eax, 0
test al, al
je 0x4076c9
lea rcx, [0x00496003]
call sym.system
lea rdx, str.chrome_or_msedge_is_not_running............_n
mov rcx, qword [0x0049c9d0]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
lea rcx, str.pause
call sym.system
mov ecx, 1
call sym.exit
lea rcx, str.msedge.exe
call sym.is_run_process_char_const_
test eax, eax
setne al
test al, al
je 0x40774d
lea rcx, str.msedge.exe
call sym.get_pid_char_const_
mov dword [rbp - 4], eax
lea rdx, str.Wait_checking_discord_link......._n
mov rcx, qword [0x0049c9d0]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov ecx, 0x7d0
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov eax, dword [rbp - 4]
mov ecx, eax
call sym.FindWindowByProcessId_unsigned_long_
mov rax, qword [0x004bb040]
test rax, rax
je 0x40773d
lea rdx, str.Egdge_handle_found.........._n
mov rcx, qword [0x0049c9d0]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
nop
jmp 0x407804
mov ecx, 0x64
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
jmp 0x40770e
lea rcx, str.chrome.exe
call sym.is_run_process_char_const_
test eax, eax
setne al
test al, al
je 0x4077ce
lea rcx, str.chrome.exe
call sym.get_pid_char_const_
mov dword [rbp - 8], eax
lea rdx, str.Wait_checking_discord_link......._n
mov rcx, qword [0x0049c9d0]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov ecx, 0x7d0
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov eax, dword [rbp - 8]
mov ecx, eax
call sym.FindWindowByProcessId_unsigned_long_
mov rax, qword [0x004bb040]
test rax, rax
je 0x4077be
lea rdx, str.chrome_handle_found.........._n
mov rcx, qword [0x0049c9d0]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
nop
jmp 0x407804
mov ecx, 0x64
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
jmp 0x407792
lea rcx, [0x00496003]
call sym.system
lea rdx, str.chrome_or_msedge_is_not_running............_n
mov rcx, qword [0x0049c9d0]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
lea rcx, str.pause
call sym.system
mov ecx, 1
call sym.exit
nop
add rsp, 0x30
pop rbp
ret