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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5ce28c]
test eax, eax
jne 0x4d0e40
mov eax, dword [0xa8e7ac]
test eax, eax
jne 0x4d0b9c
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004ab74a
mov dword [0xa8e7ac], eax
mov dword [esp + 4], 1
mov dword [esp], 0x59e827
call fcn.004ab5c7
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004ac075
mov edx, eax
mov eax, dword [0xa8e7ac]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ab8b1
mov eax, dword [0xa8e7b0]
test eax, eax
jne 0x4d0bf4
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004ab74a
mov dword [0xa8e7b0], eax
mov eax, dword [0xa8e7b4]
test eax, eax
jne 0x4d0c16
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004ab74a
mov dword [0xa8e7b4], eax
mov edx, dword [0xa8e7ac]
mov eax, dword [0xa8e7b0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ab8b1
mov eax, dword [0xa8e7b0]
mov eax, dword [eax + 4]
mov dword [0xa8e7b8], eax
jmp 0x4d0c8b
mov eax, dword [0xa8e7b0]
mov eax, dword [eax]
mov edx, dword [0xa8e7b8]
sub edx, 1
add eax, edx
movzx eax, byte [eax]
cmp al, 0x2f
je 0x4d0c6e
mov eax, dword [0xa8e7b0]
mov eax, dword [eax]
mov edx, dword [0xa8e7b8]
sub edx, 1
add eax, edx
movzx eax, byte [eax]
cmp al, 0x5c
jne 0x4d0c7e
mov eax, dword [0xa8e7b0]
mov edx, dword [0xa8e7b8]
mov dword [eax + 4], edx
jmp 0x4d0c99
mov eax, dword [0xa8e7b8]
sub eax, 1
mov dword [0xa8e7b8], eax
mov eax, dword [0xa8e7b8]
test eax, eax
setg al
test al, al
jne 0x4d0c3c
mov eax, dword [0xa8e7b8]
test eax, eax
jne 0x4d0cae
mov eax, dword [0xa8e7b0]
mov dword [eax + 4], 0
mov dword [0xa8e7bc], 0
mov eax, dword [0xa8e7ac]
mov dword [esp], eax
call fcn.004a04ff
mov dword [esp + 4], 0xa8e7c0
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
call eax
sub esp, 8
mov dword [0xa8e900], eax
mov eax, dword [0xa8e900]
cmp eax, 0xffffffff
jne 0x4d0cfa
mov dword [esp], 0x35
call fcn.004aa030
jmp 0x4d0e44
mov eax, dword [0xa8e7c0]
and eax, 0x10
test eax, eax
jne 0x4d0df0
mov dword [esp], 0xa8e7ec
call sub.msvcrt.dll_strlen
add eax, 1
mov dword [esp + 4], eax
mov dword [esp], 0xa8e7ec
call fcn.004ab5c7
mov edx, eax
mov eax, dword [0xa8e7b0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ac075
mov edx, eax
mov eax, dword [0xa8e7b4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ab8b1
mov eax, dword [0xa8e7b4]
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 0x4d0de3
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [0xa8e7b8], eax
mov eax, dword [0xa8e7b8]
cmp eax, 5
je 0x4d0da0
mov eax, dword [0xa8e7b8]
cmp eax, 0x13
je 0x4d0da0
mov eax, dword [0xa8e7b8]
cmp eax, 0x21
je 0x4d0da0
mov eax, dword [0xa8e7b8]
cmp eax, 0x20
jne 0x4d0dc3
mov eax, dword [0xa8e900]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov dword [esp], 0x37
call fcn.004aa030
jmp 0x4d0e44
mov eax, dword [0xa8e900]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov dword [esp], 0x35
call fcn.004aa030
jmp 0x4d0e44
mov eax, dword [0xa8e7bc]
add eax, 1
mov dword [0xa8e7bc], eax
mov eax, dword [0xa8e900]
mov dword [esp + 4], 0xa8e7c0
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 0x4d0cfa
mov eax, dword [0xa8e900]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov eax, dword [0xa8e7bc]
test eax, eax
jne 0x4d0e43
mov dword [esp], 0x35
call fcn.004aa030
jmp 0x4d0e44
nop
jmp 0x4d0e44
nop
leave
ret