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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3c15
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x61ce74]
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]
xor ebx, ebx
mov dword [ebp - 0x16c], ebx
xor esi, esi
xor edi, edi
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x188], esi
mov dword [ebp - 0x184], edi
mov dword [ebp - 0x180], ebx
lea eax, [ebp - 0x170]
mov dword [ebp - 4], edi
push eax
push 0x20019
push edi
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4ecf52
mov eax, dword [ebp - 0x17c]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
jmp 0x4ed4da
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x160]
mov dword [ebp - 0x174], 0
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x160], 0x100
push eax
push 0
push dword [ebp - 0x170]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x4ed4c6
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4ecfa0
lea eax, [ebp - 0x164]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x170]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4ed47e
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x178]
mov dword [ebp - 0x160], 4
push eax
lea eax, [ebp - 0x168]
push eax
push 0
push str.Characteristics
push dword [ebp - 0x164]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4ed476
test byte [ebp - 0x178], 4
je 0x4ed476
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x160], 0x100
push eax
lea eax, [ebp - 0x168]
push eax
push 0
push str.ComponentId
push dword [ebp - 0x164]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4ed280
cmp byte [ebp + 0xc], 0
lea eax, [ebp - 0x110]
push eax
je 0x4ed0bf
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0xf
mov byte [ebp - 0x158], 0
call fcn.004c90c0
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 1
or ebx, 2
push eax
mov dword [ebp - 0x16c], ebx
call fcn.004edbe0
add esp, 4
test al, al
je 0x4ed280
mov byte [ebp - 0x159], 0
jmp 0x4ed287
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
call fcn.004c90c0
mov eax, dword [0x62a85c]
or ebx, 4
mov dword [ebp - 4], 2
mov dword [ebp - 0x16c], ebx
test al, 1
jne 0x4ed131
or eax, 1
mov dword [0x62a850], 0
push 0x5ae4e0
mov dword [0x62a85c], eax
mov dword [0x62a854], 0
mov dword [0x62a858], 0
call fcn.0053d46e
add esp, 4
mov eax, dword [0x62a850]
cmp eax, dword [0x62a854]
jne 0x4ed223
push str.msloop
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
call fcn.004c90c0
mov ecx, dword [0x62a854]
mov dword [ebp - 4], 3
cmp ecx, dword [0x62a858]
je 0x4ed1d3
mov eax, dword [ebp - 0x128]
mov edx, 0xf
mov dword [ecx + 0x10], 0
mov dword [ecx], eax
mov eax, dword [ebp - 0x124]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x11c]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x118]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x114]
mov dword [ecx + 0x14], eax
add dword [0x62a854], 0x18
mov byte [ebp - 0x128], 0
jmp 0x4ed1eb
lea eax, [ebp - 0x128]
push eax
push ecx
mov ecx, 0x62a850
call fcn.00497ef0
mov edx, dword [ebp - 0x114]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x4ed223
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ed219
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ed4f6
push edx
push ecx
call fcn.0053d0af
add esp, 8
mov esi, dword [0x62a850]
cmp esi, dword [0x62a854]
je 0x4ed26b
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x4ed23b
mov ecx, dword [esi]
push dword [esi + 0x10]
cmp dword [ebp - 0x12c], 0x10
lea eax, [ebp - 0x140]
push ecx
cmovae eax, dword [ebp - 0x140]
push eax
call fcn.0055e246
add esp, 0xc
test eax, eax
je 0x4ed27a
add esi, 0x18
cmp esi, dword [0x62a854]
jne 0x4ed231
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x159], 0
jmp 0x4ed287
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x159], 1
mov dword [ebp - 4], 1
test bl, 4
je 0x4ed2f1
mov edx, dword [ebp - 0x12c]
and ebx, 0xfffffffb
mov dword [ebp - 0x16c], ebx
cmp edx, 0x10
jb 0x4ed2d6
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ed2cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ed4f6
push edx
push ecx
call fcn.0053d0af
add esp, 8
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
mov dword [ebp - 4], 0
test bl, 2
je 0x4ed340
mov edx, dword [ebp - 0x144]
and ebx, 0xfffffffd
mov dword [ebp - 0x16c], ebx
cmp edx, 0x10
jb 0x4ed340
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ed336
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ed4f6
push edx
push ecx
call fcn.0053d0af
add esp, 8
cmp byte [ebp - 0x159], 0
jne 0x4ed476
lea eax, [ebp - 0x160]
mov dword [ebp - 0x168], 0
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x160], 0x100
push eax
lea eax, [ebp - 0x168]
push eax
push 0
push str.NetCfgInstanceId
push dword [ebp - 0x164]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4ed476
mov dword [ebp - 0x118], eax
lea ecx, [ebp - 0x128]
mov byte [ebp - 0x128], al
lea eax, [ebp - 0x110]
push eax
mov dword [ebp - 0x114], 0xf
call fcn.004c90c0
mov byte [ebp - 4], 4
cmp edi, dword [ebp - 0x180]
je 0x4ed41f
mov eax, dword [ebp - 0x128]
mov edx, 0xf
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi], eax
mov eax, dword [ebp - 0x124]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x11c]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x118]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x114]
mov dword [edi + 0x14], eax
add edi, 0x18
mov byte [ebp - 0x128], 0
mov dword [ebp - 0x184], edi
jmp 0x4ed43e
lea eax, [ebp - 0x128]
push eax
push edi
lea ecx, [ebp - 0x188]
call fcn.00497ef0
mov edi, dword [ebp - 0x184]
mov edx, dword [ebp - 0x114]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x4ed476
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ed46c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ed4f6
push edx
push ecx
call fcn.0053d0af
add esp, 8
push dword [ebp - 0x164]
call esi
mov eax, dword [ebp - 0x174]
lea ecx, [ebp - 0x160]
push 0
push 0
push 0
push 0
push ecx
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x160], 0x100
inc eax
push ecx
push eax
push dword [ebp - 0x170]
mov dword [ebp - 0x174], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x4ecfa0
mov esi, dword [ebp - 0x188]
mov eax, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0x180]
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
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.0053d079
mov esp, ebp
pop ebp
ret
call fcn.0054b0c3
int3