Function at 0x14000d1a0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x1401f3030]
xor rax, rsp
mov qword [rbp + 0xd0], rax
xor ebx, ebx
test ecx, ecx
je 0x14000d24f
lea rcx, str.RfeStartup:__Register_Etw_Provider_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [0x1401f3d00]
call fcn.140001070
test eax, eax
jne 0x14000d1fa
or dword [0x1402011e0], 0xb
call fcn.140015030
call fcn.14000cd90
lea rax, [0x140201970]
mov qword [0x140201978], rax
mov qword [0x140201970], rax
mov eax, dword [0x140201214]
cmp eax, 4
jne 0x14000d228
or dword [0x1401f3c64], 7
jmp 0x14000d24f
cmp eax, 1
jne 0x14000d236
or dword [0x1401f3c64], 3
jmp 0x14000d24f
cmp eax, 2
jne 0x14000d244
or dword [0x1401f3c64], 1
jmp 0x14000d24f
test eax, eax
jne 0x14000d24f
or dword [0x1401f3c64], 4
mov rax, qword [0x14034b988]
lea rcx, str..KfeCoDriver
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
mov rax, qword [0x14034b9c8]
xor r9d, r9d
mov qword [rsp + 0x60], rax
mov edx, 0xc0000000
mov rax, qword [0x14034b990]
mov qword [rsp + 0x78], rax
mov rax, qword [0x140201300]
lea r8d, [r9 + 3]
mov qword [rbp - 0x70], rax
mov rax, qword [0x140201308]
mov qword [rbp - 0x68], rax
mov rax, qword [0x14034b9c0]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rbp - 0x80], rax
movups xmmword [rbp - 0x60], xmm0
mov dword [rsp + 0x50], 1
movups xmmword [rbp - 0x50], xmm0
mov dword [rsp + 0x54], 0x38f68
movups xmmword [rbp - 0x40], xmm0
mov dword [rsp + 0x6c], 0x2c00000
movups xmmword [rbp - 0x30], xmm0
mov dword [rsp + 0x68], 0x214010
movups xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x78], 0x8010
mov dword [rsp + 0x70], 0xa030241
mov dword [rsp + 0x74], 0xfeedf00d
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000d3be
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x14034b998]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lock and dword [0x140201500], 0xfffffffb
lock or dword [0x140201500], 1
lock or dword [0x140345090], 1
movaps xmm0, xmmword [str.rfe_open_co_deviceH_failed_to_Open_]
lea edx, [rdi + 0x6f]
movaps xmm1, xmmword [0x1401b6be0]
lea r9d, [rdi + 9]
movaps xmmword [rbp - 0x10], xmm0
lea rcx, [rbp - 0x10]
movaps xmm0, xmmword [0x1401b6bf0]
xor eax, eax
movaps xmmword [rbp], xmm1
mov r8d, 0x438
movaps xmm1, xmmword [0x1401b6c00]
movaps xmmword [rbp + 0x10], xmm0
movsd xmm0, qword [0x1401b6c10]
movaps xmmword [rbp + 0x20], xmm1
xorps xmm1, xmm1
movsd qword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x38], xmm1
mov dword [rbp + 0x58], eax
movups xmmword [rbp + 0x48], xmm1
mov word [rbp + 0x5c], ax
call fcn.140016000
lea rcx, [0x14034b998]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0x438
jmp 0x14000d525
lea rcx, [0x14034b998]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lock or dword [0x140201500], 4
lock and dword [0x140201500], 0xfffffffe
lea rcx, [0x14034b998]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x50]
lea rax, [rbp - 0x60]
mov dword [rsp + 0x28], 0x50
mov r9d, 0x50
mov qword [rsp + 0x20], rax
mov edx, 0x120004
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14000d556
lea rcx, [0x14034b998]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [rbp - 0x60], 5
je 0x14000d534
mov rax, qword [0x14034b988]
mov ecx, dword [rax]
mov eax, dword [rbp - 0x60]
mov dword [0x140201980], ecx
cmp eax, 3
jne 0x14000d4ee
mov ebx, 0x51a
lock or dword [0x140201500], 0x20
lock or dword [0x140345090], 0x80
movaps xmm0, xmmword [str.Service_Driver_Version_mismatch_detected_]
lea rcx, [rbp + 0x60]
mov eax, dword [0x1401b6bc0]
mov r8d, ebx
movaps xmm1, xmmword [0x1401b6b80]
movaps xmmword [rbp + 0x60], xmm0
movaps xmm0, xmmword [0x1401b6b90]
movaps xmmword [rbp + 0x80], xmm0
movaps xmm0, xmmword [0x1401b6bb0]
mov dword [rbp + 0xb0], eax
xor eax, eax
movaps xmmword [rbp + 0xa0], xmm0
xorps xmm0, xmm0
movaps xmmword [rbp + 0x70], xmm1
movaps xmm1, xmmword [0x1401b6ba0]
lea edx, [rax + 0x6e]
movaps xmmword [rbp + 0x90], xmm1
lea r9d, [rax + 8]
mov qword [rbp + 0xc4], rax
movups xmmword [rbp + 0xb4], xmm0
mov word [rbp + 0xcc], ax
call fcn.140016000
jmp 0x14000d510
cmp eax, 4
jne 0x14000d508
lea ebx, [rax + 0x53]
lock or dword [0x140201500], 0x20
lock or dword [0x140345090], 0x20
jmp 0x14000d510
lock or dword [0x140201500], 0x10
lock and dword [0x140201500], 0xfffffffb
lea rcx, [0x14034b998]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp rdi, 0xffffffffffffffff
jne 0x14000d5d8
jmp 0x14000d5e1
lock and dword [0x140201500], 0xfffffffb
lock or dword [0x140201500], 0x40
lea rcx, [0x14034b998]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x14000d5d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lock and dword [0x140201500], 0xfffffffb
lock or dword [0x140201500], 2
lock or dword [0x140345090], 2
movaps xmm0, xmmword [str.DevIoControl_RFE_CO_IOCTL_BWC_INITIALIZE_failed]
lea rcx, [rbp - 0x10]
movaps xmm1, xmmword [0x1401b6b20]
xor eax, eax
movaps xmmword [rbp - 0x10], xmm0
mov r8d, ebx
movaps xmm0, xmmword [0x1401b6b30]
movaps xmmword [rbp], xmm1
movaps xmm1, xmmword [0x1401b6b40]
lea r9d, [rax + 8]
movaps xmmword [rbp + 0x10], xmm0
lea edx, [rax + 0x6e]
movaps xmm0, xmmword [0x1401b6b50]
movaps xmmword [rbp + 0x20], xmm1
movaps xmm1, xmmword [0x1401b6b60]
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x40], xmm1
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x58], eax
mov word [rbp + 0x5c], ax
call fcn.140016000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.140149500
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret