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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59145c
mov eax, dword fs:[0]
push eax
sub esp, 0x6a8
mov eax, dword [0x5f1414]
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 - 0x6b4], ecx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x424]
push 0x208
push 0
push eax
call fcn.005619c0
add esp, 0xc
cmp dword [ebx + 0x14], 8
jb 0x41f837
mov eax, dword [ebx]
jmp 0x41f839
mov eax, ebx
push eax
lea eax, [ebp - 0x424]
push str._s.
push eax
call fcn.0040e750
add esp, 0xc
lea eax, [ebp - 0x6a4]
push eax
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x6b0], esi
cmp esi, 0xffffffff
je 0x41fb0b
lea eax, [ebp - 0x6a4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x41fb0b
cmp word [ebp - 0x678], 0x2e
je 0x41f873
mov ax, word [ebp - 0x676]
test ax, ax
je 0x41f873
cmp ax, 0x2e
jne 0x41f8af
cmp word [ebp - 0x674], 0
je 0x41f873
call fcn.00415e90
test eax, eax
je 0x41fb01
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x6ac], eax
lea eax, [ebp - 0x678]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x6ac]
push 0x5daf68
push eax
call fcn.004155f0
add esp, 0xc
test byte [ebp - 0x6a4], 0x10
je 0x41f9c2
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.005619c0
mov edi, dword [ebp - 0x6ac]
add esp, 0xc
mov ecx, ebx
push edi
call fcn.0040e780
push eax
lea eax, [ebp - 0x21c]
push str._s_s_
push eax
call fcn.0040e750
xor eax, eax
mov dword [ebp - 0x440], 7
add esp, 0x10
mov dword [ebp - 0x444], 0
mov word [ebp - 0x454], ax
cmp word [ebp - 0x21c], ax
je 0x41f972
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41f963
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x454]
call fcn.00410890
mov ecx, dword [ebp - 0x6b4]
lea eax, [ebp - 0x454]
push eax
mov byte [ebp - 4], 1
call fcn.0041f7e0
mov eax, dword [ebp - 0x440]
cmp eax, 8
jb 0x41fad9
inc eax
lea ecx, [ebp - 0x454]
push eax
push dword [ebp - 0x454]
call fcn.00411000
jmp 0x41fad9
call fcn.00415e90
test eax, eax
je 0x41fb01
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x6a8], eax
mov byte [ebp - 4], 2
mov ecx, ebx
mov edi, dword [ebp - 0x6ac]
push edi
call fcn.0040e780
push eax
lea eax, [ebp - 0x6a8]
push str._s_s
push eax
call fcn.004155f0
mov esi, dword [ebp - 0x6a8]
add esp, 0x10
cmp dword [esi - 4], 1
jle 0x41fa26
push dword [esi - 0xc]
lea ecx, [ebp - 0x6a8]
call fcn.00414e90
mov esi, dword [ebp - 0x6a8]
xor eax, eax
mov dword [ebp - 0x428], 7
mov dword [ebp - 0x42c], 0
mov word [ebp - 0x43c], ax
cmp word [esi], ax
jne 0x41fa4c
xor ecx, ecx
jmp 0x41fa60
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41fa51
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x43c]
call fcn.00410890
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 3
push eax
call fcn.0041fb60
mov eax, dword [ebp - 0x428]
cmp eax, 8
jb 0x41fa9b
inc eax
lea ecx, [ebp - 0x43c]
push eax
push dword [ebp - 0x43c]
call fcn.00411000
xor eax, eax
mov dword [ebp - 0x428], 7
mov word [ebp - 0x43c], ax
add esi, 0xfffffff0
mov byte [ebp - 4], al
or eax, 0xffffffff
mov dword [ebp - 0x42c], 0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41fad3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x6b0]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x41f873
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41f873
push 0x80004005
call fcn.00415c00
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebx + 0x14], 8
jb 0x41fb1c
mov eax, dword [ebx]
jmp 0x41fb1e
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x41fb3c
cmp dword [ebx + 0x14], 8
jb 0x41fb31
mov ebx, dword [ebx]
push 4
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
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.004fb4f0
mov esp, ebp
pop ebp
ret 4