Function at 0x14000807c
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r13
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14005d098]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov rcx, qword [rbx + 0x90]
test rcx, rcx
je 0x1400083a9
mov rdx, qword [rcx + 0x18]
test rdx, rdx
je 0x1400080d7
mov cl, byte [rdx]
jmp 0x1400080da
mov cl, byte [rcx + 0x20]
test cl, cl
jne 0x1400080ea
sub eax, dword [rdi + 0x48]
cmp eax, dword [rbx + 0x68]
jbe 0x1400083a9
mov dword [rdi + 0x48], r8d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
lea rax, [rbp - 0x41]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareHPNGLogging
mov r13, 0xffffffff80000001
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400083a0
and qword [rbp - 0x51], 0
mov eax, 0x10624dd3
mul dword [rbx + 0x68]
shr edx, 6
mov dword [rbp - 0x59], edx
lea rdx, str.SoftwareHPNGLogging
lea rcx, [rbp - 0x11]
call fcn.140002f60
nop
lea rcx, [rbp - 0x31]
call fcn.140002fb0
nop
lea r8, [rbp - 0x59]
lea rdx, str.LogParmsPollTime
mov rcx, qword [rbp - 0x41]
call fcn.140005760
mov ecx, 0x1e
mov eax, dword [rbp - 0x59]
test eax, eax
cmovne ecx, eax
imul eax, ecx, 0x3e8
mov dword [rbx + 0x68], eax
mov r9, qword [rbx + 0x90]
xor r8d, r8d
mov rdx, qword [rbp - 0x41]
mov rcx, rdi
call fcn.1400070d0
lea rdx, [0x14004f394]
lea rcx, [rbp - 0x11]
call fcn.1400052f8
lea r14, [rbx + 0x28]
or rsi, 0xffffffffffffffff
mov r9, rsi
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp - 0x11]
call fcn.14000553c
mov r9, rsi
xor r8d, r8d
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x31]
call fcn.1400032c0
mov rdx, r14
lea rcx, [rbp + 0xf]
call fcn.140003240
nop
lea rcx, [rbp + 0xf]
call fcn.140003a60
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov rsi, rax
test rax, rax
je 0x140008218
lea rcx, [rbp + 0xf]
call fcn.140003a60
sub rsi, rax
sar rsi, 1
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0xf]
call fcn.14000a5c8
lea rdx, [rbp + 0xf]
lea rcx, [rbx + 8]
call fcn.14000bd04
test eax, eax
je 0x14000824d
lea rdx, [0x14004f394]
lea rcx, [rbp - 0x31]
call fcn.1400052f8
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbx + 8]
lea rcx, [rbp - 0x31]
call fcn.14000553c
mov rax, qword [rbx + 0x90]
lea rcx, [rbp - 0x31]
test dword [rax + 0xc], 0x1000000
je 0x14000829c
call fcn.140003a60
mov rdx, rax
and qword [rsp + 0x40], 0
lea rax, [rbp - 0x51]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20019
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
jmp 0x1400082bf
call fcn.140003a60
mov rdx, rax
lea rax, [rbp - 0x51]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
lea rcx, [rbp - 0x11]
call fcn.140003a60
mov rdx, rax
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140008365
mov r9, qword [rbx + 0x90]
xor r8d, r8d
mov rdx, qword [rbp - 0x49]
mov rcx, rdi
call fcn.1400070d0
mov rcx, r14
call fcn.140003a60
mov r8, rax
mov rdx, qword [rbp - 0x49]
mov rcx, qword [rbx + 0x330]
call fcn.140007620
test esi, esi
jne 0x14000835b
mov rdx, qword [rbp - 0x51]
test rdx, rdx
je 0x14000835b
mov r9, qword [rbx + 0x90]
xor r8d, r8d
mov rcx, rdi
call fcn.1400070d0
lea rcx, [rbp - 0x11]
call fcn.140003a60
mov rdx, rax
mov r9, qword [rbx + 0x90]
mov r8, qword [rbp - 0x51]
mov rcx, rdi
call fcn.1400071ec
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x140008378
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x140008378
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp + 0xf]
call fcn.140003bf0
nop
lea rcx, [rbp - 0x31]
call fcn.140003bf0
nop
lea rcx, [rbp - 0x11]
call fcn.140003bf0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rdi + 0x48], eax
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140013b90
mov rbx, qword [rsp + 0x120]
add rsp, 0xe0
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret