Function at 0x4235f9
Capabilities:
Check if file exists
Read .ini file

Disassembly:
mov eax, 0x45abf7
call fcn.004485c4
sub esp, 0x3c0
push ebx
push esi
push edi
mov esi, str.fs::FF_getPaths_2491
push esi
call fcn.004468a0
mov dword [ebp - 0x18], eax
push esi
xor ebx, ebx
push 0x468020
push ebx
mov dword [ebp - 4], ebx
call fcn.00437bbc
add esp, 0x10
push 6
pop ecx
mov esi, str._APPDATA_MozillaFirefox
lea edi, [ebp - 0x1c4]
rep movsd dword es:[edi], dword [esi]
push 0x3a
movsw word es:[edi], word [esi]
pop ecx
xor eax, eax
lea edi, [ebp - 0x1aa]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [ebp - 0x1c4]
push eax
call dword [sym.imp.SHELL32.dll_DoEnvironmentSubstA]
lea eax, [ebp - 0x1c4]
push eax
push str.__ff_path:__s
push ebx
call fcn.00437bbc
add esp, 0xc
lea eax, [ebp - 0x1c4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x42369c
push str.__no_ff_installed
push ebx
call fcn.00437bbc
pop ecx
pop ecx
mov byte [ebp - 0xd], bl
jmp 0x423a1b
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1c4]
push eax
call fcn.00418180
push str.profiles.ini
push dword [ebp + 8]
lea eax, [ebp - 0x34]
push eax
call fcn.004152b2
add esp, 0xc
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], ebx
mov esi, str.Profile
push dword [ebp - 0x14]
lea eax, [ebp - 0xc0]
push eax
call fcn.00444270
pop ecx
pop ecx
mov edi, eax
push esi
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.00418739
push edi
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 3
call fcn.00415459
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.00417a85
push ebx
push 1
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 1
call fcn.00417a85
push 0x40
pop ecx
xor eax, eax
mov byte [ebp - 0x3cc], bl
lea edi, [ebp - 0x3cb]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x30]
stosw word es:[edi], ax
push 0x10
stosb byte es:[edi], al
pop edi
cmp dword [ebp - 0x1c], edi
jae 0x423744
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x4c]
jae 0x42374f
lea eax, [ebp - 0x4c]
push ecx
push 0x104
lea ecx, [ebp - 0x3cc]
push ecx
push 0x465cf2
push str.Name
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x4237ac
cmp dword [ebp - 0x1c], edi
mov ecx, dword [ebp - 0x30]
jae 0x42377c
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x4c]
jae 0x423787
lea eax, [ebp - 0x4c]
push ecx
push ebx
push str.Default
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, ebx
push ebx
lea ecx, [ebp - 0x50]
push 1
jne 0x4237d5
call fcn.00417a85
inc dword [ebp - 0x14]
jmp 0x4236cb
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.00417a85
push dword [ebp - 0x14]
push str.__no_default_profile_found__of__d_
push ebx
call fcn.00437bbc
add esp, 0xc
cmp dword [ebp - 0x14], ebx
jne 0x4237dc
mov byte [ebp - 0xd], bl
jmp 0x423a10
call fcn.00417a85
jmp 0x4237df
mov dword [ebp - 0x14], ebx
push dword [ebp - 0x14]
push str.__use_profile__d
push ebx
call fcn.00437bbc
push dword [ebp - 0x14]
lea eax, [ebp - 0x88]
push eax
call fcn.00444270
add esp, 0x14
mov edi, eax
push esi
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 4
call fcn.00418739
push edi
push eax
lea eax, [ebp - 0xa4]
push eax
mov byte [ebp - 4], 5
call fcn.00415459
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0xc0]
call fcn.00417a85
push ebx
push 1
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 7
call fcn.00417a85
push 0x40
pop ecx
xor eax, eax
mov byte [ebp - 0x2c8], bl
lea edi, [ebp - 0x2c7]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x30]
push 0x10
stosw word es:[edi], ax
pop esi
cmp dword [ebp - 0x1c], esi
stosb byte es:[edi], al
jae 0x42386a
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x8c], esi
mov eax, dword [ebp - 0xa0]
jae 0x42387e
lea eax, [ebp - 0xa0]
push ecx
push 0x104
lea ecx, [ebp - 0x2c8]
push ecx
push 0x465cf2
push str.Path
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x4238a8
mov byte [ebp - 0xd], bl
jmp 0x423a02
cmp dword [ebp - 0x1c], esi
mov ecx, dword [ebp - 0x30]
jae 0x4238b3
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x8c], esi
mov eax, dword [ebp - 0xa0]
jae 0x4238c7
lea eax, [ebp - 0xa0]
push ecx
push ebx
push str.IsRelative
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
lea eax, [ebp - 0x2c8]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00418739
mov edi, 0x46b89c
push edi
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 9
call fcn.00418739
push 0x46b778
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xa
call fcn.00418739
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0xb
call fcn.004441d0
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.00417a85
push ebx
push 1
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 9
call fcn.00417a85
cmp esi, ebx
je 0x4239a0
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x88]
push eax
call fcn.004152b2
lea ecx, [ebp - 0x6c]
push ecx
push eax
lea eax, [ebp - 0xc0]
push eax
mov byte [ebp - 4], 0xc
call fcn.00415459
add esp, 0x18
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xd
call fcn.00417328
push ebx
push 1
lea ecx, [ebp - 0xc0]
call fcn.00417a85
push ebx
push 1
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 9
call fcn.00417a85
cmp dword [ebp - 0x54], 0x10
mov eax, dword [ebp - 0x68]
jae 0x4239ac
lea eax, [ebp - 0x68]
push eax
push str.__profile_path:__s
push ebx
call fcn.00437bbc
mov eax, dword [ebp - 0x68]
add esp, 0xc
cmp dword [ebp - 0x54], 0x10
jae 0x4239c7
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4239e4
push str.__absent_
push ebx
call fcn.00437bbc
pop ecx
pop ecx
mov byte [ebp - 0xd], bl
jmp 0x4239f7
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x6c]
push eax
call fcn.00417328
mov byte [ebp - 0xd], 1
push ebx
push 1
lea ecx, [ebp - 0x6c]
call fcn.00417a85
push ebx
push 1
lea ecx, [ebp - 0xa4]
call fcn.00417a85
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.00417a85
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x18]
call fcn.0041836d
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret