Function at 0x464ca0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0x64], 0
push 0x47d638
push 1
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp + 8]
call fcn.004033f0
push eax
call fcn.00403950
add esp, 8
mov byte [ebp - 0x31], al
lea ecx, [ebp - 0x38]
call fcn.00405400
movzx ecx, byte [ebp - 0x31]
test ecx, ecx
je 0x464d05
lea ecx, [ebp + 8]
call fcn.00401d10
sub eax, 1
push eax
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp + 8]
call fcn.00403480
push eax
lea ecx, [ebp + 8]
call fcn.00402520
lea ecx, [ebp - 0x3c]
call fcn.00405400
lea ecx, [ebp - 4]
call fcn.004038b0
mov eax, dword [0x4973a8]
push eax
push 0x47d63c
lea ecx, [ebp - 4]
push ecx
call fcn.004037a0
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.004038b0
mov edx, dword [0x4973a8]
push edx
push 0x47d668
lea eax, [ebp - 0x24]
push eax
call fcn.004037a0
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.0042b3cd
lea ecx, [ebp - 0x20]
call fcn.004038b0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x47d6a8
lea eax, [ebp - 0x20]
push eax
call fcn.004037a0
add esp, 0x10
push 0
lea ecx, [ebp - 0x20]
call fcn.004010f0
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042b45b
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x464eb8
lea ecx, [ebp - 0x1c]
call fcn.0042b22b
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x1c]
call fcn.0042b390
test eax, eax
jne 0x464eb3
lea ecx, [ebp - 0x1c]
call fcn.004084b0
test eax, eax
je 0x464e3e
lea ecx, [ebp - 0x2c]
call fcn.004038b0
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0042b6eb
mov edx, dword [eax]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x47d6b4
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004037a0
add esp, 0x10
lea ecx, [ebp - 0x40]
call fcn.00405400
lea ecx, [ebp - 4]
call fcn.004010f0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405e60
test eax, eax
jne 0x464e0e
lea ecx, [ebp - 0x2c]
call fcn.00405400
jmp 0x464d83
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
lea edx, [ebp + 0xc]
push edx
call fcn.00401e00
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
lea eax, [ebp - 0x2c]
push eax
call fcn.00401e00
call fcn.00464ca0
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.00405400
jmp 0x464eb3
lea ecx, [ebp - 0x30]
call fcn.004038b0
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0042b6eb
mov edx, dword [eax]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x47d6c0
lea ecx, [ebp - 0x30]
push ecx
call fcn.004037a0
add esp, 0x10
lea ecx, [ebp - 0x4c]
call fcn.00405400
lea ecx, [ebp - 0x24]
call fcn.004010f0
push eax
lea ecx, [ebp - 0x30]
call fcn.00405e60
test eax, eax
jne 0x464e94
lea ecx, [ebp - 0x30]
call fcn.00405400
jmp 0x464d83
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
lea edx, [ebp - 0x30]
push edx
call fcn.00401e00
call sym.QiyiInstaller.exe_Delete
add esp, 4
lea ecx, [ebp - 0x30]
call fcn.00405400
jmp 0x464d83
lea ecx, [ebp - 0x1c]
call fcn.0042b15b
lea ecx, [ebp + 8]
call fcn.004010f0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x464ef1
or dword [ebp - 0x64], 1
lea eax, [ebp + 8]
push eax
push 0x47d6cc
lea ecx, [ebp - 0x5c]
push ecx
call fcn.004015e0
add esp, 0xc
mov dword [ebp - 0x68], eax
jmp 0x464f0d
or dword [ebp - 0x64], 2
lea edx, [ebp + 8]
push edx
push 0x47d6f8
lea eax, [ebp - 0x60]
push eax
call fcn.004015e0
add esp, 0xc
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x58], ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
mov edx, dword [ebp - 0x58]
push edx
call fcn.00401e00
mov ecx, 0x497300
call fcn.0046acf0
mov eax, dword [ebp - 0x64]
and eax, 2
je 0x464f40
and dword [ebp - 0x64], 0xfffffffd
lea ecx, [ebp - 0x60]
call fcn.00405400
mov ecx, dword [ebp - 0x64]
and ecx, 1
je 0x464f54
and dword [ebp - 0x64], 0xfffffffe
lea ecx, [ebp - 0x5c]
call fcn.00405400
lea ecx, [ebp - 0x20]
call fcn.00405400
lea ecx, [ebp - 0x1c]
call fcn.0042b3f3
lea ecx, [ebp - 0x24]
call fcn.00405400
lea ecx, [ebp - 4]
call fcn.00405400
lea ecx, [ebp + 8]
call fcn.00405400
lea ecx, [ebp + 0xc]
call fcn.00405400
mov esp, ebp
pop ebp
ret