Function at 0x46c6db
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x56a28c]
test eax, eax
jne 0x46c9b4
mov eax, dword [0xa2986c]
test eax, eax
jne 0x46c710
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004472be
mov dword [0xa2986c], eax
mov dword [esp + 4], 1
mov dword [esp], 0x53a087
call fcn.0044713b
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00447be9
mov edx, eax
mov eax, dword [0xa2986c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00447425
mov eax, dword [0xa29870]
test eax, eax
jne 0x46c768
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004472be
mov dword [0xa29870], eax
mov eax, dword [0xa29874]
test eax, eax
jne 0x46c78a
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004472be
mov dword [0xa29874], eax
mov edx, dword [0xa2986c]
mov eax, dword [0xa29870]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00447425
mov eax, dword [0xa29870]
mov eax, dword [eax + 4]
mov dword [0xa29878], eax
jmp 0x46c7ff
mov eax, dword [0xa29870]
mov eax, dword [eax]
mov edx, dword [0xa29878]
sub edx, 1
add eax, edx
movzx eax, byte [eax]
cmp al, 0x2f
je 0x46c7e2
mov eax, dword [0xa29870]
mov eax, dword [eax]
mov edx, dword [0xa29878]
sub edx, 1
add eax, edx
movzx eax, byte [eax]
cmp al, 0x5c
jne 0x46c7f2
mov eax, dword [0xa29870]
mov edx, dword [0xa29878]
mov dword [eax + 4], edx
jmp 0x46c80d
mov eax, dword [0xa29878]
sub eax, 1
mov dword [0xa29878], eax
mov eax, dword [0xa29878]
test eax, eax
setg al
test al, al
jne 0x46c7b0
mov eax, dword [0xa29878]
test eax, eax
jne 0x46c822
mov eax, dword [0xa29870]
mov dword [eax + 4], 0
mov dword [0xa2987c], 0
mov eax, dword [0xa2986c]
mov dword [esp], eax
call fcn.0043c073
mov dword [esp + 4], 0xa29880
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
call eax
sub esp, 8
mov dword [0xa299c0], eax
mov eax, dword [0xa299c0]
cmp eax, 0xffffffff
jne 0x46c86e
mov dword [esp], 0x35
call fcn.00445ba4
jmp 0x46c9b8
mov eax, dword [0xa29880]
and eax, 0x10
test eax, eax
jne 0x46c964
mov dword [esp], 0xa298ac
call sub.msvcrt.dll_strlen
add eax, 1
mov dword [esp + 4], eax
mov dword [esp], 0xa298ac
call fcn.0044713b
mov edx, eax
mov eax, dword [0xa29870]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00447be9
mov edx, eax
mov eax, dword [0xa29874]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00447425
mov eax, dword [0xa29874]
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call eax
sub esp, 4
test eax, eax
sete al
test al, al
je 0x46c957
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [0xa29878], eax
mov eax, dword [0xa29878]
cmp eax, 5
je 0x46c914
mov eax, dword [0xa29878]
cmp eax, 0x13
je 0x46c914
mov eax, dword [0xa29878]
cmp eax, 0x21
je 0x46c914
mov eax, dword [0xa29878]
cmp eax, 0x20
jne 0x46c937
mov eax, dword [0xa299c0]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov dword [esp], 0x37
call fcn.00445ba4
jmp 0x46c9b8
mov eax, dword [0xa299c0]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov dword [esp], 0x35
call fcn.00445ba4
jmp 0x46c9b8
mov eax, dword [0xa2987c]
add eax, 1
mov dword [0xa2987c], eax
mov eax, dword [0xa299c0]
mov dword [esp + 4], 0xa29880
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindNextFileA]
call eax
sub esp, 8
test eax, eax
setne al
test al, al
jne 0x46c86e
mov eax, dword [0xa299c0]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov eax, dword [0xa2987c]
test eax, eax
jne 0x46c9b7
mov dword [esp], 0x35
call fcn.00445ba4
jmp 0x46c9b8
nop
jmp 0x46c9b8
nop
leave
ret