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

Disassembly:
mov eax, 0x465a81
call fcn.00452544
sub esp, 0x3c0
push ebx
push esi
push edi
mov esi, str.fs::FF_getPaths_2917
push esi
call fcn.004508dd
mov dword [ebp - 0x18], eax
push esi
xor ebx, ebx
push 0x474efc
push ebx
mov dword [ebp - 4], ebx
call fcn.00441366
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.00441366
add esp, 0xc
lea eax, [ebp - 0x1c4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x429853
push str.__no_ff_installed
push ebx
call fcn.00441366
pop ecx
pop ecx
mov byte [ebp - 0xd], bl
jmp 0x429bd2
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1c4]
push eax
call fcn.0041b834
push str.profiles.ini
push dword [ebp + 8]
lea eax, [ebp - 0x34]
push eax
call fcn.0041867b
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.0044dbd0
pop ecx
pop ecx
mov edi, eax
push esi
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.0041be0b
push edi
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 3
call fcn.004187fe
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.0041b05c
push ebx
push 1
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 1
call fcn.0041b05c
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 0x4298fb
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x4c]
jae 0x429906
lea eax, [ebp - 0x4c]
push ecx
push 0x104
lea ecx, [ebp - 0x3cc]
push ecx
push 0x471e5a
push str.Name
push eax
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
test eax, eax
je 0x429963
cmp dword [ebp - 0x1c], edi
mov ecx, dword [ebp - 0x30]
jae 0x429933
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x4c]
jae 0x42993e
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 0x42998c
call fcn.0041b05c
inc dword [ebp - 0x14]
jmp 0x429882
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.0041b05c
push dword [ebp - 0x14]
push str.__no_default_profile_found__of__d_
push ebx
call fcn.00441366
add esp, 0xc
cmp dword [ebp - 0x14], ebx
jne 0x429993
mov byte [ebp - 0xd], bl
jmp 0x429bc7
call fcn.0041b05c
jmp 0x429996
mov dword [ebp - 0x14], ebx
push dword [ebp - 0x14]
push str.__use_profile__d
push ebx
call fcn.00441366
push dword [ebp - 0x14]
lea eax, [ebp - 0x88]
push eax
call fcn.0044dbd0
add esp, 0x14
mov edi, eax
push esi
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 4
call fcn.0041be0b
push edi
push eax
lea eax, [ebp - 0xa4]
push eax
mov byte [ebp - 4], 5
call fcn.004187fe
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0xc0]
call fcn.0041b05c
push ebx
push 1
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 7
call fcn.0041b05c
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 0x429a21
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x8c], esi
mov eax, dword [ebp - 0xa0]
jae 0x429a35
lea eax, [ebp - 0xa0]
push ecx
push 0x104
lea ecx, [ebp - 0x2c8]
push ecx
push 0x471e5a
push str.Path
push eax
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
test eax, eax
jne 0x429a5f
mov byte [ebp - 0xd], bl
jmp 0x429bb9
cmp dword [ebp - 0x1c], esi
mov ecx, dword [ebp - 0x30]
jae 0x429a6a
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x8c], esi
mov eax, dword [ebp - 0xa0]
jae 0x429a7e
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.0041be0b
mov edi, 0x478668
push edi
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 9
call fcn.0041be0b
push 0x478564
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xa
call fcn.0041be0b
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.0044db30
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.0041b05c
push ebx
push 1
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 9
call fcn.0041b05c
cmp esi, ebx
je 0x429b57
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x88]
push eax
call fcn.0041867b
lea ecx, [ebp - 0x6c]
push ecx
push eax
lea eax, [ebp - 0xc0]
push eax
mov byte [ebp - 4], 0xc
call fcn.004187fe
add esp, 0x18
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xd
call fcn.0041ab6e
push ebx
push 1
lea ecx, [ebp - 0xc0]
call fcn.0041b05c
push ebx
push 1
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 9
call fcn.0041b05c
cmp dword [ebp - 0x54], 0x10
mov eax, dword [ebp - 0x68]
jae 0x429b63
lea eax, [ebp - 0x68]
push eax
push str.__profile_path:__s
push ebx
call fcn.00441366
mov eax, dword [ebp - 0x68]
add esp, 0xc
cmp dword [ebp - 0x54], 0x10
jae 0x429b7e
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x429b9b
push str.__absent_
push ebx
call fcn.00441366
pop ecx
pop ecx
mov byte [ebp - 0xd], bl
jmp 0x429bae
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x6c]
push eax
call fcn.0041ab6e
mov byte [ebp - 0xd], 1
push ebx
push 1
lea ecx, [ebp - 0x6c]
call fcn.0041b05c
push ebx
push 1
lea ecx, [ebp - 0xa4]
call fcn.0041b05c
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.0041b05c
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x18]
call fcn.0041ba42
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret