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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x57f28c]
test eax, eax
jne 0x482074
mov eax, dword [0xa3ed6c]
test eax, eax
jne 0x481dd0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0045c97e
mov dword [0xa3ed6c], eax
mov dword [esp + 4], 1
mov dword [esp], 0x54f567
call fcn.0045c7fb
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0045d2a9
mov edx, eax
mov eax, dword [0xa3ed6c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
mov eax, dword [0xa3ed70]
test eax, eax
jne 0x481e28
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0045c97e
mov dword [0xa3ed70], eax
mov eax, dword [0xa3ed74]
test eax, eax
jne 0x481e4a
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0045c97e
mov dword [0xa3ed74], eax
mov edx, dword [0xa3ed6c]
mov eax, dword [0xa3ed70]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
mov eax, dword [0xa3ed70]
mov eax, dword [eax + 4]
mov dword [0xa3ed78], eax
jmp 0x481ebf
mov eax, dword [0xa3ed70]
mov eax, dword [eax]
mov edx, dword [0xa3ed78]
sub edx, 1
add eax, edx
movzx eax, byte [eax]
cmp al, 0x2f
je 0x481ea2
mov eax, dword [0xa3ed70]
mov eax, dword [eax]
mov edx, dword [0xa3ed78]
sub edx, 1
add eax, edx
movzx eax, byte [eax]
cmp al, 0x5c
jne 0x481eb2
mov eax, dword [0xa3ed70]
mov edx, dword [0xa3ed78]
mov dword [eax + 4], edx
jmp 0x481ecd
mov eax, dword [0xa3ed78]
sub eax, 1
mov dword [0xa3ed78], eax
mov eax, dword [0xa3ed78]
test eax, eax
setg al
test al, al
jne 0x481e70
mov eax, dword [0xa3ed78]
test eax, eax
jne 0x481ee2
mov eax, dword [0xa3ed70]
mov dword [eax + 4], 0
mov dword [0xa3ed7c], 0
mov eax, dword [0xa3ed6c]
mov dword [esp], eax
call fcn.00451733
mov dword [esp + 4], 0xa3ed80
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
call eax
sub esp, 8
mov dword [0xa3eec0], eax
mov eax, dword [0xa3eec0]
cmp eax, 0xffffffff
jne 0x481f2e
mov dword [esp], 0x35
call fcn.0045b264
jmp 0x482078
mov eax, dword [0xa3ed80]
and eax, 0x10
test eax, eax
jne 0x482024
mov dword [esp], 0xa3edac
call sub.msvcrt.dll_strlen
add eax, 1
mov dword [esp + 4], eax
mov dword [esp], 0xa3edac
call fcn.0045c7fb
mov edx, eax
mov eax, dword [0xa3ed70]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2a9
mov edx, eax
mov eax, dword [0xa3ed74]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
mov eax, dword [0xa3ed74]
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 0x482017
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [0xa3ed78], eax
mov eax, dword [0xa3ed78]
cmp eax, 5
je 0x481fd4
mov eax, dword [0xa3ed78]
cmp eax, 0x13
je 0x481fd4
mov eax, dword [0xa3ed78]
cmp eax, 0x21
je 0x481fd4
mov eax, dword [0xa3ed78]
cmp eax, 0x20
jne 0x481ff7
mov eax, dword [0xa3eec0]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov dword [esp], 0x37
call fcn.0045b264
jmp 0x482078
mov eax, dword [0xa3eec0]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov dword [esp], 0x35
call fcn.0045b264
jmp 0x482078
mov eax, dword [0xa3ed7c]
add eax, 1
mov dword [0xa3ed7c], eax
mov eax, dword [0xa3eec0]
mov dword [esp + 4], 0xa3ed80
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 0x481f2e
mov eax, dword [0xa3eec0]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov eax, dword [0xa3ed7c]
test eax, eax
jne 0x482077
mov dword [esp], 0x35
call fcn.0045b264
jmp 0x482078
nop
jmp 0x482078
nop
leave
ret