Function at 0x1400124b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
sub rsp, 0x3a0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x318], 0xfffffffffffffffe
mov qword [rbp + 0x78], rdx
mov qword [rbp + 0x80], rcx
mov qword [rbp + 0x88], rcx
mov qword [rbp + 0x260], rdx
mov byte [rbp + 0x25f], 0
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionProductNameEditionID
lea rcx, [rbp + 0xa0]
mov qword [rbp + 0x90], rcx
mov r8d, 0x2c
call fcn.140012d80
mov rcx, qword [rbp + 0x90]
mov qword [rbp + 0xb8], 0
call fcn.14000f690
mov qword [rbp + 0x98], rax
jmp 0x14001252b
mov rdx, qword [rbp + 0x98]
mov rax, rsp
lea rcx, [rbp + 0xb8]
mov qword [rax + 0x20], rcx
mov rax, qword [sym.imp.advapi32.dll_RegOpenKeyExW]
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov r9d, 0x20019
call rax
mov dword [rbp + 0x74], eax
jmp 0x14001255e
mov eax, dword [rbp + 0x74]
cmp eax, 0
jne 0x140012570
cmp qword [rbp + 0xb8], 0
jne 0x140012596
mov qword [rbp + 0xc0], 1
lea rdx, [0x140038700]
lea rcx, [rbp + 0xc0]
call fcn.14000e870
mov byte [rbp + 0x73], al
jmp 0x140012be2
mov rax, qword [rbp + 0x78]
cmp dword [rax + 4], 0xa
jne 0x1400125b8
mov rax, qword [rbp + 0x78]
cmp dword [rax + 0xc], 0x55f0
setae al
and al, 1
mov byte [rbp + 0x107], al
jmp 0x1400125bf
mov byte [rbp + 0x107], 0
test byte [rbp + 0x107], 1
jne 0x1400125e3
lea rax, [0x14003868e]
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], 0xb
jmp 0x1400125fc
lea rax, [0x140038699]
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], 9
mov rdx, qword [rbp + 0x120]
mov r8, qword [rbp + 0x128]
lea rcx, [rbp + 0x108]
call fcn.140012d80
jmp 0x140012618
mov dword [rbp + 0x130], 0
mov dword [rbp + 0x134], 0
mov rax, qword [rbp + 0xb8]
mov qword [rbp + 0x60], rax
lea rcx, [rbp + 0x108]
call fcn.14000f690
mov qword [rbp + 0x68], rax
jmp 0x140012649
mov rdx, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x60]
mov qword [rbp + 0x2d8], 0
mov qword [rbp + 0x2e0], 0
mov qword [rbp + 0x2f0], 0
mov rax, qword [rbp + 0x2f0]
mov qword [rbp + 0x2e8], rax
mov r8, qword [rbp + 0x2e8]
mov qword [rbp + 0x2f8], 0
mov qword [rbp + 0x300], 0
mov qword [rbp + 0x310], 0
mov rax, qword [rbp + 0x310]
mov qword [rbp + 0x308], rax
mov r9, qword [rbp + 0x308]
mov rax, rsp
lea r10, [rbp + 0x134]
mov qword [rax + 0x28], r10
mov qword [rax + 0x20], r9
mov rax, qword [sym.imp.advapi32.dll_RegQueryValueExW]
lea r9, [rbp + 0x130]
call rax
mov dword [rbp + 0x5c], eax
jmp 0x1400126e4
mov eax, dword [rbp + 0x5c]
cmp eax, 0
jne 0x1400126f5
cmp dword [rbp + 0x130], 1
je 0x14001271b
mov qword [rbp + 0x138], 1
lea rdx, [0x140038700]
lea rcx, [rbp + 0x138]
call fcn.14000e870
mov byte [rbp + 0x5b], al
jmp 0x140012b25
cmp dword [rbp + 0x134], 0
je 0x1400126f5
mov eax, dword [rbp + 0x134]
and eax, 1
cmp eax, 0
jne 0x1400126f5
mov eax, dword [rbp + 0x134]
shr eax, 1
mov r8d, eax
xor eax, eax
mov dx, ax
lea rcx, [rbp + 0x178]
call fcn.14000f790
jmp 0x140012750
mov rax, qword [rbp + 0xb8]
mov qword [rbp + 0x48], rax
lea rcx, [rbp + 0x108]
call fcn.14000f690
mov qword [rbp + 0x50], rax
jmp 0x14001276d
mov qword [rbp + 0x2b8], 0
mov qword [rbp + 0x2c0], 0
mov qword [rbp + 0x2d0], 0
mov rax, qword [rbp + 0x2d0]
mov qword [rbp + 0x2c8], rax
mov rax, qword [rbp + 0x2c8]
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x298], 0
mov qword [rbp + 0x2a0], 0
mov qword [rbp + 0x2b0], 0
mov rax, qword [rbp + 0x2b0]
mov qword [rbp + 0x2a8], rax
mov rax, qword [rbp + 0x2a8]
mov qword [rbp + 0x38], rax
lea rcx, [rbp + 0x178]
call fcn.14000f1f0
mov qword [rbp + 0x40], rax
jmp 0x1400127f3
mov r9, qword [rbp + 0x38]
mov r8, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x48]
mov r10, qword [rbp + 0x40]
mov qword [rbp + 0x290], r10
mov rax, rsp
lea r11, [rbp + 0x134]
mov qword [rax + 0x28], r11
mov qword [rax + 0x20], r10
mov rax, qword [sym.imp.advapi32.dll_RegQueryValueExW]
call rax
mov dword [rbp + 0x2c], eax
jmp 0x14001282e
mov eax, dword [rbp + 0x2c]
cmp eax, 0
jne 0x140012852
mov eax, dword [rbp + 0x134]
mov qword [rbp + 0x18], rax
lea rcx, [rbp + 0x178]
call fcn.14000f5b0
mov qword [rbp + 0x20], rax
jmp 0x140012877
mov rax, qword [rbp + 0x80]
movabs rcx, 0x8000000000000000
mov qword [rax], rcx
lea rcx, [rbp + 0x178]
call fcn.14000b8d0
jmp 0x140012b14
mov rax, qword [rbp + 0x20]
mov ecx, 2
mul rcx
mov qword [rbp + 0x10], rax
seto al
test al, 1
jne 0x14001289d
mov rax, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x10]
cmp rax, rcx
jne 0x140012852
jmp 0x1400128b9
lea rcx, str.attempt_to_multiply_with_overflowWindows_11
lea r8, str.C:UsersVoal.cargo_registry_srcindex.crates.io_6f17d22bba15001fos_info_3.8.0_srcwindowswinapi.rsx86_64ia64armaarch64i386ntdll
mov edx, 0x21
call fcn.140034d40
jmp 0x1400128b7
ud2
lea rcx, [rbp + 0x178]
call fcn.140011670
mov qword [rbp], rdx
mov qword [rbp + 8], rax
jmp 0x1400128cf
mov rdx, qword [rbp]
mov rcx, qword [rbp + 8]
call fcn.14000c1a0
mov qword [rbp - 8], rax
jmp 0x1400128e2
mov rax, qword [rbp - 8]
mov qword [rbp + 0x190], rax
mov rdx, qword [rbp + 0x190]
mov eax, 1
xor ecx, ecx
cmp rdx, 0
cmove rax, rcx
cmp rax, 1
jne 0x140012916
mov rax, qword [rbp + 0x190]
cmp word [rax], 0
je 0x14001292c
lea rcx, [rbp + 0x178]
call fcn.14000f730
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x10], rax
jmp 0x14001293c
lea rcx, [rbp + 0x178]
call fcn.14000f5c0
jmp 0x14001293a
jmp 0x140012916
mov r8, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
lea rcx, [rbp + 0x1c8]
call fcn.14001d9f0
jmp 0x140012952
lea rcx, [rbp + 0x1c8]
call fcn.1400115e0
mov qword [rbp - 0x28], rdx
mov qword [rbp - 0x20], rax
jmp 0x140012968
mov r8, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp + 0x1b0]
call fcn.14000e7d0
jmp 0x14001297e
lea rcx, [rbp + 0x198]
lea rdx, [rbp + 0x1b0]
call fcn.14000c7a0
jmp 0x140012993
mov byte [rbp + 0x25f], 1
lea rcx, [rbp + 0x1c8]
call fcn.14000b930
jmp 0x1400129a8
test byte [rbp + 0x107], 1
jne 0x140012a0b
mov rax, qword [rbp + 0x80]
mov byte [rbp + 0x25f], 0
mov rcx, qword [rbp + 0x198]
mov qword [rbp + 0x240], rcx
mov rcx, qword [rbp + 0x1a0]
mov qword [rbp + 0x248], rcx
mov rcx, qword [rbp + 0x1a8]
mov qword [rbp + 0x250], rcx
mov rcx, qword [rbp + 0x240]
mov qword [rax], rcx
mov rcx, qword [rbp + 0x248]
mov qword [rax + 8], rcx
mov rcx, qword [rbp + 0x250]
mov qword [rax + 0x10], rcx
jmp 0x140012a7e
lea rcx, [rbp + 0x198]
mov qword [rbp + 0x280], rcx
lea rax, [fcn.14000c840]
mov qword [rbp + 0x288], rax
mov qword [rbp + 0x270], rcx
mov qword [rbp + 0x278], rax
mov rcx, qword [rbp + 0x270]
mov rax, qword [rbp + 0x278]
mov qword [rbp + 0x230], rcx
mov qword [rbp + 0x238], rax
mov rax, rsp
mov qword [rax + 0x20], 1
lea rdx, [0x1400386f0]
lea rcx, [rbp + 0x200]
mov r8d, 1
lea r9, [rbp + 0x230]
call fcn.14000b3b0
jmp 0x140012a89
test byte [rbp + 0x25f], 1
jne 0x140012adc
jmp 0x140012ac7
lea rcx, [rbp + 0x1e8]
lea rdx, [rbp + 0x200]
call fcn.14000f0d0
jmp 0x140012a9e
mov rax, qword [rbp + 0x80]
mov rcx, qword [rbp + 0x1e8]
mov qword [rax], rcx
mov rcx, qword [rbp + 0x1f0]
mov qword [rax + 8], rcx
mov rcx, qword [rbp + 0x1f8]
mov qword [rax + 0x10], rcx
jmp 0x140012a7e
mov byte [rbp + 0x25f], 0
lea rcx, [rbp + 0x178]
call fcn.14000b8d0
jmp 0x140012aea
lea rcx, [rbp + 0x198]
call fcn.14000b7d0
jmp 0x140012ac7
lea rcx, [rbp + 0x108]
call fcn.14000b8d0
jmp 0x140012af8
lea rcx, [rbp + 0xa0]
call fcn.14000b8d0
mov rax, qword [rbp + 0x88]
add rsp, 0x3a0
pop rbp
ret
lea rcx, [rbp + 0x108]
call fcn.14000b8d0
jmp 0x140012bd1
mov al, byte [rbp + 0x5b]
test al, 1
jne 0x140012b44
jmp 0x140012b2e
mov rax, qword [rbp + 0x80]
movabs rcx, 0x8000000000000000
mov qword [rax], rcx
jmp 0x140012b14
mov byte [rbp + 0x26f], 0
mov dl, byte [rbp + 0x26f]
mov rcx, qword [0x140047010]
call fcn.14000c060
mov qword [rbp - 0x30], rax
jmp 0x140012b63
mov rax, qword [rbp - 0x30]
mov qword [rbp + 0x140], rax
lea rcx, [rbp + 0x138]
lea rdx, [rbp + 0x140]
call fcn.14000e870
mov byte [rbp - 0x31], al
jmp 0x140012b86
mov al, byte [rbp - 0x31]
test al, 1
jne 0x140012b8f
jmp 0x140012b2e
lea rdx, str.RegQueryValueExW_failed
lea rcx, [rbp + 0x148]
mov r8d, 1
call fcn.14000b510
jmp 0x140012baa
mov rdx, qword [rbp + 0x138]
lea r8, str.os_info::imp::winapi
lea rcx, [rbp + 0x148]
mov r9d, 0xb8
call fcn.14000af60
jmp 0x140012bcc
jmp 0x140012b2e
lea rcx, [rbp + 0xa0]
call fcn.14000b8d0
jmp 0x140012b04
mov al, byte [rbp + 0x73]
test al, 1
jne 0x140012c01
jmp 0x140012beb
mov rax, qword [rbp + 0x80]
movabs rcx, 0x8000000000000000
mov qword [rax], rcx
jmp 0x140012bd1
mov byte [rbp + 0x26e], 0
mov dl, byte [rbp + 0x26e]
mov rcx, qword [0x140047010]
call fcn.14000c060
mov qword [rbp - 0x40], rax
jmp 0x140012c20
mov rax, qword [rbp - 0x40]
mov qword [rbp + 0xc8], rax
lea rcx, [rbp + 0xc0]
lea rdx, [rbp + 0xc8]
call fcn.14000e870
mov byte [rbp - 0x41], al
jmp 0x140012c43
mov al, byte [rbp - 0x41]
test al, 1
jne 0x140012c4c
jmp 0x140012beb
lea rdx, str.RegOpenKeyExW_HKEY_LOCAL_MACHINE__...__failed
lea rcx, [rbp + 0xd0]
mov r8d, 1
call fcn.14000b510
jmp 0x140012c67
mov rdx, qword [rbp + 0xc0]
lea r8, str.os_info::imp::winapi
lea rcx, [rbp + 0xd0]
mov r9d, 0x9c
call fcn.14000af60
jmp 0x140012c89
jmp 0x140012beb