Function at 0x403bf8
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 0x20], 0
push ebx
push esi
push edi
mov ebx, ecx
mov esi, 0x475868
push esi
lea ecx, [ebp - 4]
call fcn.0040204c
push esi
lea ecx, [ebp - 0xc]
call fcn.0040204c
mov edi, 0x4639c8
push edi
lea ecx, [ebp - 8]
call fcn.00403b7b
push esi
lea ecx, [ebp - 0x18]
call fcn.0040204c
push esi
lea ecx, [ebp - 0x14]
call fcn.0040204c
push str.Profiles
lea ecx, [ebp - 0x10]
call fcn.00403b7b
mov ecx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
call fcn.00402c33
push 0
push 0x1a
mov esi, 0x104
push esi
lea ecx, [ebp - 4]
call fcn.004024e5
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push dword [ebp - 4]
call fcn.00401b28
pop ecx
push eax
lea ecx, [ebp - 4]
call fcn.00401b41
push str.MozillaFirefox
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00402bbb
add esp, 0xc
push eax
lea ecx, [ebp - 4]
call fcn.00402c33
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401931
push str.profiles.ini
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00402bbb
add esp, 0xc
push eax
lea ecx, [ebp - 0xc]
call fcn.00402c33
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401931
push ecx
lea eax, [ebp - 0xc]
mov ecx, esp
push eax
call fcn.004020af
add ebx, 0x10
mov ecx, ebx
call fcn.00408a9b
test eax, eax
jne 0x403d2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x403d04
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
jl 0x403d0f
mov esi, 0x80004005
push 0x67
push str.Cookie.cpp
push str.Cookie
push esi
call sub.LogDll.dll_TraceErrorReport
mov edi, dword [ebp - 0x10]
add esp, 0x10
jmp 0x403e7e
push str.Profile0
lea ecx, [ebp - 0x18]
call fcn.00402ce5
push 0x463e68
lea ecx, [ebp - 0x14]
call fcn.00402ce5
push edi
lea ecx, [ebp - 8]
call fcn.00402ce5
push esi
lea ecx, [ebp - 8]
call fcn.004024e5
push dword [ebp - 0xc]
push esi
push eax
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [ebp - 8]
push esi
call fcn.00401b28
pop ecx
push eax
lea ecx, [ebp - 8]
call fcn.00401b41
cmp dword [esi - 0xc], 0
jne 0x403da9
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x403d97
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
jl 0x403da2
mov esi, 0x80004005
push 0x6f
jmp 0x403d11
mov esi, 0x463e64
push esi
lea ecx, [ebp - 4]
call fcn.00402cc8
mov edi, dword [ebp - 0x10]
push dword [edi - 0xc]
lea ecx, [ebp - 4]
push edi
call fcn.004029e5
push esi
lea ecx, [ebp - 4]
call fcn.00402cc8
mov eax, dword [ebp - 8]
mov eax, dword [eax - 0xc]
sub eax, dword [edi - 0xc]
lea ecx, [ebp - 8]
dec eax
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00402436
push eax
lea ecx, [ebp - 4]
call fcn.00402e01
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401931
push str.cookies.sqlite
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00402bbb
add esp, 0xc
push eax
lea ecx, [ebp - 8]
call fcn.00402c33
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401931
push ecx
lea eax, [ebp - 8]
mov ecx, esp
push eax
call fcn.004020af
mov ecx, ebx
call fcn.00408a9b
test eax, eax
jne 0x403e70
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x403e4e
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
jl 0x403e59
mov esi, 0x80004005
push 0x76
push str.Cookie.cpp
push str.Cookie
push esi
call sub.LogDll.dll_TraceErrorReport
add esp, 0x10
jmp 0x403e7e
mov ecx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
xor esi, esi
call fcn.00402c33
lea ecx, [edi - 0x10]
call fcn.00401931
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401931
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401931
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.00401931
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.00401931
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.00401931
lea ecx, [ebp - 0x20]
call fcn.0040161b
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4