Function at 0x4670f0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 0x68], 0
push 0x48580c
push 1
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp + 8]
call fcn.004058d0
push eax
call fcn.004041e0
add esp, 8
mov byte [ebp - 0x35], al
lea ecx, [ebp - 0x3c]
call fcn.00401830
movzx ecx, byte [ebp - 0x35]
test ecx, ecx
je 0x467155
lea ecx, [ebp + 8]
call fcn.00403aa0
sub eax, 1
push eax
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp + 8]
call fcn.00405960
push eax
lea ecx, [ebp + 8]
call fcn.004039f0
lea ecx, [ebp - 0x40]
call fcn.00401830
lea ecx, [ebp - 4]
call fcn.00406af0
mov eax, dword [0x4a2498]
push eax
push 0x485810
lea ecx, [ebp - 4]
push ecx
call fcn.00401850
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.00406af0
mov edx, dword [0x4a2498]
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.0042c185
lea ecx, [ebp - 0x20]
call fcn.00406af0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x485878
lea eax, [ebp - 0x20]
push eax
call fcn.00401850
add esp, 0x10
push 0
lea ecx, [ebp - 0x20]
call fcn.004039c0
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042c213
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x46735b
lea ecx, [ebp - 0x1c]
call fcn.0042bfe3
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x1c]
call fcn.0042c148
test eax, eax
jne 0x467356
lea ecx, [ebp - 0x1c]
call fcn.00408ad0
test eax, eax
je 0x467295
lea ecx, [ebp - 0x2c]
call fcn.00406af0
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0042c4a3
mov edx, dword [eax]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x485884
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00401850
add esp, 0x10
lea ecx, [ebp - 0x44]
call fcn.00401830
lea ecx, [ebp - 4]
call fcn.004039c0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00407660
test eax, eax
jne 0x46725e
lea ecx, [ebp - 0x2c]
call fcn.00401830
jmp 0x4671d3
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.004036b0
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.004036b0
call fcn.004670f0
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.00401830
jmp 0x467356
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042c4a3
lea ecx, [ebp - 0x30]
call fcn.00406af0
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x485890
lea eax, [ebp - 0x30]
push eax
call fcn.00401850
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.004039c0
push eax
lea ecx, [ebp - 0x30]
call fcn.00407660
test eax, eax
jne 0x4672ec
lea ecx, [ebp - 0x30]
call fcn.00401830
lea ecx, [ebp - 0x34]
call fcn.00401830
jmp 0x4671d3
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x46732f
push 0x48589c
lea ecx, [ebp - 0x34]
call fcn.00407660
test eax, eax
je 0x46732d
push 0x4858b8
lea ecx, [ebp - 0x34]
call fcn.00407660
test eax, eax
je 0x46732d
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
lea edx, [ebp - 0x30]
push edx
call fcn.004036b0
call sym.QiyiInstaller.exe_Delete
add esp, 4
jmp 0x467346
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
lea eax, [ebp - 0x30]
push eax
call fcn.004036b0
call sym.QiyiInstaller.exe_Delete
add esp, 4
lea ecx, [ebp - 0x30]
call fcn.00401830
lea ecx, [ebp - 0x34]
call fcn.00401830
jmp 0x4671d3
lea ecx, [ebp - 0x1c]
call fcn.0042bf13
lea ecx, [ebp + 8]
call fcn.004039c0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x467394
or dword [ebp - 0x68], 1
lea ecx, [ebp + 8]
push ecx
push 0x4858d4
lea edx, [ebp - 0x60]
push edx
call fcn.00404130
add esp, 0xc
mov dword [ebp - 0x6c], eax
jmp 0x4673b0
or dword [ebp - 0x68], 2
lea eax, [ebp + 8]
push eax
push 0x485900
lea ecx, [ebp - 0x64]
push ecx
call fcn.00404130
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.004036b0
mov ecx, 0x4a23f0
call fcn.0046f040
mov ecx, dword [ebp - 0x68]
and ecx, 2
je 0x4673e3
and dword [ebp - 0x68], 0xfffffffd
lea ecx, [ebp - 0x64]
call fcn.00401830
mov edx, dword [ebp - 0x68]
and edx, 1
je 0x4673f7
and dword [ebp - 0x68], 0xfffffffe
lea ecx, [ebp - 0x60]
call fcn.00401830
lea ecx, [ebp - 0x20]
call fcn.00401830
lea ecx, [ebp - 0x1c]
call fcn.0042c1ab
lea ecx, [ebp - 0x24]
call fcn.00401830
lea ecx, [ebp - 4]
call fcn.00401830
lea ecx, [ebp + 8]
call fcn.00401830
lea ecx, [ebp + 0xc]
call fcn.00401830
mov esp, ebp
pop ebp
ret