Function at 0x4011cc
Capabilities:
Delete directory

Disassembly:
jmp 0x412370
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4480b8
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
mov esi, dword [esp + 0x48]
test esi, esi
je 0x412565
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
je 0x412565
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CFileFind::CFileFind
push esi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], 0
call sub.MFC42u.DLL_CString::CString_3
push 0x5c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], 1
call sub.MFC42u.DLL_CString::TrimRight_2
lea eax, [esp + 0x48]
push 0x453fc8
lea ecx, [esp + 8]
push eax
push ecx
call sub.MFC42u.DLL_operator_1
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 2
call sub.MFC42u.DLL_CFileFind::FindFile
lea ecx, [esp + 4]
mov esi, eax
mov byte [esp + 0x40], 1
call sub.MFC42u.DLL_CString::CString
test esi, esi
je 0x41252e
push ebx
mov bl, 5
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CFileFind::FindNextFileW
lea ecx, [esp + 0x20]
mov esi, eax
call sub.MFC42u.DLL_CFileFind::IsDots
test eax, eax
jne 0x412525
lea edx, [esp + 0xc]
lea ecx, [esp + 0x20]
push edx
call sub.MFC42u.DLL_CFileFind::GetFileName
push 0x104
mov ecx, eax
mov byte [esp + 0x48], 3
call sub.MFC42u.DLL_CString::GetBuffer
push eax
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], bl
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x20]
push 0x10
lea ecx, [esp + 0x24]
call dword [eax + 0x40]
test eax, eax
push 0x452980
je 0x4124c8
lea ecx, [esp + 0x50]
lea edx, [esp + 0x18]
push ecx
push edx
call sub.MFC42u.DLL_operator_1
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
push eax
push edx
mov byte [esp + 0x50], 6
call sub.MFC42u.DLL_operator
mov eax, dword [eax]
mov byte [esp + 0x44], 7
push eax
call fcn.004011cc
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 6
call sub.MFC42u.DLL_CString::CString
mov byte [esp + 0x44], bl
lea ecx, [esp + 0x14]
jmp 0x412512
lea eax, [esp + 0x50]
lea ecx, [esp + 0x20]
push eax
push ecx
call sub.MFC42u.DLL_operator_1
lea edx, [esp + 8]
mov byte [esp + 0x44], 8
push edx
push eax
lea eax, [esp + 0x20]
push eax
call sub.MFC42u.DLL_operator
mov eax, dword [eax]
mov byte [esp + 0x44], 9
push eax
call fcn.004011e0
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 8
call sub.MFC42u.DLL_CString::CString
mov byte [esp + 0x44], bl
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x44], 1
call sub.MFC42u.DLL_CString::CString
test esi, esi
jne 0x412414
pop ebx
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CFileFind::Close
mov ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
mov byte [esp + 0x40], 0
lea ecx, [esp + 0x48]
jne 0x412577
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 0xffffffff
call fcn.00419f80
xor eax, eax
pop esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 0xffffffff
call fcn.00419f80
mov ecx, dword [esp + 0x38]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x40
ret