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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbb4
mov eax, dword [0x466750]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
xor esi, esi
mov dword [ebp - 0xbac], edi
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], esi
mov word [edi], ax
cmp dword [ebx + 0x10], esi
je 0x406e05
cmp dword [ebx + 0x14], 8
jb 0x406920
mov eax, dword [ebx]
jmp 0x406922
mov eax, ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x406e05
push str..
mov edx, ebx
lea ecx, [ebp - 0x938]
call fcn.004076d1
mov dword [esp], 0x250
lea eax, [ebp - 0xba0]
push esi
push eax
call fcn.00435540
add esp, 0xc
lea ecx, [ebp - 0xba0]
cmp dword [ebp - 0x924], 8
lea eax, [ebp - 0x938]
cmovae eax, dword [ebp - 0x938]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0xbb0], esi
cmp esi, 0xffffffff
je 0x406df6
push 0x456854
lea ecx, [ebp - 0x8b0]
call fcn.0040276c
push str.FrameLoader.dll
lea ecx, [ebp - 0x898]
call fcn.0040276c
push str.F1Frame.dll
lea ecx, [ebp - 0x880]
call fcn.0040276c
push 0x4568a8
lea ecx, [ebp - 0x868]
call fcn.0040276c
push str.chrome_elf.dll
lea ecx, [ebp - 0x850]
call fcn.0040276c
push str.F1Assistant.dll
lea ecx, [ebp - 0x838]
call fcn.0040276c
push 0x45690c
lea ecx, [ebp - 0x820]
call fcn.0040276c
push 0x800
lea eax, [ebp - 0x808]
push 0
push eax
call fcn.00435540
add esp, 0xc
mov ecx, 0x456924
lea eax, [ebp - 0xb74]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406a44
test dx, dx
je 0x406a40
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406a44
add eax, 4
add ecx, 4
test dx, dx
jne 0x406a1e
xor eax, eax
jmp 0x406a49
sbb eax, eax
or eax, 1
test eax, eax
je 0x406dbf
mov ecx, 0x456928
lea eax, [ebp - 0xb74]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406a82
test dx, dx
je 0x406a7e
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406a82
add eax, 4
add ecx, 4
test dx, dx
jne 0x406a5c
xor eax, eax
jmp 0x406a87
sbb eax, eax
or eax, 1
test eax, eax
je 0x406dbf
push 0x800
xor esi, esi
lea eax, [ebp - 0x808]
push esi
push eax
call fcn.00435540
add esp, 0xc
mov dword [ebp - 0xba8], esi
lea eax, [ebp - 0xba8]
mov dword [ebp - 0xba4], esi
push eax
lea eax, [ebp - 0xb8c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
xor eax, eax
lea edi, [ebp - 0x8f0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x8f0]
push eax
lea eax, [ebp - 0xba8]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push 0x4549fc
mov edx, ebx
lea ecx, [ebp - 0x8c8]
call fcn.004076d1
mov esi, eax
lea eax, [ebp - 0xb74]
pop ecx
push eax
call fcn.004011a9
pop ecx
push eax
lea eax, [ebp - 0xb74]
mov ecx, esi
push eax
call fcn.00402a6a
push eax
lea ecx, [ebp - 0x908]
call fcn.0040279d
xor edi, edi
lea ecx, [ebp - 0x8c8]
push edi
push 1
call fcn.00402c5d
cmp dword [ebp - 0x8f4], 8
lea eax, [ebp - 0x908]
cmovae eax, dword [ebp - 0x908]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov esi, eax
mov dword [ebp - 0x8d0], edi
push 7
xor eax, eax
mov word [ebp - 0x8e0], ax
pop ecx
mov dword [ebp - 0x8cc], ecx
test esi, esi
jne 0x406bc3
cmp dword [ebp - 0x8f4], 8
lea edx, [ebp - 0x8e0]
mov dword [ebp - 0x8b4], ecx
lea ecx, [ebp - 0x908]
cmovae ecx, dword [ebp - 0x908]
mov word [ebp - 0x8c8], ax
lea eax, [ebp - 0x8c8]
push eax
mov dword [ebp - 0x8b8], edi
call fcn.00401eb1
pop ecx
push edi
push 1
lea ecx, [ebp - 0x8c8]
call fcn.00402c5d
cmp dword [ebp - 0x8cc], 8
mov ecx, dword [ebp - 0x8e0]
jae 0x406bc9
lea ecx, [ebp - 0x8e0]
movzx eax, word [ebp - 0x8e4]
push eax
movzx eax, word [ebp - 0x8e6]
push eax
movzx eax, word [ebp - 0x8e8]
push eax
movzx eax, word [ebp - 0x8ea]
push eax
movzx eax, word [ebp - 0x8ee]
push eax
movzx eax, word [ebp - 0x8f0]
push eax
push ecx
lea eax, [ebp - 0xb74]
push eax
push str._s___s__d__02d__02d__02d:_02d:_02d__r_n
lea eax, [ebp - 0x808]
push 0x400
push eax
call fcn.0042fd49
add esp, 0x2c
lea eax, [ebp - 0x808]
push eax
call fcn.004011a9
mov edi, dword [ebp - 0xbac]
pop ecx
push eax
lea eax, [ebp - 0x808]
mov ecx, edi
push eax
call fcn.00402a6a
test esi, esi
je 0x406d9b
lea esi, [ebp - 0x8b0]
push 0x4549fc
lea edx, [ebp - 0x908]
lea ecx, [ebp - 0x950]
call fcn.004076d1
pop ecx
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.004029c4
push eax
lea ecx, [ebp - 0x920]
call fcn.0040279d
push 0
push 1
lea ecx, [ebp - 0x950]
call fcn.00402c5d
cmp dword [ebp - 0x90c], 8
lea eax, [ebp - 0x920]
cmovae eax, dword [ebp - 0x920]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x406d7b
and dword [ebp - 0x8b8], 0
xor eax, eax
push 0x800
push eax
mov word [ebp - 0x8c8], ax
lea eax, [ebp - 0x808]
push eax
mov dword [ebp - 0x8b4], 7
call fcn.00435540
add esp, 0xc
lea eax, [ebp - 0x8c8]
cmp dword [ebp - 0x90c], 8
lea ecx, [ebp - 0x920]
lea edx, [ebp - 0x8e0]
cmovae ecx, dword [ebp - 0x920]
push eax
call fcn.00401eb1
cmp dword [ebp - 0x8b4], 8
lea edx, [ebp - 0x8e0]
pop ecx
lea ecx, [ebp - 0x8c8]
cmovae ecx, dword [ebp - 0x8c8]
cmp dword [ebp - 0x8cc], 8
cmovae edx, dword [ebp - 0x8e0]
cmp dword [esi + 0x14], 8
jb 0x406d33
mov eax, dword [esi]
jmp 0x406d35
mov eax, esi
push ecx
push edx
push eax
push str.____s___s__s__r_n
lea eax, [ebp - 0x808]
push 0x400
push eax
call fcn.0042fd49
lea eax, [ebp - 0x808]
push eax
call fcn.004011a9
add esp, 0x1c
mov ecx, edi
push eax
lea eax, [ebp - 0x808]
push eax
call fcn.00402a6a
push 0
push 1
lea ecx, [ebp - 0x8c8]
call fcn.00402c5d
push 0
push 1
lea ecx, [ebp - 0x920]
call fcn.00402c5d
add esi, 0x18
lea eax, [ebp - 0x808]
cmp esi, eax
jne 0x406c4a
push 0
push 1
lea ecx, [ebp - 0x8e0]
call fcn.00402c5d
push 0
push 1
lea ecx, [ebp - 0x908]
call fcn.00402c5d
mov esi, dword [ebp - 0xbb0]
lea eax, [ebp - 0xba0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x406a13
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 6
lea esi, [ebp - 0x808]
pop ebx
push 0
sub esi, 0x18
push 1
mov ecx, esi
call fcn.00402c5d
dec ebx
jns 0x406de5
push 0
push 1
lea ecx, [ebp - 0x938]
call fcn.00402c5d
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042ee4e
mov esp, ebp
pop ebp
ret