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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60c9f8
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x685680]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov eax, ecx
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
push str..
mov edx, eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.0041b8e0
mov esi, eax
lea eax, [ebp - 0x44]
add esp, 4
cmp eax, esi
je 0x4192ee
cmp dword [ebp - 0x30], 0x10
jb 0x4192d3
push dword [ebp - 0x44]
call fcn.004b9997
add esp, 4
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.00416e10
cmp dword [ebp - 0x48], 0x10
jb 0x4192ff
push dword [ebp - 0x5c]
call fcn.004b9997
add esp, 4
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x1b4]
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
mov dword [ebp - 0x1b8], ebx
cmp ebx, 0xffffffff
je 0x4194e9
mov ebx, dword [ebp + 8]
mov esi, eax
mov edi, edi
cmp byte [ebp - 0x188], 0x2e
je 0x4194a0
test edi, edi
je 0x41937d
test ebx, ebx
jne 0x41937d
lea eax, [ebp - 0x188]
mov ecx, edi
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x419370
test dl, dl
je 0x41936c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x419370
add ecx, 2
add eax, 2
test dl, dl
jne 0x419350
xor eax, eax
jmp 0x419375
sbb eax, eax
or eax, 1
test eax, eax
je 0x4194a0
cmp dword [ebp - 0x18], 0x10
mov edx, dword [ebp - 0x1bc]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
push 0x650e58
lea ecx, [ebp - 0x74]
mov byte [eax], 0
call fcn.0041b8e0
add esp, 4
lea ecx, [ebp - 0x188]
push ecx
mov edx, eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.00423480
mov esi, eax
lea eax, [ebp - 0x2c]
add esp, 4
cmp eax, esi
je 0x419430
cmp dword [ebp - 0x18], 0x10
jb 0x4193da
push dword [ebp - 0x2c]
call fcn.004b9997
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp dword [esi + 0x14], 0x10
jae 0x419408
mov eax, dword [esi + 0x10]
inc eax
je 0x419413
push eax
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.005cd370
add esp, 0xc
jmp 0x419413
mov eax, dword [esi]
mov dword [ebp - 0x2c], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [ebp - 0x48], 0x10
jb 0x419441
push dword [ebp - 0x5c]
call fcn.004b9997
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x60], 0x10
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
jb 0x419468
push dword [ebp - 0x74]
call fcn.004b9997
add esp, 4
test byte [ebp - 0x1b4], 0x10
je 0x419488
lea eax, [ebx + 1]
push eax
mov edx, edi
lea ecx, [ebp - 0x2c]
call fcn.00419240
add esp, 4
test al, al
je 0x4194e5
jmp 0x41949a
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [ebp - 0x1b8]
lea eax, [ebp - 0x1b4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x419330
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x4194e5
test ebx, ebx
je 0x4194e9
mov eax, dword [ebp - 0x1bc]
cmp dword [eax + 0x14], 0x10
jb 0x4194da
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x4194e9
xor bl, bl
jmp 0x4194eb
mov bl, 1
cmp dword [ebp - 0x30], 0x10
jb 0x4194fc
push dword [ebp - 0x44]
call fcn.004b9997
add esp, 4
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
jb 0x41951f
push dword [ebp - 0x2c]
call fcn.004b9997
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005cd355
mov esp, ebp
pop ebp
ret