Function at 0x402fa0
Capabilities:
Get common file path
Get installed programs
Query or enumerate registry key
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x453b21
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x35c
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x380]
lea ecx, [esp + 0x168]
push eax
push str.CINIFile_::_ChangeFriendlyName_ENTRY_:_csCurrentDriverDesc___s_n
push ecx
mov dword [esp + 0x380], 2
call fcn.0043a4a0
add esp, 0xc
mov ecx, 0x475b68
call fcn.0042f5e0
lea edx, [esp + 0x168]
mov ecx, 0x475b68
push edx
call fcn.0042f820
mov eax, dword [esp + 0x384]
lea ecx, [esp + 0x168]
push eax
push str.csNewDriverDesc___s_n
push ecx
call fcn.0043a4a0
add esp, 0xc
lea edx, [esp + 0x168]
mov ecx, 0x475b68
push edx
call fcn.0042f820
mov eax, dword [0x471df4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x268]
mov bl, 0xc
push 0x104
push eax
mov byte [esp + 0x37c], bl
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.ModemLog_
lea ecx, [esp + 0x14]
call fcn.0044a442
mov esi, eax
lea ecx, [esp + 0x268]
mov byte [esp + 0x374], 0xd
push ecx
lea ecx, [esp + 0x24]
call fcn.0044a442
push esi
lea edx, [esp + 0x2c]
push eax
push edx
mov byte [esp + 0x380], 0xe
call fcn.0044a5b7
lea ecx, [esp + 0x384]
mov byte [esp + 0x374], 0xf
push ecx
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x378], 0x10
call fcn.0044a4c1
lea ecx, [esp + 0x24]
mov byte [esp + 0x374], 0xf
call fcn.0044a3d4
lea ecx, [esp + 0x28]
mov byte [esp + 0x374], 0xe
call fcn.0044a3d4
lea ecx, [esp + 0x20]
mov byte [esp + 0x374], 0xd
call fcn.0044a3d4
lea ecx, [esp + 0x10]
mov byte [esp + 0x374], bl
call fcn.0044a3d4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x37c]
push 0
push eax
push str.LoggingPath
push ecx
push 0x80000002
call fcn.004301e0
mov eax, dword [esp + 0x390]
lea edx, [esp + 0x78]
push 0x104
push edx
push str.Manufacturer
push eax
push 0x80000002
call fcn.00430370
add esp, 0x28
test eax, eax
jne 0x403403
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x28]
call fcn.0044a442
mov esi, eax
push 0x46a660
lea ecx, [esp + 0x2c]
mov byte [esp + 0x378], 0x11
call fcn.0044a442
push eax
lea edx, [esp + 0x388]
lea eax, [esp + 0x24]
push edx
push eax
mov byte [esp + 0x380], 0x12
call fcn.0044a5b7
push esi
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x380], 0x13
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x378], 0x14
call fcn.0044a4c1
lea ecx, [esp + 0x10]
mov byte [esp + 0x374], 0x13
call fcn.0044a3d4
lea ecx, [esp + 0x20]
mov byte [esp + 0x374], 0x12
call fcn.0044a3d4
lea ecx, [esp + 0x28]
mov byte [esp + 0x374], 0x11
call fcn.0044a3d4
lea ecx, [esp + 0x24]
mov byte [esp + 0x374], bl
call fcn.0044a3d4
mov eax, dword [esp + 0x37c]
lea edx, [esp + 0x64]
push 0x104
push edx
push str.ProviderName
push eax
push 0x80000002
call fcn.00430370
add esp, 0x14
test eax, eax
jne 0x403403
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x28]
call fcn.0044a442
mov esi, eax
push 0x46a660
lea ecx, [esp + 0x2c]
mov byte [esp + 0x378], 0x15
call fcn.0044a442
push eax
lea edx, [esp + 0x1c]
lea eax, [esp + 0x24]
push edx
push eax
mov byte [esp + 0x380], 0x16
call fcn.0044a5b7
push esi
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x380], 0x17
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x378], 0x18
call fcn.0044a4c1
lea ecx, [esp + 0x10]
mov byte [esp + 0x374], 0x17
call fcn.0044a3d4
lea ecx, [esp + 0x20]
mov byte [esp + 0x374], 0x16
call fcn.0044a3d4
lea ecx, [esp + 0x28]
mov byte [esp + 0x374], 0x15
call fcn.0044a3d4
lea ecx, [esp + 0x24]
mov byte [esp + 0x374], bl
call fcn.0044a3d4
mov eax, dword [esp + 0x37c]
lea edx, [esp + 0x64]
push 0x104
push edx
push str.ResponsesKeyName
push eax
push 0x80000002
call fcn.00430370
add esp, 0x14
test eax, eax
jne 0x403403
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x37c]
push eax
push ecx
push str.ResponsesKeyName
push edx
push 0x80000002
call fcn.004301e0
add esp, 0x14
lea eax, [esp + 0x64]
lea ecx, [esp + 0x20]
push eax
call fcn.0044a442
push eax
lea ecx, [esp + 0x14]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUnimodemDeviceSpecific_
push ecx
mov byte [esp + 0x380], 0x19
call fcn.0044a691
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x378], 0x1a
call fcn.0044a4c1
lea ecx, [esp + 0x10]
mov byte [esp + 0x374], 0x19
call fcn.0044a3d4
lea ecx, [esp + 0x20]
mov byte [esp + 0x374], bl
call fcn.0044a3d4
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUnimodemDeviceSpecific_
push eax
call fcn.0044a691
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x378], 0x1b
call fcn.0044a4c1
lea ecx, [esp + 0x10]
mov byte [esp + 0x374], bl
call fcn.0044a3d4
push ecx
lea edx, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.0044a149
push ecx
lea eax, [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x380], 0x1c
call fcn.0044a149
mov byte [esp + 0x37c], bl
call fcn.00431530
add esp, 8
push str.SystemCurrentControlSetEnum_
lea ecx, [esp + 0x54]
call fcn.0044a511
lea ecx, [esp + 0x50]
push 0x46a14c
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.0044a61d
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x378], 0x1d
call fcn.0044a4c1
lea ecx, [esp + 0x10]
mov byte [esp + 0x374], bl
call fcn.0044a3d4
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403719
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x64]
xor ebp, ebp
push 0x104
push edx
push ebp
push eax
mov dword [esp + 0x34], 1
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x40370e
test ebp, ebp
jne 0x40370e
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x64]
call fcn.0044a442
mov esi, eax
push 0x46a404
lea ecx, [esp + 0x2c]
mov byte [esp + 0x378], 0x1e
call fcn.0044a442
push eax
lea edx, [esp + 0x48]
lea eax, [esp + 0x24]
push edx
push eax
mov byte [esp + 0x380], 0x1f
call fcn.0044a5b7
push esi
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x380], 0x20
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x378], 0x21
call fcn.0044a4c1
lea ecx, [esp + 0x10]
mov byte [esp + 0x374], 0x20
call fcn.0044a3d4
lea ecx, [esp + 0x20]
mov byte [esp + 0x374], 0x1f
call fcn.0044a3d4
lea ecx, [esp + 0x28]
mov byte [esp + 0x374], 0x1e
call fcn.0044a3d4
lea ecx, [esp + 0x60]
mov byte [esp + 0x374], bl
call fcn.0044a3d4
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x4c]
push edx
push 0x20019
push ebp
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4036e5
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x64]
push 0x104
push ecx
push eax
push edx
mov edi, 1
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x4036da
test ebp, ebp
jne 0x4036da
lea eax, [esp + 0x64]
lea ecx, [esp + 0x30]
push eax
call fcn.0044a442
mov esi, eax
push 0x46a404
lea ecx, [esp + 0x38]
mov byte [esp + 0x378], 0x22
call fcn.0044a442
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x40]
push ecx
push edx
mov byte [esp + 0x380], 0x23
call fcn.0044a5b7
push esi
push eax
lea eax, [esp + 0x40]
mov byte [esp + 0x37c], 0x24
push eax
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x378], 0x25
call fcn.0044a4c1
lea ecx, [esp + 0x38]
mov byte [esp + 0x374], 0x24
call fcn.0044a3d4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x374], 0x23
call fcn.0044a3d4
lea ecx, [esp + 0x34]
mov byte [esp + 0x374], 0x22
call fcn.0044a3d4
lea ecx, [esp + 0x30]
mov byte [esp + 0x374], bl
call fcn.0044a3d4
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x64]
push 0x104
push ecx
push str.DeviceDesc
push edx
push 0x80000002
call fcn.00430370
add esp, 0x14
test eax, eax
jne 0x4036b9
mov ecx, dword [esp + 0x380]
lea eax, [esp + 0x64]
push eax
push ecx
call fcn.0043aac0
add esp, 8
test eax, eax
jne 0x4036b9
mov edx, dword [esp + 0x384]
mov eax, dword [esp + 0x40]
push 1
push edx
push str.DeviceDesc
push eax
push 0x80000002
call fcn.004301e0
mov ecx, dword [esp + 0x398]
mov edx, dword [esp + 0x54]
push 1
push ecx
push str.FriendlyName
push edx
push 0x80000002
call fcn.004301e0
add esp, 0x28
mov ebp, 1
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x64]
mov eax, edi
push 0x104
push ecx
push eax
push edx
inc edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x403588
mov eax, dword [esp + 0x4c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov eax, ecx
inc ecx
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x64]
push 0x104
push ecx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x403493
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SOFTWAREMicrosoftRasTapi_DevicesUnimodem
lea ecx, [esp + 0x1c]
call fcn.0044a511
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x64]
push 0x104
push ecx
push str.Friendly_Name
push edx
push 0x80000002
call fcn.00430370
add esp, 0x14
test eax, eax
jne 0x403785
mov ecx, dword [esp + 0x380]
lea eax, [esp + 0x64]
push eax
push ecx
call fcn.0043aac0
add esp, 8
test eax, eax
jne 0x403785
mov edx, dword [esp + 0x384]
push eax
mov eax, dword [esp + 0x1c]
push edx
push str.Friendly_Name
push eax
push 0x80000002
call fcn.004301e0
add esp, 0x14
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea ecx, [esp + 0x30]
call fcn.0044a511
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x1c]
push ecx
push 0x20019
push 0
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40390d
mov ecx, dword [esp + 0x1c]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea eax, [esp + 0x64]
push 0x104
push eax
push 0
push ecx
mov edi, 1
call ebp
test eax, eax
jne 0x403902
lea edx, [esp + 0x64]
lea ecx, [esp + 0x38]
push edx
call fcn.0044a442
mov esi, eax
push 0x46a404
lea ecx, [esp + 0x40]
mov byte [esp + 0x378], 0x26
call fcn.0044a442
push eax
lea eax, [esp + 0x30]
lea ecx, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0x380], 0x27
call fcn.0044a5b7
push esi
lea edx, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x380], 0x28
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x378], 0x29
call fcn.0044a4c1
lea ecx, [esp + 0x30]
mov byte [esp + 0x374], 0x28
call fcn.0044a3d4
lea ecx, [esp + 0x34]
mov byte [esp + 0x374], 0x27
call fcn.0044a3d4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x374], 0x26
call fcn.0044a3d4
lea ecx, [esp + 0x38]
mov byte [esp + 0x374], bl
call fcn.0044a3d4
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x64]
push 0x104
push eax
push str.DisplayName
push ecx
push 0x80000002
call fcn.00430370
add esp, 0x14
test eax, eax
jne 0x4038c2
mov eax, dword [esp + 0x380]
lea edx, [esp + 0x64]
push edx
push eax
call fcn.0043aac0
add esp, 8
test eax, eax
je 0x4038e1
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x64]
mov eax, edi
push 0x104
push ecx
push eax
push edx
inc edi
call ebp
test eax, eax
je 0x4037dd
jmp 0x403902
mov eax, dword [esp + 0x384]
mov ecx, dword [esp + 0x14]
push 0
push eax
push str.DisplayName
push ecx
push 0x80000002
call fcn.004301e0
add esp, 0x14
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SYSTEMCurrentControlSetServices
lea ecx, [esp + 0x30]
call fcn.0044a511
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403ad0
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea edx, [esp + 0x64]
push 0x104
push edx
push eax
mov eax, dword [esp + 0x28]
push eax
mov edi, 1
call ebp
test eax, eax
jne 0x403ac5
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0044a442
mov esi, eax
push 0x46a404
lea ecx, [esp + 0x40]
mov byte [esp + 0x378], 0x2a
call fcn.0044a442
push eax
lea edx, [esp + 0x30]
lea eax, [esp + 0x38]
push edx
push eax
mov byte [esp + 0x380], 0x2b
call fcn.0044a5b7
push esi
lea ecx, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0x380], 0x2c
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x378], 0x2d
call fcn.0044a4c1
lea ecx, [esp + 0x30]
mov byte [esp + 0x374], 0x2c
call fcn.0044a3d4
lea ecx, [esp + 0x34]
mov byte [esp + 0x374], 0x2b
call fcn.0044a3d4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x374], 0x2a
call fcn.0044a3d4
lea ecx, [esp + 0x38]
mov byte [esp + 0x374], bl
call fcn.0044a3d4
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x64]
push 0x104
push edx
push str.DriverDesc
push eax
push 0x80000002
call fcn.00430370
add esp, 0x14
test eax, eax
jne 0x403a49
mov edx, dword [esp + 0x380]
lea ecx, [esp + 0x64]
push ecx
push edx
call fcn.0043aac0
add esp, 8
test eax, eax
je 0x403a68
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x64]
mov eax, edi
push 0x104
push ecx
push eax
push edx
inc edi
call ebp
test eax, eax
je 0x403964
jmp 0x403ac5
mov eax, dword [esp + 0x384]
mov ecx, dword [esp + 0x14]
push 0
push eax
push str.DriverDesc
push ecx
push 0x80000002
call fcn.004301e0
mov edx, dword [esp + 0x398]
mov eax, dword [esp + 0x28]
push 0
push edx
push str.FriendlyName
push eax
push 0x80000002
call fcn.004301e0
mov ecx, dword [esp + 0x3ac]
mov edx, dword [esp + 0x3c]
push 0
push ecx
push str.Model
push edx
push 0x80000002
call fcn.004301e0
add esp, 0x3c
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
lea ecx, [esp + 0x16c]
push str.CINIFile_::_ChangeFriendlyName_EXIT_:_bRetVal___d_n
push ecx
call fcn.0043a4a0
add esp, 0xc
lea edx, [esp + 0x168]
mov ecx, 0x475b68
push edx
call fcn.0042f820
mov ecx, 0x475b68
call fcn.0042f5f0
lea ecx, [esp + 0x40]
mov byte [esp + 0x374], 0xb
call fcn.0044a3d4
lea ecx, [esp + 0x14]
mov byte [esp + 0x374], 0xa
call fcn.0044a3d4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x374], 9
call fcn.0044a3d4
lea ecx, [esp + 0x44]
mov byte [esp + 0x374], 8
call fcn.0044a3d4
lea ecx, [esp + 0x58]
mov byte [esp + 0x374], 7
call fcn.0044a3d4
lea ecx, [esp + 0x50]
mov byte [esp + 0x374], 6
call fcn.0044a3d4
lea ecx, [esp + 0x54]
mov byte [esp + 0x374], 5
call fcn.0044a3d4
lea ecx, [esp + 0x48]
mov byte [esp + 0x374], 4
call fcn.0044a3d4
lea ecx, [esp + 0x5c]
mov byte [esp + 0x374], 3
call fcn.0044a3d4
lea ecx, [esp + 0x18]
mov byte [esp + 0x374], 2
call fcn.0044a3d4
lea ecx, [esp + 0x37c]
mov byte [esp + 0x374], 1
call fcn.0044a3d4
lea ecx, [esp + 0x380]
mov byte [esp + 0x374], 0
call fcn.0044a3d4
lea ecx, [esp + 0x384]
mov dword [esp + 0x374], 0xffffffff
call fcn.0044a3d4
mov ecx, dword [esp + 0x36c]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x368
ret 0xc