Function at 0x10003670
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e30b
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x1002a008]
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.10003ba0
mov ebx, dword [0x1002a760]
mov eax, dword [0x1002a764]
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x70], eax
cmp ebx, eax
je 0x10003b70
lea edi, [ebx + 0x44]
mov ecx, ebx
call fcn.10006ec0
mov esi, eax
test esi, esi
jle 0x10003b96
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 0x10003700
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x88]
call fcn.10006100
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.1000d1f0
add esp, 0xc
test al, al
sete bl
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x1000378c
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10003782
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003b90
push edx
push ecx
call fcn.1001ca7a
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 0x100038ba
cmp dword [0x1002a794], eax
jne 0x100037b7
xor ebx, ebx
jmp 0x100037dc
push 0
mov ecx, 0x1002a794
call fcn.10019380
mov eax, dword [0x1002a794]
xor ebx, ebx
cmp byte [eax + 0x54], bl
je 0x100037dc
cmp dword [eax + 0x58], 2
jb 0x100037dc
cmp byte [eax + 0x5c], bl
setne bl
inc ebx
test ebx, ebx
je 0x100038ba
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 0x10003820
mov ecx, dword [edx]
push eax
push ecx
lea eax, [ebp - 0x34]
push 0x10022af4
push eax
call fcn.1001a510
add esp, 0x10
lea eax, [ebp - 0x34]
mov ecx, 0x1002a794
push 0x96
push str.RC::RCDriverInstallerBase::InstallDriverToDesPath
push str.d:_rhinoprotectdriverinstall_src_framework_rcdriverinstallerbase.cpp
push eax
push 2
call fcn.10019f70
cmp ebx, 1
jbe 0x10003865
lea eax, [ebp - 0x34]
mov ecx, 0x1002a794
push eax
call fcn.1001a340
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x100038a6
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000389c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003b90
push edx
push ecx
call fcn.1001ca7a
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 0x100038cb
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
cmp dword [edi], 8
lea esi, [edi - 0x14]
mov ebx, esi
jb 0x100038d7
mov ebx, dword [esi]
mov ecx, dword [edi + 0x38]
mov dword [ebp - 0x6c], ecx
test eax, eax
je 0x10003a04
test ebx, ebx
je 0x10003a04
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 0x10003a04
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 0x100039b5
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 0x10022690
push dword [ebp - 0x50]
mov dword [ebp - 0x1c], 4
call ebx
test eax, eax
jne 0x100039b5
mov eax, dword [ebp - 0x6c]
cmp eax, 0xffffffff
jne 0x10003989
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1000398e
cmp eax, 1
jmp 0x1000398c
cmp dword [ebp - 0x14], eax
jne 0x100039b5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x100226a8
push dword [ebp - 0x50]
call ebx
mov ebx, dword [ebp - 0x58]
test eax, eax
mov eax, 1
cmovne ebx, eax
jmp 0x100039b8
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x100039c6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x100039d4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x10003a04
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 0x10003a04
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10003b55
mov eax, dword [edi]
mov ebx, esi
cmp eax, 8
jb 0x10003a0f
mov ebx, dword [esi]
cmp dword [edi + 0x54], 8
lea ecx, [edi + 0x40]
jb 0x10003a1a
mov ecx, dword [ecx]
mov edx, esi
cmp eax, 8
jb 0x10003a25
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.10002020
add esp, 0x24
test eax, eax
jne 0x10003b55
cmp dword [0x1002a794], eax
jne 0x10003a58
xor ebx, ebx
jmp 0x10003a7d
push 0
mov ecx, 0x1002a794
call fcn.10019380
mov eax, dword [0x1002a794]
xor ebx, ebx
cmp byte [eax + 0x54], bl
je 0x10003a7d
cmp dword [eax + 0x58], 2
jb 0x10003a7d
cmp byte [eax + 0x5c], bl
setne bl
inc ebx
test ebx, ebx
je 0x10003b55
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 0x10003abf
mov ecx, dword [ecx]
push eax
push ecx
lea eax, [ebp - 0x4c]
push 0x10022b7c
push eax
call fcn.1001a510
add esp, 0x10
lea eax, [ebp - 0x4c]
mov ecx, 0x1002a794
push 0xab
push str.RC::RCDriverInstallerBase::InstallDriverToDesPath
push str.d:_rhinoprotectdriverinstall_src_framework_rcdriverinstallerbase.cpp
push eax
push 2
call fcn.10019f70
cmp ebx, 1
jbe 0x10003b04
lea eax, [ebp - 0x4c]
mov ecx, 0x1002a794
push eax
call fcn.1001a340
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x10003b41
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10003b37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003b90
push edx
push ecx
call fcn.1001ca7a
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 0x100036c2
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.1001ca39
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 0x10003b72