Function at 0x10002b70
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100284c1
mov eax, dword fs:[0]
push eax
sub esp, 0x674
mov eax, dword [0x1003230c]
xor eax, esp
mov dword [esp + 0x670], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1003230c]
xor eax, esp
push eax
lea eax, [esp + 0x688]
mov dword fs:[0], eax
push 0x206
xor ebp, ebp
lea ecx, [esp + 0x72]
xor eax, eax
push ebp
push ecx
mov word [esp + 0x78], ax
call fcn.10017160
mov ebx, 7
xor edx, edx
add esp, 0xc
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebp
mov word [esp + 0x38], dx
mov dword [esp + 0x690], ebp
xor eax, eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], ax
lea ecx, [esp + 0x18]
push ecx
sub esp, 0x1c
mov esi, esp
mov byte [esp + 0x6b0], 1
mov dword [esp + 0x34], esp
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebp
push 0x14
mov eax, str.MOZILLA_PROFILES_INI
mov word [esi + 4], dx
call fcn.10005d40
mov edi, dword [esp + 0x6b8]
mov ecx, edi
call fcn.10006950
add esp, 0x20
cmp eax, ebp
jne 0x10002ddc
push 0x206
lea ecx, [esp + 0x27a]
xor eax, eax
push ebp
push ecx
mov word [esp + 0x280], ax
call fcn.10017160
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp dword [esp + 0x30], 8
jae 0x10002c65
lea eax, [esp + 0x1c]
push eax
push 0x104
lea edx, [esp + 0x27c]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
mov dword [esp + 0x14], ebp
cmp word [esp + 0x274], bp
je 0x10002ddc
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea esi, [esp + 0x274]
push 0x206
lea ecx, [esp + 0x482]
xor eax, eax
push ebp
push ecx
mov word [esp + 0x488], ax
call fcn.10017160
mov eax, dword [esp + 0x28]
mov ebx, 8
add esp, 0xc
cmp dword [esp + 0x30], ebx
jae 0x10002ccb
lea eax, [esp + 0x1c]
push eax
push 0x104
lea edx, [esp + 0x484]
push edx
push ebp
push str.Path
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x10002d04
lea eax, [esp + 0x47c]
push eax
lea ecx, [esp + 0x70]
push 0x104
push ecx
call fcn.10011de1
add esp, 0xc
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], ebx
jae 0x10002d12
lea eax, [esp + 0x1c]
push eax
push ebp
push str.IsRelative
push esi
call edi
cmp dword [esp + 0x30], 8
mov ebx, eax
mov eax, dword [esp + 0x1c]
jae 0x10002d2d
lea eax, [esp + 0x1c]
push eax
push ebp
push str.Default
push esi
call edi
cmp eax, 1
je 0x10002d5f
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [esp + 0x14]
lea eax, [edx + eax + 1]
lea esi, [esp + eax*2 + 0x274]
mov dword [esp + 0x14], eax
cmp word [esi], bp
jne 0x10002c98
cmp ebx, ebp
jne 0x10002dd0
lea eax, [esp + 0x6c]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x10002d70
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x70]
lea esi, [esp + 0x38]
call fcn.10005d40
cmp dword [esp + 0x4c], 8
mov eax, dword [esp + 0x38]
jae 0x10002d9c
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x69c]
push str.FIREFOX_DEFAULT_PROFILE
push eax
call sub.msi.dll_MsiSummaryInfoGetPropertyCount
push 0xb
mov eax, str.extensions
lea ecx, [esp + 0x38]
call fcn.10005c60
mov edi, dword [esp + 0x698]
mov ebx, 7
jmp 0x10002eb8
mov edi, dword [esp + 0x698]
mov ebx, 7
xor ecx, ecx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebp
mov word [esp + 0x54], cx
lea edx, [esp + 0x50]
push edx
sub esp, 0x1c
mov esi, esp
mov byte [esp + 0x6b0], 2
xor eax, eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebp
mov dword [esp + 0x34], esp
mov word [esi + 4], ax
push 0xd
mov eax, str.AppDataFolder
call fcn.10005d40
mov ecx, edi
call fcn.10006950
add esp, 0x20
cmp eax, ebp
jne 0x10002ea4
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x58]
lea ecx, [esp + 0x3c]
call fcn.10005820
push 0x19
mov eax, str.MozillaFirefoxProfiles_
lea ecx, [esp + 0x38]
call fcn.10005c60
push 0x1002c128
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrW]
add eax, 2
mov ecx, eax
lea esi, [ecx + 2]
nop
mov dx, word [ecx]
add ecx, 2
cmp dx, bp
jne 0x10002e60
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [esp + 0x38]
call fcn.10005c60
cmp dword [esp + 0x4c], 8
mov eax, dword [esp + 0x38]
jae 0x10002e88
lea eax, [esp + 0x38]
push eax
push str.FIREFOX_DEFAULT_PROFILE
push edi
call sub.msi.dll_MsiSummaryInfoGetPropertyCount
push 0xb
mov eax, str.extensions
lea ecx, [esp + 0x38]
call fcn.10005c60
cmp dword [esp + 0x68], 8
jb 0x10002eb8
mov edx, dword [esp + 0x54]
push edx
call fcn.10011720
add esp, 4
cmp dword [esp + 0x4c], 8
mov eax, dword [esp + 0x38]
jae 0x10002ec7
lea eax, [esp + 0x38]
push eax
push str.FIREFOX_EXTENSIONS
push edi
call sub.msi.dll_MsiSummaryInfoGetPropertyCount
mov edi, 8
mov esi, eax
cmp dword [esp + 0x30], edi
jb 0x10002eed
mov eax, dword [esp + 0x1c]
push eax
call fcn.10011720
add esp, 4
xor ecx, ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], cx
cmp dword [esp + 0x4c], edi
jb 0x10002f0f
mov edx, dword [esp + 0x38]
push edx
call fcn.10011720
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x688]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x670]
xor ecx, esp
call fcn.1001172b
add esp, 0x680
ret 4