Function at 0x4276a0
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x430334
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x170], 0
call sub.MFC42.DLL_CString::CString_3
push 1
push ecx
lea eax, [esp + 0x180]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x17c], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x18]
push ecx
call fcn.00426b50
add esp, 0xc
mov edx, dword [esp + 0x10]
mov byte [esp + 0x170], 2
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x427898
mov ecx, 0x50
xor eax, eax
lea edi, [esp + 0x28]
push 0x43b1c0
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 3
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x170], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x42787b
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
mov ecx, dword [esp + 0x28]
push ecx
push 0x10
call fcn.00427950
add esp, 8
lea edx, [esp + 0x54]
test eax, eax
push edx
jne 0x4277c9
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
push ecx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
lea ecx, [esp + 0x18]
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x4278ef
jmp 0x42785a
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [eax]
push 0x43b1bc
push eax
mov byte [esp + 0x178], 4
call ebp
add esp, 8
test eax, eax
je 0x42781c
lea eax, [esp + 0x54]
lea ecx, [esp + 0x20]
push eax
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [eax]
push 0x43b1b8
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x20]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x42781c
mov bl, 1
jmp 0x42781e
xor bl, bl
lea ecx, [esp + 0x1c]
mov byte [esp + 0x170], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x42785a
push ecx
lea edx, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x28], esp
lea eax, [esp + 0x14]
push edx
push eax
push ecx
call sub.MFC42.DLL_operator
call fcn.004276a0
add esp, 4
test eax, eax
je 0x4278ef
mov ecx, 0x50
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x28]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42777e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
push esi
jne 0x4278f0
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x170], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x178]
mov dword [esp + 0x170], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x168]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x164
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x10]
mov byte [esp + 0x170], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x178]
mov dword [esp + 0x170], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4278d6