Function at 0x465a40
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 0x68], 0
push 0x48279c
push 1
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp + 8]
call fcn.004043e0
push eax
call fcn.00401a00
add esp, 8
mov byte [ebp - 0x35], al
lea ecx, [ebp - 0x3c]
call fcn.00405530
movzx ecx, byte [ebp - 0x35]
test ecx, ecx
je 0x465aa5
lea ecx, [ebp + 8]
call fcn.00402ac0
sub eax, 1
push eax
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp + 8]
call fcn.00404470
push eax
lea ecx, [ebp + 8]
call fcn.00403530
lea ecx, [ebp - 0x40]
call fcn.00405530
lea ecx, [ebp - 4]
call fcn.00405510
mov eax, dword [0x49e3c8]
push eax
push 0x4827a0
lea ecx, [ebp - 4]
push ecx
call fcn.00402f60
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.00405510
mov edx, dword [0x49e3c8]
push edx
push str._sQiyiClientqiyi_shortCut.dll
lea eax, [ebp - 0x24]
push eax
call fcn.00402f60
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.0042b4a6
lea ecx, [ebp - 0x20]
call fcn.00405510
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x482808
lea eax, [ebp - 0x20]
push eax
call fcn.00402f60
add esp, 0x10
push 0
lea ecx, [ebp - 0x20]
call fcn.004068a0
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042b534
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x465cab
lea ecx, [ebp - 0x1c]
call fcn.0042b304
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x1c]
call fcn.0042b469
test eax, eax
jne 0x465ca6
lea ecx, [ebp - 0x1c]
call fcn.00408560
test eax, eax
je 0x465be5
lea ecx, [ebp - 0x2c]
call fcn.00405510
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0042b7c4
mov edx, dword [eax]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x482814
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00402f60
add esp, 0x10
lea ecx, [ebp - 0x44]
call fcn.00405530
lea ecx, [ebp - 4]
call fcn.004068a0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405f90
test eax, eax
jne 0x465bae
lea ecx, [ebp - 0x2c]
call fcn.00405530
jmp 0x465b23
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.00402b50
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.00402b50
call fcn.00465a40
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.00405530
jmp 0x465ca6
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042b7c4
lea ecx, [ebp - 0x30]
call fcn.00405510
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x482820
lea eax, [ebp - 0x30]
push eax
call fcn.00402f60
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.004068a0
push eax
lea ecx, [ebp - 0x30]
call fcn.00405f90
test eax, eax
jne 0x465c3c
lea ecx, [ebp - 0x30]
call fcn.00405530
lea ecx, [ebp - 0x34]
call fcn.00405530
jmp 0x465b23
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x465c7f
push 0x48282c
lea ecx, [ebp - 0x34]
call fcn.00405f90
test eax, eax
je 0x465c7d
push 0x482848
lea ecx, [ebp - 0x34]
call fcn.00405f90
test eax, eax
je 0x465c7d
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
lea edx, [ebp - 0x30]
push edx
call fcn.00402b50
call sym.QiyiInstaller.exe_Delete
add esp, 4
jmp 0x465c96
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
lea eax, [ebp - 0x30]
push eax
call fcn.00402b50
call sym.QiyiInstaller.exe_Delete
add esp, 4
lea ecx, [ebp - 0x30]
call fcn.00405530
lea ecx, [ebp - 0x34]
call fcn.00405530
jmp 0x465b23
lea ecx, [ebp - 0x1c]
call fcn.0042b234
lea ecx, [ebp + 8]
call fcn.004068a0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x465ce4
or dword [ebp - 0x68], 1
lea ecx, [ebp + 8]
push ecx
push 0x482864
lea edx, [ebp - 0x60]
push edx
call fcn.00401950
add esp, 0xc
mov dword [ebp - 0x6c], eax
jmp 0x465d00
or dword [ebp - 0x68], 2
lea eax, [ebp + 8]
push eax
push 0x482890
lea ecx, [ebp - 0x64]
push ecx
call fcn.00401950
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.00402b50
mov ecx, 0x49e320
call fcn.0046d240
mov ecx, dword [ebp - 0x68]
and ecx, 2
je 0x465d33
and dword [ebp - 0x68], 0xfffffffd
lea ecx, [ebp - 0x64]
call fcn.00405530
mov edx, dword [ebp - 0x68]
and edx, 1
je 0x465d47
and dword [ebp - 0x68], 0xfffffffe
lea ecx, [ebp - 0x60]
call fcn.00405530
lea ecx, [ebp - 0x20]
call fcn.00405530
lea ecx, [ebp - 0x1c]
call fcn.0042b4cc
lea ecx, [ebp - 0x24]
call fcn.00405530
lea ecx, [ebp - 4]
call fcn.00405530
lea ecx, [ebp + 8]
call fcn.00405530
lea ecx, [ebp + 0xc]
call fcn.00405530
mov esp, ebp
pop ebp
ret