Function at 0x4eb290
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov dword [ebp - 0x6c], 0
push 0x51c48c
push 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp + 8]
call fcn.004040c0
push eax
call fcn.00404350
add esp, 8
mov byte [ebp - 0x39], al
lea ecx, [ebp - 0x40]
call fcn.00407160
movzx ecx, byte [ebp - 0x39]
test ecx, ecx
je 0x4eb2f5
lea ecx, [ebp + 8]
call fcn.004032b0
sub eax, 1
push eax
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp + 8]
call fcn.00404150
push eax
lea ecx, [ebp + 8]
call fcn.00402e10
lea ecx, [ebp - 0x44]
call fcn.00407160
lea ecx, [ebp - 4]
call fcn.00402e30
mov eax, dword [0x556fb0]
push eax
push 0x51c490
lea ecx, [ebp - 4]
push ecx
call fcn.00405f70
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00402e30
mov edx, dword [0x556fb0]
push edx
push str._sPStyleqiyi_shortCut.dll
lea eax, [ebp - 0x28]
push eax
call fcn.00405f70
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.00402e30
mov ecx, dword [0x556fb0]
push ecx
push str._sPStyleLogoLogoNetworkVideo.ico
lea edx, [ebp - 0x20]
push edx
call fcn.00405f70
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.004ae8ad
lea ecx, [ebp - 0x24]
call fcn.00402e30
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x51c530
lea edx, [ebp - 0x24]
push edx
call fcn.00405f70
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.004ae945
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4eb531
lea ecx, [ebp - 0x1c]
call fcn.004ae6ff
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x1c]
call fcn.004ae86e
test eax, eax
jne 0x4eb52c
lea ecx, [ebp - 0x1c]
call fcn.0040cf70
test eax, eax
je 0x4eb456
lea ecx, [ebp - 0x30]
call fcn.00402e30
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004aec03
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x51c53c
lea eax, [ebp - 0x30]
push eax
call fcn.00405f70
add esp, 0x10
lea ecx, [ebp - 0x48]
call fcn.00407160
lea ecx, [ebp - 4]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
lea ecx, [ebp - 0x30]
call fcn.00403d00
test eax, eax
jne 0x4eb41e
lea ecx, [ebp - 0x30]
call fcn.00407160
jmp 0x4eb393
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.004020c0
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
lea eax, [ebp - 0x30]
push eax
call fcn.004020c0
call fcn.004eb290
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.00407160
jmp 0x4eb52c
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004aec03
lea ecx, [ebp - 0x34]
call fcn.00402e30
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x51c548
lea ecx, [ebp - 0x34]
push ecx
call fcn.00405f70
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.00403d00
test eax, eax
je 0x4eb4ad
lea ecx, [ebp - 0x20]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
lea ecx, [ebp - 0x34]
call fcn.00403d00
test eax, eax
jne 0x4eb4c2
lea ecx, [ebp - 0x34]
call fcn.00407160
lea ecx, [ebp - 0x38]
call fcn.00407160
jmp 0x4eb393
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x4eb505
push 0x51c554
lea ecx, [ebp - 0x38]
call fcn.00403d00
test eax, eax
je 0x4eb503
push 0x51c570
lea ecx, [ebp - 0x38]
call fcn.00403d00
test eax, eax
je 0x4eb503
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
lea eax, [ebp - 0x34]
push eax
call fcn.004020c0
call sym.QiyiInstaller.exe_Delete
add esp, 4
jmp 0x4eb51c
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
lea edx, [ebp - 0x34]
push edx
call fcn.004020c0
call sym.QiyiInstaller.exe_Delete
add esp, 4
lea ecx, [ebp - 0x34]
call fcn.00407160
lea ecx, [ebp - 0x38]
call fcn.00407160
jmp 0x4eb393
lea ecx, [ebp - 0x1c]
call fcn.004ae619
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 0x4eb56a
or dword [ebp - 0x6c], 1
lea eax, [ebp + 8]
push eax
push 0x51c58c
lea ecx, [ebp - 0x64]
push ecx
call fcn.00404280
add esp, 0xc
mov dword [ebp - 0x70], eax
jmp 0x4eb586
or dword [ebp - 0x6c], 2
lea edx, [ebp + 8]
push edx
push 0x51c5b8
lea eax, [ebp - 0x68]
push eax
call fcn.00404280
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.004020c0
mov ecx, 0x556f08
call fcn.004f68e0
mov eax, dword [ebp - 0x6c]
and eax, 2
je 0x4eb5b9
and dword [ebp - 0x6c], 0xfffffffd
lea ecx, [ebp - 0x68]
call fcn.00407160
mov ecx, dword [ebp - 0x6c]
and ecx, 1
je 0x4eb5cd
and dword [ebp - 0x6c], 0xfffffffe
lea ecx, [ebp - 0x64]
call fcn.00407160
lea ecx, [ebp - 0x24]
call fcn.00407160
lea ecx, [ebp - 0x1c]
call fcn.004ae8d6
lea ecx, [ebp - 0x20]
call fcn.00407160
lea ecx, [ebp - 0x28]
call fcn.00407160
lea ecx, [ebp - 4]
call fcn.00407160
lea ecx, [ebp + 8]
call fcn.00407160
lea ecx, [ebp + 0xc]
call fcn.00407160
mov esp, ebp
pop ebp
ret