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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491a33
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x4b6798]
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 eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
mov edi, 7
xor ecx, ecx
mov dword [ebp - 0x2d8], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], cx
add eax, 0x20
push ebx
mov dword [ebp - 4], ebx
xor edx, edx
push eax
or eax, 0xffffffff
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], dx
call fcn.004097e0
push 1
push 0x49c478
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.004046f0
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x46acc3
sub eax, edx
sar eax, 1
push eax
push esi
lea eax, [ebp - 0x4c]
call fcn.004046f0
xor eax, eax
push ebx
lea ecx, [ebp - 0x4c]
mov word [ebp - 0x68], ax
push ecx
or eax, 0xffffffff
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], ebx
call fcn.004097e0
push 2
push 0x4a5824
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.004046f0
cmp dword [ebp - 0x54], 8
mov eax, dword [ebp - 0x68]
jae 0x46ad17
lea eax, [ebp - 0x68]
push ebx
push ebx
push ebx
lea edx, [ebp - 0x2d4]
push edx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov dword [ebp - 0x2dc], eax
cmp eax, ebx
jne 0x46ad49
push eax
mov dword [ebp - 0x2d8], 0x80004005
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x46af09
lea eax, [ebp - 0x2a8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x46ad52
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x2a8]
lea esi, [ebp - 0x30]
call fcn.00409bc0
mov eax, dword [ebp - 0x20]
push 0x49bcc4
mov edi, 1
mov ecx, esi
call fcn.004041a0
test eax, eax
je 0x46ada4
mov eax, dword [ebp - 0x20]
push 0x49c208
mov edi, 2
mov ecx, esi
call fcn.004041a0
test eax, eax
jne 0x46ae61
mov ecx, dword [ebp - 0x2dc]
lea eax, [ebp - 0x2d4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x46ae61
lea eax, [ebp - 0x2a8]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x46add0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x2a8]
lea esi, [ebp - 0x30]
call fcn.00409bc0
mov eax, dword [ebp - 0x20]
push 0x49bcc4
mov edi, 1
mov ecx, esi
call fcn.004041a0
test eax, eax
je 0x46ae1e
mov eax, dword [ebp - 0x20]
push 0x49c208
mov edi, 2
mov ecx, esi
call fcn.004041a0
test eax, eax
jne 0x46ae61
mov eax, dword [ebp - 0x2dc]
lea edx, [ebp - 0x2d4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x46af7d
lea eax, [ebp - 0x2a8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x46ae43
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x2a8]
lea esi, [ebp - 0x30]
call fcn.00409bc0
mov eax, dword [ebp - 0x20]
push 0x49d06c
mov edi, 0xf
lea ecx, [ebp - 0x30]
call fcn.004041a0
test eax, eax
jne 0x46af7d
mov esi, dword [ebp - 0x2dc]
lea ecx, [ebp - 0x2d4]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, ebx
jne 0x46af7d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x4a582c
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x84]
push eax
call fcn.0045e600
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.004030e0
mov esi, 8
cmp dword [ebp - 0x70], esi
jb 0x46aee0
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.004736d0
add esp, 4
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], esi
jae 0x46aeeb
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], esi
jae 0x46aefd
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, 7
mov esi, 8
cmp dword [ebp - 0x54], esi
jb 0x46af1f
mov edx, dword [ebp - 0x68]
push edx
call fcn.004736d0
add esp, 4
xor eax, eax
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], ax
cmp dword [ebp - 0x38], esi
jb 0x46af3c
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004736d0
add esp, 4
xor edx, edx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], dx
cmp dword [ebp - 0x1c], esi
jb 0x46af59
mov eax, dword [ebp - 0x30]
push eax
call fcn.004736d0
add esp, 4
mov eax, dword [ebp - 0x2d8]
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.004736db
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 0x2dc], 0xffffffff
mov dword [ebp - 0x2d8], 0x80004005
je 0x46af04
mov eax, dword [ebp - 0x2dc]
push eax
mov edi, 7
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x46af09