Function at 0x1400046f4
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.140004994
mov rbx, qword [rsp + 0x68]
lea r14, [rdi + 0x98]
xor r13d, r13d
cmp dword [rbx - 0x10], r13d
je 0x140004861
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 + 0x90], 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 + 0x92], 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 + 0x93], 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 + 0xa0], al
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [r13 + 1]
mov ebp, 0x104
test eax, eax
setne al
mov byte [rdi + 0xa1], al
mov r9, qword [r14]
mov eax, dword [r9 - 0xc]
sub ecx, dword [r9 - 8]
sub eax, ebp
or ecx, eax
jge 0x140004807
mov edx, ebp
mov rcx, r14
call fcn.140001d9c
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 0x140004834
mov eax, r13d
jmp 0x140004845
movsxd rdx, dword [rcx - 0xc]
call fcn.140009920
test eax, eax
js 0x140004988
mov rcx, qword [r14]
cmp eax, dword [rcx - 0xc]
jg 0x140004988
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [r14]
mov word [rax + rcx*2], r13w
jmp 0x140004898
lea rcx, str.GoogleUpdate.log
mov byte [rdi + 0x90], 1
mov word [rdi + 0x92], 1
mov word [rdi + 0xa0], pe_nt_image_headers64
call fcn.140009904
mov r8d, eax
lea rdx, str.GoogleUpdate.log
mov rcx, r14
call fcn.140001c90
cmp byte [rdi + 0x91], r13b
je 0x1400048a8
mov byte [rdi + 0x92], 1
mov byte [rdi], 1
lea rax, str.LC_UTIL
mov dword [rdi + 4], 7
mov r14, r13
mov r15, qword [r14 + rax]
test r15, r15
je 0x140004934
movsxd r12, dword [r14 + rax + 8]
cmp r12d, 9
ja 0x140004934
lea rdx, [rsp + 0x70]
mov rcx, rdi
mov ebp, 1
call fcn.140004994
mov rbx, qword [rsp + 0x70]
cmp dword [rbx - 0x10], r13d
je 0x140004905
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 0x14000492d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rax, str.LC_UTIL
add r14, 0x10
cmp r14, 0x90
jb 0x1400048bc
call fcn.14000433c
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov qword [rdi + 0xa8], rax
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140004970
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.140001200
int3