Function at 0x1400046d0
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x140036140]
xor rax, rsp
mov qword [rbp + 0x138], rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005790
mov dword [rbp + 0x130], 0xffffffff
xor r8d, r8d
lea rdx, [0x14002bb25]
lea rcx, [0x140036178]
call fcn.1400055e0
mov ecx, 0x1e0
call fcn.140027f20
mov rbx, rax
mov qword [rsp + 0x48], rax
xor edx, edx
mov r8d, 0x1e0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
lea r8d, [rax + 5]
lea rdx, str.L11_5
lea rcx, [rsp + 0x28]
call fcn.1400043d0
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.140009070
nop
mov qword [0x140037260], rax
mov byte [0x140037258], 0
lea rsi, str.true
lea rdi, [0x14002bf08]
lea rcx, [0x14002bc1c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.MENU:_n_n_____1.__Connect_to_Hardware__n_____3.__Start_Scanning_n_____4.__Stop_Scanning_n_____5.__Print_HW_Info_n_____10._Toggle_Hardware_Emulation_Mode_n_n99._Exit_n_n
call fcn.140004110
lea rcx, str._nEnter_the_operation_you_wish_to_perform:
call fcn.140004110
lea rdx, [rbp + 0x130]
lea rcx, [0x14002bcec]
call fcn.140004170
mov eax, dword [rbp + 0x130]
cmp eax, 1
jne 0x1400047ee
call fcn.140004a20
jmp 0x1400049c8
cmp eax, 3
jne 0x1400047fd
call fcn.140004d70
jmp 0x1400049c8
cmp eax, 4
jne 0x14000480c
call fcn.140004fc0
jmp 0x1400049c8
cmp eax, 5
jne 0x140004970
cmp qword [0x140037260], 0
je 0x1400049c8
lea rcx, [rbp + 0x30]
call fcn.1400044d0
nop
mov rcx, qword [0x140037260]
mov r8, qword [rcx + 0x50]
mov rax, qword [rcx + 0x58]
sub rax, r8
sar rax, 3
lea rbx, [rcx + 0xd8]
test rax, rax
je 0x14000486d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov byte [rbp + 0x20], 0
lea r9, [rsp + 0x50]
mov r8, qword [r8]
mov rdx, rbx
call fcn.140009560
mov rdx, rbx
lea rcx, [rbp + 0x30]
call fcn.140007e70
lea rcx, [0x14002bf30]
call fcn.140004110
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae rdx, qword [rbp + 0x30]
lea rcx, str.Probe_serial_number:__s_n
call fcn.140004110
lea rdx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0x10
cmovae rdx, qword [rbp + 0xb0]
lea rcx, str.Probe_FX3_Firmware_Version:__s_n
call fcn.140004110
lea rdx, str.false
cmp byte [rbp + 0xd1], 1
cmove rdx, rsi
lea rcx, str.Probe_connected:__s_n
call fcn.140004110
lea rdx, str.false
cmp byte [rbp + 0xd0], 1
cmove rdx, rsi
lea rcx, str.Probe_is_emulated:__s_n
call fcn.140004110
lea rdx, str.false
cmp byte [rbp + 0xd3], 1
cmove rdx, rsi
lea rcx, str.Probe_ready_to_image:__s_n
call fcn.140004110
lea rdx, str.false
cmp byte [rbp + 0xd2], 1
cmove rdx, rsi
lea rcx, str.Probe_currently_imaging:__s_n
call fcn.140004110
lea rdx, str.false
cmp byte [rbp + 0xd4], 1
cmove rdx, rsi
lea rcx, str.Probe_in_standby_mode:__s_n
call fcn.140004110
lea rcx, [0x14002bf30]
call fcn.140004110
nop
lea rcx, [rbp + 0x30]
call fcn.1400051f0
jmp 0x1400049c8
cmp eax, 0xa
jne 0x1400049b7
cmp byte [0x140037258], 0
sete r8b
mov byte [0x140037258], r8b
test r8b, r8b
setne cl
mov rax, qword [0x140037260]
mov byte [rax + 0x1d8], cl
lea rdx, [0x14002bf0c]
cmp r8b, 1
cmove rdx, rdi
lea rcx, str._n_nHardware_Emulation_Mode:__s_n_n
call fcn.140004110
jmp 0x1400049c8
cmp eax, 0x63
je 0x1400049df
lea rcx, str.Invalid_Input_n
call fcn.140004110
lea rcx, str._nPress_any_key_to_continue
call fcn.140004110
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
jmp 0x1400047a1
lea rcx, str.BYE____n
call fcn.140004110
xor eax, eax
mov rcx, qword [rbp + 0x138]
xor rcx, rsp
call fcn.140027f00
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret