Function at 0x140001050
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x1d8
mov rax, qword [0x140050688]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov dword [rsp + 0x44], 0
xor r9d, r9d
lea r8, str.AlpsDeviceIFSupport
lea rdx, [0x140037b40]
mov rcx, 0xffffffff80000002
call fcn.1400047b0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 1
jne 0x1400010af
xor edx, edx
mov rcx, qword [rsp + 0x1f0]
call fcn.140001800
mov r8d, 0xbb8
mov edx, 0x10
lea rcx, [0x140037b58]
call fcn.140001460
mov r8d, 0xbb8
mov edx, 0x10
lea rcx, str.Elara
call fcn.140001460
call fcn.1400015f0
mov edx, 0xbb8
lea rcx, str.ApHidMonitorService
call fcn.140001610
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x60]
lea r8, [0x140037b80]
lea rdx, [0x140037b90]
mov rcx, 0xffffffff80000002
call fcn.140004970
lea r8, str.ApMouCpl.dll
lea rdx, [rsp + 0x60]
mov ecx, 1
call fcn.1400025a0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14000115e
lea rdx, str.DllUnregisterServer
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x170], rax
call qword [rsp + 0x170]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rdx, [0x140037bd0]
lea rcx, [0x140037bdc]
call fcn.1400018b0
lea rdx, str.ApHidUpFiltr.cat
lea rcx, [0x140037bfc]
call fcn.1400018b0
lea rdx, str.ApHidfiltr.cat
lea rcx, str.HIDClass
call fcn.1400018b0
lea rax, [rsp + 0x180]
lea rcx, [0x140043818]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r9d, 0x11
lea r8, [0x140037c28]
lea rdx, str.ApfiltrService
lea rcx, [rsp + 0x180]
call fcn.140001b40
mov dword [rsp + 0x48], eax
lea rax, [rsp + 0x190]
lea rcx, [0x140043838]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r9d, 4
lea r8, str.infinput.inf
lea rdx, str.ApHidfiltrService
lea rcx, [rsp + 0x190]
call fcn.140001b40
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x1a0]
lea rcx, [0x140043818]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r9d, 0x11
lea r8, str.infmsmouse.inf
lea rdx, str.ApHidUpfiltrService
lea rcx, [rsp + 0x1a0]
call fcn.140001b40
mov dword [rsp + 0x178], eax
cmp dword [rsp + 0x40], 0
jne 0x140001276
cmp dword [rsp + 0x48], 0
jne 0x140001292
cmp dword [rsp + 0x40], 1
jne 0x140001307
cmp dword [rsp + 0x30], 0
jne 0x140001292
cmp dword [rsp + 0x178], 0
je 0x140001307
lea rdx, [0x140037ca8]
mov rcx, 0xffffffff80000002
call fcn.140001e20
lea rdx, [0x140037cc8]
mov rcx, 0xffffffff80000002
call fcn.140001e20
lea rdx, [0x140037ce0]
mov rcx, 0xffffffff80000001
call fcn.140001e20
lea rdx, [0x140037cf8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea rdx, [0x140037d18]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea rdx, [0x140037d30]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea rdx, str.Apkbf.cat
lea rcx, str.Keyboard
call fcn.1400018b0
lea rax, [rsp + 0x1b0]
lea rcx, [0x140043828]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r9d, 0x11
lea r8, str.infkeyboard.inf
lea rdx, str.ApKbfService
lea rcx, [rsp + 0x1b0]
call fcn.140001b40
mov eax, 1
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.14001f810
add rsp, 0x1d8
pop rdi
pop rsi
ret