Function at 0x140100615
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 0x140100cb5
mov r12, rcx
mov byte [rsp + 0x27], dl
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
xor ecx, ecx
mov eax, 0x80000000
mov r8, rbx
cpuid
xchg rbx, r8
cmp eax, 0x80000003
mov qword [rsp + 0x98], r12
jbe 0x14010071f
mov esi, eax
mov ecx, 4
mov edx, 0x50
call fcn.1400f8165
test rax, rax
je 0x140100cd8
mov r8, rax
lea rax, [rsp + 0x30]
mov qword [rax], r8
mov qword [rax + 8], 5
mov eax, 0x80000000
xor edi, edi
xor r12d, r12d
mov qword [rsp + 0x40], rdi
test r12b, 1
jne 0x140100734
cmp eax, esi
ja 0x140100734
setae r12b
mov r13d, eax
adc r13d, 0
xor ecx, ecx
mov rbx, rbx
cpuid
xchg rbx, rbx
mov r14d, ecx
mov ebp, edx
mov r15d, eax
cmp rdi, qword [rsp + 0x38]
jne 0x1401006fb
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.1400fd95d
mov r8, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
shl rdi, 4
mov dword [r8 + rdi], r15d
mov dword [r8 + rdi + 4], ebx
mov dword [r8 + rdi + 8], r14d
mov dword [r8 + rdi + 0xc], ebp
mov rdi, qword [rsp + 0x40]
inc rdi
mov eax, r13d
jmp 0x1401006b1
mov eax, 1
mov qword [rsp + 0x28], rax
xor r13d, r13d
xor r15d, r15d
jmp 0x1401008a1
mov ecx, 0x30
call fcn.140072fab
lea rsi, [rsp + 0x58]
mov qword [rsi], rax
mov qword [rsi + 8], rdx
and qword [rsi + 0x10], 0
mov r14, qword [rsp + 0x30]
shl rdi, 4
add rdi, r14
mov eax, 2
mov ebx, 5
xor r12d, r12d
mov r15, r14
test r12b, 1
je 0x140100788
test rbx, rbx
mov r12, qword [rsp + 0x98]
je 0x1401007f1
cmp r15, rdi
je 0x1401007f1
dec rbx
jmp 0x1401007b4
cmp rbx, rax
mov r12, qword [rsp + 0x98]
jbe 0x1401007f1
mov rcx, rdi
sub rcx, r15
shr rcx, 4
cmp rcx, rax
jbe 0x1401007f1
mov rcx, rax
not rcx
add rbx, rcx
shl rax, 4
add r15, rax
mov edx, dword [r15]
mov rcx, rsi
call fcn.140100e10
mov edx, dword [r15 + 4]
mov rcx, rsi
call fcn.140100e10
mov edx, dword [r15 + 8]
mov rcx, rsi
call fcn.140100e10
mov edx, dword [r15 + 0xc]
add r15, 0x10
mov r12b, 1
mov rcx, rsi
call fcn.140100e10
xor eax, eax
jmp 0x14010076b
mov rdi, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
xor r8d, r8d
cmp rdx, r8
je 0x14010080f
cmp byte [rdi + r8], 0
je 0x140100812
inc r8
jmp 0x1401007fe
mov r8, rdx
lea r9, str._home_wyene_.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.140100e55
mov r8, rdx
lea rsi, [rsp + 0xf0]
mov rcx, rsi
mov rdx, rax
call fcn.140035600
cmp qword [rsi], 0
je 0x14010084f
mov eax, 1
mov qword [rsp + 0x28], rax
xor r13d, r13d
xor r15d, r15d
jmp 0x140100887
mov rsi, qword [rsp + 0xf8]
mov r13, qword [rsp + 0x100]
mov rcx, r13
call fcn.140072fab
mov r15, rdx
mov qword [rsp + 0x28], rax
mov rcx, rax
mov rdx, rsi
mov r8, r13
call sub.msvcrt.dll_memcpy
mov rdi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x60]
mov rcx, rdi
call fcn.1400f7fd9
mov rdx, qword [rsp + 0x38]
mov rcx, r14
call fcn.1400fde3d
xor ecx, ecx
xor eax, eax
mov rbx, rbx
cpuid
xchg rbx, rbx
mov edi, edx
mov esi, ecx
mov ecx, 0xc
call fcn.140072fab
lea rcx, [rsp + 0x58]
mov qword [rcx], rax
mov qword [rcx + 8], rdx
and qword [rcx + 0x10], 0
mov edx, ebx
call fcn.140100e10
lea rcx, [rsp + 0x58]
mov edx, edi
call fcn.140100e10
lea rcx, [rsp + 0x58]
mov edx, esi
call fcn.140100e10
lea rbx, [r12 + 0x70]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
xor r8d, r8d
cmp rdx, r8
je 0x14010090e
cmp byte [rcx + r8], 0
je 0x140100911
inc r8
jmp 0x1401008fd
mov r8, rdx
lea r9, str._home_wyene_.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.140100e55
mov r8, rdx
lea rsi, [rsp + 0xf0]
mov rcx, rsi
mov rdx, rax
call fcn.140035600
cmp qword [rsi], 0
je 0x140100962
movzx eax, word [rsp + 0x170]
cmp rax, 0xe
ja 0x14010097c
lea rcx, [0x140277f50]
mov r14, qword [rcx + rax*8]
lea rcx, [0x140277fc8]
movsxd rsi, dword [rcx + rax*4]
add rsi, rcx
jmp 0x140100989
mov rsi, qword [rsp + 0xf8]
mov r14, qword [rsp + 0x100]
mov rcx, r14
call fcn.140072fab
jmp 0x140100991
lea rsi, [0x140277a79]
mov r14d, 7
mov rcx, r14
call fcn.140072fab
mov rdi, rdx
mov qword [rsp + 0x48], rax
mov rcx, rax
mov rdx, rsi
mov r8, r14
call sub.msvcrt.dll_memcpy
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
call fcn.1400f7fd9
mov esi, dword [rsp + 0x190]
cmp byte [rsp + 0x27], 0
mov qword [rsp + 0x90], r15
mov qword [rsp + 0xa0], r13
mov qword [rsp + 0x88], rdi
je 0x1401009ee
lea rcx, [rsp + 0xb0]
mov rdx, rsi
call fcn.140100e76
jmp 0x140100a10
mov rcx, rsi
mov dl, 1
call fcn.1400fd1fc
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rdx
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xa8], r14
mov qword [rsp + 0xe0], rbx
inc rsi
imul rdi, rsi, 0x70
mov ecx, 8
mov rdx, rdi
call fcn.1400f8165
test rax, rax
je 0x140100cc9
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 + 0x50], rax
mov rsi, qword [rsp + 0xc0]
shl rsi, 3
xor edi, edi
lea rdx, [rsp + 0x30]
mov ebp, 1
test rsi, rsi
je 0x140100bee
mov r12, rbp
mov qword [rsp + 0xe8], rbp
lea rax, str.CPU
mov qword [rsp + 0x58], rax
mov eax, 1
mov qword [rsp + 0x60], rax
and qword [rsp + 0x78], 0
lea rcx, [rsp + 0xe8]
mov qword [rsp + 0x160], rcx
lea rcx, [fcn.140032fa0]
mov qword [rsp + 0x168], rcx
lea rcx, [rsp + 0x160]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rax
mov rcx, rdx
mov rbp, rdx
lea rdx, [rsp + 0x58]
call fcn.14000b878
mov r14, qword [rsp + 0x30]
mov r13, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rcx, rbp
mov rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0xa8]
call fcn.140030a70
lea rcx, [rsp + 0x58]
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0xa0]
call fcn.140030a70
mov rbp, r12
mov rax, qword [rsp + 0x50]
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 + 0x40]
lea rdx, [rsp + 0x108]
mov qword [rdx + 0x10], rcx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdx], xmm0
mov rcx, qword [rsp + 0x68]
mov qword [rdx + 0x28], rcx
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rdx + 0x18], xmm0
mov qword [rsp + 0x150], rax
cmp rdi, qword [rsp + 0xd0]
jne 0x140100bb8
lea rcx, [rsp + 0xc8]
mov rdx, rdi
call fcn.1400fda0d
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 + 0x30]
jmp 0x140100a79
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 + 0x50]
call fcn.1400fd262
mov rdi, qword [rsp + 0xe0]
mov rcx, rdi
call fcn.140101040
mov rax, qword [rsp + 0x100]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [rsp + 0xf0]
movups xmmword [rdi], xmm0
mov rsi, qword [rsp + 0x98]
mov rcx, qword [rsi + 0x18]
mov rdx, qword [rsi + 0x20]
call fcn.1400f7fd9
mov rax, qword [rsp + 0x48]
mov qword [rsi + 0x18], rax
mov rax, qword [rsp + 0x88]
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.1400f7fd9
mov rax, qword [rsp + 0x28]
mov qword [rsi + 0x30], rax
mov rax, qword [rsp + 0x90]
mov qword [rsi + 0x38], rax
mov rax, qword [rsp + 0xa0]
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.14002fda0
ud2
mov ecx, 4
mov edx, 0x50
call fcn.14002fda0
ud2