Function at 0x466ac0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 0x68], 0
push 0x4857ec
push 1
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp + 8]
call fcn.004042c0
push eax
call fcn.00401f90
add esp, 8
mov byte [ebp - 0x35], al
lea ecx, [ebp - 0x3c]
call fcn.00405670
movzx ecx, byte [ebp - 0x35]
test ecx, ecx
je 0x466b25
lea ecx, [ebp + 8]
call fcn.00402c60
sub eax, 1
push eax
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp + 8]
call fcn.00404350
push eax
lea ecx, [ebp + 8]
call fcn.00403410
lea ecx, [ebp - 0x40]
call fcn.00405670
lea ecx, [ebp - 4]
call fcn.00405650
mov eax, dword [0x4a2480]
push eax
push 0x4857f0
lea ecx, [ebp - 4]
push ecx
call fcn.00401850
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.00405650
mov edx, dword [0x4a2480]
push edx
push str._sQiyiClientqiyi_shortCut.dll
lea eax, [ebp - 0x24]
push eax
call fcn.00401850
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.0042a80c
lea ecx, [ebp - 0x20]
call fcn.00405650
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x485858
lea eax, [ebp - 0x20]
push eax
call fcn.00401850
add esp, 0x10
push 0
lea ecx, [ebp - 0x20]
call fcn.00401560
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042a89a
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x466d2b
lea ecx, [ebp - 0x1c]
call fcn.0042a521
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x1c]
call fcn.0042a7cf
test eax, eax
jne 0x466d26
lea ecx, [ebp - 0x1c]
call fcn.004089e0
test eax, eax
je 0x466c65
lea ecx, [ebp - 0x2c]
call fcn.00405650
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0042ab2a
mov edx, dword [eax]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x485864
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00401850
add esp, 0x10
lea ecx, [ebp - 0x44]
call fcn.00405670
lea ecx, [ebp - 4]
call fcn.00401560
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406160
test eax, eax
jne 0x466c2e
lea ecx, [ebp - 0x2c]
call fcn.00405670
jmp 0x466ba3
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.00402cf0
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.00402cf0
call fcn.00466ac0
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.00405670
jmp 0x466d26
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042ab2a
lea ecx, [ebp - 0x30]
call fcn.00405650
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x485870
lea eax, [ebp - 0x30]
push eax
call fcn.00401850
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.00401560
push eax
lea ecx, [ebp - 0x30]
call fcn.00406160
test eax, eax
jne 0x466cbc
lea ecx, [ebp - 0x30]
call fcn.00405670
lea ecx, [ebp - 0x34]
call fcn.00405670
jmp 0x466ba3
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x466cff
push 0x48587c
lea ecx, [ebp - 0x34]
call fcn.00406160
test eax, eax
je 0x466cfd
push 0x485898
lea ecx, [ebp - 0x34]
call fcn.00406160
test eax, eax
je 0x466cfd
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
lea edx, [ebp - 0x30]
push edx
call fcn.00402cf0
call sym.QiyiInstaller.exe_Delete
add esp, 4
jmp 0x466d16
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
lea eax, [ebp - 0x30]
push eax
call fcn.00402cf0
call sym.QiyiInstaller.exe_Delete
add esp, 4
lea ecx, [ebp - 0x30]
call fcn.00405670
lea ecx, [ebp - 0x34]
call fcn.00405670
jmp 0x466ba3
lea ecx, [ebp - 0x1c]
call fcn.0042a451
lea ecx, [ebp + 8]
call fcn.00401560
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x466d64
or dword [ebp - 0x68], 1
lea ecx, [ebp + 8]
push ecx
push 0x4858b4
lea edx, [ebp - 0x60]
push edx
call fcn.00401ee0
add esp, 0xc
mov dword [ebp - 0x6c], eax
jmp 0x466d80
or dword [ebp - 0x68], 2
lea eax, [ebp + 8]
push eax
push 0x4858e0
lea ecx, [ebp - 0x64]
push ecx
call fcn.00401ee0
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.00402cf0
mov ecx, 0x4a23d8
call fcn.0046e810
mov ecx, dword [ebp - 0x68]
and ecx, 2
je 0x466db3
and dword [ebp - 0x68], 0xfffffffd
lea ecx, [ebp - 0x64]
call fcn.00405670
mov edx, dword [ebp - 0x68]
and edx, 1
je 0x466dc7
and dword [ebp - 0x68], 0xfffffffe
lea ecx, [ebp - 0x60]
call fcn.00405670
lea ecx, [ebp - 0x20]
call fcn.00405670
lea ecx, [ebp - 0x1c]
call fcn.0042a832
lea ecx, [ebp - 0x24]
call fcn.00405670
lea ecx, [ebp - 4]
call fcn.00405670
lea ecx, [ebp + 8]
call fcn.00405670
lea ecx, [ebp + 0xc]
call fcn.00405670
mov esp, ebp
pop ebp
ret