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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057480
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x37c
mov eax, dword [0x10076008]
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 dword [ebp - 0x10], esp
mov dword [ebp - 0x35c], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.10005620
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.10005620
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.10005620
mov byte [ebp - 4], 3
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x344], 0
mov byte [ebp - 4], 4
push 0x5c
lea ecx, [ebp + 8]
call fcn.10005370
mov edx, eax
lea ecx, [ebp - 0x74]
call fcn.1002f170
add esp, 4
mov dword [ebp - 0x350], eax
mov eax, dword [ebp - 0x350]
push eax
lea ecx, [ebp - 0x44]
call fcn.100054a0
lea ecx, [ebp - 0x74]
call fcn.10005450
mov dword [ebp - 0x344], 1
push 0x1006dcb8
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x8c]
push edx
call fcn.1000a460
add esp, 0xc
mov dword [ebp - 0x354], eax
mov eax, dword [ebp - 0x354]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100054a0
lea ecx, [ebp - 0x8c]
call fcn.10005450
lea ecx, [ebp - 0x33c]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10005370
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x34c], eax
mov dword [ebp - 0x344], 2
push 0x1006dcc0
lea edx, [ebp - 0x310]
push edx
call fcn.10040d51
add esp, 8
test eax, eax
je 0x100202a9
push 0x1006dcc4
lea eax, [ebp - 0x310]
push eax
call fcn.10040d51
add esp, 8
test eax, eax
je 0x100202a9
mov ecx, dword [ebp - 0x33c]
and ecx, 0x400
je 0x10020016
lea edx, [ebp - 0x310]
push edx
lea ecx, [ebp - 0x44]
call fcn.10005370
push eax
push 0x1006dccc
lea eax, [ebp - 0xa4]
push eax
call fcn.1002eaa0
add esp, 0x10
mov dword [ebp - 0x358], eax
mov ecx, dword [ebp - 0x358]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.100054a0
lea ecx, [ebp - 0xa4]
call fcn.10005450
jmp 0x100202ae
mov edx, dword [ebp - 0x33c]
and edx, 0x10
je 0x100200d0
mov dword [ebp - 0x344], 3
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x5c]
call fcn.100053e0
push 0x1006dcd8
lea ecx, [ebp - 0x5c]
call fcn.1000a2e0
lea ecx, [ebp - 0x310]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.1000a2e0
mov edx, dword [ebp + 0x20]
push edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x374], esp
lea eax, [ebp - 0x5c]
push eax
call fcn.10005670
mov ecx, dword [ebp - 0x35c]
call fcn.1001fe70
mov byte [ebp - 4], 5
push 0x80
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x378], esp
lea edx, [ebp - 0x5c]
push edx
call fcn.10005670
call fcn.10009e20
add esp, 0x1c
lea ecx, [ebp - 0x5c]
call fcn.10005370
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x100200b6
mov dword [ebp - 4], 4
jmp 0x100200c6
call fcn.1000a2a0
jmp 0x100202a9
mov dword [ebp - 0x344], 4
mov byte [ebp - 0x33d], 0
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0x44]
call fcn.10005370
push eax
push 0x1006dcdc
lea ecx, [ebp - 0xbc]
push ecx
call fcn.1002eaa0
add esp, 0x10
mov dword [ebp - 0x360], eax
mov edx, dword [ebp - 0x360]
push edx
lea ecx, [ebp - 0x2c]
call fcn.100054a0
lea ecx, [ebp - 0xbc]
call fcn.10005450
lea ecx, [ebp - 0x348]
call fcn.100222d0
lea eax, [ebp - 0x37c]
push eax
mov ecx, dword [ebp + 0x20]
call fcn.10022440
mov ecx, dword [eax]
mov dword [ebp - 0x348], ecx
jmp 0x1002015d
push 0
lea edx, [ebp - 0x380]
push edx
lea ecx, [ebp - 0x348]
call fcn.10022280
lea eax, [ebp - 0x384]
push eax
mov ecx, dword [ebp + 0x20]
call fcn.100223e0
push eax
lea ecx, [ebp - 0x348]
call fcn.10022240
mov byte [ebp - 0x33e], al
movzx ecx, byte [ebp - 0x33e]
test ecx, ecx
je 0x100201cf
lea ecx, [ebp - 0x348]
call fcn.100222b0
mov dword [ebp - 0x364], eax
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x364]
push eax
call fcn.10006fb0
add esp, 8
mov dword [ebp - 0x368], eax
cmp dword [ebp - 0x368], 0
jne 0x100201c5
mov byte [ebp - 0x33d], 1
jmp 0x100201cf
call fcn.1000a2a0
jmp 0x10020149
movzx ecx, byte [ebp - 0x33d]
test ecx, ecx
je 0x100201df
jmp 0x100202ae
lea edx, [ebp - 0x310]
push edx
lea ecx, [ebp - 0x44]
call fcn.10005370
push eax
push 0x1006dce8
lea eax, [ebp - 0xd4]
push eax
call fcn.1002eaa0
add esp, 0x10
mov dword [ebp - 0x36c], eax
mov ecx, dword [ebp - 0x36c]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.100054a0
lea ecx, [ebp - 0xd4]
call fcn.10005450
push 0x80
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x388], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.10005670
call fcn.10009e20
add esp, 0x1c
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0x44]
call fcn.10005370
push eax
push str._s_s
lea ecx, [ebp - 0xec]
push ecx
call fcn.1002eaa0
add esp, 0x10
mov dword [ebp - 0x370], eax
mov edx, dword [ebp - 0x370]
push edx
lea ecx, [ebp - 0x2c]
call fcn.100054a0
lea ecx, [ebp - 0xec]
call fcn.10005450
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x38c], esp
lea eax, [ebp - 0x2c]
push eax
call fcn.10005670
call fcn.10009ca0
add esp, 0x18
call fcn.1000a2a0
call fcn.1000a2a0
lea ecx, [ebp - 0x33c]
push ecx
mov edx, dword [ebp - 0x34c]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1001ff7d
mov dword [ebp - 0x344], 5
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x44]
call fcn.10005370
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x100202ef
mov dword [ebp - 4], 4
jmp 0x100202ff
call fcn.1000a2a0
jmp 0x10020327
mov dword [ebp - 4], 3
jmp 0x10020337
cmp dword [ebp - 0x34c], 0
je 0x1002034d
mov ecx, dword [ebp - 0x34c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.10005450
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.10005450
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.10005450
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10005450
jmp 0x10020391
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.1002fa64
mov esp, ebp
pop ebp
ret 0x1c