Function at 0x4644f0
Capabilities:
Get common file path
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x487644
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x42c
mov eax, dword [0x4ce19c]
push esi
mov dword [esp + 0x42c], eax
push edi
lea eax, [esp + 0x20]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor esi, esi
test eax, eax
jne 0x464589
push ecx
mov ecx, esp
mov dword [esp + 0xc], esp
push str.runFilterInstall
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.GetTempPath
mov dword [esp + 0x448], esi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push esi
mov dword [esp + 0x448], 0xffffffff
call fcn.00458010
mov ecx, dword [0x4e3148]
push ecx
push str._s_temp
lea edx, [esp + 0x34]
push 0x208
push edx
call fcn.00403fa3
add esp, 0x1c
mov edi, dword [sym.imp.MSVCR71.dll_wcslen]
lea eax, [esp + 0x20]
push eax
call edi
add esp, 4
cmp word [esp + eax*2 + 0x1e], 0x5c
jne 0x4645b0
lea ecx, [esp + 0x20]
push ecx
call edi
add esp, 4
mov word [esp + eax*2 + 0x1e], si
lea edx, [esp + 8]
push edx
push 0x104
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x14], esi
call fcn.0040124c
cmp eax, esi
jl 0x4645e7
mov eax, dword [esp + 8]
push str.RRfiltinst
mov ecx, 0x104
sub ecx, eax
push ecx
lea edx, [esp + eax*2 + 0x28]
push edx
call fcn.0040120a
lea eax, [esp + 0x20]
push eax
call fcn.00459020
lea ecx, [esp + 0x24]
push esi
push ecx
call fcn.004592c0
lea edx, [esp + 0x2c]
push edx
call fcn.00463c10
lea eax, [esp + 0x30]
push eax
call fcn.00463d40
lea ecx, [esp + 0x34]
push ecx
call fcn.00463de0
add esp, 0x18
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov ecx, 0x4e3118
call fcn.004577f0
push 0x48b000
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push 0x48b000
lea ecx, [esp + 0x10]
mov dword [esp + 0x440], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
lea eax, [esp + 0x228]
push eax
push 0x104
mov byte [esp + 0x444], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [esp + 0x20]
push ecx
call edi
cmp dword [esp + 0x14], esi
je 0x464725
push str.InstallPath
push str.SOFTWARELenovoRescue_and_Recovery
call fcn.00459d90
push eax
lea edx, [esp + 0x1c]
push str._sinstfilt.exe
push edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
lea eax, [esp + 0x34]
push eax
push str.tvtfilter.inf
lea ecx, [esp + 0x28]
push str.install_filename__s__directory__s_
push ecx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0x24
push esi
push 1
push 0x48ae58
push esi
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push 0x20
push 1
push esi
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x464], 3
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x468], 4
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
jmp 0x464791
push str.tvtfilter.inf
lea eax, [esp + 0x10]
push str.setupapi_InstallHinfSection_DefaultInstall_132_._s
push eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0xc
push esi
push 1
push 0x48ae58
push esi
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push 0x20
push 1
push esi
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x464], 5
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.rundll32.exe
mov byte [esp + 0x468], 6
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
mov byte [esp + 0x464], 2
call fcn.00460ca0
add esp, 0x28
lea ecx, [esp + 0x228]
push ecx
call edi
lea edx, [esp + 0x20]
push edx
call fcn.00459020
add esp, 4
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x434]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x430]
call fcn.00475533
pop edi
pop esi
add esp, 0x438
ret