Function at 0x10005fb0
Capabilities:
Delete service
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100235e8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x10030008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 1
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
push dword [ebp - 0x74]
push dword [0x100307a4]
push dword [0x100307a0]
call fcn.100077c0
push dword [ebp - 0x74]
lea ecx, [ebp - 0x28]
push dword [0x100307b0]
push dword [0x100307ac]
call fcn.100077c0
push dword [ebp - 0x74]
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.100077c0
push dword [ebp - 0x74]
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x18]
call fcn.100073f0
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x74], eax
cmp esi, eax
je 0x10006330
add esi, 0x30
cmp dword [0x100307e0], 0
jne 0x100060c4
xor ebx, ebx
jmp 0x100060e9
push 0
mov ecx, 0x100307e0
call fcn.1001dfa0
mov eax, dword [0x100307e0]
xor ebx, ebx
cmp byte [eax + 0x54], bl
je 0x100060e9
cmp dword [eax + 0x58], 4
jb 0x100060e9
cmp byte [eax + 0x5c], bl
setne bl
inc ebx
test ebx, ebx
je 0x100061b7
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
mov byte [ebp - 4], 3
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x10006121
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x64]
push str.DriverInstall:
push eax
call fcn.1001f110
add esp, 0xc
lea eax, [ebp - 0x64]
mov ecx, 0x100307e0
push 0x1fc
push str.RC::RCDriverInstallerBase::UninstallDriver
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectdriverinstall_src_framework_rcdriverinstallerbase.cpp
push eax
push 4
call fcn.1001eba0
cmp ebx, 1
jbe 0x10006165
lea eax, [ebp - 0x64]
mov ecx, 0x100307e0
push eax
call fcn.1001ef40
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x100061a3
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10006199
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006375
push edx
push ecx
call fcn.1002167a
add esp, 8
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
lea ecx, [esi - 0x18]
call fcn.1000feb0
cmp dword [esi + 0x14], 8
mov ebx, esi
jb 0x100061c9
mov ebx, dword [esi]
test ebx, ebx
je 0x1000631e
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x78], eax
test eax, eax
jne 0x100061f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1000631e
push 0xf01ff
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x1000620c
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push 0x22
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x4c]
push str.SYSTEMCurrentControlSetServices_
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
call fcn.10006940
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
push ebx
call fcn.10006a90
cmp dword [ebp - 0x38], 8
lea ecx, [ebp - 0x70]
push ecx
push 0xf003f
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100062bc
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [ebp - 0x68]
push 4
push eax
push 4
push 0
push 0x100276f0
push dword [ebp - 0x70]
mov dword [ebp - 0x68], 1
call ebx
push 4
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 4
push eax
push 4
push 0
push 0x100276d8
push dword [ebp - 0x70]
call ebx
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x100062c7
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x1000630a
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10006300
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006375
push edx
push ecx
call fcn.1002167a
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
add esi, 0xe4
lea eax, [esi - 0x30]
cmp eax, dword [ebp - 0x74]
jne 0x100060b7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10006850
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.10006850
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10006850
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10021639
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3