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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x5b8250]
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 0x595990
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x44c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43ae31
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0053aa3c
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 0x43b064
test edi, edi
jne 0x43b064
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.005392b0
inc dword [ebp - 0x450]
lea eax, [ebp - 0x42c]
push eax
push 0x595990
push 0x5933b8
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x454], 0x104
push 0x104
push eax
call fcn.00541843
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 0x43aef4
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43aee5
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x444]
call fcn.004204e0
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 0x43b01c
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 0x43b010
test ebx, ebx
je 0x43b010
lea eax, [ebp - 0x21c]
push eax
push ebx
call fcn.00539e62
add esp, 8
test eax, eax
jne 0x43b010
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 0x43b00b
mov eax, dword [ebp - 0x458]
test al, 1
je 0x43b001
mov esi, 2
jmp 0x43b00b
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 0x43b033
push dword [ebp - 0x444]
call fcn.005385cc
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 0x43ae62
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.0053aa3c
mov esp, ebp
pop ebp
ret 4