Function at 0x140010c80
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 0x11], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140090750]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor eax, eax
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x1f], rax
mov qword [rbp + 0x27], rax
mov dword [rbp + 0x2f], eax
xor edx, edx
xor ecx, ecx
lea r8d, [rax + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
jne 0x140010d1f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.1400023d0
mov rcx, rax
mov dword [rsp + 0x20], ebx
lea r9, str.OpenSCManager_failed_w_err_0x_08lx
lea r8, str.UninstallService
lea edx, [rsi + 5]
call fcn.14001c1e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenSCManager_failed_w_err_0x_08lx_n
call fcn.140001b90
jmp 0x14001101c
mov r8d, 0x10024
lea r14, str.LanWlanSwitchingService
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x140010d83
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.1400023d0
mov rcx, rax
mov dword [rsp + 0x20], ebx
lea r9, str.OpenService_failed_w_err_0x_08lx
lea r8, str.UninstallService
lea edx, [rdi + 5]
call fcn.14001c1e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenService_failed_w_err_0x_08lx_n
call fcn.140001b90
jmp 0x140011005
lea r8, [rbp + 0x17]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x140010e3d
mov rdx, r14
lea rcx, str.Stopping__s.
call fcn.140001b90
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rbp + 0x17]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x140010df8
mov eax, dword [rbp + 0x1b]
cmp eax, 3
jne 0x140010dfb
lea rcx, [0x1400763a8]
call fcn.140001b90
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rbp + 0x17]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x140010dc8
mov eax, dword [rbp + 0x1b]
cmp eax, 1
jne 0x140010e09
lea rcx, str._n_s_is_stopped._n
jmp 0x140010e35
call fcn.1400023d0
mov rcx, rax
mov qword [rsp + 0x20], r14
lea r9, str._s_failed_to_stop.
lea r8, str.UninstallService
mov edx, 5
call fcn.14001c1e0
lea rcx, str._n_s_failed_to_stop._n
mov rdx, r14
call fcn.140001b90
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x140010e8f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.1400023d0
mov rcx, rax
mov dword [rsp + 0x20], ebx
lea r9, str.DeleteService_failed_w_err_0x_08lx
lea r8, str.UninstallService
mov edx, 5
call fcn.14001c1e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.DeleteService_failed_w_err_0x_08lx_n
call fcn.140001b90
jmp 0x140011005
movdqa xmm0, xmmword [0x14007f2b0]
movdqu xmmword [rbp + 7], xmm0
xor r15d, r15d
mov word [rbp - 9], r15w
lea r8d, [r15 + 0x2d]
lea rdx, str.SOFTWAREHPHP_HotKey_SupportWlanPowerStatus
lea rcx, [rbp - 9]
call fcn.140006690
nop
mov qword [rbp - 0x19], 0xffffffff80000002
xor r8d, r8d
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x19]
call fcn.14001d100
mov ebx, eax
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x140010f13
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010f0e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001104b
call fcn.14001e178
test ebx, ebx
je 0x140010f43
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.1400023d0
mov rcx, rax
mov dword [rsp + 0x20], ebx
lea r9, str.DeleteSubkey__HotkeyWlanPowerStatus__failed_w_err_0x_08lx
lea r8, str.UninstallService
mov edx, 5
call fcn.14001c1e0
movdqa xmm0, xmmword [0x14007f2b0]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], r15w
mov r8d, 0x2d
lea rdx, str.SOFTWAREHPHP_HotKey_SupportWwanPowerStatus
lea rcx, [rbp - 9]
call fcn.140006690
nop
mov qword [rbp - 0x19], 0xffffffff80000002
xor r8d, r8d
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x19]
call fcn.14001d100
mov ebx, eax
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x140010fc6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010fc1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011045
call fcn.14001e178
test ebx, ebx
je 0x140010ff6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.1400023d0
mov rcx, rax
mov dword [rsp + 0x20], ebx
lea r9, str.DeleteSubkey__HotkeyWwanPowerStatus__failed_w_err_0x_08lx
lea r8, str.UninstallService
mov edx, 5
call fcn.14001c1e0
mov rdx, r14
lea rcx, str._s_is_removed._n
call fcn.140001b90
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rdi, rdi
je 0x14001101c
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14001da60
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400416f8
int3
call fcn.1400416f8
int3