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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rbp - 0x59], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400416b0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r11d, eax
mov rcx, qword [rbx + 0xb0]
xor r13d, r13d
test rcx, rcx
je 0x140007a79
mov rdx, qword [rcx + 0x18]
test rdx, rdx
je 0x14000769f
mov cl, byte [rdx]
jmp 0x1400076a2
mov cl, byte [rcx + 0x20]
test cl, cl
jne 0x1400076b5
sub eax, dword [rdi + 0x58]
cmp eax, dword [rbx + 0x80]
jbe 0x140007a79
mov dword [rdi + 0x58], r11d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
lea r11, [rbp - 0x69]
mov qword [rsp + 0x20], r11
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareHPNGLogging
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140007a70
mov qword [rbp - 0x71], r13
mov eax, 0x10624dd3
mul dword [rbx + 0x80]
shr edx, 6
mov dword [rbp - 0x79], edx
mov esi, 7
mov qword [rbp - 0x11], rsi
mov qword [rbp - 0x19], r13
mov word [rbp - 0x29], r13w
lea r8d, [rsi + 0xf]
lea rdx, str.SoftwareHPNGLogging
lea rcx, [rbp - 0x29]
call fcn.14000444c
nop
mov qword [rbp + 0x17], rsi
mov qword [rbp + 0xf], r13
mov word [rbp - 1], r13w
lea r8, [rbp - 0x79]
lea rdx, str.LogParmsPollTime
mov rcx, qword [rbp - 0x69]
call fcn.14000bf10
lea r11d, [rsi + 0x17]
mov eax, dword [rbp - 0x79]
test eax, eax
cmovne r11d, eax
imul r11d, r11d, 0x3e8
mov dword [rbx + 0x80], r11d
mov r9, qword [rbx + 0xb0]
xor r8d, r8d
mov rdx, qword [rbp - 0x69]
mov rcx, rdi
call fcn.140006580
lea rdx, [0x1400368ac]
lea rcx, [rbp - 0x29]
call fcn.140004020
lea r12, [rbx + 0x30]
or r14, 0xffffffffffffffff
mov r9, r14
xor r8d, r8d
mov rdx, r12
lea rcx, [rbp - 0x29]
call fcn.14000418c
mov r9, r14
xor r8d, r8d
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 1]
call fcn.140003aec
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x41], r13
mov word [rbp - 0x51], r13w
mov r9, r14
xor r8d, r8d
mov rdx, r12
lea rcx, [rbp - 0x51]
call fcn.140003aec
nop
lea rcx, [rbp - 0x51]
lea r14d, [rsi + 1]
cmp qword [rbp - 0x39], r14
cmovae rcx, qword [rbp - 0x51]
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov rdx, rax
test rax, rax
je 0x14000782e
lea rax, [rbp - 0x51]
cmp qword [rbp - 0x39], r14
cmovae rax, qword [rbp - 0x51]
sub rdx, rax
sar rdx, 1
lea rcx, [rbp - 0x51]
cmp rdx, qword [rbp - 0x41]
ja 0x140007822
or r8, 0xffffffffffffffff
call fcn.140004574
jmp 0x14000782e
xor r8d, r8d
sub rdx, qword [rbp - 0x41]
call fcn.14000a2ec
lea rcx, [rbp - 0x51]
cmp qword [rbp - 0x39], r14
cmovae rcx, qword [rbp - 0x51]
mov rdx, qword [rbx + 0x18]
cmp rdx, rdx
cmp qword [rbx + 0x20], r14
jb 0x14000784e
mov r8, qword [rbx + 8]
jmp 0x140007852
lea r8, [rbx + 8]
mov r10, qword [rbp - 0x41]
mov r9, r10
cmp rdx, r10
cmovb r9, rdx
test r9, r9
je 0x140007886
movzx eax, word [rcx]
cmp word [r8], ax
jne 0x14000787d
add r8, 2
add rcx, 2
dec r9
jne 0x140007865
jmp 0x140007886
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x140007889
mov eax, r13d
movsxd rcx, eax
mov eax, r13d
cmp rdx, r10
setne al
cmp rdx, r10
mov r8, 0xffffffffffffffff
cmovb eax, r8d
test rcx, rcx
cmovne eax, ecx
test eax, eax
sete al
test al, al
sete al
test al, al
je 0x1400078db
lea rdx, [0x1400368ac]
lea rcx, [rbp - 1]
call fcn.140004020
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbx + 8]
lea rcx, [rbp - 1]
call fcn.14000418c
mov rax, qword [rbx + 0xb0]
lea rdx, [rbp - 1]
mov rcx, 0xffffffff80000001
test dword [rax + 0xc], 0x1000000
lea rax, [rbp - 0x71]
je 0x14000792d
cmp qword [rbp + 0x17], r14
cmovae rdx, qword [rbp - 1]
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
jmp 0x14000794a
cmp qword [rbp + 0x17], r14
cmovae rdx, qword [rbp - 1]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], r14
cmovae rdx, qword [rbp - 0x29]
lea rax, [rbp - 0x61]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400079f9
mov r9, qword [rbx + 0xb0]
xor r8d, r8d
mov rdx, qword [rbp - 0x61]
mov rcx, rdi
call fcn.140006580
cmp qword [r12 + 0x18], r14
jb 0x14000799d
mov r12, qword [r12]
mov r8, r12
mov rdx, qword [rbp - 0x61]
mov rcx, qword [rbx + 0x358]
call fcn.140006be0
test esi, esi
jne 0x1400079ef
mov rdx, qword [rbp - 0x71]
test rdx, rdx
je 0x1400079ef
mov r9, qword [rbx + 0xb0]
xor r8d, r8d
mov rcx, rdi
call fcn.140006580
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], r14
cmovae rdx, qword [rbp - 0x29]
mov r9, qword [rbx + 0xb0]
mov r8, qword [rbp - 0x71]
mov rcx, rdi
call fcn.1400066d4
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x140007a0c
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x140007a0c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rbp - 0x39], r14
jb 0x140007a26
mov rcx, qword [rbp - 0x51]
call fcn.140014720
mov ebx, 7
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x41], r13
mov word [rbp - 0x51], r13w
cmp qword [rbp + 0x17], r14
jb 0x140007a47
mov rcx, qword [rbp - 1]
call fcn.140014720
mov qword [rbp + 0x17], rbx
mov qword [rbp + 0xf], r13
mov word [rbp - 1], r13w
cmp qword [rbp - 0x11], r14
jb 0x140007a63
mov rcx, qword [rbp - 0x29]
call fcn.140014720
mov qword [rbp - 0x11], rbx
mov qword [rbp - 0x19], r13
mov word [rbp - 0x29], r13w
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rdi + 0x58], eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140014700
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret