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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60e83b
mov eax, dword fs:[0]
push eax
sub esp, 0x9e4
mov eax, dword [0x6c0924]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x720], 0
mov dword [ebp - 0x6f4], 0
lea ecx, [ebp - 0x630]
call fcn.0040d0f0
mov dword [ebp - 4], 0
mov dword [ebp - 0x6f8], 0
lea eax, [ebp - 0x6f4]
push eax
push 0x20019
push 0
push 0x62e990
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x6f8], eax
cmp dword [ebp - 0x6f8], 0
je 0x4521ef
call fcn.00478bf0
mov dword [ebp - 0x700], eax
push 1
mov ecx, dword [ebp - 0x700]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x700]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 0x728], al
cmp byte [ebp - 0x728], 1
je 0x4520f0
jmp 0x4521ea
push 0x62ea28
lea ecx, [ebp - 0x660]
call fcn.00408710
mov byte [ebp - 4], 1
push 0x62e98c
lea ecx, [ebp - 0x648]
call fcn.00408710
mov byte [ebp - 4], 2
call fcn.00478bf0
mov dword [ebp - 0x704], eax
mov ecx, dword [ebp - 0x6f8]
push ecx
push str.RegOpenKeyEx_fails__error_code___d
lea edx, [ebp - 0x78c]
push edx
call fcn.0040b9a0
add esp, 0xc
mov dword [ebp - 0x72c], eax
mov eax, dword [ebp - 0x72c]
mov dword [ebp - 0x730], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x730]
push ecx
push 0x852
lea edx, [ebp - 0x660]
push edx
lea eax, [ebp - 0x648]
push eax
lea ecx, [ebp - 0x828]
call fcn.0040d3b0
mov dword [ebp - 0x734], eax
mov ecx, dword [ebp - 0x734]
mov dword [ebp - 0x790], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x790]
call fcn.0040b2a0
push eax
mov edx, dword [ebp - 0x704]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x704]
mov edx, dword [eax + 0x1c]
call edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x828]
call fcn.0040e140
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x78c]
call fcn.00405df0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x648]
call fcn.00405e70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x660]
call fcn.00405e70
jmp 0x4526d9
mov dword [ebp - 0x70c], 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x70c]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0x6f4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x6f8], eax
cmp dword [ebp - 0x6f8], 0
je 0x452367
call fcn.00478bf0
mov dword [ebp - 0x708], eax
push 1
mov edx, dword [ebp - 0x708]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x708]
mov edx, dword [eax + 8]
call edx
mov byte [ebp - 0x784], al
cmp byte [ebp - 0x784], 1
je 0x452268
jmp 0x452362
push 0x62ea70
lea ecx, [ebp - 0x6d8]
call fcn.00408710
mov byte [ebp - 4], 5
push 0x62ea6c
lea ecx, [ebp - 0x6f0]
call fcn.00408710
mov byte [ebp - 4], 6
call fcn.00478bf0
mov dword [ebp - 0x724], eax
mov eax, dword [ebp - 0x6f8]
push eax
push str.RegQueryInfoKey_fails__error_code___d
lea ecx, [ebp - 0x770]
push ecx
call fcn.0040b9a0
add esp, 0xc
mov dword [ebp - 0x780], eax
mov edx, dword [ebp - 0x780]
mov dword [ebp - 0x77c], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x77c]
push eax
push 0x85b
lea ecx, [ebp - 0x6d8]
push ecx
lea edx, [ebp - 0x6f0]
push edx
lea ecx, [ebp - 0x8c0]
call fcn.0040d3b0
mov dword [ebp - 0x778], eax
mov eax, dword [ebp - 0x778]
mov dword [ebp - 0x774], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x774]
call fcn.0040b2a0
push eax
mov ecx, dword [ebp - 0x724]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x724]
mov eax, dword [edx + 0x1c]
call eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8c0]
call fcn.0040e140
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x770]
call fcn.00405df0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x6f0]
call fcn.00405e70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6d8]
call fcn.00405e70
jmp 0x4526d9
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.005b1170
add esp, 0xc
mov dword [ebp - 0x6fc], 0
jmp 0x452398
mov edx, dword [ebp - 0x6fc]
add edx, 1
mov dword [ebp - 0x6fc], edx
mov eax, dword [ebp - 0x6fc]
cmp eax, dword [ebp - 0x70c]
jae 0x4526d1
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.005b1170
add esp, 0xc
mov dword [ebp - 0x76c], 0x104
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x76c]
push edx
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x6fc]
push ecx
mov edx, dword [ebp - 0x6f4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4526cc
call fcn.00478bf0
mov dword [ebp - 0x710], eax
push 1
mov eax, dword [ebp - 0x710]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x710]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 0x768], al
cmp byte [ebp - 0x768], 1
je 0x452430
jmp 0x45252a
push 0x62eae0
lea ecx, [ebp - 0x6a8]
call fcn.00408710
mov byte [ebp - 4], 9
push 0x62eadc
lea ecx, [ebp - 0x6c0]
call fcn.00408710
mov byte [ebp - 4], 0xa
call fcn.00478bf0
mov dword [ebp - 0x714], eax
lea ecx, [ebp - 0x218]
push ecx
push str.NetworkCards_sub_key_name:__s
lea edx, [ebp - 0x744]
push edx
call fcn.0040b7e0
add esp, 0xc
mov dword [ebp - 0x788], eax
mov eax, dword [ebp - 0x788]
mov dword [ebp - 0x738], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x738]
push ecx
push 0x866
lea edx, [ebp - 0x6a8]
push edx
lea eax, [ebp - 0x6c0]
push eax
lea ecx, [ebp - 0x958]
call fcn.0040d3b0
mov dword [ebp - 0x73c], eax
mov ecx, dword [ebp - 0x73c]
mov dword [ebp - 0x740], ecx
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x740]
call fcn.0040b2d0
push eax
mov edx, dword [ebp - 0x714]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x714]
mov edx, dword [eax + 0x1c]
call edx
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x958]
call fcn.0040e140
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x744]
call fcn.00405df0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x6c0]
call fcn.00405e70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6a8]
call fcn.00405e70
push 0x400
push 0
lea eax, [ebp - 0x618]
push eax
call fcn.005b1170
add esp, 0xc
mov dword [ebp - 0x748], 0x400
mov dword [ebp - 0x74c], 1
lea ecx, [ebp - 0x748]
push ecx
lea edx, [ebp - 0x618]
push edx
lea eax, [ebp - 0x74c]
push eax
push 2
push 0x62eb60
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x6f4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x4526cc
lea eax, [ebp - 0x618]
push eax
lea ecx, [ebp - 0x630]
call fcn.0042f870
call fcn.00478bf0
mov dword [ebp - 0x718], eax
push 1
mov ecx, dword [ebp - 0x718]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x718]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 0x750], al
cmp byte [ebp - 0x750], 1
je 0x4525d2
jmp 0x4526cc
push 0x62eb78
lea ecx, [ebp - 0x678]
call fcn.00408710
mov byte [ebp - 4], 0xd
push 0x62ebbc
lea ecx, [ebp - 0x690]
call fcn.00408710
mov byte [ebp - 4], 0xe
call fcn.00478bf0
mov dword [ebp - 0x71c], eax
lea ecx, [ebp - 0x618]
push ecx
push 0x62ebc0
lea edx, [ebp - 0x764]
push edx
call fcn.0040b7e0
add esp, 0xc
mov dword [ebp - 0x754], eax
mov eax, dword [ebp - 0x754]
mov dword [ebp - 0x758], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x758]
push ecx
push 0x86e
lea edx, [ebp - 0x678]
push edx
lea eax, [ebp - 0x690]
push eax
lea ecx, [ebp - 0x9f0]
call fcn.0040d3b0
mov dword [ebp - 0x75c], eax
mov ecx, dword [ebp - 0x75c]
mov dword [ebp - 0x760], ecx
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x760]
call fcn.0040b2d0
push eax
mov edx, dword [ebp - 0x71c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x71c]
mov edx, dword [eax + 0x1c]
call edx
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x9f0]
call fcn.0040e140
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x764]
call fcn.00405df0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x690]
call fcn.00405e70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x678]
call fcn.00405e70
jmp 0x452389
xor eax, eax
jne 0x45208b
cmp dword [ebp - 0x6f4], 0
je 0x4526f9
mov ecx, dword [ebp - 0x6f4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x6f4], 0
lea edx, [ebp - 0x630]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040cf10
mov eax, dword [ebp - 0x720]
or eax, 1
mov dword [ebp - 0x720], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x630]
call fcn.0040df90
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052e057
mov esp, ebp
pop ebp
ret