Function at 0x10002420
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001d770
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
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 [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov byte [ebp - 0x87], al
test al, al
je 0x10002464
call fcn.100030f0
mov ecx, dword [0x100296fc]
mov al, 1
mov edi, dword [0x100296f8]
mov byte [ebp - 0x85], al
mov dword [ebp - 0x98], ecx
cmp edi, ecx
je 0x10002b96
mov ecx, edi
call fcn.10006440
test eax, eax
jle 0x10002b94
lea ecx, [edi + 0x60]
cdq
push ecx
push edx
push eax
lea edx, [edi + 0x18]
mov ecx, edi
call fcn.1000c2f0
add esp, 0xc
test al, al
jne 0x100025ce
cmp dword [0x10029720], 0
jne 0x100024be
xor ebx, ebx
jmp 0x100024e3
push 0
mov ecx, 0x10029720
call fcn.10018990
mov eax, dword [0x10029720]
xor ebx, ebx
cmp byte [eax + 0x54], bl
je 0x100024e3
cmp dword [eax + 0x58], 3
jb 0x100024e3
cmp byte [eax + 0x5c], bl
setne bl
inc ebx
test ebx, ebx
je 0x100025b1
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], eax
lea eax, [edi + 0x30]
cmp dword [eax + 0x14], 8
jb 0x1000251b
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x34]
push str.DriverInstall:_driverName_s
push eax
call fcn.10019b20
add esp, 0xc
lea eax, [ebp - 0x34]
mov ecx, 0x10029720
push 0x39
push str.RC::RCDriverInstallerBase::InstallDriver
push str.e:_trunk_code_rhinoprotectdriverinstall_src_framework_rcdriverinstallerbase.cpp
push eax
push 3
call fcn.10019580
cmp ebx, 1
jbe 0x1000255c
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 0x1000259d
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10002593
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002b8e
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
mov al, byte [ebp - 0x85]
add edi, 0xdc
cmp edi, dword [ebp - 0x98]
jne 0x10002486
jmp 0x10002b96
cmp dword [edi + 0x5c], 8
lea ebx, [edi + 0x48]
jb 0x100025d9
mov ebx, dword [ebx]
cmp dword [edi + 0x44], 8
lea esi, [edi + 0x30]
mov eax, esi
mov dword [ebp - 0x8c], esi
jb 0x100025f2
mov eax, dword [esi]
mov dword [ebp - 0x8c], eax
mov ecx, dword [edi + 0x7c]
mov dword [ebp - 0x94], ecx
test ebx, ebx
je 0x10002746
test eax, eax
je 0x10002746
lea eax, [ebp - 0x84]
mov dword [ebp - 0x90], 0
push eax
push 0xf003f
push 0
push str.SYSTEMCurrentControlSetServices
push 0x80000002
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10002746
lea eax, [ebp - 0x80]
push eax
push 0xf003f
push 0
push dword [ebp - 0x8c]
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100026f4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0xffffffff
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 4
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 4
push eax
push 0
push 0x10021590
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100026f4
mov eax, dword [ebp - 0x94]
cmp eax, 0xffffffff
jne 0x100026bd
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100026c2
cmp eax, 1
jmp 0x100026c0
cmp dword [ebp - 0x14], eax
jne 0x100026f4
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 - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x90]
test eax, eax
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0x90], ecx
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x10002705
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x10002713
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x90], 0
je 0x10002746
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x10002746
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100025b1
cmp byte [ebp - 0x87], 0
jne 0x100028e1
mov edx, dword [esi + 0x14]
mov ebx, esi
cmp edx, 8
jb 0x1000275f
mov ebx, dword [esi]
cmp dword [edi + 0x98], 8
lea eax, [edi + 0x84]
jb 0x10002770
mov eax, dword [eax]
mov ecx, esi
cmp edx, 8
jb 0x10002779
mov ecx, dword [esi]
test ecx, ecx
je 0x100027bf
mov edx, dword [edi + 0x78]
push ebx
push dword [edi + 0xac]
push dword [edi + 0xa4]
push dword [edi + 0xa0]
push dword [edi + 0x9c]
push eax
push dword [edi + 0x80]
call fcn.10001be0
add esp, 0x1c
mov dword [ebp - 0x80], eax
test eax, eax
jne 0x100027c6
mov ecx, dword [0x10029720]
test eax, eax
sete bl
jmp 0x10002a6d
mov dword [ebp - 0x80], 0x57
mov ecx, dword [0x10029720]
test ecx, ecx
jne 0x100027d4
xor ebx, ebx
jmp 0x100027fa
push 0
mov ecx, 0x10029720
call fcn.10018990
mov ecx, dword [0x10029720]
xor ebx, ebx
cmp byte [ecx + 0x54], bl
je 0x100027fa
cmp dword [ecx + 0x58], 2
jb 0x100027fa
cmp byte [ecx + 0x5c], bl
setne bl
inc ebx
test ebx, ebx
je 0x100028d4
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], 1
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x10002835
mov eax, dword [esi]
push dword [ebp - 0x80]
push eax
lea eax, [ebp - 0x4c]
push 0x1002195c
push eax
call fcn.10019b20
add esp, 0x10
lea eax, [ebp - 0x4c]
mov ecx, 0x10029720
push 0x51
push str.RC::RCDriverInstallerBase::InstallDriver
push str.e:_trunk_code_rhinoprotectdriverinstall_src_framework_rcdriverinstallerbase.cpp
push eax
push 2
call fcn.10019580
cmp ebx, 1
jbe 0x10002879
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 0x100028ba
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100028b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002b8e
push edx
push ecx
call fcn.1001c08d
add esp, 8
mov ecx, dword [0x10029720]
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov eax, dword [ebp - 0x80]
test eax, eax
sete bl
jmp 0x10002a6d
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x8c], esi
cmp ecx, 8
jb 0x100028f7
mov eax, dword [esi]
mov dword [ebp - 0x8c], eax
cmp dword [edi + 0x98], 8
lea eax, [edi + 0x84]
jb 0x10002908
mov eax, dword [eax]
mov edx, esi
cmp ecx, 8
jb 0x10002911
mov edx, dword [esi]
mov ebx, esi
jb 0x10002917
mov ebx, dword [esi]
push dword [ebp - 0x8c]
push dword [edi + 0xac]
push dword [edi + 0xa4]
push dword [edi + 0xa0]
push dword [edi + 0x9c]
push eax
push ecx
push dword [edi + 0x80]
mov ecx, ebx
push dword [edi + 0x78]
call fcn.10001990
mov ecx, dword [0x10029720]
add esp, 0x24
mov dword [ebp - 0x94], eax
test eax, eax
jne 0x10002a63
test ecx, ecx
jne 0x10002966
xor ebx, ebx
jmp 0x1000298c
push 0
mov ecx, 0x10029720
call fcn.10018990
mov ecx, dword [0x10029720]
xor ebx, ebx
cmp byte [ecx + 0x54], bl
je 0x1000298c
cmp dword [ecx + 0x58], 2
jb 0x1000298c
cmp byte [ecx + 0x5c], bl
setne bl
inc ebx
test ebx, ebx
je 0x10002a63
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 dword [ebp - 4], 2
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x100029c7
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x64]
push str._s_
push eax
call fcn.10019b20
add esp, 0xc
lea eax, [ebp - 0x64]
mov ecx, 0x10029720
push 0x64
push str.RC::RCDriverInstallerBase::InstallDriver
push str.e:_trunk_code_rhinoprotectdriverinstall_src_framework_rcdriverinstallerbase.cpp
push eax
push 2
call fcn.10019580
cmp ebx, 1
jbe 0x10002a08
lea eax, [ebp - 0x64]
mov ecx, 0x10029720
push eax
call fcn.10019950
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x10002a49
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10002a3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002b8e
push edx
push ecx
call fcn.1001c08d
add esp, 8
mov ecx, dword [0x10029720]
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
cmp dword [ebp - 0x94], 0
setne bl
and bl, byte [ebp - 0x85]
mov byte [ebp - 0x86], bl
test ecx, ecx
jne 0x10002a81
xor ebx, ebx
jmp 0x10002aa6
push 0
mov ecx, 0x10029720
call fcn.10018990
mov eax, dword [0x10029720]
xor ebx, ebx
cmp byte [eax + 0x54], bl
je 0x10002aa6
cmp dword [eax + 0x58], 4
jb 0x10002aa6
cmp byte [eax + 0x5c], bl
setne bl
inc ebx
mov al, byte [ebp - 0x86]
mov byte [ebp - 0x85], al
test ebx, ebx
je 0x100025b7
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
mov dword [ebp - 4], 3
cmp dword [esi + 0x14], 8
jb 0x10002aeb
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x7c]
push 0x10021998
push eax
call fcn.10019b20
add esp, 0xc
lea eax, [ebp - 0x7c]
mov ecx, 0x10029720
push 0x6a
push str.RC::RCDriverInstallerBase::InstallDriver
push str.e:_trunk_code_rhinoprotectdriverinstall_src_framework_rcdriverinstallerbase.cpp
push eax
push 4
call fcn.10019580
cmp ebx, 1
jbe 0x10002b2c
lea eax, [ebp - 0x7c]
mov ecx, 0x10029720
push eax
call fcn.10019950
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x68]
cmp edx, 8
jb 0x10002b69
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10002b5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002b8e
push edx
push ecx
call fcn.1001c08d
add esp, 8
xor eax, eax
mov dword [ebp - 0x6c], 0
mov word [ebp - 0x7c], ax
mov al, byte [ebp - 0x86]
mov dword [ebp - 0x68], 7
mov byte [ebp - 0x85], al
jmp 0x100025b7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
xor al, al
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