Function at 0x40dec0
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x429347
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x431040]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x431040]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov dword [esp + 0x178], 1
mov edi, dword [esp + 0x180]
mov ebx, 0x42c61c
lea esi, [esp + 0x1c]
call fcn.0040de60
xor ebx, ebx
push 0x13c
lea eax, [esp + 0x34]
push ebx
mov byte [esp + 0x180], 2
push eax
mov dword [esp + 0x38], ebx
call fcn.0041c570
mov edx, dword [esp + 0x28]
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x40dfdd
mov byte [esp + 0x178], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40df7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x178], bl
mov eax, dword [esp + 0x180]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dfa8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x178], 0xffffffff
mov eax, dword [esp + 0x184]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dfd6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40e16d
lea ecx, [esp + 0x2c]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x40e0cf
lea edx, [esp + 0x58]
push 0x42c620
push edx
call fcn.0041af75
add esp, 8
test eax, eax
je 0x40e2c9
lea eax, [esp + 0x58]
push 0x42c310
push eax
call fcn.0041af75
add esp, 8
test eax, eax
je 0x40e2c9
mov edi, dword [esp + 0x180]
lea ebx, [esp + 0x58]
lea esi, [esp + 0x14]
call fcn.0040de60
mov bl, 3
mov byte [esp + 0x178], bl
test byte [esp + 0x2c], 0x10
je 0x40e195
mov eax, dword [esp + 0x184]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x2c], esp
mov esi, esp
call fcn.00402bb0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x17c], 4
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x2c], esp
mov esi, esp
call fcn.00402bb0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x180], bl
call fcn.0040dec0
add esp, 8
test eax, eax
jne 0x40e2a1
push 0xc
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [esp + 0x178], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40e0cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor ecx, ecx
cmp esi, 0x12
sete cl
mov byte [esp + 0x178], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov esi, ecx
mov ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40e112
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x178], 0
mov eax, dword [esp + 0x180]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e13d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x178], 0xffffffff
mov eax, dword [esp + 0x184]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e16b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.0041a2c9
add esp, 0x168
ret
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x5c]
call fcn.00401680
mov byte [esp + 0x178], 5
mov edx, dword [esp + 0x18]
push 0x2e
push edx
call fcn.0041b912
add esp, 8
test eax, eax
je 0x40e279
sub eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x40e279
lea ecx, [eax + 1]
lea esi, [esp + 0x20]
lea edx, [esp + 0x18]
call fcn.00409f60
lea ebx, [esp + 0x18]
mov byte [esp + 0x178], 6
call fcn.00402c20
mov byte [esp + 0x178], 5
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e218
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x184]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x40e2e2
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.0041b76c
add esp, 8
test eax, eax
jne 0x40e279
mov edx, dword [esp + 0x14]
push edx
push str.DELTMP:__s
mov ecx, 0x433658
call fcn.00404270
add esp, 8
test byte [esp + 0x2c], 1
je 0x40e26e
mov eax, dword [esp + 0x14]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [esp + 0x178], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40e2a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x178], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e2c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40dff1
jmp 0x40e0cf
push 0x80004005
call fcn.00401590
int3