Function at 0x4011d1
Capabilities:
Delete directory

Disassembly:
jmp 0x4137c0
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45de28
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
mov esi, dword [esp + 0x48]
test esi, esi
je 0x4139b5
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
je 0x4139b5
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_2
push 0x5c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], 1
call sub.MFC42u.DLL_CString::TrimRight_1
lea eax, [esp + 0x48]
push 0x46b008
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 0x41397e
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 0x413975
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_2
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 0x4697dc
je 0x413918
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.004011d1
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 0x413962
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.004011e5
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 0x413864
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 0x4139c7
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 0xffffffff
call fcn.0041bdb6
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.0041bdb6
mov ecx, dword [esp + 0x38]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x40
ret