Function at 0x1400016b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x6f0]
sub rsp, 0x7f0
mov rax, qword [0x140072180]
xor rax, rsp
mov qword [rbp + 0x6e0], rax
mov qword [rbp - 0x80], rcx
mov qword [rbp + 0x490], rcx
xor r14d, r14d
mov dword [rbp + 0x494], r14d
mov eax, 1
xor ecx, ecx
cpuid
mov dword [rbp + 0x490], eax
mov dword [rbp + 0x498], ecx
mov dword [rbp + 0x49c], edx
lea r10, [rbp + 0x4c5]
test ebx, ebx
jns 0x140001760
neg ebx
nop word [rax + rax]
dec r10
mov eax, 0xcccccccd
mul ebx
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [r10], bl
mov ebx, edx
test edx, edx
jne 0x140001730
dec r10
mov byte [r10], 0x2d
jmp 0x140001786
dec r10
mov eax, 0xcccccccd
mul ebx
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [r10], bl
mov ebx, edx
test edx, edx
jne 0x140001760
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x4c5]
mov rdx, r10
lea rcx, [rbp + 0x118]
call fcn.140004590
nop
mov dword [rbp + 0x140], 0x348
xor r9d, r9d
lea r8, [rbp + 0x140]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayDevicesW]
test eax, eax
je 0x140002128
mov eax, 0xdc
mov word [rbp + 0x34], ax
lea r8, [rbp - 0x10]
mov edx, 0xffffffff
lea rcx, [rbp + 0x144]
call qword [sym.imp.USER32.dll_EnumDisplaySettingsW]
lea rax, [rbp + 0x490]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14005f0d0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140001884
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x4d0]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0xd0], 0x208
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x4d0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.BaseBoardProduct
mov rcx, qword [rbp + 0x490]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp + 0x490]
test eax, eax
jne 0x14000187e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbp + 0x4d0]
jmp 0x14000188b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [0x14005f13c]
lea rcx, [rbp + 0xd8]
call fcn.140003290
nop
movzx edx, word [rbp + 0x36]
lea rcx, [rsp + 0x58]
call fcn.1400015e0
mov rdi, rax
lea r10, [rbp + 0x4c5]
mov ebx, dword [rbp + 0xa0]
nop word [rax + rax]
dec r10
mov eax, 0xcccccccd
mul ebx
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [r10], bl
mov ebx, edx
test edx, edx
jne 0x1400018c0
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x4c5]
mov rdx, r10
lea rcx, [rbp - 0x38]
call fcn.140004590
nop
lea r10, [rbp + 0x4a5]
mov ebx, dword [rbp + 0x9c]
nop dword [rax]
dec r10
mov eax, 0xcccccccd
mul ebx
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [r10], bl
mov ebx, edx
test edx, edx
jne 0x140001910
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x4a5]
mov rdx, r10
lea rcx, [rbp - 0x58]
call fcn.140004590
nop
lea r8d, [rbx + 1]
lea rdx, [0x14005f140]
lea rcx, [rbp - 0x58]
call fcn.140003560
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x4b0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x4c0], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
lea r9, [rbp - 0x38]
lea r8, [rbp + 0x4b0]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 0x78]
call fcn.140004280
nop
lea r8d, [rbx + 1]
lea rdx, [0x14005f140]
lea rcx, [rbp - 0x78]
call fcn.140003560
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
mov r9, rdi
lea r8, [rsp + 0x38]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp + 0xf8]
call fcn.140004280
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140001a2e
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a28
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400524bc
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x140001a6c
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a67
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400524bc
movdqa xmm0, xmmword [0x14005fe70]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp + 0x4c8]
cmp rdx, 0xf
jbe 0x140001ac2
inc rdx
mov rcx, qword [rbp + 0x4b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001abc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001abc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400524bc
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x140001b00
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001afb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001afb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400524bc
movdqa xmm0, xmmword [0x14005fe70]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x140001b50
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b4a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001b4a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400524bc
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140001b90
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001b8b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400524bc
movdqa xmm0, xmmword [0x14005fe70]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
lea rdx, [rbp + 0xd8]
cmp qword [rbp + 0xf0], 7
cmova rdx, qword [rbp + 0xd8]
mov rax, qword [rbp + 0xe8]
lea rsi, [rdx + rax*2]
lea rdi, [rbp + 0xd8]
cmova rdi, qword [rbp + 0xd8]
xorps xmm0, xmm0
movups xmmword [rbp + 0x4b0], xmm0
movabs rcx, 0x8000000000000000
mov edx, reloc.WS2_32.dll_shutdown
movabs r9, 0x7fffffffffffffff
mov qword [rbp + 0x4c0], r14
mov qword [rbp + 0x4c8], reloc.WS2_32.dll_ntohs
cmp rdi, rsi
jne 0x140001c1a
mov byte [rbp + 0x4b0], 0
jmp 0x140001d2e
sub rsi, rdi
sar rsi, 1
cmp rsi, r9
ja 0x14000214f
mov ebx, reloc.WS2_32.dll_ntohs
cmp rsi, rbx
jbe 0x140001cde
mov rbx, rsi
or rbx, 0xf
cmp rbx, r9
jbe 0x140001c84
mov rbx, r9
lea rax, [rcx + 0x27]
mov rcx, rax
call fcn.140052480
mov rcx, rax
test rax, rax
je 0x140001ff7
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
movabs r9, 0x7fffffffffffffff
mov qword [rbp + 0x4b0], rax
mov qword [rbp + 0x4c8], rbx
jmp 0x140001ce5
cmp rbx, rdx
cmovb rbx, rdx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140001ca7
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000211c
jmp 0x140001c4a
test rcx, rcx
je 0x140001ccb
call fcn.140052480
movabs r9, 0x7fffffffffffffff
mov qword [rbp + 0x4b0], rax
mov qword [rbp + 0x4c8], rbx
jmp 0x140001ce5
mov rax, r14
mov qword [rbp + 0x4b0], rax
mov qword [rbp + 0x4c8], rbx
jmp 0x140001ce5
mov rax, qword [rbp + 0x4b0]
lea r8, [rbp + 0x4b0]
cmp rbx, 0xf
cmova r8, rax
mov rcx, r8
mov rdx, rsi
test rsi, rsi
je 0x140001d13
nop
movzx eax, byte [rdi]
mov byte [rcx], al
lea rcx, [rcx + 1]
lea rdi, [rdi + 2]
sub rdx, 1
jne 0x140001d00
mov qword [rbp + 0x4c0], rsi
mov byte [r8 + rsi], 0
movabs rcx, 0x8000000000000000
mov edx, reloc.WS2_32.dll_shutdown
mov rax, r9
mov r14, qword [rbp + 0x128]
sub rax, r14
cmp rax, 1
jb 0x140002116
lea r13, [rbp + 0x118]
mov rsi, qword [rbp + 0x118]
mov r15, qword [rbp + 0x130]
cmp r15, 0xf
cmova r13, rsi
xorps xmm0, xmm0
movups xmmword [rbp + 0x490], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x4a0], xmm1
lea r12, [r14 + 1]
mov ebx, reloc.WS2_32.dll_ntohs
lea rdi, [rbp + 0x490]
cmp r12, rbx
jbe 0x140001dfa
mov rbx, r12
or rbx, 0xf
cmp rbx, r9
jbe 0x140001dbe
mov rbx, r9
lea rax, [rcx + 0x27]
mov rcx, rax
call fcn.140052480
test rax, rax
je 0x140001f9c
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140001df3
cmp rbx, 0x16
cmovb rbx, rdx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140001de2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002122
jmp 0x140001d9f
test rcx, rcx
je 0x140001df1
call fcn.140052480
mov rdi, rax
jmp 0x140001df3
xor edi, edi
mov qword [rbp + 0x490], rdi
mov qword [rbp + 0x4a0], r12
mov qword [rbp + 0x4a8], rbx
mov r8, r14
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r14], 0x2d
mov byte [rdi + r12], 0
lea rdx, [rbp + 0xf8]
cmp qword [rbp + 0x110], 0xf
cmova rdx, qword [rbp + 0xf8]
mov r8, qword [rbp + 0x108]
lea rcx, [rbp + 0x490]
call fcn.140003560
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
xor edi, edi
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], dil
lea r8d, [rdi + 1]
lea rdx, [0x14005f140]
lea rcx, [rsp + 0x38]
call fcn.140003560
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], dil
lea r9, [rbp + 0x4b0]
lea r8, [rsp + 0x58]
movzx edx, byte [rsp + 0x30]
mov rbx, qword [rbp - 0x80]
mov rcx, rbx
call fcn.140004280
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140001f11
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001f0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400524bc
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140001f51
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001f4c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400524bc
movdqa xmm0, xmmword [0x14005fe70]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov rdx, qword [rbp + 0x4a8]
cmp rdx, 0xf
jbe 0x140001fa8
inc rdx
mov rcx, qword [rbp + 0x490]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001fa3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001fa3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400524bc
movdqa xmm0, xmmword [0x14005fe70]
movdqu xmmword [rbp + 0x4a0], xmm0
mov byte [rbp + 0x490], 0
mov rdx, qword [rbp + 0x4c8]
cmp rdx, 0xf
jbe 0x140002004
inc rdx
mov rcx, qword [rbp + 0x4b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ffe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001ffe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400524bc
nop
mov rdx, qword [rbp + 0x110]
cmp rdx, 0xf
jbe 0x140002049
inc rdx
mov rcx, qword [rbp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002043
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002043
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400524bc
nop
mov rdx, qword [rbp + 0xf0]
cmp rdx, 7
jbe 0x140002092
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000208d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000208d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400524bc
movdqa xmm0, xmmword [0x14005fe60]
movdqu xmmword [rbp + 0xe8], xmm0
mov word [rbp + 0xd8], di
cmp r15, 0xf
jbe 0x1400020e3
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400020db
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400020db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1400524bc
mov rax, rbx
mov rcx, qword [rbp + 0x6e0]
xor rcx, rsp
call fcn.140052460
lea r11, [rsp + 0x7f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001450
nop
call fcn.1400013b0
nop
call fcn.1400013b0
nop
lea rdx, str.Failed_to_retrieve_hardware_ID
lea rcx, [rbp + 0x490]
call fcn.140001470
lea rdx, [0x14006f808]
lea rcx, [rbp + 0x490]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140001450
int3