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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e3c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
mov eax, dword [0x4654b0]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.00418710
add esp, 8
mov dword [ebp - 4], 0
push 0x453194
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x168]
push eax
call fcn.00402990
add esp, 0xc
mov dword [ebp - 0x184], eax
lea ecx, [ebp - 0x15c]
push ecx
mov ecx, dword [ebp - 0x184]
call fcn.00413dd0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x164], eax
lea ecx, [ebp - 0x168]
call fcn.0041bb00
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x164], 0xffffffff
je 0x41930b
push 0x453198
lea edx, [ebp - 0x130]
push edx
call fcn.00419610
add esp, 8
test eax, eax
je 0x4190d9
push 0x45319c
lea eax, [ebp - 0x130]
push eax
call fcn.00419610
add esp, 8
test eax, eax
jne 0x4190de
jmp 0x419215
mov ecx, dword [ebp - 0x15c]
and ecx, 0x10
je 0x419141
lea edx, [ebp - 0x130]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x16c]
push ecx
call fcn.00402990
add esp, 0xc
mov dword [ebp - 0x188], eax
mov edx, dword [ebp - 0x188]
mov dword [ebp - 0x18c], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18c]
call fcn.00413dd0
push eax
call fcn.00419010
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x16c]
call fcn.0041bb00
jmp 0x419215
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x170]
push edx
call fcn.00402990
add esp, 0xc
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x190]
call fcn.00413dd0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x170]
call fcn.0041bb00
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x160], eax
push 3
call fcn.004256d0
add esp, 4
movzx eax, al
test eax, eax
jne 0x4191a0
jmp 0x419215
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x174]
push eax
call fcn.00402990
add esp, 0xc
mov dword [ebp - 0x194], eax
mov ecx, dword [ebp - 0x194]
mov dword [ebp - 0x198], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x198]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x160]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0x4531d4
push 0xd8
push 0x4531a0
push 3
call fcn.004256f0
add esp, 0xc
push eax
call fcn.00425630
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x174]
call fcn.0041bb00
lea eax, [ebp - 0x15c]
push eax
mov ecx, dword [ebp - 0x164]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4190a9
mov edx, dword [ebp - 0x164]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x178]
push ecx
call fcn.00418680
add esp, 8
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp - 0x19c]
call fcn.00413dd0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x178]
call fcn.0041bb00
push 3
call fcn.004256d0
add esp, 4
movzx edx, al
test edx, edx
jne 0x419296
jmp 0x41930b
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x17c]
push edx
call fcn.00402990
add esp, 0xc
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1a4]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x160]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0x453220
push 0xe0
push 0x4531ec
push 3
call fcn.004256f0
add esp, 0xc
push eax
call fcn.00425630
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x17c]
call fcn.0041bb00
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x180], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041bb00
mov eax, dword [ebp - 0x180]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x18]
call fcn.0042fef0
mov esp, ebp
pop ebp
ret