Function at 0x14003f374
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rdi
push r14
lea rbp, [rsp - 0x8320]
mov eax, 0x8420
call fcn.140047600
sub rsp, rax
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x8450], rbx
mov qword [rsp + 0x8458], rsi
mov rax, qword [0x1400e30b0]
xor rax, rsp
mov qword [rbp + 0x8310], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x78], rdx
xor r14d, r14d
mov dword [rsp + 0x68], r14d
cmp qword [rcx], r14
setne cl
mov r9d, 0x234
lea r8, str.C:dvsp4_build_sw_relgfclient_rel_03_20_backendcommonupdtlib_srcwindows_registry.cpp
lea rdx, str.Incorrect_state
call fcn.140038e50
mov dword [rsp + 0x60], r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [rsp + 0x64], eax
test eax, eax
jne 0x14003f53d
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov dword [rsp + 0x68], 1
mov edi, r14d
cmp dword [rsp + 0x60], r14d
jbe 0x14003f513
mov word [rbp + 0x310], r14w
mov dword [rsp + 0x6c], 0x4000
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x6c]
lea r8, [rbp + 0x310]
mov edx, edi
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [rsp + 0x64], eax
cmp eax, 0x103
je 0x14003f513
test eax, eax
jne 0x14003f5c3
mov qword [rbp + 0x160], r14
mov qword [rbp + 0x168], 7
mov word [rbp + 0x150], r14w
lea rax, [rbp + 0x310]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r14w
jne 0x14003f4cd
lea rdx, [rbp + 0x310]
lea rcx, [rbp + 0x150]
call fcn.140004670
nop
lea rdx, [rbp + 0x150]
mov rcx, rbx
call fcn.140010f8c
nop
lea rcx, [rbp + 0x150]
call fcn.1400045e4
inc edi
cmp edi, dword [rsp + 0x60]
jb 0x14003f45a
mov rax, rbx
mov rcx, qword [rbp + 0x8310]
xor rcx, rsp
call fcn.140046b20
lea r11, [rsp + 0x8420]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
lea rcx, [rbp - 0x80]
call fcn.14000a0ac
nop
lea rdx, str.RegQueryInfoKey_failed_with
mov rcx, rax
call fcn.14001ebb8
lea rdx, [rsp + 0x64]
mov rcx, rax
call fcn.14003ea34
lea rdx, [rbp + 0x170]
mov rcx, rax
call fcn.14001220c
nop
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0x24a
lea r9, str.C:dvsp4_build_sw_relgfclient_rel_03_20_backendcommonupdtlib_srcwindows_registry.cpp
mov r8d, ebx
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x190]
call fcn.14003e78c
lea rdx, [0x1400e10a0]
lea rcx, [rbp + 0x190]
call fcn.140065b40
nop
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
lea rcx, [rbp + 0x68]
call fcn.14000a0ac
nop
lea rdx, str.RegEnumValueW_failed_with
mov rcx, rax
call fcn.14001ebb8
lea rdx, [rsp + 0x64]
mov rcx, rax
call fcn.14003ea34
lea rdx, [rbp + 0x150]
mov rcx, rax
call fcn.14001220c
nop
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0x26d
lea r9, str.C:dvsp4_build_sw_relgfclient_rel_03_20_backendcommonupdtlib_srcwindows_registry.cpp
mov r8d, ebx
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 0x250]
call fcn.14003e78c
lea rdx, [0x1400e10a0]
lea rcx, [rbp + 0x250]
call fcn.140065b40
int3