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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x56628c]
test eax, eax
jne 0x468b2c
mov eax, dword [0xa257cc]
test eax, eax
jne 0x468888
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00443436
mov dword [0xa257cc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x535f87
call fcn.004432b3
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00443d61
mov edx, eax
mov eax, dword [0xa257cc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044359d
mov eax, dword [0xa257d0]
test eax, eax
jne 0x4688e0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00443436
mov dword [0xa257d0], eax
mov eax, dword [0xa257d4]
test eax, eax
jne 0x468902
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00443436
mov dword [0xa257d4], eax
mov edx, dword [0xa257cc]
mov eax, dword [0xa257d0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044359d
mov eax, dword [0xa257d0]
mov eax, dword [eax + 4]
mov dword [0xa257d8], eax
jmp 0x468977
mov eax, dword [0xa257d0]
mov eax, dword [eax]
mov edx, dword [0xa257d8]
sub edx, 1
add eax, edx
movzx eax, byte [eax]
cmp al, 0x2f
je 0x46895a
mov eax, dword [0xa257d0]
mov eax, dword [eax]
mov edx, dword [0xa257d8]
sub edx, 1
add eax, edx
movzx eax, byte [eax]
cmp al, 0x5c
jne 0x46896a
mov eax, dword [0xa257d0]
mov edx, dword [0xa257d8]
mov dword [eax + 4], edx
jmp 0x468985
mov eax, dword [0xa257d8]
sub eax, 1
mov dword [0xa257d8], eax
mov eax, dword [0xa257d8]
test eax, eax
setg al
test al, al
jne 0x468928
mov eax, dword [0xa257d8]
test eax, eax
jne 0x46899a
mov eax, dword [0xa257d0]
mov dword [eax + 4], 0
mov dword [0xa257dc], 0
mov eax, dword [0xa257cc]
mov dword [esp], eax
call fcn.004381eb
mov dword [esp + 4], 0xa257e0
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
call eax
sub esp, 8
mov dword [0xa25920], eax
mov eax, dword [0xa25920]
cmp eax, 0xffffffff
jne 0x4689e6
mov dword [esp], 0x35
call fcn.00441d1c
jmp 0x468b30
mov eax, dword [0xa257e0]
and eax, 0x10
test eax, eax
jne 0x468adc
mov dword [esp], 0xa2580c
call sub.msvcrt.dll_strlen
add eax, 1
mov dword [esp + 4], eax
mov dword [esp], 0xa2580c
call fcn.004432b3
mov edx, eax
mov eax, dword [0xa257d0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00443d61
mov edx, eax
mov eax, dword [0xa257d4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044359d
mov eax, dword [0xa257d4]
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 0x468acf
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [0xa257d8], eax
mov eax, dword [0xa257d8]
cmp eax, 5
je 0x468a8c
mov eax, dword [0xa257d8]
cmp eax, 0x13
je 0x468a8c
mov eax, dword [0xa257d8]
cmp eax, 0x21
je 0x468a8c
mov eax, dword [0xa257d8]
cmp eax, 0x20
jne 0x468aaf
mov eax, dword [0xa25920]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov dword [esp], 0x37
call fcn.00441d1c
jmp 0x468b30
mov eax, dword [0xa25920]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov dword [esp], 0x35
call fcn.00441d1c
jmp 0x468b30
mov eax, dword [0xa257dc]
add eax, 1
mov dword [0xa257dc], eax
mov eax, dword [0xa25920]
mov dword [esp + 4], 0xa257e0
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 0x4689e6
mov eax, dword [0xa25920]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov eax, dword [0xa257dc]
test eax, eax
jne 0x468b2f
mov dword [esp], 0x35
call fcn.00441d1c
jmp 0x468b30
nop
jmp 0x468b30
nop
leave
ret