Function at 0x140044190
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x14db0
call fcn.1400ae240
sub rsp, rax
mov rax, qword [0x1400c1008]
xor rax, rsp
mov qword [rsp + 0x14da0], rax
mov r14, rdx
mov rbx, rcx
mov dword [rsp + 0x144], 0
mov dword [rsp + 0x148], 0
mov dword [rsp + 0x140], 0
xor edx, edx
mov r8d, 0x9fff
lea rcx, [rsp + 0xada0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x9fff
lea rcx, [rsp + 0xda0]
call sub.VCRUNTIME140.dll_memset
lea rax, str.ESRV_OPTIONS
mov qword [rsp + 0x60], rax
lea rax, str.VERSION
mov qword [rsp + 0x68], rax
lea rax, [0x1400e1a38]
mov qword [rsp + 0x70], rax
lea rax, str.ERROR
mov qword [rsp + 0x78], rax
lea rax, [0x1400e1a2c]
mov qword [rsp + 0x80], rax
lea rax, [0x1400e1a28]
mov qword [rsp + 0x88], rax
lea rax, [0x1400e19fc]
mov qword [rsp + 0x90], rax
lea rax, [0x1400e1a20]
mov qword [rsp + 0x98], rax
lea rax, [0x1400e19dc]
mov qword [rsp + 0xa0], rax
lea rax, str.DEVICE_VERSION
mov qword [rsp + 0xa8], rax
lea rax, [0x1400e1a00]
mov qword [rsp + 0xb0], rax
lea rax, [0x1400e19f0]
mov qword [rsp + 0xb8], rax
lea rax, str.DEVICE_SNAPSHOT
mov qword [rsp + 0xc0], rax
lea rax, str.DEVICE_LOG
mov qword [rsp + 0xc8], rax
lea rax, str.DEVICE_STREAM
mov qword [rsp + 0xd0], rax
lea rax, str.BUILD_SIGNATURE
mov qword [rsp + 0xd8], rax
lea rax, str.DEVICE_BUILD_SIGNATURE
mov qword [rsp + 0xe0], rax
lea rax, str.LSLIB
mov qword [rsp + 0xe8], rax
lea rax, [0x1400e198c]
mov qword [rsp + 0xf0], rax
lea rax, str.NEIGHBORS
mov qword [rsp + 0xf8], rax
lea rax, [0x1400e197c]
mov qword [rsp + 0x100], rax
lea rax, [0x1400e1978]
mov qword [rsp + 0x108], rax
lea rax, str.UPTIME
mov qword [rsp + 0x110], rax
lea rax, [0x1400e196c]
mov qword [rsp + 0x118], rax
lea rax, str.ERROR_STACK
mov qword [rsp + 0x120], rax
lea rax, [0x1400e183c]
mov qword [rsp + 0x128], rax
lea rax, str.DCTL
mov qword [rsp + 0x130], rax
xor edx, edx
mov r8d, 0xc50
lea rcx, [rsp + 0x150]
call sub.VCRUNTIME140.dll_memset
xor r13d, r13d
mov dword [rsp + 0x48], r13d
test rbx, rbx
je 0x1400470a6
test r14, r14
je 0x1400470a6
lea r15, [rbx + 0x11b18]
lea rsi, [rbx + 0x11bd0]
lea edi, [r13 + 1]
cmp dword [rbx + 0x52c0c], edi
jne 0x1400443f4
cmp dword [rbx + 0xc04], edi
cmove r13d, edi
mov dword [rsp + 0x48], r13d
mov rax, qword [r14 + 0xa088]
movsx ecx, byte [rax + 0x5d]
dec ecx
cmp ecx, 0x73
ja case.0x140044426.16
movsxd rax, ecx
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x4712c]
mov ecx, dword [rdx + rax*4 + 0x470ec]
add rcx, rdx
jmp rcx
lea rdx, str.Processing_STOP_Command.__ML_COMMAND_
mov rcx, rbx
call fcn.14000ce20
lea rcx, [rbx + 0x20aa4]
mov r9d, 0x9fff
lea r8, str.STOP
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov dword [rbx + 0x20888], edi
mov dword [rbx + 0x20898], 0
lea rdi, [rbx + 0x70c20]
test rdi, rdi
je 0x140044491
mov rcx, qword [rbx + 0x70c28]
test rcx, rcx
je 0x140044483
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rdi]
test rcx, rcx
je 0x140044491
call qword [sym.imp.KERNEL32.dll_SetEvent]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, qword [rbx + 0x7dd78]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x7dbd8]
test rcx, rcx
je case.0x140044426.16
call qword [sym.imp.KERNEL32.dll_SetEvent]
jmp case.0x140044426.16
lea rdx, str.Processing_PAUSE_Command.__ML_COMMAND_
mov rcx, rbx
call fcn.14000ce20
lea rcx, [rbx + 0x20aa4]
mov r9d, 0x9fff
lea r8, str.PAUSE
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
cmp dword [rbx + 0x208a4], 0
jne case.0x140044426.16
cmp dword [rbx + 0x20934], 0
jne case.0x140044426.16
mov dword [rbx + 0x208a4], edi
mov dword [rbx + 0x20930], edi
mov qword [rbx + 0x20934], 1
mov dword [rbx + 0x2093c], 0
lea rdx, str.SUSPEND
mov rcx, rbx
call fcn.140052510
cmp eax, 1
je 0x1400470ab
cmp dword [rbx + 0x128a4], 1
je 0x140044551
call fcn.14005a2f0
cmp dword [rbx + 0x209f8], 1
jne case.0x140044426.16
mov rcx, qword [rbx + 0x20a00]
test rcx, rcx
je case.0x140044426.16
call qword [sym.imp.KERNEL32.dll_SetEvent]
jmp case.0x140044426.16
lea rdx, str.Processing_RESUME_Command.__ML_COMMAND_
mov rcx, rbx
call fcn.14000ce20
lea rcx, [rbx + 0x20aa4]
mov r9d, 0x9fff
lea r8, str.RESUME
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
cmp dword [rbx + 0x208a4], 1
jne case.0x140044426.16
cmp dword [rbx + 0x2093c], 0
jne case.0x140044426.16
mov dword [rbx + 0x208a4], 0
mov dword [rbx + 0x20938], edi
mov dword [rbx + 0x2093c], edi
mov qword [rbx + 0x20930], 0
lea rdx, [0x1400e1834]
mov rcx, rbx
call fcn.140052510
cmp eax, 1
je 0x1400470ab
cmp dword [rbx + 0x128a4], 1
je case.0x140044426.16
call fcn.14005a410
jmp case.0x140044426.16
lea rdx, str.Processing_RESET_Command.__ML_COMMAND_
mov rcx, rbx
call fcn.14000ce20
lea rcx, [rbx + 0x20aa4]
mov r9d, 0x9fff
lea r8, str.RESET
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
xor ecx, ecx
mov dword [rsp + 0x44], ecx
cmp ecx, dword [rbx + 0x68]
jge 0x140044673
movsxd rax, ecx
mov qword [rbx + rax*8 + 0x8b8], 0
mov qword [rbx + rax*8 + 0x908], 0
mov qword [rbx + rax*8 + 0x958], 0
inc ecx
jmp 0x14004463f
cmp dword [rbx + 0x128a4], 1
je case.0x140044426.16
call fcn.140059ee0
jmp case.0x140044426.16
lea rdx, str.Processing_SYNCH_Command.__ML_COMMAND_
mov rcx, rbx
call fcn.14000ce20
lea rcx, [rbx + 0x20aa4]
mov r9d, 0x9fff
lea r8, [0x1400e182c]
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov rcx, qword [rbx + 0x70c30]
test rcx, rcx
je 0x1400446c9
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [rbx + 0x128a4], 1
je case.0x140044426.16
call fcn.140059a40
jmp case.0x140044426.16
lea rdx, str.Processing_FLUSH_Command.__ML_COMMAND_
mov rcx, rbx
call fcn.14000ce20
lea rcx, [rbx + 0x20aa4]
mov r9d, 0x9fff
lea r8, str.FLUSH
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov rcx, qword [rbx + 0x70c40]
test rcx, rcx
je 0x14004471f
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, 0x2710
mov rcx, qword [rbx + 0x2aab0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x144], eax
test eax, eax
je 0x140044950
xor edx, edx
mov r8d, 0xc50
lea rcx, [rsp + 0x150]
cmp eax, 0x80
je 0x14004485b
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x154], eax
mov dword [rsp + 0x190], 3
mov dword [rsp + 0x15c], edi
mov dword [rsp + 0x198], 0x39
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, eax
mov dword [rsp + 0x28], edi
mov r9d, 0x39
mov rdx, r15
mov rcx, rbx
call fcn.1400a5b80
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 4
lea rax, [0x1400e1770]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e1764]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x3725
mov eax, dword [r15 + 0x30]
mov dword [rsp + 0x16c], eax
inc eax
mov dword [r15 + 0x30], eax
mov r9d, edi
lea r8, [rsp + 0x150]
mov rdx, r15
mov rcx, rbx
call fcn.1400a51e0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x140044856
mov qword [rsi + 0x10], 1
mov dword [rsi + 0xc], 0
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x140044856
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400b4c70]
mov dword [r15 + 0x50], eax
jmp 0x1400470ab
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x154], eax
mov dword [rsp + 0x190], edi
mov dword [rsp + 0x15c], edi
mov dword [rsp + 0x198], 0x39
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, eax
mov dword [rsp + 0x28], edi
mov r9d, 0x39
mov rdx, r15
mov rcx, rbx
call fcn.1400a5b80
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], edi
lea rax, [0x1400e17d0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e17cc]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x3717
mov eax, dword [r15 + 0x30]
mov dword [rsp + 0x16c], eax
inc eax
mov dword [r15 + 0x30], eax
mov r9d, edi
lea r8, [rsp + 0x150]
mov rdx, r15
mov rcx, rbx
call fcn.1400a51e0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x140044976
mov qword [rsi + 0x10], 1
mov dword [rsi + 0xc], 0
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x140044976
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400b4c70]
mov dword [r15 + 0x50], eax
jmp 0x140044976
lea rdx, [0x1400e175c]
mov rcx, rbx
call fcn.140052510
cmp eax, 1
je 0x1400470ab
cmp dword [rbx + 0x128a4], 1
je 0x140044976
call fcn.140059f70
xor r8d, r8d
mov edx, edi
mov rcx, qword [rbx + 0x2aab0]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
test eax, eax
jne case.0x140044426.16
xor edx, edx
mov r8d, 0xc50
lea rcx, [rsp + 0x150]
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x154], eax
mov dword [rsp + 0x190], 3
mov dword [rsp + 0x15c], edi
mov dword [rsp + 0x198], 0x39
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, eax
mov dword [rsp + 0x28], edi
mov r9d, 0x39
mov rdx, r15
mov rcx, rbx
call fcn.1400a5b80
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 4
lea rax, [0x1400e1700]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e15f4]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x376d
mov eax, dword [r15 + 0x30]
mov dword [rsp + 0x16c], eax
inc eax
mov dword [r15 + 0x30], eax
mov r9d, edi
lea r8, [rsp + 0x150]
mov rdx, r15
mov rcx, rbx
call fcn.1400a51e0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x140044a9b
mov qword [rsi + 0x10], 1
mov dword [rsi + 0xc], 0
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x140044a9b
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400b4c70]
mov dword [r15 + 0x50], eax
jmp 0x1400470ab
lea rdx, str.Processing_RESTART_Command.__ML_COMMAND_
mov rcx, rbx
call fcn.14000ce20
cmp dword [rbx + 0x20898], 0
jne case.0x140044426.16
lea rcx, [rbx + 0x20aa4]
mov r9d, 0x9fff
lea r8, str.RESTART
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
cmp dword [rbx + 0x20648], 1
jne 0x140044c3b
cmp qword [rbx + 0x20658], 0
je 0x140044c3b
cmp qword [rbx + 0x20660], 0
je 0x140044c3b
lea rdx, str.Stopping_Periodic_Startup_Dependencies_Checker_Thread.__SERVER_
mov rcx, rbx
call fcn.14000ce20
mov dword [rbx + 0x20668], edi
mov rcx, qword [rbx + 0x20660]
test rcx, rcx
je 0x140044b2f
call qword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x140044c3b
xor edx, edx
mov r8d, 0xc50
lea rcx, [rsp + 0x150]
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x154], eax
mov dword [rsp + 0x190], edi
mov dword [rsp + 0x15c], edi
mov dword [rsp + 0x198], 0xa7
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, eax
mov dword [rsp + 0x28], edi
mov r9d, 0xa7
mov rdx, r15
mov rcx, rbx
call fcn.1400a5b80
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 4
lea rax, [0x1400e1630]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e15bc]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x37c5
mov eax, dword [r15 + 0x30]
mov dword [rsp + 0x16c], eax
inc eax
mov dword [r15 + 0x30], eax
mov r9d, edi
lea r8, [rsp + 0x150]
mov rdx, r15
mov rcx, rbx
call fcn.1400a51e0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x140044c36
mov qword [rsi + 0x10], 1
mov dword [rsi + 0xc], 0
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x140044c36
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400b4c70]
mov dword [r15 + 0x50], eax
jmp 0x1400470ab
mov rcx, qword [rbx + 0x70c38]
test rcx, rcx
je 0x140044c4d
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [rbx + 0x128a4], 1
je case.0x140044426.16
call fcn.140059b60
jmp case.0x140044426.16
lea rdx, str.Processing_DEVICE_CONTROL_Command.__ML_COMMAND_
mov rcx, rbx
call fcn.14000ce20
test r13d, r13d
je 0x140044e35
xor edx, edx
cmp r13d, 1
je 0x140044d92
mov r8d, 0xc50
lea rcx, [rsp + 0x150]
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x154], eax
mov dword [rsp + 0x190], edi
mov dword [rsp + 0x15c], edi
mov dword [rsp + 0x198], 0xb2
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, eax
mov dword [rsp + 0x28], edi
mov r9d, 0xb2
mov rdx, r15
mov rcx, rbx
call fcn.1400a5b80
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 4
lea rax, [0x1400e1440]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e13fc]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x3913
mov eax, dword [r15 + 0x30]
mov dword [rsp + 0x16c], eax
inc eax
mov dword [r15 + 0x30], eax
mov r9d, edi
lea r8, [rsp + 0x150]
mov rdx, r15
mov rcx, rbx
call fcn.1400a51e0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x140044d8d
mov qword [rsi + 0x10], 1
mov dword [rsi + 0xc], 0
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x140044d8d
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400b4c70]
mov dword [r15 + 0x50], eax
jmp 0x1400470ab
lea rdi, [rbx + 0x66c20]
mov r8d, 0xa000
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov rdx, qword [r14 + 0xa088]
add rdx, 0x5e
test rdi, rdi
je 0x140044dcc
test rdx, rdx
je 0x140044dcc
mov r8d, 0x9fff
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
jmp 0x140044dde
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WS2_32.dll_shutdown
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov byte [rbx + 0x70c1f], 0
lea rdx, str....Signaling_DEVICE_CONTROL_Interrupt.__ML_COMMAND_
mov rcx, rbx
call fcn.14000ce20
mov rcx, qword [rbx + 0x70c60]
test rcx, rcx
je 0x140044e06
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [rbx + 0x128a4], 1
je case.0x140044426.16
cmp dword [rbx + 0x128b4], 1
je case.0x140044426.16
mov rcx, qword [r14 + 0xa088]
add rcx, 0x5e
call fcn.140059bf0
jmp case.0x140044426.16
mov edx, 0x2710
mov rcx, qword [rbx + 0x2aab0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x144], eax
xor edx, edx
test eax, eax
je 0x140045071
mov r8d, 0xc50
lea rcx, [rsp + 0x150]
cmp eax, 0x102
je 0x140044f71
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x154], eax
mov dword [rsp + 0x190], 3
mov dword [rsp + 0x15c], edi
mov dword [rsp + 0x198], 0x39
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, eax
mov dword [rsp + 0x28], edi
mov r9d, 0x39
mov rdx, r15
mov rcx, rbx
call fcn.1400a5b80
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 4
lea rax, [0x1400e1500]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e14fc]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x388e
mov eax, dword [r15 + 0x30]
mov dword [rsp + 0x16c], eax
inc eax
mov dword [r15 + 0x30], eax
mov r9d, edi
lea r8, [rsp + 0x150]
mov rdx, r15
mov rcx, rbx
call fcn.1400a51e0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x140044f6c
mov qword [rsi + 0x10], 1
mov dword [rsi + 0xc], 0
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x140044f6c
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400b4c70]
mov dword [r15 + 0x50], eax
jmp 0x1400470ab
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x154], eax
mov dword [rsp + 0x190], edi
mov dword [rsp + 0x15c], edi
mov dword [rsp + 0x198], 0x39
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, eax
mov dword [rsp + 0x28], edi
mov r9d, 0x39
mov rdx, r15
mov rcx, rbx
call fcn.1400a5b80
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], edi
lea rax, [0x1400e1560]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e155c]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x3880
mov eax, dword [r15 + 0x30]
mov dword [rsp + 0x16c], eax
inc eax
mov dword [r15 + 0x30], eax
mov r9d, edi
lea r8, [rsp + 0x150]
mov rdx, r15
mov rcx, rbx
call fcn.1400a51e0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x140045107
mov qword [rsi + 0x10], 1
mov dword [rsi + 0xc], 0
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x140045107
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400b4c70]
mov dword [r15 + 0x50], eax
jmp 0x140045107
lea r12, [rbx + 0x20aa4]
mov r8d, 0xa000
mov rcx, r12
call sub.VCRUNTIME140.dll_memset
mov rdx, qword [r14 + 0xa088]
add rdx, 0x5e
test r12, r12
je 0x1400450ab
test rdx, rdx
je 0x1400450ab
mov r8d, 0x9fff
mov rcx, r12
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1400450bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WS2_32.dll_shutdown
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov byte [rbx + 0x2aaa3], 0
lea rdx, [0x1400e1308]
mov rcx, rbx
call fcn.14000ce20
mov rcx, qword [rbx + 0x70c50]
test rcx, rcx
je 0x1400450e5
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [rbx + 0x128a4], 1
je 0x140045107
cmp dword [rbx + 0x128b4], 1
je 0x140045107
mov rcx, qword [r14 + 0xa088]
add rcx, 0x5e
call fcn.140059bf0
xor r8d, r8d
mov edx, edi
mov rcx, qword [rbx + 0x2aab0]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
test eax, eax
jne case.0x140044426.16
xor edx, edx
mov r8d, 0xc50
lea rcx, [rsp + 0x150]
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x154], eax
mov dword [rsp + 0x190], 3
mov dword [rsp + 0x15c], edi
mov dword [rsp + 0x198], 0x39
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, eax
mov dword [rsp + 0x28], edi
mov r9d, 0x39
mov rdx, r15
mov rcx, rbx
call fcn.1400a5b80
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 4
lea rax, [0x1400e14a0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e149c]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x38f5
mov eax, dword [r15 + 0x30]
mov dword [rsp + 0x16c], eax
inc eax
mov dword [r15 + 0x30], eax
mov r9d, edi
lea r8, [rsp + 0x150]
mov rdx, r15
mov rcx, rbx
call fcn.1400a51e0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x14004522c
mov qword [rsi + 0x10], 1
mov dword [rsi + 0xc], 0
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x14004522c
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400b4c70]
mov dword [r15 + 0x50], eax
jmp 0x1400470ab
cmp dword [rbx + 0x20888], 1
je case.0x140044426.16
lea rdx, str.Processing_INTERNAL_DEVICE_CONTROL_Command.__ML_COMMAND_
mov rcx, rbx
call fcn.14000ce20
mov qword [r14 + 0x140c8], 0
nop dword [rax + rax]
xor r12d, r12d
mov dword [rsp + 0x44], r12d
cmp r12d, 8
jge 0x14004558b
movsxd r13, r12d
imul rcx, r13, 0x14100
mov qword [rsp + 0x48], rcx
xor edx, edx
mov rcx, qword [rcx + r14 + 0x141c0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x144], eax
test eax, eax
je 0x1400452a1
inc r12d
jmp 0x140045263
mov rcx, qword [rsp + 0x48]
cmp dword [rcx + r14 + 0x141d0], 1
je 0x140045583
cmp dword [rcx + r14 + 0x141cc], 1
je 0x140045583
cmp dword [rcx + r14 + 0x141c8], 1
jne 0x1400453fa
xor r8d, r8d
mov edx, edi
mov rcx, qword [rcx + r14 + 0x141c0]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
test eax, eax
jne 0x140045583
xor edx, edx
mov r8d, 0xc50
lea r14, [rsp + 0x150]
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x154], eax
mov dword [rsp + 0x190], 3
mov dword [rsp + 0x15c], edi
mov dword [rsp + 0x198], 0x39
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, eax
mov dword [rsp + 0x28], edi
mov r9d, 0x39
mov rdx, r15
mov rcx, rbx
call fcn.1400a5b80
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 4
lea rax, [0x1400e13a0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e139c]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x39aa
mov eax, dword [r15 + 0x30]
mov dword [rsp + 0x16c], eax
inc eax
mov dword [r15 + 0x30], eax
mov r9d, edi
mov r8, r14
mov rdx, r15
mov rcx, rbx
call fcn.1400a51e0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x1400453f5
mov qword [rsi + 0x10], 1
xor eax, eax
mov dword [rsi + 0xc], eax
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x1400453f5
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400b4c70]
mov dword [r15 + 0x50], eax
jmp 0x1400470ab
mov dword [rcx + r14 + 0x141c8], edi
mov dword [r14 + 0x140c8], r12d
mov dword [r14 + 0x140cc], edi
mov rax, qword [r14 + 0xa0b8]
mov qword [rcx + r14 + 0x141d8], rax
add rcx, 0x14220
add rcx, r14
jne 0x14004543f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WS2_32.dll_shutdown
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
jmp 0x14004544d
mov r8d, 0xa080
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbx + 0x7deb0]
mov rcx, qword [rsp + 0x48]
mov qword [rax + rcx + 0xa1d8], r14
mov rcx, qword [r14 + r13*8 + 0x14118]
call qword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne case.0x140044426.16
xor edx, edx
mov r8d, 0xc50
lea r14, [rsp + 0x150]
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x154], eax
mov dword [rsp + 0x190], 3
mov dword [rsp + 0x15c], edi
mov dword [rsp + 0x198], 0x39
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, eax
mov dword [rsp + 0x28], edi
mov r9d, 0x39
mov rdx, r15
mov rcx, rbx
call fcn.1400a5b80
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 4
lea rax, [0x1400e1340]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e12cc]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x39e4
mov eax, dword [r15 + 0x30]
mov dword [rsp + 0x16c], eax
inc eax
mov dword [r15 + 0x30], eax
mov r9d, edi
mov r8, r14
mov rdx, r15
mov rcx, rbx
call fcn.1400a51e0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x14004557e
mov qword [rsi + 0x10], 1
xor eax, eax
mov dword [rsi + 0xc], eax
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x14004557e
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400b4c70]
mov dword [r15 + 0x50], eax
jmp 0x1400470ab
inc r12d
jmp 0x140045263
cmp dword [r14 + 0x140cc], 0
jne case.0x140044426.16
mov ecx, 0xfa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rbx + 0x20888], 1
je case.0x140044426.16
jmp 0x140045260
cmp dword [rbx + 0x20888], 1
je case.0x140044426.16
lea rdx, str.Processing_REMOTE_DEVICE_CONTROL_Command.__ML_COMMAND_
mov rcx, rbx
call fcn.14000ce20
mov qword [r14 + 0xb49fc], 0
nop dword [rax]
xor r12d, r12d
mov dword [rsp + 0x44], r12d
cmp r12d, 8
jge 0x14004591a
movsxd r13, r12d
imul rcx, r13, 0x14108
mov qword [rsp + 0x48], rcx
xor edx, edx
mov rcx, qword [rcx + r14 + 0xb4af8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x144], eax
test eax, eax
je 0x140045621
inc r12d
jmp 0x1400455e3
mov rcx, qword [rsp + 0x48]
cmp dword [rcx + r14 + 0xb4b08], 1
je 0x140045912
cmp dword [rcx + r14 + 0xb4b04], 1
je 0x140045912
cmp dword [rcx + r14 + 0xb4b00], 1
jne 0x14004577a
xor r8d, r8d
mov edx, edi
mov rcx, qword [rcx + r14 + 0xb4af8]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
test eax, eax
jne 0x140045912
xor edx, edx
mov r8d, 0xc50
lea r14, [rsp + 0x150]
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x154], eax
mov dword [rsp + 0x190], 3
mov dword [rsp + 0x15c], edi
mov dword [rsp + 0x198], 0x39
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, eax
mov dword [rsp + 0x28], edi
mov r9d, 0x39
mov rdx, r15
mov rcx, rbx
call fcn.1400a5b80
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 4
lea rax, [0x1400e1270]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e1208]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x3c2a
mov eax, dword [r15 + 0x30]
mov dword [rsp + 0x16c], eax
inc eax
mov dword [r15 + 0x30], eax
mov r9d, edi
mov r8, r14
mov rdx, r15
mov rcx, rbx
call fcn.1400a51e0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x140045775
mov qword [rsi + 0x10], 1
xor eax, eax
mov dword [rsi + 0xc], eax
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x140045775
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400b4c70]
mov dword [r15 + 0x50], eax
jmp 0x1400470ab
mov dword [rcx + r14 + 0xb4b00], edi
mov dword [r14 + 0xb49fc], r12d
mov dword [r14 + 0xb4a00], edi
mov rax, qword [r14 + 0xa0b8]
mov qword [rcx + r14 + 0xb4b10], rax
mov rax, qword [rbx + 0x2aaa8]
mov qword [rcx + r14 + 0xbebd8], rax
add rcx, 0xb4b58
add rcx, r14
jne 0x1400457ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WS2_32.dll_shutdown
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
jmp 0x1400457dc
mov r8d, 0xa080
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbx + 0x7deb8]
mov rcx, qword [rsp + 0x48]
mov qword [rax + rcx + 0xa1d8], r14
mov rcx, qword [r14 + r13*8 + 0xb4a50]
call qword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne case.0x140044426.16
xor edx, edx
mov r8d, 0xc50
lea r14, [rsp + 0x150]
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x154], eax
mov dword [rsp + 0x190], 3
mov dword [rsp + 0x15c], edi
mov dword [rsp + 0x198], 0x39
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, eax
mov dword [rsp + 0x28], edi
mov r9d, 0x39
mov rdx, r15
mov rcx, rbx
call fcn.1400a5b80
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 4
lea rax, [0x1400e1210]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e11c4]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x3c63
mov eax, dword [r15 + 0x30]
mov dword [rsp + 0x16c], eax
inc eax
mov dword [r15 + 0x30], eax
mov r9d, edi
mov r8, r14
mov rdx, r15
mov rcx, rbx
call fcn.1400a51e0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x14004590d
mov qword [rsi + 0x10], 1
xor eax, eax
mov dword [rsi + 0xc], eax
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x14004590d
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400b4c70]
mov dword [r15 + 0x50], eax
jmp 0x1400470ab
inc r12d
jmp 0x1400455e3
cmp dword [r14 + 0xb4a00], 0
jne case.0x140044426.16
mov ecx, 0xfa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rbx + 0x20888], 1
je case.0x140044426.16
jmp 0x1400455e0
lea rdx, str.Processing_STATUS_Command.__ML_COMMAND_
mov rcx, rbx
call fcn.14000ce20
test r13d, r13d
jne 0x140045990
mov eax, dword [rbx + 0x3eb00]
cmp eax, 1
jne 0x140045977
lea rcx, [rbx + 0x3ead8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [rbx + 0x3eb00]
inc qword [rbx + 0x2aac0]
cmp eax, 1
jne 0x140045990
lea rcx, [rbx + 0x3ead8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [r14 + 0xa088]
add rcx, 0x5e
cmp byte [rcx], 0
je 0x1400467d3
mov dword [rsp + 0x140], 0
test rcx, rcx
jne 0x1400459b8
xor eax, eax
jmp 0x1400459c3
mov edx, 0xa000
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov qword [rsp + 0x50], rax
xor edx, edx
mov dword [rsp + 0x40], edx
cmp edx, 0x1b
jae 0x140045e3f
mov r12, qword [rsp + rdx*8 + 0x60]
test r12, r12
jne 0x1400459e5
xor eax, eax
jmp 0x1400459f3
mov edx, 0x4002
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
cmp qword [rsp + 0x50], rax
cmovae rax, qword [rsp + 0x50]
mov rcx, qword [r14 + 0xa088]
add rcx, 0x5e
mov r8, rax
mov rdx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x140045b61
lea rcx, [rbx + 0x20aa4]
mov r9d, 0x9fff
mov r8, r12
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov edx, dword [rsp + 0x40]
cmp edx, 0x19
ja case.0x140045a5f.8
lea r8, [0x140000000]
movzx eax, byte [r8 + rdx + 0x471c4]
mov ecx, dword [r8 + rax*4 + 0x471a0]
add rcx, r8
jmp rcx
mov ecx, dword [rbx + 0x12844]
test ecx, ecx
je 0x140045ac1
sub ecx, 2
je 0x140045ac1
cmp ecx, 1
jne 0x140045ac1
xor edx, edx
mov r8d, 0x9fff
lea rcx, [rsp + 0xada0]
call sub.VCRUNTIME140.dll_memset
lea r12, [rbx + 0x12ff8]
mov r8d, 0x9fff
lea rdx, [rsp + 0xada0]
mov rcx, r12
call fcn.1400920d0
cmp eax, 1
je 0x1400470ab
lea r9, str._esrv_options_:__s_
lea rax, [rsp + 0xada0]
jmp 0x140045ad2
lea r12, [rbx + 0x12ff8]
lea r9, [0x1400e11c0]
mov rax, r12
mov qword [rsp + 0x20], rax
mov edx, 0x9fff
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0xda0]
call fcn.140001030
mov byte [rsp + 0xad9e], 0
test r13d, r13d
jne 0x140045b13
cmp dword [rbx + 0x3eb00], 1
jne 0x140045b13
lea rcx, [rbx + 0x3ead8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rsp + 0x20], r12
lea r9, [0x1400e11a4]
lea rcx, [r14 + 0xa0c0]
mov edx, 0x9fff
mov r8, 0xffffffffffffffff
call fcn.140001030
mov byte [r14 + 0x140be], 0
test r13d, r13d
jne 0x140045b5a
cmp dword [rbx + 0x3eb00], 1
jne 0x140045b5a
lea rcx, [rbx + 0x3ead8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [rsp + 0x140], edi
mov edx, dword [rsp + 0x40]
inc edx
jmp 0x1400459ca
xor edx, edx
mov r8d, 0x9fff
lea rcx, [rsp + 0xada0]
call sub.VCRUNTIME140.dll_memset
mov r8d, dword [rbx + 0x12844]
lea rcx, [rsp + 0xada0]
call fcn.14005ae60
mov byte [rsp + 0x14d9e], 0
cmp eax, 1
je 0x1400470ab
mov ecx, dword [rbx + 0x12844]
test ecx, ecx
je 0x140045bc1
sub ecx, 2
je 0x140045bc1
cmp ecx, 1
lea r12, str._build_symbols_:___s_
je 0x140045bc8
lea r12, [0x1400e11a0]
xor edx, edx
mov r8d, 0x9fff
lea rcx, [rsp + 0xda0]
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0xada0]
mov qword [rsp + 0x20], rax
mov r9, r12
mov edx, 0x9fff
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0xda0]
call fcn.140001030
mov byte [rsp + 0xad9e], 0
test r13d, r13d
jne 0x140045c29
cmp dword [rbx + 0x3eb00], 1
jne 0x140045c29
lea rcx, [rbx + 0x3ead8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rax, [rsp + 0xda0]
mov qword [rsp + 0x20], rax
mov r9, r12
jmp 0x140045b1f
lea rdx, [rsp + 0xda0]
mov rcx, rbx
call fcn.14000faa0
cmp eax, 1
je 0x1400470ab
test r13d, r13d
jne 0x140045c72
cmp dword [rbx + 0x3eb00], 1
jne 0x140045c72
lea rcx, [rbx + 0x3ead8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rax, [rsp + 0xda0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e119c]
jmp 0x140045b1f
lea rdx, [rsp + 0xda0]
mov rcx, rbx
call fcn.14000f2c0
cmp eax, 1
je 0x1400470ab
test r13d, r13d
jne 0x140045cbf
cmp dword [rbx + 0x3eb00], 1
jne 0x140045cbf
lea rcx, [rbx + 0x3ead8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rax, [rsp + 0xda0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e1198]
jmp 0x140045b1f
lea rdx, [rsp + 0xda0]
mov rcx, rbx
call fcn.14000f6f0
cmp eax, 1
je 0x1400470ab
test r13d, r13d
jne 0x140045d0c
cmp dword [rbx + 0x3eb00], 1
jne 0x140045d0c
lea rcx, [rbx + 0x3ead8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rax, [rsp + 0xda0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e1194]
jmp 0x140045b1f
lea rdx, [rsp + 0xda0]
mov rcx, rbx
call fcn.14000f650
cmp eax, 1
je 0x1400470ab
test r13d, r13d
jne 0x140045d59
cmp dword [rbx + 0x3eb00], 1
jne 0x140045d59
lea rcx, [rbx + 0x3ead8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rax, [rsp + 0xda0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e1190]
jmp 0x140045b1f
lea rdx, [rbx + 0x11b18]
mov eax, dword [rbx + 0x12844]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], 0x9fff
lea r9, [rsp + 0xda0]
mov r8d, edi
mov rcx, rbx
call fcn.14009e230
cmp eax, 1
je 0x1400470ab
test r13d, r13d
jne 0x140045dc3
cmp dword [rbx + 0x3eb00], 1
jne 0x140045dc3
lea rcx, [rbx + 0x3ead8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rax, [rsp + 0xda0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e114c]
jmp 0x140045b1f
mov r8d, 0x9fff
lea rdx, [rsp + 0xda0]
mov rcx, rbx
call fcn.14000e7e0
cmp eax, 1
je 0x1400470ab
test r13d, r13d
jne 0x140045e16
cmp dword [rbx + 0x3eb00], 1
jne 0x140045e16
lea rcx, [rbx + 0x3ead8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rax, [rsp + 0xda0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e101c]
jmp 0x140045b1f
mov dword [rsp + 0x140], 0
jmp 0x140045b65
cmp dword [rsp + 0x140], 1
je 0x14004651a
test r13d, r13d
jne 0x140045e7a
mov r8, qword [r14 + 0xa088]
add r8, 0x5e
lea rcx, [rbx + 0x20aa4]
mov edx, 0xa000
lea r9d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov byte [rbx + 0x2aaa3], r13b
mov rcx, qword [r14 + 0xa088]
add rcx, 0x5e
lea rdx, [0x1400e0fcc]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x140045ea6
xor eax, eax
mov dword [rsp + 0x40], eax
cmp eax, 3
jae 0x140045ea6
inc eax
jmp 0x140045e99
lea r12, [r14 + 0xa0c0]
mov rdx, qword [r14 + 0xa088]
add rdx, 0x5e
lea rax, [rsp + 0x140]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x9fff
mov r9, r12
mov r8d, 0xa000
mov rcx, rbx
call fcn.140061030
cmp eax, 1
je 0x140046533
cmp dword [rsp + 0x140], 1
je 0x14004651a
cmp dword [rbx + 0xc00], 1
jne 0x1400464a2
mov rcx, qword [rbx + 0x1e2e0]
test rcx, rcx
je 0x140045f1d
lea rdx, [rsp + 0x148]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
lea rdx, str....Signaling_DEVICE_CONTROL_Interrupt_For_Status.__ML_COMMAND_
mov rcx, rbx
call fcn.14000ce20
test r13d, r13d
je 0x14004619b
cmp r13d, 1
je 0x140046047
xor edx, edx
mov r8d, 0xc50
lea r14, [rsp + 0x150]
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x154], eax
mov dword [rsp + 0x190], edi
mov dword [rsp + 0x15c], edi
mov dword [rsp + 0x198], 0xb2
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, eax
mov dword [rsp + 0x28], edi
mov r9d, 0xb2
mov rdx, r15
mov rcx, rbx
call fcn.1400a5b80
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 4
lea rax, [0x1400e1030]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e0efc]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x40e1
mov eax, dword [r15 + 0x30]
mov dword [rsp + 0x16c], eax
inc eax
mov dword [r15 + 0x30], eax
mov r9d, edi
mov r8, r14
mov rdx, r15
mov rcx, rbx
call fcn.1400a51e0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x140046042
mov qword [rsi + 0x10], 1
xor eax, eax
mov dword [rsi + 0xc], eax
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x140046042
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400b4c70]
mov dword [r15 + 0x50], eax
jmp 0x1400470ab
mov dword [rbx + 0x52c08], edi
mov rax, qword [rbx + 0x2aac0]
mov qword [rbx + 0x52c10], rax
mov r8, qword [r14 + 0xa088]
add r8, 0x5e
lea rcx, [rbx + 0x52c20]
mov edx, 0xa000
lea r9d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov byte [rbx + 0x5cc1f], 0
mov rcx, qword [rbx + 0x70c58]
test rcx, rcx
jne 0x1400461d9
xor edx, edx
mov r8d, 0xc50
lea r14, [rsp + 0x150]
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x154], eax
mov dword [rsp + 0x190], edi
mov dword [rsp + 0x15c], edi
mov dword [rsp + 0x198], 0xb2
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, eax
mov dword [rsp + 0x28], edi
mov r9d, 0xb2
mov rdx, r15
mov rcx, rbx
call fcn.1400a5b80
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 4
lea rax, [0x1400e10f0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e0f7c]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x40aa
mov eax, dword [r15 + 0x30]
mov dword [rsp + 0x16c], eax
inc eax
mov dword [r15 + 0x30], eax
mov r9d, edi
mov r8, r14
mov rdx, r15
mov rcx, rbx
call fcn.1400a51e0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x140046196
mov qword [rsi + 0x10], 1
xor eax, eax
mov dword [rsi + 0xc], eax
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x140046196
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400b4c70]
mov dword [r15 + 0x50], eax
jmp 0x1400470ab
mov dword [rbx + 0x2aab8], edi
mov r8, qword [r14 + 0xa088]
add r8, 0x5e
lea rcx, [rbx + 0x2aad0]
mov edx, 0xa000
lea r9d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov byte [rbx + 0x34acf], 0
mov rcx, qword [rbx + 0x70c50]
test rcx, rcx
je 0x14004639a
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [rbx + 0x128a4], 1
je 0x1400461f8
mov rcx, qword [r14 + 0xa088]
add rcx, 0x5e
call fcn.14005a000
xor eax, eax
mov r12d, eax
mov dword [rsp + 0x58], eax
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbx + 0x3ead0]
test rcx, rcx
je 0x140046533
mov edx, 0x3e8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x144], eax
test eax, eax
je 0x1400462f0
cmp dword [rbx + 0x20888], 0
jne 0x14004625c
cmp dword [rbx + 0x208b0], 0
jne 0x14004625c
cmp r12d, 4
jae 0x14004625c
inc r12d
mov dword [rsp + 0x58], r12d
jmp 0x140046210
mov ecx, dword [rbx + 0x12844]
test ecx, ecx
je 0x140046277
sub ecx, 2
je 0x140046277
cmp ecx, 1
lea r12, [0x1400e0fd0]
je 0x14004627e
lea r12, [0x1400e0e14]
test r13d, r13d
jne 0x140046299
cmp dword [rbx + 0x3eb00], 1
jne 0x140046299
lea rcx, [rbx + 0x3ead8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [r14 + 0xa0c0]
lea rax, [0x1400e0f90]
mov qword [rsp + 0x20], rax
mov r9, r12
mov edx, 0x9fff
mov r8, 0xffffffffffffffff
call fcn.140001030
mov byte [r14 + 0x140be], 0
test r13d, r13d
jne 0x14004653c
cmp dword [rbx + 0x3eb00], 1
jne 0x140046533
lea rcx, [rbx + 0x3ead8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140046533
test r13d, r13d
jne 0x14004653c
cmp dword [rbx + 0x3eb00], 1
jne 0x14004630f
lea rcx, [rbx + 0x3ead8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rbx + 0x2aac8]
sub rax, qword [rbx + 0x2aac0]
mov qword [rsp + 0x50], rax
je 0x14004637b
cmp dword [rbx + 0x20888], 0
jne 0x14004637b
mov ecx, dword [rbx + 0x12844]
test ecx, ecx
je 0x140046348
sub ecx, 2
je 0x140046348
cmp ecx, 1
lea r9, str._status_:_s
je 0x14004634f
lea r9, [0x1400e0ecc]
lea rcx, [r14 + 0xa0c0]
lea rax, str._Device_Is_Too_Slow_To_Answer__Or_Does_Not_Provide_Service_
mov qword [rsp + 0x20], rax
mov edx, 0x9fff
mov r8, 0xffffffffffffffff
call fcn.140001030
mov byte [r14 + 0x140be], 0
cmp dword [rbx + 0x3eb00], 1
jne 0x140046533
lea rcx, [rbx + 0x3ead8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140046533
xor edx, edx
mov r8d, 0xc50
lea r14, [rsp + 0x150]
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x154], eax
mov dword [rsp + 0x190], edi
mov dword [rsp + 0x15c], edi
mov dword [rsp + 0x198], 0xb2
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, eax
mov dword [rsp + 0x28], edi
mov r9d, 0xb2
mov rdx, r15
mov rcx, rbx
call fcn.1400a5b80
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 4
lea rax, [0x1400e1090]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e0f4c]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x40d3
mov eax, dword [r15 + 0x30]
mov dword [rsp + 0x16c], eax
inc eax
mov dword [r15 + 0x30], eax
mov r9d, edi
mov r8, r14
mov rdx, r15
mov rcx, rbx
call fcn.1400a51e0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x14004649d
mov qword [rsi + 0x10], 1
xor eax, eax
mov dword [rsi + 0xc], eax
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x14004649d
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400b4c70]
mov dword [r15 + 0x50], eax
jmp 0x1400470ab
mov ecx, dword [rbx + 0x12844]
test ecx, ecx
je 0x1400464bd
sub ecx, 2
je 0x1400464bd
cmp ecx, 1
lea rax, [0x1400e0e50]
je 0x1400464c4
lea rax, [0x1400e0e48]
mov qword [rsp + 0x50], rax
test r13d, r13d
jne 0x1400464e4
cmp dword [rbx + 0x3eb00], 1
jne 0x1400464e4
lea rcx, [rbx + 0x3ead8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rax, str._Unsupported_Option_By_Device_
mov qword [rsp + 0x28], rax
mov rax, qword [rbx + 0x1d0d8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov edx, 0x9fff
mov r8, 0xffffffffffffffff
mov rcx, r12
call fcn.140001030
jmp 0x140046866
cmp dword [rbx + 0x128a4], 1
je 0x140046533
mov rcx, qword [r14 + 0xa088]
add rcx, 0x5e
call fcn.14005a000
test r13d, r13d
je 0x140046722
cmp r13d, 1
je 0x140046650
xor edx, edx
mov r8d, 0xc50
lea r14, [rsp + 0x150]
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x154], eax
mov dword [rsp + 0x190], edi
mov dword [rsp + 0x15c], edi
mov dword [rsp + 0x198], 0xb2
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, eax
mov dword [rsp + 0x28], edi
mov r9d, 0xb2
mov rdx, r15
mov rcx, rbx
call fcn.1400a5b80
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 4
lea rax, [0x1400e0e70]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e0d7c]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x426b
mov eax, dword [r15 + 0x30]
mov dword [rsp + 0x16c], eax
inc eax
mov dword [r15 + 0x30], eax
mov r9d, edi
mov r8, r14
mov rdx, r15
mov rcx, rbx
call fcn.1400a51e0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x14004664b
mov qword [rsi + 0x10], 1
mov dword [rsi + 0xc], 0
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x14004664b
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400b4c70]
mov dword [r15 + 0x50], eax
jmp 0x1400470ab
mov ecx, dword [rbx + 0x12844]
test ecx, ecx
je 0x140046695
sub ecx, 2
je 0x140046695
cmp ecx, 1
jne 0x140046695
cmp dword [rsp + 0x140], 0
jne 0x140046685
lea rax, str._sample_:_llu__status_:_s
lea r9, str._sample_:_llu
cmp byte [rbx + 0x5cc20], 0
jmp 0x1400466cc
lea r9, [0x1400e0f50]
lea rax, [0x1400e0f30]
jmp 0x1400466c4
cmp dword [rsp + 0x140], 0
jne 0x1400466b6
lea rax, str._llu__s
lea r9, [0x1400e0f28]
cmp byte [rbx + 0x5cc20], 0
jmp 0x1400466cc
lea r9, [0x1400e0f18]
lea rax, [0x1400e0f10]
cmp byte [rsp + 0xda0], 0
cmovne r9, rax
lea r12, [r14 + 0xa0c0]
mov rcx, qword [rbx + 0x1d0d8]
cmp dword [rsp + 0x140], 0
lea rax, [rbx + 0x5cc20]
je 0x1400466f7
lea rax, [rsp + 0xda0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov edx, 0x9fff
mov r8, 0xffffffffffffffff
mov rcx, r12
call fcn.140001030
mov byte [r14 + 0x140be], 0
jmp 0x140046889
mov ecx, dword [rbx + 0x12844]
test ecx, ecx
je 0x140046746
sub ecx, 2
je 0x140046746
cmp ecx, 1
jne 0x140046746
lea rax, [0x1400e0ee0]
lea r13, [0x1400e0f00]
jmp 0x140046754
lea r13, [0x1400e0ed8]
lea rax, [0x1400e0ed0]
cmp byte [rbx + 0x34ad0], 0
cmovne r13, rax
cmp dword [rbx + 0x3eb00], 1
jne 0x140046775
lea rcx, [rbx + 0x3ead8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r12, [r14 + 0xa0c0]
lea rax, [rbx + 0x34ad0]
mov qword [rsp + 0x28], rax
mov rax, qword [rbx + 0x1d0d8]
mov qword [rsp + 0x20], rax
mov r9, r13
mov edx, 0x9fff
mov r8, 0xffffffffffffffff
mov rcx, r12
call fcn.140001030
mov byte [r14 + 0x140be], 0
cmp dword [rbx + 0x3eb00], 1
jne 0x1400467c9
lea rcx, [rbx + 0x3ead8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r13d, dword [rsp + 0x48]
jmp 0x140046889
lea rcx, [rbx + 0x20aa4]
mov r9d, 0x9fff
lea r8, str.STATUS
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov byte [rbx + 0x2aaa3], 0
mov ecx, dword [rbx + 0x12844]
test ecx, ecx
je 0x140046813
sub ecx, 2
je 0x140046813
cmp ecx, 1
lea rax, [0x1400e0e18]
je 0x14004681a
lea rax, [0x1400e0e0c]
mov qword [rsp + 0x50], rax
test r13d, r13d
jne 0x14004683a
cmp dword [rbx + 0x3eb00], 1
jne 0x14004683a
lea rcx, [rbx + 0x3ead8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r12, [r14 + 0xa0c0]
mov rax, qword [rbx + 0x1d0d8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov edx, 0x9fff
mov r8, 0xffffffffffffffff
mov rcx, r12
call fcn.140001030
test r13d, r13d
mov byte [r14 + 0x140be], 0
jne 0x140046889
cmp dword [rbx + 0x3eb00], 1
jne 0x140046889
lea rcx, [rbx + 0x3ead8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [r14 + 0xa080]
mov dword [rax], edi
mov rax, qword [r14 + 0xa088]
mov byte [rax + 0x5d], 0x41
mov rcx, qword [r14 + 0xa088]
add rcx, 0x5e
mov r9, 0xffffffffffffffff
mov r8, r12
mov edx, 0xa000
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov rax, qword [r14 + 0xa088]
mov byte [rax + 0xa05d], 0
cmp r13d, 1
jne 0x1400468df
mov byte [rbx + 0x52c20], 0
mov byte [rbx + 0x5cc20], 0
lea rax, [rbx + 0x7db60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
mov r8, qword [r14 + 0xa080]
mov rdx, qword [r14 + 0xa0b8]
mov rcx, rbx
call fcn.14005cd80
test eax, eax
je case.0x140044426.16
xor edx, edx
mov r8d, 0xc50
lea r14, [rsp + 0x150]
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x154], eax
mov dword [rsp + 0x190], edi
mov dword [rsp + 0x15c], edi
mov dword [rsp + 0x198], 0x26d
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, eax
mov dword [rsp + 0x28], edi
mov r9d, 0x26d
mov rdx, r15
mov rcx, rbx
call fcn.1400a5b80
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 4
lea rax, [0x1400e0db0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e0d3c]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x4315
mov eax, dword [r15 + 0x30]
mov dword [rsp + 0x16c], eax
inc eax
mov dword [r15 + 0x30], eax
mov r9d, edi
mov r8, r14
mov rdx, r15
mov rcx, rbx
call fcn.1400a51e0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x140046a14
mov qword [rsi + 0x10], 1
xor eax, eax
mov dword [rsi + 0xc], eax
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x140046a14
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400b4c70]
mov dword [r15 + 0x50], eax
jmp 0x1400470ab
lea rdx, str.Processing__CTRL__C__Command.__ML_COMMAND_
mov rcx, rbx
call fcn.14000ce20
lea rcx, [rbx + 0x20aa4]
mov r9d, 0x9fff
lea r8, str.QUIT
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov dword [rbx + 0x20888], edi
mov dword [rbx + 0x20898], 0
lea rdi, [rbx + 0x70c20]
test rdi, rdi
je 0x140046a82
mov rcx, qword [rbx + 0x70c28]
test rcx, rcx
je 0x140046a74
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rdi]
test rcx, rcx
je 0x140046a82
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx + 0x7dbd8]
test rcx, rcx
je 0x140046a94
call qword [sym.imp.KERNEL32.dll_SetEvent]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, qword [rbx + 0x7dd78]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x140044426.16
lea rdx, str.Processing_Get_Key_Command.__ML_COMMAND_
mov rcx, rbx
call fcn.14000ce20
lea rcx, [rbx + 0x20aa4]
mov r9d, 0x9fff
lea r8, str.GETKEY
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov qword [r14 + 0x155560], rbx
mov rcx, qword [r14 + 0x156838]
test rcx, rcx
je 0x140046e64
lea rdx, [rsp + 0x144]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x140046c18
xor edx, edx
mov r8d, 0xc50
lea rcx, [rsp + 0x150]
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x154], eax
mov dword [rsp + 0x190], 3
mov dword [rsp + 0x15c], edi
mov dword [rsp + 0x198], 0x20
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, eax
mov dword [rsp + 0x28], edi
mov r9d, 0x20
mov rdx, r15
mov rcx, rbx
call fcn.1400a5b80
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 5
lea rax, [0x1400e0ce0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e0b64]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x43ce
mov eax, dword [r15 + 0x30]
mov dword [rsp + 0x16c], eax
inc eax
mov dword [r15 + 0x30], eax
mov r9d, edi
lea r8, [rsp + 0x150]
mov rdx, r15
mov rcx, rbx
call fcn.1400a51e0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x140046c13
mov qword [rsi + 0x10], 1
xor eax, eax
mov dword [rsi + 0xc], eax
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x140046c13
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400b4c70]
mov dword [r15 + 0x50], eax
jmp 0x1400470ab
mov eax, dword [rsp + 0x144]
sub eax, 1
je 0x140046d56
cmp eax, 0x102
je 0x140046c48
lea rax, [r14 + 0x156840]
xor r13d, r13d
mov dword [rax], r13d
mov qword [r14 + 0x156838], r13
jmp 0x140046e6e
xor edx, edx
mov r8d, 0xc50
lea rcx, [rsp + 0x150]
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x154], eax
mov dword [rsp + 0x190], 3
mov dword [rsp + 0x15c], edi
mov dword [rsp + 0x198], 0x21
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, eax
mov dword [rsp + 0x28], edi
mov r9d, 0x21
mov rdx, r15
mov rcx, rbx
call fcn.1400a5b80
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 5
lea rax, [0x1400e0c80]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e0b2c]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x43e3
mov eax, dword [r15 + 0x30]
mov dword [rsp + 0x16c], eax
inc eax
mov dword [r15 + 0x30], eax
mov r9d, edi
lea r8, [rsp + 0x150]
mov rdx, r15
mov rcx, rbx
call fcn.1400a51e0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x140046d51
mov qword [rsi + 0x10], 1
xor eax, eax
mov dword [rsi + 0xc], eax
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x140046d51
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400b4c70]
mov dword [r15 + 0x50], eax
jmp 0x1400470ab
xor edx, edx
mov r8d, 0xc50
lea rcx, [rsp + 0x150]
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x154], eax
mov dword [rsp + 0x190], 3
mov dword [rsp + 0x15c], edi
mov dword [rsp + 0x198], 0x22
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, eax
mov dword [rsp + 0x28], edi
mov r9d, 0x22
mov rdx, r15
mov rcx, rbx
call fcn.1400a5b80
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 5
lea rax, [0x1400e0c20]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e0a4c]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x43f6
mov eax, dword [r15 + 0x30]
mov dword [rsp + 0x16c], eax
inc eax
mov dword [r15 + 0x30], eax
mov r9d, edi
lea r8, [rsp + 0x150]
mov rdx, r15
mov rcx, rbx
call fcn.1400a51e0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x140046e5f
mov qword [rsi + 0x10], 1
xor eax, eax
mov dword [rsi + 0xc], eax
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x140046e5f
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400b4c70]
mov dword [r15 + 0x50], eax
jmp 0x1400470ab
lea rax, [r14 + 0x156840]
xor r13d, r13d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
lea r9, [r14 + 0x155560]
lea r8, [0x1400a8090]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [r14 + 0x156838], rax
test rax, rax
jne 0x140046fad
xor edx, edx
mov r8d, 0xc50
lea rcx, [rsp + 0x150]
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x154], eax
mov dword [rsp + 0x190], 3
mov dword [rsp + 0x15c], edi
mov dword [rsp + 0x198], 0x1f
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, eax
mov dword [rsp + 0x28], edi
mov r9d, 0x1f
mov rdx, r15
mov rcx, rbx
call fcn.1400a5b80
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 5
lea rax, [0x1400e0bc0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e0a3c]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x4469
mov eax, dword [r15 + 0x30]
mov dword [rsp + 0x16c], eax
inc eax
mov dword [r15 + 0x30], eax
mov r9d, edi
lea r8, [rsp + 0x150]
mov rdx, r15
mov rcx, rbx
call fcn.1400a51e0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x140046fa8
mov qword [rsi + 0x10], 1
mov dword [rsi + 0xc], r13d
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x140046fa8
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400b4c70]
mov dword [r15 + 0x50], eax
jmp 0x1400470ab
jmp 0x1400470ab
lea rdx, str.Processing_Allow_Device_Command.__ML_COMMAND_
mov rcx, rbx
call fcn.14000ce20
mov r9d, 0x9fff
lea r8, str.ALLOW_DEVICE
lea edx, [r9 + 1]
lea rcx, [rbx + 0x20aa4]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
cmp qword [rbx + 0x70c50], 0
je 0x14004701d
mov r9d, 0x9fff
lea r8, [0x1400e0b68]
lea edx, [r9 + 1]
lea rcx, [rbx + 0x20aa4]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov rcx, qword [rbx + 0x70c50]
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp eax, 1
jne 0x1400470ab
cmp dword [rbx + 0x128a4], 1
je case.0x140044426.16
call fcn.140059ad0
jmp case.0x140044426.16
lea rdx, str.Processing_Disallow_Device_Command.__ML_COMMAND_
mov rcx, rbx
call fcn.14000ce20
mov r9d, 0x9fff
lea r8, str.DISALLOW_DEVICE
lea edx, [r9 + 1]
lea rcx, [rbx + 0x20aa4]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
cmp qword [rbx + 0x70c50], 0
je 0x140047094
mov r9d, 0x9fff
lea r8, [0x1400de928]
lea edx, [r9 + 1]
lea rcx, [rbx + 0x20aa4]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov rcx, qword [rbx + 0x70c50]
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp eax, 1
jne 0x1400470ab
cmp dword [rbx + 0x128a4], 1
je case.0x140044426.16
call fcn.14005a380
xor eax, eax
jmp 0x1400470bc
mov edi, 1
nop
mov eax, edi
jmp 0x1400470bc
mov rcx, qword [rsp + 0x14da0]
xor rcx, rsp
call fcn.140001ea0
lea r11, [rsp + 0x14db0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret