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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x5bb250]
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 0x598760
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x44c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43ad31
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0053e21c
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 0x43af64
test edi, edi
jne 0x43af64
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.0053ca90
inc dword [ebp - 0x450]
lea eax, [ebp - 0x42c]
push eax
push 0x598760
push 0x596190
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x454], 0x104
push 0x104
push eax
call fcn.00544ed3
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 0x43adf4
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43ade5
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x444]
call fcn.004203d0
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 0x43af1c
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 0x43af10
test ebx, ebx
je 0x43af10
lea eax, [ebp - 0x21c]
push eax
push ebx
call fcn.0053d642
add esp, 8
test eax, eax
jne 0x43af10
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 0x43af0b
mov eax, dword [ebp - 0x458]
test al, 1
je 0x43af01
mov esi, 2
jmp 0x43af0b
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 0x43af33
push dword [ebp - 0x444]
call fcn.0053ba8c
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 0x43ad62
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.0053e21c
mov esp, ebp
pop ebp
ret 4