Function at 0x18000a620
Capabilities:
Check for time delay via gettickcount
Delete file
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rax - 0x38]
sub rsp, 0x110
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x18003f390]
xor rax, rsp
mov qword [rbp], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r11d, eax
mov eax, dword [rdi + 0x3fc]
mov ecx, r11d
sub ecx, eax
cmp ecx, 0xbb8
jb 0x18000a981
lock cmpxchg dword [rdi + 0x3fc], r11d
jne 0x18000a981
lea rdx, [rdi + 0x80]
lea rcx, [rsp + 0x70]
call fcn.180007440
nop
xor r13d, r13d
cmp qword [rbp - 0x10], r13
je 0x18000a952
mov ebx, dword [rdi + 0x404]
xor r8d, r8d
lea rdx, str.Enabled
lea rcx, [rsp + 0x70]
call fcn.1800074e0
test eax, eax
je 0x18000a8e8
test ebx, ebx
je 0x18000a6eb
mov r8d, 0x121
lea rdx, str.Context
lea rcx, [rsp + 0x70]
call fcn.1800074e0
test ebx, eax
je 0x18000a8e8
cmp byte [rdi + 0xc], r13b
je 0x18000a8d4
mov r8d, 0x1900000
lea rdx, str.MaxSize
lea rcx, [rsp + 0x70]
call fcn.1800074e0
mov dword [rdi + 0x2f4], eax
mov esi, dword [rdi + 0x50]
mov r12d, 5
mov r8d, r12d
lea rdx, str.LogLevel
lea rcx, [rsp + 0x70]
call fcn.1800074e0
mov ebx, eax
mov eax, 7
cmp ebx, eax
cmova ebx, eax
cmp esi, ebx
je 0x18000a7c3
lea r14, str.Log_level_changed_from__u_to__u
jbe 0x18000a784
mov ecx, r12d
cmp esi, ecx
cmovb ecx, esi
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
lea rdx, str.LogConfigChange
mov rcx, rdi
call fcn.180008b40
mov dword [rdi + 0x50], ebx
cmp esi, ebx
jae 0x18000a7c3
cmp ebx, r12d
cmovb r12d, ebx
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
lea rdx, str.LogConfigChange
mov rcx, rdi
call fcn.180008b40
mov dword [rsp + 0x64], r13d
mov dword [rsp + 0x58], 4
mov dword [rsp + 0x60], r13d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rdx, str.RotateTime
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x18000a818
cmp dword [rsp + 0x60], 4
jne 0x18000a818
cmp dword [rsp + 0x58], 4
mov eax, dword [rsp + 0x64]
je 0x18000a81b
mov eax, r13d
cmp eax, dword [rdi + 0x408]
je 0x18000a952
lea rcx, [rdi + 0x58]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [rsp + 0x5c], r13d
mov dword [rsp + 0x54], 4
mov dword [rsp + 0x50], r13d
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.RotateTime
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x18000a886
cmp dword [rsp + 0x50], 4
jne 0x18000a886
cmp dword [rsp + 0x54], 4
mov ebx, dword [rsp + 0x5c]
je 0x18000a889
mov ebx, r13d
cmp ebx, dword [rdi + 0x408]
je 0x18000a947
mov dword [rdi + 0x408], ebx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x3a98
jae 0x18000a947
lea rdx, str._r_n____Continued_from_old_log_because_of_user_request_____r_n_r_n
mov rcx, rdi
call fcn.180006a80
test al, al
je 0x18000a947
lea rcx, [rdi + 0x1e8]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x18000a947
lea rcx, [rdi + 0x58]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, rdi
call fcn.180009cf0
jmp 0x18000a947
cmp byte [rdi + 0xc], r13b
je 0x18000a952
mov eax, dword [rdi + 0x50]
mov r12d, 5
cmp eax, r12d
cmovb r12d, eax
lea rax, str.Logging_was_disabled
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
lea rdx, str.LogConfigChange
mov rcx, rdi
call fcn.180008b40
mov dword [rdi + 0x2ec], r13d
lea rcx, [rdi + 0x58]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, rdi
call fcn.180009710
lea rcx, [rdi + 0x58]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x18000a979
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x18000a975
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rbp - 0x10], r13
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.180014930
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret