Function at 0x140109dd2
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, 0x1a8
cmp qword [rcx + 0x80], 0
jne 0x14010a468
mov ebp, edx
mov r14, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x170]
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 + 0x30], eax
cmp eax, 0x80000003
mov byte [rsp + 0x27], bpl
mov qword [rsp + 0xa0], r14
jbe 0x140109ede
mov ecx, 4
mov edx, 0x50
call fcn.140034152
test rax, rax
je 0x14010a48b
mov r12, rax
lea rax, [rsp + 0x38]
mov qword [rax], r12
mov qword [rax + 8], 5
mov bl, 1
mov ebp, 0x80000000
xor edi, edi
mov qword [rsp + 0x48], rdi
test bl, 1
je 0x140109ef7
cmp ebp, dword [rsp + 0x30]
ja 0x140109ef7
setb bl
mov eax, ebp
xor ecx, ecx
mov rsi, rbx
cpuid
xchg rbx, rsi
mov r15d, ecx
mov r14d, edx
mov r13d, eax
cmp rdi, qword [rsp + 0x40]
jne 0x140109eb8
lea rcx, [rsp + 0x38]
mov rdx, rdi
call fcn.140107172
mov r12, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
movzx eax, bl
add ebp, eax
shl rdi, 4
mov dword [r12 + rdi], r13d
mov dword [r12 + rdi + 4], esi
mov dword [r12 + rdi + 8], r15d
mov dword [r12 + rdi + 0xc], r14d
mov rdi, qword [rsp + 0x48]
inc rdi
jmp 0x140109e72
mov eax, 1
mov qword [rsp + 0x28], rax
xor eax, eax
mov qword [rsp + 0x50], rax
xor r15d, r15d
jmp 0x14010a062
mov ecx, 0x30
call fcn.140077634
lea rsi, [rsp + 0x60]
mov qword [rsi], rax
mov qword [rsi + 8], rdx
and qword [rsi + 0x10], 0
shl rdi, 4
add rdi, r12
mov eax, 2
mov ebx, 5
xor r15d, r15d
mov r14, r12
test r15b, 1
je 0x140109f3e
test rbx, rbx
je 0x140109f9c
cmp r14, rdi
je 0x140109f9c
dec rbx
jmp 0x140109f62
cmp rbx, rax
jbe 0x140109f9c
mov rcx, rdi
sub rcx, r14
shr rcx, 4
cmp rcx, rax
jbe 0x140109f9c
mov rcx, rax
not rcx
add rbx, rcx
shl rax, 4
add r14, rax
mov edx, dword [r14]
mov rcx, rsi
call fcn.14010a5d4
mov edx, dword [r14 + 4]
mov rcx, rsi
call fcn.14010a5d4
mov edx, dword [r14 + 8]
mov rcx, rsi
call fcn.14010a5d4
mov edx, dword [r14 + 0xc]
add r14, 0x10
mov r15b, 1
mov rcx, rsi
call fcn.14010a5d4
xor eax, eax
jmp 0x140109f29
mov rdi, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
xor r8d, r8d
cmp rdx, r8
je 0x140109fba
cmp byte [rdi + r8], 0
je 0x140109fbd
inc r8
jmp 0x140109fa9
mov r8, rdx
lea r9, str._Users_no_.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, rdi
call fcn.14010a619
mov r8, rdx
lea rsi, [rsp + 0xf0]
mov rcx, rsi
mov rdx, rax
call fcn.140037ef0
cmp qword [rsi], 0
je 0x140109ffe
mov eax, 1
mov qword [rsp + 0x28], rax
xor eax, eax
mov qword [rsp + 0x50], rax
xor r15d, r15d
jmp 0x14010a03b
mov rsi, qword [rsp + 0xf8]
mov rbx, qword [rsp + 0x100]
mov rcx, rbx
call fcn.140077634
mov r15, rdx
mov qword [rsp + 0x28], rax
mov rcx, rax
mov rdx, rsi
mov qword [rsp + 0x50], rbx
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov rdi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x68]
mov rcx, rdi
call fcn.1400cb90d
mov rdx, qword [rsp + 0x40]
mov rcx, r12
call fcn.14010770a
mov bpl, byte [rsp + 0x27]
mov r14, qword [rsp + 0xa0]
xor eax, eax
xor ecx, ecx
mov rbx, rbx
cpuid
xchg rbx, rbx
mov edi, edx
mov esi, ecx
mov ecx, 0xc
call fcn.140077634
lea rcx, [rsp + 0x60]
mov qword [rcx], rax
mov qword [rcx + 8], rdx
and qword [rcx + 0x10], 0
mov edx, ebx
call fcn.14010a5d4
lea rcx, [rsp + 0x60]
mov edx, edi
call fcn.14010a5d4
lea rcx, [rsp + 0x60]
mov edx, esi
call fcn.14010a5d4
lea rbx, [r14 + 0x70]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
xor r8d, r8d
cmp rdx, r8
je 0x14010a0ce
cmp byte [rcx + r8], 0
je 0x14010a0d1
inc r8
jmp 0x14010a0bd
mov r8, rdx
lea r9, str._Users_no_.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
call fcn.14010a619
mov r8, rdx
lea rsi, [rsp + 0xf0]
mov rcx, rsi
mov rdx, rax
call fcn.140037ef0
cmp qword [rsi], 0
je 0x14010a122
movzx eax, word [rsp + 0x170]
cmp rax, 0xe
ja 0x14010a13c
lea rcx, [0x14027e068]
mov r12, qword [rcx + rax*8]
lea rcx, [0x14027e0e0]
movsxd rsi, dword [rcx + rax*4]
add rsi, rcx
jmp 0x14010a149
mov rsi, qword [rsp + 0xf8]
mov r12, qword [rsp + 0x100]
mov rcx, r12
call fcn.140077634
jmp 0x14010a151
lea rsi, [0x14027db9f]
mov r12d, 7
mov rcx, r12
call fcn.140077634
mov rdi, rdx
mov qword [rsp + 0x30], rax
mov rcx, rax
mov rdx, rsi
mov r8, r12
call sub.msvcrt.dll_memcpy
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
call fcn.1400cb90d
mov esi, dword [rsp + 0x190]
test bpl, bpl
mov qword [rsp + 0x98], r15
mov qword [rsp + 0x90], rdi
je 0x14010a1a4
lea rcx, [rsp + 0xb0]
mov rdx, rsi
call fcn.14010a63a
jmp 0x14010a1c6
mov rcx, rsi
mov dl, 1
call fcn.140106b63
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rdx
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0xe0], rbx
inc rsi
imul rdi, rsi, 0x70
mov ecx, 8
mov rdx, rdi
call fcn.140034152
test rax, rax
je 0x14010a47c
mov r15, rax
lea rax, [rsp + 0xc8]
mov qword [rax], r15
mov qword [rax + 8], rsi
and qword [rax + 0x10], 0
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x58], rax
mov rsi, qword [rsp + 0xc0]
shl rsi, 3
xor edi, edi
lea rdx, [rsp + 0x38]
mov ebp, 1
test rsi, rsi
je 0x14010a3a4
mov r12, rbp
mov qword [rsp + 0xe8], rbp
lea rax, str.CPU
mov qword [rsp + 0x60], rax
mov eax, 1
mov qword [rsp + 0x68], rax
and qword [rsp + 0x80], 0
lea rcx, [rsp + 0xe8]
mov qword [rsp + 0x160], rcx
lea rcx, [fcn.140035680]
mov qword [rsp + 0x168], rcx
lea rcx, [rsp + 0x160]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
mov rcx, rdx
mov rbp, rdx
lea rdx, [rsp + 0x60]
call fcn.1401037dd
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rcx, rbp
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0xa8]
call fcn.140032e10
lea rcx, [rsp + 0x60]
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x50]
call fcn.140032e10
mov rbp, r12
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + r12*8 - 8]
mov qword [rsp + 0xf0], r14
mov qword [rsp + 0xf8], r13
mov qword [rsp + 0x100], rbx
and dword [rsp + 0x158], 0
and qword [rsp + 0x138], 0
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x108]
mov qword [rdx + 0x10], rcx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rdx], xmm0
mov rcx, qword [rsp + 0x70]
mov qword [rdx + 0x28], rcx
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx + 0x18], xmm0
mov qword [rsp + 0x150], rax
cmp rdi, qword [rsp + 0xd0]
jne 0x14010a36e
lea rcx, [rsp + 0xc8]
mov rdx, rdi
call fcn.1401072f0
mov r15, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0xd8]
imul rcx, rdi, 0x70
add rcx, r15
mov r8d, 0x70
lea rdx, [rsp + 0xf0]
call sub.msvcrt.dll_memmove
inc rdi
mov qword [rsp + 0xd8], rdi
inc rbp
add rsi, 0xfffffffffffffff8
lea rdx, [rsp + 0x38]
jmp 0x14010a22f
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x100], rax
movups xmm0, xmmword [rsp + 0xc8]
movaps xmmword [rsp + 0xf0], xmm0
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x58]
call fcn.140112501
mov rdi, qword [rsp + 0xe0]
mov rcx, rdi
call fcn.1400092c8
mov rax, qword [rsp + 0x100]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [rsp + 0xf0]
movups xmmword [rdi], xmm0
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsi + 0x18]
mov rdx, qword [rsi + 0x20]
call fcn.1400cb90d
mov rax, qword [rsp + 0x30]
mov qword [rsi + 0x18], rax
mov rax, qword [rsp + 0x90]
mov qword [rsi + 0x20], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsi + 0x28], rax
mov rcx, qword [rsi + 0x30]
mov rdx, qword [rsi + 0x38]
call fcn.1400cb90d
mov rax, qword [rsp + 0x28]
mov qword [rsi + 0x30], rax
mov rax, qword [rsp + 0x98]
mov qword [rsi + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x40], rax
mov al, byte [rsp + 0x27]
mov byte [rsi + 0x88], al
add rsp, 0x1a8
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.1400320f0
ud2
mov ecx, 4
mov edx, 0x50
call fcn.1400320f0
ud2