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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x58028c]
test eax, eax
jne 0x482848
mov eax, dword [0xa3fd8c]
test eax, eax
jne 0x4825a4
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0045d152
mov dword [0xa3fd8c], eax
mov dword [esp + 4], 1
mov dword [esp], 0x550567
call fcn.0045cfcf
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0045da7d
mov edx, eax
mov eax, dword [0xa3fd8c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2b9
mov eax, dword [0xa3fd90]
test eax, eax
jne 0x4825fc
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0045d152
mov dword [0xa3fd90], eax
mov eax, dword [0xa3fd94]
test eax, eax
jne 0x48261e
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0045d152
mov dword [0xa3fd94], eax
mov edx, dword [0xa3fd8c]
mov eax, dword [0xa3fd90]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2b9
mov eax, dword [0xa3fd90]
mov eax, dword [eax + 4]
mov dword [0xa3fd98], eax
jmp 0x482693
mov eax, dword [0xa3fd90]
mov eax, dword [eax]
mov edx, dword [0xa3fd98]
sub edx, 1
add eax, edx
movzx eax, byte [eax]
cmp al, 0x2f
je 0x482676
mov eax, dword [0xa3fd90]
mov eax, dword [eax]
mov edx, dword [0xa3fd98]
sub edx, 1
add eax, edx
movzx eax, byte [eax]
cmp al, 0x5c
jne 0x482686
mov eax, dword [0xa3fd90]
mov edx, dword [0xa3fd98]
mov dword [eax + 4], edx
jmp 0x4826a1
mov eax, dword [0xa3fd98]
sub eax, 1
mov dword [0xa3fd98], eax
mov eax, dword [0xa3fd98]
test eax, eax
setg al
test al, al
jne 0x482644
mov eax, dword [0xa3fd98]
test eax, eax
jne 0x4826b6
mov eax, dword [0xa3fd90]
mov dword [eax + 4], 0
mov dword [0xa3fd9c], 0
mov eax, dword [0xa3fd8c]
mov dword [esp], eax
call fcn.00451f07
mov dword [esp + 4], 0xa3fda0
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
call eax
sub esp, 8
mov dword [0xa3fee0], eax
mov eax, dword [0xa3fee0]
cmp eax, 0xffffffff
jne 0x482702
mov dword [esp], 0x35
call fcn.0045ba38
jmp 0x48284c
mov eax, dword [0xa3fda0]
and eax, 0x10
test eax, eax
jne 0x4827f8
mov dword [esp], 0xa3fdcc
call sub.msvcrt.dll_strlen
add eax, 1
mov dword [esp + 4], eax
mov dword [esp], 0xa3fdcc
call fcn.0045cfcf
mov edx, eax
mov eax, dword [0xa3fd90]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045da7d
mov edx, eax
mov eax, dword [0xa3fd94]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2b9
mov eax, dword [0xa3fd94]
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 0x4827eb
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [0xa3fd98], eax
mov eax, dword [0xa3fd98]
cmp eax, 5
je 0x4827a8
mov eax, dword [0xa3fd98]
cmp eax, 0x13
je 0x4827a8
mov eax, dword [0xa3fd98]
cmp eax, 0x21
je 0x4827a8
mov eax, dword [0xa3fd98]
cmp eax, 0x20
jne 0x4827cb
mov eax, dword [0xa3fee0]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov dword [esp], 0x37
call fcn.0045ba38
jmp 0x48284c
mov eax, dword [0xa3fee0]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov dword [esp], 0x35
call fcn.0045ba38
jmp 0x48284c
mov eax, dword [0xa3fd9c]
add eax, 1
mov dword [0xa3fd9c], eax
mov eax, dword [0xa3fee0]
mov dword [esp + 4], 0xa3fda0
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 0x482702
mov eax, dword [0xa3fee0]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov eax, dword [0xa3fd9c]
test eax, eax
jne 0x48284b
mov dword [esp], 0x35
call fcn.0045ba38
jmp 0x48284c
nop
jmp 0x48284c
nop
leave
ret