Function at 0x43cd60
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462746
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
mov dword [ebp - 0x68], ecx
lea ecx, [ebp - 0x28]
call fcn.00458a62
mov dword [ebp - 4], 0
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x58]
call fcn.00435400
sub esp, 0xc
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x4c]
push edx
call fcn.00435540
mov ecx, eax
call fcn.00435a00
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.0043eb20
push eax
lea ecx, [ebp - 0x40]
call fcn.0043eae0
push eax
lea ecx, [ebp - 0x40]
call fcn.0043eaa0
push eax
push 0x46c88c
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x14
push 0x46c89c
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x5c]
push edx
call fcn.00435e50
add esp, 0xc
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 4
push 0
mov ecx, dword [ebp - 0x70]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [ebp - 0x28]
call sub.MFC71.DLL_CFileFind::FindFile
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp dword [ebp - 0x34], 0
je 0x43cf2f
lea ecx, [ebp - 0x28]
call sub.MFC71.DLL_CFileFind::FindNextFileA
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x28]
call sub.MFC71.DLL_CFileFind::GetFileName
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x78], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0x30]
call dword [0x4643d4]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x28]
call sub.MFC71.DLL_CFileFind::GetFilePath
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x80]
push eax
lea ecx, [ebp - 0x2c]
call dword [0x4643d4]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [ebp - 0x28]
call fcn.0043ea20
test eax, eax
je 0x43cf2a
lea ecx, [ebp - 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
cmp eax, 8
jne 0x43cf2a
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.00435ff0
add esp, 8
movzx eax, al
test eax, eax
je 0x43cf2a
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x68]
call fcn.0043cbe0
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x43ce62
lea ecx, [ebp - 0x28]
call sub.MFC71.DLL_CFileFind::Close
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call sub.MFC71.DLL_CFileFind::CFileFind
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8