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

Disassembly:
push 0xffffffffffffffff
push 0x65dbbc
mov eax, dword fs:[0]
push eax
sub esp, 0x484
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0x480], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x755898]
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 0x565f5a
cmp dword [0x75b87c], ebp
jne 0x565f71
lea ecx, [esp + 0x28c]
push ecx
call fcn.005658e0
add esp, 4
test eax, eax
je 0x565f0f
lea eax, [esp + 0x28c]
xor bl, bl
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x565d80
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, 0x676c70
je 0x565dc2
mov eax, 0x676978
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 0x565de6
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 0x565efe
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x565e10
mov ecx, 0x678c18
lea eax, [esp + 0x68]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x565e46
test dx, dx
je 0x565e42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x565e46
add eax, 4
add ecx, 4
test dx, dx
jne 0x565e20
xor eax, eax
jmp 0x565e4b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x565ee3
mov ecx, 0x678c10
lea eax, [esp + 0x68]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x565e86
test dx, dx
je 0x565e82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x565e86
add eax, 4
add ecx, 4
test dx, dx
jne 0x565e60
xor eax, eax
jmp 0x565e8b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x565ee3
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x565ee3
cmp word [edi], 0x5c
mov eax, 0x676c70
je 0x565eb3
mov eax, 0x676978
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.00411a20
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 0x565e10
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
test bl, bl
jne 0x565f2a
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 0x566675
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x565f36
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebp
cmp eax, 0xffffffff
je 0x565efe
mov byte [esp + 0x4a0], 0
lea ecx, [esp + 0x30]
call fcn.00401210
jmp 0x56654c
mov esi, dword [esp + 0x4a8]
cmp dword [0x75b878], esi
jne 0x565f8f
cmp dword [0x75b880], ebp
je 0x565fa1
mov dword [esp + 0x4a0], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00401210
mov eax, 1
jmp 0x566675
mov dword [0x75b880], ebp
mov dword [0x75b884], ebp
mov dword [0x75b878], esi
lea eax, [esp + 0x28c]
push eax
call fcn.00410000
add esp, 4
test eax, eax
je 0x565f0f
lea eax, [esp + 0x28c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x565fc3
sub eax, edx
sar eax, 1
cmp esi, 0x12
jne 0x56608f
cmp word [esp + eax*2 + 0x28a], 0x5c
lea esi, [esp + eax*2 + 0x28a]
mov eax, 0x676c70
je 0x565ff7
mov eax, 0x676978
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 0x56601b
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x56606a
cmp word [esi], 0x5c
mov eax, 0x676c70
je 0x566039
mov eax, 0x676978
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 0x56605e
lea eax, [esp + 0x1c]
push eax
call ebp
cmp eax, 0xffffffff
je 0x565f0f
cmp word [esi], 0x5c
mov eax, 0x676c70
je 0x56607a
mov eax, 0x676978
push 0
push eax
lea eax, [esp + 0x294]
push eax
push str._s_sMicrosoftEdgeUser_DataLocal_State
jmp 0x566542
cmp esi, 0x13
jne 0x56614c
cmp word [esp + eax*2 + 0x28a], 0x5c
lea esi, [esp + eax*2 + 0x28a]
mov eax, 0x676c70
je 0x5660b4
mov eax, 0x676978
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 0x5660d8
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x566127
cmp word [esi], 0x5c
mov eax, 0x676c70
je 0x5660f6
mov eax, 0x676978
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 0x56611b
lea eax, [esp + 0x1c]
push eax
call ebp
cmp eax, 0xffffffff
je 0x565f0f
cmp word [esi], 0x5c
mov eax, 0x676c70
je 0x566137
mov eax, 0x676978
push 0
push eax
lea eax, [esp + 0x294]
push eax
push str._s_sBraveSoftwareBrave_BrowserUser_DataLocal_State
jmp 0x566542
cmp esi, 0x14
jne 0x566209
cmp word [esp + eax*2 + 0x28a], 0x5c
lea esi, [esp + eax*2 + 0x28a]
mov eax, 0x676c70
je 0x566171
mov eax, 0x676978
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 0x566195
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x5661e4
cmp word [esi], 0x5c
mov eax, 0x676c70
je 0x5661b3
mov eax, 0x676978
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 0x5661d8
lea eax, [esp + 0x1c]
push eax
call ebp
cmp eax, 0xffffffff
je 0x565f0f
cmp word [esi], 0x5c
mov eax, 0x676c70
je 0x5661f4
mov eax, 0x676978
push 0
push eax
lea eax, [esp + 0x294]
push eax
push str._s_sVivaldiUser_DataLocal_State
jmp 0x566542
cmp esi, 0x15
jne 0x5662c6
cmp word [esp + eax*2 + 0x28a], 0x5c
lea esi, [esp + eax*2 + 0x28a]
mov eax, 0x676c70
je 0x56622e
mov eax, 0x676978
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 0x566252
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x5662a1
cmp word [esi], 0x5c
mov eax, 0x676c70
je 0x566270
mov eax, 0x676978
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 0x566295
lea eax, [esp + 0x1c]
push eax
call ebp
cmp eax, 0xffffffff
je 0x565f0f
cmp word [esi], 0x5c
mov eax, 0x676c70
je 0x5662b1
mov eax, 0x676978
push 0
push eax
lea eax, [esp + 0x294]
push eax
push str._s_sYandexYandexBrowserUser_DataLocal_State
jmp 0x566542
cmp esi, 3
jne 0x566493
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 [0x75ac2c]
cmp eax, ebp
jne 0x5662f4
mov eax, 0x75ac30
push eax
lea ecx, [esp + 0x28]
call fcn.004017f0
mov eax, dword [esp + 0x24]
cmp eax, ebp
jne 0x56630a
lea eax, [esp + 0x28]
push 0x5c
push eax
call fcn.0061ce13
add esp, 8
cmp eax, ebp
jne 0x56632a
mov byte [esp + 0x4a0], 0
lea ecx, [esp + 0x24]
jmp 0x565f0a
mov edx, str.IDM
mov ecx, eax
mov si, word [ecx]
or edi, 0xffffffff
cmp si, word [edx]
jne 0x56635a
cmp si, bp
je 0x566356
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x56635a
add ecx, 4
add edx, 4
cmp si, bp
jne 0x566331
xor ecx, ecx
jmp 0x56635e
sbb ecx, ecx
sbb ecx, edi
cmp ecx, ebp
je 0x56641e
mov edx, 0x676978
mov ecx, eax
lea ecx, [ecx]
mov si, word [ecx]
cmp si, word [edx]
jne 0x566396
cmp si, bp
je 0x566392
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x566396
add ecx, 4
add edx, 4
cmp si, bp
jne 0x566370
xor ecx, ecx
jmp 0x56639a
sbb ecx, ecx
sbb ecx, edi
cmp ecx, ebp
jne 0x5663be
xor ecx, ecx
mov word [eax], cx
mov eax, dword [esp + 0x24]
cmp eax, ebp
jne 0x5663af
lea eax, [esp + 0x28]
push 0x5c
push eax
call fcn.0061ce13
add esp, 8
cmp eax, ebp
jne 0x5663e6
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 0x566675
mov edx, str.IDM
mov ecx, eax
lea ecx, [ecx]
mov si, word [ecx]
cmp si, word [edx]
jne 0x566416
cmp si, bp
je 0x566412
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x566416
add ecx, 4
add edx, 4
cmp si, bp
jne 0x5663f0
xor ecx, ecx
jmp 0x56641a
sbb ecx, ecx
sbb ecx, edi
cmp ecx, ebp
jne 0x5663be
add eax, 2
xor edx, edx
mov word [eax], dx
mov eax, dword [esp + 0x24]
cmp eax, ebp
jne 0x566432
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 0x56644e
lea eax, [esp + 0x28]
push ebp
push eax
push str._sOpera_SoftwareOpera_StableLocal_State
mov ecx, 0x75b8b8
call fcn.004021b0
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x56646b
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebp
cmp eax, 0xffffffff
je 0x566319
mov byte [esp + 0x4a0], 0
lea ecx, [esp + 0x24]
call fcn.00401210
jmp 0x56654c
cmp word [esp + eax*2 + 0x28a], 0x5c
lea esi, [esp + eax*2 + 0x28a]
mov eax, 0x676c70
je 0x5664af
mov eax, 0x676978
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 0x5664d3
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x566522
cmp word [esi], 0x5c
mov eax, 0x676c70
je 0x5664f1
mov eax, 0x676978
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 0x566516
lea eax, [esp + 0x1c]
push eax
call ebp
cmp eax, 0xffffffff
je 0x565f0f
cmp word [esi], 0x5c
mov eax, 0x676c70
je 0x566532
mov eax, 0x676978
push 0
push eax
lea edx, [esp + 0x294]
push edx
push str._s_sGoogleChromeUser_DataLocal_State
mov ecx, 0x75b8b8
call fcn.00402320
lea ecx, [esp + 0x14]
call fcn.00402500
mov byte [esp + 0x4a0], 3
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x566569
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 0x5665b6
push esi
lea ecx, [esp + 0x18]
call fcn.00402850
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x5665a1
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 0x5665de
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 0x566675
cmp dword [esp + 0x4ac], 0
je 0x56660c
mov eax, dword [esp + 0x14]
push eax
push 0x675ea0
push 0x75b8b0
call fcn.00402f70
mov esi, 1
add esp, 0xc
mov dword [0x75b87c], esi
jmp 0x566652
mov ecx, dword [esp + 0x14]
push ecx
push 0x675ea0
push 0x75b8b4
call fcn.00402f70
add esp, 0xc
cmp dword [0x75b8c0], 0
mov esi, 1
mov dword [0x75b880], esi
je 0x566652
mov eax, dword [0x75b8b8]
test eax, eax
jne 0x566645
mov eax, 0x75b8bc
push eax
call ebp
cmp eax, ebx
je 0x566652
mov dword [0x75b884], 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.0061d2ff
add esp, 0x490
ret