Function at 0x10002bc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001d7bb
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x10029008]
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.100030f0
mov ebx, dword [0x100296f8]
mov eax, dword [0x100296fc]
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x70], eax
cmp ebx, eax
je 0x100030c5
lea edi, [ebx + 0x44]
mov ecx, ebx
call fcn.10006440
mov esi, eax
test esi, esi
jle 0x100030eb
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 0x10002c50
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x88]
call fcn.10005680
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.1000ccd0
add esp, 0xc
test al, al
sete bl
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x10002cdc
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10002cd2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100030e5
push edx
push ecx
call fcn.1001c08d
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 0x10002e0a
cmp dword [0x10029720], eax
jne 0x10002d07
xor ebx, ebx
jmp 0x10002d2c
push 0
mov ecx, 0x10029720
call fcn.10018990
mov eax, dword [0x10029720]
xor ebx, ebx
cmp byte [eax + 0x54], bl
je 0x10002d2c
cmp dword [eax + 0x58], 2
jb 0x10002d2c
cmp byte [eax + 0x5c], bl
setne bl
inc ebx
test ebx, ebx
je 0x10002e0a
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
cmp dword [edi - 0x18], 8
mov eax, dword [ebp - 0x5c]
mov esi, eax
jb 0x10002d6a
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
lea eax, [ebp - 0x34]
push 0x100219cc
push eax
call fcn.10019b20
add esp, 0x10
lea eax, [ebp - 0x34]
mov ecx, 0x10029720
push 0x85
push str.RC::RCDriverInstallerBase::InstallDriverToDesPath
push str.e:_trunk_code_rhinoprotectdriverinstall_src_framework_rcdriverinstallerbase.cpp
push eax
push 2
call fcn.10019580
cmp ebx, 1
jbe 0x10002db5
lea eax, [ebp - 0x34]
mov ecx, 0x10029720
push eax
call fcn.10019950
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x10002df6
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10002dec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100030e5
push edx
push ecx
call fcn.1001c08d
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 0x10002e1b
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
cmp dword [edi], 8
lea esi, [edi - 0x14]
mov ebx, esi
jb 0x10002e27
mov ebx, dword [esi]
mov ecx, dword [edi + 0x38]
mov dword [ebp - 0x6c], ecx
test eax, eax
je 0x10002f54
test ebx, ebx
je 0x10002f54
lea eax, [ebp - 0x54]
mov dword [ebp - 0x58], 0
push eax
push 0xf003f
push 0
push str.SYSTEMCurrentControlSetServices
push 0x80000002
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10002f54
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 0x10002f05
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 0x10021590
push dword [ebp - 0x50]
mov dword [ebp - 0x1c], 4
call ebx
test eax, eax
jne 0x10002f05
mov eax, dword [ebp - 0x6c]
cmp eax, 0xffffffff
jne 0x10002ed9
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10002ede
cmp eax, 1
jmp 0x10002edc
cmp dword [ebp - 0x14], eax
jne 0x10002f05
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x100215a8
push dword [ebp - 0x50]
call ebx
mov ebx, dword [ebp - 0x58]
test eax, eax
mov eax, 1
cmovne ebx, eax
jmp 0x10002f08
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x10002f16
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x10002f24
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x10002f54
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 0x10002f54
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100030aa
mov eax, dword [edi]
mov ebx, esi
cmp eax, 8
jb 0x10002f5f
mov ebx, dword [esi]
cmp dword [edi + 0x54], 8
lea ecx, [edi + 0x40]
jb 0x10002f6a
mov ecx, dword [ecx]
mov edx, esi
cmp eax, 8
jb 0x10002f75
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.10001990
add esp, 0x24
test eax, eax
jne 0x100030aa
cmp dword [0x10029720], eax
jne 0x10002fa8
xor ebx, ebx
jmp 0x10002fcd
push 0
mov ecx, 0x10029720
call fcn.10018990
mov eax, dword [0x10029720]
xor ebx, ebx
cmp byte [eax + 0x54], bl
je 0x10002fcd
cmp dword [eax + 0x58], 2
jb 0x10002fcd
cmp byte [eax + 0x5c], bl
setne bl
inc ebx
test ebx, ebx
je 0x100030aa
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
cmp dword [edi - 0x18], 8
jb 0x1000300c
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
mov dword [ebp - 0x5c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x5c]
lea eax, [ebp - 0x4c]
push 0x10021a54
push eax
call fcn.10019b20
add esp, 0x10
lea eax, [ebp - 0x4c]
mov ecx, 0x10029720
push 0x9a
push str.RC::RCDriverInstallerBase::InstallDriverToDesPath
push str.e:_trunk_code_rhinoprotectdriverinstall_src_framework_rcdriverinstallerbase.cpp
push eax
push 2
call fcn.10019580
cmp ebx, 1
jbe 0x10003059
lea eax, [ebp - 0x4c]
mov ecx, 0x10029720
push eax
call fcn.10019950
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x10003096
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000308c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100030e5
push edx
push ecx
call fcn.1001c08d
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, 0xdc
add ebx, 0xdc
mov dword [ebp - 0x68], ebx
cmp ebx, dword [ebp - 0x70]
jne 0x10002c12
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.1001c04c
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 0x100030c7