Function at 0x1001d1c0
Capabilities:
Delete file
Enumerate files on windows
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1002b442
push eax
mov eax, dword [0x1003db68]
mov dword fs:[0], esp
sub esp, 0x268
test eax, eax
jne 0x1001d1fb
xor eax, eax
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
add esp, 0x274
ret
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x14]
mov dword [esp + 0x280], 0
call sub.MFC42.DLL_CString::CString_2
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x174]
mov byte [esp + 0x280], 1
rep stosd dword es:[edi], eax
lea eax, [esp + 0x174]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ecx, dword [0x1003db68]
lea edx, [esp + 0x174]
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x100303fc
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x20]
call fcn.10022ffa
lea ecx, [esp + 0x18]
mov byte [esp + 0x280], 2
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
mov bl, 3
push str._s.tmp
push edx
mov byte [esp + 0x28c], bl
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add esp, 0xc
lea eax, [esp + 0x34]
push eax
push ecx
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1001d323
cmp byte [esp + 0x60], 0x2e
je 0x1001d30c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x60]
push edx
push eax
lea ecx, [esp + 0x18]
push 0x10030690
push ecx
mov byte [esp + 0x290], 4
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x20]
add esp, 0x10
push edx
call ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x280], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1001d2c1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push str._s.s
push edx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x24]
add esp, 0xc
lea eax, [esp + 0x34]
push eax
push ecx
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x1001d3af
cmp byte [esp + 0x60], 0x2e
je 0x1001d398
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x60]
push edx
push eax
lea ecx, [esp + 0x18]
push 0x10030690
push ecx
mov byte [esp + 0x290], 5
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x20]
add esp, 0x10
push edx
call ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x280], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1001d34d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x18]
mov byte [esp + 0x280], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x280], 1
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x14]
mov byte [esp + 0x280], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x280], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x278]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x274
ret