Function at 0x464c20
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov dword [ebp - 0x74], 0
push 0x4851f0
push 1
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp + 8]
call fcn.00404240
push eax
call fcn.00404680
add esp, 8
mov byte [ebp - 0x31], al
lea ecx, [ebp - 0x38]
call fcn.00403400
movzx ecx, byte [ebp - 0x31]
test ecx, ecx
je 0x464c85
lea ecx, [ebp + 8]
call fcn.004028d0
sub eax, 1
push eax
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp + 8]
call fcn.004042d0
push eax
lea ecx, [ebp + 8]
call fcn.00403350
lea ecx, [ebp - 0x3c]
call fcn.00403400
push 0x4851f4
push 1
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp + 0xc]
call fcn.00404240
push eax
call fcn.00404680
add esp, 8
mov byte [ebp - 0x3d], al
lea ecx, [ebp - 0x44]
call fcn.00403400
movzx ecx, byte [ebp - 0x3d]
test ecx, ecx
je 0x464cdd
lea ecx, [ebp + 0xc]
call fcn.004028d0
sub eax, 1
push eax
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp + 0xc]
call fcn.004042d0
push eax
lea ecx, [ebp + 0xc]
call fcn.00403350
lea ecx, [ebp - 0x48]
call fcn.00403400
lea ecx, [ebp - 0x18]
call fcn.0042b488
lea ecx, [ebp - 0x1c]
call fcn.00402d90
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x4851f8
lea edx, [ebp - 0x1c]
push edx
call fcn.00402d60
add esp, 0x10
push 0
lea ecx, [ebp - 0x1c]
call fcn.00406e50
push eax
lea ecx, [ebp - 0x18]
call fcn.0042b516
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x464ea5
lea ecx, [ebp - 0x18]
call fcn.0042b2e6
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x18]
call fcn.0042b44b
test eax, eax
jne 0x464ea0
lea ecx, [ebp - 0x18]
call fcn.004085a0
test eax, eax
je 0x464de0
lea ecx, [ebp - 0x24]
call fcn.00402d90
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0042b7a6
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x485204
lea eax, [ebp - 0x24]
push eax
call fcn.00402d60
add esp, 0x10
lea ecx, [ebp - 0x4c]
call fcn.00403400
lea ecx, [ebp + 0xc]
call fcn.00406e50
push eax
lea ecx, [ebp - 0x24]
call fcn.004060f0
test eax, eax
je 0x464dd3
mov cl, byte [ebp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
lea edx, [ebp + 0x10]
push edx
call fcn.00402960
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
lea eax, [ebp + 0xc]
push eax
call fcn.00402960
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
lea edx, [ebp - 0x24]
push edx
call fcn.00402960
call fcn.00464c20
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.00403400
jmp 0x464ea0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0042b7a6
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
je 0x464e58
push 0x485210
lea ecx, [ebp - 0x28]
call fcn.004060f0
test eax, eax
je 0x464e56
push str.npclient.dll
lea ecx, [ebp - 0x28]
call fcn.004060f0
test eax, eax
je 0x464e56
lea ecx, [ebp - 0x2c]
call fcn.00402d90
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x485248
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00402d60
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.00402960
call sym.QiyiInstaller.exe_Delete
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.00403400
jmp 0x464e98
lea ecx, [ebp - 0x30]
call fcn.00402d90
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._s_s
lea edx, [ebp - 0x30]
push edx
call fcn.00402d60
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
lea eax, [ebp - 0x30]
push eax
call fcn.00402960
call sym.QiyiInstaller.exe_Delete
add esp, 4
lea ecx, [ebp - 0x30]
call fcn.00403400
lea ecx, [ebp - 0x28]
call fcn.00403400
jmp 0x464d1c
lea ecx, [ebp - 0x18]
call fcn.0042b216
lea ecx, [ebp + 8]
call fcn.00406e50
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x464ede
or dword [ebp - 0x74], 1
lea ecx, [ebp + 8]
push ecx
push str.Remove_Dir_Success:
lea edx, [ebp - 0x6c]
push edx
call fcn.00401950
add esp, 0xc
mov dword [ebp - 0x78], eax
jmp 0x464efa
or dword [ebp - 0x74], 2
lea eax, [ebp + 8]
push eax
push str.Remove_Dir_Failed:
lea ecx, [ebp - 0x70]
push ecx
call fcn.00401950
add esp, 0xc
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x68], edx
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
mov eax, dword [ebp - 0x68]
push eax
call fcn.00402960
mov ecx, 0x49e320
call fcn.0046d240
mov ecx, dword [ebp - 0x74]
and ecx, 2
je 0x464f2d
and dword [ebp - 0x74], 0xfffffffd
lea ecx, [ebp - 0x70]
call fcn.00403400
mov edx, dword [ebp - 0x74]
and edx, 1
je 0x464f41
and dword [ebp - 0x74], 0xfffffffe
lea ecx, [ebp - 0x6c]
call fcn.00403400
lea ecx, [ebp - 0x1c]
call fcn.00403400
lea ecx, [ebp - 0x18]
call fcn.0042b4ae
lea ecx, [ebp + 8]
call fcn.00403400
lea ecx, [ebp + 0xc]
call fcn.00403400
lea ecx, [ebp + 0x10]
call fcn.00403400
mov esp, ebp
pop ebp
ret