Function at 0x140067c3c
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, 0x168
cmp qword [rcx + 0x80], 0
jne 0x14006833c
mov ebp, edx
mov r15, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x130]
movaps xmmword [rcx + 0x20], xmm0
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, 0x80000000
xor ecx, ecx
mov r8, rbx
cpuid
xchg rbx, r8
cmp eax, 0x80000004
mov byte [rsp + 0x2f], bpl
mov qword [rsp + 0x90], r15
jb 0x140067e1a
mov dword [rsp + 0x30], eax
mov al, byte [0x1400cdcc0]
xor r12d, r12d
mov edx, 0x50
xor ecx, ecx
call fcn.14005b1d0
test rax, rax
je 0x14006836c
mov r8, rax
lea rax, [rsp + 0x40]
mov qword [rax], 5
mov qword [rax + 8], r8
mov qword [rax + 0x10], 0
mov ebx, 0x80000000
mov r13d, reloc.SHLWAPI.dll_SHCreateMemStream
mov edi, 0x80000000
mov r9d, dword [rsp + 0x30]
cmp ebx, r9d
adc edi, 0
xor ecx, ecx
mov eax, ebx
mov rsi, rbx
cpuid
xchg rbx, rsi
mov ebp, ecx
mov r14d, edx
mov r15d, eax
cmp r12, qword [rsp + 0x40]
jne 0x140067d2c
lea rcx, [rsp + 0x40]
call fcn.140064551
mov r9d, dword [rsp + 0x30]
mov r8, qword [rsp + 0x48]
inc r12
mov dword [r8 + r13 - 0xc], r15d
mov dword [r8 + r13 - 8], esi
mov dword [r8 + r13 - 4], ebp
mov dword [r8 + r13], r14d
mov qword [rsp + 0x50], r12
cmp ebx, r9d
jae 0x140067d57
add r13, 0x10
mov ebx, edi
cmp edi, r9d
jbe 0x140067cf7
mov al, byte [0x1400cdcc0]
mov edx, 0x30
xor ecx, ecx
call fcn.14005b1d0
test rax, rax
je 0x14006837b
lea rsi, [rsp + 0xa0]
mov qword [rsi], 0x30
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], 0
mov rbx, qword [rsp + 0x48]
shl r12, 4
add r12, rbx
mov eax, 2
mov edi, 5
xor ecx, ecx
mov bpl, byte [rsp + 0x2f]
test cl, 1
je 0x140067dbe
test rdi, rdi
je 0x140067e31
cmp rbx, r12
je 0x140067e31
dec rdi
jmp 0x140067de2
cmp rdi, rax
jbe 0x140067e31
mov rcx, r12
sub rcx, rbx
shr rcx, 4
cmp rcx, rax
jbe 0x140067e31
mov rcx, rax
not rcx
add rdi, rcx
shl rax, 4
add rbx, rax
lea r14, [rbx + 0x10]
mov edx, dword [rbx]
mov rcx, rsi
call fcn.1400683ce
mov edx, dword [rbx + 4]
mov rcx, rsi
call fcn.1400683ce
mov edx, dword [rbx + 8]
mov rcx, rsi
call fcn.1400683ce
mov edx, dword [rbx + 0xc]
mov rcx, rsi
call fcn.1400683ce
mov cl, 1
mov rbx, r14
xor eax, eax
jmp 0x140067daa
mov r13d, 1
xor r12d, r12d
mov qword [rsp + 0x38], 0
jmp 0x140067f24
mov rsi, qword [rsp + 0xa8]
mov r8, qword [rsp + 0xb0]
test r8, r8
je 0x140067e64
xor ecx, ecx
cmp byte [rsi + rcx], 0
je 0x140067e58
inc rcx
cmp r8, rcx
jne 0x140067e48
jmp 0x140067e64
cmp r8, rcx
jb 0x1400683ae
mov r8, rcx
lea rdi, [rsp + 0xe8]
mov rcx, rdi
mov rdx, rsi
call fcn.140022060
test byte [rdi], 1
je 0x140067e90
mov r13d, 1
xor r12d, r12d
mov qword [rsp + 0x38], 0
jmp 0x140067eeb
mov r12, qword [rsp + 0xf8]
test r12, r12
js 0x1400683aa
mov rdi, qword [rsp + 0xf0]
je 0x140067ece
mov al, byte [0x1400cdcc0]
xor ecx, ecx
mov rdx, r12
call fcn.14005b1d0
test rax, rax
je 0x1400683c0
mov r13, rax
mov qword [rsp + 0x38], r12
jmp 0x140067edd
mov r13d, 1
mov qword [rsp + 0x38], 0
mov rcx, r13
mov rdx, rdi
mov r8, r12
call fcn.140082480
cmp qword [rsp + 0xa0], 0
je 0x140067f08
mov rcx, qword [0x1400cdc50]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rsp + 0x40], 0
je 0x140067f24
mov r8, qword [rsp + 0x48]
mov rcx, qword [0x1400cdc50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
xor ecx, ecx
mov rbx, rbx
cpuid
xchg rbx, rbx
mov esi, ecx
mov edi, edx
mov al, byte [0x1400cdcc0]
mov edx, reloc.SHLWAPI.dll_SHCreateMemStream
xor ecx, ecx
call fcn.14005b1d0
test rax, rax
je 0x140068350
lea r14, [rsp + 0xa0]
mov qword [r14], reloc.SHLWAPI.dll_SHCreateMemStream
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], 0
mov rcx, r14
mov edx, ebx
call fcn.1400683ce
mov rcx, r14
mov edx, edi
call fcn.1400683ce
mov rcx, r14
mov edx, esi
call fcn.1400683ce
mov rsi, qword [r14 + 8]
mov r8, qword [r14 + 0x10]
test r8, r8
je 0x140067fb3
xor ecx, ecx
cmp byte [rsi + rcx], 0
je 0x140067fa7
inc rcx
cmp r8, rcx
jne 0x140067f97
jmp 0x140067fb3
cmp r8, rcx
jb 0x1400683a1
mov r8, rcx
lea rdi, [rsp + 0xe8]
mov rcx, rdi
mov rdx, rsi
call fcn.140022060
test byte [rdi], 1
je 0x140067ff4
movzx eax, word [rsp + 0x130]
cmp rax, 0xe
ja 0x140068034
lea rcx, reloc.OLEAUT32.dll_VariantCopy
mov rbx, qword [rcx + rax*8]
movzx eax, ax
lea rcx, [0x1400ba290]
mov rdi, qword [rcx + rax*8]
jmp 0x140068040
mov r14, qword [rsp + 0xf8]
test r14, r14
js 0x14006838a
mov rdi, qword [rsp + 0xf0]
je 0x140068071
mov al, byte [0x1400cdcc0]
xor ecx, ecx
mov rdx, r14
call fcn.14005b1d0
mov rcx, rax
mov rbx, r14
test rax, rax
jne 0x140068078
mov ecx, 1
jmp 0x14006838c
lea rdi, [0x1400b965b]
mov ebx, 7
mov al, byte [0x1400cdcc0]
xor ecx, ecx
mov rdx, rbx
call fcn.14005b1d0
test rax, rax
je 0x140068394
mov qword [rsp + 0x58], rax
mov rcx, rax
mov rdx, rdi
mov r8, rbx
call fcn.140082480
mov r14, rbx
jmp 0x140068088
mov ecx, 1
xor ebx, ebx
mov qword [rsp + 0x58], rcx
mov rdx, rdi
mov r8, r14
call fcn.140082480
cmp qword [rsp + 0xa0], 0
je 0x1400680a5
mov rcx, qword [0x1400cdc50]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [rsp + 0x150]
test bpl, bpl
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x68], r13
lea rcx, [rsp + 0x40]
mov rdx, rsi
je 0x1400680ca
call fcn.14006847b
jmp 0x1400680cf
call fcn.140064148
mov qword [rsp + 0x88], rbx
inc rsi
imul rdi, rsi, 0x70
mov al, byte [0x1400cdcc0]
xor ecx, ecx
mov rdx, rdi
call fcn.14005b1d0
test rax, rax
je 0x14006835f
mov r13, rax
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 0
mov rbx, qword [rsp + 0x50]
test rbx, rbx
mov qword [rsp + 0x60], r14
je 0x14006825c
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x98], rax
shl rbx, 3
mov r15d, 0xd
xor ebp, ebp
lea r12, [rsp + 0xe8]
mov rsi, rbp
inc rbp
mov qword [rsp + 0xd0], rbp
lea rax, [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
lea rax, [fcn.140020c20]
mov qword [rsp + 0xe0], rax
lea rax, str.CPU
mov qword [rsp + 0xa0], rax
mov eax, 1
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xc0], 0
lea rcx, [rsp + 0xd8]
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xb8], rax
mov rcx, r12
lea rdx, [rsp + 0xa0]
call fcn.14001f780
lea rcx, [rsp + 0x100]
mov rdx, qword [rsp + 0x58]
mov r8, r14
call fcn.140020a80
lea rcx, [rsp + 0x118]
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x30]
call fcn.140020a80
mov rax, qword [rsp + 0x98]
mov r14, qword [rax + rsi*8]
cmp rsi, qword [rsp + 0x70]
jne 0x14006820f
lea rcx, [rsp + 0x70]
call fcn.14006441b
mov r13, qword [rsp + 0x78]
lea rax, [r15*8 - 0x68]
add rax, r13
mov ecx, 9
mov rdi, rax
mov rsi, r12
rep movsq qword [rdi], qword [rsi]
movabs rcx, 0x8000000000000000
mov qword [rax + 0x48], rcx
mov qword [rax + 0x60], r14
mov dword [rax + 0x68], 0
mov qword [rsp + 0x80], rbp
add r15, 0xe
add rbx, 0xfffffffffffffff8
mov r14, qword [rsp + 0x60]
jne 0x140068144
cmp qword [rsp + 0x40], 0
je 0x140068278
mov r8, qword [rsp + 0x48]
mov rcx, qword [0x1400cdc50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r14, qword [rsp + 0x90]
lea rdi, [r14 + 0x70]
mov rsi, qword [r14 + 0x78]
mov rdx, qword [r14 + 0x80]
mov rcx, rsi
call fcn.14006458f
cmp qword [r14 + 0x70], 0
mov bl, byte [rsp + 0x2f]
mov r15, qword [rsp + 0x30]
mov r12, qword [rsp + 0x68]
je 0x1400682be
mov rcx, qword [0x1400cdc50]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rsp + 0x80]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rdi], xmm0
cmp qword [r14 + 0x18], 0
je 0x1400682ec
mov r8, qword [r14 + 0x20]
mov rcx, qword [0x1400cdc50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rsp + 0x88]
mov qword [r14 + 0x18], rax
mov rax, qword [rsp + 0x58]
mov qword [r14 + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [r14 + 0x28], rax
cmp qword [r14 + 0x30], 0
je 0x140068324
mov r8, qword [r14 + 0x38]
mov rcx, qword [0x1400cdc50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rsp + 0x38]
mov qword [r14 + 0x30], rax
mov qword [r14 + 0x38], r12
mov qword [r14 + 0x40], r15
mov byte [r14 + 0x88], bl
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 1
mov edx, reloc.SHLWAPI.dll_SHCreateMemStream
call fcn.140083a40
mov ecx, 8
mov rdx, rdi
call fcn.140083a40
mov ecx, 4
mov edx, 0x50
call fcn.140083a40
mov ecx, 1
mov edx, 0x30
call fcn.140083a40
xor ecx, ecx
mov rdx, r14
call fcn.140083a40
mov ecx, 1
mov rdx, rbx
call fcn.140083a40
lea rax, str.C:UsersMain.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.11_srcwindowscpu.rsIntel_x86MIPSRISC_AlphaPPCSHXARMIntel_Itanium_based_x64RISC_Alpha_x64MSIL_Intel_or_AMD__x64Intel_Itanium_based_x86unknownARM_x64
jmp 0x1400683b5
xor ecx, ecx
jmp 0x1400683c5
lea rax, str.C:UsersMain.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.11_srcwindowscpu.rsIntel_x86MIPSRISC_AlphaPPCSHXARMIntel_Itanium_based_x64RISC_Alpha_x64MSIL_Intel_or_AMD__x64Intel_Itanium_based_x86unknownARM_x64
mov rdx, r8
mov r8, rax
call fcn.140083c30
mov ecx, 1
mov rdx, r12
call fcn.140083a40
int3