Function at 0x460240
Capabilities:
Check if file exists
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523e5e
mov eax, dword fs:[0]
push eax
sub esp, 0x4d4
mov eax, dword [0x580ca0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4cc], 0
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp + 8]
add ecx, 0x70
call fcn.0040b180
cmp eax, 2
jbe 0x4602fe
push 0x530314
push 2
mov ecx, dword [ebp + 8]
add ecx, 0x70
call fcn.0040b180
sub eax, 2
push eax
lea eax, [ebp - 0x4ac]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x70
call fcn.0040d8e0
mov dword [ebp - 0x4d0], eax
mov ecx, dword [ebp - 0x4d0]
mov dword [ebp - 0x4d4], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x4cc]
or edx, 1
mov dword [ebp - 0x4cc], edx
mov eax, dword [ebp - 0x4d4]
push eax
call fcn.0043bd00
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4602fe
mov dword [ebp - 0x4d8], 1
jmp 0x460308
mov dword [ebp - 0x4d8], 0
mov dl, byte [ebp - 0x4d8]
mov byte [ebp - 0x48d], dl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4cc]
and eax, 1
je 0x460338
and dword [ebp - 0x4cc], 0xfffffffe
lea ecx, [ebp - 0x4ac]
call fcn.00401320
movzx ecx, byte [ebp - 0x48d]
test ecx, ecx
je 0x4604b9
mov ecx, dword [ebp + 8]
add ecx, 0x38
call fcn.00401340
push eax
lea edx, [ebp - 0x440]
push edx
call fcn.00520fb0
add esp, 8
mov dword [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.004ba280
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [ebp + 8]
add ecx, 0x70
call fcn.00401340
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0
lea ecx, [ebp - 0x440]
call fcn.00402b70
push eax
lea edx, [ebp - 0x21c]
push edx
call fcn.0044d640
add esp, 0xc
xor eax, eax
mov word [ebp - 0x424], ax
push 0x206
push 0
lea ecx, [ebp - 0x422]
push ecx
call fcn.004ba280
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp + 8]
add ecx, 0x70
call fcn.00401340
push eax
lea ecx, [ebp - 0x424]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str..dll
lea edx, [ebp - 0x424]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4604a2
lea ecx, [ebp - 0x424]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0
je 0x460495
push str.Install_7z
mov edx, dword [ebp - 0x444]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
je 0x460495
call dword [ebp - 0x448]
movzx eax, al
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x444]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.00402c20
jmp 0x460824
push 0x530334
mov edx, dword [ebp + 0xc]
push edx
call fcn.00407390
add esp, 8
movzx eax, al
test eax, eax
jne 0x460505
push str.bdsrfdll
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00407390
add esp, 8
movzx edx, al
test edx, edx
jne 0x460505
push str.baidushurufadll
mov eax, dword [ebp + 0xc]
push eax
call fcn.00407390
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4606b3
mov ecx, dword [ebp + 8]
add ecx, 0x38
call fcn.00401340
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
je 0x4606ae
push str.CreateSetupObject
mov edx, dword [ebp - 0x44c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x454], eax
push str.DestroySetupObject
mov eax, dword [ebp - 0x44c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x454], 0
je 0x4606a1
cmp dword [ebp - 0x450], 0
je 0x4606a1
push 0
call dword [ebp - 0x454]
mov dword [ebp - 0x458], eax
lea ecx, [ebp - 0x47c]
call fcn.00462070
mov dword [ebp - 4], 2
push 0x530388
mov ecx, dword [ebp + 8]
add ecx, 0x8c
push ecx
push str._supply_id_:_
lea edx, [ebp - 0x4c8]
push edx
call fcn.004526f0
add esp, 0xc
mov dword [ebp - 0x4dc], eax
mov eax, dword [ebp - 0x4dc]
mov dword [ebp - 0x4e0], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x4e0]
push ecx
lea edx, [ebp - 0x474]
push edx
call fcn.0043bd20
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c8]
call fcn.00401320
cmp dword [ebp - 0x458], 0
je 0x460680
push 0
lea eax, [ebp - 0x47c]
push eax
mov ecx, dword [ebp - 0x458]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x458]
push eax
mov ecx, dword [edx]
call ecx
lea ecx, [ebp - 0x474]
call fcn.00401340
push eax
mov edx, dword [ebp - 0x458]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x458]
push ecx
mov edx, dword [eax + 4]
call edx
test eax, eax
jne 0x460673
push 0xffffffffffffffff
mov eax, dword [ebp - 0x458]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x458]
push edx
mov eax, dword [ecx + 0xc]
call eax
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x47c]
call fcn.0046d4b0
cmp eax, 2
jne 0x460673
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp - 0x458]
push ecx
call dword [ebp - 0x450]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x474]
call fcn.00401320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x47c]
call fcn.004620a0
mov edx, dword [ebp - 0x44c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x460824
push str.jzllqdll
mov eax, dword [ebp + 0xc]
push eax
call fcn.00407390
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x46072c
mov ecx, dword [ebp + 8]
add ecx, 0x38
call fcn.00401340
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x480], eax
cmp dword [ebp - 0x480], 0
je 0x46071a
push str.SetupJuZi
mov edx, dword [ebp - 0x480]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x484], eax
cmp dword [ebp - 0x484], 0
je 0x46071a
call dword [ebp - 0x484]
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x480]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x460824
push str.dzsdll
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00407390
add esp, 8
movzx edx, al
test edx, edx
je 0x4607a4
mov ecx, dword [ebp + 8]
add ecx, 0x38
call fcn.00401340
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x488], eax
cmp dword [ebp - 0x488], 0
je 0x460792
push str.SetupDaZhanShen
mov eax, dword [ebp - 0x488]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x48c], eax
cmp dword [ebp - 0x48c], 0
je 0x460792
call dword [ebp - 0x48c]
movzx ecx, al
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x488]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x460824
mov eax, dword [ebp + 8]
push eax
call fcn.0045fdc0
add esp, 4
test eax, eax
je 0x460824
mov ecx, dword [ebp + 8]
push ecx
call fcn.0045f8d0
add esp, 4
test eax, eax
jne 0x4607ee
push 0
mov ecx, dword [ebp + 8]
add ecx, 0xb0
call fcn.00401340
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x38
call fcn.00401340
push eax
call fcn.00453cf0
add esp, 0xc
mov dword [ebp - 0x10], eax
jmp 0x460824
mov edx, dword [ebp + 8]
push edx
call fcn.0045fb30
add esp, 4
test eax, eax
jne 0x460824
mov eax, dword [ebp + 8]
add eax, 0xb0
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x38
push ecx
mov ecx, 0x585bd8
call fcn.00401340
push eax
call fcn.00453d90
add esp, 0xc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ba1db
mov esp, ebp
pop ebp
ret