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

Disassembly:
mov eax, 0x45db1e
call fcn.0044b154
sub esp, 0x3c0
push ebx
push esi
push edi
mov esi, str.fs::FF_getPaths_2565
push esi
call fcn.00449520
mov dword [ebp - 0x18], eax
push esi
xor ebx, ebx
push 0x46b230
push ebx
mov dword [ebp - 4], ebx
call fcn.0043a6e3
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.0043a6e3
add esp, 0xc
lea eax, [ebp - 0x1c4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x425e49
push str.__no_ff_installed
push ebx
call fcn.0043a6e3
pop ecx
pop ecx
mov byte [ebp - 0xd], bl
jmp 0x4261c8
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1c4]
push eax
call fcn.00419a13
push str.profiles.ini
push dword [ebp + 8]
lea eax, [ebp - 0x34]
push eax
call fcn.0041691c
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.00446e00
pop ecx
pop ecx
mov edi, eax
push esi
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.00419fe3
push edi
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 3
call fcn.00416a8f
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.004192fd
push ebx
push 1
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 1
call fcn.004192fd
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 0x425ef1
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x4c]
jae 0x425efc
lea eax, [ebp - 0x4c]
push ecx
push 0x104
lea ecx, [ebp - 0x3cc]
push ecx
push 0x468d4a
push str.Name
push eax
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
test eax, eax
je 0x425f59
cmp dword [ebp - 0x1c], edi
mov ecx, dword [ebp - 0x30]
jae 0x425f29
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x4c]
jae 0x425f34
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 0x425f82
call fcn.004192fd
inc dword [ebp - 0x14]
jmp 0x425e78
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.004192fd
push dword [ebp - 0x14]
push str.__no_default_profile_found__of__d_
push ebx
call fcn.0043a6e3
add esp, 0xc
cmp dword [ebp - 0x14], ebx
jne 0x425f89
mov byte [ebp - 0xd], bl
jmp 0x4261bd
call fcn.004192fd
jmp 0x425f8c
mov dword [ebp - 0x14], ebx
push dword [ebp - 0x14]
push str.__use_profile__d
push ebx
call fcn.0043a6e3
push dword [ebp - 0x14]
lea eax, [ebp - 0x88]
push eax
call fcn.00446e00
add esp, 0x14
mov edi, eax
push esi
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 4
call fcn.00419fe3
push edi
push eax
lea eax, [ebp - 0xa4]
push eax
mov byte [ebp - 4], 5
call fcn.00416a8f
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0xc0]
call fcn.004192fd
push ebx
push 1
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 7
call fcn.004192fd
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 0x426017
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x8c], esi
mov eax, dword [ebp - 0xa0]
jae 0x42602b
lea eax, [ebp - 0xa0]
push ecx
push 0x104
lea ecx, [ebp - 0x2c8]
push ecx
push 0x468d4a
push str.Path
push eax
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
test eax, eax
jne 0x426055
mov byte [ebp - 0xd], bl
jmp 0x4261af
cmp dword [ebp - 0x1c], esi
mov ecx, dword [ebp - 0x30]
jae 0x426060
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x8c], esi
mov eax, dword [ebp - 0xa0]
jae 0x426074
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.00419fe3
mov edi, 0x46ec90
push edi
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 9
call fcn.00419fe3
push 0x46eb8c
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xa
call fcn.00419fe3
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.00446d60
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.004192fd
push ebx
push 1
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 9
call fcn.004192fd
cmp esi, ebx
je 0x42614d
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x88]
push eax
call fcn.0041691c
lea ecx, [ebp - 0x6c]
push ecx
push eax
lea eax, [ebp - 0xc0]
push eax
mov byte [ebp - 4], 0xc
call fcn.00416a8f
add esp, 0x18
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xd
call fcn.00418bb2
push ebx
push 1
lea ecx, [ebp - 0xc0]
call fcn.004192fd
push ebx
push 1
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 9
call fcn.004192fd
cmp dword [ebp - 0x54], 0x10
mov eax, dword [ebp - 0x68]
jae 0x426159
lea eax, [ebp - 0x68]
push eax
push str.__profile_path:__s
push ebx
call fcn.0043a6e3
mov eax, dword [ebp - 0x68]
add esp, 0xc
cmp dword [ebp - 0x54], 0x10
jae 0x426174
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x426191
push str.__absent_
push ebx
call fcn.0043a6e3
pop ecx
pop ecx
mov byte [ebp - 0xd], bl
jmp 0x4261a4
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x6c]
push eax
call fcn.00418bb2
mov byte [ebp - 0xd], 1
push ebx
push 1
lea ecx, [ebp - 0x6c]
call fcn.004192fd
push ebx
push 1
lea ecx, [ebp - 0xa4]
call fcn.004192fd
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.004192fd
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x18]
call fcn.00419c15
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret