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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415970
push 0x41338e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb80
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0xa44], 1
or ecx, 0xffffffff
mov dword [ebp - 0xa4c], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, dword [ebp + 8]
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, ecx
mov dword [ebp - 0xa48], edx
cmp edx, 0x511
jle 0x406c92
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xa40]
mov edi, esi
or ecx, 0xffffffff
mov dword [ebp - 0xb90], eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp - 0xb90]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp byte [ebp + edx - 0xa41], 0x5c
je 0x406cfb
lea edx, [ebp - 0xa40]
mov edi, 0x419264
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0xa40]
lea edx, [ebp - 0x52c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edx, [ebp - 0x52c]
mov edi, 0x4198a4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0xb8c]
push eax
lea ecx, [ebp - 0x52c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0xa4c], eax
cmp eax, 0xffffffff
jne 0x406d89
mov dword [ebp - 4], eax
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 0x4198a0
lea eax, [ebp - 0xb60]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x406db8
cmp cl, bl
je 0x406db4
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x406db8
add eax, 2
add esi, 2
cmp cl, bl
jne 0x406d94
xor eax, eax
jmp 0x406dbd
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x406e70
mov esi, 0x41989c
lea eax, [ebp - 0xb60]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x406df4
cmp cl, bl
je 0x406df0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x406df4
add eax, 2
add esi, 2
cmp cl, bl
jne 0x406dd0
xor eax, eax
jmp 0x406df9
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x406e70
lea edi, [ebp - 0xa40]
lea edx, [ebp - 0x52c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0xb60]
lea edx, [ebp - 0x52c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x52c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x406e70
mov byte [ebp - 0xa44], bl
jmp 0x406e8c
lea ecx, [ebp - 0xb8c]
push ecx
mov edx, dword [ebp - 0xa4c]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x406d89
mov eax, dword [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
or eax, 0xffffffff
mov dword [ebp - 0xa4c], eax
mov dword [ebp - 4], eax
jmp 0x406ed0
mov eax, dword [ebp - 0xa44]
and eax, 0xff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret