Function at 0x1400501b0
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, 0x138
cmp qword [rcx + 0x80], 0
jne 0x140050c04
mov r12d, r8d
mov rbx, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x120], xmm0
movaps xmmword [rsp + 0x110], xmm0
movaps xmmword [rsp + 0x100], xmm0
lea rcx, [rsp + 0x100]
call sub.KERNEL32.dll_GetSystemInfo
mov eax, 0x80000000
xor ecx, ecx
mov r8, rbx
cpuid
xchg rbx, r8
cmp eax, 0x80000004
mov byte [rsp + 0x27], r12b
mov qword [rsp + 0xa8], rbx
jb 0x1400503f8
mov esi, eax
movzx eax, byte [0x140085280]
mov rcx, qword [0x1400851f8]
test rcx, rcx
jne 0x140050254
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140050c9c
mov rcx, rax
mov qword [0x1400851f8], rax
xor edi, edi
mov r8d, 0x50
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140050c9c
mov r8, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 5
mov qword [rsp + 0x40], 0
mov ebp, 0x80000000
mov r13d, 0x80000000
nop word cs:[rax + rax]
cmp ebp, esi
adc r13d, 0
xor ecx, ecx
mov eax, ebp
mov rbx, rbx
cpuid
xchg rbx, rbx
mov r15d, ecx
mov r14d, edx
mov r12d, eax
cmp rdi, qword [rsp + 0x38]
jne 0x1400502d9
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.14004fdf0
mov r8, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
shl rdi, 4
mov dword [r8 + rdi], r12d
mov dword [r8 + rdi + 4], ebx
mov dword [r8 + rdi + 8], r15d
mov dword [r8 + rdi + 0xc], r14d
mov rdi, qword [rsp + 0x40]
inc rdi
mov qword [rsp + 0x40], rdi
cmp ebp, esi
jae 0x140050309
mov ebp, r13d
cmp r13d, esi
jbe 0x1400502a0
movzx eax, byte [0x140085280]
mov rcx, qword [0x1400851f8]
test rcx, rcx
jne 0x140050335
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140050cad
mov rcx, rax
mov qword [0x1400851f8], rax
mov r8d, 0x30
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140050cad
mov rsi, rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0x30
mov qword [rsp + 0x58], 0
cmp rdi, 3
jb 0x140050409
mov rbx, qword [rsp + 0x30]
shl rdi, 4
add rdi, rbx
mov edx, dword [rbx + 0x20]
lea rsi, [rsp + 0x48]
mov rcx, rsi
call fcn.140050f20
mov edx, dword [rbx + 0x24]
mov rcx, rsi
call fcn.140050f20
mov edx, dword [rbx + 0x28]
mov rcx, rsi
call fcn.140050f20
add rbx, 0x2c
xor r14d, r14d
movzx r12d, byte [rsp + 0x27]
nop
mov edx, dword [rbx + r14]
mov rcx, rsi
call fcn.140050f20
cmp r14, 0x20
je 0x140050413
lea r15, [rbx + r14]
add r15, 4
cmp r15, rdi
je 0x140050413
mov edx, dword [r15]
mov rcx, rsi
call fcn.140050f20
mov edx, dword [r15 + 4]
mov rcx, rsi
call fcn.140050f20
mov edx, dword [r15 + 8]
mov rcx, rsi
call fcn.140050f20
add r14, 0x10
jmp 0x1400503b0
mov edi, 1
xor eax, eax
mov qword [rsp + 0x28], rax
jmp 0x1400504a5
xor edx, edx
movzx r12d, byte [rsp + 0x27]
jmp 0x140050447
mov rsi, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140050445
xor r8d, r8d
nop word cs:[rax + rax]
cmp byte [rsi + r8], 0
je 0x140050c23
inc r8
cmp rdx, r8
jne 0x140050430
jmp 0x140050447
xor edx, edx
mov r8, rdx
lea rcx, [rsp + 0x60]
mov rdx, rsi
call fcn.14000c340
cmp qword [rsp + 0x60], 0
je 0x140050727
mov edi, 1
xor eax, eax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x50], 0
je 0x140050489
mov rcx, qword [0x1400851f8]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rsp + 0x38], 0
je 0x1400504a5
mov r8, qword [rsp + 0x30]
mov rcx, qword [0x1400851f8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
xor ecx, ecx
mov rbp, rbx
cpuid
xchg rbx, rbp
mov esi, ecx
mov ebx, edx
movzx eax, byte [0x140085280]
mov rcx, qword [0x1400851f8]
test rcx, rcx
jne 0x1400504e1
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140050c7c
mov rcx, rax
mov qword [0x1400851f8], rax
mov r8d, 0xc
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140050c7c
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0xc
mov qword [rsp + 0x58], 0
lea r14, [rsp + 0x48]
mov rcx, r14
mov edx, ebp
call fcn.140050f20
mov rcx, r14
mov edx, ebx
call fcn.140050f20
mov rcx, r14
mov edx, esi
call fcn.140050f20
mov rsi, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
test r8, r8
je 0x14005056c
xor ecx, ecx
nop word cs:[rax + rax]
cmp byte [rsi + rcx], 0
je 0x140050560
inc rcx
cmp r8, rcx
jne 0x140050550
jmp 0x14005056c
cmp rcx, r8
ja 0x140050cbe
mov r8, rcx
lea rcx, [rsp + 0x60]
mov rdx, rsi
call fcn.14000c340
cmp qword [rsp + 0x60], 0
je 0x1400505c7
movsx rax, word [rsp + 0x100]
cmp rax, 0xe
ja 0x140050624
lea rcx, reloc.OLEAUT32.dll_VariantCopy
mov r15, qword [rcx + rax*8]
movsx rax, ax
lea rcx, str.Intel_x86MIPSRISC_AlphaPPCSHXARMIntel_Itanium_based_x64RISC_Alpha_x64MSIL_Intel_or_AMD__x64Intel_Itanium_based_x86unknownARM_x64C:Userslakti.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.8_srcwindowscpu.rs
mov rbx, qword [rcx + rax*8]
movzx eax, byte [0x140085280]
mov rcx, qword [0x1400851f8]
test rcx, rcx
jne 0x14005065d
jmp 0x140050644
mov rbx, qword [rsp + 0x68]
mov r15, qword [rsp + 0x70]
test r15, r15
je 0x140050c18
js 0x140050c66
movzx eax, byte [0x140085280]
mov rcx, qword [0x1400851f8]
test rcx, rcx
jne 0x14005060c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140050c6d
mov rcx, rax
mov qword [0x1400851f8], rax
xor edx, edx
mov r8, r15
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rax, rax
jne 0x140050674
jmp 0x140050c6d
lea rbx, [0x14007bf5a]
mov r15d, 7
movzx eax, byte [0x140085280]
mov rcx, qword [0x1400851f8]
test rcx, rcx
jne 0x14005065d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140050c6d
mov rcx, rax
mov qword [0x1400851f8], rax
xor edx, edx
mov r8, r15
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140050c6d
mov r14, rax
mov rcx, r14
mov rdx, rbx
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
cmp qword [rsp + 0x50], 0
je 0x14005069c
mov rcx, qword [0x1400851f8]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [rsp + 0x120]
test r12b, r12b
je 0x1400506cd
lea rcx, [rsp + 0x90]
mov rdx, rsi
call fcn.140050ce0
mov r13, qword [rsp + 0x90]
mov r12, qword [rsp + 0xa0]
jmp 0x1400507bb
test esi, esi
je 0x14005079a
lea rbx, [rsi*8]
mov rcx, qword [0x1400851f8]
test rcx, rcx
jne 0x1400506fe
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140050718
mov rcx, rax
mov qword [0x1400851f8], rax
mov edx, 8
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r13, rax
test rax, rax
jne 0x1400507a0
mov ecx, 8
mov rdx, rbx
call fcn.140057590
ud2
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mov qword [rsp + 0x28], rcx
test rcx, rcx
je 0x140050c40
js 0x140050c66
movzx eax, byte [0x140085280]
mov rcx, qword [0x1400851f8]
test rcx, rcx
jne 0x140050770
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140050789
mov rcx, rax
mov qword [0x1400851f8], rax
xor edx, edx
mov r8, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
jne 0x140050c45
mov ecx, 1
mov rdx, qword [rsp + 0x28]
call fcn.140057590
ud2
mov r13d, 8
mov qword [rsp + 0x90], r13
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0xa0], rsi
mov r12, rsi
lea rbx, [rsi + 1]
imul rsi, rbx, 0x70
movzx eax, byte [0x140085280]
mov rcx, qword [0x1400851f8]
test rcx, rcx
jne 0x1400507ef
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140050c8d
mov rcx, rax
mov qword [0x1400851f8], rax
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140050c8d
mov rbp, rax
mov qword [rsp + 0xb8], r13
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], 0
test r12, r12
je 0x140050a60
mov rsi, r12
shl rsi, 3
mov r13d, 1
xor ebx, ebx
mov qword [rsp + 0xb0], r14
jmp 0x1400508d3
imul rax, rbx, 0x70
mov rcx, qword [rsp + 0x70]
mov qword [rbp + rax + 0x10], rcx
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp + rax], xmm0
mov qword [rbp + rax + 0x18], r12
mov qword [rbp + rax + 0x20], r15
mov qword [rbp + rax + 0x28], r15
mov qword [rbp + rax + 0x30], rsi
mov rcx, qword [rsp + 0x28]
mov qword [rbp + rax + 0x38], rcx
mov qword [rbp + rax + 0x40], rcx
mov qword [rbp + rax + 0x48], 0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbp + rax + 0x50], xmm0
mov qword [rbp + rax + 0x60], rdi
mov dword [rbp + rax + 0x68], 0
inc rbx
mov qword [rsp + 0x40], rbx
inc r13
mov rsi, qword [rsp + 0xc0]
add rsi, 0xfffffffffffffff8
mov rdi, r14
mov r14, qword [rsp + 0xb0]
je 0x140050a60
mov qword [rsp + 0xc8], r13
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xf0], rax
lea rax, [fcn.14000b1b0]
mov qword [rsp + 0xf8], rax
lea rax, str.CPU
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
mov qword [rsp + 0x80], 0
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 1
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x60]
call fcn.14000a9c0
mov r12d, 1
test r15, r15
je 0x140050994
js 0x140050c66
movzx eax, byte [0x140085280]
mov rax, qword [0x1400851f8]
test rax, rax
jne 0x14005097a
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140050c6d
mov qword [0x1400851f8], rax
mov rcx, rax
xor edx, edx
mov r8, r15
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r12, rax
test rax, rax
je 0x140050c6d
mov rcx, r12
mov rdx, r14
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
cmp qword [rsp + 0x28], 0
mov qword [rsp + 0xc0], rsi
je 0x140050a00
js 0x140050c66
movzx eax, byte [0x140085280]
mov rax, qword [0x1400851f8]
test rax, rax
jne 0x1400509e1
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140050789
mov qword [0x1400851f8], rax
mov rcx, rax
xor edx, edx
mov r8, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
jne 0x140050a05
jmp 0x140050789
mov esi, 1
mov rcx, rsi
mov r14, rdi
mov rdx, rdi
mov r8, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0xb8]
mov rdi, qword [rax + r13*8 - 8]
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x60], xmm0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x70], rax
cmp rbx, qword [rsp + 0x38]
jne 0x140050850
lea rcx, [rsp + 0x30]
mov rdx, rbx
call fcn.14004ff80
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
jmp 0x140050850
mov rbp, r14
mov r13, rdi
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x98], 0
je 0x140050aa6
mov r8, qword [rsp + 0x90]
mov rcx, qword [0x1400851f8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xe0], rax
mov r12, qword [rsp + 0xa8]
mov rsi, qword [r12 + 0x80]
test rsi, rsi
movzx edi, byte [rsp + 0x27]
je 0x140050b6b
mov rbx, qword [r12 + 0x70]
add rbx, 0x50
mov r14, qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140050b09
add rbx, 0x70
dec rsi
je 0x140050b6b
cmp qword [rbx - 0x48], 0
je 0x140050b20
mov r8, qword [rbx - 0x50]
mov rcx, qword [0x1400851f8]
xor edx, edx
call r14
mov r8, qword [rbx - 8]
test r8, r8
je 0x140050b3b
cmp qword [rbx], 0
je 0x140050b3b
mov rcx, qword [0x1400851f8]
xor edx, edx
call r14
cmp qword [rbx - 0x30], 0
je 0x140050b52
mov r8, qword [rbx - 0x38]
mov rcx, qword [0x1400851f8]
xor edx, edx
call r14
cmp qword [rbx - 0x18], 0
je 0x140050b00
mov r8, qword [rbx - 0x20]
mov rcx, qword [0x1400851f8]
xor edx, edx
call r14
jmp 0x140050b00
lea rsi, [r12 + 0x70]
cmp qword [r12 + 0x78], 0
je 0x140050b8a
mov r8, qword [rsi]
mov rcx, qword [0x1400851f8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rsp + 0xe0]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0xd0]
movups xmmword [rsi], xmm0
cmp qword [r12 + 0x20], 0
je 0x140050bbd
mov r8, qword [r12 + 0x18]
mov rcx, qword [0x1400851f8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [r12 + 0x18], rbp
mov qword [r12 + 0x20], r15
mov qword [r12 + 0x28], r15
cmp qword [r12 + 0x38], 0
je 0x140050be8
mov r8, qword [r12 + 0x30]
mov rcx, qword [0x1400851f8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [r12 + 0x30], r13
mov rax, qword [rsp + 0x28]
mov qword [r12 + 0x38], rax
mov qword [r12 + 0x40], rax
mov byte [r12 + 0x88], dil
add rsp, 0x138
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14d, 1
jmp 0x140050674
cmp r8, rdx
jbe 0x14005044a
lea rax, [0x14007bfd0]
mov rcx, r8
mov r8, rax
call fcn.140057820
ud2
mov edi, 1
mov rcx, rdi
mov rdx, rbx
mov r8, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memcpy
cmp qword [rsp + 0x50], 0
jne 0x140050477
jmp 0x140050489
call fcn.14000a710
ud2
mov ecx, 1
mov rdx, r15
call fcn.140057590
ud2
mov ecx, 1
mov edx, 0xc
call fcn.140057590
ud2
mov ecx, 8
mov rdx, rsi
call fcn.140057590
ud2
mov ecx, 4
mov edx, 0x50
call fcn.140057590
ud2
mov ecx, 1
mov edx, 0x30
call fcn.140057590
ud2
lea rax, [0x14007bfe8]
mov rdx, r8
mov r8, rax
call fcn.140057820
ud2