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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x669ab5
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x718924]
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 edi, edi
mov dword [ebp - 0x160], edi
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x174], ebx
mov dword [ebp - 0x170], ebx
lea eax, [ebp - 0x16c]
mov dword [ebp - 4], ebx
push eax
push 0x20019
push ebx
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x452f92
mov eax, dword [ebp - 0x184]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x453553
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x180], 0
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x15c], 0x100
push eax
push 0
push dword [ebp - 0x16c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x45353f
mov ecx, dword [0x72249c]
mov eax, dword fs:[0x2c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [eax + ecx*4]
mov dword [ebp - 0x188], eax
lea eax, [ebp - 0x164]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x16c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4534f1
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x17c]
mov dword [ebp - 0x15c], 4
push eax
lea eax, [ebp - 0x168]
push eax
push 0
push str.Characteristics
push dword [ebp - 0x164]
call ebx
test eax, eax
jne 0x4534e9
test byte [ebp - 0x17c], 4
je 0x4534e9
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x15c], 0x100
push eax
lea eax, [ebp - 0x168]
push eax
push 0
push str.ComponentId
push dword [ebp - 0x164]
call ebx
test eax, eax
jne 0x4532ac
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4530b0
sub ecx, edx
lea eax, [ebp - 0x110]
cmp byte [ebp + 0xc], 0
push ecx
push eax
je 0x453118
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0xf
mov byte [ebp - 0x158], 0
call fcn.0045d850
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 1
or edi, 2
push eax
mov dword [ebp - 0x160], edi
call fcn.00459e80
add esp, 4
test al, al
je 0x4532ac
xor bl, bl
jmp 0x4532ae
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
call fcn.0045d850
mov eax, dword [ebp - 0x188]
or edi, 4
mov dword [ebp - 4], 2
mov dword [ebp - 0x160], edi
mov ecx, dword [eax]
mov eax, dword [0x720980]
cmp eax, dword [ecx + 4]
jg 0x453574
mov eax, dword [0x720974]
cmp eax, dword [0x720978]
jne 0x453254
push 7
push str.msloop
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
call fcn.0045d850
mov ecx, dword [0x720978]
mov dword [ebp - 4], 3
cmp ecx, dword [0x72097c]
je 0x453204
mov eax, dword [ebp - 0x128]
mov edx, 0xf
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 [0x720978], 0x18
mov byte [ebp - 0x128], 0
jmp 0x45321c
lea eax, [ebp - 0x128]
push eax
push ecx
mov ecx, 0x720974
call fcn.0044f9d0
mov edx, dword [ebp - 0x114]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x453254
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45324a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45356f
push edx
push ecx
call fcn.004cb4db
add esp, 8
mov esi, dword [0x720974]
cmp esi, dword [0x720978]
je 0x45329c
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x45326c
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.004f9399
add esp, 0xc
test eax, eax
je 0x4532a6
add esi, 0x18
cmp esi, dword [0x720978]
jne 0x453262
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
jmp 0x4532ae
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 4], 1
test cl, 4
je 0x453326
mov eax, dword [ebp - 0x12c]
and ecx, 0xfffffffb
mov dword [ebp - 0x160], ecx
cmp eax, 0x10
jb 0x45330b
mov ecx, dword [ebp - 0x140]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x4532fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45356f
push edx
push ecx
call fcn.004cb4db
mov ecx, dword [ebp - 0x160]
add esp, 8
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
mov dword [ebp - 4], 0
test cl, 2
je 0x453377
mov eax, dword [ebp - 0x144]
and ecx, 0xfffffffd
mov dword [ebp - 0x160], ecx
cmp eax, 0x10
jb 0x453377
mov ecx, dword [ebp - 0x158]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x45336d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45356f
push edx
push ecx
call fcn.004cb4db
add esp, 8
test bl, bl
je 0x453394
push dword [ebp - 0x164]
call esi
mov edi, dword [ebp - 0x160]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x4534f1
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x168], 0
push eax
lea eax, [ebp - 0x168]
mov dword [ebp - 0x15c], 0x100
push eax
push 0
push str.NetCfgInstanceId
push dword [ebp - 0x164]
call ebx
test eax, eax
jne 0x4534d9
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x128], al
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x453400
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x128]
call fcn.0045d850
mov ecx, dword [ebp - 0x174]
mov byte [ebp - 4], 4
cmp ecx, dword [ebp - 0x170]
je 0x453488
mov eax, dword [ebp - 0x128]
mov edx, 0xf
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 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 ecx, 0x18
mov byte [ebp - 0x128], 0
mov dword [ebp - 0x174], ecx
jmp 0x4534a1
lea eax, [ebp - 0x128]
push eax
push ecx
lea ecx, [ebp - 0x178]
call fcn.0044f9d0
mov edx, dword [ebp - 0x114]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x4534d9
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4534cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45356f
push edx
push ecx
call fcn.004cb4db
add esp, 8
push dword [ebp - 0x164]
call esi
mov edi, dword [ebp - 0x160]
jmp 0x4534f1
push dword [ebp - 0x164]
call esi
mov eax, dword [ebp - 0x180]
lea ecx, [ebp - 0x15c]
push 0
push 0
push 0
push 0
push ecx
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x15c], 0x100
inc eax
push ecx
push eax
push dword [ebp - 0x16c]
mov dword [ebp - 0x180], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x452ff3
mov esi, dword [ebp - 0x178]
mov ebx, dword [ebp - 0x174]
mov eax, dword [ebp - 0x184]
mov ecx, dword [ebp - 0x170]
mov dword [eax], esi
mov dword [eax + 4], ebx
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.004cb998
mov esp, ebp
pop ebp
ret
call fcn.004e6589
push 0x720980
call fcn.004cb872
add esp, 4
cmp dword [0x720980], 0xffffffff
jne 0x453167
push 0x672ba0
mov dword [0x720974], 0
mov dword [0x720978], 0
mov dword [0x72097c], 0
call fcn.004cb72a
push 0x720980
call fcn.004cb828
add esp, 8
jmp 0x453167