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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4ac
mov eax, dword [0x477008]
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 0x41a007
mov ebx, 0x80070057
mov ecx, ebx
call fcn.0042752a
jmp 0x41a055
lea edx, [ebp - 0x474]
call fcn.00421471
mov ebx, eax
test ebx, ebx
js 0x419ffe
cmp dword [ebp - 0x474], esi
jne 0x41a024
xor ebx, ebx
jmp 0x41a055
lea eax, [ebp - 0x46c]
mov edx, 0x408728
push eax
push ecx
mov ecx, dword [ebp - 0x484]
call fcn.00422135
mov ebx, eax
mov dword [ebp - 0x474], ebx
test ebx, ebx
jns 0x41a09b
mov ecx, ebx
call fcn.0042752a
mov edi, dword [ebp - 0x46c]
mov ecx, ebx
call fcn.00427547
mov eax, dword [ebp - 0x478]
test eax, eax
je 0x41a072
cmp eax, 0xffffffff
je 0x41a072
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
je 0x41a07d
mov ecx, esi
call fcn.004274da
test edi, edi
je 0x41a088
mov ecx, edi
call fcn.004274da
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00456cf0
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.0041c6ef
mov eax, dword [ebp - 0x478]
test eax, eax
je 0x41a2ee
cmp eax, 0xffffffff
je 0x41a2ee
mov eax, dword [ebp - 0x480]
xor edi, edi
mov dword [ebp - 0x47c], edi
test eax, eax
je 0x41a14c
mov eax, dword [eax + 4]
test eax, eax
je 0x41a14c
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 0x41a135
mov dword [ebp - 0x47c], 1
inc edi
cmp edi, esi
jb 0x41a109
mov esi, dword [ebp - 0x470]
mov ebx, dword [ebp - 0x474]
mov edi, dword [ebp - 0x47c]
push 0xffffffffffffffff
push 0x40805c
push 0xffffffffffffffff
lea eax, [ebp - 0x43c]
push eax
push 1
push 0x409
call dword [sym.imp.KERNEL32.dll_CompareStringW]
dec eax
dec eax
je 0x41a288
push 0xffffffffffffffff
push 0x40872c
push 0xffffffffffffffff
lea eax, [ebp - 0x43c]
push eax
push 1
push 0x409
call dword [sym.imp.KERNEL32.dll_CompareStringW]
dec eax
dec eax
je 0x41a288
test edi, edi
jne 0x41a288
test esi, esi
je 0x41a1af
mov ecx, esi
call fcn.004274da
and dword [ebp - 0x470], edi
lea eax, [ebp - 0x470]
push eax
push ecx
mov ecx, dword [ebp - 0x484]
lea edx, [ebp - 0x43c]
call fcn.00422135
mov ebx, eax
mov dword [ebp - 0x474], ebx
test ebx, ebx
js 0x41a2dc
test byte [ebp - 0x468], 0x10
je 0x41a277
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.00422d13
mov ebx, eax
mov dword [ebp - 0x474], ebx
test ebx, ebx
js 0x41a048
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 0x41a26d
cmp dword [ebp - 0x496], 1
jne 0x41a288
mov ebx, 0x80004005
jmp 0x41a048
mov esi, dword [ebp - 0x470]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x41a2c8
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 0x41a0e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x41a04f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.004247f6
mov ebx, eax
jmp 0x41a048
mov ecx, ebx
call fcn.0042752a
mov esi, dword [ebp - 0x470]
jmp 0x41a04f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.004247f6
mov ebx, eax
jmp 0x419ffe