Function at 0x140075a6d
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, 0x198
cmp qword [rcx + 0x80], 0
jne 0x1400760f6
mov r15d, edx
mov rsi, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x160]
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 + 0x27], r15b
mov qword [rsp + 0x68], rsi
jb 0x140075b8f
mov dword [rsp + 0x28], eax
mov ecx, 4
mov edx, 0x50
call fcn.140070735
test rax, rax
je 0x140076114
mov rdi, rax
lea rax, [rsp + 0x30]
mov qword [rax], rdi
mov qword [rax + 8], 5
mov bpl, 1
mov r15d, 0x80000000
xor ebx, ebx
mov r8d, dword [rsp + 0x28]
mov qword [rsp + 0x40], rbx
test bpl, 1
je 0x140075bac
cmp r15d, r8d
ja 0x140075bac
setb bpl
mov eax, r15d
xor ecx, ecx
mov rsi, rbx
cpuid
xchg rbx, rsi
mov r13d, ecx
mov r12d, edx
mov r14d, eax
cmp rbx, qword [rsp + 0x38]
jne 0x140075b68
lea rcx, [rsp + 0x30]
mov rdx, rbx
call fcn.1400744b6
mov r8d, dword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
movzx eax, bpl
add r15d, eax
shl rbx, 4
mov dword [rdi + rbx], r14d
mov dword [rdi + rbx + 4], esi
mov dword [rdi + rbx + 8], r13d
mov dword [rdi + rbx + 0xc], r12d
mov rbx, qword [rsp + 0x40]
inc rbx
jmp 0x140075b13
mov eax, 1
mov qword [rsp + 0x28], rax
xor eax, eax
mov qword [rsp + 0x48], rax
xor eax, eax
mov qword [rsp + 0x50], rax
jmp 0x140075d2e
mov ecx, 0x30
call fcn.140043351
lea r14, [rsp + 0xb8]
mov qword [r14], rax
mov qword [r14 + 8], rdx
and qword [r14 + 0x10], 0
shl rbx, 4
add rbx, rdi
mov eax, 2
mov r15d, 5
xor ecx, ecx
test cl, 1
je 0x140075bf2
test r15, r15
je 0x140075c4e
cmp rdi, rbx
je 0x140075c4e
dec r15
jmp 0x140075c16
cmp r15, rax
jbe 0x140075c4e
mov rcx, rbx
sub rcx, rdi
shr rcx, 4
cmp rcx, rax
jbe 0x140075c4e
mov rcx, rax
not rcx
add r15, rcx
shl rax, 4
add rdi, rax
lea rsi, [rdi + 0x10]
mov edx, dword [rdi]
mov rcx, r14
call fcn.140076125
mov edx, dword [rdi + 4]
mov rcx, r14
call fcn.140076125
mov edx, dword [rdi + 8]
mov rcx, r14
call fcn.140076125
mov edx, dword [rdi + 0xc]
mov rcx, r14
call fcn.140076125
mov cl, 1
mov rdi, rsi
xor eax, eax
jmp 0x140075bde
mov rdi, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0xc8]
xor r8d, r8d
mov r15b, byte [rsp + 0x27]
cmp rdx, r8
je 0x140075c77
cmp byte [rdi + r8], 0
je 0x140075c7a
inc r8
jmp 0x140075c66
mov r8, rdx
lea r9, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.30.5_srcwindowscpu.rsIntel_x86MIPSRISC_AlphaPPCSHXARMIntel_Itanium_based_x64RISC_Alpha_x64MSIL_Intel_or_AMD__x64Intel_Itanium_based_x86unknownARM_x64
mov rcx, rdi
call fcn.14007616a
mov r8, rdx
lea rbx, [rsp + 0x100]
mov rcx, rbx
mov rdx, rax
call fcn.14003b9d0
cmp qword [rbx], 0
je 0x140075cbf
mov eax, 1
mov qword [rsp + 0x28], rax
xor eax, eax
mov qword [rsp + 0x48], rax
xor eax, eax
mov qword [rsp + 0x50], rax
jmp 0x140075cfc
mov rdi, qword [rsp + 0x108]
mov rsi, qword [rsp + 0x110]
mov rcx, rsi
call fcn.140043351
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x28], rax
mov rcx, rax
mov rdx, rdi
mov qword [rsp + 0x50], rsi
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rdi, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0xc0]
mov rcx, rdi
call fcn.1400423aa
mov r8, qword [rsp + 0x38]
test r8, r8
je 0x140075d29
shl r8, 4
mov rcx, qword [rsp + 0x30]
mov edx, 4
call fcn.140004542
mov rsi, qword [rsp + 0x68]
lea rax, [rsi + 0x70]
mov qword [rsp + 0x90], rax
xor ecx, ecx
xor eax, eax
mov rdi, rbx
cpuid
xchg rbx, rdi
mov ebx, edx
mov ebp, ecx
mov ecx, 0xc
call fcn.140043351
lea r14, [rsp + 0xb8]
mov qword [r14], rax
mov qword [r14 + 8], rdx
and qword [r14 + 0x10], 0
mov rcx, r14
mov edx, edi
call fcn.140076125
mov rcx, r14
mov edx, ebx
call fcn.140076125
mov rcx, r14
mov edx, ebp
call fcn.140076125
mov rcx, qword [r14]
mov rdx, qword [r14 + 0x10]
xor r8d, r8d
cmp rdx, r8
je 0x140075da1
cmp byte [rcx + r8], 0
je 0x140075da4
inc r8
jmp 0x140075d90
mov r8, rdx
lea r9, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.30.5_srcwindowscpu.rsIntel_x86MIPSRISC_AlphaPPCSHXARMIntel_Itanium_based_x64RISC_Alpha_x64MSIL_Intel_or_AMD__x64Intel_Itanium_based_x86unknownARM_x64
call fcn.14007616a
mov r8, rdx
lea rsi, [rsp + 0x100]
mov rcx, rsi
mov rdx, rax
call fcn.14003b9d0
cmp qword [rsi], 0
je 0x140075df7
movsx rax, word [rsp + 0x160]
cmp rax, 0xe
ja 0x140075e09
lea rcx, [0x140093a38]
mov rbx, qword [rcx + rax*8]
movsx rax, ax
lea rcx, [0x140093ab0]
mov rsi, qword [rcx + rax*8]
jmp 0x140075e15
mov rsi, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x110]
jmp 0x140075e15
lea rsi, [0x140092b36]
mov ebx, 7
mov rcx, rbx
call fcn.140043351
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x58], rax
mov rcx, rax
mov rdx, rsi
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0xc0]
call fcn.1400423aa
mov esi, dword [rsp + 0x180]
test r15b, r15b
je 0x140075e77
lea rdi, [rsp + 0x98]
mov rcx, rdi
mov rdx, rsi
call fcn.14007618b
mov rax, qword [rdi]
mov qword [rsp + 0x70], rax
mov r12, qword [rdi + 0x10]
jmp 0x140075ea1
mov rcx, rsi
mov dl, 1
call fcn.14007420d
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rdx
mov qword [rsp + 0xa8], rsi
mov r12, rsi
inc rsi
imul rdi, rsi, 0x70
mov ecx, 8
mov rdx, rdi
call fcn.140070735
test rax, rax
je 0x14007610a
mov r14, rax
lea rax, [rsp + 0x78]
mov qword [rax], r14
mov qword [rax + 8], rsi
and qword [rax + 0x10], 0
shl r12, 3
xor ebp, ebp
mov r15d, 1
test r12, r12
je 0x140076059
mov qword [rsp + 0xb0], r15
lea rax, str.x_t_
mov qword [rsp + 0xb8], rax
mov eax, 1
mov qword [rsp + 0xc0], rax
and qword [rsp + 0xd8], 0
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0x30], rcx
lea rcx, [fcn.14003a840]
mov qword [rsp + 0x38], rcx
lea rsi, [rsp + 0x30]
mov qword [rsp + 0xc8], rsi
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0x148]
lea rdi, [rsp + 0xb8]
mov rdx, rdi
call fcn.140070591
mov rcx, rsi
mov rdx, qword [rsp + 0x58]
mov r13, rbx
mov r8, rbx
call fcn.1400113d0
mov rcx, rdi
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x50]
call fcn.1400113d0
mov rax, qword [rsp + 0x70]
mov rbx, qword [rax + r15*8 - 8]
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x110], rax
movups xmm0, xmmword [rsp + 0x148]
movaps xmmword [rsp + 0x100], xmm0
mov rax, qword [rsp + 0x40]
lea rcx, [rsp + 0x118]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rcx], xmm0
mov rax, qword [rsp + 0xc8]
mov qword [rcx + 0x28], rax
movups xmm0, xmmword [rsp + 0xb8]
movups xmmword [rcx + 0x18], xmm0
mov ecx, 9
lea rsi, [rsp + 0x100]
rep movsq qword [rdi], qword [rsi]
cmp rbp, qword [rsp + 0x80]
jne 0x14007600e
lea rcx, [rsp + 0x78]
mov rdx, rbp
call fcn.140074566
mov r14, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x88]
imul rax, rbp, 0x70
lea rdi, [r14 + rax]
mov ecx, 9
lea rsi, [rsp + 0xb8]
rep movsq qword [rdi], qword [rsi]
and qword [r14 + rax + 0x48], 0
mov qword [r14 + rax + 0x60], rbx
and dword [r14 + rax + 0x68], 0
mov rbp, qword [rsp + 0x88]
inc rbp
mov qword [rsp + 0x88], rbp
inc r15
add r12, 0xfffffffffffffff8
mov rbx, r13
jmp 0x140075ede
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x110], rax
movups xmm0, xmmword [rsp + 0x78]
movaps xmmword [rsp + 0x100], xmm0
mov rcx, qword [rsp + 0x98]
mov rdx, qword [rsp + 0xa0]
call fcn.14001e76b
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x48]
call fcn.1400423aa
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
call fcn.1400423aa
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rdi + 0x70]
mov rdx, qword [rdi + 0x80]
mov rcx, rsi
call fcn.140074619
mov rdx, qword [rdi + 0x78]
mov rcx, rsi
call fcn.14007466f
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x90]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [rsp + 0x100]
movups xmmword [rcx], xmm0
mov al, byte [rsp + 0x27]
mov byte [rdi + 0x88], al
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 8
mov rdx, rdi
jmp 0x14007611e
mov ecx, 4
mov edx, 0x50
call fcn.140078a00
ud2