Function at 0x140039b60
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1120]
mov eax, 0x1220
call fcn.1400633e0
sub rsp, rax
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x1270], rbx
mov rax, qword [0x14009b038]
xor rax, rsp
mov qword [rbp + 0x1110], rax
mov r13, rdx
mov r15, rcx
mov rax, qword [rcx]
xor r14d, r14d
mov dword [rax], r14d
mov rax, qword [rcx + 8]
mov r8, qword [rcx]
mov eax, dword [rax]
cmp dword [r8], eax
jge 0x14003a3da
mov rax, qword [r15 + 0x10]
mov dword [rax], 0xffffffff
mov dword [rbp + 0x64], r14d
mov rax, qword [r15]
movsxd rcx, dword [rax]
imul rsi, rcx, 0x624
add rsi, r13
cmp dword [rsi + 0x108], 0xffffffff
je 0x14003a3a9
cmp dword [rsi + 0x10c], 0xffffffff
je 0x14003a3a9
cmp dword [rsi + 0x110], 0xffffffff
je 0x14003a3a9
lea r12, [rsi + 4]
mov r8, qword [r15 + 0x10]
mov edx, dword [r12]
mov rcx, qword [0x14009c818]
call qword [0x14009c808]
mov rax, qword [r15 + 0x10]
cmp dword [rax], 0
jle 0x14003a3a9
mov qword [rbp + 0x78], r14
mov qword [rbp + 0x80], 7
mov word [rbp + 0x68], r14w
xor r8d, r8d
mov edx, 0x3ff
lea rcx, [rbp + 0x68]
call fcn.14000f9f0
nop
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x80]
cmp rdx, 8
cmovae rcx, qword [rbp + 0x68]
mov rax, qword [r15]
mov r8d, dword [rax]
mov dword [rsp + 0x20], r8d
lea r9, [0x14007af78]
or r8, 0xffffffffffffffff
call fcn.14000ba60
mov dword [rbp + 0x60], 2
lea rax, [rbp - 0x80]
mov qword [rbp + 0xa0], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x70], rax
lea rax, [rbp + 0x64]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r14w
mov r8d, 0x50
lea rdx, str.GPUInfo::GetGPUStateData::_lambda_82a913dfaa0d4c0ee535697b976200ae_::operator___
lea rcx, [rbp - 0x80]
call fcn.14000fab0
nop
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r14w
mov r8d, 7
lea rdx, str.GPU.cpp
lea rcx, [rsp + 0x50]
call fcn.14000fab0
lea rax, [rbp + 0x68]
cmp qword [rbp + 0x80], 8
cmovae rax, qword [rbp + 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
lea r9, [rsp + 0x30]
mov r8d, 0x22f
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x50]
call fcn.140030690
nop
mov r8, qword [rbp + 0x80]
cmp r8, 8
jb 0x140039d53
inc r8
mov rdx, qword [rbp + 0x68]
call fcn.1400107d0
mov qword [rbp + 0x78], r14
mov qword [rbp + 0x80], 7
mov word [rbp + 0x68], r14w
lea rax, [rbp + 0x64]
mov qword [rsp + 0x20], rax
mov r9, qword [r15 + 0x20]
mov r8, qword [r15 + 0x18]
mov edx, dword [r12]
mov rcx, qword [0x14009c818]
call qword [0x14009c870]
movzx r14d, byte [rsi + 0x108]
shl r14d, 5
mov eax, dword [rsi + 0x10c]
and eax, 0x1f
or r14d, eax
shl r14d, 3
mov eax, dword [rsi + 0x110]
and eax, 7
or r14d, eax
mov rcx, qword [0x14009e670]
mov rax, qword [rcx + 8]
mov rbx, rcx
cmp byte [rax + 0x19], 0
jne 0x140039de8
cmp dword [rax + 0x20], r14d
jge 0x140039dd1
mov rax, qword [rax + 0x10]
jmp 0x140039dd7
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140039dc5
cmp rbx, rcx
je 0x140039de8
cmp r14d, dword [rbx + 0x20]
jge 0x140039deb
mov rbx, rcx
lea rdi, [rsi + 0x118]
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x80], 0xf
mov byte [rbp + 0x68], 0
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdi + r8], 0
jne 0x140039e10
mov rdx, rdi
lea rcx, [rbp + 0x68]
call fcn.140018160
lea rax, [rbp + 0x68]
mov qword [rsp + 0x30], rax
mov edx, dword [rsi + 0x110]
mov ecx, dword [rsi + 0x10c]
mov eax, dword [rsi + 0x108]
mov dword [rbp - 0x38], eax
mov dword [rbp - 0x34], ecx
mov dword [rbp - 0x30], edx
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x68]
lea rcx, [rbp - 0x28]
call fcn.140018600
xor eax, eax
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], 0xf
mov byte [rbp - 8], al
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], 0xf
mov byte [rbp + 0x18], al
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], 0xf
mov byte [rbp + 0x38], al
lea rcx, [rbp + 0x68]
call fcn.14000fc00
nop
mov eax, dword [r12]
mov dword [rbp - 0x40], eax
mov eax, dword [rbp + 0x64]
mov dword [rbp - 0x3c], eax
lea rdx, [rsi + 0x218]
lea rcx, [rsp + 0x50]
call fcn.140035a60
mov rsi, rax
lea rax, [rbp - 8]
cmp rax, rsi
je 0x140039f00
lea rcx, [rbp - 8]
call fcn.14000fc00
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbp + 8], xmm1
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
lea rcx, [rsp + 0x50]
call fcn.14000fc00
mov r8, r12
lea rcx, [rsp + 0x50]
call fcn.140035f80
mov rsi, rax
lea rax, [rbp + 0x18]
cmp rax, rsi
je 0x140039f4e
lea rcx, [rbp + 0x18]
call fcn.14000fc00
movups xmm0, xmmword [rsi]
movups xmmword [rbp + 0x18], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbp + 0x28], xmm1
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
lea rcx, [rsp + 0x50]
call fcn.14000fc00
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdi + r8], 0
jne 0x140039f60
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.140018160
cmp dword [rbp + 0x64], 0
je 0x140039fcf
mov r9d, dword [rbp - 0x3c]
mov r8d, dword [r12]
lea rcx, [rsp + 0x50]
call fcn.140036060
mov rdi, rax
lea rax, [rbp + 0x38]
cmp rax, rdi
je 0x140039fc5
lea rcx, [rbp + 0x38]
call fcn.14000fc00
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0x38], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp + 0x48], xmm1
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
lea rcx, [rsp + 0x50]
call fcn.14000fc00
cmp rbx, qword [0x14009e670]
jne 0x14003a0a6
xor eax, eax
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x90], rax
xor r8d, r8d
xor edx, edx
call fcn.14003e470
mov rbx, rax
mov qword [rbp + 0x88], rax
lea r9, [rbp - 0x40]
mov r8, qword [rax + 8]
mov rdx, rax
call fcn.14003e9d0
movabs rcx, 0x186186186186185
mov rdx, qword [rbp + 0x90]
sub rcx, rdx
cmp rcx, 1
jb 0x14003a3be
inc rdx
mov qword [rbp + 0x90], rdx
mov qword [rbx + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
mov dword [rsp + 0x30], r14d
lea rdx, [rbp + 0x88]
lea rcx, [rsp + 0x38]
call fcn.14003e950
nop
lea rdx, [rsp + 0x30]
call fcn.14003eb20
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x58]
call fcn.14003ebb0
nop
lea rcx, [rsp + 0x38]
call fcn.14003e390
mov rcx, qword [rsp + 0x38]
call fcn.140062b1c
nop
lea rcx, [rbp + 0x88]
call fcn.14003e390
mov rcx, qword [rbp + 0x88]
call fcn.140062b1c
jmp 0x14003a0e8
mov rdi, qword [rbx + 0x28]
lea r9, [rbp - 0x40]
mov r8, qword [rdi + 8]
mov rdx, rdi
call fcn.14003e9d0
mov rdx, qword [rbx + 0x30]
movabs rcx, 0x186186186186185
sub rcx, rdx
cmp rcx, 1
jb 0x14003a3cc
lea rcx, [rdx + 1]
mov qword [rbx + 0x30], rcx
mov qword [rdi + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
mov rax, qword [r15]
movsxd rcx, dword [rax]
imul rax, rcx, 0x624
lea rdx, [r13 + 0x420]
add rdx, rax
xor r14d, r14d
mov qword [rbp + 0xb8], r14
mov qword [rbp + 0xc0], 0xf
mov byte [rbp + 0xa8], r14b
or r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], r14b
jne 0x14003a120
lea rcx, [rbp + 0xa8]
call fcn.140018160
nop
lea rdx, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0x10
cmovae rdx, qword [rbp + 0xa8]
mov rbx, qword [rbp + 0xb8]
add rbx, rdx
lea rdi, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0x10
cmovae rdi, qword [rbp + 0xa8]
mov qword [rbp + 0x78], r14
mov qword [rbp + 0x80], 7
mov word [rbp + 0x68], r14w
mov rdx, rbx
sub rdx, rdi
cmp rdx, 8
jb 0x14003a197
lea rcx, [rbp + 0x68]
call fcn.1400103a0
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0x68]
call fcn.140024720
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x68]
mov rcx, qword [r15 + 0x28]
call fcn.140010540
nop
mov r8, qword [rbp + 0x80]
cmp r8, 8
jb 0x14003a1d5
inc r8
mov rdx, qword [rbp + 0x68]
call fcn.1400107d0
mov rdx, qword [r15 + 0x28]
cmp qword [rdx + 0x10], 0
je 0x14003a378
cmp qword [rdx + 0x18], 8
jb 0x14003a1ee
mov rdx, qword [rdx]
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14003a378
mov dword [rbp + 0x60], 1
mov dword [rbp + 0xa0], 0x820
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x28], rax
mov rax, qword [r15 + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x60]
xor r8d, r8d
lea rdx, str.Distribution
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003a261
mov rax, qword [r15 + 0x38]
mov dword [rax], 1
xor edx, edx
mov r8d, 0x820
lea rcx, [rbp + 0xd0]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x98], 0x820
lea rax, [rbp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x60]
xor r8d, r8d
lea rdx, str.DalDCELogFilePath
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003a2de
lea rax, [rbp + 0xd0]
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x14003a2c0
lea rdx, [rbp + 0xd0]
lea rcx, [0x14009e680]
call fcn.14000fab0
xor edx, edx
mov r8d, 0x820
lea rcx, [rbp + 0x8f0]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x9c], 0x820
lea rax, [rbp + 0x9c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x8f0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x60]
xor r8d, r8d
lea rdx, str.MMDlogFilePath
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003a354
lea rax, [rbp + 0x8f0]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14003a340
lea rdx, [rbp + 0x8f0]
jmp 0x14003a361
mov r8d, 0x26
lea rdx, str.C:WINDOWS_system32AMDMmdAthenaDumps
lea rcx, [0x14009e630]
call fcn.14000fab0
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp + 0xa8]
call fcn.14000fc00
nop
lea rcx, [rbp + 0x38]
call fcn.14000fc00
lea rcx, [rbp + 0x18]
call fcn.14000fc00
lea rcx, [rbp - 8]
call fcn.14000fc00
lea rcx, [rbp - 0x28]
call fcn.14000fc00
mov rax, qword [r15]
inc dword [rax]
mov rax, qword [r15 + 8]
mov rcx, qword [r15]
mov eax, dword [rax]
cmp dword [rcx], eax
jmp 0x140039bbd
lea rcx, str.list_T__too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop
lea rcx, str.list_T__too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop
mov rcx, qword [rbp + 0x1110]
xor rcx, rsp
call fcn.140062800
mov rbx, qword [rsp + 0x1270]
add rsp, 0x1220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret