Function at 0x100c4c60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101acb16
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x10206370]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x434], ecx
mov dword [ebp - 0x430], 0
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.101845c0
add esp, 0xc
push 0
push 0x1a
lea edx, [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.MozillaFirefox
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x224]
call fcn.1000b6a0
mov dword [ebp - 4], 0
push str.profiles.ini
lea ecx, [ebp - 0x21c]
push ecx
push 0x104
lea ecx, [ebp - 0x224]
call fcn.100c4fa0
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x224]
call fcn.1000aa20
lea ecx, [ebp - 0x224]
call fcn.1004f530
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100c4d4d
lea ecx, [ebp - 0x224]
call fcn.1004f530
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x100c4d83
push 0x101c36f4
mov ecx, dword [ebp + 8]
call fcn.1000b560
mov edx, dword [ebp - 0x430]
or edx, 1
mov dword [ebp - 0x430], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.100056e0
mov eax, dword [ebp + 8]
jmp 0x100c4f47
xor eax, eax
mov word [ebp - 0x42c], ax
push 0x206
push 0
lea ecx, [ebp - 0x42a]
push ecx
call fcn.101845c0
add esp, 0xc
lea ecx, [ebp - 0x224]
call fcn.1004f530
push eax
push 0x104
lea edx, [ebp - 0x42c]
push edx
push 0x101c36f8
push 0x101c36fc
push str.Profile0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx eax, word [ebp - 0x42c]
test eax, eax
jne 0x100c4e10
push 0x101c371c
mov ecx, dword [ebp + 8]
call fcn.1000b560
mov ecx, dword [ebp - 0x430]
or ecx, 1
mov dword [ebp - 0x430], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.100056e0
mov eax, dword [ebp + 8]
jmp 0x100c4f47
lea edx, [ebp - 0x42c]
push edx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.places.sqlite
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100c4e7d
push 0x101c373c
mov ecx, dword [ebp + 8]
call fcn.1000b560
mov eax, dword [ebp - 0x430]
or eax, 1
mov dword [ebp - 0x430], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.100056e0
mov eax, dword [ebp + 8]
jmp 0x100c4f47
lea ecx, [ebp - 0x220]
push ecx
call fcn.100b81c0
mov ecx, eax
call fcn.100b81d0
mov byte [ebp - 4], 1
push str.history_firefox
lea ecx, [ebp - 0x220]
call fcn.10044dc0
push 0
lea ecx, [ebp - 0x220]
call fcn.1004f530
push eax
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x100c4f05
push 0x101c3764
mov ecx, dword [ebp + 8]
call fcn.1000b560
mov eax, dword [ebp - 0x430]
or eax, 1
mov dword [ebp - 0x430], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.100056e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.100056e0
mov eax, dword [ebp + 8]
jmp 0x100c4f47
lea ecx, [ebp - 0x220]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1000ac00
mov edx, dword [ebp - 0x430]
or edx, 1
mov dword [ebp - 0x430], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.100056e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.100056e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1017e01c
mov esp, ebp
pop ebp
ret 4