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

Disassembly:
push 0xffffffffffffffff
push 0xf0f9be
mov eax, dword fs:[0]
push eax
sub esp, 0x8ec
mov eax, dword [0xf387a0]
xor eax, esp
mov dword [esp + 0x8e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xf387a0]
xor eax, esp
push eax
lea eax, [esp + 0x900]
mov dword fs:[0], eax
mov eax, dword [esp + 0x910]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x914]
add eax, 4
mov esi, eax
mov edi, ecx
mov dword [esp + 0x40], eax
call fcn.00ea5900
lea esi, [edi + 4]
mov dword [esp + 0x34], esi
call fcn.00ea5900
lea ecx, [esp + 0xec]
push ecx
mov ecx, str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318
mov dword [esp + 0x2c], 0x80000002
call fcn.00ea23b0
xor ebp, ebp
mov dword [esp + 0x908], ebp
mov eax, dword [0xf3bc40]
mov esi, vtable.LString.0
mov edi, 7
xor edx, edx
mov dword [esp + 0xcc], esi
mov dword [esp + 0xe8], edi
mov dword [esp + 0xe4], ebp
mov word [esp + 0xd4], dx
inc eax
xor ecx, ecx
inc eax
mov dword [esp + 0x30], 0x100
mov dword [esp + 0x10c], esi
mov dword [esp + 0x128], edi
mov dword [esp + 0x124], ebp
mov word [esp + 0x114], cx
mov dword [0xf3bc40], eax
mov byte [esp + 0x908], 2
mov eax, dword [esp + 0xf4]
mov ebx, 8
mov dword [esp + 0x1c], 0x3e8
cmp dword [esp + 0x108], ebx
jae 0xe9bf64
lea eax, [esp + 0xf4]
lea edx, [esp + 0x28]
push edx
push 0x20019
push ebp
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0xe9c436
mov dword [esp + 0x2c], ebp
lea eax, [esp + 0xc4]
push eax
mov eax, dword [esp + 0x30]
push ebp
push ebp
push ebp
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x528]
push edx
push eax
push ecx
mov dword [esp + 0x50], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [esp + 0x3c], eax
cmp eax, ebp
jne 0xe9c22d
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x518]
call fcn.00ea23b0
lea eax, [esp + 0x84]
push eax
mov ecx, 0xf2cd9c
mov byte [esp + 0x90c], 3
call fcn.00ea2270
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0xf0]
lea edi, [esp + 0x68]
mov byte [esp + 0x90c], 4
call fcn.00ea57b0
add esp, 4
lea edx, [esp + 0x44]
push edx
mov ecx, eax
lea edi, [esp + 0xa8]
mov byte [esp + 0x90c], 5
call fcn.00ea57b0
add esp, 4
push 0xffffffffffffffff
push ebp
add eax, 4
push eax
lea ecx, [esp + 0xdc]
mov byte [esp + 0x914], 6
call fcn.00e51940
dec dword [0xf3bc40]
mov dword [esp + 0xa4], esi
cmp dword [esp + 0xc0], ebx
jb 0xe9c070
mov eax, dword [esp + 0xac]
push eax
call fcn.00eb98f8
add esp, 4
dec dword [0xf3bc40]
xor ecx, ecx
mov edi, 7
mov dword [esp + 0xc0], edi
mov dword [esp + 0xbc], ebp
mov word [esp + 0xac], cx
mov dword [esp + 0x64], esi
cmp dword [esp + 0x80], ebx
jb 0xe9c0ad
mov edx, dword [esp + 0x6c]
push edx
call fcn.00eb98f8
add esp, 4
dec dword [0xf3bc40]
xor eax, eax
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebp
mov word [esp + 0x6c], ax
mov dword [esp + 0x84], esi
cmp dword [esp + 0xa0], ebx
jb 0xe9c0e5
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.00eb98f8
add esp, 4
mov byte [esp + 0x908], 2
dec dword [0xf3bc40]
xor edx, edx
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], ebp
mov word [esp + 0x8c], dx
mov dword [esp + 0x44], esi
cmp dword [esp + 0x60], ebx
jb 0xe9c122
mov eax, dword [esp + 0x4c]
push eax
call fcn.00eb98f8
add esp, 4
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x20], 0x80000002
cmp dword [esp + 0xe8], ebx
jae 0xe9c141
lea eax, [esp + 0xd4]
lea ecx, [esp + 0x20]
push ecx
push 0x20019
push ebp
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0xe9c22d
push 0x3e8
lea edx, [esp + 0x130]
push ebp
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x28], 0x3e8
call fcn.00ec1460
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x130]
push ecx
lea edx, [esp + 0x2c]
push edx
push ebp
push str.NetCfgInstanceId
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x130]
call fcn.00ea23b0
mov eax, dword [esp + 0x38]
mov byte [esp + 0x908], 7
mov edi, dword [eax + 0x18]
cmp dword [eax + 0x1c], ebx
jb 0xe9c1d3
mov eax, dword [eax + 8]
jmp 0xe9c1d6
add eax, 8
push eax
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x6c]
call fcn.00e5bd60
test eax, eax
mov byte [esp + 0x908], 2
sete byte [esp + 0x1b]
mov edi, 1
sub dword [0xf3bc40], edi
mov dword [esp + 0x64], esi
cmp dword [esp + 0x80], ebx
jb 0xe9c21b
mov edx, dword [esp + 0x6c]
push edx
call fcn.00eb98f8
add esp, 4
cmp byte [esp + 0x1b], 0
jne 0xe9c28f
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 1
add dword [esp + 0x2c], edi
cmp dword [esp + 0x3c], ebp
je 0xe9bf87
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0xf3bc40]
sub eax, edi
sub eax, edi
mov dword [esp + 0xcc], esi
mov dword [0xf3bc40], eax
cmp dword [esp + 0xe8], ebx
jb 0xe9c279
mov edx, dword [esp + 0xd4]
push edx
call fcn.00eb98f8
add esp, 4
sub dword [0xf3bc40], edi
mov dword [esp + 0xe8], 7
jmp 0xe9c46f
push 0x3e8
lea ecx, [esp + 0x130]
push ebp
push ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], 0x3e8
call fcn.00ec1460
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x130]
push eax
lea ecx, [esp + 0x2c]
push ecx
push ebp
push str.DriverDesc
push edx
call edi
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x130]
call fcn.00ea23b0
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x914], bl
call fcn.00e51940
mov byte [esp + 0x908], 2
dec dword [0xf3bc40]
mov dword [esp + 0x44], esi
cmp dword [esp + 0x60], ebx
jb 0xe9c324
mov edx, dword [esp + 0x4c]
push edx
call fcn.00eb98f8
add esp, 4
push 0x3e8
lea eax, [esp + 0x130]
push ebp
push eax
mov dword [esp + 0x30], 1
mov dword [esp + 0x28], 0x3e8
call fcn.00ec1460
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x130]
push edx
lea eax, [esp + 0x2c]
push eax
push ebp
push str.ProviderName
push ecx
call edi
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x130]
call fcn.00ea23b0
mov ecx, dword [esp + 0x34]
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x914], 9
call fcn.00e51940
dec dword [0xf3bc40]
mov dword [esp + 0x44], esi
cmp dword [esp + 0x60], ebx
jb 0xe9c3b0
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.00eb98f8
add esp, 4
mov edx, dword [esp + 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call edi
mov eax, dword [esp + 0x28]
push eax
call edi
mov eax, dword [0xf3bc40]
dec eax
dec eax
mov dword [esp + 0xcc], esi
mov dword [0xf3bc40], eax
cmp dword [esp + 0xe8], ebx
jb 0xe9c3f0
mov ecx, dword [esp + 0xd4]
push ecx
call fcn.00eb98f8
add esp, 4
dec dword [0xf3bc40]
xor edx, edx
mov dword [esp + 0xe8], 7
mov dword [esp + 0xe4], ebp
mov word [esp + 0xd4], dx
mov dword [esp + 0xec], esi
cmp dword [esp + 0x108], ebx
jb 0xe9c432
mov eax, dword [esp + 0xf4]
push eax
call fcn.00eb98f8
add esp, 4
mov al, 1
jmp 0xe9c4a2
mov eax, dword [0xf3bc40]
dec eax
dec eax
mov dword [esp + 0xcc], esi
mov dword [0xf3bc40], eax
cmp dword [esp + 0xe8], ebx
jb 0xe9c462
mov edx, dword [esp + 0xd4]
push edx
call fcn.00eb98f8
add esp, 4
dec dword [0xf3bc40]
mov dword [esp + 0xe8], edi
xor eax, eax
mov dword [esp + 0xec], esi
mov word [esp + 0xd4], ax
mov dword [esp + 0xe4], ebp
cmp dword [esp + 0x108], ebx
jb 0xe9c4a0
mov ecx, dword [esp + 0xf4]
push ecx
call fcn.00eb98f8
add esp, 4
xor al, al
mov ecx, dword [esp + 0x900]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8e8]
xor ecx, esp
call fcn.00eb9637
add esp, 0x8f8
ret