Function at 0x14001e100
Capabilities:
Create thread
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x140073058]
xor rax, rsp
mov qword [rbp + 0x140], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140075e78], rax
mov rcx, qword [0x140075e80]
test rax, rax
jne 0x14001e185
mov dword [0x140075e8c], 1
xor ebx, ebx
mov qword [0x140075e90], 0x1c5
mov qword [0x140075e9c], rbx
lea rdx, [0x140075e88]
call qword [sym.imp.ADVAPI32.dll_SetServiceStatus]
jmp 0x14001e552
mov r8d, 1
lea rdx, [0x140056ff0]
call qword [sym.imp.USER32.dll_RegisterPowerSettingNotification]
mov r8d, 1
lea rdx, [0x140057000]
mov rcx, qword [0x140075e80]
call qword [sym.imp.USER32.dll_RegisterPowerSettingNotification]
mov r8d, 1
lea rdx, [0x140057010]
mov rcx, qword [0x140075e80]
call qword [sym.imp.USER32.dll_RegisterPowerSettingNotification]
mov r8d, 1
lea rdx, [0x140057020]
mov rcx, qword [0x140075e80]
call qword [sym.imp.USER32.dll_RegisterPowerSettingNotification]
xor ebx, ebx
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001e2bb
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001e2bb
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x48], ebx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x4c]
xor r8d, r8d
lea rdx, str.CurrentBuildNumber
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x40]
test eax, eax
je 0x14001e267
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001e2bb
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
xor r8d, r8d
lea rdx, str.CurrentBuildNumber
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x40]
test eax, eax
je 0x14001e2a0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001e2bb
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 0x70]
call fcn.140034fac
cmp eax, 0x47ba
jg 0x14001e2bb
call fcn.140010bb0
mov ecx, 0x4a61
call fcn.14000fbc0
test al, al
je 0x14001e396
mov edi, ebx
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x40], 9
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
lea rcx, str..IBMPmDrv
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
test rax, rax
je 0x14001e396
cmp rax, 0xffffffffffffffff
je 0x14001e38d
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x4c], ebx
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rsp + 0x40]
mov edx, 0x22270c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14001e387
mov r8d, dword [rsp + 0x4c]
test r8, r8
je 0x14001e37a
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.14002c910
mov edi, dword [rsp + 0x50]
and dil, 1
mov byte [0x140075da1], dil
jmp 0x14001e38d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov cl, 1
call fcn.1400242d0
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x80]
call fcn.14002d0c0
lea rcx, [rbp - 0x80]
call fcn.140018570
nop
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140075dc8], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140075e28], rax
cmp qword [0x140075dc8], 0
je 0x14001e549
test rax, rax
je 0x14001e549
lea rcx, [rbp - 0x80]
call fcn.140018800
test al, al
je 0x14001e518
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140075df8], rax
test rax, rax
je 0x14001e465
cmp qword [0x140075e08], 0
jne 0x14001e465
lea rax, [0x140075e00]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [0x140015760]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x140075e08], rax
call fcn.140015a60
test al, al
je 0x14001e473
call fcn.140015b70
call fcn.1400202f0
test al, al
je 0x14001e481
call fcn.140020720
lea rdi, [rsp + 0x58]
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
mov dword [rsp + 0x58], 0x20
mov dword [rsp + 0x5c], 5
movups xmm0, xmmword [0x1400678f0]
movups xmmword [rsp + 0x64], xmm0
lea r8d, [rax + 1]
lea rdx, [rsp + 0x58]
mov rcx, qword [0x140075e80]
call qword [sym.imp.USER32.dll_RegisterDeviceNotificationW]
mov qword [0x140075df0], rax
call fcn.140012f70
mov dword [0x140075e8c], 4
mov qword [0x140075e90], 0x1c5
mov qword [0x140075e9c], rbx
lea rdx, [0x140075e88]
mov rcx, qword [0x140075e80]
call qword [sym.imp.ADVAPI32.dll_SetServiceStatus]
mov edx, 0xffffffff
mov rcx, qword [0x140075e78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [rbp - 0x80]
call fcn.140018cf0
mov dword [0x140075e8c], 1
mov qword [0x140075e90], 0x1c5
mov qword [0x140075e9c], rbx
lea rdx, [0x140075e88]
mov rcx, qword [0x140075e80]
call qword [sym.imp.ADVAPI32.dll_SetServiceStatus]
nop
lea rcx, [rbp - 0x80]
call fcn.140018680
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14002a740
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret