Function at 0x466cc0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 0x68], 0
push 0x4847ec
push 1
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp + 8]
call fcn.00404ad0
push eax
call fcn.00401fc0
add esp, 8
mov byte [ebp - 0x35], al
lea ecx, [ebp - 0x3c]
call fcn.00405f40
movzx ecx, byte [ebp - 0x35]
test ecx, ecx
je 0x466d25
lea ecx, [ebp + 8]
call fcn.004033f0
sub eax, 1
push eax
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp + 8]
call fcn.00404b60
push eax
lea ecx, [ebp + 8]
call fcn.00403bb0
lea ecx, [ebp - 0x40]
call fcn.00405f40
lea ecx, [ebp - 4]
call fcn.004017f0
mov eax, dword [0x4a04b0]
push eax
push 0x4847f0
lea ecx, [ebp - 4]
push ecx
call fcn.00401870
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.004017f0
mov edx, dword [0x4a04b0]
push edx
push str._sQiyiClientqiyi_shortCut.dll
lea eax, [ebp - 0x24]
push eax
call fcn.00401870
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.0042c250
lea ecx, [ebp - 0x20]
call fcn.004017f0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x484858
lea eax, [ebp - 0x20]
push eax
call fcn.00401870
add esp, 0x10
push 0
lea ecx, [ebp - 0x20]
call fcn.00403e00
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042c2de
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x466f2b
lea ecx, [ebp - 0x1c]
call fcn.0042c0ae
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x1c]
call fcn.0042c213
test eax, eax
jne 0x466f26
lea ecx, [ebp - 0x1c]
call fcn.00408970
test eax, eax
je 0x466e65
lea ecx, [ebp - 0x2c]
call fcn.004017f0
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0042c56e
mov edx, dword [eax]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x484864
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00401870
add esp, 0x10
lea ecx, [ebp - 0x44]
call fcn.00405f40
lea ecx, [ebp - 4]
call fcn.00403e00
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406920
test eax, eax
jne 0x466e2e
lea ecx, [ebp - 0x2c]
call fcn.00405f40
jmp 0x466da3
mov dl, byte [ebp + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
lea eax, [ebp + 0xc]
push eax
call fcn.00403480
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.00403480
call fcn.00466cc0
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.00405f40
jmp 0x466f26
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042c56e
lea ecx, [ebp - 0x30]
call fcn.004017f0
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x484870
lea eax, [ebp - 0x30]
push eax
call fcn.00401870
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.00403e00
push eax
lea ecx, [ebp - 0x30]
call fcn.00406920
test eax, eax
jne 0x466ebc
lea ecx, [ebp - 0x30]
call fcn.00405f40
lea ecx, [ebp - 0x34]
call fcn.00405f40
jmp 0x466da3
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x466eff
push 0x48487c
lea ecx, [ebp - 0x34]
call fcn.00406920
test eax, eax
je 0x466efd
push 0x484898
lea ecx, [ebp - 0x34]
call fcn.00406920
test eax, eax
je 0x466efd
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
lea edx, [ebp - 0x30]
push edx
call fcn.00403480
call sym.QiyiInstaller.exe_Delete
add esp, 4
jmp 0x466f16
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
lea eax, [ebp - 0x30]
push eax
call fcn.00403480
call sym.QiyiInstaller.exe_Delete
add esp, 4
lea ecx, [ebp - 0x30]
call fcn.00405f40
lea ecx, [ebp - 0x34]
call fcn.00405f40
jmp 0x466da3
lea ecx, [ebp - 0x1c]
call fcn.0042bfde
lea ecx, [ebp + 8]
call fcn.00403e00
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x466f64
or dword [ebp - 0x68], 1
lea ecx, [ebp + 8]
push ecx
push 0x4848b4
lea edx, [ebp - 0x60]
push edx
call fcn.00401f10
add esp, 0xc
mov dword [ebp - 0x6c], eax
jmp 0x466f80
or dword [ebp - 0x68], 2
lea eax, [ebp + 8]
push eax
push 0x4848e0
lea ecx, [ebp - 0x64]
push ecx
call fcn.00401f10
add esp, 0xc
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x5c], edx
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
mov eax, dword [ebp - 0x5c]
push eax
call fcn.00403480
mov ecx, 0x4a0408
call fcn.0046e4a0
mov ecx, dword [ebp - 0x68]
and ecx, 2
je 0x466fb3
and dword [ebp - 0x68], 0xfffffffd
lea ecx, [ebp - 0x64]
call fcn.00405f40
mov edx, dword [ebp - 0x68]
and edx, 1
je 0x466fc7
and dword [ebp - 0x68], 0xfffffffe
lea ecx, [ebp - 0x60]
call fcn.00405f40
lea ecx, [ebp - 0x20]
call fcn.00405f40
lea ecx, [ebp - 0x1c]
call fcn.0042c276
lea ecx, [ebp - 0x24]
call fcn.00405f40
lea ecx, [ebp - 4]
call fcn.00405f40
lea ecx, [ebp + 8]
call fcn.00405f40
lea ecx, [ebp + 0xc]
call fcn.00405f40
mov esp, ebp
pop ebp
ret