Function at 0x100039a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10023263
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
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
mov eax, dword [ebp + 8]
mov dword [ebp - 0x88], eax
call fcn.10003fe0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 1
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], 2
lea ecx, [ebp - 0x40]
push dword [ebp - 0x80]
push dword [0x100307a4]
push dword [0x100307a0]
call fcn.100077c0
push dword [ebp - 0x80]
lea ecx, [ebp - 0x34]
push dword [0x100307b0]
push dword [0x100307ac]
call fcn.100077c0
call fcn.1000bb10
lea ecx, [ebp - 0x20]
push dword [ebp - 0x80]
test al, al
je 0x10003a96
push dword [ebp - 0x30]
push dword [ebp - 0x34]
jmp 0x10003a9c
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.100077c0
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x80], eax
cmp esi, eax
je 0x10003f7f
add esi, 0x44
lea ecx, [esi - 0x44]
call fcn.10008ee0
mov ebx, eax
test ebx, ebx
jle 0x10003fce
mov ecx, dword [ebp - 0x88]
xor eax, eax
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
lea edx, [ecx + 2]
mov word [ebp - 0xa8], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003b01
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 0x88]
lea ecx, [ebp - 0xa8]
call fcn.10006940
mov byte [ebp - 4], 3
lea eax, [ebp - 0xa8]
push eax
mov eax, ebx
lea ecx, [esi - 0x2c]
cdq
push edx
mov dword [ebp - 0x84], ecx
mov edx, ecx
push eax
lea ecx, [esi - 0x44]
call fcn.1000f810
add esp, 0xc
test al, al
sete bl
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x94]
cmp edx, 8
jb 0x10003b91
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10003b87
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003fc8
push edx
push ecx
call fcn.1002167a
add esp, 8
xor eax, eax
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
test bl, bl
je 0x10003cc2
cmp dword [0x100307e0], eax
jne 0x10003bc2
xor ebx, ebx
jmp 0x10003be7
push 0
mov ecx, 0x100307e0
call fcn.1001dfa0
mov eax, dword [0x100307e0]
xor ebx, ebx
cmp byte [eax + 0x54], bl
je 0x10003be7
cmp dword [eax + 0x58], 2
jb 0x10003be7
cmp byte [eax + 0x5c], bl
setne bl
inc ebx
test ebx, ebx
je 0x10003cc2
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi - 0x18], 8
mov edx, dword [ebp - 0x84]
mov ecx, edx
jb 0x10003c2b
mov ecx, dword [edx]
push eax
push ecx
lea eax, [ebp - 0x58]
push 0x10027c48
push eax
call fcn.1001f110
add esp, 0x10
lea eax, [ebp - 0x58]
mov ecx, 0x100307e0
push 0xb1
push str.RC::RCDriverInstallerBase::InstallDriverToDesPath
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectdriverinstall_src_framework_rcdriverinstallerbase.cpp
push eax
push 2
call fcn.1001eba0
cmp ebx, 1
jbe 0x10003c70
lea eax, [ebp - 0x58]
mov ecx, 0x100307e0
push eax
call fcn.1001ef40
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x10003cae
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10003ca4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003fc8
push edx
push ecx
call fcn.1002167a
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
mov dword [ebp - 0x8c], eax
jb 0x10003cd9
mov eax, dword [eax]
mov dword [ebp - 0x8c], eax
cmp dword [esi], 8
lea edi, [esi - 0x14]
mov ebx, edi
jb 0x10003ce5
mov ebx, dword [edi]
mov ecx, dword [esi + 0x38]
mov dword [ebp - 0x90], ecx
test eax, eax
je 0x10003e1f
test ebx, ebx
je 0x10003e1f
lea eax, [ebp - 0x78]
mov dword [ebp - 0x7c], 0
push eax
push 0xf003f
push 0
push str.SYSTEMCurrentControlSetServices
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10003e1f
lea eax, [ebp - 0x74]
push eax
push 0xf003f
push 0
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10003dcd
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0xffffffff
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], 4
push eax
push 0
push 0x100276d8
push dword [ebp - 0x74]
mov dword [ebp - 0x28], 4
call ebx
test eax, eax
jne 0x10003dcd
mov eax, dword [ebp - 0x90]
cmp eax, 0xffffffff
jne 0x10003da1
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10003da6
cmp eax, 1
jmp 0x10003da4
cmp dword [ebp - 0x14], eax
jne 0x10003dcd
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
push 0
push 0x100276f0
push dword [ebp - 0x74]
call ebx
mov ebx, dword [ebp - 0x7c]
test eax, eax
mov eax, 1
cmovne ebx, eax
jmp 0x10003dd0
mov ebx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x10003dde
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x10003dec
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x10003e1f
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push dword [ebp - 0x8c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x10003e1f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10003f6d
mov eax, dword [esi]
mov ebx, edi
cmp eax, 8
jb 0x10003e2a
mov ebx, dword [edi]
cmp dword [esi + 0x54], 8
lea ecx, [esi + 0x40]
jb 0x10003e35
mov ecx, dword [ecx]
mov edx, edi
cmp eax, 8
jb 0x10003e40
mov edx, dword [edi]
mov edi, edx
push ebx
push dword [esi + 0x68]
push dword [esi + 0x60]
push dword [esi + 0x5c]
push dword [esi + 0x58]
push ecx
push ecx
push dword [esi + 0x3c]
mov ecx, edi
push dword [esi + 0x34]
call fcn.10002020
add esp, 0x24
test eax, eax
jne 0x10003f6d
cmp dword [0x100307e0], eax
jne 0x10003e73
xor ebx, ebx
jmp 0x10003e98
push 0
mov ecx, 0x100307e0
call fcn.1001dfa0
mov eax, dword [0x100307e0]
xor ebx, ebx
cmp byte [eax + 0x54], bl
je 0x10003e98
cmp dword [eax + 0x58], 2
jb 0x10003e98
cmp byte [eax + 0x5c], bl
setne bl
inc ebx
test ebx, ebx
je 0x10003f6d
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi - 0x18], 8
mov ecx, dword [ebp - 0x84]
jb 0x10003eda
mov ecx, dword [ecx]
push eax
push ecx
lea eax, [ebp - 0x70]
push 0x10027cd4
push eax
call fcn.1001f110
add esp, 0x10
lea eax, [ebp - 0x70]
mov ecx, 0x100307e0
push 0xc6
push str.RC::RCDriverInstallerBase::InstallDriverToDesPath
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectdriverinstall_src_framework_rcdriverinstallerbase.cpp
push eax
push 2
call fcn.1001eba0
cmp ebx, 1
jbe 0x10003f1f
lea eax, [ebp - 0x70]
mov ecx, 0x100307e0
push eax
call fcn.1001ef40
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x10003f59
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10003f4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003fc8
push edx
push ecx
call fcn.1002167a
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
add esi, 0xe4
lea eax, [esi - 0x44]
cmp eax, dword [ebp - 0x80]
jne 0x10003ab5
mov bl, 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.10006850
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10006850
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10006850
mov al, bl
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 4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
xor bl, bl
jmp 0x10003f81