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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4ac
mov eax, dword [0x472008]
xor eax, ebp
mov dword [ebp - 4], eax
or dword [ebp - 0x478], 0xffffffff
mov eax, ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x480], edx
xor esi, esi
mov dword [ebp - 0x484], eax
mov dword [ebp - 0x46c], edi
mov dword [ebp - 0x470], esi
test eax, eax
jne 0x4167ee
mov ebx, 0x80070057
mov ecx, ebx
call fcn.00419094
jmp 0x41683c
lea edx, [ebp - 0x474]
call fcn.004197ec
mov ebx, eax
test ebx, ebx
js 0x4167e5
cmp dword [ebp - 0x474], esi
jne 0x41680b
xor ebx, ebx
jmp 0x41683c
lea eax, [ebp - 0x46c]
mov edx, 0x406e98
push eax
push ecx
mov ecx, dword [ebp - 0x484]
call fcn.00419ad1
mov ebx, eax
mov dword [ebp - 0x474], ebx
test ebx, ebx
jns 0x416882
mov ecx, ebx
call fcn.00419094
mov edi, dword [ebp - 0x46c]
mov ecx, ebx
call fcn.004190b1
mov eax, dword [ebp - 0x478]
test eax, eax
je 0x416859
cmp eax, 0xffffffff
je 0x416859
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
je 0x416864
mov ecx, esi
call fcn.00418f57
test edi, edi
je 0x41686f
mov ecx, edi
call fcn.00418f57
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00451d90
mov esp, ebp
pop ebp
ret
push 0x250
lea eax, [ebp - 0x468]
push 0
push eax
call sub.msvcrt.dll_memset
mov edi, dword [ebp - 0x46c]
lea eax, [ebp - 0x468]
add esp, 0xc
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push eax
lea ecx, [ebp - 0x478]
call fcn.004147f3
mov eax, dword [ebp - 0x478]
test eax, eax
je 0x416ad5
cmp eax, 0xffffffff
je 0x416ad5
mov eax, dword [ebp - 0x480]
xor edi, edi
mov dword [ebp - 0x47c], edi
test eax, eax
je 0x416933
mov eax, dword [eax + 4]
test eax, eax
je 0x416933
mov ebx, dword [ebp - 0x480]
mov esi, eax
mov eax, dword [ebx + 8]
lea ecx, [ebp - 0x43c]
push 0xffffffffffffffff
push ecx
push 0xffffffffffffffff
push dword [eax + edi*4]
push 1
push 0x409
call dword [sym.imp.KERNEL32.dll_CompareStringW]
dec eax
dec eax
jne 0x41691c
mov dword [ebp - 0x47c], 1
inc edi
cmp edi, esi
jb 0x4168f0
mov esi, dword [ebp - 0x470]
mov ebx, dword [ebp - 0x474]
mov edi, dword [ebp - 0x47c]
push 0xffffffffffffffff
push 0x406e9c
push 0xffffffffffffffff
lea eax, [ebp - 0x43c]
push eax
push 1
push 0x409
call dword [sym.imp.KERNEL32.dll_CompareStringW]
dec eax
dec eax
je 0x416a6f
push 0xffffffffffffffff
push 0x406ea0
push 0xffffffffffffffff
lea eax, [ebp - 0x43c]
push eax
push 1
push 0x409
call dword [sym.imp.KERNEL32.dll_CompareStringW]
dec eax
dec eax
je 0x416a6f
test edi, edi
jne 0x416a6f
test esi, esi
je 0x416996
mov ecx, esi
call fcn.00418f57
and dword [ebp - 0x470], edi
lea eax, [ebp - 0x470]
push eax
push ecx
mov ecx, dword [ebp - 0x484]
lea edx, [ebp - 0x43c]
call fcn.00419ad1
mov ebx, eax
mov dword [ebp - 0x474], ebx
test ebx, ebx
js 0x416ac3
test byte [ebp - 0x468], 0x10
je 0x416a5e
push 0x106
lea eax, [ebp - 0x218]
push 0
push eax
call sub.msvcrt.dll_memset
mov esi, dword [ebp - 0x470]
lea ecx, [ebp - 0x218]
add esp, 0xc
mov edx, 0x105
push esi
call fcn.004145b1
mov ebx, eax
mov dword [ebp - 0x474], ebx
test ebx, ebx
js 0x41682f
push 7
xor eax, eax
lea edi, [ebp - 0x4a8]
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x4a0], eax
mov eax, 0x614
mov word [ebp - 0x498], ax
lea eax, [ebp - 0x4a8]
push eax
mov dword [ebp - 0x4a4], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x416a54
cmp dword [ebp - 0x496], 1
jne 0x416a6f
mov ebx, 0x80004005
jmp 0x41682f
mov esi, dword [ebp - 0x470]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x416aaf
push 0x250
lea eax, [ebp - 0x468]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x468]
push eax
push dword [ebp - 0x478]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4168cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x416836
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00418df2
mov ebx, eax
jmp 0x41682f
mov ecx, ebx
call fcn.00419094
mov esi, dword [ebp - 0x470]
jmp 0x416836
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00418df2
mov ebx, eax
jmp 0x4167e5