Function at 0x140050b60
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rbp - 0x49], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x14009b038]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rcx
movdqa xmm0, xmmword [0x1400812a0]
movdqu xmmword [rbp + 0x27], xmm0
xor r14d, r14d
mov word [rbp + 0x17], r14w
xor r8d, r8d
mov edx, 0x3ff
lea rcx, [rbp + 0x17]
call fcn.14000f9f0
nop
lea rcx, [rbp + 0x17]
mov rdx, qword [rbp + 0x2f]
cmp rdx, 8
cmovae rcx, qword [rbp + 0x17]
lea r9, str.____GetMetricsUploadInterValForTimer_Method_started
or r8, 0xffffffffffffffff
call fcn.14000ba60
mov dword [rbp - 0x41], 2
lea rax, [rbp - 9]
mov qword [rbp - 0x39], rax
lea rax, [rbp - 0x41]
mov qword [rbp - 0x29], rax
lea rax, [rbp - 0x3d]
mov qword [rbp - 0x21], rax
movaps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x29], xmm0
movdqa xmm1, xmmword [0x1400812a0]
movdqu xmmword [rbp + 7], xmm1
mov word [rbp - 9], r14w
lea r8d, [r14 + 0x33]
lea rdx, str.CollectionHandler::GetMetricsUploadInterValForTimer
lea rcx, [rbp - 9]
call fcn.14000fab0
nop
movdqa xmm0, xmmword [0x1400812a0]
movdqu xmmword [rbp - 0x59], xmm0
mov word [rbp - 0x69], r14w
lea r8d, [r14 + 0x15]
lea rdx, str.CollectionHandler.cpp
lea rcx, [rbp - 0x69]
call fcn.14000fab0
lea rax, [rbp + 0x17]
cmp qword [rbp + 0x2f], 8
cmovae rax, qword [rbp + 0x17]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
lea r9, [rbp - 0x29]
mov r8d, 0x30d
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x69]
call fcn.140030690
nop
mov r8, qword [rbp + 0x2f]
cmp r8, 8
jb 0x140050c9b
inc r8
mov rdx, qword [rbp + 0x17]
call fcn.1400107d0
mov dword [rbp - 0x29], 0x10
xor bl, bl
mov dword [rbp - 0x41], 3
mov qword [rbp - 0x39], r14
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
mov esi, 1
mov r9d, esi
xor r8d, r8d
lea rdx, str.SoftwareAMDPPC
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140050db1
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x37]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x41]
xor r8d, r8d
lea rdx, str.UpdateMetricsTime
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140050d17
movzx ebx, bl
cmp dword [rbp - 0x41], 3
cmove ebx, esi
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x140050db1
lea rcx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
movaps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 9], xmm0
movaps xmm1, xmmword [rbp + 0x37]
movdqa xmmword [rbp + 0x17], xmm1
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 9]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov rbx, qword [rbp - 0x39]
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x17]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
sub rbx, qword [rbp - 0x39]
xorps xmm0, xmm0
cvtsi2sd xmm0, rbx
divsd xmm0, qword [0x140081270]
cvttsd2si rax, xmm0
mov eax, eax
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
movss xmm0, dword [rdi + 0x1500]
comiss xmm1, xmm0
jbe 0x140050d9c
mov ebx, 5
jmp 0x140050dc6
subss xmm0, xmm1
cvttss2si rbx, xmm0
cmp ebx, 5
ja 0x140050dc6
mov ebx, 5
jmp 0x140050dc6
cvttss2si rax, dword [rdi + 0x1500]
mov ebx, 5
cmp eax, ebx
cmovbe eax, ebx
mov ebx, eax
movdqa xmm0, xmmword [0x1400812a0]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], r14w
xor r8d, r8d
mov edx, 0x3ff
lea rcx, [rbp - 9]
call fcn.14000f9f0
nop
lea rcx, [rbp - 9]
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
cmovae rcx, qword [rbp - 9]
lea r9, str.____GetMetricsUploadInterValForTimer_Method_ended
or r8, 0xffffffffffffffff
call fcn.14000ba60
mov dword [rbp - 0x41], 2
lea rax, [rbp - 0x69]
mov qword [rbp - 0x39], rax
lea rax, [rbp - 0x41]
mov qword [rbp - 0x29], rax
lea rax, [rbp - 0x3d]
mov qword [rbp - 0x21], rax
movaps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp + 0x17], xmm0
movdqa xmm1, xmmword [0x1400812a0]
movdqu xmmword [rbp - 0x59], xmm1
mov word [rbp - 0x69], r14w
mov r8d, 0x33
lea rdx, str.CollectionHandler::GetMetricsUploadInterValForTimer
lea rcx, [rbp - 0x69]
call fcn.14000fab0
nop
movdqa xmm0, xmmword [0x1400812a0]
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 0x29], r14w
mov r8d, 0x15
lea rdx, str.CollectionHandler.cpp
lea rcx, [rbp - 0x29]
call fcn.14000fab0
lea rax, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rax, qword [rbp - 9]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
lea r9, [rbp + 0x17]
mov r8d, 0x330
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x29]
call fcn.140030690
nop
mov r8, qword [rbp + 0xf]
cmp r8, 8
jb 0x140050eca
inc r8
mov rdx, qword [rbp - 9]
call fcn.1400107d0
mov eax, ebx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140062800
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret