Function at 0x4142f0
Capabilities:
Delete directory
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4190b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x6c], 1
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 2
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 3
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c], 4
call fcn.004171f2
lea eax, [esp + 0x74]
mov bl, 5
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], bl
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
push 1
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x41e14c
push eax
mov byte [esp + 0x74], 6
call edi
add esp, 8
test eax, eax
je 0x4143c1
lea edx, [esp + 0x20]
push 1
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x41e154
push eax
call edi
add esp, 8
lea ecx, [esp + 0x20]
test eax, eax
setne byte [esp + 0x13]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x13]
mov byte [esp + 0x13], 1
test al, al
jne 0x4143c6
mov byte [esp + 0x13], 0
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], bl
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x13]
test al, al
je 0x41440b
lea eax, [esp + 0x14]
push 0x41e14c
lea ecx, [esp + 0x28]
push eax
push ecx
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 7
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x14]
push 0x41e150
lea eax, [esp + 0x28]
push edx
push eax
call sub.MFC42.DLL_operator_3
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x74], 8
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], bl
setne byte [esp + 0x13]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x13]
test al, al
je 0x414676
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CFileFind::FindNextFileA
test eax, eax
jne 0x414468
mov byte [esp + 0x13], al
mov edx, dword [esp + 0x48]
push 0x10
lea ecx, [esp + 0x4c]
call dword [edx + 0x40]
test eax, eax
je 0x4144ee
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x41466a
lea eax, [esp + 0x24]
lea ecx, [esp + 0x48]
push eax
call sub.MFC42.DLL_CFileFind::GetFilePath
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 9
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], bl
call sub.MFC42.DLL_CString::CString
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x41ef68
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
mov byte [esp + 0x7c], 0xa
call fcn.004171fe
mov byte [esp + 0x78], bl
call fcn.004142f0
add esp, 0xc
jmp 0x41466a
lea eax, [esp + 0x20]
lea ecx, [esp + 0x48]
push eax
call sub.MFC42.DLL_CFileFind::GetFilePath
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 0xb
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x78]
push 0x41ef68
push ecx
call edi
add esp, 8
test eax, eax
je 0x414575
lea edx, [esp + 0x28]
lea ecx, [esp + 0x48]
push edx
call sub.MFC42.DLL_CFileFind::GetFileName
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x70], 0xc
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::MakeLower
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call edi
add esp, 8
test eax, eax
je 0x41466a
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x41466a
push 0x41e148
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Find
mov esi, eax
test esi, esi
jl 0x41466a
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
mov eax, dword [eax - 8]
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Right
mov edi, eax
push 0x41e15c
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70], 0xd
call sub.MFC42.DLL_CString::CString_2
mov ebp, eax
lea edx, [esp + 0x34]
push esi
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 0xe
call sub.MFC42.DLL_CString::Left
push ebp
push eax
lea eax, [esp + 0x38]
mov byte [esp + 0x74], 0xf
push eax
call sub.MFC42.DLL_operator_1
push edi
lea ecx, [esp + 0x30]
push eax
push ecx
mov byte [esp + 0x78], 0x10
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 0x11
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6c], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x6c], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
mov al, byte [esp + 0x13]
test al, al
jne 0x414457
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CFileFind::Close
mov eax, dword [esp + 0x7c]
test eax, eax
jne 0x41477d
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x41477d
push 0x41e148
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find
mov esi, eax
test esi, esi
jl 0x41477d
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x30]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x14]
sub eax, esi
push eax
push edx
call sub.MFC42.DLL_CString::Right
mov edi, eax
push 0x41e15c
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 0x12
call sub.MFC42.DLL_CString::CString_2
mov ebp, eax
lea eax, [esp + 0x38]
push esi
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 0x13
call sub.MFC42.DLL_CString::Left
push ebp
lea ecx, [esp + 0x40]
push eax
push ecx
mov byte [esp + 0x78], 0x14
call sub.MFC42.DLL_operator_1
push edi
lea edx, [esp + 0x80]
push eax
push edx
mov byte [esp + 0x78], 0x15
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 0x16
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x7c]
mov byte [esp + 0x6c], 0x15
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x6c], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c], 4
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x74]
mov byte [esp + 0x6c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x78]
mov dword [esp + 0x6c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret