Function at 0x140007660
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
lea rdx, [rsp + 0x68]
mov rdi, rcx
call fcn.1400086b4
mov rbx, qword [rsp + 0x68]
lea r14, [rdi + 0xa0]
xor r13d, r13d
cmp dword [rbx - 0x10], r13d
je 0x1400077cd
lea r15, str.LoggingSettings
mov r9, rbx
mov rcx, r15
lea r8d, [r13 + 1]
lea rdx, str.EnableLogging
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r9, rbx
lea r8d, [r13 + 1]
test eax, eax
lea rdx, str.ShowTime
mov rcx, r15
setne al
mov byte [rdi + 0x98], al
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r9, rbx
lea rdx, str.LogToFile
test eax, eax
mov rcx, r15
setne al
xor r8d, r8d
mov byte [rdi + 0x9a], al
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r9, rbx
lea rdx, str.LogToOutputDebug
test eax, eax
mov rcx, r15
setne al
xor r8d, r8d
mov byte [rdi + 0x9b], al
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r9, rbx
lea r8d, [r13 + 1]
test eax, eax
lea rdx, str.AppendToFile
mov rcx, r15
setne al
mov byte [rdi + 0xa8], al
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [r13 + 1]
mov ebp, 0x104
test eax, eax
setne al
mov byte [rdi + 0xa9], al
mov r9, qword [r14]
mov eax, dword [r9 - 0xc]
sub ecx, dword [r9 - 8]
sub eax, ebp
or ecx, eax
jge 0x140007773
mov edx, ebp
mov rcx, r14
call fcn.140001ac4
mov r9, qword [r14]
mov qword [rsp + 0x28], rbx
lea r8, str.GoogleUpdate.log
lea rdx, str.LogFilePath
mov dword [rsp + 0x20], ebp
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov rcx, qword [r14]
test rcx, rcx
jne 0x1400077a0
mov eax, r13d
jmp 0x1400077b1
movsxd rdx, dword [rcx - 0xc]
call fcn.14002ba48
test eax, eax
js 0x1400078f4
mov rcx, qword [r14]
cmp eax, dword [rcx - 0xc]
jg 0x1400078f4
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [r14]
mov word [rax + rcx*2], r13w
jmp 0x140007804
lea rcx, str.GoogleUpdate.log
mov byte [rdi + 0x98], 1
mov word [rdi + 0x9a], 1
mov word [rdi + 0xa8], 0x100
call fcn.1400337b4
mov r8d, eax
lea rdx, str.GoogleUpdate.log
mov rcx, r14
call fcn.1400019b8
cmp byte [rdi + 0x99], r13b
je 0x140007814
mov byte [rdi + 0x9a], 1
mov byte [rdi], 1
lea rax, [0x140051a90]
mov dword [rdi + 4], 7
mov r14, r13
mov r15, qword [r14 + rax]
test r15, r15
je 0x1400078a0
movsxd r12, dword [r14 + rax + 8]
cmp r12d, 0xa
ja 0x1400078a0
lea rdx, [rsp + 0x70]
mov rcx, rdi
mov ebp, 1
call fcn.1400086b4
mov rbx, qword [rsp + 0x70]
cmp dword [rbx - 0x10], r13d
je 0x140007871
mov r9, rbx
lea rcx, str.LoggingLevel
mov r8d, ebp
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebp, eax
test ebp, ebp
mov dword [rdi + r12*8 + 4], ebp
lea rdx, [rbx - 0x18]
setne cl
or eax, 0xffffffff
mov byte [rdi + r12*8], cl
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140007899
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rax, [0x140051a90]
add r14, 0x10
cmp r14, 0xa0
jb 0x140007828
call fcn.140007160
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov qword [rdi + 0xb0], rax
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400078dc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ecx, 0x80070057
call fcn.140001814
int3