Function at 0x1400077fc
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.140007aa0
mov rbx, qword [rsp + 0x68]
xor r13d, r13d
cmp dword [rbx - 0x10], r13d
je 0x140007967
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 r14, [rdi + 0xa0]
mov ebp, 0x104
test eax, eax
lea ecx, [r13 + 1]
setne al
mov byte [rdi + 0xa9], al
mov rax, qword [r14]
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, ebp
or ecx, eax
jge 0x14000790a
mov edx, ebp
mov rcx, r14
call fcn.140004e7c
mov r9, qword [r14]
lea r8, str.ZoneAlarmUpdate.log
mov qword [rsp + 0x28], rbx
lea rdx, str.LogFilePath
mov rcx, r15
mov dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov rcx, qword [r14]
test rcx, rcx
jne 0x14000793a
mov eax, r13d
jmp 0x14000794b
movsxd rdx, dword [rcx - 0xc]
call fcn.14000d2f8
test eax, eax
js 0x140007a92
mov rcx, qword [r14]
cmp eax, dword [rcx - 0xc]
jg 0x140007a92
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [r14]
mov word [rax + rcx*2], r13w
jmp 0x1400079a2
lea rcx, str.ZoneAlarmUpdate.log
mov byte [rdi + 0x98], 1
mov word [rdi + 0x9a], 1
mov word [rdi + 0xa8], 0x100
call fcn.14000d2dc
mov r8d, eax
lea rdx, str.ZoneAlarmUpdate.log
lea rcx, [rdi + 0xa0]
call fcn.140004f84
cmp byte [rdi + 0x99], r13b
je 0x1400079b2
mov byte [rdi + 0x9a], 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 0x140007a3e
cmp r15d, 0xa
ja 0x140007a3e
lea rdx, [rsp + 0x70]
mov rcx, rdi
mov ebp, 1
call fcn.140007aa0
mov rbx, qword [rsp + 0x70]
cmp dword [rbx - 0x10], r13d
je 0x140007a0f
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 0x140007a37
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rax, str.LC_UTIL
add r14, 0x10
cmp r14, 0xa0
jb 0x1400079c6
call fcn.140007c1c
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 0x140007a7a
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.140004f58
int3