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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100232b1
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
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
xor edi, edi
mov dword [ebp - 0x50], edi
mov eax, dword [0x100307b8]
mov ecx, dword [0x100307bc]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
cmp eax, ecx
je 0x10004271
lea esi, [eax + 0x30]
nop dword [eax]
cmp dword [0x100307e0], 0
jne 0x1000403d
xor ebx, ebx
jmp 0x10004062
push 0
mov ecx, 0x100307e0
call fcn.1001dfa0
mov eax, dword [0x100307e0]
xor ebx, ebx
cmp byte [eax + 0x54], bl
je 0x10004062
cmp dword [eax + 0x58], 4
jb 0x10004062
cmp byte [eax + 0x5c], bl
setne bl
inc ebx
test ebx, ebx
je 0x10004132
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x10004099
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x40]
push 0x10027d00
push eax
call fcn.1001f110
add esp, 0xc
lea eax, [ebp - 0x40]
mov ecx, 0x100307e0
push 0xd2
push str.RC::RCDriverInstallerBase::UninstallOldDriver
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectdriverinstall_src_framework_rcdriverinstallerbase.cpp
push eax
push 4
call fcn.1001eba0
cmp ebx, 1
jbe 0x100040dd
lea eax, [ebp - 0x40]
mov ecx, 0x100307e0
push eax
call fcn.1001ef40
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x1000411e
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10004114
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000428f
push edx
push ecx
call fcn.1002167a
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea ecx, [esi - 0x18]
call fcn.1000feb0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
or edi, 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x50], edi
mov eax, dword [esi + 0x10]
add eax, 0x22
mov dword [ebp - 0x14], 0
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.10007260
push str.SYSTEMCurrentControlSetServices_
lea ecx, [ebp - 0x28]
call fcn.10006a90
push esi
lea ecx, [ebp - 0x28]
call fcn.10006bc0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x4c]
push ecx
push 0xf003f
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10004200
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [ebp - 0x44]
push 4
push eax
push 4
push 0
push 0x100276f0
push dword [ebp - 0x4c]
mov dword [ebp - 0x44], 1
call ebx
push 4
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 4
push eax
push 4
push 0
push 0x100276d8
push dword [ebp - 0x4c]
call ebx
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and edi, 0xfffffffe
mov dword [ebp - 0x50], edi
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10004243
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10004239
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000428f
push edx
push ecx
call fcn.1002167a
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
add esi, 0xe4
mov eax, dword [ebp - 0x54]
add eax, 0xe4
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x54], eax
cmp eax, dword [ebp - 0x58]
jne 0x10004030
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