Function at 0x1400045b0
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.140004850
mov rbx, qword [rsp + 0x68]
lea r14, [rdi + 0x98]
xor r13d, r13d
cmp dword [rbx - 0x10], r13d
je 0x14000471c
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 0x1400046c3
mov edx, ebp
mov rcx, r14
call fcn.140002014
mov r9, qword [r14]
mov qword [rsp + 0x28], rbx
lea r8, str.AsusUpdate.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 0x1400046f0
mov eax, r13d
jmp 0x140004701
movsxd rdx, dword [rcx - 0xc]
call fcn.14000cdcc
test eax, eax
js 0x140004843
mov rcx, qword [r14]
cmp eax, dword [rcx - 0xc]
jg 0x140004843
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [r14]
mov word [rax + rcx*2], r13w
jmp 0x140004753
lea rcx, str.AsusUpdate.log
mov byte [rdi + 0x90], 1
mov word [rdi + 0x92], 1
mov word [rdi + 0xa0], 0x100
call fcn.14000cca0
mov r8d, eax
lea rdx, str.AsusUpdate.log
mov rcx, r14
call fcn.140001e50
cmp byte [rdi + 0x91], r13b
je 0x140004763
mov byte [rdi + 0x92], 1
mov byte [rdi], 1
lea rax, str.LC_UTIL
mov dword [rdi + 4], 7
mov r14, r13
mov r12, qword [r14 + rax]
movsxd r15, dword [r14 + rax + 8]
test r12, r12
je 0x1400047ef
cmp r15d, 9
ja 0x1400047ef
lea rdx, [rsp + 0x70]
mov rcx, rdi
mov ebp, 1
call fcn.140004850
mov rbx, qword [rsp + 0x70]
cmp dword [rbx - 0x10], r13d
je 0x1400047c0
mov r9, rbx
lea rcx, str.LoggingLevel
mov r8d, ebp
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebp, eax
test ebp, ebp
mov dword [rdi + r15*8 + 4], ebp
lea rdx, [rbx - 0x18]
setne cl
or eax, 0xffffffff
mov byte [rdi + r15*8], cl
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400047e8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rax, str.LC_UTIL
add r14, 0x10
cmp r14, 0x90
jb 0x140004777
call fcn.1400043d4
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 0x14000482b
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.140001390
int3