Function at 0x403ff0
Capabilities:
Enumerate files on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a2e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x101dc
call fcn.0040d140
push ebx
push esi
push edi
xor esi, esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], esi
call fcn.00422f41
mov eax, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x6ac]
push eax
push ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
call ebx
mov edx, dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x6ac]
push edx
push eax
call esi
lea ecx, [ebp - 0x4a4]
lea edx, [ebp - 0x6ac]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x1c], eax
jne 0x40408c
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], eax
call fcn.00422f96
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x404389
lea eax, [ebp - 0x5a8]
push str.The_file
push eax
call ebx
lea ecx, [ebp - 0x478]
lea edx, [ebp - 0x5a8]
push ecx
push edx
call esi
lea eax, [ebp - 0x5a8]
push str._was_found.
push eax
call esi
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x148]
push ecx
push edx
call ebx
lea eax, [ebp - 0x478]
lea ecx, [ebp - 0x148]
push eax
push ecx
call esi
lea edx, [ebp - 0x148]
push 0x8000
push edx
call fcn.0040ce4e
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
je 0x404389
lea eax, [ebp - 0x101ec]
push 0xfa00
push eax
push edi
call fcn.0040cc10
add esp, 0xc
test eax, eax
jbe 0x404389
push edi
call fcn.0040cb30
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x101ec]
push ecx
push edx
call fcn.0040cab0
xor edi, edi
add esp, 0xc
cmp eax, edi
je 0x40435a
mov eax, dword [ebp - 0x14]
push str.File
inc eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x364]
push eax
call ebx
lea ecx, [ebp - 0x148]
lea edx, [ebp - 0x364]
push ecx
push edx
call esi
lea eax, [ebp - 0x364]
push str._contains
push eax
call esi
lea ecx, [ebp - 0x260]
lea edx, [ebp - 0x148]
push ecx
push edx
mov dword [ebp - 0x254], edi
mov dword [ebp - 0x260], edi
mov byte [ebp - 0x250], 0
call fcn.00423dac
lea eax, [ebp - 0x260]
lea ecx, [ebp - 0x148]
push eax
push ecx
mov byte [ebp - 0x250], 0
call fcn.00423f11
lea edx, [ebp - 0x260]
lea eax, [ebp - 0x148]
push edx
push eax
call fcn.00423dac
lea ecx, [ebp - 0x28]
call fcn.00423606
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 2
push ecx
call fcn.0042337f
jmp 0x404201
mov dword [ebp - 4], 0
call fcn.00423644
test edi, edi
jne 0x40421f
lea eax, [ebp - 0x148]
push eax
push str............._s_removed_r_n
jmp 0x40422b
lea ecx, [ebp - 0x148]
push ecx
push str............._s_not_removed_r_n
push 0x43a170
call fcn.0041ddb1
mov eax, dword [0x43a170]
add esp, 0xc
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, 0x43a178
call fcn.004231aa
lea edi, [ebp - 0x148]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x148]
repne scasb al, byte es:[edi]
not ecx
dec ecx
sub edx, 3
lea eax, [ebp - 0x364]
push str.The_.pnf_is
push eax
mov byte [ecx + edx], 0x70
call ebx
lea ecx, [ebp - 0x148]
lea edx, [ebp - 0x364]
push ecx
push edx
call esi
lea eax, [ebp - 0x7ec]
lea ecx, [ebp - 0x148]
push eax
push ecx
mov byte [ebp - 0x250], 0
xor edi, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x40432d
lea edx, [ebp - 0x260]
lea eax, [ebp - 0x148]
push edx
push eax
call fcn.00423f11
lea ecx, [ebp - 0x260]
lea edx, [ebp - 0x148]
push ecx
push edx
call fcn.00423dac
lea ecx, [ebp - 0x34]
call fcn.00423606
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 5
push eax
call fcn.0042337f
jmp 0x40430f
mov dword [ebp - 4], 0
call fcn.00423644
test edi, edi
jne 0x40432d
lea edx, [ebp - 0x148]
push edx
push str............._s_removed_r_n
jmp 0x404339
lea edx, [ebp - 0x148]
push edx
push str............._s_not_removed_r_n
push 0x43a170
call fcn.0041ddb1
mov eax, dword [0x43a170]
add esp, 0xc
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, 0x43a178
call fcn.004231aa
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x4a4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40408c
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], 1
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x40408c
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call fcn.00422f96
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret