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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10083da1
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x100a7070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
lea ecx, [ebp - 0x264]
xor ebx, ebx
call fcn.10018a60
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x264]
mov edi, dword [eax - 0xc]
lea ecx, [edi - 1]
test ecx, ecx
js 0x1003f251
cmp ecx, edi
jg 0x1003f251
cmp word [eax + ecx*2], 0x5c
je 0x1003f2a1
lea esi, [edi + 1]
test esi, esi
jns 0x1003f25b
push 0x80070057
call fcn.100142e0
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x1003f27e
push esi
lea ecx, [ebp - 0x264]
call fcn.100195b0
mov eax, dword [ebp - 0x264]
mov ecx, 0x5c
mov word [eax + edi*2], cx
mov eax, dword [ebp - 0x264]
cmp esi, dword [eax - 8]
jg 0x1003f251
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x264]
mov word [eax + esi*2], cx
push 0x10097b30
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x270]
call fcn.100184a0
add esp, 4
lea ecx, [ebp - 0x260]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x270]
or esi, 0xffffffff
mov dword [ebp - 0x26c], eax
add edx, 0xfffffff0
mov ecx, esi
lock xadd dword [edx + 0xc], ecx
dec ecx
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
test ecx, ecx
jg 0x1003f30d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov esi, dword [eax + 4]
cmp eax, 0x10097a44
jne 0x1003f308
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x1003f30a
call esi
or esi, 0xffffffff
cmp dword [ebp - 0x26c], 0xffffffff
jne 0x1003f320
xor ebx, ebx
jmp 0x1003f53a
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x268]
call fcn.10018a60
mov byte [ebp - 4], 1
mov edx, 0x10097b38
mov eax, dword [ebp - 0x268]
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x1003f369
test si, si
je 0x1003f365
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x1003f369
add ecx, 4
add edx, 4
test si, si
jne 0x1003f343
xor ecx, ecx
jmp 0x1003f36e
sbb ecx, ecx
or ecx, 1
test ecx, ecx
sete cl
test cl, cl
jne 0x1003f4f3
mov edx, 0x10097b3c
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x1003f3a8
test si, si
je 0x1003f3a4
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x1003f3a8
add ecx, 4
add edx, 4
test si, si
jne 0x1003f382
xor ecx, ecx
jmp 0x1003f3ad
sbb ecx, ecx
or ecx, 1
test ecx, ecx
sete cl
test cl, cl
jne 0x1003f4f3
test dword [ebp - 0x260], 0x10
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x264]
push eax
je 0x1003f4cc
lea ecx, [ebp - 0x274]
call fcn.1003b260
add esp, 4
mov byte [ebp - 4], 2
mov ecx, dword [eax]
call fcn.1003f1f0
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov edx, dword [ebp - 0x274]
mov ebx, eax
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003f42e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov esi, dword [eax + 4]
cmp eax, 0x10097a44
jne 0x1003f429
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x1003f42b
call esi
or esi, 0xffffffff
test ebx, ebx
je 0x1003f523
lea eax, [ebp - 0x268]
push eax
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x278]
call fcn.1003b260
add esp, 4
push dword [eax]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edx, dword [ebp - 0x278]
add edx, 0xfffffff0
mov ebx, eax
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003f490
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov esi, dword [eax + 4]
cmp eax, 0x10097a44
jne 0x1003f48b
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x1003f48d
call esi
or esi, 0xffffffff
test ebx, ebx
je 0x1003f523
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
mov eax, esi
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003f506
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, 0x10097a44
jne 0x1003f4ff
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x1003f503
lea ecx, [ebp - 0x27c]
call fcn.1003b260
add esp, 4
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x27c]
add edx, 0xfffffff0
or esi, 0xffffffff
jmp 0x1003f462
mov byte [ebp - 4], 0
lea ecx, [eax - 0x10]
or esi, 0xffffffff
jmp 0x1003f4a5
mov ecx, edx
call esi
or esi, 0xffffffff
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1003f320
jmp 0x1003f52e
lea ecx, [ebp - 0x268]
call fcn.10018360
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], esi
dec esi
test esi, esi
jg 0x1003f573
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, 0x10097a44
jne 0x1003f56f
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x1003f573
mov ecx, edx
call esi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004450b
mov esp, ebp
pop ebp
ret