Function at 0x14003d1e0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x1400f8010]
xor rax, rsp
mov qword [rbp + 0x380], rax
lea rcx, str._ATKWMI__WMI_Open
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringA]
mov edx, 2
xor ecx, ecx
xor bl, bl
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeEx]
test eax, eax
jns 0x14003d234
cmp eax, 0x80010106
je 0x14003d234
xor al, al
jmp 0x14003d5ef
mov qword [rsp + 0x4a0], rsi
lea rcx, str._ATKWMI__CoInitialize_OK
mov qword [rsp + 0x4a8], rdi
mov dword [0x14010341c], 1
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringA]
lea rcx, str._ATKWMI__AsWMI_CheckSupport__only_for_DT_AIO_MB
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringA]
cmp dword [0x14010341c], 0
jne 0x14003d28d
mov edx, 2
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeEx]
test eax, eax
jns 0x14003d28d
cmp eax, 0x80010106
jne 0x14003d5d7
xor edi, edi
mov dword [0x14010341c], 1
mov qword [rsp + 0x40], rdi
xor r9d, r9d
mov dword [rsp + 0x38], 2
xor r8d, r8d
mov qword [rsp + 0x30], rdi
xor ecx, ecx
mov dword [rsp + 0x28], 3
lea edx, [rdi - 1]
mov dword [rsp + 0x20], 6
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeSecurity]
mov esi, 0x80000000
mov ecx, eax
add eax, esi
test esi, eax
jne 0x14003d2e5
cmp ecx, 0x80010119
jne 0x14003d5d7
call fcn.14003cd00
test al, al
je 0x14003d5d7
mov rcx, qword [0x140103428]
lea rdx, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x20], rdx
lea rdx, str.ASUSATKWMI_WMNB
mov rax, qword [rcx]
lea r8d, [r9 + 0x10]
call qword [rax + 0x90]
test eax, eax
js 0x14003d5d7
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x50]
mov edx, 0xffffffff
mov qword [rsp + 0x50], rdi
mov rax, qword [rcx]
lea r8d, [rdx + 2]
call qword [rax + 0x20]
test eax, eax
js 0x14003d5d7
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x68]
xor eax, eax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x68], rax
lea rdx, str.InstanceName
mov qword [rsp + 0x70], rax
xor r8d, r8d
mov qword [rsp + 0x78], rax
mov rax, qword [rcx]
mov qword [rsp + 0x20], rdi
call qword [rax + 0x20]
test eax, eax
js 0x14003d5d7
lea rcx, str.ACPIWMI___Has_NEW_WMI
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
mov qword [rsp + 0x40], rdi
xor r9d, r9d
mov dword [rsp + 0x38], 2
xor r8d, r8d
mov qword [rsp + 0x30], rdi
xor ecx, ecx
mov dword [rsp + 0x28], 3
lea edx, [r9 - 1]
mov dword [rsp + 0x20], 6
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeSecurity]
mov ecx, eax
add eax, esi
test esi, eax
jne 0x14003d3e4
cmp ecx, 0x80010119
jne 0x14003d5d7
call fcn.14003cd00
test al, al
je 0x14003d5d7
mov rcx, qword [0x140103428]
lea rdx, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x20], rdx
lea rdx, str.ASUSATKWMI_WMNB
mov rax, qword [rcx]
lea r8d, [r9 + 0x10]
call qword [rax + 0x90]
test eax, eax
js 0x14003d5d7
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0x58]
mov edx, 0xffffffff
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x20], r8
lea r9, [rsp + 0x50]
mov rax, qword [rcx]
lea r8d, [rdx + 2]
call qword [rax + 0x20]
test eax, eax
js 0x14003d5d7
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x68]
xor eax, eax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x68], rax
lea rdx, str.InstanceName
mov qword [rsp + 0x70], rax
xor r8d, r8d
mov qword [rsp + 0x78], rax
mov rax, qword [rcx]
mov qword [rsp + 0x20], rdi
call qword [rax + 0x20]
test eax, eax
js 0x14003d5cc
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x200
call fcn.140080170
xor edx, edx
lea rcx, [rbp + 0x180]
mov r8d, 0x200
call fcn.140080170
mov rdx, qword [rsp + 0x70]
lea rax, [rbp + 0x180]
movzx ecx, word [rdx]
test cx, cx
je 0x14003d4f1
mov r8d, 0x5c
nop dword [rax]
mov word [rax], cx
lea rdx, [rdx + 2]
add rax, 2
cmp cx, r8w
jne 0x14003d4e9
mov word [rax], r8w
add rax, 2
movzx ecx, word [rdx]
test cx, cx
jne 0x14003d4d0
mov word [rax], di
lea r9, str.ASUSATKWMI_WMNB
lea rax, [rbp + 0x180]
mov edx, 0x100
lea r8, str._ws.InstanceName__s_
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x80]
call fcn.140001490
lea rax, str.ACPIPNP0C14ATK_0
mov edx, 0x100
lea r9, str.ASUSATKWMI_WMNB
mov qword [rsp + 0x20], rax
lea r8, str._ws.InstanceName__s_
lea rcx, [rbp - 0x80]
call fcn.140001490
lea rcx, str.ACPIWMI___NB_InstanceName
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
lea rcx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
lea rcx, [rbp - 0x80]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rcx, [rsp + 0x68]
mov qword [0x140103430], rax
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140103428]
lea r8, [0x140103420]
mov qword [rsp + 0x28], rdi
lea rdx, str.ASUSATKWMI_WMNB
mov qword [rsp + 0x20], r8
xor r9d, r9d
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
js 0x14003d5d7
lea rcx, str.ACPIWMI___Use_NB_WMI
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
mov dword [0x140103418], 1
mov bl, 1
jmp 0x14003d5dc
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
call fcn.14003d610
mov rdi, qword [rsp + 0x4a8]
movzx eax, bl
mov rsi, qword [rsp + 0x4a0]
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.14003d6b0
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x490
pop rbp
ret