Function at 0x140006360
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x2e0
mov qword [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xc0], 0
lea rcx, str.___LiveCloudKd___2.6.20240216_n___Microsoft_Hyper_V_Virtual_Machine_Physical_Memory_Dumper__Live_Kernel_Debugger_n___Copyright__C__2010_2020__Matthieu_Suiche_n___Copyright__C__2020__Comae_Technologies_DMCC__http:__www.comae.com___support_comae.io__n_n___Microsoft_Hyper_V_VM_memory_access_operations_based_on_hvlib_developed_by_Arthur_Khudyaev___gerhart_x__n___EXDi_debug_engine_for_Hyper_V_virtual_machine_developed_by_Arthur_Khudyaev___gerhart_x__n_n___Copyright__C__2022_2024_n___All_rights_reserved._n_n
call fcn.140001060
lea rcx, str.LiveCloudKd
call qword [sym.imp.KERNEL32.DLL_SetConsoleTitleW]
mov rdx, qword [rsp + 0x2f8]
mov ecx, dword [rsp + 0x2f0]
call fcn.140006bb0
lea rcx, [0x140098440]
call qword [sym.imp.hvlib.dll_SdkGetDefaultConfig]
cmp dword [0x14000a0a0], 2
jne 0x1400063fd
mov eax, dword [0x140098440]
mov dword [0x14000a0a0], eax
mov eax, dword [0x140098444]
mov dword [0x14000a0a4], eax
jmp 0x140006415
mov eax, dword [0x14000a0a0]
mov dword [0x140098440], eax
mov eax, dword [0x14000a0a4]
mov dword [0x140098444], eax
movzx eax, byte [0x140098474]
mov byte [0x140098458], al
movzx eax, byte [0x140098473]
mov byte [0x140098459], al
mov rax, qword [0x140098488]
mov qword [0x140098450], rax
mov byte [0x140098468], 0
call fcn.1400070e0
movzx eax, al
test eax, eax
jne 0x140006455
jmp case.default.0x1400069d9
lea rdx, [0x140098440]
lea rcx, [rsp + 0x60]
call qword [sym.imp.hvlib.dll_SdkEnumPartitions]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x140006485
lea rcx, str.___Unable_to_get_list_of_partitions_n
call fcn.140001060
jmp case.default.0x1400069d9
lea rcx, str._n___Virtual_Machines:_n
call fcn.140001060
cmp qword [rsp + 0x60], 0
jne 0x1400064aa
lea rcx, str._______No_virtual_machines_running._n
call fcn.140007270
jmp case.default.0x1400069d9
mov dword [rsp + 0x3c], 0
jmp 0x1400064be
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
cmp rax, qword [rsp + 0x60]
jae 0x140006597
lfence
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x98], 0
mov eax, dword [rsp + 0x3c]
lea r8, [rsp + 0x78]
mov edx, 1
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.hvlib.dll_SdkGetData]
mov eax, dword [rsp + 0x3c]
lea r8, [rsp + 0x80]
mov edx, 2
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.hvlib.dll_SdkGetData]
mov eax, dword [rsp + 0x3c]
lea r8, [rsp + 0x98]
mov edx, 3
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.hvlib.dll_SdkGetData]
cmp qword [rsp + 0x80], 0
je 0x14000657f
lfence
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x80]
mov r8, qword [rsp + 0x78]
mov edx, dword [rsp + 0x3c]
lea rcx, str.__________d___s__PartitionId__0x_I64X___s__n
call fcn.140001060
jmp 0x140006592
lfence
mov edx, dword [rsp + 0x3c]
lea rcx, str.__________d__Partition_id_is_0__probably_it_is_container_or_not_successfully_deleted_partition_n
call fcn.140001060
jmp 0x1400064b4
cmp dword [0x14000a0ac], 0xffffffff
jne 0x14000663c
mov dword [rsp + 0x34], 0
cmp qword [rsp + 0x60], 9
ja 0x1400065e7
cmp dword [rsp + 0x34], 0x30
jb 0x1400065c2
cmp dword [rsp + 0x34], 0x39
jbe 0x1400065da
lea rcx, str._n___Please_select_the_ID_of_the_virtual_machine_you_want_to_play_with_n____
call fcn.140001060
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
mov dword [rsp + 0x34], eax
jmp 0x1400065b4
mov eax, dword [rsp + 0x34]
sub eax, 0x30
mov dword [rsp + 0x34], eax
jmp 0x14000663a
lea rcx, str._n___Please_select_the_ID_of_the_virtual_machine_you_want_to_play_with_and_press_Enter_n____
call fcn.140001060
lea rax, [rsp + 0xb0]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov r8d, 0x10
lea rdx, [rsp + 0xb0]
lea rcx, [0x14000bef0]
call fcn.140001350
mov dword [rsp + 0xa8], eax
lea rcx, [rsp + 0xb0]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [rsp + 0x34], eax
jmp 0x140006646
mov eax, dword [0x14000a0ac]
mov dword [rsp + 0x34], eax
mov edx, dword [rsp + 0x34]
lea rcx, [0x14000bee8]
call fcn.140007390
mov eax, dword [rsp + 0x34]
inc rax
cmp rax, qword [rsp + 0x60]
jbe 0x140006675
lea rcx, str.___The_virtual_machine_you_selected_do_not_exist._n
call fcn.140007270
jmp case.default.0x1400069d9
lea rcx, str.___You_selected_the_following_virtual_machine:
call fcn.140001060
mov eax, dword [rsp + 0x34]
lea r8, [rsp + 0x78]
mov edx, 1
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.hvlib.dll_SdkGetData]
mov rdx, qword [rsp + 0x78]
lea rcx, [0x14000be18]
call fcn.140007390
lea rcx, str._n___Action_List:_n
call fcn.140001060
lea rcx, str._________0__Live_kernel_debugger_n_________1__Start_EXDi_plugin__WinDBG_or_Kd__n_________2__Linear_physical_memory_dump_n_________3__Microsoft_crash_memory_dump_n_________4__RAW_memory_dump__start_position__size__n_________5__Resume_partition_n_________6__Dump_all_VMs_n
call fcn.140001060
cmp dword [0x14000a0a8], 0xffffffff
jne 0x14000671f
mov dword [rsp + 0x30], 0
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_FlushConsoleInputBuffer]
lea rcx, str._n___Please_select_the_Action_ID_n____
call fcn.140001060
cmp dword [rsp + 0x30], 0x30
jb 0x140006706
cmp dword [rsp + 0x30], 0x37
jbe 0x140006712
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
mov dword [rsp + 0x30], eax
jmp 0x1400066f8
mov eax, dword [rsp + 0x30]
sub eax, 0x30
mov dword [rsp + 0x30], eax
jmp 0x140006729
mov eax, dword [0x14000a0a8]
mov dword [rsp + 0x30], eax
mov edx, dword [rsp + 0x30]
lea rcx, [0x14000bb80]
call fcn.140007390
cmp dword [rsp + 0x30], 2
je 0x140006759
cmp dword [rsp + 0x30], 3
je 0x140006759
cmp dword [rsp + 0x30], 4
je 0x140006759
cmp dword [rsp + 0x30], 6
jne 0x14000680d
cmp dword [rsp + 0x30], 6
jne 0x14000676e
lea rcx, str._n___Destination_catalog_for_the_virtual_machines_dumping_n____
call fcn.140001060
jmp 0x14000677a
lea rcx, str._n___Destination_path_for_the_virtual_machine_physical_memory_dump_n____
call fcn.140001060
cmp qword [0x140098480], 0
jne 0x1400067fa
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.1400071e0
mov word [rsp + 0x38], ax
mov dx, 0xa
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.DLL_SetConsoleTextAttribute]
mov edx, 0x103
lea rcx, [rsp + 0xd0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__getws_s]
movzx edx, word [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.DLL_SetConsoleTextAttribute]
lea rax, [rsp + 0xd0]
mov qword [0x140098480], rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_FlushConsoleInputBuffer]
jmp 0x14000680d
mov rdx, qword [0x140098480]
lea rcx, [0x14000ba68]
call fcn.140007390
movzx eax, byte [0x140098470]
test eax, eax
je 0x140006821
mov ecx, dword [rsp + 0x34]
call fcn.140006fd0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
cmp dword [rsp + 0x30], 4
jne 0x140006909
lea rcx, str._n___Set_block_size__bytes_:_n____
call fcn.140001060
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.1400071e0
mov word [rsp + 0x38], ax
mov dx, 0xa
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.DLL_SetConsoleTextAttribute]
lea rdx, [rsp + 0x88]
lea rcx, str._llx
call fcn.1400012a0
movzx edx, word [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.DLL_SetConsoleTextAttribute]
mov rdx, qword [rsp + 0x88]
lea rcx, str.___BlockSize_0x_llx__n
call fcn.140007390
lea rcx, str._n___Set_blocks_start_physical_address:_n____
call fcn.140001060
mov dx, 0xa
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.DLL_SetConsoleTextAttribute]
lea rdx, [rsp + 0x90]
lea rcx, [0x14000b968]
call fcn.1400012a0
movzx edx, word [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.DLL_SetConsoleTextAttribute]
mov rdx, qword [rsp + 0x90]
lea rcx, str.___BlockAddress:_0x_llx__n
call fcn.140007390
cmp dword [rsp + 0x30], 1
je 0x14000691a
mov dword [rsp + 0x6c], 1
jmp 0x140006922
mov dword [rsp + 0x6c], 0
cmp dword [rsp + 0x30], 5
je 0x140006933
mov dword [rsp + 0x68], 1
jmp 0x14000693b
mov dword [rsp + 0x68], 0
cmp dword [rsp + 0x30], 6
je 0x14000694c
mov dword [rsp + 0x70], 1
jmp 0x140006954
mov dword [rsp + 0x70], 0
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x6c]
and ecx, eax
mov eax, ecx
and eax, dword [rsp + 0x70]
test eax, eax
je 0x14000699f
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.hvlib.dll_SdkSelectPartition]
movzx eax, al
test eax, eax
jne 0x14000699d
lea rcx, str.___ERROR_in_SdkSelectPartitionHandle._n
call fcn.140001060
jmp case.default.0x1400069d9
jmp 0x1400069b1
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 6
ja case.default.0x1400069d9
mov eax, dword [rsp + 0x74]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x6b84]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x34]
mov edx, eax
mov rcx, qword [rsp + 0x48]
call fcn.140002580
movzx eax, al
test eax, eax
jne 0x1400069fe
lea rcx, str.___Cannot_initialize_crash_dump_header._n
call fcn.140007270
jmp case.default.0x1400069d9
lfence
mov eax, dword [rsp + 0x34]
mov edx, eax
mov rcx, qword [rsp + 0x48]
call fcn.140002550
movzx eax, al
test eax, eax
jne 0x140006a29
lea rcx, [0x14000b820]
call fcn.140007270
jmp case.default.0x1400069d9
lfence
mov rdx, qword [0x140098480]
mov rcx, qword [rsp + 0x48]
call fcn.1400036e0
movzx eax, al
test eax, eax
jne 0x140006a55
lea rcx, str.___Cannot_get_internal_VM_structures._n
call fcn.140007270
jmp case.default.0x1400069d9
lfence
mov rdx, qword [0x140098480]
mov rcx, qword [rsp + 0x48]
call fcn.140002eb0
movzx eax, al
test eax, eax
jne 0x140006a81
lea rcx, [0x14000b770]
call fcn.140007270
jmp case.default.0x1400069d9
lfence
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x90]
mov rdx, qword [0x140098480]
mov rcx, qword [rsp + 0x48]
call fcn.1400038b0
movzx eax, al
test eax, eax
jne 0x140006abd
lea rcx, str.___Problem_with_memory_chunk_dumping_n
call fcn.140007270
jmp case.default.0x1400069d9
lfence
lea r8, [rsp + 0xa0]
mov edx, 0x22
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.hvlib.dll_SdkGetData]
movzx r9d, byte [rsp + 0xa0]
mov r8d, dword [0x140098448]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.hvlib.dll_SdkControlVmState]
movzx eax, al
test eax, eax
jne case.0x1400069d9.6
lea rcx, str.___Problem_with_resuming_selected_VM_n
call fcn.140007270
lfence
mov r8, qword [0x140098480]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call fcn.140002d00
movzx eax, al
test eax, eax
jne case.default.0x1400069d9
lea rcx, str.___Problem_with_dump_of_some_VMs_n
call fcn.140007270
call qword [sym.imp.hvlib.dll_SdkCloseAllPartitions]
movzx eax, byte [0x140098472]
test eax, eax
je 0x140006b76
lea rcx, str.___Press_enter_for_closing_LiveCloudKd_n
call fcn.140001060
mov dword [rsp + 0x5c], 0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0xa
je 0x140006b76
cmp dword [rsp + 0x5c], 0xffffffff
jne 0x140006b5e
mov eax, 1
add rsp, 0x2e0
pop rdi
ret