Function at 0x429908
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ab31
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
mov dword [ebp - 0x64], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004044b0
test eax, eax
je 0x429957
mov dword [ebp - 0x3c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x3c]
jmp 0x429c32
push 0x44ce00
push 1
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x6c]
push edx
call fcn.00408f80
mov byte [ebp - 0x40], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x40]
and eax, 0xff
test eax, eax
je 0x4299a8
push 0x44ce04
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x34]
call fcn.004355ce
mov byte [ebp - 4], 2
push 0x44ce08
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CFileFind::CFileFind
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 5
push 0
lea ecx, [ebp - 0x34]
call fcn.004014c0
push eax
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CFileFind::FindFile
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x429be9
mov edx, 1
test edx, edx
je 0x429be9
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
je 0x429a32
jmp 0x429b76
lea ecx, [ebp - 0x2c]
call fcn.004322c0
test eax, eax
je 0x429ab4
push ecx
mov eax, esp
mov dword [ebp - 0x48], esp
push eax
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CFileFind::GetFilePath
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x64]
call fcn.00429908
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jne 0x429aaf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004355da
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x4c]
jmp 0x429c32
jmp 0x429b76
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CFileFind::GetFileName
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x7c], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x7c]
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x54]
push edx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x38]
call fcn.004355a4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
call fcn.004014c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x429b76
mov dword [ebp - 0x58], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004355da
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x58]
jmp 0x429c32
cmp dword [ebp - 0x10], 0
jne 0x429be4
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [ebp + 8]
call fcn.004014c0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x429be2
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004355da
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x5c]
jmp 0x429c32
jmp 0x429be9
jmp 0x429a09
mov dword [ebp - 0x60], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004355da
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4