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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x56728c]
test eax, eax
jne 0x4696c8
mov eax, dword [0xa2684c]
test eax, eax
jne 0x469424
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00443fd2
mov dword [0xa2684c], eax
mov dword [esp + 4], 1
mov dword [esp], 0x536fa7
call fcn.00443e4f
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004448fd
mov edx, eax
mov eax, dword [0xa2684c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00444139
mov eax, dword [0xa26850]
test eax, eax
jne 0x46947c
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00443fd2
mov dword [0xa26850], eax
mov eax, dword [0xa26854]
test eax, eax
jne 0x46949e
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00443fd2
mov dword [0xa26854], eax
mov edx, dword [0xa2684c]
mov eax, dword [0xa26850]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00444139
mov eax, dword [0xa26850]
mov eax, dword [eax + 4]
mov dword [0xa26858], eax
jmp 0x469513
mov eax, dword [0xa26850]
mov eax, dword [eax]
mov edx, dword [0xa26858]
sub edx, 1
add eax, edx
movzx eax, byte [eax]
cmp al, 0x2f
je 0x4694f6
mov eax, dword [0xa26850]
mov eax, dword [eax]
mov edx, dword [0xa26858]
sub edx, 1
add eax, edx
movzx eax, byte [eax]
cmp al, 0x5c
jne 0x469506
mov eax, dword [0xa26850]
mov edx, dword [0xa26858]
mov dword [eax + 4], edx
jmp 0x469521
mov eax, dword [0xa26858]
sub eax, 1
mov dword [0xa26858], eax
mov eax, dword [0xa26858]
test eax, eax
setg al
test al, al
jne 0x4694c4
mov eax, dword [0xa26858]
test eax, eax
jne 0x469536
mov eax, dword [0xa26850]
mov dword [eax + 4], 0
mov dword [0xa2685c], 0
mov eax, dword [0xa2684c]
mov dword [esp], eax
call fcn.00438d87
mov dword [esp + 4], 0xa26860
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
call eax
sub esp, 8
mov dword [0xa269a0], eax
mov eax, dword [0xa269a0]
cmp eax, 0xffffffff
jne 0x469582
mov dword [esp], 0x35
call fcn.004428b8
jmp 0x4696cc
mov eax, dword [0xa26860]
and eax, 0x10
test eax, eax
jne 0x469678
mov dword [esp], 0xa2688c
call sub.msvcrt.dll_strlen
add eax, 1
mov dword [esp + 4], eax
mov dword [esp], 0xa2688c
call fcn.00443e4f
mov edx, eax
mov eax, dword [0xa26850]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004448fd
mov edx, eax
mov eax, dword [0xa26854]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00444139
mov eax, dword [0xa26854]
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 0x46966b
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [0xa26858], eax
mov eax, dword [0xa26858]
cmp eax, 5
je 0x469628
mov eax, dword [0xa26858]
cmp eax, 0x13
je 0x469628
mov eax, dword [0xa26858]
cmp eax, 0x21
je 0x469628
mov eax, dword [0xa26858]
cmp eax, 0x20
jne 0x46964b
mov eax, dword [0xa269a0]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov dword [esp], 0x37
call fcn.004428b8
jmp 0x4696cc
mov eax, dword [0xa269a0]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov dword [esp], 0x35
call fcn.004428b8
jmp 0x4696cc
mov eax, dword [0xa2685c]
add eax, 1
mov dword [0xa2685c], eax
mov eax, dword [0xa269a0]
mov dword [esp + 4], 0xa26860
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 0x469582
mov eax, dword [0xa269a0]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov eax, dword [0xa2685c]
test eax, eax
jne 0x4696cb
mov dword [esp], 0x35
call fcn.004428b8
jmp 0x4696cc
nop
jmp 0x4696cc
nop
leave
ret