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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10057a71
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x10086038]
xor eax, esp
mov dword [esp + 0x274], eax
push esi
push edi
mov eax, dword [0x10086038]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
xor edi, edi
push 0x24c
lea eax, [esp + 0x34]
push edi
push eax
mov dword [esp + 0x38], edi
call sub.MSVCR90.dll_memset
add esp, 0xc
xor eax, eax
mov esi, ebx
call fcn.10025f64
lea eax, [esp + 0x10]
push eax
call sym.PCBRhelper.dll_Ordinal_374
mov dword [esp + 0x294], edi
lea eax, [esp + 0x24]
mov dword [esp], str..log
push eax
lea esi, [esp + 0x18]
call fcn.10004ca0
mov eax, dword [eax]
pop ecx
pop ecx
lea ecx, [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], 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 [esp + 0xc], 0xffffffff
je 0x100234e6
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x10063904
lea eax, [esp + 0x5c]
push eax
call esi
test eax, eax
je 0x100234c5
push 0x100657ec
lea eax, [esp + 0x5c]
push eax
call esi
test eax, eax
je 0x100234c5
test byte [esp + 0x2c], 4
jne 0x100234c5
test dword [esp + 0x2c], 0x400
jne 0x100234c5
lea ecx, [esp + 0x14]
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 [esp + 0x18], edi
mov dword [esp + 0x1c], edi
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x294], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
lea eax, [esp + 0x40]
push eax
lea edi, [esp + 0x28]
call fcn.1000ef1b
mov eax, dword [esp + 0x24]
mov edi, dword [ebx + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
test edi, edi
jl 0x100234fc
lea eax, [edi + 1]
mov esi, ebx
call fcn.10025f64
imul edi, edi, 0xc
add edi, dword [ebx + 4]
lea eax, [esp + 0x14]
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_2]
mov eax, dword [esp + 0x18]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
mov dword [edi + 8], eax
mov byte [esp + 0x290], 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, [esp + 0x2c]
push eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100233f1
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebx + 8]
cmp esi, 5
jge 0x10023501
lea ecx, [esp + 0x10]
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 0x10023564
call sub.mfc90u.dll_AfxThrowInvalidArgException
push ebx
mov ecx, ebx
call fcn.100232eb
jmp 0x10023554
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
call dword [0x10061dd0]
mov eax, esi
mov ecx, ebx
mov byte [esp + 0x290], 2
call fcn.10025ec5
push eax
lea eax, [esp + 0x10]
push eax
call sym.PCBRhelper.dll_Ordinal_981
pop ecx
pop ecx
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0xc]
mov byte [esp + 0x290], 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 0x1002350b
lea ecx, [esp + 0x10]
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 [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x274]
xor ecx, esp
call fcn.10050724
mov esp, ebp
pop ebp
ret