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

Disassembly:
push 0xffffffffffffffff
push 0x660abc
mov eax, dword fs:[0]
push eax
sub esp, 0x484
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x480], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x498]
mov dword fs:[0], eax
xor ebp, ebp
xor eax, eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], ebp
mov word [esp + 0x1c], ax
mov dword [esp + 0x4a0], ebp
cmp dword [esp + 0x4ac], ebp
je 0x567a7a
cmp dword [0x75e8bc], ebp
jne 0x567a91
lea ecx, [esp + 0x28c]
push ecx
call fcn.005673f0
add esp, 4
test eax, eax
je 0x567a2f
lea eax, [esp + 0x28c]
xor bl, bl
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x5678a0
sub eax, edx
xor edx, edx
sar eax, 1
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], ebp
mov word [esp + 0x34], dx
mov byte [esp + 0x4a0], 1
cmp word [esp + eax*2 + 0x28a], 0x5c
lea edi, [esp + eax*2 + 0x28a]
mov eax, 0x679c78
je 0x5678e2
mov eax, 0x679980
push ebp
push eax
lea eax, [esp + 0x294]
push eax
push str._s_sMozillaFirefoxProfiles
lea ecx, [esp + 0x40]
call fcn.00402320
mov eax, dword [esp + 0x30]
cmp eax, ebp
jne 0x567906
lea eax, [esp + 0x34]
lea ecx, [esp + 0x3c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
cmp esi, 0xffffffff
je 0x567a1e
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x567930
mov ecx, 0x67bca4
lea eax, [esp + 0x68]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x567966
test dx, dx
je 0x567962
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x567966
add eax, 4
add ecx, 4
test dx, dx
jne 0x567940
xor eax, eax
jmp 0x56796b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x567a03
mov ecx, 0x67bc9c
lea eax, [esp + 0x68]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5679a6
test dx, dx
je 0x5679a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5679a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x567980
xor eax, eax
jmp 0x5679ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x567a03
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x567a03
cmp word [edi], 0x5c
mov eax, 0x679c78
je 0x5679d3
mov eax, 0x679980
push 0
lea ecx, [esp + 0x6c]
push ecx
push eax
lea edx, [esp + 0x298]
push edx
push str._s_sMozillaFirefoxProfiles_scookies.sqlite
lea ecx, [esp + 0x2c]
call fcn.00411ad0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov bl, 1
lea edx, [esp + 0x3c]
push edx
push esi
call ebp
test eax, eax
jne 0x567930
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
test bl, bl
jne 0x567a4a
mov byte [esp + 0x4a0], 0
lea ecx, [esp + 0x30]
call fcn.00401210
mov dword [esp + 0x4a0], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00401210
xor eax, eax
jmp 0x568195
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x567a56
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebp
cmp eax, 0xffffffff
je 0x567a1e
mov byte [esp + 0x4a0], 0
lea ecx, [esp + 0x30]
call fcn.00401210
jmp 0x56806c
mov esi, dword [esp + 0x4a8]
cmp dword [0x75e8b8], esi
jne 0x567aaf
cmp dword [0x75e8c0], ebp
je 0x567ac1
mov dword [esp + 0x4a0], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00401210
mov eax, 1
jmp 0x568195
mov dword [0x75e8c0], ebp
mov dword [0x75e8c4], ebp
mov dword [0x75e8b8], esi
lea eax, [esp + 0x28c]
push eax
call fcn.0040fed0
add esp, 4
test eax, eax
je 0x567a2f
lea eax, [esp + 0x28c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x567ae3
sub eax, edx
sar eax, 1
cmp esi, 0x12
jne 0x567baf
cmp word [esp + eax*2 + 0x28a], 0x5c
lea esi, [esp + eax*2 + 0x28a]
mov eax, 0x679c78
je 0x567b17
mov eax, 0x679980
push ebp
push eax
lea ecx, [esp + 0x294]
push ecx
push str._s_sMicrosoftEdgeUser_DataDefaultNetworkcookies
lea ecx, [esp + 0x28]
call fcn.00402320
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x567b3b
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x567b8a
cmp word [esi], 0x5c
mov eax, 0x679c78
je 0x567b59
mov eax, 0x679980
push 0
push eax
lea edx, [esp + 0x294]
push edx
push str._s_sMicrosoftEdgeUser_DataDefaultcookies
lea ecx, [esp + 0x28]
call fcn.00402320
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x567b7e
lea eax, [esp + 0x1c]
push eax
call ebp
cmp eax, 0xffffffff
je 0x567a2f
cmp word [esi], 0x5c
mov eax, 0x679c78
je 0x567b9a
mov eax, 0x679980
push 0
push eax
lea eax, [esp + 0x294]
push eax
push str._s_sMicrosoftEdgeUser_DataLocal_State
jmp 0x568062
cmp esi, 0x13
jne 0x567c6c
cmp word [esp + eax*2 + 0x28a], 0x5c
lea esi, [esp + eax*2 + 0x28a]
mov eax, 0x679c78
je 0x567bd4
mov eax, 0x679980
push ebp
push eax
lea ecx, [esp + 0x294]
push ecx
push str._s_sBraveSoftwareBrave_BrowserUser_DataDefaultcookies
lea ecx, [esp + 0x28]
call fcn.00402320
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x567bf8
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x567c47
cmp word [esi], 0x5c
mov eax, 0x679c78
je 0x567c16
mov eax, 0x679980
push 0
push eax
lea edx, [esp + 0x294]
push edx
push str._s_sBraveSoftwareBrave_BrowserUser_DataDefaultNetworkcookies
lea ecx, [esp + 0x28]
call fcn.00402320
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x567c3b
lea eax, [esp + 0x1c]
push eax
call ebp
cmp eax, 0xffffffff
je 0x567a2f
cmp word [esi], 0x5c
mov eax, 0x679c78
je 0x567c57
mov eax, 0x679980
push 0
push eax
lea eax, [esp + 0x294]
push eax
push str._s_sBraveSoftwareBrave_BrowserUser_DataLocal_State
jmp 0x568062
cmp esi, 0x14
jne 0x567d29
cmp word [esp + eax*2 + 0x28a], 0x5c
lea esi, [esp + eax*2 + 0x28a]
mov eax, 0x679c78
je 0x567c91
mov eax, 0x679980
push ebp
push eax
lea ecx, [esp + 0x294]
push ecx
push str._s_sVivaldiUser_DataDefaultcookies
lea ecx, [esp + 0x28]
call fcn.00402320
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x567cb5
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x567d04
cmp word [esi], 0x5c
mov eax, 0x679c78
je 0x567cd3
mov eax, 0x679980
push 0
push eax
lea edx, [esp + 0x294]
push edx
push str._s_sVivaldiUser_DataDefaultNetworkcookies
lea ecx, [esp + 0x28]
call fcn.00402320
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x567cf8
lea eax, [esp + 0x1c]
push eax
call ebp
cmp eax, 0xffffffff
je 0x567a2f
cmp word [esi], 0x5c
mov eax, 0x679c78
je 0x567d14
mov eax, 0x679980
push 0
push eax
lea eax, [esp + 0x294]
push eax
push str._s_sVivaldiUser_DataLocal_State
jmp 0x568062
cmp esi, 0x15
jne 0x567de6
cmp word [esp + eax*2 + 0x28a], 0x5c
lea esi, [esp + eax*2 + 0x28a]
mov eax, 0x679c78
je 0x567d4e
mov eax, 0x679980
push ebp
push eax
lea ecx, [esp + 0x294]
push ecx
push str._s_sYandexYandexBrowserUser_DataDefaultcookies
lea ecx, [esp + 0x28]
call fcn.00402320
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x567d72
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x567dc1
cmp word [esi], 0x5c
mov eax, 0x679c78
je 0x567d90
mov eax, 0x679980
push 0
push eax
lea edx, [esp + 0x294]
push edx
push str._s_sYandexYandexBrowserUser_DataDefaultNetworkcookies
lea ecx, [esp + 0x28]
call fcn.00402320
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x567db5
lea eax, [esp + 0x1c]
push eax
call ebp
cmp eax, 0xffffffff
je 0x567a2f
cmp word [esi], 0x5c
mov eax, 0x679c78
je 0x567dd1
mov eax, 0x679980
push 0
push eax
lea eax, [esp + 0x294]
push eax
push str._s_sYandexYandexBrowserUser_DataLocal_State
jmp 0x568062
cmp esi, 3
jne 0x567fb3
xor ecx, ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
mov word [esp + 0x28], cx
mov byte [esp + 0x4a0], 2
mov eax, dword [0x75dc38]
cmp eax, ebp
jne 0x567e14
mov eax, 0x75dc3c
push eax
lea ecx, [esp + 0x28]
call fcn.004017f0
mov eax, dword [esp + 0x24]
cmp eax, ebp
jne 0x567e2a
lea eax, [esp + 0x28]
push 0x5c
push eax
call fcn.0061fc83
add esp, 8
cmp eax, ebp
jne 0x567e4a
mov byte [esp + 0x4a0], 0
lea ecx, [esp + 0x24]
jmp 0x567a2a
mov edx, str.IDM
mov ecx, eax
mov si, word [ecx]
or edi, 0xffffffff
cmp si, word [edx]
jne 0x567e7a
cmp si, bp
je 0x567e76
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x567e7a
add ecx, 4
add edx, 4
cmp si, bp
jne 0x567e51
xor ecx, ecx
jmp 0x567e7e
sbb ecx, ecx
sbb ecx, edi
cmp ecx, ebp
je 0x567f3e
mov edx, 0x679980
mov ecx, eax
lea ecx, [ecx]
mov si, word [ecx]
cmp si, word [edx]
jne 0x567eb6
cmp si, bp
je 0x567eb2
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x567eb6
add ecx, 4
add edx, 4
cmp si, bp
jne 0x567e90
xor ecx, ecx
jmp 0x567eba
sbb ecx, ecx
sbb ecx, edi
cmp ecx, ebp
jne 0x567ede
xor ecx, ecx
mov word [eax], cx
mov eax, dword [esp + 0x24]
cmp eax, ebp
jne 0x567ecf
lea eax, [esp + 0x28]
push 0x5c
push eax
call fcn.0061fc83
add esp, 8
cmp eax, ebp
jne 0x567f06
mov byte [esp + 0x4a0], 0
lea ecx, [esp + 0x24]
call fcn.00401210
mov dword [esp + 0x4a0], edi
lea ecx, [esp + 0x18]
call fcn.00401210
xor eax, eax
jmp 0x568195
mov edx, str.IDM
mov ecx, eax
lea ecx, [ecx]
mov si, word [ecx]
cmp si, word [edx]
jne 0x567f36
cmp si, bp
je 0x567f32
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x567f36
add ecx, 4
add edx, 4
cmp si, bp
jne 0x567f10
xor ecx, ecx
jmp 0x567f3a
sbb ecx, ecx
sbb ecx, edi
cmp ecx, ebp
jne 0x567ede
add eax, 2
xor edx, edx
mov word [eax], dx
mov eax, dword [esp + 0x24]
cmp eax, ebp
jne 0x567f52
lea eax, [esp + 0x28]
push ebp
push eax
push str._sOpera_SoftwareOpera_Stablecookies
lea ecx, [esp + 0x24]
call fcn.004021b0
mov eax, dword [esp + 0x24]
cmp eax, ebp
jne 0x567f6e
lea eax, [esp + 0x28]
push ebp
push eax
push str._sOpera_SoftwareOpera_StableLocal_State
mov ecx, 0x75e8f8
call fcn.004021b0
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x567f8b
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebp
cmp eax, 0xffffffff
je 0x567e39
mov byte [esp + 0x4a0], 0
lea ecx, [esp + 0x24]
call fcn.00401210
jmp 0x56806c
cmp word [esp + eax*2 + 0x28a], 0x5c
lea esi, [esp + eax*2 + 0x28a]
mov eax, 0x679c78
je 0x567fcf
mov eax, 0x679980
push ebp
push eax
lea eax, [esp + 0x294]
push eax
push str._s_sGoogleChromeUser_DataDefaultNetworkcookies
lea ecx, [esp + 0x28]
call fcn.00402320
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x567ff3
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x568042
cmp word [esi], 0x5c
mov eax, 0x679c78
je 0x568011
mov eax, 0x679980
push 0
push eax
lea ecx, [esp + 0x294]
push ecx
push str._s_sGoogleChromeUser_DataDefaultcookies
lea ecx, [esp + 0x28]
call fcn.00402320
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x568036
lea eax, [esp + 0x1c]
push eax
call ebp
cmp eax, 0xffffffff
je 0x567a2f
cmp word [esi], 0x5c
mov eax, 0x679c78
je 0x568052
mov eax, 0x679980
push 0
push eax
lea edx, [esp + 0x294]
push edx
push str._s_sGoogleChromeUser_DataLocal_State
mov ecx, 0x75e8f8
call fcn.00402320
lea ecx, [esp + 0x14]
call fcn.00402500
mov byte [esp + 0x4a0], 3
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x568089
lea eax, [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
or ebx, 0xffffffff
push ebx
push eax
push 0
push 0xfde9
call edi
mov esi, eax
test esi, esi
jle 0x5680d6
push esi
lea ecx, [esp + 0x18]
call fcn.00402850
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x5680c1
lea ecx, [esp + 0x1c]
push 0
push 0
push esi
push eax
push ebx
push ecx
push 0
push 0xfde9
call edi
test eax, eax
jne 0x5680fe
mov byte [esp + 0x4a0], 0
lea ecx, [esp + 0x14]
call fcn.00402570
mov dword [esp + 0x4a0], ebx
lea ecx, [esp + 0x18]
call fcn.00401210
xor eax, eax
jmp 0x568195
cmp dword [esp + 0x4ac], 0
je 0x56812c
mov eax, dword [esp + 0x14]
push eax
push 0x678ea8
push 0x75e8f0
call fcn.00402f70
mov esi, 1
add esp, 0xc
mov dword [0x75e8bc], esi
jmp 0x568172
mov ecx, dword [esp + 0x14]
push ecx
push 0x678ea8
push 0x75e8f4
call fcn.00402f70
add esp, 0xc
cmp dword [0x75e900], 0
mov esi, 1
mov dword [0x75e8c0], esi
je 0x568172
mov eax, dword [0x75e8f8]
test eax, eax
jne 0x568165
mov eax, 0x75e8fc
push eax
call ebp
cmp eax, ebx
je 0x568172
mov dword [0x75e8c4], esi
mov byte [esp + 0x4a0], 0
lea ecx, [esp + 0x14]
call fcn.00402570
mov dword [esp + 0x4a0], ebx
lea ecx, [esp + 0x18]
call fcn.00401210
mov eax, esi
mov ecx, dword [esp + 0x498]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x480]
xor ecx, esp
call fcn.0062016f
add esp, 0x490
ret