Function at 0x100156f0
Capabilities:
Get common file path
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1003b805
mov eax, dword fs:[0]
push eax
sub esp, 0x600
mov eax, dword [0x1004f450]
xor eax, esp
mov dword [esp + 0x5f8], eax
push ebx
push esi
push edi
mov eax, dword [0x1004f450]
xor eax, esp
push eax
lea eax, [esp + 0x610]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 0x1c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], ecx
test eax, eax
je 0x10015d7a
test ecx, ecx
je 0x10015d7a
test edx, edx
je 0x10015d7a
push str.DoGetInstalledInfNameEx_Start
call fcn.100269c0
mov eax, dword [esp + 0x34]
add esp, 4
push eax
push str.DriverName:_s
call fcn.100269c0
add esp, 8
lea ecx, [esp + 0x18c]
push ecx
call fcn.10011f50
xor eax, eax
mov dword [esp + 0x618], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea edx, [esp + 0x34]
push edx
mov edx, esi
mov ecx, ebx
mov byte [esp + 0x61c], 1
call fcn.100112f0
add esp, 4
call fcn.10027fe0
test byte [eax + 0x120], 1
je 0x10015865
push 0x104
lea eax, [esp + 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.infOther_
lea ecx, [esp + 0x400]
push 0x104
push ecx
call fcn.1002a7a8
xor eax, eax
add esp, 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea edx, [esp + 0x18]
push edx
mov edx, esi
lea ecx, [esp + 0x400]
mov byte [esp + 0x61c], 2
call fcn.100112f0
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, ebx
je 0x10015849
mov esi, eax
mov ecx, esi
lea edi, [esp + 0x34]
call fcn.10002e80
add esi, 0x1c
cmp esi, ebx
jne 0x10015833
mov eax, dword [esp + 0x18]
xor esi, esi
cmp eax, esi
je 0x10015867
mov edi, ebx
call fcn.10003140
mov eax, dword [esp + 0x18]
push eax
call fcn.10029653
add esp, 4
jmp 0x10015867
xor esi, esi
mov ebx, dword [esp + 0x34]
cmp ebx, dword [esp + 0x38]
jne 0x10015888
push str.aDestINFList_is_empty
call fcn.100269c0
add esp, 4
mov esi, 2
jmp 0x10015ce3
xor ecx, ecx
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], esi
mov word [esp + 0x78], cx
mov dword [esp + 0x14], ebx
jmp 0x100158b2
xor esi, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov byte [esp + 0x618], 4
cmp dword [ebx + 0x14], 8
jb 0x100158d0
mov ecx, dword [ebx]
jmp 0x100158d2
mov ecx, ebx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push eax
lea edi, [esp + 0x20]
call fcn.10011200
mov edi, dword [esp + 0x20]
add esp, 8
mov esi, eax
cmp edi, dword [esp + 0x1c]
je 0x10015bf0
mov ebx, edi
jmp 0x10015900
mov edi, 8
cmp dword [ebx + 0x14], edi
jb 0x1001590e
mov eax, dword [ebx]
jmp 0x10015910
mov eax, ebx
push eax
push str.Model:_s
call fcn.100269c0
add esp, 8
cmp dword [ebx + 0x14], edi
jb 0x10015927
mov eax, dword [ebx]
jmp 0x10015929
mov eax, ebx
mov ecx, dword [esp + 0x30]
push ecx
push eax
call fcn.10029a7f
add esp, 8
test eax, eax
jne 0x10015abb
xor edi, edi
xor edx, edx
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], edi
mov word [esp + 0x5c], dx
push 1
mov byte [esp + 0x61c], 5
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x58]
push eax
push esi
xor eax, eax
mov dword [esp + 0x60], 0x5c
call fcn.10008700
lea ecx, [esp + 0x5c]
cmp eax, 0xffffffff
jne 0x10015993
push ecx
mov eax, esi
call fcn.10001920
push eax
call fcn.10010a90
add esp, 8
jmp 0x1001599d
push edi
push esi
or eax, 0xffffffff
call fcn.10001820
cmp dword [esp + 0x70], 8
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x4c], edi
jae 0x100159b0
lea eax, [esp + 0x5c]
lea edx, [esp + 0x4c]
push edx
push 2
push edi
push eax
call dword [sym.imp.SETUPAPI.dll_SetupOpenInfFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10015ad5
lea eax, [esp + 0x94]
push eax
call fcn.1000ffd0
push edi
lea ecx, [esp + 0x98]
mov byte [esp + 0x61c], 6
call fcn.1000b900
mov esi, eax
test esi, esi
jne 0x10015a66
cmp dword [esp + 0x180], 8
mov eax, dword [esp + 0x16c]
jae 0x10015a0a
lea eax, [esp + 0x16c]
push eax
push str.Version_INF:_s
call fcn.100269c0
mov edi, dword [esp + 0x58]
push edi
push str.Version_Param:_s
call fcn.100269c0
mov eax, dword [esp + 0x17c]
add esp, 0x10
cmp dword [esp + 0x180], 8
jae 0x10015a3f
lea eax, [esp + 0x16c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10015aed
lea ecx, [esp + 0x94]
push ecx
mov byte [esp + 0x61c], 5
call fcn.100100e0
jmp 0x10015a94
push esi
push str.Version.GetData_Error:_d
call fcn.10026930
add esp, 8
lea ecx, [esp + 0x94]
push ecx
mov byte [esp + 0x61c], 5
call fcn.100100e0
test edi, edi
je 0x10015a94
push edi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
cmp dword [esp + 0x70], 8
jb 0x10015aa8
mov edx, dword [esp + 0x5c]
push edx
call fcn.10029653
add esp, 4
xor eax, eax
mov word [esp + 0x5c], ax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 7
add ebx, 0x1c
cmp ebx, dword [esp + 0x1c]
jne 0x10015900
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
jmp 0x10015c02
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.SetupOpenInfFile_Error:_d
call fcn.10026930
add esp, 8
jmp 0x10015a8d
mov eax, dword [esp + 0x5c]
mov ebx, 8
cmp dword [esp + 0x70], ebx
jae 0x10015b00
lea eax, [esp + 0x5c]
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10015ba7
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x88], 0
jne 0x10015b6d
push 0
lea edx, [esp + 0x60]
push edx
or eax, 0xffffffff
lea ecx, [esp + 0x80]
call fcn.10001820
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
jmp 0x10015ba7
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jns 0x10015ba7
push 0
lea ecx, [esp + 0x60]
push ecx
or eax, 0xffffffff
lea ecx, [esp + 0x80]
call fcn.10001820
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x94]
push ecx
mov byte [esp + 0x61c], 5
call fcn.100100e0
cmp dword [esp + 0x70], ebx
jb 0x10015bcf
mov edx, dword [esp + 0x5c]
push edx
call fcn.10029653
add esp, 4
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
jmp 0x10015c02
push str.DriverList_is_empty
call fcn.100269c0
add esp, 4
mov esi, 2
xor eax, eax
cmp edi, eax
je 0x10015c50
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x18], ebx
je 0x10015c3d
cmp dword [edi + 0x14], 8
jb 0x10015c23
mov eax, dword [edi]
push eax
call fcn.10029653
add esp, 4
xor ecx, ecx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], cx
add edi, 0x1c
cmp edi, ebx
jne 0x10015c12
mov edx, dword [esp + 0x18]
push edx
call fcn.10029653
mov ebx, dword [esp + 0x18]
add esp, 4
xor eax, eax
add ebx, 0x1c
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ebx
cmp ebx, dword [esp + 0x38]
jne 0x100158b0
mov eax, dword [esp + 0x88]
mov ecx, dword [ebp + 0x20]
inc eax
cmp ecx, eax
jb 0x10015cab
cmp dword [esp + 0x8c], 8
mov eax, dword [esp + 0x78]
jae 0x10015c8e
lea eax, [esp + 0x78]
mov edi, dword [esp + 0x58]
push eax
push ecx
push edi
call fcn.100296af
add esp, 0xc
push edi
push str.Installed_InfFile:_s
call fcn.100269c0
add esp, 8
cmp dword [esp + 0x8c], 8
jb 0x10015cc2
mov ecx, dword [esp + 0x78]
push ecx
call fcn.10029653
add esp, 4
mov ebx, dword [esp + 0x34]
xor edx, edx
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], 0
mov word [esp + 0x78], dx
push esi
push str.DoGetInstalledInfNameEx_End:_d
call fcn.100269c0
add esp, 8
test ebx, ebx
je 0x10015d0d
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov eax, ebx
call fcn.10003140
push ebx
call fcn.10029653
add esp, 4
lea ebx, [esp + 0x18c]
mov dword [esp + 0x618], 0xa
call fcn.10010cf0
lea eax, [esp + 0x304]
push eax
mov byte [esp + 0x61c], 9
call fcn.100100e0
lea ecx, [esp + 0x1f4]
push ecx
mov byte [esp + 0x61c], 8
call fcn.10010430
lea edx, [esp + 0x1bc]
push edx
mov byte [esp + 0x61c], 7
call fcn.100102b0
mov eax, ebx
push eax
mov dword [esp + 0x61c], 0xffffffff
call fcn.1000a430
mov eax, esi
jmp 0x10015d7f
mov eax, 0x57
mov ecx, dword [esp + 0x610]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5f8]
xor ecx, esp
call fcn.10028eba
mov esp, ebp
pop ebp
ret