Function at 0x140011ed0
Capabilities:
Query service status

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14009b038]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, rcx
mov byte [rcx], 0
call fcn.140012af0
test al, al
je 0x1400122c0
call fcn.1400122f0
test al, al
je 0x1400122c0
movdqa xmm0, xmmword [0x1400812a0]
movdqu xmmword [rbp - 1], xmm0
xor r14d, r14d
mov word [rbp - 0x11], r14w
xor r8d, r8d
mov edx, 0x3ff
lea rcx, [rbp - 0x11]
call fcn.14000f9f0
nop
lea rcx, [rbp - 0x11]
mov rdx, qword [rbp + 7]
cmp rdx, 8
cmovae rcx, qword [rbp - 0x11]
lea r9, str.inside_ryzen
or r8, 0xffffffffffffffff
call fcn.14000ba60
mov dword [rbp - 0x79], 2
lea rax, [rbp - 0x59]
mov qword [rbp - 0x69], rax
lea rax, [rbp - 0x79]
mov qword [rbp + 0x17], rax
lea rax, [rbp - 0x75]
mov qword [rbp + 0x1f], rax
movaps xmm0, xmmword [rbp + 0x17]
movdqa xmmword [rbp + 0x17], xmm0
movdqa xmm1, xmmword [0x1400812a0]
movdqu xmmword [rbp - 0x49], xmm1
mov word [rbp - 0x59], r14w
lea r8d, [r14 + 0xe]
lea rdx, str.AMDCPU::AMDCPU
lea rcx, [rbp - 0x59]
call fcn.14000fab0
nop
movdqa xmm0, xmmword [0x1400812a0]
movdqu xmmword [rbp - 0x29], xmm0
mov word [rbp - 0x39], r14w
lea r8d, [r14 + 7]
lea rdx, str.CPU.cpp
lea rcx, [rbp - 0x39]
call fcn.14000fab0
lea rax, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rax, qword [rbp - 0x11]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
lea r9, [rbp + 0x17]
lea r8d, [r14 + 0x19]
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x39]
call fcn.140030690
nop
mov r8, qword [rbp + 7]
cmp r8, 8
jb 0x140012021
inc r8
mov rdx, qword [rbp - 0x11]
call fcn.1400107d0
call fcn.140046b00
call fcn.14004a9e0
test eax, eax
je 0x14001203d
call qword [sym.imp.Platform.dll_IsVBSCheckRequired]
test eax, eax
jne 0x1400122c0
movdqa xmm0, xmmword [0x1400812a0]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r14w
xor r8d, r8d
mov edx, 0x3ff
lea rcx, [rbp - 0x11]
call fcn.14000f9f0
nop
lea rcx, [rbp - 0x11]
mov rdx, qword [rbp + 7]
cmp rdx, 8
cmovae rcx, qword [rbp - 0x11]
lea r9, str.inside_ryzen_vbstatus
or r8, 0xffffffffffffffff
call fcn.14000ba60
mov dword [rbp - 0x79], 2
lea rax, [rbp - 0x39]
mov qword [rbp + 0x17], rax
lea rax, [rbp - 0x79]
mov qword [rbp - 0x69], rax
lea rax, [rbp - 0x75]
mov qword [rbp - 0x61], rax
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x69], xmm0
movdqa xmm1, xmmword [0x1400812a0]
movdqu xmmword [rbp - 0x29], xmm1
mov word [rbp - 0x39], r14w
mov r8d, 0xe
lea rdx, str.AMDCPU::AMDCPU
lea rcx, [rbp - 0x39]
call fcn.14000fab0
nop
movdqa xmm0, xmmword [0x1400812a0]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x59], r14w
mov r8d, 7
lea rdx, str.CPU.cpp
lea rcx, [rbp - 0x59]
call fcn.14000fab0
lea rax, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rax, qword [rbp - 0x11]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
lea r9, [rbp - 0x69]
mov r8d, 0x1c
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x59]
call fcn.140030690
nop
mov r8, qword [rbp + 7]
cmp r8, 8
jb 0x140012141
inc r8
mov rdx, qword [rbp - 0x11]
call fcn.1400107d0
mov byte [rbx], 1
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x1400121ac
mov r8d, 0xf003f
lea rdx, str.AMDRyzenMasterDriverV20
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
je 0x1400121ac
lea rdx, [rbp + 0x17]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [rbp + 0x1b], 4
jne 0x1400121ac
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400122c0
call fcn.140040c60
test al, al
jne 0x1400122c0
movdqa xmm0, xmmword [0x1400812a0]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r14w
xor r8d, r8d
mov edx, 0x3ff
lea rcx, [rbp - 0x11]
call fcn.14000f9f0
nop
lea rcx, [rbp - 0x11]
mov rdx, qword [rbp + 7]
cmp rdx, 8
cmovae rcx, qword [rbp - 0x11]
lea r9, str.inside_ryzen_service_faiure
or r8, 0xffffffffffffffff
call fcn.14000ba60
mov dword [rbp - 0x79], 2
lea rax, [rbp - 0x39]
mov qword [rbp + 0x17], rax
lea rax, [rbp - 0x79]
mov qword [rbp - 0x69], rax
lea rax, [rbp - 0x75]
mov qword [rbp - 0x61], rax
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x69], xmm0
movdqa xmm1, xmmword [0x1400812a0]
movdqu xmmword [rbp - 0x29], xmm1
mov word [rbp - 0x39], r14w
mov r8d, 0xe
lea rdx, str.AMDCPU::AMDCPU
lea rcx, [rbp - 0x39]
call fcn.14000fab0
nop
movdqa xmm0, xmmword [0x1400812a0]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x59], r14w
mov r8d, 7
lea rdx, str.CPU.cpp
lea rcx, [rbp - 0x59]
call fcn.14000fab0
lea rax, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rax, qword [rbp - 0x11]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
lea r9, [rbp - 0x69]
mov r8d, 0x22
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x59]
call fcn.140030690
nop
mov r8, qword [rbp + 7]
cmp r8, 8
jb 0x1400122bd
inc r8
mov rdx, qword [rbp - 0x11]
call fcn.1400107d0
mov byte [rbx], 0
mov rax, rbx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140062800
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret