Function at 0x4077f0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x425a41
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28c
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x4c]
call fcn.0041969c
mov esi, dword [esp + 0x2ac]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x9c]
push eax
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x48]
push edx
push eax
mov ebx, 0x100
push str.Driver
push esi
mov dword [esp + 0x2bc], 0
mov dword [esp + 0x2c], ebx
call ebp
test eax, eax
jne 0x407893
lea ecx, [esp + 0x9c]
push ecx
lea ecx, [esp + 0x20]
call fcn.00419855
lea ecx, [edi + 0x34]
push eax
mov byte [esp + 0x2a8], 1
call fcn.004198e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a4], 0
call fcn.004197e7
jmp 0x40789b
lea ecx, [edi + 0x34]
call fcn.00419772
lea edx, [esp + 0x28]
mov dword [esp + 0x20], ebx
push edx
push 0x20019
push 0
push str.Bindings
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call esi
test eax, eax
jne 0x407bb4
mov edx, dword [esp + 0x28]
push eax
push eax
push eax
push eax
lea eax, [esp + 0x30]
lea ecx, [esp + 0x1ac]
push eax
push ecx
push 0
push edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], 1
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x407ba9
lea ebx, [edi + 0x6c]
lea eax, [esp + 0x19c]
lea ecx, [esp + 0x58]
push eax
call fcn.00419855
mov ecx, dword [eax]
mov edx, dword [ebx + 8]
push ecx
push edx
mov ecx, ebx
mov byte [esp + 0x2ac], 2
call fcn.00418056
lea ecx, [esp + 0x58]
mov byte [esp + 0x2a4], 0
call fcn.004197e7
lea eax, [esp + 0x19c]
lea ecx, [esp + 0x2c]
push eax
call fcn.00419855
push str.MSTCP
lea ecx, [esp + 0x30]
mov byte [esp + 0x2a8], 3
call fcn.00417af0
cmp eax, 0xffffffff
je 0x407b64
lea ecx, [esp + 0x24]
call fcn.0041969c
push str.EnumNetwork_
lea ecx, [esp + 0x58]
mov byte [esp + 0x2a8], 4
call fcn.00419855
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x48]
push ecx
push eax
push edx
mov byte [esp + 0x2b0], 5
call fcn.004199d8
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x2a8], 6
call fcn.004198e0
lea ecx, [esp + 0x48]
mov byte [esp + 0x2a4], 5
call fcn.004197e7
lea ecx, [esp + 0x54]
mov byte [esp + 0x2a4], 4
call fcn.004197e7
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x44]
push eax
push 0x20019
push 0
push ecx
push 0x80000002
call esi
test eax, eax
jne 0x407b53
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x14]
lea eax, [esp + 0x9c]
push edx
push eax
push 0
push 0
push str.Driver
push ecx
mov dword [esp + 0x2c], 0x100
call ebp
test eax, eax
jne 0x407b48
lea edx, [esp + 0x9c]
lea ecx, [esp + 0x50]
push edx
call fcn.00419855
push eax
lea eax, [esp + 0x40]
push str.SystemCurrentControlSetServicesClass_
push eax
mov byte [esp + 0x2b0], 7
call fcn.00419ab2
lea ecx, [esp + 0x50]
mov byte [esp + 0x2a4], 9
call fcn.004197e7
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x34]
push ecx
push 0x20019
push 0
push edx
push 0x80000002
call esi
test eax, eax
jne 0x407b37
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x9c]
push eax
push ecx
push 0
push 0
push str.IPAddress
push edx
mov dword [esp + 0x2c], 0x100
call ebp
test eax, eax
jne 0x407ace
lea eax, [esp + 0x9c]
lea ecx, [esp + 0x18]
push eax
call fcn.00419855
push eax
lea ecx, [edi + 0x68]
mov byte [esp + 0x2a8], 0xa
call fcn.004198e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2a4], 9
call fcn.004197e7
jmp 0x407b2c
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x9c]
push ecx
push edx
push 0
push 0
push str.DHCPIPAddress
push eax
call ebp
test eax, eax
jne 0x407b24
lea ecx, [esp + 0x9c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00419855
push eax
lea ecx, [edi + 0x68]
mov byte [esp + 0x2a8], 0xb
call fcn.004198e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x2a4], 9
call fcn.004197e7
jmp 0x407b2c
lea ecx, [edi + 0x68]
call fcn.00419772
mov edx, dword [esp + 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2a4], 4
call fcn.004197e7
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x24]
mov byte [esp + 0x2a4], 3
call fcn.004197e7
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2a4], 0
call fcn.004197e7
mov ecx, dword [esp + 0x1c]
push 0
mov eax, ecx
inc ecx
mov dword [esp + 0x20], ecx
push 0
push 0
lea ecx, [esp + 0x2c]
push 0
lea edx, [esp + 0x1ac]
push ecx
push edx
push eax
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x4078f6
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [edi + 0x34]
lea edx, [esp + 0x10]
push eax
push str.SystemCurrentControlSetServicesClass_
push edx
call fcn.00419ab2
mov edx, dword [eax]
lea ecx, [esp + 0x30]
push ecx
push 0x20019
push 0
push edx
push 0x80000002
mov byte [esp + 0x2b8], 0xc
call esi
mov ebx, eax
lea ecx, [esp + 0x10]
neg ebx
sbb ebx, ebx
mov byte [esp + 0x2a4], 0
inc ebx
call fcn.004197e7
test bl, bl
je 0x407dc1
lea eax, [esp + 0x14]
lea ecx, [esp + 0x9c]
push eax
lea edx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x48]
push edx
push eax
push str.DeviceVxDs
push ecx
mov dword [esp + 0x2c], 0x100
call ebp
test eax, eax
jne 0x407c67
lea edx, [esp + 0x9c]
lea ecx, [esp + 0x10]
push edx
call fcn.00419855
push eax
lea ecx, [edi + 0x48]
mov byte [esp + 0x2a8], 0xd
call fcn.004198e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x2a4], 0
call fcn.004197e7
lea ecx, [esp + 0x5c]
call fcn.00409bc0
lea eax, [edi + 0x5c0]
push 0x42e650
lea ecx, [esp + 0x1c]
mov bl, 0xe
push eax
push ecx
mov byte [esp + 0x2b0], bl
call fcn.00419a3e
lea edx, [edi + 0x48]
mov byte [esp + 0x2a4], 0xf
push edx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004199d8
mov ecx, dword [eax]
mov byte [esp + 0x2a4], 0x10
push ecx
lea ecx, [esp + 0x60]
call fcn.00409c10
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x2a4], 0xf
call fcn.004197e7
lea ecx, [esp + 0x18]
mov byte [esp + 0x2a4], bl
call fcn.004197e7
test esi, esi
je 0x407d3c
push str.FileVersion
lea ecx, [esp + 0x1c]
call fcn.00419855
mov edx, dword [eax]
lea eax, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x2ac], 0x11
call fcn.00409d30
push eax
lea ecx, [edi + 0x5c]
mov byte [esp + 0x2a8], 0x12
call fcn.004198e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x2a4], 0x11
call fcn.004197e7
lea ecx, [esp + 0x18]
mov byte [esp + 0x2a4], bl
call fcn.004197e7
jmp 0x407d44
lea ecx, [edi + 0x5c]
call fcn.00419772
lea ecx, [esp + 0x14]
lea edx, [esp + 0x9c]
push ecx
lea eax, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x48]
push eax
push ecx
push str.InfPath
push edx
mov dword [esp + 0x2c], 0x100
call ebp
test eax, eax
jne 0x407da5
lea eax, [esp + 0x9c]
lea ecx, [esp + 0x10]
push eax
call fcn.00419855
push eax
lea ecx, [edi + 0x4c]
mov byte [esp + 0x2a8], 0x13
call fcn.004198e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x2a4], bl
call fcn.004197e7
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2a4], 0
call fcn.00409bf0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x2a4], 0xffffffff
call fcn.004197e7
mov ecx, dword [esp + 0x29c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x298
ret 4