Function at 0x100038a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020f3b
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x1002e008]
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 - 0x60], eax
call fcn.10003dd0
mov ebx, dword [0x1002e7a0]
mov eax, dword [0x1002e7a4]
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x70], eax
cmp ebx, eax
je 0x10003da0
lea edi, [ebx + 0x44]
mov ecx, ebx
call fcn.10007050
mov esi, eax
test esi, esi
jle 0x10003dc6
mov ecx, dword [ebp - 0x60]
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
lea edx, [ecx + 2]
mov word [ebp - 0x88], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003930
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x88]
call fcn.10006290
mov dword [ebp - 4], 0
lea eax, [ebp - 0x88]
push eax
mov eax, esi
lea ecx, [edi - 0x2c]
cdq
push edx
mov dword [ebp - 0x5c], ecx
mov edx, ecx
push eax
mov ecx, ebx
call fcn.1000d520
add esp, 0xc
test al, al
sete bl
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x100039bc
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100039b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003dc0
push edx
push ecx
call fcn.1001f38a
add esp, 8
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
test bl, bl
je 0x10003aea
cmp dword [0x1002e7d4], eax
jne 0x100039e7
xor ebx, ebx
jmp 0x10003a0c
push 0
mov ecx, 0x1002e7d4
call fcn.1001bcb0
mov eax, dword [0x1002e7d4]
xor ebx, ebx
cmp byte [eax + 0x54], bl
je 0x10003a0c
cmp dword [eax + 0x58], 2
jb 0x10003a0c
cmp byte [eax + 0x5c], bl
setne bl
inc ebx
test ebx, ebx
je 0x10003aea
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [edi - 0x18], 8
mov edx, dword [ebp - 0x5c]
mov ecx, edx
jb 0x10003a50
mov ecx, dword [edx]
push eax
push ecx
lea eax, [ebp - 0x34]
push 0x10025c48
push eax
call fcn.1001ce20
add esp, 0x10
lea eax, [ebp - 0x34]
mov ecx, 0x1002e7d4
push 0x9a
push str.RC::RCDriverInstallerBase::InstallDriverToDesPath
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectdriverinstall_src_framework_rcdriverinstallerbase.cpp
push eax
push 2
call fcn.1001c8b0
cmp ebx, 1
jbe 0x10003a95
lea eax, [ebp - 0x34]
mov ecx, 0x1002e7d4
push eax
call fcn.1001cc50
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x10003ad6
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10003acc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003dc0
push edx
push ecx
call fcn.1001f38a
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp dword [edi + 0x18], 8
lea eax, [edi + 4]
mov dword [ebp - 0x64], eax
jb 0x10003afb
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
cmp dword [edi], 8
lea esi, [edi - 0x14]
mov ebx, esi
jb 0x10003b07
mov ebx, dword [esi]
mov ecx, dword [edi + 0x38]
mov dword [ebp - 0x6c], ecx
test eax, eax
je 0x10003c34
test ebx, ebx
je 0x10003c34
lea eax, [ebp - 0x54]
mov dword [ebp - 0x58], 0
push eax
push 0xf003f
push 0
push str.SYSTEMCurrentControlSetServices
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10003c34
lea eax, [ebp - 0x50]
push eax
push 0xf003f
push 0
push ebx
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10003be5
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0xffffffff
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 4
push eax
push 0
push 0x100256d8
push dword [ebp - 0x50]
mov dword [ebp - 0x1c], 4
call ebx
test eax, eax
jne 0x10003be5
mov eax, dword [ebp - 0x6c]
cmp eax, 0xffffffff
jne 0x10003bb9
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10003bbe
cmp eax, 1
jmp 0x10003bbc
cmp dword [ebp - 0x14], eax
jne 0x10003be5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x100256f0
push dword [ebp - 0x50]
call ebx
mov ebx, dword [ebp - 0x58]
test eax, eax
mov eax, 1
cmovne ebx, eax
jmp 0x10003be8
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x10003bf6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x10003c04
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x10003c34
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x10003c34
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10003d85
mov eax, dword [edi]
mov ebx, esi
cmp eax, 8
jb 0x10003c3f
mov ebx, dword [esi]
cmp dword [edi + 0x54], 8
lea ecx, [edi + 0x40]
jb 0x10003c4a
mov ecx, dword [ecx]
mov edx, esi
cmp eax, 8
jb 0x10003c55
mov edx, dword [esi]
mov esi, edx
push ebx
push dword [edi + 0x68]
push dword [edi + 0x60]
push dword [edi + 0x5c]
push dword [edi + 0x58]
push ecx
push ecx
push dword [edi + 0x3c]
mov ecx, esi
push dword [edi + 0x34]
call fcn.10002030
add esp, 0x24
test eax, eax
jne 0x10003d85
cmp dword [0x1002e7d4], eax
jne 0x10003c88
xor ebx, ebx
jmp 0x10003cad
push 0
mov ecx, 0x1002e7d4
call fcn.1001bcb0
mov eax, dword [0x1002e7d4]
xor ebx, ebx
cmp byte [eax + 0x54], bl
je 0x10003cad
cmp dword [eax + 0x58], 2
jb 0x10003cad
cmp byte [eax + 0x5c], bl
setne bl
inc ebx
test ebx, ebx
je 0x10003d85
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [edi - 0x18], 8
mov ecx, dword [ebp - 0x5c]
jb 0x10003cef
mov ecx, dword [ecx]
push eax
push ecx
lea eax, [ebp - 0x4c]
push 0x10025cd4
push eax
call fcn.1001ce20
add esp, 0x10
lea eax, [ebp - 0x4c]
mov ecx, 0x1002e7d4
push 0xaf
push str.RC::RCDriverInstallerBase::InstallDriverToDesPath
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectdriverinstall_src_framework_rcdriverinstallerbase.cpp
push eax
push 2
call fcn.1001c8b0
cmp ebx, 1
jbe 0x10003d34
lea eax, [ebp - 0x4c]
mov ecx, 0x1002e7d4
push eax
call fcn.1001cc50
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x10003d71
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10003d67
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003dc0
push edx
push ecx
call fcn.1001f38a
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov ebx, dword [ebp - 0x68]
add edi, 0xe4
add ebx, 0xe4
mov dword [ebp - 0x68], ebx
cmp ebx, dword [ebp - 0x70]
jne 0x100038f2
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.1001f349
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 al, al
jmp 0x10003da2