Function at 0x180006d10
Capabilities:
Get common file path
Get program files directory
Read .ini file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x998]
sub rsp, 0xa60
xor r14d, r14d
mov rdi, rcx
lea rcx, [rsp + 0x42]
lea r8d, [r14 + 0x26]
xor edx, edx
mov word [rsp + 0x40], r14w
call fcn.18001cca0
mov esi, 0x206
lea rcx, [rbp + 0x542]
mov r8d, esi
xor edx, edx
mov word [rbp + 0x540], r14w
call fcn.18001cca0
lea rcx, [rbp + 0x332]
mov r8d, esi
xor edx, edx
mov word [rbp + 0x330], r14w
call fcn.18001cca0
lea rcx, [rbp + 0x752]
mov r8d, esi
xor edx, edx
mov word [rbp + 0x750], r14w
call fcn.18001cca0
lea r9d, [r14 + 1]
lea r8d, [r14 + 0x1a]
lea rdx, [rbp + 0x540]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x180007148
mov ebx, 0x104
lea r8, str.MozillaFirefox_
lea rcx, [rbp + 0x540]
mov edx, ebx
call fcn.18001e904
lea r8, [rbp + 0x540]
lea rcx, [rbp + 0x330]
mov edx, ebx
call fcn.18001dfa4
lea r8, str.profiles.ini
lea rcx, [rbp + 0x540]
mov edx, ebx
call fcn.18001e904
lea r8, str.Profile_d
lea edx, [r14 + 0x14]
lea rcx, [rsp + 0x40]
xor r9d, r9d
call fcn.18001d8d8
lea rax, [rbp + 0x540]
lea r9, [rbp + 0x750]
mov qword [rsp + 0x28], rax
lea rdx, str.Path
lea rcx, [rsp + 0x40]
xor r8d, r8d
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea r8, [rbp + 0x750]
lea rcx, [rbp + 0x330]
mov edx, ebx
call fcn.18001e904
lea r8, str.prefs.js
lea rcx, [rbp + 0x330]
mov edx, ebx
call fcn.18001e904
lea rcx, [rbp + 0x330]
call fcn.18001d570
dec eax
movsxd rcx, eax
test eax, eax
jle 0x180006eaa
cmp word [rbp + rcx*2 + 0x330], 0x2f
jne 0x180006ea2
mov eax, 0x5c
mov word [rbp + rcx*2 + 0x330], ax
dec rcx
test rcx, rcx
jg 0x180006e8a
xor edx, edx
lea rcx, [rbp + 0xb2]
mov r13d, r14d
lea r8d, [rdx + 0x62]
mov r15d, r14d
mov word [rbp + 0xb0], r14w
call fcn.18001cca0
lea rcx, [rbp + 0x122]
mov r8, rsi
xor edx, edx
mov word [rbp + 0x120], r14w
call fcn.18001cca0
mov eax, dword [0x180038580]
lea rbx, str.HTTPS
movaps xmm0, xmmword [str.user_pref__network.proxy.http____]
movaps xmm1, xmmword [0x180038550]
mov dword [rbp + 0xa0], eax
mov eax, dword [0x1800385d8]
lea rdx, str.HTTP
movaps xmmword [rbp + 0x60], xmm0
movaps xmm0, xmmword [0x180038560]
movaps xmmword [rbp + 0x70], xmm1
mov dword [rbp + 8], eax
movzx eax, word [0x180038620]
mov rcx, rbx
movaps xmm1, xmmword [0x180038570]
movaps xmmword [rbp + 0x80], xmm0
movaps xmm0, xmmword [str.user_pref__network.proxy.http_port__]
mov word [rbp + 0x50], ax
movzx eax, word [0x180038678]
movaps xmmword [rbp - 0x40], xmm0
movaps xmm0, xmmword [0x1800385b0]
movaps xmmword [rbp + 0x90], xmm1
mov word [rbp - 0x48], ax
movaps xmm1, xmmword [0x1800385a0]
movaps xmmword [rbp - 0x20], xmm0
movsd xmm0, qword [0x1800385d0]
movsd qword [rbp], xmm0
movaps xmm0, xmmword [str.user_pref__network.proxy.ssl____]
movaps xmmword [rbp - 0x30], xmm1
movaps xmm1, xmmword [0x1800385c0]
movaps xmmword [rbp - 0x10], xmm1
movaps xmm1, xmmword [0x1800385f0]
movaps xmmword [rbp + 0x10], xmm0
movaps xmm0, xmmword [0x180038600]
movaps xmmword [rbp + 0x20], xmm1
movaps xmm1, xmmword [0x180038610]
movaps xmmword [rbp + 0x30], xmm0
movaps xmm0, xmmword [str.user_pref__network.proxy.ssl_port__]
movaps xmmword [rbp + 0x40], xmm1
movaps xmm1, xmmword [0x180038640]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm0, xmmword [0x180038650]
movaps xmmword [rbp - 0x80], xmm1
movaps xmm1, xmmword [0x180038660]
movaps xmmword [rbp - 0x70], xmm0
movsd xmm0, qword [0x180038670]
movsd qword [rbp - 0x50], xmm0
movaps xmmword [rbp - 0x60], xmm1
call fcn.18001df68
test eax, eax
jne 0x180007003
lea r12, [rbp + 0x60]
lea rsi, [rbp - 0x40]
jmp 0x18000701f
mov rdx, rbx
mov rcx, rbx
call fcn.18001df68
test eax, eax
jne 0x180007148
lea r12, [rbp + 0x10]
lea rsi, [rsp + 0x70]
lea rdx, [0x18003869c]
lea rcx, [rbp + 0x330]
call fcn.18001ecc4
mov rbx, rax
mov qword [rbp + 0x9b0], rax
test rax, rax
je 0x180007148
mov rcx, rax
call fcn.18001edb0
test eax, eax
jne 0x18000710f
lea rcx, [rbp + 0xb0]
mov r8, rbx
mov edx, gethostbyname
call fcn.18001ee00
test rax, rax
je 0x180007108
lea rcx, [rbp + 0xb0]
mov rdx, r12
call fcn.18001e02c
test rax, rax
je 0x180007165
mov rcx, r12
call fcn.18001d570
lea r8, [rbp + 0xb0]
lea rcx, [rbp + 0x120]
lea r8, [r8 + rax*2]
mov edx, 0x104
call fcn.18001dfa4
lea rcx, [rbp + 0x120]
mov r13d, 1
call fcn.18001d570
test eax, eax
jle 0x1800070f5
lea rdi, [rbp + 0x120]
xor ebx, ebx
cmp word [rdi], 0x22
jne 0x1800070d6
mov word [rdi], bx
lea rcx, [rbp + 0x120]
inc r14d
add rdi, 2
call fcn.18001d570
cmp r14d, eax
jl 0x1800070cd
mov rbx, qword [rbp + 0x9b0]
xor r14d, r14d
mov rcx, rbx
call fcn.18001edb0
test eax, eax
je 0x180007055
mov rdi, qword [rbp + 0x9a0]
mov rcx, rbx
call fcn.18001ef50
test r13d, r13d
je 0x1800071e4
lea rcx, [rbp + 0x120]
call fcn.18001d570
cmp rax, 0x28
jbe 0x18000719d
lea rdx, [rbp + 0x120]
lea rcx, [0x1800386a0]
mov r8d, r15d
call fcn.180002394
xor eax, eax
mov rbx, qword [rsp + 0xaa8]
add rsp, 0xa60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rbp + 0xb0]
mov rdx, rsi
call fcn.18001e02c
test rax, rax
je 0x1800070f8
mov rcx, rsi
call fcn.18001d570
lea rcx, [rbp + 0xb0]
lea rcx, [rcx + rax*2]
call fcn.18001eec8
mov r15d, eax
jmp 0x1800070f8
lea rax, [rbp + 0x120]
lea r9, str.HTTPS
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], rax
lea r8, str._s_s:___s:_d
mov edx, gethostbyname
mov rcx, rdi
mov qword [rsp + 0x20], r9
call fcn.18001d8d8
lea rdx, [rbp + 0x120]
lea rcx, str.0x03__P__s:_d
mov r8d, r15d
call fcn.180002394
mov eax, r13d
jmp 0x18000714a