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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57969a
mov eax, dword fs:[0]
push eax
sub esp, 0x62c
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60c], 0
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp + 8]
add ecx, 0xe0
call fcn.0042a300
cmp eax, 2
jbe 0x4ed3c7
push 0x59bd54
push 2
mov ecx, dword [ebp + 8]
add ecx, 0xe0
call fcn.0042a300
sub eax, 2
push eax
lea eax, [ebp - 0x4ac]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xe0
call fcn.00419580
mov dword [ebp - 0x610], eax
mov ecx, dword [ebp - 0x610]
mov dword [ebp - 0x614], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x60c]
or edx, 1
mov dword [ebp - 0x60c], edx
mov eax, dword [ebp - 0x614]
push eax
call fcn.0042a090
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4ed3c7
mov dword [ebp - 0x618], 1
jmp 0x4ed3d1
mov dword [ebp - 0x618], 0
mov dl, byte [ebp - 0x618]
mov byte [ebp - 0x48d], dl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x60c]
and eax, 1
je 0x4ed401
and dword [ebp - 0x60c], 0xfffffffe
lea ecx, [ebp - 0x4ac]
call fcn.004017f0
movzx ecx, byte [ebp - 0x48d]
test ecx, ecx
je 0x4ed5ce
mov ecx, dword [ebp + 8]
add ecx, 0xa8
call fcn.00401830
push eax
lea edx, [ebp - 0x440]
push edx
call fcn.00569590
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.004b6500
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, 0xe0
call fcn.00401830
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 1
lea ecx, [ebp - 0x440]
call fcn.004048a0
push eax
lea edx, [ebp - 0x21c]
push edx
call fcn.00436bf0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x424], ax
push 0x206
push 0
lea ecx, [ebp - 0x422]
push ecx
call fcn.004b6500
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, 0xe0
call fcn.00401830
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 0x4ed574
lea ecx, [ebp - 0x424]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0
je 0x4ed567
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 0x4ed567
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]
lea edx, [ebp - 0x440]
push edx
call fcn.00569c50
add esp, 4
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x4c8]
call fcn.00401770
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c8]
push ecx
call fcn.00568e60
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c8]
call fcn.004017f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.00404950
jmp 0x4eda39
push 0x59bd74
mov edx, dword [ebp + 0xc]
push edx
call fcn.0040dc80
add esp, 8
movzx eax, al
test eax, eax
jne 0x4ed61a
push str.bdsrfdll
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0040dc80
add esp, 8
movzx edx, al
test edx, edx
jne 0x4ed61a
push str.baidushurufadll
mov eax, dword [ebp + 0xc]
push eax
call fcn.0040dc80
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4ed7cb
mov ecx, dword [ebp + 8]
add ecx, 0xa8
call fcn.00401830
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
je 0x4ed7c6
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 0x4ed7b9
cmp dword [ebp - 0x450], 0
je 0x4ed7b9
push 0
call dword [ebp - 0x454]
mov dword [ebp - 0x458], eax
lea ecx, [ebp - 0x47c]
call fcn.004eda60
mov dword [ebp - 4], 3
push 0x59bdc8
mov ecx, dword [ebp + 8]
add ecx, 0xfc
push ecx
push str._supply_id_:_
lea edx, [ebp - 0x4e4]
push edx
call fcn.0043d430
add esp, 0xc
mov dword [ebp - 0x61c], eax
mov eax, dword [ebp - 0x61c]
mov dword [ebp - 0x620], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x620]
push ecx
lea edx, [ebp - 0x474]
push edx
call fcn.0042a0b0
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4e4]
call fcn.004017f0
cmp dword [ebp - 0x458], 0
je 0x4ed798
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.00401830
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 0x4ed78b
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.004edac0
cmp eax, 2
jne 0x4ed78b
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp - 0x458]
push ecx
call dword [ebp - 0x450]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x474]
call fcn.004017f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x47c]
call fcn.004eda90
mov edx, dword [ebp - 0x44c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4eda39
push str.jzllqdll
mov eax, dword [ebp + 0xc]
push eax
call fcn.0040dc80
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4ed847
mov ecx, dword [ebp + 8]
add ecx, 0xa8
call fcn.00401830
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x480], eax
cmp dword [ebp - 0x480], 0
je 0x4ed835
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 0x4ed835
call dword [ebp - 0x484]
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x480]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4eda39
push str.dzsdll
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0040dc80
add esp, 8
movzx edx, al
test edx, edx
je 0x4ed8c2
mov ecx, dword [ebp + 8]
add ecx, 0xa8
call fcn.00401830
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x488], eax
cmp dword [ebp - 0x488], 0
je 0x4ed8b0
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 0x4ed8b0
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 0x4eda39
mov eax, dword [ebp + 8]
push eax
call fcn.004ec6d0
add esp, 4
test eax, eax
je 0x4eda39
mov ecx, dword [ebp + 8]
push ecx
call fcn.004ec200
add esp, 4
test eax, eax
jne 0x4ed972
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x120
call fcn.00401830
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xa8
call fcn.00401830
push eax
call fcn.004eadf0
add esp, 0xc
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, 0xa8
call fcn.00401830
push eax
lea edx, [ebp - 0x500]
push edx
call fcn.00569590
add esp, 8
mov dword [ebp - 0x624], eax
mov eax, dword [ebp - 0x624]
mov dword [ebp - 0x628], eax
mov dword [ebp - 4], 7
mov ecx, dword [ebp - 0x628]
push ecx
call fcn.00569c50
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x500]
call fcn.00404950
jmp 0x4eda39
mov edx, dword [ebp + 8]
push edx
call fcn.004ec460
add esp, 4
test eax, eax
jne 0x4eda39
push 0x59bb22
mov ecx, dword [ebp + 8]
add ecx, 0x120
call fcn.00401830
push eax
lea ecx, [ebp - 0x584]
call fcn.004f0640
mov dword [ebp - 0x62c], eax
mov eax, dword [ebp - 0x62c]
mov dword [ebp - 0x630], eax
mov dword [ebp - 4], 8
mov ecx, dword [ebp - 0x630]
call fcn.004f06a0
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xa8
call fcn.00401830
push eax
lea ecx, [ebp - 0x608]
call fcn.004f0640
mov dword [ebp - 0x634], eax
mov ecx, dword [ebp - 0x634]
mov dword [ebp - 0x638], ecx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x638]
call fcn.004f06a0
push eax
push 1
push 1
call fcn.00423e90
add esp, 0x14
movzx edx, al
mov dword [ebp - 0x10], edx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x608]
call fcn.004f0670
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x584]
call fcn.004f0670
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.004b645d
mov esp, ebp
pop ebp
ret