Function at 0x14008fcb0
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.14009f130
sub rsp, rax
mov rax, qword [0x1400b1008]
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, [0x1400fd948]
mov qword [rsp + 0x70], rax
lea rax, str.ERROR
mov qword [rsp + 0x78], rax
lea rax, [0x1400fd93c]
mov qword [rsp + 0x80], rax
lea rax, [0x1400fd938]
mov qword [rsp + 0x88], rax
lea rax, [0x1400fd90c]
mov qword [rsp + 0x90], rax
lea rax, str.TIME
mov qword [rsp + 0x98], rax
lea rax, [0x1400fd8ec]
mov qword [rsp + 0xa0], rax
lea rax, str.DEVICE_VERSION
mov qword [rsp + 0xa8], rax
lea rax, str.DEVICE_OPTIONS
mov qword [rsp + 0xb0], rax
lea rax, str.DEVICE_DATA
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, [0x1400fd89c]
mov qword [rsp + 0xf0], rax
lea rax, str.NEIGHBORS
mov qword [rsp + 0xf8], rax
lea rax, [0x1400fd88c]
mov qword [rsp + 0x100], rax
lea rax, [0x1400fd888]
mov qword [rsp + 0x108], rax
lea rax, str.UPTIME
mov qword [rsp + 0x110], rax
lea rax, [0x1400fd87c]
mov qword [rsp + 0x118], rax
lea rax, str.ERROR_STACK
mov qword [rsp + 0x120], rax
lea rax, [0x1400fd83c]
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 0x140092bc6
test r14, r14
je 0x140092bc6
lea r15, [rbx + 0x11b18]
lea rsi, [rbx + 0x11bd0]
lea edi, [r13 + 1]
cmp dword [rbx + 0x52bf4], edi
jne 0x14008ff14
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.0x14008ff46.16
movsxd rax, ecx
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x92c4c]
mov ecx, dword [rdx + rax*4 + 0x92c0c]
add rcx, rdx
jmp rcx
lea rdx, str.Processing_STOP_Command.__ML_COMMAND_
mov rcx, rbx
call fcn.140017150
lea rcx, [rbx + 0x20a8c]
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 + 0x70c08]
test rdi, rdi
je 0x14008ffb1
mov rcx, qword [rbx + 0x70c10]
test rcx, rcx
je 0x14008ffa3
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14008ffb1
call qword [sym.imp.KERNEL32.dll_SetEvent]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, qword [rbx + 0x7dd60]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x7dbc0]
test rcx, rcx
je case.0x14008ff46.16
call qword [sym.imp.KERNEL32.dll_SetEvent]
jmp case.0x14008ff46.16
lea rdx, str.Processing_PAUSE_Command.__ML_COMMAND_
mov rcx, rbx
call fcn.140017150
lea rcx, [rbx + 0x20a8c]
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.0x14008ff46.16
cmp dword [rbx + 0x2091c], 0
jne case.0x14008ff46.16
mov dword [rbx + 0x208a4], edi
mov dword [rbx + 0x20918], edi
mov qword [rbx + 0x2091c], 1
mov dword [rbx + 0x20924], 0
lea rdx, str.SUSPEND
mov rcx, rbx
call fcn.140098070
cmp eax, 1
je 0x140092bcb
cmp dword [rbx + 0x128a4], 1
je 0x140090071
call fcn.140043bf0
cmp dword [rbx + 0x209e0], 1
jne case.0x14008ff46.16
mov rcx, qword [rbx + 0x209e8]
test rcx, rcx
je case.0x14008ff46.16
call qword [sym.imp.KERNEL32.dll_SetEvent]
jmp case.0x14008ff46.16
lea rdx, str.Processing_RESUME_Command.__ML_COMMAND_
mov rcx, rbx
call fcn.140017150
lea rcx, [rbx + 0x20a8c]
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.0x14008ff46.16
cmp dword [rbx + 0x20924], 0
jne case.0x14008ff46.16
mov dword [rbx + 0x208a4], 0
mov dword [rbx + 0x20920], edi
mov dword [rbx + 0x20924], edi
mov qword [rbx + 0x20918], 0
lea rdx, [0x1400fa6f8]
mov rcx, rbx
call fcn.140098070
cmp eax, 1
je 0x140092bcb
cmp dword [rbx + 0x128a4], 1
je case.0x14008ff46.16
call fcn.140043b60
jmp case.0x14008ff46.16
lea rdx, str.Processing_RESET_Command.__ML_COMMAND_
mov rcx, rbx
call fcn.140017150
lea rcx, [rbx + 0x20a8c]
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 0x140090193
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 0x14009015f
cmp dword [rbx + 0x128a4], 1
je case.0x14008ff46.16
call fcn.140044c70
jmp case.0x14008ff46.16
lea rdx, str.Processing_SYNCH_Command.__ML_COMMAND_
mov rcx, rbx
call fcn.140017150
lea rcx, [rbx + 0x20a8c]
mov r9d, 0x9fff
lea r8, [0x1400fa4f8]
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov rcx, qword [rbx + 0x70c18]
test rcx, rcx
je 0x1400901e9
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [rbx + 0x128a4], 1
je case.0x14008ff46.16
call fcn.140043da0
jmp case.0x14008ff46.16
lea rdx, str.Processing_FLUSH_Command.__ML_COMMAND_
mov rcx, rbx
call fcn.140017150
lea rcx, [rbx + 0x20a8c]
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 + 0x70c28]
test rcx, rcx
je 0x14009023f
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, 0x2710
mov rcx, qword [rbx + 0x2aa98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x144], eax
test eax, eax
je 0x140090470
xor edx, edx
mov r8d, 0xc50
lea rcx, [rsp + 0x150]
cmp eax, 0x80
je 0x14009037b
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.140002de0
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 4
lea rax, [0x1400fd780]
mov qword [rsp + 0x20], rax
lea r9, [0x1400fd77c]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x371f
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.1400056d0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x140090376
mov qword [rsi + 0x10], 1
mov dword [rsi + 0xc], 0
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x140090376
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400a4c40]
mov dword [r15 + 0x50], eax
jmp 0x140092bcb
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.140002de0
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], edi
lea rax, [0x1400fd7e0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400fd7dc]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x3711
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.1400056d0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x140090496
mov qword [rsi + 0x10], 1
mov dword [rsi + 0xc], 0
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x140090496
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400a4c40]
mov dword [r15 + 0x50], eax
jmp 0x140090496
lea rdx, [0x1400fa388]
mov rcx, rbx
call fcn.140098070
cmp eax, 1
je 0x140092bcb
cmp dword [rbx + 0x128a4], 1
je 0x140090496
call fcn.140043d10
xor r8d, r8d
mov edx, edi
mov rcx, qword [rbx + 0x2aa98]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
test eax, eax
jne case.0x14008ff46.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.140002de0
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 4
lea rax, [0x1400fd720]
mov qword [rsp + 0x20], rax
lea r9, [0x1400fd71c]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x3767
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.1400056d0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x1400905bb
mov qword [rsi + 0x10], 1
mov dword [rsi + 0xc], 0
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x1400905bb
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400a4c40]
mov dword [r15 + 0x50], eax
jmp 0x140092bcb
lea rdx, str.Processing_RESTART_Command.__ML_COMMAND_
mov rcx, rbx
call fcn.140017150
cmp dword [rbx + 0x20898], 0
jne case.0x14008ff46.16
lea rcx, [rbx + 0x20a8c]
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 0x14009075b
cmp qword [rbx + 0x20658], 0
je 0x14009075b
cmp qword [rbx + 0x20660], 0
je 0x14009075b
lea rdx, str.Stopping_Periodic_Startup_Dependencies_Checker_Thread.__SERVER_
mov rcx, rbx
call fcn.140017150
mov dword [rbx + 0x20668], edi
mov rcx, qword [rbx + 0x20660]
test rcx, rcx
je 0x14009064f
call qword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x14009075b
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.140002de0
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 4
lea rax, [0x1400fd650]
mov qword [rsp + 0x20], rax
lea r9, [0x1400fd64c]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x37bf
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.1400056d0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x140090756
mov qword [rsi + 0x10], 1
mov dword [rsi + 0xc], 0
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x140090756
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400a4c40]
mov dword [r15 + 0x50], eax
jmp 0x140092bcb
mov rcx, qword [rbx + 0x70c20]
test rcx, rcx
je 0x14009076d
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [rbx + 0x128a4], 1
je case.0x14008ff46.16
call fcn.140043c80
jmp case.0x14008ff46.16
lea rdx, str.Processing_DEVICE_CONTROL_Command.__ML_COMMAND_
mov rcx, rbx
call fcn.140017150
test r13d, r13d
je 0x140090955
xor edx, edx
cmp r13d, 1
je 0x1400908b2
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.140002de0
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 4
lea rax, [0x1400fd4d0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400fd48c]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x390d
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.1400056d0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x1400908ad
mov qword [rsi + 0x10], 1
mov dword [rsi + 0xc], 0
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x1400908ad
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400a4c40]
mov dword [r15 + 0x50], eax
jmp 0x140092bcb
lea rdi, [rbx + 0x66c08]
mov r8d, 0xa000
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov rdx, qword [r14 + 0xa088]
add rdx, 0x5e
test rdi, rdi
je 0x1400908ec
test rdx, rdx
je 0x1400908ec
mov r8d, 0x9fff
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1400908fe
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 + 0x70c07], 0
lea rdx, str....Signaling_DEVICE_CONTROL_Interrupt.__ML_COMMAND_
mov rcx, rbx
call fcn.140017150
mov rcx, qword [rbx + 0x70c48]
test rcx, rcx
je 0x140090926
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [rbx + 0x128a4], 1
je case.0x14008ff46.16
cmp dword [rbx + 0x128b4], 1
je case.0x14008ff46.16
mov rcx, qword [r14 + 0xa088]
add rcx, 0x5e
call fcn.140043880
jmp case.0x14008ff46.16
mov edx, 0x2710
mov rcx, qword [rbx + 0x2aa98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x144], eax
xor edx, edx
test eax, eax
je 0x140090b91
mov r8d, 0xc50
lea rcx, [rsp + 0x150]
cmp eax, 0x102
je 0x140090a91
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.140002de0
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 4
lea rax, [0x1400fd590]
mov qword [rsp + 0x20], rax
lea r9, [0x1400fd58c]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x3888
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.1400056d0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x140090a8c
mov qword [rsi + 0x10], 1
mov dword [rsi + 0xc], 0
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x140090a8c
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400a4c40]
mov dword [r15 + 0x50], eax
jmp 0x140092bcb
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.140002de0
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], edi
lea rax, [0x1400fd5f0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400fd5ec]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x387a
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.1400056d0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x140090c27
mov qword [rsi + 0x10], 1
mov dword [rsi + 0xc], 0
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x140090c27
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400a4c40]
mov dword [r15 + 0x50], eax
jmp 0x140090c27
lea r12, [rbx + 0x20a8c]
mov r8d, 0xa000
mov rcx, r12
call sub.VCRUNTIME140.dll_memset
mov rdx, qword [r14 + 0xa088]
add rdx, 0x5e
test r12, r12
je 0x140090bcb
test rdx, rdx
je 0x140090bcb
mov r8d, 0x9fff
mov rcx, r12
call sub.VCRUNTIME140.dll_memcpy
jmp 0x140090bdd
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 + 0x2aa8b], 0
lea rdx, [0x1400fa068]
mov rcx, rbx
call fcn.140017150
mov rcx, qword [rbx + 0x70c38]
test rcx, rcx
je 0x140090c05
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [rbx + 0x128a4], 1
je 0x140090c27
cmp dword [rbx + 0x128b4], 1
je 0x140090c27
mov rcx, qword [r14 + 0xa088]
add rcx, 0x5e
call fcn.140043880
xor r8d, r8d
mov edx, edi
mov rcx, qword [rbx + 0x2aa98]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
test eax, eax
jne case.0x14008ff46.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.140002de0
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 4
lea rax, [0x1400fd530]
mov qword [rsp + 0x20], rax
lea r9, [0x1400fd52c]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x38ef
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.1400056d0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x140090d4c
mov qword [rsi + 0x10], 1
mov dword [rsi + 0xc], 0
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x140090d4c
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400a4c40]
mov dword [r15 + 0x50], eax
jmp 0x140092bcb
cmp dword [rbx + 0x20888], 1
je case.0x14008ff46.16
lea rdx, str.Processing_INTERNAL_DEVICE_CONTROL_Command.__ML_COMMAND_
mov rcx, rbx
call fcn.140017150
mov qword [r14 + 0x140c8], 0
nop dword [rax + rax]
xor r12d, r12d
mov dword [rsp + 0x44], r12d
cmp r12d, 8
jge 0x1400910ab
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 0x140090dc1
inc r12d
jmp 0x140090d83
mov rcx, qword [rsp + 0x48]
cmp dword [rcx + r14 + 0x141d0], 1
je 0x1400910a3
cmp dword [rcx + r14 + 0x141cc], 1
je 0x1400910a3
cmp dword [rcx + r14 + 0x141c8], 1
jne 0x140090f1a
xor r8d, r8d
mov edx, edi
mov rcx, qword [rcx + r14 + 0x141c0]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
test eax, eax
jne 0x1400910a3
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.140002de0
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 4
lea rax, [0x1400fd430]
mov qword [rsp + 0x20], rax
lea r9, [0x1400fd42c]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x39a4
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.1400056d0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x140090f15
mov qword [rsi + 0x10], 1
xor eax, eax
mov dword [rsi + 0xc], eax
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x140090f15
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400a4c40]
mov dword [r15 + 0x50], eax
jmp 0x140092bcb
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 0x140090f5f
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 0x140090f6d
mov r8d, 0xa080
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbx + 0x7ddd0]
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.0x14008ff46.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.140002de0
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 4
lea rax, [0x1400fd3d0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400fd3cc]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x39de
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.1400056d0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x14009109e
mov qword [rsi + 0x10], 1
xor eax, eax
mov dword [rsi + 0xc], eax
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x14009109e
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400a4c40]
mov dword [r15 + 0x50], eax
jmp 0x140092bcb
inc r12d
jmp 0x140090d83
cmp dword [r14 + 0x140cc], 0
jne case.0x14008ff46.16
mov ecx, 0xfa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rbx + 0x20888], 1
je case.0x14008ff46.16
jmp 0x140090d80
cmp dword [rbx + 0x20888], 1
je case.0x14008ff46.16
lea rdx, str.Processing_REMOTE_DEVICE_CONTROL_Command.__ML_COMMAND_
mov rcx, rbx
call fcn.140017150
mov qword [r14 + 0xb49fc], 0
nop dword [rax]
xor r12d, r12d
mov dword [rsp + 0x44], r12d
cmp r12d, 8
jge 0x14009143a
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 0x140091141
inc r12d
jmp 0x140091103
mov rcx, qword [rsp + 0x48]
cmp dword [rcx + r14 + 0xb4b08], 1
je 0x140091432
cmp dword [rcx + r14 + 0xb4b04], 1
je 0x140091432
cmp dword [rcx + r14 + 0xb4b00], 1
jne 0x14009129a
xor r8d, r8d
mov edx, edi
mov rcx, qword [rcx + r14 + 0xb4af8]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
test eax, eax
jne 0x140091432
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.140002de0
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 4
lea rax, [0x1400fd370]
mov qword [rsp + 0x20], rax
lea r9, [0x1400fd304]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x3c24
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.1400056d0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x140091295
mov qword [rsi + 0x10], 1
xor eax, eax
mov dword [rsi + 0xc], eax
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x140091295
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400a4c40]
mov dword [r15 + 0x50], eax
jmp 0x140092bcb
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 + 0x2aa90]
mov qword [rcx + r14 + 0xbebd8], rax
add rcx, 0xb4b58
add rcx, r14
jne 0x1400912ee
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 0x1400912fc
mov r8d, 0xa080
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbx + 0x7ddd8]
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.0x14008ff46.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.140002de0
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 4
lea rax, [0x1400fd310]
mov qword [rsp + 0x20], rax
lea r9, [0x1400fd300]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x3c5d
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.1400056d0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x14009142d
mov qword [rsi + 0x10], 1
xor eax, eax
mov dword [rsi + 0xc], eax
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x14009142d
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400a4c40]
mov dword [r15 + 0x50], eax
jmp 0x140092bcb
inc r12d
jmp 0x140091103
cmp dword [r14 + 0xb4a00], 0
jne case.0x14008ff46.16
mov ecx, 0xfa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rbx + 0x20888], 1
je case.0x14008ff46.16
jmp 0x140091100
lea rdx, str.Processing_STATUS_Command.__ML_COMMAND_
mov rcx, rbx
call fcn.140017150
test r13d, r13d
jne 0x1400914b0
mov eax, dword [rbx + 0x3eae8]
cmp eax, 1
jne 0x140091497
lea rcx, [rbx + 0x3eac0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [rbx + 0x3eae8]
inc qword [rbx + 0x2aaa8]
cmp eax, 1
jne 0x1400914b0
lea rcx, [rbx + 0x3eac0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [r14 + 0xa088]
add rcx, 0x5e
cmp byte [rcx], 0
je 0x1400922f3
mov dword [rsp + 0x140], 0
test rcx, rcx
jne 0x1400914d8
xor eax, eax
jmp 0x1400914e3
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 0x14009195f
mov r12, qword [rsp + rdx*8 + 0x60]
test r12, r12
jne 0x140091505
xor eax, eax
jmp 0x140091513
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 0x140091681
lea rcx, [rbx + 0x20a8c]
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.0x14009157f.8
lea r8, [0x140000000]
movzx eax, byte [r8 + rdx + 0x92ce4]
mov ecx, dword [r8 + rax*4 + 0x92cc0]
add rcx, r8
jmp rcx
mov ecx, dword [rbx + 0x12844]
test ecx, ecx
je 0x1400915e1
sub ecx, 2
je 0x1400915e1
cmp ecx, 1
jne 0x1400915e1
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.140080680
cmp eax, 1
je 0x140092bcb
lea r9, str._esrv_options_:__s_
lea rax, [rsp + 0xada0]
jmp 0x1400915f2
lea r12, [rbx + 0x12ff8]
lea r9, [0x1400fd2bc]
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 0x140091633
cmp dword [rbx + 0x3eae8], 1
jne 0x140091633
lea rcx, [rbx + 0x3eac0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rsp + 0x20], r12
lea r9, [0x1400fd18c]
lea rcx, [r14 + 0xa0c0]
mov edx, 0x9fff
mov r8, 0xffffffffffffffff
call fcn.140001030
mov byte [r14 + 0x140be], 0
test r13d, r13d
jne 0x14009167a
cmp dword [rbx + 0x3eae8], 1
jne 0x14009167a
lea rcx, [rbx + 0x3eac0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [rsp + 0x140], edi
mov edx, dword [rsp + 0x40]
inc edx
jmp 0x1400914ea
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.140044cf0
mov byte [rsp + 0x14d9e], 0
cmp eax, 1
je 0x140092bcb
mov ecx, dword [rbx + 0x12844]
test ecx, ecx
je 0x1400916e1
sub ecx, 2
je 0x1400916e1
cmp ecx, 1
lea r12, str._build_symbols_:___s_
je 0x1400916e8
lea r12, [0x1400fd13c]
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 0x140091749
cmp dword [rbx + 0x3eae8], 1
jne 0x140091749
lea rcx, [rbx + 0x3eac0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rax, [rsp + 0xda0]
mov qword [rsp + 0x20], rax
mov r9, r12
jmp 0x14009163f
lea rdx, [rsp + 0xda0]
mov rcx, rbx
call fcn.140018650
cmp eax, 1
je 0x140092bcb
test r13d, r13d
jne 0x140091792
cmp dword [rbx + 0x3eae8], 1
jne 0x140091792
lea rcx, [rbx + 0x3eac0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rax, [rsp + 0xda0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400fd0fc]
jmp 0x14009163f
lea rdx, [rsp + 0xda0]
mov rcx, rbx
call fcn.140017e70
cmp eax, 1
je 0x140092bcb
test r13d, r13d
jne 0x1400917df
cmp dword [rbx + 0x3eae8], 1
jne 0x1400917df
lea rcx, [rbx + 0x3eac0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rax, [rsp + 0xda0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400fd0dc]
jmp 0x14009163f
lea rdx, [rsp + 0xda0]
mov rcx, rbx
call fcn.1400182a0
cmp eax, 1
je 0x140092bcb
test r13d, r13d
jne 0x14009182c
cmp dword [rbx + 0x3eae8], 1
jne 0x14009182c
lea rcx, [rbx + 0x3eac0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rax, [rsp + 0xda0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400fd0bc]
jmp 0x14009163f
lea rdx, [rsp + 0xda0]
mov rcx, rbx
call fcn.140018200
cmp eax, 1
je 0x140092bcb
test r13d, r13d
jne 0x140091879
cmp dword [rbx + 0x3eae8], 1
jne 0x140091879
lea rcx, [rbx + 0x3eac0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rax, [rsp + 0xda0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400fd09c]
jmp 0x14009163f
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.1400060a0
cmp eax, 1
je 0x140092bcb
test r13d, r13d
jne 0x1400918e3
cmp dword [rbx + 0x3eae8], 1
jne 0x1400918e3
lea rcx, [rbx + 0x3eac0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rax, [rsp + 0xda0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400fcffc]
jmp 0x14009163f
mov r8d, 0x9fff
lea rdx, [rsp + 0xda0]
mov rcx, rbx
call fcn.140017390
cmp eax, 1
je 0x140092bcb
test r13d, r13d
jne 0x140091936
cmp dword [rbx + 0x3eae8], 1
jne 0x140091936
lea rcx, [rbx + 0x3eac0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rax, [rsp + 0xda0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400fcf6c]
jmp 0x14009163f
mov dword [rsp + 0x140], 0
jmp 0x140091685
cmp dword [rsp + 0x140], 1
je 0x14009203a
test r13d, r13d
jne 0x14009199a
mov r8, qword [r14 + 0xa088]
add r8, 0x5e
lea rcx, [rbx + 0x20a8c]
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 + 0x2aa8b], r13b
mov rcx, qword [r14 + 0xa088]
add rcx, 0x5e
lea rdx, [0x1400fcf3c]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x1400919c6
xor eax, eax
mov dword [rsp + 0x40], eax
cmp eax, 3
jae 0x1400919c6
inc eax
jmp 0x1400919b9
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.14004adb0
cmp eax, 1
je 0x140092053
cmp dword [rsp + 0x140], 1
je 0x14009203a
cmp dword [rbx + 0xc00], 1
jne 0x140091fc2
mov rcx, qword [rbx + 0x1e2e0]
test rcx, rcx
je 0x140091a3d
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.140017150
test r13d, r13d
je 0x140091cbb
cmp r13d, 1
je 0x140091b67
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.140002de0
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 4
lea rax, [0x1400fd1a0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400fcc7c]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x40db
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.1400056d0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x140091b62
mov qword [rsi + 0x10], 1
xor eax, eax
mov dword [rsi + 0xc], eax
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x140091b62
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400a4c40]
mov dword [r15 + 0x50], eax
jmp 0x140092bcb
mov dword [rbx + 0x52bf0], edi
mov rax, qword [rbx + 0x2aaa8]
mov qword [rbx + 0x52bf8], rax
mov r8, qword [r14 + 0xa088]
add r8, 0x5e
lea rcx, [rbx + 0x52c08]
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 + 0x5cc07], 0
mov rcx, qword [rbx + 0x70c40]
test rcx, rcx
jne 0x140091cf9
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.140002de0
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 4
lea rax, [0x1400fd260]
mov qword [rsp + 0x20], rax
lea r9, [0x1400fcd6c]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x40a4
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.1400056d0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x140091cb6
mov qword [rsi + 0x10], 1
xor eax, eax
mov dword [rsi + 0xc], eax
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x140091cb6
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400a4c40]
mov dword [r15 + 0x50], eax
jmp 0x140092bcb
mov dword [rbx + 0x2aaa0], edi
mov r8, qword [r14 + 0xa088]
add r8, 0x5e
lea rcx, [rbx + 0x2aab8]
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 + 0x34ab7], 0
mov rcx, qword [rbx + 0x70c38]
test rcx, rcx
je 0x140091eba
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [rbx + 0x128a4], 1
je 0x140091d18
mov rcx, qword [r14 + 0xa088]
add rcx, 0x5e
call fcn.140042fe0
xor eax, eax
mov r12d, eax
mov dword [rsp + 0x58], eax
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbx + 0x3eab8]
test rcx, rcx
je 0x140092053
mov edx, 0x3e8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x144], eax
test eax, eax
je 0x140091e10
cmp dword [rbx + 0x20888], 0
jne 0x140091d7c
cmp dword [rbx + 0x208b0], 0
jne 0x140091d7c
cmp r12d, 4
jae 0x140091d7c
inc r12d
mov dword [rsp + 0x58], r12d
jmp 0x140091d30
mov ecx, dword [rbx + 0x12844]
test ecx, ecx
je 0x140091d97
sub ecx, 2
je 0x140091d97
cmp ecx, 1
lea r12, [0x1400fd140]
je 0x140091d9e
lea r12, [0x1400fbd1c]
test r13d, r13d
jne 0x140091db9
cmp dword [rbx + 0x3eae8], 1
jne 0x140091db9
lea rcx, [rbx + 0x3eac0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [r14 + 0xa0c0]
lea rax, [0x1400fd100]
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 0x14009205c
cmp dword [rbx + 0x3eae8], 1
jne 0x140092053
lea rcx, [rbx + 0x3eac0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140092053
test r13d, r13d
jne 0x14009205c
cmp dword [rbx + 0x3eae8], 1
jne 0x140091e2f
lea rcx, [rbx + 0x3eac0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rbx + 0x2aab0]
sub rax, qword [rbx + 0x2aaa8]
mov qword [rsp + 0x50], rax
je 0x140091e9b
cmp dword [rbx + 0x20888], 0
jne 0x140091e9b
mov ecx, dword [rbx + 0x12844]
test ecx, ecx
je 0x140091e68
sub ecx, 2
je 0x140091e68
cmp ecx, 1
lea r9, str._status_:_s
je 0x140091e6f
lea r9, [0x1400fc66c]
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 + 0x3eae8], 1
jne 0x140092053
lea rcx, [rbx + 0x3eac0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140092053
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.140002de0
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 4
lea rax, [0x1400fd200]
mov qword [rsp + 0x20], rax
lea r9, [0x1400fcc8c]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x40cd
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.1400056d0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x140091fbd
mov qword [rsi + 0x10], 1
xor eax, eax
mov dword [rsi + 0xc], eax
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x140091fbd
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400a4c40]
mov dword [r15 + 0x50], eax
jmp 0x140092bcb
mov ecx, dword [rbx + 0x12844]
test ecx, ecx
je 0x140091fdd
sub ecx, 2
je 0x140091fdd
cmp ecx, 1
lea rax, [0x1400fd020]
je 0x140091fe4
lea rax, [0x1400f9808]
mov qword [rsp + 0x50], rax
test r13d, r13d
jne 0x140092004
cmp dword [rbx + 0x3eae8], 1
jne 0x140092004
lea rcx, [rbx + 0x3eac0]
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 0x140092386
cmp dword [rbx + 0x128a4], 1
je 0x140092053
mov rcx, qword [r14 + 0xa088]
add rcx, 0x5e
call fcn.140042fe0
test r13d, r13d
je 0x140092242
cmp r13d, 1
je 0x140092170
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.140002de0
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 4
lea rax, [0x1400fd040]
mov qword [rsp + 0x20], rax
lea r9, [0x1400fbafc]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x4265
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.1400056d0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x14009216b
mov qword [rsi + 0x10], 1
mov dword [rsi + 0xc], 0
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x14009216b
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400a4c40]
mov dword [r15 + 0x50], eax
jmp 0x140092bcb
mov ecx, dword [rbx + 0x12844]
test ecx, ecx
je 0x1400921b5
sub ecx, 2
je 0x1400921b5
cmp ecx, 1
jne 0x1400921b5
cmp dword [rsp + 0x140], 0
jne 0x1400921a5
lea rax, str._sample_:_llu__status_:_s
lea r9, str._sample_:_llu
cmp byte [rbx + 0x5cc08], 0
jmp 0x1400921ec
lea r9, [0x1400f9cf8]
lea rax, [0x1400fd0c0]
jmp 0x1400921e4
cmp dword [rsp + 0x140], 0
jne 0x1400921d6
lea rax, str._llu__s
lea r9, str._llu
cmp byte [rbx + 0x5cc08], 0
jmp 0x1400921ec
lea r9, [0x1400f9b18]
lea rax, [0x1400f9aa8]
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 + 0x5cc08]
je 0x140092217
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 0x1400923a9
mov ecx, dword [rbx + 0x12844]
test ecx, ecx
je 0x140092266
sub ecx, 2
je 0x140092266
cmp ecx, 1
jne 0x140092266
lea rax, [0x1400fd0a0]
lea r13, [0x1400f9a28]
jmp 0x140092274
lea r13, [0x1400f99b8]
lea rax, [0x1400f9878]
cmp byte [rbx + 0x34ab8], 0
cmovne r13, rax
cmp dword [rbx + 0x3eae8], 1
jne 0x140092295
lea rcx, [rbx + 0x3eac0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r12, [r14 + 0xa0c0]
lea rax, [rbx + 0x34ab8]
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 + 0x3eae8], 1
jne 0x1400922e9
lea rcx, [rbx + 0x3eac0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r13d, dword [rsp + 0x48]
jmp 0x1400923a9
lea rcx, [rbx + 0x20a8c]
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 + 0x2aa8b], 0
mov ecx, dword [rbx + 0x12844]
test ecx, ecx
je 0x140092333
sub ecx, 2
je 0x140092333
cmp ecx, 1
lea rax, [0x1400f9718]
je 0x14009233a
lea rax, [0x1400f96a8]
mov qword [rsp + 0x50], rax
test r13d, r13d
jne 0x14009235a
cmp dword [rbx + 0x3eae8], 1
jne 0x14009235a
lea rcx, [rbx + 0x3eac0]
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 0x1400923a9
cmp dword [rbx + 0x3eae8], 1
jne 0x1400923a9
lea rcx, [rbx + 0x3eac0]
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 0x1400923ff
mov byte [rbx + 0x52c08], 0
mov byte [rbx + 0x5cc08], 0
lea rax, [rbx + 0x7db48]
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.140046c10
test eax, eax
je case.0x14008ff46.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], 0x26c
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, eax
mov dword [rsp + 0x28], edi
mov r9d, 0x26c
mov rdx, r15
mov rcx, rbx
call fcn.140002de0
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 4
lea rax, [0x1400fcfa0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400fb8fc]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x430f
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.1400056d0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x140092534
mov qword [rsi + 0x10], 1
xor eax, eax
mov dword [rsi + 0xc], eax
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x140092534
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400a4c40]
mov dword [r15 + 0x50], eax
jmp 0x140092bcb
lea rdx, str.Processing__CTRL__C__Command.__ML_COMMAND_
mov rcx, rbx
call fcn.140017150
lea rcx, [rbx + 0x20a8c]
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 + 0x70c08]
test rdi, rdi
je 0x1400925a2
mov rcx, qword [rbx + 0x70c10]
test rcx, rcx
je 0x140092594
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400925a2
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx + 0x7dbc0]
test rcx, rcx
je 0x1400925b4
call qword [sym.imp.KERNEL32.dll_SetEvent]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, qword [rbx + 0x7dd60]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x14008ff46.16
lea rdx, str.Processing_Get_Key_Command.__ML_COMMAND_
mov rcx, rbx
call fcn.140017150
lea rcx, [rbx + 0x20a8c]
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 0x140092984
lea rdx, [rsp + 0x144]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x140092738
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.140002de0
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 5
lea rax, [0x1400fcee0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400fb61c]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x43c8
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.1400056d0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x140092733
mov qword [rsi + 0x10], 1
xor eax, eax
mov dword [rsi + 0xc], eax
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x140092733
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400a4c40]
mov dword [r15 + 0x50], eax
jmp 0x140092bcb
mov eax, dword [rsp + 0x144]
sub eax, 1
je 0x140092876
cmp eax, 0x102
je 0x140092768
lea rax, [r14 + 0x156840]
xor r13d, r13d
mov dword [rax], r13d
mov qword [r14 + 0x156838], r13
jmp 0x14009298e
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.140002de0
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 5
lea rax, [0x1400fce80]
mov qword [rsp + 0x20], rax
lea r9, [0x1400fb5ec]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x43dd
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.1400056d0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x140092871
mov qword [rsi + 0x10], 1
xor eax, eax
mov dword [rsi + 0xc], eax
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x140092871
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400a4c40]
mov dword [r15 + 0x50], eax
jmp 0x140092bcb
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.140002de0
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 5
lea rax, [0x1400fce20]
mov qword [rsp + 0x20], rax
lea r9, [0x1400fb55c]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x43f0
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.1400056d0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x14009297f
mov qword [rsi + 0x10], 1
xor eax, eax
mov dword [rsi + 0xc], eax
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x14009297f
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400a4c40]
mov dword [r15 + 0x50], eax
jmp 0x140092bcb
lea rax, [r14 + 0x156840]
xor r13d, r13d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
lea r9, [r14 + 0x155560]
lea r8, [0x140085250]
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 0x140092acd
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.140002de0
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], 5
lea rax, [0x1400fcdc0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400fb54c]
mov edx, 0x9f6
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a0]
call fcn.140001030
mov byte [rsp + 0xb95], 0
mov dword [rsp + 0xb98], 0x4463
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.1400056d0
mov dword [r15 + 0x50], eax
test rsi, rsi
je 0x140092ac8
mov qword [rsi + 0x10], 1
mov dword [rsi + 0xc], r13d
mov rax, qword [rbx + 0x12820]
test rax, rax
je 0x140092ac8
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [0x1400a4c40]
mov dword [r15 + 0x50], eax
jmp 0x140092bcb
jmp 0x140092bcb
lea rdx, str.Processing_Allow_Device_Command.__ML_COMMAND_
mov rcx, rbx
call fcn.140017150
mov r9d, 0x9fff
lea r8, str.ALLOW_DEVICE
lea edx, [r9 + 1]
lea rcx, [rbx + 0x20a8c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
cmp qword [rbx + 0x70c38], 0
je 0x140092b3d
mov r9d, 0x9fff
lea r8, [0x1400fcd70]
lea edx, [r9 + 1]
lea rcx, [rbx + 0x20a8c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov rcx, qword [rbx + 0x70c38]
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp eax, 1
jne 0x140092bcb
cmp dword [rbx + 0x128a4], 1
je case.0x14008ff46.16
call fcn.140042f50
jmp case.0x14008ff46.16
lea rdx, str.Processing_Disallow_Device_Command.__ML_COMMAND_
mov rcx, rbx
call fcn.140017150
mov r9d, 0x9fff
lea r8, str.DISALLOW_DEVICE
lea edx, [r9 + 1]
lea rcx, [rbx + 0x20a8c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
cmp qword [rbx + 0x70c38], 0
je 0x140092bb4
mov r9d, 0x9fff
lea r8, [0x1400f9228]
lea edx, [r9 + 1]
lea rcx, [rbx + 0x20a8c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov rcx, qword [rbx + 0x70c38]
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp eax, 1
jne 0x140092bcb
cmp dword [rbx + 0x128a4], 1
je case.0x14008ff46.16
call fcn.140042ec0
xor eax, eax
jmp 0x140092bdc
mov edi, 1
nop
mov eax, edi
jmp 0x140092bdc
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