Function at 0x140003940
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x14003e468]
xor rax, rsp
mov qword [rsp + 0x250], rax
lea rcx, str.Enter_function_void_OnDeviceArrival___n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.1400026d0
call fcn.140009730
call fcn.140016980
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [0x1400355b8]
movaps xmmword [rsp + 0x30], xmm0
call fcn.1400020b0
test eax, eax
je 0x1400039ec
call fcn.1400022d0
test eax, eax
je 0x1400039ec
lea rcx, str.Enter_Function_DisableRadioHandler__n_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [0x140041300]
xor r9d, r9d
lea r8d, [r9 + 1]
mov edx, 0x5e5d
call qword [sym.imp.USER32.dll_PostThreadMessageW]
lea rcx, str.Enter_Function_DisableRadioHandler__n_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [0x140041300]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x5e5d
call qword [sym.imp.USER32.dll_PostThreadMessageW]
lea rcx, [rsp + 0x42]
xor esi, esi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x40], si
call fcn.14001be30
xor ecx, ecx
lea edi, [rsi + 1]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x140003a6d
lea rdx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rsp + 0x40]
lea rcx, str.The_cServPath_is__s__n
call fcn.14000dcd0
lea rdx, str.System32
lea rcx, [rsp + 0x40]
call fcn.140018dc0
test rax, rax
je 0x140003a62
lea rcx, str.This_adminservice_is_for_MSFT_WU_or_3002_Intel._n
mov edi, esi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140003a7a
lea rcx, str.OnDeviceArrival________Error_GetModuleHandle_NULL__
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp qword [0x1400412d8], rsi
jne 0x140003aa2
lea rcx, str.Enter_condition_pSvc__RegeditCustomHandle__NULL_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.140001f30
cmp qword [0x1400412d8], rsi
je 0x140003b72
lea rcx, str.Enter_condition_pSvc__RegeditCustomHandle___NULL_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x140041734]
mov byte [rsp + 0x20], 1
and eax, 0xfffffffe
mov ebx, esi
movsxd rdi, edi
mov dword [0x140041734], eax
test al, 1
jne 0x140003b72
cmp ebx, 0xa
jge 0x140003b72
lea r8, [rsp + 0x20]
mov ecx, 0xfc1e
mov edx, 1
call fcn.140018060
cmp eax, 2
je 0x140003b24
mov dword [0x14004171c], esi
call fcn.140009140
cmp eax, 0xa
jne 0x140003b07
call fcn.1400148f0
test rdi, rdi
je 0x140003b17
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
test byte [0x140041734], 1
je 0x140003ad0
jmp 0x140003b72
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r11d, dword [0x14004171c]
cmp r11d, 3
jg 0x140003b6c
inc r11d
lea rcx, str.::PostThreadMessage_pSvc__dwThreadID_CUSTOM_THREAD_EVENT_DEVICE_ARRIVAL__0__0___n
mov dword [0x14004171c], r11d
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [0x140041300]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x5e5f
call qword [sym.imp.USER32.dll_PostThreadMessageW]
jmp 0x140003b72
mov dword [0x14004171c], esi
call fcn.140009140
cmp eax, 0x1e
jne 0x140003b95
lea rcx, str.Set_Timethread_parameter_to_0__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [0x140041320], esi
mov dword [0x14004131c], esi
lea rcx, str.Leave_function_void_OnDeviceArrival___n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400187e0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret