Function at 0x140092060
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x238
mov rsi, rcx
movabs r15, 0x8000000000000000
lea rcx, [0x140207130]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x140092223
lea rdx, [0x140207136]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rdi, rax
lea rcx, [rsp + 0xf4]
mov r8d, 0x118
xor edx, edx
call fcn.1401ef9c0
mov dword [rsp + 0xf0], 0x11c
lea rcx, [rsp + 0xf0]
call rdi
test eax, eax
jne 0x140092323
mov eax, dword [rsp + 0xf4]
mov qword [rsp + 0xb8], rax
mov r14d, dword [rsp + 0xf8]
mov r12d, dword [rsp + 0xfc]
movzx ebx, word [rsp + 0x208]
movzx ebp, byte [rsp + 0x20a]
lea rax, str.SOFTWAREMicrosoftWindows_NTCurrentVersionEditionIDProductNameWindows_11
mov qword [rsp + 0xf0], rax
lea rax, [0x140207170]
mov qword [rsp + 0xf8], rax
mov word [rsp + 0x100], 0
mov dword [rsp + 0x108], 1
lea rcx, [rsp + 0x220]
lea rdx, [rsp + 0xf0]
call fcn.140057360
mov qword [rsp + 0x88], 0
mov rdi, qword [rsp + 0x228]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
mov rdx, rdi
xor r8d, r8d
mov r9d, 0x20019
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
mov qword [rsp + 0xb0], r12
mov qword [rsp + 0x78], r14
jne 0x14009232e
cmp qword [rsp + 0x88], 0
je 0x14009232e
cmp dword [rsp + 0xb8], 0xa
mov qword [rsp + 0xd0], rdi
jne 0x1400923dc
cmp r12d, 0x55ef
jbe 0x1400923dc
lea rax, [0x140207170]
mov qword [rsp + 0xf0], rax
lea rax, [0x140207179]
mov qword [rsp + 0xf8], rax
mov word [rsp + 0x100], 0
mov dword [rsp + 0x108], 1
lea rcx, [rsp + 0xd8]
lea rdx, [rsp + 0xf0]
call fcn.140057360
mov dil, 1
jmp 0x140092426
mov rax, qword [0x14027e780]
mov rax, qword [rax]
test rax, rax
je 0x140092323
lea rdx, [0x140207130]
lea rdi, [rsp + 0x90]
mov r8d, 6
mov rcx, rdi
call fcn.1401ceb30
mov qword [rsp + 0xd8], rdi
lea rax, [0x140011b00]
mov qword [rsp + 0xe0], rax
lea rax, [0x1402073d8]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], 2
mov qword [rsp + 0x110], 0
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], 1
lea rcx, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fos_info_3.8.2_srcwindowswinapi.rs
call fcn.1401a8410
lea rcx, str.os_info::imp::winapiRegOpenKeyExW_HKEY_LOCAL_MACHINE__...__failed
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], 0x14
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], 0x14
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0xf0]
lea r8, [rsp + 0x40]
mov edx, 1
xor r9d, r9d
call fcn.1401a8300
mov rdx, qword [rsp + 0x90]
lea rax, [rdx*2]
test rax, rax
je 0x140092323
mov rcx, qword [rsp + 0x98]
mov r8d, 1
call fcn.140055580
xor r13d, r13d
mov rdi, r15
jmp 0x140092910
mov rax, qword [0x14027e780]
mov rax, qword [rax]
test rax, rax
je 0x1400923c1
lea rax, [0x140207290]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], 1
mov qword [rsp + 0x100], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x108], xmm0
lea rcx, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fos_info_3.8.2_srcwindowswinapi.rs
call fcn.1401a8410
lea rcx, str.os_info::imp::winapiRegOpenKeyExW_HKEY_LOCAL_MACHINE__...__failed
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], 0x14
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], 0x14
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0xf0]
lea r8, [rsp + 0x40]
mov edx, 1
xor r9d, r9d
call fcn.1401a8300
mov qword [rsp + 0x40], r15
mov rdx, qword [rsp + 0x220]
test rdx, rdx
jne 0x140092639
jmp 0x14009264a
lea rax, [0x140207179]
mov qword [rsp + 0xf0], rax
lea rax, [0x140207184]
mov qword [rsp + 0xf8], rax
mov word [rsp + 0x100], 0
mov dword [rsp + 0x108], 1
lea rcx, [rsp + 0xd8]
lea rdx, [rsp + 0xf0]
call fcn.140057360
xor edi, edi
mov dword [rsp + 0x84], 0
mov dword [rsp + 0x3c], 0
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0xe0]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x84]
mov r13, rdx
xor r8d, r8d
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
mov word [rsp + 0x70], bx
jne 0x1400924c8
cmp dword [rsp + 0x84], 1
jne 0x1400924c8
mov r14d, dword [rsp + 0x3c]
test r14d, r14d
je 0x1400924c8
mov eax, r14d
and eax, 1
jne 0x1400924c8
mov dword [rsp + 0xc4], edi
mov byte [rsp + 0x3b], bpl
mov ebp, r14d
shr ebp, 1
lea r12, [rbp*2]
mov rbx, r15
cmp r14d, 2
jae 0x14009256d
mov edi, 2
xor r15d, r15d
jmp 0x140092589
mov rax, qword [0x14027e780]
mov rax, qword [rax]
test rax, rax
je 0x14009255b
lea rax, str.RegQueryValueExW_failed
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], 1
mov qword [rsp + 0x100], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x108], xmm0
lea rcx, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fos_info_3.8.2_srcwindowswinapi.rs
call fcn.1401a8410
lea rcx, str.os_info::imp::winapiRegOpenKeyExW_HKEY_LOCAL_MACHINE__...__failed
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], 0x14
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], 0x14
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0xf0]
lea r8, [rsp + 0x40]
mov edx, 1
xor r9d, r9d
call fcn.1401a8300
mov rbx, r15
mov qword [rsp + 0x40], r15
mov r14, qword [rsp + 0x78]
jmp 0x1400925fe
mov edx, 2
mov rcx, r12
call fcn.1400555a0
test rax, rax
je 0x140092c04
mov rdi, rax
mov r15, rbp
mov rcx, qword [rsp + 0x88]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
mov rdx, r13
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400925ce
mov eax, dword [rsp + 0x3c]
cmp r12, rax
jne 0x1400925ce
cmp r14d, 2
jae 0x140092780
xor r8d, r8d
jmp 0x14009278e
mov qword [rsp + 0x40], rbx
test r15, r15
mov r12, qword [rsp + 0xb0]
mov r14, qword [rsp + 0x78]
movzx ebp, byte [rsp + 0x3b]
je 0x1400925fe
add r15, r15
mov r8d, 2
mov rcx, rdi
mov rdx, r15
call fcn.140055580
mov rdx, qword [rsp + 0xd8]
test rdx, rdx
je 0x14009261c
add rdx, rdx
mov r8d, 2
mov rcx, r13
call fcn.140055580
mov r15, rbx
movzx ebx, word [rsp + 0x70]
mov rdi, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0x220]
test rdx, rdx
je 0x14009264a
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.140055580
mov rax, qword [rsp + 0xb8]
cmp rax, 5
je 0x14009269b
cmp eax, 6
je 0x140092739
cmp eax, 0xa
jne case.default.0x14009274d
test r14, r14
jne case.default.0x14009274d
cmp bpl, 1
jne 0x1400928cb
cmp r12d, 0x55f0
lea rax, [0x1402072c2]
lea r14, str.Windows_10Windows_11Windows_Server_2016Windows_8.1Windows_Server_2012_R2Windows_8Windows_Server_2012Windows_7Windows_Server_2008_R2Windows_VistaWindows_Server_2008Windows_XPWindows_2000Windows_XP_Professional_x64_EditionWindows_Server_2003Windows_Home_ServerGetModuleHandleA___failed
cmovae r14, rax
jmp 0x140092852
test r14, r14
je 0x14009283a
cmp r14d, 1
je 0x14009284b
cmp r14d, 2
jne case.default.0x14009274d
mov ecx, 0x59
call qword [sym.imp.user32.dll_GetSystemMetrics]
test eax, eax
jne case.default.0x14009274d
xorps xmm0, xmm0
movaps xmmword [rsp + 0x110], xmm0
movaps xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0xf0], xmm0
lea rcx, [rsp + 0xf0]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
test bx, bx
js 0x140092bde
cmp bpl, 1
sete al
cmp word [rsp + 0xf0], 9
sete cl
and cl, al
movzx eax, cl
mov rdi, rax
shl rdi, 4
add rdi, 0x13
lea rcx, [0x140207371]
lea r14, [0x140207394]
test al, al
cmovne r14, rcx
jmp 0x1400928d7
cmp r14d, 3
ja case.default.0x14009274d
lea rax, [0x140207410]
movsxd rcx, dword [rax + r14*4]
add rcx, rax
jmp rcx
cmp bpl, 1
mov eax, 0xd
mov edi, 0x13
cmove rdi, rax
lea rax, [0x14020733b]
lea r14, [0x140207348]
cmove r14, rax
jmp 0x1400928d7
mov rdi, r15
jmp 0x14009290a
lea r8, [rbp - 1]
cmp word [rdi + rbp*2 - 2], 0
cmovne r8, rbp
lea r12, [rsp + 0xf0]
mov rcx, r12
mov rdx, rdi
call fcn.1401bcd20
mov rcx, r12
call fcn.1401b6b60
mov r8, rdx
lea rcx, [rsp + 0x40]
mov rdx, rax
call fcn.1401b6f30
cmp qword [rsp + 0x40], rbx
mov r14, qword [rsp + 0x78]
movzx ebp, byte [rsp + 0x3b]
jne 0x14009281b
mov r12, qword [rsp + 0x50]
test r12, r12
js 0x140092c11
mov rdx, qword [rsp + 0x48]
je 0x140092a46
movzx eax, byte [0x14027f2b8]
mov eax, 1
mov qword [rsp + 0xc8], rax
mov r14, rdx
mov edx, 1
mov rcx, r12
call fcn.140055570
mov rdx, r14
mov r14, rax
test rax, rax
jne 0x140092a4c
jmp 0x140092c1b
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xa0], rax
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x90], xmm0
jmp 0x140092a74
lea r14, [0x140207365]
mov edi, 0xc
jmp 0x1400928d7
lea r14, [0x14020735b]
mov edi, 0xa
jmp 0x1400928d7
cmp bpl, 1
mov eax, 9
mov edi, 0x16
cmove rdi, rax
lea rax, [0x14020731c]
lea r14, [0x140207325]
cmove r14, rax
jmp 0x1400928d7
cmp bpl, 1
mov eax, 9
mov edi, 0x13
cmove rdi, rax
lea rax, [0x140207300]
lea r14, [0x140207309]
cmove r14, rax
jmp 0x1400928d7
cmp bpl, 1
mov eax, 0xb
mov edi, 0x16
cmove rdi, rax
lea rax, [0x1402072df]
lea r14, [0x1402072ea]
cmove r14, rax
jmp 0x1400928d7
lea r14, [0x1402072cc]
mov edi, 0x13
movzx eax, byte [0x14027f2b8]
mov edx, 1
mov rcx, rdi
call fcn.140055570
test rax, rax
je 0x140092bf7
mov rbx, rax
mov rcx, rax
mov rdx, r14
mov r8, rdi
call fcn.1401ef240
mov qword [rsp + 0x70], rdi
mov r13d, 1
xorps xmm0, xmm0
movaps xmmword [rsp + 0x110], xmm0
movaps xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0xf0], xmm0
lea rcx, [rsp + 0xf0]
call qword [sym.imp.kernel32.dll_GetNativeSystemInfo]
movzx eax, word [rsp + 0xf0]
mov r14, r15
cmp rax, 0xc
ja case.0x14009295f.1
lea rcx, [0x140207420]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
mov r14, r15
jmp rax
mov rbp, r15
lea r15, [0x14020712c]
jmp 0x140092989
mov rbp, r15
lea r15, [0x140207122]
mov r14d, 3
jmp 0x1400929b3
mov rbp, r15
lea r15, [0x14020711e]
mov r14d, 4
jmp 0x1400929b3
mov rbp, r15
lea r15, str.x86_64ia64armaarch64i386ntdll
mov r14d, 6
jmp 0x1400929b3
mov rbp, r15
lea r15, [0x140207125]
mov r14d, 7
movzx eax, byte [0x14027f2b8]
mov edx, 1
mov rcx, r14
call fcn.140055570
test rax, rax
je 0x140092bea
mov r12, rax
mov rcx, rax
mov rdx, r15
mov r8, r14
call fcn.1401ef240
mov r15, rbp
mov qword [rsi], r13
mov rax, qword [rsp + 0xb8]
mov qword [rsi + 8], rax
mov rax, qword [rsp + 0x78]
mov qword [rsi + 0x10], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x20], rdi
mov qword [rsi + 0x28], rbx
mov rax, qword [rsp + 0x70]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], r15
mov word [rsi + 0x68], 0x2e02
mov qword [rsi + 0x50], r14
mov qword [rsi + 0x58], r12
mov qword [rsi + 0x60], r14
mov rax, rsi
add rsp, 0x238
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14d, 1
mov rcx, r14
mov r8, r12
call fcn.1401ef240
mov qword [rsp + 0x90], r12
mov qword [rsp + 0x98], r14
mov qword [rsp + 0xa0], r12
mov r14, qword [rsp + 0x78]
mov rdx, qword [rsp + 0xf0]
test rdx, rdx
mov r12, qword [rsp + 0xb0]
je 0x140092a9c
mov rcx, qword [rsp + 0xf8]
mov r8d, 1
call fcn.140055580
cmp byte [rsp + 0xc4], 0
je 0x140092b40
lea rax, [rsp + 0x90]
mov qword [rsp + 0x210], rax
lea rax, [0x140011b00]
mov qword [rsp + 0x218], rax
lea rax, [0x140207190]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], 1
mov qword [rsp + 0x110], 0
lea rax, [rsp + 0x210]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], 1
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0xf0]
call fcn.1401cf430
mov rdx, qword [rsp + 0x90]
test rdx, rdx
je 0x140092b5a
mov rcx, qword [rsp + 0x98]
mov r8d, 1
call fcn.140055580
jmp 0x140092b5a
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0x40], xmm0
test r15, r15
je 0x140092b73
add r15, r15
mov r8d, 2
mov rcx, rdi
mov rdx, r15
call fcn.140055580
mov rdx, qword [rsp + 0xd8]
test rdx, rdx
je 0x140092b91
add rdx, rdx
mov r8d, 2
mov rcx, r13
call fcn.140055580
mov rdx, qword [rsp + 0x220]
test rdx, rdx
mov r15, rbx
je 0x140092bb7
add rdx, rdx
mov r8d, 2
mov rcx, qword [rsp + 0xd0]
call fcn.140055580
mov rdi, qword [rsp + 0x40]
cmp rdi, r15
movzx ebx, word [rsp + 0x70]
je 0x14009264a
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x70], rax
jmp 0x14009290a
lea r14, [0x1402073a7]
jmp 0x1400928d2
mov ecx, 1
mov rdx, r14
call fcn.14018ba60
mov ecx, 1
mov rdx, rdi
call fcn.14018ba60
mov ecx, 2
mov rdx, r12
call fcn.14018ba60
xor eax, eax
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
mov rdx, r12
call fcn.14018ba60
int3