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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5a628c]
test eax, eax
jne 0x4a92ac
mov eax, dword [0xa6628c]
test eax, eax
jne 0x4a9008
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00483bb6
mov dword [0xa6628c], eax
mov dword [esp + 4], 1
mov dword [esp], 0x576527
call fcn.00483a33
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004844e1
mov edx, eax
mov eax, dword [0xa6628c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00483d1d
mov eax, dword [0xa66290]
test eax, eax
jne 0x4a9060
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00483bb6
mov dword [0xa66290], eax
mov eax, dword [0xa66294]
test eax, eax
jne 0x4a9082
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00483bb6
mov dword [0xa66294], eax
mov edx, dword [0xa6628c]
mov eax, dword [0xa66290]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00483d1d
mov eax, dword [0xa66290]
mov eax, dword [eax + 4]
mov dword [0xa66298], eax
jmp 0x4a90f7
mov eax, dword [0xa66290]
mov eax, dword [eax]
mov edx, dword [0xa66298]
sub edx, 1
add eax, edx
movzx eax, byte [eax]
cmp al, 0x2f
je 0x4a90da
mov eax, dword [0xa66290]
mov eax, dword [eax]
mov edx, dword [0xa66298]
sub edx, 1
add eax, edx
movzx eax, byte [eax]
cmp al, 0x5c
jne 0x4a90ea
mov eax, dword [0xa66290]
mov edx, dword [0xa66298]
mov dword [eax + 4], edx
jmp 0x4a9105
mov eax, dword [0xa66298]
sub eax, 1
mov dword [0xa66298], eax
mov eax, dword [0xa66298]
test eax, eax
setg al
test al, al
jne 0x4a90a8
mov eax, dword [0xa66298]
test eax, eax
jne 0x4a911a
mov eax, dword [0xa66290]
mov dword [eax + 4], 0
mov dword [0xa6629c], 0
mov eax, dword [0xa6628c]
mov dword [esp], eax
call fcn.0047896b
mov dword [esp + 4], 0xa662a0
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
call eax
sub esp, 8
mov dword [0xa663e0], eax
mov eax, dword [0xa663e0]
cmp eax, 0xffffffff
jne 0x4a9166
mov dword [esp], 0x35
call fcn.0048249c
jmp 0x4a92b0
mov eax, dword [0xa662a0]
and eax, 0x10
test eax, eax
jne 0x4a925c
mov dword [esp], 0xa662cc
call sub.msvcrt.dll_strlen
add eax, 1
mov dword [esp + 4], eax
mov dword [esp], 0xa662cc
call fcn.00483a33
mov edx, eax
mov eax, dword [0xa66290]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004844e1
mov edx, eax
mov eax, dword [0xa66294]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00483d1d
mov eax, dword [0xa66294]
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 0x4a924f
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [0xa66298], eax
mov eax, dword [0xa66298]
cmp eax, 5
je 0x4a920c
mov eax, dword [0xa66298]
cmp eax, 0x13
je 0x4a920c
mov eax, dword [0xa66298]
cmp eax, 0x21
je 0x4a920c
mov eax, dword [0xa66298]
cmp eax, 0x20
jne 0x4a922f
mov eax, dword [0xa663e0]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov dword [esp], 0x37
call fcn.0048249c
jmp 0x4a92b0
mov eax, dword [0xa663e0]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov dword [esp], 0x35
call fcn.0048249c
jmp 0x4a92b0
mov eax, dword [0xa6629c]
add eax, 1
mov dword [0xa6629c], eax
mov eax, dword [0xa663e0]
mov dword [esp + 4], 0xa662a0
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 0x4a9166
mov eax, dword [0xa663e0]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov eax, dword [0xa6629c]
test eax, eax
jne 0x4a92af
mov dword [esp], 0x35
call fcn.0048249c
jmp 0x4a92b0
nop
jmp 0x4a92b0
nop
leave
ret