Function at 0x41480e
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x18f0
call fcn.0041dde0
mov eax, dword [0x420164]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push edi
mov dword [ebp - 0x18e8], ecx
mov dword [ebp - 0x18e4], edi
mov dword [ebp - 0x18ec], esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
mov dword [ebp - 0x18e0], esi
mov ebx, esi
cmp eax, 0xffffffff
jne 0x414880
mov eax, 0x80070057
push eax
push 0x408108
push 0x4081b0
push 0x420710
push 0x40149c
push 2
mov esi, eax
call fcn.00411c1c
add esp, 0x18
jmp 0x414ac5
test al, 0x10
jne 0x414891
mov eax, 0x80070057
push eax
push 0x408220
jmp 0x414860
push edi
mov edi, 0x105
lea eax, [ebp - 0x21c]
push edi
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
test eax, eax
je 0x4148b9
mov eax, 0x8000ffff
push eax
push 0x4082c8
jmp 0x414860
push 0x408370
lea eax, [ebp - 0x21c]
push edi
push eax
call dword [sym.imp.msvcrt.dll_wcscat_s]
add esp, 0xc
test eax, eax
je 0x4148e0
mov eax, 0x8000ffff
push eax
push 0x408380
jmp 0x414860
lea eax, [ebp - 0x18d4]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x18f0], edi
test edi, edi
je 0x414ac5
cmp edi, 0xffffffff
je 0x414ac5
lea eax, [ebp - 0x1684]
mov dword [ebp - 0x18d8], eax
cmp ebx, 0x104
je 0x414a04
lea eax, [ebp - 0x18dc]
push eax
lea eax, [ebp - 0x18a8]
push 0x408428
push eax
call dword [sym.imp.msvcrt.dll_swscanf_s]
add esp, 0xc
cmp eax, 1
jne 0x4149ee
mov eax, dword [ebp - 0x18e0]
cmp dword [ebp - 0x18dc], eax
jbe 0x4149be
mov eax, dword [ebp - 0x18dc]
mov dword [ebp - 0x18e0], eax
test ebx, ebx
je 0x41498b
lea eax, [ebp - 0x1684]
push eax
push 0x105
push dword [ebp - 0x18d8]
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
test eax, eax
jne 0x414a30
lea eax, [ebp - 0x18a8]
push eax
push dword [ebp - 0x18e4]
lea eax, [ebp - 0x1684]
push 0x4026c4
push eax
call fcn.00416096
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4149e3
mov eax, 0x8000ffff
push eax
push 0x4084e0
jmp 0x414a3b
lea eax, [ebp - 0x18a8]
push eax
push dword [ebp - 0x18e4]
push 0x4026c4
push dword [ebp - 0x18d8]
call fcn.00416096
add esp, 0x10
cmp eax, 0xffffffff
je 0x414a58
inc ebx
add dword [ebp - 0x18d8], 0x20a
lea eax, [ebp - 0x18d4]
push eax
push edi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
test eax, eax
jne 0x414919
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x12
je 0x414a65
test eax, eax
je 0x414a65
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x414a28
movzx esi, si
or esi, 0x80070000
push esi
push 0x408630
jmp 0x414a3d
mov eax, 0x8000ffff
push eax
push 0x408438
mov esi, eax
push 0x4081b0
push 0x420710
push 0x40149c
push 2
call fcn.00411c1c
add esp, 0x18
jmp 0x414ab9
mov eax, 0x8000ffff
push eax
push 0x408588
jmp 0x414a3b
cmp ebx, 1
jbe 0x414ab9
mov esi, dword [ebp - 0x18e8]
lea edi, [ebp - 0x147a]
dec ebx
push edi
mov ecx, esi
call fcn.00414ad8
test eax, eax
jns 0x414aa2
push eax
push 0x4086d8
push 0x4081b0
push 0x420710
push 0x4014c4
push 2
call fcn.00411c1c
add esp, 0x18
add edi, 0x20a
sub ebx, 1
jne 0x414a77
mov esi, dword [ebp - 0x18ec]
mov edi, dword [ebp - 0x18f0]
cmp edi, 0xffffffff
je 0x414ac5
push edi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d370
leave
ret 4