Function at 0x1400ff691
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1d8
cmp qword [rcx + 0x80], 0
jne 0x1400ffd31
mov ebp, edx
mov r12, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x1a0]
movaps xmmword [rcx + 0x20], xmm0
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
call sub.kernel32.dll_GetSystemInfo
mov eax, 0x80000000
xor ecx, ecx
mov r8, rbx
cpuid
xchg rbx, r8
mov dword [rsp + 0x90], eax
cmp eax, 0x80000003
mov byte [rsp + 0x2f], bpl
mov qword [rsp + 0x88], r12
jbe 0x1400ff79e
mov ecx, 4
mov edx, 0x50
call fcn.1400314f2
test rax, rax
je 0x1400ffd54
mov r8, rax
lea rax, [rsp + 0x30]
mov qword [rax], 5
mov qword [rax + 8], r8
mov eax, 0x80000000
mov r12d, 0xc
xor r15d, r15d
xor r13d, r13d
mov qword [rsp + 0x40], r15
test r13b, 1
jne 0x1400ff7b8
cmp eax, dword [rsp + 0x90]
ja 0x1400ff7b8
setae r13b
mov edi, eax
adc edi, 0
xor ecx, ecx
mov rsi, rbx
cpuid
xchg rbx, rsi
mov ebx, ecx
mov ebp, edx
mov r14d, eax
cmp r15, qword [rsp + 0x30]
jne 0x1400ff780
lea rcx, [rsp + 0x30]
call fcn.1400fce87
mov r8, qword [rsp + 0x38]
mov dword [r8 + r12 - 0xc], r14d
mov dword [r8 + r12 - 8], esi
mov dword [r8 + r12 - 4], ebx
mov dword [r8 + r12], ebp
inc r15
add r12, 0x10
mov eax, edi
jmp 0x1400ff73c
and qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 1
and qword [rsp + 0x58], 0
jmp 0x1400ff91e
lea rcx, [rsp + 0x98]
mov edx, 0x30
call fcn.1400ff64e
mov rdi, qword [rsp + 0x38]
shl r15, 4
add r15, rdi
mov eax, 2
mov ebx, 5
xor r12d, r12d
lea rsi, [rsp + 0x98]
mov r14, rdi
test r12b, 1
je 0x1400ff810
test rbx, rbx
mov bpl, byte [rsp + 0x2f]
mov r12, qword [rsp + 0x88]
je 0x1400ff87e
cmp r14, r15
je 0x1400ff87e
dec rbx
jmp 0x1400ff841
cmp rbx, rax
mov bpl, byte [rsp + 0x2f]
mov r12, qword [rsp + 0x88]
jbe 0x1400ff87e
mov rcx, r15
sub rcx, r14
shr rcx, 4
cmp rcx, rax
jbe 0x1400ff87e
mov rcx, rax
not rcx
add rbx, rcx
shl rax, 4
add r14, rax
mov edx, dword [r14]
mov rcx, rsi
call fcn.1400ffe86
mov edx, dword [r14 + 4]
mov rcx, rsi
call fcn.1400ffe86
mov edx, dword [r14 + 8]
mov rcx, rsi
call fcn.1400ffe86
mov edx, dword [r14 + 0xc]
add r14, 0x10
mov r12b, 1
mov rcx, rsi
call fcn.1400ffe86
xor eax, eax
jmp 0x1400ff7ee
mov rbx, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0xa8]
xor r8d, r8d
cmp rdx, r8
je 0x1400ff8a2
cmp byte [rbx + r8], 0
je 0x1400ff8a5
inc r8
jmp 0x1400ff891
mov r8, rdx
lea r9, str._home_ellie_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.26.9_src_windows_cpu.rsTotal_CPUIntel_x86MIPSRISC_AlphaPPCSHXARMIntel_Itanium_based_x64RISC_Alpha_x64MSIL_Intel_or_AMD__x64Intel_Itanium_based_x86unknownARM_x64
mov rcx, rbx
call fcn.1400ffecb
mov r8, rdx
lea rsi, [rsp + 0x130]
mov rcx, rsi
mov rdx, rax
call fcn.140034f90
cmp qword [rsi], 0
je 0x1400ff8e7
and qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 1
and qword [rsp + 0x58], 0
jmp 0x1400ff901
mov rdx, qword [rsp + 0x138]
mov r8, qword [rsp + 0x140]
lea rcx, [rsp + 0x48]
call fcn.14010f568
mov rcx, qword [rsp + 0x98]
mov rdx, rbx
call fcn.1400c5fec
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
call fcn.1400fd27d
xor eax, eax
xor ecx, ecx
mov rbx, rbx
cpuid
xchg rbx, rbx
mov edi, edx
mov esi, ecx
lea rcx, [rsp + 0x30]
mov edx, 0xc
call fcn.1400ff64e
lea rcx, [rsp + 0x30]
mov edx, ebx
call fcn.1400ffe86
lea rcx, [rsp + 0x30]
mov edx, edi
call fcn.1400ffe86
lea rcx, [rsp + 0x30]
mov edx, esi
call fcn.1400ffe86
lea rbx, [r12 + 0x70]
mov rsi, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
xor r8d, r8d
cmp rdx, r8
je 0x1400ff984
cmp byte [rsi + r8], 0
je 0x1400ff987
inc r8
jmp 0x1400ff973
mov r8, rdx
lea r9, str._home_ellie_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.26.9_src_windows_cpu.rsTotal_CPUIntel_x86MIPSRISC_AlphaPPCSHXARMIntel_Itanium_based_x64RISC_Alpha_x64MSIL_Intel_or_AMD__x64Intel_Itanium_based_x86unknownARM_x64
mov rcx, rsi
call fcn.1400ffecb
mov r8, rdx
lea rdi, [rsp + 0x130]
mov rcx, rdi
mov rdx, rax
call fcn.140034f90
cmp qword [rdi], 0
je 0x1400ff9db
movzx eax, word [rsp + 0x1a0]
cmp rax, 0xe
ja 0x1400ff9ec
lea rcx, [0x140263d4c]
movsxd rdx, dword [rcx + rax*4]
add rdx, rcx
lea rcx, [0x140263d88]
lea rax, [rcx + rax*8]
jmp 0x1400ff9e7
lea rax, [rsp + 0x140]
mov rdx, qword [rax - 8]
mov r8, qword [rax]
jmp 0x1400ff9f9
mov r8d, 7
lea rdx, [0x1402637e1]
lea rcx, [rsp + 0x98]
call fcn.14010f568
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0x30]
mov rdx, rsi
call fcn.1400c5fec
mov esi, dword [rsp + 0x1c0]
test bpl, bpl
je 0x1400ffa7f
lea rcx, [rsp + 0xd8]
mov rdx, rsi
call fcn.1400ffeeb
jmp 0x1400ffa8f
lea rcx, [rsp + 0xd8]
mov rdx, rsi
call fcn.1400fccac
mov qword [rsp + 0x110], rbx
inc rsi
imul rdi, rsi, 0x70
mov ecx, 8
mov rdx, rdi
call fcn.1400314f2
test rax, rax
je 0x1400ffd45
mov r14, rax
lea rax, [rsp + 0x48]
mov qword [rax], rsi
mov qword [rax + 8], r14
and qword [rax + 0x10], 0
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xe8]
shl rax, 3
xor ebx, ebx
lea rcx, [rsp + 0x30]
xor esi, esi
test rax, rax
je 0x1400ffc73
mov qword [rsp + 0x90], rax
mov rbp, rsi
inc rsi
mov qword [rsp + 0x118], rsi
lea rax, str.0_
mov qword [rsp + 0x98], rax
mov edx, 1
mov qword [rsp + 0xa0], rdx
and qword [rsp + 0xb8], 0
lea rax, [rsp + 0x118]
mov qword [rsp + 0x120], rax
lea rax, [fcn.140032a40]
mov qword [rsp + 0x128], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rdx
mov r12, rcx
lea rdx, [rsp + 0x98]
call fcn.1400f7aa8
mov rdi, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov rcx, r12
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0xd0]
call fcn.140030350
lea rcx, [rsp + 0x98]
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0xc8]
call fcn.140030350
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + rbp*8]
mov qword [rsp + 0x130], rdi
mov qword [rsp + 0x138], r15
mov qword [rsp + 0x140], r13
and dword [rsp + 0x198], 0
movabs rcx, 0x8000000000000000
mov qword [rsp + 0x178], rcx
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x148]
mov qword [rdx + 0x10], rcx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdx], xmm0
mov rcx, qword [rsp + 0xa8]
mov qword [rdx + 0x28], rcx
movups xmm0, xmmword [rsp + 0x98]
movups xmmword [rdx + 0x18], xmm0
mov qword [rsp + 0x190], rax
cmp rbp, qword [rsp + 0x48]
jne 0x1400ffc3d
lea rcx, [rsp + 0x48]
call fcn.1400fcdd6
mov r14, qword [rsp + 0x50]
lea rcx, [r14 + rbx]
mov r8d, 0x70
lea rdx, [rsp + 0x130]
call sub.msvcrt.dll_memmove
mov qword [rsp + 0x58], rsi
add rbx, 0x70
mov rax, qword [rsp + 0x90]
add rax, 0xfffffffffffffff8
lea rcx, [rsp + 0x30]
jmp 0x1400ffaea
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x100], rax
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0xf0], xmm0
mov rcx, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0x60]
call fcn.1400af29d
mov rdi, qword [rsp + 0x110]
mov rcx, rdi
call fcn.140008e0f
mov rax, qword [rsp + 0x100]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [rsp + 0xf0]
movups xmmword [rdi], xmm0
mov rsi, qword [rsp + 0x88]
mov rcx, qword [rsi + 0x18]
mov rdx, qword [rsi + 0x20]
call fcn.1400c5fec
mov rax, qword [rsp + 0x80]
mov qword [rsi + 0x18], rax
mov rax, qword [rsp + 0x70]
mov qword [rsi + 0x20], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsi + 0x28], rax
mov rcx, qword [rsi + 0x30]
mov rdx, qword [rsi + 0x38]
call fcn.1400c5fec
mov rax, qword [rsp + 0x78]
mov qword [rsi + 0x30], rax
mov rax, qword [rsp + 0x68]
mov qword [rsi + 0x38], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsi + 0x40], rax
mov al, byte [rsp + 0x2f]
mov byte [rsi + 0x88], al
add rsp, 0x1d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 8
mov rdx, rdi
call fcn.14002f670
ud2
mov ecx, 4
mov edx, 0x50
call fcn.14002f670
jmp 0x1400ffdc9
mov rsi, rax
jmp 0x1400ffe69
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
call fcn.1400fd27d
mov rcx, rsi
call fcn.14011c5e0
call fcn.1400375d0
int3