Function at 0x10006650
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0xbe0
push ebx
push ebp
push esi
push edi
mov ecx, 0x13
mov esi, str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
lea edi, [esp + 0x98]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x1c]
xor ebx, ebx
push eax
push 0x20019
lea ecx, [esp + 0xa0]
push ebx
push ecx
push reloc.WS2_32.dll_bind
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebx
movsw word es:[edi], word [esi]
call ebp
test eax, eax
je 0x100066aa
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xbe0
ret
cmp dword [0x100388c0], 4
sbb edx, edx
inc edx
push edx
call fcn.10006550
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
push ebx
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [esp + 0x20]
cmp eax, ebx
jbe 0x10006b21
xor edx, edx
cmp eax, ebx
mov dword [esp + 0x30], edx
jbe 0x10006b21
jmp 0x100066fd
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor eax, eax
mov ecx, 0x41
push eax
lea edi, [esp + 0xec]
push eax
push eax
rep stosd dword es:[edi], eax
push eax
lea eax, [esp + 0x44]
lea ecx, [esp + 0xf8]
push eax
push ecx
push edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x50], 0x104
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ecx, 0x41
lea esi, [esp + 0xe8]
lea edi, [esp + 0x2ec]
lea eax, [esp + 0xe8]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
lea ecx, [esp + 0x98]
push eax
push ecx
lea edx, [esp + 0x1f4]
push 0x10030690
push edx
call esi
add esp, 0x10
lea eax, [esp + 0x28]
lea ecx, [esp + 0x1ec]
push eax
push 0x20019
push 0
push ecx
push reloc.WS2_32.dll_bind
call ebp
test eax, eax
jne 0x10006b0c
mov ecx, dword [esp + 0x28]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x38]
lea eax, [esp + 0x7f0]
push edx
push eax
push 0
push 0
push str.ComponentId
push ecx
mov dword [esp + 0x50], 0x400
call ebx
test eax, eax
jne 0x10006b01
push 4
lea edx, [esp + 0x7f4]
push str.PCI_
push edx
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x10006b01
lea eax, [esp + 0x1ec]
lea ecx, [esp + 0x2ec]
push eax
push str._sLinkage
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x2ec]
push edx
push 0x2001b
push 0
push eax
push reloc.WS2_32.dll_bind
call ebp
test eax, eax
jne 0x10006b0c
mov ecx, 0xff
lea edi, [esp + 0x3f1]
mov byte [esp + 0x3f0], al
mov edx, dword [0x100388c0]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, 1
mov dword [esp + 0x2c], 7
cmp edx, esi
mov dword [esp + 0x14], 0x400
stosb byte es:[edi], al
je 0x10006888
cmp edx, 2
je 0x10006888
cmp edx, 4
je 0x10006868
cmp edx, 6
jne 0x100068ae
lea ecx, [esp + 0x14]
lea edx, [esp + 0x3f0]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push edx
push eax
push 0
push str.FilterList
push ecx
jmp 0x100068a6
lea edx, [esp + 0x14]
lea eax, [esp + 0x3f0]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x30]
push eax
push ecx
push 0
push str.UpperBind
push edx
call ebx
mov edx, dword [0x100388c0]
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x3c]
cmp edx, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
jne 0x10006954
lea eax, [esp + 0x3f0]
push str.Tcpip
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
jne 0x1000694e
push eax
push eax
push str.Tcpip
push eax
push str.Ndisuio
lea ecx, [esp + 0x50]
push str._s_c_s_c_c
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x2c]
add esp, 0x1c
lea edx, [esp + 0x3c]
push 0xf
push edx
push 7
push 0
push str.UpperBind
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x7f0]
push edx
push esi
call fcn.10006320
lea eax, [esp + 0x7f8]
push eax
push 0
call fcn.10006320
add esp, 0x10
mov dword [esp + 0x18], esi
jmp 0x10006b0c
mov edx, dword [0x100388c0]
cmp edx, 2
jne 0x10006a3c
lea ecx, [esp + 0x3f0]
push str.PSched
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
mov eax, dword [esp + 0x24]
je 0x10006985
test eax, eax
je 0x10006a36
jmp 0x10006989
test eax, eax
je 0x100069b3
push 0
push 0
push str.Tcpip
push 0
push str.RasPppoe
lea edx, [esp + 0x50]
push str._s_c_s_c_c
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
mov eax, 0x10
jmp 0x100069db
push 0
push 0
push str.Tcpip
push 0
push str.PSched
lea eax, [esp + 0x50]
push str._s_c_s_c_c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
mov eax, 0xe
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x3c]
push eax
push ecx
push 7
push 0
push str.UpperBind
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.10006500
test eax, eax
jne 0x10006b0c
lea ecx, [esp + 0x7f0]
push ecx
push esi
call fcn.10006320
lea edx, [esp + 0x7f8]
push edx
push 0
call fcn.10006320
add esp, 0x10
mov dword [esp + 0x18], esi
jmp 0x10006b0c
mov edx, dword [0x100388c0]
cmp edx, 4
je 0x10006a4a
cmp edx, 6
jne 0x10006afa
cmp dword [esp + 0x14], 0x54
jbe 0x10006afa
lea ebx, [esp + 0x3f0]
lea ebp, [esp + 0x417]
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x70]
mov esi, ebp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 9
lea edi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x70]
push eax
movsw word es:[edi], word [esi]
call fcn.100065d0
mov eax, dword [esp + 0x18]
add esp, 4
sub eax, 0x53
add ebx, 0x53
add ebp, 0x53
cmp eax, 0x54
mov dword [esp + 0x14], eax
ja 0x10006a63
mov ecx, dword [esp + 0x10]
push eax
push ebx
push 7
push 0
push str.FilterList
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.10006500
test eax, eax
jne 0x10006b0c
lea eax, [esp + 0x7f0]
push eax
push 1
call fcn.10006320
lea ecx, [esp + 0x7f8]
push ecx
push 0
call fcn.10006320
add esp, 0x10
mov dword [esp + 0x18], 1
jmp 0x10006b0c
mov edx, dword [esp + 0x10]
push edx
jmp 0x10006b06
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
inc edx
cmp edx, eax
mov dword [esp + 0x30], edx
jb 0x100066f7
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xbe0
ret