Function at 0x4b0110
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4980
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x6385e0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c0], ecx
push 0x48
call fcn.0054d57b
add esp, 4
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0
je 0x4b0174
mov eax, dword [ebp - 0x2c0]
push eax
mov ecx, dword [ebp - 0x270]
call fcn.004b2b40
mov dword [ebp - 0x2c4], eax
jmp 0x4b017e
mov dword [ebp - 0x2c4], 0
mov ecx, dword [ebp - 0x2c4]
mov dword [ebp - 0x26c], ecx
mov edx, dword [ebp - 0x26c]
mov dword [ebp - 0x228], edx
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x27c]
push ecx
mov ecx, dword [ebp - 0x2c0]
add ecx, 0x18
call fcn.004a8c30
lea ecx, [ebp - 0x18]
call fcn.004b34a0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x224]
push edx
push 0
push 0
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x4b04e2
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x18]
call fcn.004b38f0
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.004b4e90
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jle 0x4b04e2
mov ecx, dword [ebp - 0x22c]
add ecx, 1
mov dword [ebp - 0x22c], ecx
mov edx, dword [ebp - 0x22c]
push edx
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.004b4ed0
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jle 0x4b04e2
lea ecx, [ebp - 0x18]
call fcn.00404b70
sub eax, dword [ebp - 0x22c]
push eax
mov eax, dword [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x18]
call fcn.004b5a90
mov dword [ebp - 0x230], str.Application_DataMozillaFirefoxProfiles
push 0
lea ecx, [ebp - 0x23c]
call fcn.00430200
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x23c]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.004a3e50
add esp, 8
movzx eax, al
test eax, eax
je 0x4b04d3
mov dword [ebp - 0x240], 0
jmp 0x4b02af
mov ecx, dword [ebp - 0x240]
add ecx, 1
mov dword [ebp - 0x240], ecx
lea ecx, [ebp - 0x23c]
call fcn.004b9730
cmp dword [ebp - 0x240], eax
jge 0x4b04d3
mov edx, dword [ebp - 0x230]
push edx
lea ecx, [ebp - 0x288]
call fcn.004b3550
mov byte [ebp - 4], 2
lea eax, [ebp - 0x288]
push eax
mov ecx, dword [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x23c]
call fcn.00430700
push eax
lea edx, [ebp - 0x294]
push edx
call fcn.00412f50
add esp, 0xc
mov dword [ebp - 0x2c8], eax
mov eax, dword [ebp - 0x2c8]
mov dword [ebp - 0x2cc], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2cc]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x24c]
push eax
call fcn.00412f50
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x294]
call fcn.004b3860
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x288]
call fcn.004b3860
push 0
lea ecx, [ebp - 0x258]
call fcn.00430200
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x24c]
push edx
call fcn.004a3e50
add esp, 8
movzx eax, al
test eax, eax
je 0x4b04b0
mov dword [ebp - 0x25c], 0
jmp 0x4b03a0
mov ecx, dword [ebp - 0x25c]
add ecx, 1
mov dword [ebp - 0x25c], ecx
lea ecx, [ebp - 0x258]
call fcn.004b9730
cmp dword [ebp - 0x25c], eax
jge 0x4b04b0
push str.places.sqlite
lea ecx, [ebp - 0x2a0]
call fcn.004b3550
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x25c]
push edx
lea ecx, [ebp - 0x258]
call fcn.00430700
push eax
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x2ac]
push ecx
call fcn.00412f50
add esp, 0xc
mov dword [ebp - 0x2d0], eax
mov edx, dword [ebp - 0x2d0]
mov dword [ebp - 0x2d4], edx
mov byte [ebp - 4], 9
lea eax, [ebp - 0x2a0]
push eax
mov ecx, dword [ebp - 0x2d4]
push ecx
lea edx, [ebp - 0x268]
push edx
call fcn.00412f50
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2ac]
call fcn.004b3860
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2a0]
call fcn.004b3860
lea eax, [ebp - 0x268]
push eax
call fcn.004bc0e0
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x4b049c
lea edx, [ebp - 0x268]
push edx
mov eax, dword [ebp - 0x2c0]
push eax
call fcn.004b2350
add esp, 8
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
je 0x4b049c
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x2b8]
push edx
mov ecx, dword [ebp - 0x2c0]
add ecx, 0x18
call fcn.004a8c30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x268]
call fcn.004b3860
jmp 0x4b0391
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x258]
call fcn.00430250
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.004b3860
jmp 0x4b02a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.00430250
mov byte [ebp - 0x2b9], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004b3860
mov al, byte [ebp - 0x2b9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0054d4f5
mov esp, ebp
pop ebp
ret