Function at 0x4260c0
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x468bf6
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x47e378]
xor eax, esp
mov dword [esp + 0x13c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47e378]
xor eax, esp
push eax
lea eax, [esp + 0x154]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x164]
xor ebx, ebx
mov esi, ecx
mov eax, 0xf
mov dword [esi], vtable.CInfHandle.0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov dword [esp + 0x15c], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
push 0x104
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x164], 1
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x4c]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x426150
sub eax, edx
push eax
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x38]
call fcn.00401860
push 5
push str.Inf_
lea ecx, [esp + 0x38]
call fcn.00401aa0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x20]
call fcn.00401780
mov eax, ebp
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x426190
sub eax, edi
push eax
push ebp
lea ecx, [esp + 0x1c]
call fcn.00401aa0
push str.setupapi.dll
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [esi + 4], eax
je 0x42626c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetupFindNextMatchLineA
push eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
push str.SetupGetTargetPathA
push eax
call edi
mov ecx, dword [esi + 4]
push str.SetupFindNextLine
push ecx
mov dword [esi + 0x14], eax
call edi
mov edx, dword [esi + 4]
push str.SetupGetLineTextA
push edx
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 4]
push str.SetupFindFirstLineA
push eax
call edi
mov ecx, dword [esi + 4]
push str.SetupOpenInfFileA
push ecx
mov dword [esi + 0x20], eax
call edi
mov edx, dword [esi + 4]
push str.SetupCloseInfFile
push edx
mov dword [esi + 0x24], eax
call edi
cmp dword [esi + 0x10], ebx
mov dword [esi + 0x28], eax
je 0x42625f
cmp dword [esi + 0x14], ebx
je 0x42625f
cmp dword [esi + 0x18], ebx
je 0x42625f
cmp dword [esi + 0x1c], ebx
je 0x42625f
cmp dword [esi + 0x20], ebx
je 0x42625f
cmp dword [esi + 0x24], ebx
je 0x42625f
cmp eax, ebx
jne 0x42626c
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 4], ebx
cmp dword [esi + 4], ebx
mov edi, 0x10
je 0x42630d
cmp dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x18]
jae 0x426288
lea ecx, [esp + 0x18]
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x42629b
lea edx, [esi + 8]
push edx
push 2
push ebx
push ecx
call eax
jmp 0x42629e
or eax, 0xffffffff
cmp eax, 0xffffffff
mov dword [esi + 0xc], eax
jne 0x42630d
push 6
push str.Other_
lea ecx, [esp + 0x38]
call fcn.00401aa0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x20]
call fcn.00401780
mov eax, ebp
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4262d0
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x1c]
call fcn.00401aa0
cmp dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x18]
jae 0x4262f4
lea ecx, [esp + 0x18]
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x426307
lea edx, [esi + 8]
push edx
push 2
push ebx
push ecx
call eax
jmp 0x42630a
or eax, 0xffffffff
mov dword [esi + 0xc], eax
cmp dword [esp + 0x48], edi
jb 0x426320
mov eax, dword [esp + 0x34]
push eax
call fcn.0045389c
add esp, 4
cmp dword [esp + 0x2c], edi
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
jb 0x426343
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0045389c
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x154]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.00454162
add esp, 0x14c
ret 4