Function at 0x140011240
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x168
mov rax, rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0xa0], rax
mov edx, dword [rax + 4]
mov ecx, dword [rax + 8]
movzx eax, byte [rax + 0x11a]
mov dword [rsp + 0x64], edx
mov dword [rsp + 0x68], ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x4c], eax
sub eax, 5
je 0x1400112da
jmp 0x140011289
mov eax, dword [rsp + 0x4c]
sub eax, 6
je 0x1400112b6
jmp 0x140011294
mov eax, dword [rsp + 0x4c]
sub eax, 0xa
je 0x1400112ad
jmp 0x14001129f
mov qword [rsp + 0x50], 0
jmp 0x140011364
cmp dword [rsp + 0x68], 0
je 0x14001130a
jmp 0x14001129f
mov eax, dword [rsp + 0x68]
mov qword [rsp + 0x28], rax
sub rax, 3
ja 0x14001129f
mov rax, qword [rsp + 0x28]
lea rcx, [0x1400fe694]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x24], eax
test eax, eax
je 0x140011497
jmp 0x1400112ec
mov eax, dword [rsp + 0x24]
sub eax, 1
je 0x14001147d
jmp 0x1400112fb
mov eax, dword [rsp + 0x24]
sub eax, 2
je 0x1400114b1
jmp 0x14001129f
cmp dword [rsp + 0x6c], 1
jne 0x140011321
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0xc], 0x55f0
jae 0x14001134f
jmp 0x140011338
lea rax, [0x1400febbc]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x13
jmp 0x140011364
lea rax, str.Windows_10Windows_11Windows_Server_2016Windows_8.1Windows_Server_2012_R2Windows_8Windows_Server_2012Windows_7Windows_Server_2008_R2Windows_VistaWindows_Server_2008Windows_XPWindows_2000
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0xa
jmp 0x140011364
lea rax, [0x1400febb2]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0xa
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
call dbg.core::option::Option<T>::map::hbe59a35a797ce5c4
mov rax, qword [rsp + 0x40]
add rsp, 0x168
ret
cmp dword [rsp + 0x6c], 1
je 0x1400113b3
jmp 0x1400113ca
cmp dword [rsp + 0x6c], 1
je 0x1400113e1
jmp 0x1400113fb
cmp dword [rsp + 0x6c], 1
je 0x140011415
jmp 0x14001142f
cmp dword [rsp + 0x6c], 1
je 0x140011449
jmp 0x140011463
lea rax, [0x1400febcf]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0xb
jmp 0x140011364
lea rax, [0x1400febda]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x16
jmp 0x140011364
lea rax, [0x1400febf0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 9
jmp 0x140011364
lea rax, [0x1400febf9]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x13
jmp 0x140011364
lea rax, [0x1400fec0c]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 9
jmp 0x140011364
lea rax, [0x1400fec15]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x16
jmp 0x140011364
lea rax, [0x1400fec2b]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0xd
jmp 0x140011364
lea rax, [0x1400fec38]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x13
jmp 0x140011364
lea rax, [0x1400fec4b]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0xa
jmp 0x140011364
lea rax, [0x1400fec55]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0xc
jmp 0x140011364
mov ecx, 0x59
call sub.user32.dll_GetSystemMetrics
cmp eax, 0
jne 0x14001129f
mov byte [rsp + 0xaf], 0
mov qword [rsp + 0xb0], 1
mov byte [rsp + 0xbf], 0
mov qword [rsp + 0xc0], 1
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x160], rax
lea rcx, [rsp + 0xf8]
xor edx, edx
mov r8d, 0x30
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0xc8]
lea rdx, [rsp + 0xf8]
mov r8d, 0x30
call sym.memcpy
lea rcx, [rsp + 0x128]
lea rdx, [rsp + 0xc8]
mov r8d, 0x30
call sym.memcpy
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0x128]
mov r8d, 0x30
call sym.memcpy
lea rcx, [rsp + 0x70]
call sub.kernel32.dll_GetSystemInfo
mov rax, qword [rsp + 0x30]
mov cx, word [rax + 0x118]
call dbg.into<u16, u32>
and eax, 0x8000
cmp eax, 0x8000
je 0x1400115a6
mov rax, qword [rsp + 0x30]
cmp byte [rax + 0x11a], 1
je 0x1400115da
jmp 0x1400115c0
lea rax, [0x1400fecb6]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x13
jmp 0x140011364
lea rax, str.Windows_Server_2003Windows_XP_Professional_x64_EditionWindows_Home_ServerEmpty_module_name
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x13
jmp 0x140011364
cmp word [rsp + 0x70], 9
jne 0x1400115c0
lea rax, [0x1400fec93]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x23
jmp 0x140011364