Function at 0x10031dfe
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
sub esp, 0x250
lea ebp, [esp - 4]
mov eax, dword [0x10112038]
xor eax, ebp
mov dword [ebp + 0x250], eax
push 0x28
mov eax, 0x1009a8d3
call fcn.1008f87d
xor edi, edi
push 0x24c
lea eax, [ebp + 4]
mov ebx, ecx
push edi
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp], edi
call sub.MSVCR90.dll_memset
add esp, 0xc
xor eax, eax
mov esi, ebx
call fcn.1003685d
lea eax, [ebp - 0x18]
push eax
call sym.ASOHelper.dll_public:_static_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_CSystweakApp::GetAppDataAppPath_void_
mov dword [ebp - 4], edi
lea eax, [ebp - 0x2c]
mov dword [esp], str..log
push eax
lea esi, [ebp - 0x18]
call fcn.1000a016
mov eax, dword [eax]
pop ecx
pop ecx
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp dword [ebp - 0x14], 0xffffffff
je 0x10031f93
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x100b70d0
lea eax, [ebp + 0x2c]
push eax
call esi
test eax, eax
je 0x10031f75
push 0x100b9f74
lea eax, [ebp + 0x2c]
push eax
call esi
test eax, eax
je 0x10031f75
test byte [ebp], 4
jne 0x10031f75
test dword [ebp], 0x400
jne 0x10031f75
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_4]
lea eax, [ebp + 0x14]
push eax
lea edi, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.10014133
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 1
jmp 0x10031f32
mov edi, dword [ebx + 8]
test edi, edi
jge 0x10031f3e
call fcn.1008dc84
lea eax, [edi + 1]
mov esi, ebx
call fcn.1003685d
imul edi, edi, 0xc
add edi, dword [ebx + 4]
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
mov eax, dword [ebp - 0x20]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x24]
mov dword [edi + 8], eax
mov byte [ebp - 4], 0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor edi, edi
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10031e8b
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebx + 8]
cmp esi, 5
jge 0x10031fa8
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov al, 1
jmp 0x10031ffd
push ebx
mov ecx, ebx
call fcn.10031da8
jmp 0x10031fee
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call dword [0x100b6030]
mov eax, esi
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.100367be
push eax
lea eax, [ebp - 0x14]
push eax
call sym.ASOHelper.dll_enum_PCO_ERROR_CODES___cdecl_STPathAppend_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__
pop ecx
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
dec esi
cmp esi, 4
jg 0x10031fb2
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x250]
xor ecx, ebp
call fcn.1008e7ae
add ebp, 0x254
leave
ret