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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x56e28c]
test eax, eax
jne 0x471410
mov eax, dword [0xa2d7cc]
test eax, eax
jne 0x47116c
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0044bd1a
mov dword [0xa2d7cc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x53dfe7
call fcn.0044bb97
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0044c645
mov edx, eax
mov eax, dword [0xa2d7cc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
mov eax, dword [0xa2d7d0]
test eax, eax
jne 0x4711c4
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0044bd1a
mov dword [0xa2d7d0], eax
mov eax, dword [0xa2d7d4]
test eax, eax
jne 0x4711e6
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0044bd1a
mov dword [0xa2d7d4], eax
mov edx, dword [0xa2d7cc]
mov eax, dword [0xa2d7d0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
mov eax, dword [0xa2d7d0]
mov eax, dword [eax + 4]
mov dword [0xa2d7d8], eax
jmp 0x47125b
mov eax, dword [0xa2d7d0]
mov eax, dword [eax]
mov edx, dword [0xa2d7d8]
sub edx, 1
add eax, edx
movzx eax, byte [eax]
cmp al, 0x2f
je 0x47123e
mov eax, dword [0xa2d7d0]
mov eax, dword [eax]
mov edx, dword [0xa2d7d8]
sub edx, 1
add eax, edx
movzx eax, byte [eax]
cmp al, 0x5c
jne 0x47124e
mov eax, dword [0xa2d7d0]
mov edx, dword [0xa2d7d8]
mov dword [eax + 4], edx
jmp 0x471269
mov eax, dword [0xa2d7d8]
sub eax, 1
mov dword [0xa2d7d8], eax
mov eax, dword [0xa2d7d8]
test eax, eax
setg al
test al, al
jne 0x47120c
mov eax, dword [0xa2d7d8]
test eax, eax
jne 0x47127e
mov eax, dword [0xa2d7d0]
mov dword [eax + 4], 0
mov dword [0xa2d7dc], 0
mov eax, dword [0xa2d7cc]
mov dword [esp], eax
call fcn.00440acf
mov dword [esp + 4], 0xa2d7e0
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
call eax
sub esp, 8
mov dword [0xa2d920], eax
mov eax, dword [0xa2d920]
cmp eax, 0xffffffff
jne 0x4712ca
mov dword [esp], 0x35
call fcn.0044a600
jmp 0x471414
mov eax, dword [0xa2d7e0]
and eax, 0x10
test eax, eax
jne 0x4713c0
mov dword [esp], 0xa2d80c
call sub.msvcrt.dll_strlen
add eax, 1
mov dword [esp + 4], eax
mov dword [esp], 0xa2d80c
call fcn.0044bb97
mov edx, eax
mov eax, dword [0xa2d7d0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044c645
mov edx, eax
mov eax, dword [0xa2d7d4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
mov eax, dword [0xa2d7d4]
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 0x4713b3
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [0xa2d7d8], eax
mov eax, dword [0xa2d7d8]
cmp eax, 5
je 0x471370
mov eax, dword [0xa2d7d8]
cmp eax, 0x13
je 0x471370
mov eax, dword [0xa2d7d8]
cmp eax, 0x21
je 0x471370
mov eax, dword [0xa2d7d8]
cmp eax, 0x20
jne 0x471393
mov eax, dword [0xa2d920]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov dword [esp], 0x37
call fcn.0044a600
jmp 0x471414
mov eax, dword [0xa2d920]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov dword [esp], 0x35
call fcn.0044a600
jmp 0x471414
mov eax, dword [0xa2d7dc]
add eax, 1
mov dword [0xa2d7dc], eax
mov eax, dword [0xa2d920]
mov dword [esp + 4], 0xa2d7e0
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 0x4712ca
mov eax, dword [0xa2d920]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov eax, dword [0xa2d7dc]
test eax, eax
jne 0x471413
mov dword [esp], 0x35
call fcn.0044a600
jmp 0x471414
nop
jmp 0x471414
nop
leave
ret