Function at 0x14003ce40
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x9f0]
sub rsp, 0xaf0
mov rax, qword [0x1400f8010]
xor rax, rsp
mov qword [rbp + 0x9e0], rax
mov r12d, edx
lea rcx, [rbp + 0x1a0]
xor edx, edx
mov r8d, 0x208
mov r14, r9
call fcn.140080170
xor edx, edx
lea rcx, [rbp + 0x3b0]
mov r8d, 0x208
call fcn.140080170
xor edx, edx
lea rcx, [rbp + 0x5c0]
mov r8d, 0x208
call fcn.140080170
xor edx, edx
lea rcx, [rbp + 0x7d0]
mov r8d, 0x208
call fcn.140080170
mov rcx, qword [0x140103420]
lea r9, [rsp + 0x48]
xor r13d, r13d
lea rdx, [0x1400cf7a0]
mov qword [rsp + 0x48], r13
xor r8d, r8d
xor r15b, r15b
mov qword [rsp + 0x20], r13
mov rax, qword [rcx]
call qword [rax + 0x98]
test eax, eax
js 0x14003d19d
mov rcx, qword [rsp + 0x48]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x40], r13
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x78]
test eax, eax
js 0x14003d190
mov ebx, r13d
lea rdi, str.DEVS
nop word [rax + rax]
movsxd rdx, ebx
lea rcx, [0x1400cf7a0]
shl rdx, 7
add rdx, rdi
call fcn.140087a44
test eax, eax
je 0x14003cf56
inc ebx
cmp ebx, 2
jl 0x14003cf30
mov ebx, 0xff
movzx ecx, bx
test ecx, ecx
je 0x14003cf96
cmp ecx, 1
je 0x14003cf74
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
xor al, al
jmp 0x14003d1ae
lea rcx, str._ATKWMI__get_device_status
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
mov ebx, 1
lea rdi, [rbp + 0x5c0]
lea rsi, str.device_status
jmp 0x14003cfb6
lea rcx, str._ATKWMI__device_ctrl
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
mov ebx, 2
lea rdi, [rbp + 0x3b0]
lea rsi, str.Control_status
lea r8, str.Device_ID
mov edx, 0x104
lea rcx, [rbp + 0x1a0]
call fcn.14008bad8
mov r8, rsi
mov edx, 0x104
mov rcx, rdi
call fcn.14008bad8
mov eax, 8
lea rcx, [rbp - 0x70]
xor edx, edx
mov word [rsp + 0x70], ax
mov r8d, 0x208
call fcn.140080170
mov r9d, r12d
lea r8, [0x1400cf540]
mov edx, 0x104
lea rcx, [rbp - 0x70]
call fcn.140001490
lea rcx, [rbp - 0x70]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x70]
mov qword [rsp + 0x78], rax
lea rdx, [rbp + 0x1a0]
xor r8d, r8d
mov dword [rsp + 0x20], reloc.WS2_32.dll_send
mov rax, qword [rcx]
call qword [rax + 0x28]
cmp bx, 1
jbe 0x14003d091
xor r9d, r9d
lea r8, [0x1400cf540]
mov edx, 0x104
lea rcx, [rbp - 0x70]
call fcn.140001490
lea rcx, [rbp - 0x70]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x70]
mov qword [rsp + 0x78], rax
lea rdx, [rbp + 0x3b0]
xor r8d, r8d
mov dword [rsp + 0x20], reloc.WS2_32.dll_send
mov rax, qword [rcx]
call qword [rax + 0x28]
test eax, eax
js 0x14003d178
lea rcx, [rsp + 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov qword [rsp + 0x50], r13
call fcn.14003cd00
mov rcx, qword [0x140103428]
lea rax, [rsp + 0x50]
mov rdx, qword [0x140103430]
lea r8, [0x1400cf7a0]
mov qword [rsp + 0x38], r13
xor r9d, r9d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x40]
mov r10, qword [rcx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
call qword [r10 + 0xc0]
test eax, eax
js 0x14003d16f
lea rcx, str._ATKWMI__ExecMethod_Successful.
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
xor eax, eax
mov r15b, 1
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
test r14, r14
je 0x14003d15d
lea rcx, [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], r13
lea rdx, [rbp + 0x5c0]
xor r8d, r8d
mov qword [rsp + 0x20], r13
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
jne 0x14003d152
mov eax, dword [rsp + 0x60]
mov dword [r14], eax
lea rcx, [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14003d185
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x14003d185
lea rcx, str._ATKWMI__ExecMethod_Fail
jmp 0x14003d17f
lea rcx, str._ATKWMI__Set_parameter_Fail___
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x14003d1aa
lea rcx, str._ATKWMI__GetMethod_Fail___
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
movzx eax, r15b
mov rcx, qword [rbp + 0x9e0]
xor rcx, rsp
call fcn.14003d6b0
mov rbx, qword [rsp + 0xb30]
add rsp, 0xaf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret