Function at 0x415f40
Capabilities:
Delete directory
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3851
mov eax, dword fs:[0]
push eax
sub esp, 0x88c
mov eax, dword [0x4e13b0]
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 edi, ecx
mov dword [ebp - 0x898], edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x88c], ebx
test ebx, ebx
je 0x4163b4
cmp word [ebx], 0
je 0x4163b4
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415f96
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
jge 0x4163b4
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00440bc0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x4bf1bc
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call fcn.00412d90
push eax
call fcn.00412d70
mov dword [ebp - 0x890], eax
mov eax, 0x5c
mov word [ebp - 0x42c], ax
mov dword [ebp - 0x428], 0
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x424], 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
cmp eax, 0x104
jge 0x41634d
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x858]
push 0x104
push eax
call fcn.00468ecf
push eax
call fcn.004071a0
add esp, 0x10
lea eax, [ebp - 0x884]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x428], eax
cmp eax, 0xffffffff
je 0x416335
push 0
lea eax, [ebp - 0x634]
push eax
push 0x104
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x4160c2
mov dword [ebp - 0x424], eax
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x4160b5
cmp eax, 0xffffffff
je 0x4160b5
push eax
call esi
mov dword [ebp - 0x428], 0
push 0x7b
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x41634d
lea eax, [ebp - 0x634]
push 0x5c
push eax
call fcn.00441f71
mov esi, eax
lea eax, [ebp - 0x634]
push 0x2f
push eax
call fcn.00441f71
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x4160f3
test esi, esi
je 0x41610e
lea ecx, [ebp - 0x634]
test esi, esi
lea eax, [ebp - 0x634]
cmovne eax, esi
cmp ecx, eax
jb 0x416109
xor eax, eax
mov word [ecx], ax
jmp 0x41610e
xor ecx, ecx
mov word [eax], cx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x424], 1
nop
cmp dword [ebp - 0x424], 0
je 0x416184
mov eax, dword [ebp - 0x884]
shr eax, 4
and eax, 1
cmp word [ebp - 0x858], 0x2e
jne 0x416184
test eax, eax
je 0x416184
mov ax, word [ebp - 0x856]
test ax, ax
je 0x41615f
cmp ax, 0x2e
jne 0x416184
cmp word [ebp - 0x854], 0
jne 0x416184
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x416329
lea ecx, [ebp - 0x884]
push ecx
push eax
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
jmp 0x41631a
lea eax, [ebp - 0x894]
push eax
lea ecx, [ebp - 0x884]
call fcn.004156c0
lea eax, [ebp - 0x888]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x884]
call fcn.00415630
mov eax, dword [ebp - 0x888]
mov byte [ebp - 4], 2
mov esi, dword [eax - 0xc]
test esi, esi
js 0x4163d2
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x4161e4
push esi
lea ecx, [ebp - 0x888]
call fcn.00404830
mov eax, dword [ebp - 0x888]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.0044a316
mov eax, dword [ebp - 0x888]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x4163d2
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x888]
mov word [eax + esi*2], cx
mov ecx, dword [ebp - 0x890]
push dword [ebp - 0x888]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
mov esi, dword [ebp - 0x894]
test eax, eax
jne 0x41626c
push esi
call fcn.00427d20
add esp, 4
test eax, eax
jne 0x41626c
push dword [ebp - 0x888]
call fcn.00421540
add esp, 4
test eax, eax
jne 0x41626c
lea ecx, [ebp - 0x884]
call fcn.00415600
push dword [ebp - 0x888]
mov edi, eax
push 0x4bf1c0
call fcn.00414af0
add esp, 8
jmp 0x4162dc
cmp dword [ebp - 0x424], 0
je 0x416283
mov eax, dword [ebp - 0x884]
shr eax, 4
and eax, 1
jmp 0x416285
xor eax, eax
lea ecx, [edi + 0x6c]
push ecx
push esi
test eax, eax
je 0x416295
call fcn.00422f50
jmp 0x4162ac
call fcn.00422b40
add esp, 8
test eax, eax
je 0x4162af
push esi
push str.Delete_File:__s
call fcn.00414af0
add esp, 8
mov eax, dword [ebp - 0x428]
test eax, eax
jne 0x4162bd
xor edi, edi
jmp 0x4162dc
cmp dword [ebp - 0x424], 0
jne 0x4162ca
xor edi, edi
jmp 0x4162dc
lea ecx, [ebp - 0x884]
push ecx
push eax
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
mov edx, dword [ebp - 0x888]
or eax, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4162fe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41631a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x416341
mov edi, dword [ebp - 0x898]
jmp 0x416120
mov ebx, dword [ebp - 0x88c]
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x424], 0
jmp 0x416373
mov ebx, dword [ebp - 0x88c]
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x428]
mov dword [ebp - 0x424], 0
test eax, eax
je 0x416373
cmp eax, 0xffffffff
je 0x416373
push eax
call esi
mov dword [ebp - 0x428], 0
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
mov edx, str.failed.
mov ecx, str.suceess
cmove ecx, edx
push ecx
push ebx
push str.remove_directory__s__s
call fcn.00414af0
mov eax, dword [ebp - 0x428]
add esp, 0xc
mov dword [ebp - 0x424], 0
test eax, eax
je 0x4163b4
cmp eax, 0xffffffff
je 0x4163b4
push eax
call esi
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.00428c45
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004031a0
int3