Function at 0x14000dca0
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 [0x14008f088]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov ebp, 1
mov dword [rsp + 0x3c], ebp
mov dword [rsp + 0x38], 0x200
call fcn.140002de0
mov rcx, rax
test rax, rax
je 0x14000df56
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 0x14000dd14
mov r8d, eax
lea rcx, [rsp + 0x48]
call fcn.140005cc0
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 0x14000ddca
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 0x14000ddbf
mov edx, eax
lea rcx, str.RegQueryValueEx_fail__error_code:__x
call fcn.140010f80
lea r9, [0x140090270]
mov r8d, 0xb7
lea rdx, str.IsProcessorAMD
lea rcx, str.__hs_____d_:_____s
call fcn.140011770
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.140002de0
mov rcx, rax
test rax, rax
je 0x14000df61
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
cmp rax, 0x10000
jae 0x14000de0b
lea rax, [rsp + 0x60]
movzx edx, ax
lea rcx, [rsp + 0x30]
call fcn.140002fb0
jmp 0x14000de30
lea rcx, [rsp + 0x60]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000de13
mov r8d, eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.140005cc0
nop
mov rbx, qword [rsp + 0x30]
movsxd rsi, dword [rbx - 0x10]
test esi, esi
js 0x14000df40
sub ebp, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, ebp
jge 0x14000de5e
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.140003ce0
mov rbx, qword [rsp + 0x30]
lea eax, [rsi + 1]
movsxd rdx, eax
mov rcx, rbx
call fcn.14004311c
cmp esi, dword [rbx - 0xc]
jg 0x14000df4b
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.140010f80
lea r9, [0x140090270]
mov r8d, 0xbf
lea rdx, str.IsProcessorAMD
lea rcx, str.__hs_____d_:_____s
call fcn.140011770
cmp dword [rbx - 0x10], esi
jge 0x14000deb9
mov eax, edi
jmp 0x14000ded7
lea rdx, [0x140072638]
mov rcx, rbx
call fcn.14001d434
test rax, rax
jne 0x14000ded1
mov eax, edi
jmp 0x14000ded7
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 0x14000def8
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 0x14000df15
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.14001c180
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.140002520
int3
mov ecx, 0x80070057
call fcn.140002520
nop
mov ecx, 0x80004005
call fcn.140002520
nop
mov ecx, 0x80004005
call fcn.140002520
int3