Function at 0x4017c3
Capabilities:
Delete directory
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x32c
mov eax, dword [0x40b034]
xor eax, esp
mov dword [esp + 0x328], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
push edi
lea ecx, [esp + 0x20]
mov edi, edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.Common.dll_public:_void___thiscall_CZipFiles::constructor_void_]
add esi, 0x40
push esi
lea esi, [esp + 0xac]
call fcn.00402350
mov eax, esi
push eax
lea esi, [esp + 0x74]
call fcn.00402350
push 0
push edi
or eax, 0xffffffff
call fcn.004022b0
mov eax, esi
push eax
lea esi, [esp + 0xc8]
call fcn.00402350
mov ebx, dword [sym.imp.MSVCR100.dll_wcslen]
mov esi, 0x4095f0
push esi
call ebx
pop ecx
mov edi, eax
push esi
lea eax, [esp + 0xc8]
call fcn.00401e94
push 0x250
lea eax, [esp + 0xe4]
push 0
push eax
call dword [sym.imp.MSVCR100.dll_memset]
mov eax, dword [esp + 0xd0]
add esp, 0xc
cmp dword [esp + 0xd8], 8
jae 0x401880
lea eax, [esp + 0xc4]
lea ecx, [esp + 0xe0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
jne 0x4018e6
xor ebx, ebx
push 1
xor edi, edi
lea esi, [esp + 0xc8]
call fcn.00402702
push 1
lea esi, [esp + 0x74]
call fcn.00402702
push 1
lea esi, [esp + 0xac]
call fcn.00402702
lea ecx, [esp + 0x20]
call dword [sym.imp.Common.dll_public:_void___thiscall_CZipFiles::destructor_void_]
mov ecx, dword [esp + 0x334]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004080ae
mov esp, ebp
pop ebp
ret 8
push 0x4095f8
lea edi, [esp + 0x74]
lea eax, [esp + 0x90]
call fcn.004020ff
lea eax, [esp + 0x110]
push eax
call ebx
pop ecx
pop ecx
lea ecx, [esp + 0x10c]
mov edi, eax
push ecx
lea eax, [esp + 0x90]
call fcn.00401e94
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x4095fc
lea eax, [esp + 0x110]
push eax
call esi
test eax, eax
je 0x4019c1
push 0x409600
lea eax, [esp + 0x110]
push eax
call esi
test eax, eax
je 0x4019c1
lea eax, [esp + 0x10c]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_wchar_t__]
cmp dword [esp + 0x84], 8
mov eax, dword [esp + 0x70]
jae 0x401971
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.Common.dll_public:_bool___thiscall_CZipFiles::AddFile_class_CTXStringW_const___class_CTXStringW_const__]
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [esp + 0x18]
call esi
lea ecx, [esp + 0x14]
call esi
cmp dword [esp + 0xa0], 8
mov eax, dword [esp + 0x8c]
jae 0x4019ba
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
xor edi, edi
lea esi, [esp + 0x90]
call fcn.00402702
lea eax, [esp + 0xe0]
push eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4018e6
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [esp + 0x1c]
push str..zip
lea eax, [esp + 0x90]
call fcn.004020ff
mov ebx, eax
mov eax, dword [esp + 0x14]
pop ecx
call fcn.0040225c
push 1
xor edi, edi
lea esi, [esp + 0x90]
call fcn.00402702
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x14], 8
jb 0x401a32
mov eax, dword [eax]
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_wchar_t__]
push eax
lea ecx, [esp + 0x10]
call esi
cmp dword [esp + 0xbc], 8
mov eax, dword [esp + 0xa8]
jae 0x401a57
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x14]
call esi
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.Common.dll_public:_bool___thiscall_CZipFiles::GetZipFile_class_CTXStringW_const___class_CTXStringW_const__]
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [esp + 0x10]
movzx edi, al
call esi
lea ecx, [esp + 0xc]
call esi
lea ecx, [esp + 0x20]
call dword [sym.imp.Common.dll_public:_void___thiscall_CZipFiles::Clear_void_]
cmp dword [esp + 0x84], 8
mov eax, dword [esp + 0x70]
jae 0x401aa3
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebx, edi
jmp 0x40189a