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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x5bd250]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x44c]
push esi
push edi
push eax
push 0x20019
xor esi, esi
mov dword [ebp - 0x454], 0x208
push esi
push 0x59a790
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x44c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43ae01
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0053f9bc
mov esp, ebp
pop ebp
ret 4
xor edi, edi
xor eax, eax
push edi
push edi
push edi
push edi
mov dword [ebp - 0x450], eax
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x42c]
push eax
push edi
push dword [ebp - 0x44c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x43b034
test edi, edi
jne 0x43b034
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.0053e230
inc dword [ebp - 0x450]
lea eax, [ebp - 0x42c]
push eax
push 0x59a790
push 0x5981c0
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x454], 0x104
push 0x104
push eax
call fcn.00546433
xor eax, eax
mov dword [ebp - 0x430], 7
add esp, 0x20
mov dword [ebp - 0x434], edi
mov word [ebp - 0x444], ax
cmp word [ebp - 0x21c], ax
je 0x43aec4
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43aeb5
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x444]
call fcn.00420490
cmp dword [ebp - 0x430], 8
lea ecx, [ebp - 0x448]
push ecx
push 0x20019
lea eax, [ebp - 0x444]
mov dword [ebp - 0x448], 0
cmovae eax, dword [ebp - 0x444]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43afec
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x45c], 0x208
push eax
lea eax, [ebp - 0x464]
mov dword [ebp - 0x464], 1
push eax
push 0
push str.NetCfgInstanceId
push dword [ebp - 0x448]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43afe0
test ebx, ebx
je 0x43afe0
lea eax, [ebp - 0x21c]
push eax
push ebx
call fcn.0053ede2
add esp, 8
test eax, eax
jne 0x43afe0
mov dword [ebp - 0x458], eax
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x458]
mov dword [ebp - 0x468], 4
push eax
lea eax, [ebp - 0x468]
mov dword [ebp - 0x460], 4
push eax
push 0
push str.Characteristics
push dword [ebp - 0x448]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43afdb
mov eax, dword [ebp - 0x458]
test al, 1
je 0x43afd1
mov esi, 2
jmp 0x43afdb
test al, 4
mov eax, 1
cmovne esi, eax
mov edi, 1
push dword [ebp - 0x448]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x430], 8
jb 0x43b003
push dword [ebp - 0x444]
call fcn.0053ce3a
add esp, 4
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x42c]
push eax
mov eax, dword [ebp - 0x450]
push eax
push dword [ebp - 0x44c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x43ae32
push dword [ebp - 0x44c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053f9bc
mov esp, ebp
pop ebp
ret 4