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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb7dd
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xfc
mov eax, dword [0x544af0]
xor eax, ebp
mov dword [ebp - 0x30], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 0x2f
lea ecx, [ebp + 8]
call fcn.004048d0
mov esi, eax
lea ecx, [ebp + 8]
call fcn.00403780
sub eax, esi
sub eax, 1
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp + 8]
call fcn.004049d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004032e0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [0x549d9c]
push edx
push 0x514b64
lea eax, [ebp - 0x14]
push eax
call fcn.00404050
add esp, 0x10
lea ecx, [ebp - 0x14]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x927c0
push ecx
mov ecx, esp
mov dword [ebp - 0xd4], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00402580
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xf0], eax
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0xd8], esp
lea edx, [ebp + 8]
push edx
call fcn.00402580
mov dword [ebp - 0xf4], eax
mov byte [ebp - 4], 2
call fcn.004de330
add esp, 0xc
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
jne 0x4e89c6
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004079a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004079a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004079a0
jmp 0x4e8be0
lea ecx, [ebp - 0x20]
call fcn.004032e0
mov byte [ebp - 4], 4
push 0x104
lea ecx, [ebp - 0x20]
call fcn.00403a50
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.00406880
mov ecx, 0x549d9c
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0xdc], esp
push 0x549d9c
call fcn.00402580
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x100], eax
mov byte [ebp - 4], 6
push ecx
mov ecx, esp
mov dword [ebp - 0xe0], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00402580
mov dword [ebp - 0x104], eax
mov byte [ebp - 4], 5
call fcn.004e29b0
add esp, 8
jmp 0x4e8a8a
mov dword [ebp - 4], 4
jmp 0x4e8acb
lea ecx, [ebp - 0x14]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x20]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push ecx
mov ecx, esp
mov dword [ebp - 0xe4], esp
push str.1570
call fcn.00403ca0
mov dword [ebp - 0x108], eax
call sym.QiyiInstaller.exe_SendThirdPartyStatLog
add esp, 4
push str.BdsgAdDll_1.3.0.603_30000301.dll
push 0x549d9c
lea eax, [ebp - 0x18]
push eax
call fcn.00404ae0
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x18]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4e8ba1
push str.DownloaderHelper
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4e8ba1
call dword [ebp - 0x2c]
push ecx
mov ecx, esp
mov dword [ebp - 0xe8], esp
push str.1571
call fcn.00403ca0
mov dword [ebp - 0x10c], eax
call sym.QiyiInstaller.exe_SendThirdPartyStatLog
add esp, 4
lea ecx, [ebp - 0xd0]
call fcn.004d4810
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xd0]
call fcn.004d4390
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd0]
call fcn.004d4590
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.004079a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004079a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004079a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004079a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004079a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.004b5e12
mov esp, ebp
pop ebp
ret