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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
mov eax, dword [0x438040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 0x14e
mov ecx, dword [ebp + 8]
mov word [ecx], ax
mov edx, dword [ebp + 8]
mov eax, 0x1a50
mov dword [edx + 2], 0x3a7b60dd
mov dword [edx + 6], eax
mov ecx, 0x2d
mov edx, dword [ebp + 8]
mov word [edx + 0x24], cx
mov eax, 0x3d
mov ecx, dword [ebp + 8]
mov word [ecx + 0x26], ax
mov edx, 0x5c
mov eax, dword [ebp + 8]
mov word [eax + 0x2a], dx
mov ecx, 0x6a
mov edx, dword [ebp + 8]
mov word [edx + 0x28], cx
xor eax, eax
mov ecx, dword [ebp + 8]
mov word [ecx + 0x2e], ax
mov edx, 0x3b
mov eax, dword [ebp + 8]
mov word [eax + 0x2c], dx
xor ecx, ecx
mov edx, dword [ebp + 8]
mov word [edx + 0x32], cx
xor eax, eax
mov ecx, dword [ebp + 8]
mov word [ecx + 0x30], ax
xor edx, edx
mov eax, dword [ebp + 8]
mov word [eax + 0x34], dx
mov ecx, 0xd
mov edx, dword [ebp + 8]
mov word [edx + 0x16], cx
mov eax, 5
mov ecx, dword [ebp + 8]
mov word [ecx + 0xe], ax
xor edx, edx
mov eax, dword [ebp + 8]
mov word [eax + 0xa], dx
mov ecx, 0xc
mov edx, dword [ebp + 8]
mov word [edx + 0x10], cx
mov eax, 2
mov ecx, dword [ebp + 8]
mov word [ecx + 0x12], ax
mov edx, 2
mov eax, dword [ebp + 8]
mov word [eax + 0x14], dx
xor ecx, ecx
mov edx, dword [ebp + 8]
mov word [edx + 0xc], cx
xor eax, eax
mov ecx, dword [ebp + 8]
mov word [ecx + 0x18], ax
mov edx, 1
mov eax, dword [ebp + 8]
mov word [eax + 0x1a], dx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x142], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x13e], 0
xor eax, eax
mov ecx, dword [ebp + 8]
mov word [ecx + 0x1c], ax
mov edx, 1
mov eax, dword [ebp + 8]
mov word [eax + 0x1e], dx
xor ecx, ecx
mov edx, dword [ebp + 8]
mov word [edx + 0x20], cx
xor eax, eax
mov ecx, dword [ebp + 8]
mov word [ecx + 0x22], ax
mov edx, dword [ebp + 8]
mov byte [edx + 0x146], 6
mov eax, dword [ebp + 8]
mov byte [eax + 0x147], 0
xor ecx, ecx
mov edx, dword [ebp + 8]
mov word [edx + 0x148], cx
mov eax, dword [ebp + 8]
mov dword [eax + 0x14a], 0
push 0x4310b4
mov ecx, dword [ebp + 8]
add ecx, 0x36
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x4310c0
mov edx, dword [ebp + 8]
add edx, 0x76
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp + 0xc], 0
je 0x417e4c
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.0041de40
add esp, 0xc
push 8
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004181f0
add esp, 8
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417cd5
push 0x4310cc
mov eax, dword [ebp + 8]
add eax, 0xb6
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x417d73
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00418110
add esp, 4
push str..imc
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x460], eax
cmp dword [ebp - 0x460], 0xffffffff
je 0x417d73
mov edx, dword [ebp - 0x45c]
and edx, 0x10
jne 0x417d4a
lea eax, [ebp - 0x430]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xb6
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp - 0x460]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x417d73
lea eax, [ebp - 0x45c]
push eax
mov ecx, dword [ebp - 0x460]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x417d71
mov edx, dword [ebp - 0x460]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x417d73
jmp 0x417d10
push 0xc
lea eax, [ebp - 0x20c]
push eax
call fcn.004181f0
add esp, 8
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417daf
push 0x4310ec
mov edx, dword [ebp + 8]
add edx, 0xf6
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x417e4c
lea eax, [ebp - 0x20c]
push eax
call fcn.00418110
add esp, 4
push str..ims
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x45c]
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x460], eax
cmp dword [ebp - 0x460], 0xffffffff
je 0x417e4c
mov ecx, dword [ebp - 0x45c]
and ecx, 0x10
jne 0x417e23
lea edx, [ebp - 0x430]
push edx
mov eax, dword [ebp + 8]
add eax, 0xb6
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp - 0x460]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x417e4c
lea edx, [ebp - 0x45c]
push edx
mov eax, dword [ebp - 0x460]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x417e4a
mov ecx, dword [ebp - 0x460]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x417e4c
jmp 0x417dea
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c52e
mov esp, ebp
pop ebp
ret