Function at 0x140014bb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x270
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400ae088]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov ebp, 1
mov dword [rsp + 0x3c], ebp
mov dword [rsp + 0x38], 0x200
call fcn.1400030f0
mov rcx, rax
test rax, rax
je 0x140014e66
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rdx, str.SYSTEMCurrentControlSetControlSession_ManagerEnvironment_
mov rdi, 0xffffffffffffffff
mov rax, rdi
inc rax
cmp word [rdx + rax*2], 0
jne 0x140014c24
mov r8d, eax
lea rcx, [rsp + 0x48]
call fcn.140005a50
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140014cda
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, str.PROCESSOR_IDENTIFIER
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
je 0x140014ccf
mov edx, eax
lea rcx, str.RegQueryValueEx_fail__error_code:__x
call fcn.140018760
lea r9, [0x1400af290]
mov r8d, 0xb7
lea rdx, str.IsProcessorAMD
lea rcx, str.__hs_____d_:_____s
call fcn.140018f50
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
call fcn.1400030f0
mov rcx, rax
test rax, rax
je 0x140014e71
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
cmp rax, 0x10000
jae 0x140014d1b
lea rax, [rsp + 0x60]
movzx edx, ax
lea rcx, [rsp + 0x30]
call fcn.140003290
jmp 0x140014d40
lea rcx, [rsp + 0x60]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x140014d23
mov r8d, eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.140005a50
nop
mov rbx, qword [rsp + 0x30]
movsxd rsi, dword [rbx - 0x10]
test esi, esi
js 0x140014e50
sub ebp, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, ebp
jge 0x140014d6e
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.140004030
mov rbx, qword [rsp + 0x30]
lea eax, [rsi + 1]
movsxd rdx, eax
mov rcx, rbx
call fcn.14004a9a8
cmp esi, dword [rbx - 0xc]
jg 0x140014e5b
mov dword [rbx - 0x10], esi
mov rax, rsi
xor esi, esi
mov word [rbx + rax*2], si
mov rdx, rbx
lea rcx, str.PROCESSOR_IDENTIFIER:__s
call fcn.140018760
lea r9, [0x1400af290]
mov r8d, 0xbf
lea rdx, str.IsProcessorAMD
lea rcx, str.__hs_____d_:_____s
call fcn.140018f50
cmp dword [rbx - 0x10], esi
jge 0x140014dc9
mov eax, edi
jmp 0x140014de7
lea rdx, [0x14008e558]
mov rcx, rbx
call fcn.140024bf4
test rax, rax
jne 0x140014de1
mov eax, edi
jmp 0x140014de7
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
setne sil
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140014e08
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140014e25
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, esi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140023950
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80070057
call fcn.140002850
int3
mov ecx, 0x80070057
call fcn.140002850
nop
mov ecx, 0x80004005
call fcn.140002850
nop
mov ecx, 0x80004005
call fcn.140002850
int3