Function at 0x41906f
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push 0x264
mov eax, 0x46b9f9
call fcn.0042dc0b
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x25c], esi
call fcn.0040699e
xor ebx, ebx
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], ebx
call fcn.0040699e
lea ecx, [ebp - 0x260]
call fcn.0040699e
lea ecx, [ebp - 0x270]
call fcn.0040699e
lea ecx, [ebp - 0x26c]
call fcn.0040699e
lea ecx, [ebp - 0x268]
call fcn.0040699e
mov byte [ebp - 4], 5
test esi, esi
jne 0x4190f2
push 5
push str.IN_Operations::_RemovingMatchingFiles_:_parameter_lpszPathWithWildcards_is_NULL__return_false
mov ecx, 0x493f4c
call fcn.0040c5b8
mov edi, dword [ebp - 0x264]
jmp 0x41927e
push esi
call fcn.00436130
pop ecx
push eax
push esi
lea ecx, [ebp - 0x264]
call fcn.0040e094
mov edi, dword [ebp - 0x264]
push 0x5c
push edi
call fcn.00438c7c
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x41922e
or esi, 0xffffffff
push esi
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x264]
call fcn.00413e8b
push eax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 6
call fcn.00413753
mov ecx, dword [ebp - 0x25c]
mov byte [ebp - 4], 5
lea ecx, [ecx - 0x10]
call fcn.00406c57
mov eax, dword [edi - 0xc]
lea ecx, [esi + 1]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x264]
call fcn.00414b14
lea eax, [ebp - 0x25c]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x270]
call fcn.00413753
mov ecx, dword [ebp - 0x25c]
mov byte [ebp - 4], 5
lea ecx, [ecx - 0x10]
call fcn.00406c57
mov esi, dword [ebp - 0x260]
cmp dword [esi - 4], 1
jle 0x4191bc
push dword [esi - 0xc]
lea ecx, [ebp - 0x260]
call fcn.00406aae
mov esi, dword [ebp - 0x260]
push 1
lea eax, [ebp - 0x114]
push eax
push esi
call fcn.0041618b
add esp, 0xc
test al, al
jne 0x419289
push esi
lea eax, [ebp - 0x258]
push str.IN_Operations::_RemovingMatchingFiles_:_No_interpretation_for_folder__s
push eax
call fcn.00406b1a
mov eax, dword [ebp - 0x258]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x419205
push dword [eax - 0xc]
lea ecx, [ebp - 0x258]
call fcn.00406aae
push 4
push dword [ebp - 0x258]
mov ebx, 0x493f4c
mov ecx, ebx
call fcn.0040c5b8
mov ecx, ebx
push 2
push str.No_files_to_remove.
call fcn.0040c5b8
mov bl, 1
jmp 0x41940a
sub esi, edi
cmp esi, 1
jne 0x419123
push dword [ebp - 0x25c]
lea eax, [ebp - 0x258]
push str.IN_Operations::_RemovingMatchingFiles_:_Backslash_not_found_in__s
push eax
call fcn.00406b1a
mov eax, dword [ebp - 0x258]
add esp, 0xc
cmp dword [eax - 4], esi
jle 0x41926c
push dword [eax - 0xc]
lea ecx, [ebp - 0x258]
call fcn.00406aae
push 5
push dword [ebp - 0x258]
mov ecx, 0x493f4c
call fcn.0040c5b8
mov esi, dword [ebp - 0x260]
jmp 0x41940a
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
lea eax, [ebp - 0x114]
push eax
call fcn.00436130
pop ecx
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x26c]
call fcn.0040e094
mov eax, dword [ebp - 0x270]
lea ecx, [ebp - 0x26c]
push dword [eax - 0xc]
push eax
call fcn.0040c295
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x25c], eax
cmp eax, 0xffffffff
jne 0x41934a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x4192fe
mov ecx, 0x493f4c
jmp 0x41921b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x258]
push str.FindFirstFile___failed._Error:__d
push eax
call fcn.00406b1a
mov eax, dword [ebp - 0x258]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x419333
push dword [eax - 0xc]
lea ecx, [ebp - 0x258]
call fcn.00406aae
push 7
push dword [ebp - 0x258]
mov ecx, 0x493f4c
call fcn.0040c5b8
jmp 0x41940a
mov edi, dword [ebp - 0x25c]
mov bl, 1
lea eax, [ebp - 0x114]
push eax
call fcn.00436130
pop ecx
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x268]
call fcn.0040e094
lea eax, [ebp - 0x228]
push eax
call fcn.00436130
pop ecx
push eax
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x268]
call fcn.0040c295
mov eax, dword [ebp - 0x268]
cmp dword [eax - 4], 1
jle 0x4193ac
push dword [eax - 0xc]
lea ecx, [ebp - 0x268]
call fcn.00406aae
push dword [ebp - 0x268]
call fcn.0041891a
neg al
pop ecx
sbb al, al
and bl, al
lea eax, [ebp - 0x254]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x419352
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0x264]
cmp eax, 0x12
je 0x4193fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x258]
push str.FindNextFile___failed._Error:__d
push eax
call fcn.00406b1a
add esp, 0xc
xor bl, bl
push dword [ebp - 0x25c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x268]
lea ecx, [ecx - 0x10]
call fcn.00406c57
mov ecx, dword [ebp - 0x26c]
lea ecx, [ecx - 0x10]
call fcn.00406c57
mov ecx, dword [ebp - 0x270]
lea ecx, [ecx - 0x10]
call fcn.00406c57
lea ecx, [esi - 0x10]
call fcn.00406c57
lea ecx, [edi - 0x10]
call fcn.00406c57
mov ecx, dword [ebp - 0x258]
add ecx, 0xfffffff0
call fcn.00406c57
mov al, bl
call fcn.0042dbb5
ret