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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54857f
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x5b39c0]
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
mov dword [ebp - 4], 0
call fcn.0040dcb4
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x403df1
push 0x80004005
call fcn.004011e0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x274], esi
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], 0
jge 0x403e18
push 0x80070057
call fcn.004011e0
movzx ecx, word [eax]
cmp ecx, 0x2e
je 0x404001
push ecx
add eax, 0xfffffff0
mov edi, esp
push eax
call fcn.00401200
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00404150
add esp, 4
cmp eax, 1
jne 0x404001
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00401200
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00404b00
mov ecx, esp
mov dword [ebp - 0x264], esp
push 0x559fe4
call fcn.00402210
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov byte [ebp - 4], 2
call fcn.00401200
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea eax, [ebp - 0x268]
push eax
mov byte [ebp - 4], 1
call fcn.00403a20
add esp, 0xc
push eax
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 3
call fcn.00401110
mov edx, dword [ebp - 0x268]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x403ed9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x274]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
jne 0x403f00
xor edi, edi
jmp 0x404004
test byte [ebp - 0x260], 0x10
je 0x403f63
cmp word [ebp - 0x234], 0x2e
je 0x403fb7
push 1
push ecx
mov ebx, esp
push ecx
lea eax, [ebp - 0x234]
mov ecx, esp
mov dword [ebp - 0x26c], esp
push eax
call fcn.00402210
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov edi, esp
push eax
mov byte [ebp - 4], 4
call fcn.00401200
add esp, 4
add eax, 0x10
mov dword [edi], eax
push ebx
mov byte [ebp - 4], 1
call fcn.00403a20
add esp, 0xc
call fcn.00403da0
add esp, 8
jmp 0x403fab
push ecx
mov ebx, esp
push ecx
lea eax, [ebp - 0x234]
mov ecx, esp
mov dword [ebp - 0x270], esp
push eax
call fcn.00402210
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov edi, esp
push eax
mov byte [ebp - 4], 5
call fcn.00401200
add esp, 4
add eax, 0x10
mov dword [edi], eax
push ebx
mov byte [ebp - 4], 1
call fcn.00403a20
add esp, 0xc
call fcn.00404070
add esp, 4
mov edi, eax
test edi, edi
js 0x403ff3
mov eax, dword [ebp - 0x264]
lea ecx, [ebp - 0x260]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x403fd4
mov eax, dword [ebp - 0x264]
jmp 0x403f00
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0xc], 0
je 0x403fef
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor edi, edi
jmp 0x404004
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x404004
or edi, 0xffffffff
add esi, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x404024
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x404045
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.0052db16
mov esp, ebp
pop ebp
ret