Function at 0x140013910
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rcx
lea r9, str.kill_server
mov r8, qword [rcx + 0x20]
lea rdx, str._s__s
lea rcx, [rsp + 0x20]
call fcn.140013670
nop
mov rdi, qword [rax + 0x10]
cmp byte [rbx + 0x28], 0
je 0x140013963
lea rdx, [0x1400191f0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140013971
mov edx, 0xffffffff
mov rcx, rdi
call fcn.14001ca50
nop
mov rcx, qword [rsp + 0x30]
call fcn.14001cc58
cmp byte [rbx + 0x28], 0
je 0x1400139a4
lea rdx, [0x1400191f0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, str.taskkill__F__IM_adb.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x1400139b5
mov edx, 0xffffffff
lea rcx, str.taskkill__F__IM_adb.exe
call fcn.14001ca50
lea r9, str.kill_server
mov r8, qword [rbx + 0x20]
lea rdx, str._s__s
lea rcx, [rsp + 0x20]
call fcn.140013670
nop
mov rdi, qword [rax + 0x10]
cmp byte [rbx + 0x28], 0
je 0x1400139fb
lea rdx, [0x1400191f0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140013a09
mov edx, 0xffffffff
mov rcx, rdi
call fcn.14001ca50
nop
mov rcx, qword [rsp + 0x30]
call fcn.14001cc58
lea r9, str.start_server
mov r8, qword [rbx + 0x20]
lea rdx, str._s__s
lea rcx, [rsp + 0x20]
call fcn.140013670
nop
mov rdi, qword [rax + 0x10]
cmp byte [rbx + 0x28], 0
je 0x140013a59
lea rdx, [0x1400191f0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140013a67
mov edx, 0xffffffff
mov rcx, rdi
call fcn.14001ca50
nop
mov rcx, qword [rsp + 0x30]
call fcn.14001cc58
mov rcx, qword [0x1401482c0]
mov r8d, dword [rcx + 0x5c]
test r8d, r8d
je 0x140013c46
sub r8d, 1
je 0x140013b21
cmp r8d, 2
jne 0x140013c79
lea r9, str.connect_127.0.0.1:7555
mov r8, qword [rbx + 0x20]
lea rdx, str._s__s
lea rcx, [rsp + 0x20]
call fcn.140013670
nop
mov rdi, qword [rax + 0x10]
cmp byte [rbx + 0x28], 0
je 0x140013adf
lea rdx, [0x1400191f0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140013aed
mov edx, 0xffffffff
mov rcx, rdi
call fcn.14001ca50
nop
mov rcx, qword [rsp + 0x30]
call fcn.14001cc58
mov r8, qword [rbx + 0x20]
lea rdx, str._s_root
lea rcx, [rsp + 0x20]
call fcn.140013670
nop
mov edx, 0x3e8
mov rcx, qword [rax + 0x10]
call fcn.14001ca50
nop
jmp 0x140013c6f
mov byte [rbx + 0x29], 1
mov r8, qword [rbx + 0x20]
lea rdx, str._s_root
lea rcx, [rsp + 0x20]
call fcn.140013670
nop
mov edx, 0x3e8
mov rcx, qword [rax + 0x10]
call fcn.14001ca50
nop
mov rcx, qword [rsp + 0x30]
call fcn.14001cc58
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r9, str.kill_server
mov r8, qword [rbx + 0x20]
lea rdx, str._s__s
lea rcx, [rsp + 0x20]
call fcn.140013670
nop
mov rdi, qword [rax + 0x10]
cmp byte [rbx + 0x28], 0
je 0x140013ba5
lea rdx, [0x1400191f0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140013bb3
mov edx, 0xffffffff
mov rcx, rdi
call fcn.14001ca50
nop
mov rcx, qword [rsp + 0x30]
call fcn.14001cc58
lea r9, str.start_server
mov r8, qword [rbx + 0x20]
lea rdx, str._s__s
lea rcx, [rsp + 0x20]
call fcn.140013670
nop
mov rdi, qword [rax + 0x10]
cmp byte [rbx + 0x28], 0
je 0x140013c03
lea rdx, [0x1400191f0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140013c11
mov edx, 0xffffffff
mov rcx, rdi
call fcn.14001ca50
nop
mov rcx, qword [rsp + 0x30]
call fcn.14001cc58
mov byte [rbx + 0x29], 1
mov r8, qword [rbx + 0x20]
lea rdx, str._s_root
lea rcx, [rsp + 0x20]
call fcn.140013670
nop
mov edx, 0x3e8
mov rcx, qword [rax + 0x10]
call fcn.14001ca50
nop
jmp 0x140013c6f
mov byte [rbx + 0x29], 1
mov r8, qword [rbx + 0x20]
lea rdx, str._s_root
lea rcx, [rsp + 0x20]
call fcn.140013670
nop
mov edx, 0x3e8
mov rcx, qword [rax + 0x10]
call fcn.14001ca50
nop
mov rcx, qword [rsp + 0x30]
call fcn.14001cc58
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret