Function at 0x14004e640
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x138
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0xe8], rdx
mov qword [rsp + 0x118], 0
mov qword [rsp + 0x120], 0
mov word [rsp + 0x90], 0
mov word [rsp + 0x92], pe_nt_image_headers64
mov qword [rsp + 0x98], 0
mov qword [rsp + 0x78], rdx
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x88], rax
xor ecx, ecx
call dbg.into_iter<core::ops::range::RangeFrom<i32>>
mov dword [rsp + 0xa4], eax
lea rcx, [rsp + 0xa4]
call fcn.140031b60
mov dword [rsp + 0xa8], eax
mov dword [rsp + 0xac], edx
mov eax, dword [rsp + 0xa8]
cmp rax, 0
jne 0x14004e706
mov rcx, qword [rsp + 0x88]
call dbg.is_null<u16>
test al, 1
jne 0x14004e855
jmp 0x14004e82e
mov eax, dword [rsp + 0xac]
mov dword [rsp + 0x64], eax
mov dword [rsp + 0xf0], eax
movzx eax, word [rsp + 0x82]
mov edx, eax
mov ecx, 0x40
call sub.KERNEL32.dll_LocalAlloc
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x88]
call dbg.is_null<u16>
test al, 1
jne 0x14004e78f
mov eax, 0x18
mov r8d, eax
mov qword [rsp + 0x128], 0
mov qword [rsp + 0x130], 0
mov ecx, 0x58
lea rdx, [rsp + 0x78]
xor eax, eax
mov r9d, eax
call sub.ntdll.dll_NtQuerySystemInformation
mov dword [rsp + 0x60], eax
mov dword [rsp + 0xf4], eax
cmp eax, 0
je 0x14004e6ec
jmp 0x14004e7a3
mov rax, qword [rsp + 0x68]
movabs rcx, 0x8000000000000000
mov qword [rax], rcx
jmp 0x14004e7f3
mov eax, dword [rsp + 0x60]
cmp eax, 0xc0000004
je 0x14004e7c1
mov rcx, qword [rsp + 0x88]
call dbg.is_null<u16>
test al, 1
jne 0x14004e7e1
jmp 0x14004e7d4
mov rcx, qword [rsp + 0x88]
call dbg.is_null<u16>
test al, 1
jne 0x14004e80d
jmp 0x14004e800
mov rcx, qword [rsp + 0x88]
call sub.KERNEL32.dll_LocalFree
mov rax, qword [rsp + 0x68]
movabs rcx, 0x8000000000000000
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
add rsp, 0x138
ret
mov rcx, qword [rsp + 0x88]
call sub.KERNEL32.dll_LocalFree
mov eax, dword [rsp + 0x64]
cmp eax, 2
jle 0x14004e6c4
mov rax, qword [rsp + 0x68]
movabs rcx, 0x8000000000000000
mov qword [rax], rcx
jmp 0x14004e7f3
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x80]
mov qword [rsp + 0x58], rax
mov eax, 2
cmp rax, 0
je 0x14004e8c0
jmp 0x14004e869
mov rax, qword [rsp + 0x68]
movabs rcx, 0x8000000000000000
mov qword [rax], rcx
jmp 0x14004e7f3
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
shr rdx, 1
call dbg.from_raw_parts<u16>
mov qword [rsp + 0x30], rax
mov r8, rdx
mov rdx, qword [rsp + 0x30]
mov qword [rsp + 0xf8], rdx
mov qword [rsp + 0x100], r8
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0x38], rcx
call dbg.from_wide
mov rcx, qword [rsp + 0x38]
call dbg.std::path::Path::new::h9974b958e3c5a9ef
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], rax
jmp 0x14004e8f4
lea rcx, str._home_crctpus_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.29.11_src_windows_process.rs
call dbg.panic_const_div_by_zero
lea rcx, [rsp + 0xb0]
call dbg.drop_in_place<std::ffi::os_str::OsString>
jmp 0x14004e99b
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call sym.std::path::Path::file_name::h2aee4f392a94eebc
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rax
jmp 0x14004e90f
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0xd0]
call dbg.core::option::Option<T>::map::h63db19100dfb0954
jmp 0x14004e928
mov rcx, qword [rsp + 0x88]
call sub.KERNEL32.dll_LocalFree
jmp 0x14004e95c
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0xd0]
mov qword [rax], rcx
mov rcx, qword [rsp + 0xd8]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0xe0]
mov qword [rax + 0x10], rcx
lea rcx, [rsp + 0xb0]
call dbg.drop_in_place<std::ffi::os_str::OsString>
jmp 0x14004e7f3
mov rcx, qword [rsp + 0x108]
call dbg._Unwind_Resume
int3