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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0a65
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x53d9f8]
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 0x43ea22
mov eax, dword [ebp - 0x184]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x43efed
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 0x43efd9
mov ecx, dword [0x5421c0]
mov eax, dword fs:[0x2c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strnicmp]
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 0x43ef8b
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 dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43ef83
test byte [ebp - 0x17c], 4
je 0x43ef83
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 dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43ed47
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43eb48
sub ecx, edx
lea eax, [ebp - 0x110]
cmp byte [ebp + 0xc], 0
push ecx
push eax
je 0x43ebb0
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0xf
mov byte [ebp - 0x158], 0
call fcn.0041ac00
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 1
or edi, 2
push eax
mov dword [ebp - 0x160], edi
call fcn.00445cf0
add esp, 4
test al, al
je 0x43ed47
xor bl, bl
jmp 0x43ed49
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
call fcn.0041ac00
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 [0x5419e8]
cmp eax, dword [ecx + 4]
jg 0x43f00f
mov eax, dword [0x5419dc]
cmp eax, dword [0x5419e0]
jne 0x43ecec
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.0041ac00
mov ecx, dword [0x5419e0]
mov dword [ebp - 4], 3
cmp ecx, dword [0x5419e4]
je 0x43ec9c
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 [0x5419e0], 0x18
mov byte [ebp - 0x128], 0
jmp 0x43ecb4
lea eax, [ebp - 0x128]
push eax
push ecx
mov ecx, 0x5419dc
call fcn.0043c8d0
mov edx, dword [ebp - 0x114]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x43ecec
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43ece2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43f009
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov esi, dword [0x5419dc]
cmp esi, dword [0x5419e0]
je 0x43ed37
lea ebx, [ebx]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x43ed0a
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 ebx
add esp, 0xc
test eax, eax
je 0x43ed41
add esi, 0x18
cmp esi, dword [0x5419e0]
jne 0x43ed00
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
jmp 0x43ed49
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 0x43edc1
mov eax, dword [ebp - 0x12c]
and ecx, 0xfffffffb
mov dword [ebp - 0x160], ecx
cmp eax, 0x10
jb 0x43eda6
mov ecx, dword [ebp - 0x140]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x43ed96
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43f009
push edx
push ecx
call fcn.004bee2d
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 0x43ee12
mov eax, dword [ebp - 0x144]
and ecx, 0xfffffffd
mov dword [ebp - 0x160], ecx
cmp eax, 0x10
jb 0x43ee12
mov ecx, dword [ebp - 0x158]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x43ee08
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43f009
push edx
push ecx
call fcn.004bee2d
add esp, 8
test bl, bl
je 0x43ee2f
push dword [ebp - 0x164]
call esi
mov edi, dword [ebp - 0x160]
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strnicmp]
jmp 0x43ef8b
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x168], 0
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x15c], 0x100
push eax
lea eax, [ebp - 0x168]
push eax
push 0
push str.NetCfgInstanceId
push dword [ebp - 0x164]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43ef6d
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x128], al
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43ee92
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x128]
call fcn.0041ac00
mov ecx, dword [ebp - 0x174]
mov byte [ebp - 4], 4
cmp ecx, dword [ebp - 0x170]
je 0x43ef1a
mov eax, dword [ebp - 0x128]
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
mov eax, 0xf
add ecx, 0x18
mov byte [ebp - 0x128], 0
mov dword [ebp - 0x174], ecx
jmp 0x43ef33
lea eax, [ebp - 0x128]
push eax
push ecx
lea ecx, [ebp - 0x178]
call fcn.0043c8d0
mov eax, dword [ebp - 0x114]
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x43ef6d
mov ecx, dword [ebp - 0x128]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x43ef63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43f009
push edx
push ecx
call fcn.004bee2d
add esp, 8
push dword [ebp - 0x164]
call esi
mov edi, dword [ebp - 0x160]
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strnicmp]
jmp 0x43ef8b
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 0x43ea83
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.004bee49
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push 0x5419e8
call fcn.004bf206
add esp, 4
cmp dword [0x5419e8], 0xffffffff
jne 0x43ebff
push 0x4ec2d0
mov dword [0x5419dc], 0
mov dword [0x5419e0], 0
mov dword [0x5419e4], 0
call fcn.004bf0be
push 0x5419e8
call fcn.004bf1bc
add esp, 8
jmp 0x43ebff