Function at 0x4dddc0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov dword [ebp - 0x6c], 0
push 0x50f504
push 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp + 8]
call fcn.00404660
push eax
call fcn.004048f0
add esp, 8
mov byte [ebp - 0x39], al
lea ecx, [ebp - 0x40]
call fcn.00403360
movzx ecx, byte [ebp - 0x39]
test ecx, ecx
je 0x4dde25
lea ecx, [ebp + 8]
call fcn.004037d0
sub eax, 1
push eax
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp + 8]
call fcn.004046f0
push eax
lea ecx, [ebp + 8]
call fcn.00403320
lea ecx, [ebp - 0x44]
call fcn.00403360
lea ecx, [ebp - 4]
call fcn.00403340
mov eax, dword [0x547d90]
push eax
push 0x50f508
lea ecx, [ebp - 4]
push ecx
call fcn.00406370
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00403340
mov edx, dword [0x547d90]
push edx
push str._sPStyleqiyi_shortCut.dll
lea eax, [ebp - 0x28]
push eax
call fcn.00406370
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.00403340
mov ecx, dword [0x547d90]
push ecx
push str._sPStyleLogoLogoNetworkVideo.ico
lea edx, [ebp - 0x20]
push edx
call fcn.00406370
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.004a466f
lea ecx, [ebp - 0x24]
call fcn.00403340
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x50f5a8
lea edx, [ebp - 0x24]
push edx
call fcn.00406370
add esp, 0x10
push 0
lea ecx, [ebp - 0x24]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
lea ecx, [ebp - 0x1c]
call fcn.004a4707
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4de061
lea ecx, [ebp - 0x1c]
call fcn.004a44c1
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x1c]
call fcn.004a4630
test eax, eax
jne 0x4de05c
lea ecx, [ebp - 0x1c]
call fcn.0040c8c0
test eax, eax
je 0x4ddf86
lea ecx, [ebp - 0x30]
call fcn.00403340
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004a49c5
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x50f5b4
lea eax, [ebp - 0x30]
push eax
call fcn.00406370
add esp, 0x10
lea ecx, [ebp - 0x48]
call fcn.00403360
lea ecx, [ebp - 4]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
lea ecx, [ebp - 0x30]
call fcn.004042a0
test eax, eax
jne 0x4ddf4e
lea ecx, [ebp - 0x30]
call fcn.00403360
jmp 0x4ddec3
movzx ecx, byte [ebp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
lea edx, [ebp + 0xc]
push edx
call fcn.00402580
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
lea eax, [ebp - 0x30]
push eax
call fcn.00402580
call fcn.004dddc0
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.00403360
jmp 0x4de05c
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004a49c5
lea ecx, [ebp - 0x34]
call fcn.00403340
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x50f5c0
lea ecx, [ebp - 0x34]
push ecx
call fcn.00406370
add esp, 0x10
lea ecx, [ebp - 0x28]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
lea ecx, [ebp - 0x34]
call fcn.004042a0
test eax, eax
je 0x4ddfdd
lea ecx, [ebp - 0x20]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
lea ecx, [ebp - 0x34]
call fcn.004042a0
test eax, eax
jne 0x4ddff2
lea ecx, [ebp - 0x34]
call fcn.00403360
lea ecx, [ebp - 0x38]
call fcn.00403360
jmp 0x4ddec3
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x4de035
push 0x50f5cc
lea ecx, [ebp - 0x38]
call fcn.004042a0
test eax, eax
je 0x4de033
push 0x50f5e8
lea ecx, [ebp - 0x38]
call fcn.004042a0
test eax, eax
je 0x4de033
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
lea eax, [ebp - 0x34]
push eax
call fcn.00402580
call sym.QiyiInstaller.exe_Delete
add esp, 4
jmp 0x4de04c
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
lea edx, [ebp - 0x34]
push edx
call fcn.00402580
call sym.QiyiInstaller.exe_Delete
add esp, 4
lea ecx, [ebp - 0x34]
call fcn.00403360
lea ecx, [ebp - 0x38]
call fcn.00403360
jmp 0x4ddec3
lea ecx, [ebp - 0x1c]
call fcn.004a43db
lea ecx, [ebp + 8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x4de09a
or dword [ebp - 0x6c], 1
lea eax, [ebp + 8]
push eax
push 0x50f604
lea ecx, [ebp - 0x64]
push ecx
call fcn.00404820
add esp, 0xc
mov dword [ebp - 0x70], eax
jmp 0x4de0b6
or dword [ebp - 0x6c], 2
lea edx, [ebp + 8]
push edx
push 0x50f630
lea eax, [ebp - 0x68]
push eax
call fcn.00404820
add esp, 0xc
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x60], ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
mov edx, dword [ebp - 0x60]
push edx
call fcn.00402580
mov ecx, 0x547ce8
call fcn.004ea710
mov eax, dword [ebp - 0x6c]
and eax, 2
je 0x4de0e9
and dword [ebp - 0x6c], 0xfffffffd
lea ecx, [ebp - 0x68]
call fcn.00403360
mov ecx, dword [ebp - 0x6c]
and ecx, 1
je 0x4de0fd
and dword [ebp - 0x6c], 0xfffffffe
lea ecx, [ebp - 0x64]
call fcn.00403360
lea ecx, [ebp - 0x24]
call fcn.00403360
lea ecx, [ebp - 0x1c]
call fcn.004a4698
lea ecx, [ebp - 0x20]
call fcn.00403360
lea ecx, [ebp - 0x28]
call fcn.00403360
lea ecx, [ebp - 4]
call fcn.00403360
lea ecx, [ebp + 8]
call fcn.00403360
lea ecx, [ebp + 0xc]
call fcn.00403360
mov esp, ebp
pop ebp
ret