Function at 0x1003dd30
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d4fda
mov eax, dword fs:[0]
push eax
sub esp, 0x8c4
mov eax, dword [0x101120a8]
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 dword [ebp - 0x8bc], ecx
cmp dword [edx + 0x18], 8
lea ecx, [edx + 4]
mov esi, dword [ebp + 8]
mov eax, ecx
mov dword [ebp - 0x8c4], ecx
mov dword [ecx + 0x10], 0
jb 0x1003dd81
mov eax, dword [ecx]
xor ecx, ecx
mov word [eax], cx
lea ecx, [esi + 4]
cmp dword [ecx + 0x14], 8
mov eax, ecx
mov dword [ebp - 0x8c8], ecx
mov dword [ecx + 0x10], 0
jb 0x1003dda0
mov eax, dword [ecx]
xor ecx, ecx
mov word [eax], cx
xor eax, eax
mov dword [ebp - 0x8b4], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
mov dword [ebp - 0x820], ecx
mov dword [ebp - 0x81c], 7
mov word [ebp - 0x830], ax
push 0x4d
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x830]
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318
call fcn.10002b70
mov dword [ebp - 4], 1
xor eax, eax
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
mov dword [ebp - 0x804], 0
mov dword [ebp - 0x800], 7
mov word [ebp - 0x814], ax
add dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count], 2
mov dword [ebp - 0x8b8], 0x100
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
mov dword [ebp - 0x890], eax
mov dword [ebp - 0x88c], 7
mov word [ebp - 0x8a0], ax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8b4]
cmp dword [ebp - 0x81c], 8
lea eax, [ebp - 0x830]
push ecx
cmovae eax, dword [ebp - 0x830]
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x8a8], 0x3e8
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003e2df
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
nop dword [eax]
lea eax, [ebp - 0x8d0]
mov dword [ebp - 0x8b8], 0x100
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x8b8]
push eax
lea eax, [ebp - 0x7e0]
push eax
push edi
push dword [ebp - 0x8b4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
mov dword [ebp - 0x8c0], ebx
test ebx, ebx
jne 0x1003e2ce
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
mov dword [ebp - 0x83c], eax
mov dword [ebp - 0x838], 7
mov word [ebp - 0x84c], ax
lea ecx, [ebp - 0x7e0]
mov byte [ebp - 4], 4
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003df16
sub ecx, edx
lea eax, [ebp - 0x7e0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x84c]
call fcn.10002b70
push 0x100ef420
lea ecx, [ebp - 0x7fc]
mov byte [ebp - 4], 5
call sym.XNewLookSch.dll_public:_void___thiscall_LString::constructor_char_const__
lea eax, [ebp - 0x7fc]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x888]
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_operator_class_LString_const___class_LString_const__
lea ecx, [ebp - 0x850]
mov byte [ebp - 4], 7
push ecx
push eax
lea eax, [ebp - 0x86c]
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_operator_class_LString_const___class_LString_const__
add esp, 0x18
add eax, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x814]
cmp ecx, eax
je 0x1003dfaf
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x1003dfa0
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x814]
call fcn.10002b70
mov byte [ebp - 4], 7
mov eax, dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0x854]
dec eax
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
mov dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count], eax
cmp edx, 8
jb 0x1003e00d
mov ecx, dword [ebp - 0x868]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003dffe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e5c3
push edx
push ecx
call fcn.1008bfe4
mov eax, dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
add esp, 8
mov byte [ebp - 4], 6
xor ecx, ecx
mov edx, dword [ebp - 0x870]
dec eax
mov dword [ebp - 0x858], 0
mov dword [ebp - 0x854], 7
mov word [ebp - 0x868], cx
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
mov dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count], eax
cmp edx, 8
jb 0x1003e083
mov ecx, dword [ebp - 0x884]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e074
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e5c3
push edx
push ecx
call fcn.1008bfe4
mov eax, dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
add esp, 8
mov byte [ebp - 4], 5
xor ecx, ecx
mov edx, dword [ebp - 0x7e4]
dec eax
mov dword [ebp - 0x874], 0
mov dword [ebp - 0x870], 7
mov word [ebp - 0x884], cx
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
mov dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count], eax
cmp edx, 8
jb 0x1003e0f9
mov ecx, dword [ebp - 0x7f8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e0ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e5c3
push edx
push ecx
call fcn.1008bfe4
mov eax, dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
add esp, 8
mov byte [ebp - 4], 3
xor ecx, ecx
mov edx, dword [ebp - 0x838]
dec eax
mov dword [ebp - 0x7e8], 0
mov dword [ebp - 0x7e4], 7
mov word [ebp - 0x7f8], cx
mov dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count], eax
cmp edx, 8
jb 0x1003e160
mov ecx, dword [ebp - 0x84c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e156
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e5c3
push edx
push ecx
call fcn.1008bfe4
add esp, 8
cmp dword [ebp - 0x800], 8
lea ecx, [ebp - 0x8ac]
push ecx
push 0x20019
lea eax, [ebp - 0x814]
mov dword [ebp - 0x8ac], reloc.OLEAUT32.dll_SysReAllocString
cmovae eax, dword [ebp - 0x814]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003e2ce
push 0x3e8
push eax
lea eax, [ebp - 0x3f8]
mov dword [ebp - 0x8b0], 1
push eax
mov dword [ebp - 0x8a8], 0x3e8
call fcn.1008da10
add esp, 0xc
lea eax, [ebp - 0x8a8]
push eax
lea eax, [ebp - 0x3f8]
push eax
lea eax, [ebp - 0x8b0]
push eax
push 0
push str.NetCfgInstanceId
push dword [ebp - 0x8ac]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor eax, eax
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
mov dword [ebp - 0x7e8], 0
mov dword [ebp - 0x7e4], 7
mov word [ebp - 0x7f8], ax
lea ecx, [ebp - 0x3f8]
mov byte [ebp - 4], 9
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003e230
sub ecx, edx
lea eax, [ebp - 0x3f8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x7f8]
call fcn.10002b70
mov ecx, dword [ebp - 0x8bc]
mov byte [ebp - 4], 3
cmp dword [ecx + 0x18], 8
lea eax, [ecx + 4]
jb 0x1003e268
mov eax, dword [ecx + 4]
cmp dword [ebp - 0x7e4], 8
lea esi, [ebp - 0x7f8]
mov edx, dword [ebp - 0x7e8]
cmovae esi, dword [ebp - 0x7f8]
cmp edx, dword [ecx + 0x14]
jne 0x1003e2a5
test edx, edx
je 0x1003e2a1
sub esi, eax
nop dword [eax]
mov cx, word [eax + esi]
cmp cx, word [eax]
jne 0x1003e2a5
add eax, 2
sub edx, 1
jne 0x1003e290
mov bl, 1
jmp 0x1003e2a7
xor bl, bl
lea ecx, [ebp - 0x7fc]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
test bl, bl
jne 0x1003e3ad
push dword [ebp - 0x8ac]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
mov ebx, dword [ebp - 0x8c0]
inc edi
test ebx, ebx
je 0x1003dea0
push dword [ebp - 0x8b4]
call esi
xor bl, bl
mov eax, dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0x800]
sub eax, 2
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
mov dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count], eax
cmp edx, 8
jb 0x1003e33d
mov ecx, dword [ebp - 0x814]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e32e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e5c3
push edx
push ecx
call fcn.1008bfe4
mov eax, dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
add esp, 8
mov edx, dword [ebp - 0x81c]
xor ecx, ecx
dec eax
mov dword [ebp - 0x804], 0
mov dword [ebp - 0x800], 7
mov word [ebp - 0x814], cx
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
mov dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count], eax
cmp edx, 8
jb 0x1003e5a5
mov ecx, dword [ebp - 0x830]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e59b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e5c3
jmp 0x1003e59b
push 0x3e8
lea eax, [ebp - 0x3f8]
mov dword [ebp - 0x8b0], 1
push 0
push eax
mov dword [ebp - 0x8a8], 0x3e8
call fcn.1008da10
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x8a8]
add esp, 0xc
push eax
lea eax, [ebp - 0x3f8]
push eax
lea eax, [ebp - 0x8b0]
push eax
push 0
push str.DriverDesc
push dword [ebp - 0x8ac]
call ebx
xor eax, eax
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
mov dword [ebp - 0x7e8], 0
mov dword [ebp - 0x7e4], 7
mov word [ebp - 0x7f8], ax
lea ecx, [ebp - 0x3f8]
mov byte [ebp - 4], 0xa
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003e440
sub ecx, edx
lea eax, [ebp - 0x3f8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x7f8]
call fcn.10002b70
mov ecx, dword [ebp - 0x8c4]
lea eax, [ebp - 0x7f8]
mov byte [ebp - 4], 0xb
cmp ecx, eax
je 0x1003e490
cmp dword [ebp - 0x7e4], 8
push dword [ebp - 0x7e8]
cmovae eax, dword [ebp - 0x7f8]
push eax
call fcn.10002b70
lea ecx, [ebp - 0x7fc]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
push 0x3e8
lea eax, [ebp - 0x3f8]
mov dword [ebp - 0x8b0], 1
push 0
push eax
mov dword [ebp - 0x8a8], 0x3e8
call fcn.1008da10
add esp, 0xc
lea eax, [ebp - 0x8a8]
push eax
lea eax, [ebp - 0x3f8]
push eax
lea eax, [ebp - 0x8b0]
push eax
push 0
push str.ProviderName
push dword [ebp - 0x8ac]
call ebx
xor eax, eax
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
mov dword [ebp - 0x7e8], 0
mov dword [ebp - 0x7e4], 7
mov word [ebp - 0x7f8], ax
lea ecx, [ebp - 0x3f8]
mov byte [ebp - 4], 0xc
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003e523
sub ecx, edx
lea eax, [ebp - 0x3f8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x7f8]
call fcn.10002b70
mov ecx, dword [ebp - 0x8c8]
lea eax, [ebp - 0x7f8]
mov byte [ebp - 4], 0xd
cmp ecx, eax
je 0x1003e573
cmp dword [ebp - 0x7e4], 8
push dword [ebp - 0x7e8]
cmovae eax, dword [ebp - 0x7f8]
push eax
call fcn.10002b70
lea ecx, [ebp - 0x7fc]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
push dword [ebp - 0x8ac]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x8b4]
call esi
mov bl, 1
jmp 0x1003e2e1
push edx
push ecx
call fcn.1008bfe4
add esp, 8
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.1008bffe
mov esp, ebp
pop ebp
ret
call fcn.10092486
int3