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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x58528c]
test eax, eax
jne 0x4883f4
mov eax, dword [0xa44eac]
test eax, eax
jne 0x488150
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00462cfe
mov dword [0xa44eac], eax
mov dword [esp + 4], 1
mov dword [esp], 0x555127
call fcn.00462b7b
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00463629
mov edx, eax
mov eax, dword [0xa44eac]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
mov eax, dword [0xa44eb0]
test eax, eax
jne 0x4881a8
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00462cfe
mov dword [0xa44eb0], eax
mov eax, dword [0xa44eb4]
test eax, eax
jne 0x4881ca
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00462cfe
mov dword [0xa44eb4], eax
mov edx, dword [0xa44eac]
mov eax, dword [0xa44eb0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
mov eax, dword [0xa44eb0]
mov eax, dword [eax + 4]
mov dword [0xa44eb8], eax
jmp 0x48823f
mov eax, dword [0xa44eb0]
mov eax, dword [eax]
mov edx, dword [0xa44eb8]
sub edx, 1
add eax, edx
movzx eax, byte [eax]
cmp al, 0x2f
je 0x488222
mov eax, dword [0xa44eb0]
mov eax, dword [eax]
mov edx, dword [0xa44eb8]
sub edx, 1
add eax, edx
movzx eax, byte [eax]
cmp al, 0x5c
jne 0x488232
mov eax, dword [0xa44eb0]
mov edx, dword [0xa44eb8]
mov dword [eax + 4], edx
jmp 0x48824d
mov eax, dword [0xa44eb8]
sub eax, 1
mov dword [0xa44eb8], eax
mov eax, dword [0xa44eb8]
test eax, eax
setg al
test al, al
jne 0x4881f0
mov eax, dword [0xa44eb8]
test eax, eax
jne 0x488262
mov eax, dword [0xa44eb0]
mov dword [eax + 4], 0
mov dword [0xa44ebc], 0
mov eax, dword [0xa44eac]
mov dword [esp], eax
call fcn.00457ab3
mov dword [esp + 4], 0xa44ec0
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
call eax
sub esp, 8
mov dword [0xa45000], eax
mov eax, dword [0xa45000]
cmp eax, 0xffffffff
jne 0x4882ae
mov dword [esp], 0x35
call fcn.004615e4
jmp 0x4883f8
mov eax, dword [0xa44ec0]
and eax, 0x10
test eax, eax
jne 0x4883a4
mov dword [esp], 0xa44eec
call sub.msvcrt.dll_strlen
add eax, 1
mov dword [esp + 4], eax
mov dword [esp], 0xa44eec
call fcn.00462b7b
mov edx, eax
mov eax, dword [0xa44eb0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00463629
mov edx, eax
mov eax, dword [0xa44eb4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
mov eax, dword [0xa44eb4]
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 0x488397
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [0xa44eb8], eax
mov eax, dword [0xa44eb8]
cmp eax, 5
je 0x488354
mov eax, dword [0xa44eb8]
cmp eax, 0x13
je 0x488354
mov eax, dword [0xa44eb8]
cmp eax, 0x21
je 0x488354
mov eax, dword [0xa44eb8]
cmp eax, 0x20
jne 0x488377
mov eax, dword [0xa45000]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov dword [esp], 0x37
call fcn.004615e4
jmp 0x4883f8
mov eax, dword [0xa45000]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov dword [esp], 0x35
call fcn.004615e4
jmp 0x4883f8
mov eax, dword [0xa44ebc]
add eax, 1
mov dword [0xa44ebc], eax
mov eax, dword [0xa45000]
mov dword [esp + 4], 0xa44ec0
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 0x4882ae
mov eax, dword [0xa45000]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov eax, dword [0xa44ebc]
test eax, eax
jne 0x4883f7
mov dword [esp], 0x35
call fcn.004615e4
jmp 0x4883f8
nop
jmp 0x4883f8
nop
leave
ret