Function at 0x140006540
Capabilities:
Get system information on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x208
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x170], xmm6
mov qword [rbp + 0x168], 0xfffffffffffffffe
mov qword [rbp + 0x78], rcx
xorps xmm6, xmm6
movaps xmmword [rbp - 0x30], xmm6
movaps xmmword [rbp - 0x40], xmm6
movaps xmmword [rbp - 0x50], xmm6
lea rcx, [rbp - 0x50]
call sub.KERNEL32.dll_GetSystemInfo
mov eax, 0x80000000
xor ecx, ecx
mov rbx, rbx
cpuid
xchg rbx, rbx
cmp eax, 0x80000003
jbe 0x140006659
mov r15d, eax
mov ecx, 0x50
mov edx, 4
call fcn.1400035f0
test rax, rax
je 0x140006e62
mov qword [rbp + 0x148], rax
mov qword [rbp + 0x150], 5
mov eax, 0x80000000
xor edi, edi
xor r12d, r12d
jmp 0x140006609
mov rax, qword [rbp + 0x148]
shl rdx, 4
mov dword [rax + rdx], esi
mov dword [rax + rdx + 4], r14d
mov dword [rax + rdx + 8], edi
mov dword [rax + rdx + 0xc], r13d
mov rdi, qword [rbp + 0x158]
add rdi, 1
mov eax, ebx
mov qword [rbp + 0x158], rdi
test r12b, r12b
jne 0x140006670
cmp eax, r15d
ja 0x140006670
setae r12b
mov ebx, eax
adc ebx, 0
xor ecx, ecx
mov r14, rbx
cpuid
xchg rbx, r14
mov esi, eax
mov edi, ecx
mov r13d, edx
mov rdx, qword [rbp + 0x158]
cmp rdx, qword [rbp + 0x150]
jne 0x1400065e0
lea rcx, [rbp + 0x148]
call fcn.14000ec30
mov rdx, qword [rbp + 0x158]
jmp 0x1400065e0
movups xmmword [rbp + 0x138], xmm6
mov qword [rbp + 0x130], 1
jmp 0x1400067dd
mov ecx, 0x30
mov edx, 1
call fcn.1400035f0
test rax, rax
je 0x140006e73
mov qword [rbp + 0x100], rax
movaps xmm0, xmmword [0x14004ae20]
movups xmmword [rbp + 0x108], xmm0
mov rbx, qword [rbp + 0x148]
shl rdi, 4
add rdi, rbx
mov eax, 2
mov r15d, 5
xor esi, esi
lea r14, [rbp + 0x100]
nop
test sil, 1
jne 0x1400066ec
lea rcx, [rax - 1]
cmp r15, rcx
jbe 0x140006738
sub r15, rax
mov rax, rdi
sub rax, rbx
shr rax, 4
cmp rax, rcx
jbe 0x140006730
shl rcx, 4
add rbx, rcx
add rbx, 0x10
test r15, r15
je 0x140006738
cmp rdi, rbx
je 0x140006738
mov edx, dword [rbx]
mov rcx, r14
call fcn.140006480
mov edx, dword [rbx + 4]
mov rcx, r14
call fcn.140006480
mov edx, dword [rbx + 8]
mov rcx, r14
call fcn.140006480
add r15, 0xffffffffffffffff
mov edx, dword [rbx + 0xc]
add rbx, 0x10
mov sil, 1
mov rcx, r14
call fcn.140006480
xor eax, eax
jmp 0x1400066c0
mov rbx, rdi
test r15, r15
jne 0x1400066f1
mov rdx, qword [rbp + 0x100]
mov r8, qword [rbp + 0x110]
test r8, r8
je 0x14000676d
xor ecx, ecx
nop dword [rax]
cmp byte [rdx + rcx], 0
je 0x140006761
add rcx, 1
cmp r8, rcx
jne 0x140006750
jmp 0x14000676d
cmp r8, rcx
jb 0x140006eae
mov r8, rcx
lea rcx, [rbp - 0x20]
call fcn.140041110
cmp qword [rbp - 0x20], 0
je 0x140006d80
xorps xmm0, xmm0
movups xmmword [rbp + 0x138], xmm0
mov qword [rbp + 0x130], 1
mov rdx, qword [rbp + 0x108]
test rdx, rdx
je 0x1400067b4
mov rcx, qword [rbp + 0x100]
mov r8d, 1
call fcn.140003600
mov rax, qword [rbp + 0x150]
test rax, rax
je 0x1400067dd
mov rcx, qword [rbp + 0x148]
mov edx, 0x10
mul rdx
mov r8d, 4
mov rdx, rax
call fcn.140003600
xor eax, eax
xor ecx, ecx
mov rbx, rbx
cpuid
xchg rbx, rbx
mov edi, edx
mov esi, ecx
mov ecx, 0x10
mov edx, 1
call fcn.1400035f0
test rax, rax
je 0x140006e33
mov qword [rbp + 0x100], rax
movaps xmm0, xmmword [0x14004ae30]
movups xmmword [rbp + 0x108], xmm0
lea rcx, [rbp + 0x100]
mov edx, ebx
call fcn.140006480
lea rcx, [rbp + 0x100]
mov edx, edi
call fcn.140006480
lea rcx, [rbp + 0x100]
mov edx, esi
call fcn.140006480
mov rdx, qword [rbp + 0x100]
mov r8, qword [rbp + 0x110]
test r8, r8
je 0x14000687d
xor ecx, ecx
nop dword [rax]
cmp byte [rdx + rcx], 0
je 0x140006871
add rcx, 1
cmp r8, rcx
jne 0x140006860
jmp 0x14000687d
cmp r8, rcx
jb 0x140006e9a
mov r8, rcx
lea rcx, [rbp - 0x20]
call fcn.140041110
cmp qword [rbp - 0x20], 0
je 0x1400068b7
movsx rax, word [rbp - 0x50]
cmp rax, 0xe
ja 0x1400068ef
lea rcx, reloc.OLEAUT32.dll_VariantCopy
mov rsi, qword [rcx + rax*8]
movsx rax, ax
lea rcx, [0x14004b1e8]
movsxd rbx, dword [rcx + rax*4]
add rbx, rcx
jmp 0x1400068fb
mov rbx, qword [rbp - 0x18]
mov rsi, qword [rbp - 0x10]
test rsi, rsi
je 0x140006db4
mov edx, 1
mov rcx, rsi
call fcn.1400035f0
mov rdi, rax
test rax, rax
jne 0x140006914
mov edx, 1
mov rcx, rsi
call fcn.140049940
jmp 0x140006ec0
lea rbx, [0x14004afd7]
mov esi, 7
mov edx, 1
mov rcx, rsi
call fcn.1400035f0
test rax, rax
je 0x140006e53
mov rdi, rax
mov rcx, rdi
mov rdx, rbx
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [rbp + 0x130]
movaps xmmword [rbp - 0x20], xmm0
mov rax, qword [rbp + 0x140]
mov qword [rbp - 0x10], rax
mov rdx, qword [rbp + 0x108]
test rdx, rdx
je 0x140006956
mov rcx, qword [rbp + 0x100]
mov r8d, 1
call fcn.140003600
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0xa8], rsi
mov qword [rbp + 0xb0], rsi
mov rax, qword [rbp - 0x10]
mov qword [rbp + 0x90], rax
movaps xmm0, xmmword [rbp - 0x20]
movaps xmmword [rbp + 0x80], xmm0
mov ebx, dword [rbp - 0x30]
test rbx, rbx
je 0x1400069bc
lea rax, [rbx*8]
lea rdi, [rax + rax*2]
mov edx, 4
mov rcx, rdi
call fcn.1400035f0
mov rsi, rax
test rax, rax
jne 0x1400069c1
mov edx, 4
mov rcx, rdi
call fcn.140049940
jmp 0x140006ec0
mov esi, 4
mov qword [rbp + 0x100], rsi
mov qword [rbp + 0x108], rbx
mov qword [rbp + 0x110], 0
lea eax, [rbx*8]
lea eax, [rax + rax*2]
mov byte [rbp + 0x167], 1
mov dword [rsp + 0x20], eax
mov ecx, 0xb
xor edx, edx
xor r8d, r8d
mov r9, rsi
call sub.POWRPROF.dll_CallNtPowerInformation
test eax, eax
je 0x140006a50
test ebx, ebx
je 0x140006a88
lea rdi, [rbx*8]
mov edx, 8
mov rcx, rdi
call fcn.140003620
test rax, rax
je 0x140006e84
mov qword [rbp + 0xe8], rax
mov qword [rbp + 0xf0], rbx
mov qword [rbp + 0xf8], rbx
lea rdx, [rdi + rdi*2]
mov r8d, 4
mov rcx, rsi
call fcn.140003600
jmp 0x140006aa1
mov qword [rbp + 0x110], rbx
lea rax, [rbx + rbx*2]
lea rax, [rsi + rax*8]
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rax
mov byte [rbp + 0x167], 0
lea rcx, [rbp + 0xe8]
lea rdx, [rbp - 0x20]
call fcn.140016390
jmp 0x140006aa1
mov qword [rbp + 0xe8], 8
mov qword [rbp + 0xf0], rbx
mov qword [rbp + 0xf8], rbx
mov ecx, dword [rbp - 0x30]
lea rdi, [rcx + 1]
mov rax, rdi
shl rax, 7
mov qword [rbp + 0x70], rcx
lea rsi, [rax + rcx*8]
add rsi, 8
mov edx, 8
mov rcx, rsi
call fcn.1400035f0
test rax, rax
je 0x140006e44
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdi
mov qword [rbp + 0xe0], 0
lea r15, [rbp + 0x28]
xor esi, esi
lea rbx, [rbp + 0x148]
jmp 0x140006b03
mov esi, r13d
cmp esi, dword [rbp + 0x70]
jae 0x140006cf4
lea r13d, [rsi + 1]
mov dword [rbp + 0xcc], r13d
lea rax, [rbp + 0xcc]
mov qword [rbp + 0x130], rax
lea rax, [0x140043740]
mov qword [rbp + 0x138], rax
lea rax, [0x14004b0f8]
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], 1
mov qword [rbp + 0x110], 0
lea rax, [rbp + 0x130]
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], 1
mov rcx, rbx
lea rdx, [rbp + 0x100]
call fcn.14003daa0
movups xmm0, xmmword [rbp + 0x148]
movaps xmmword [rbp + 0x130], xmm0
mov r12, qword [rbp + 0x158]
mov qword [rbp + 0x140], r12
mov r14, qword [rbp + 0x130]
mov rcx, rbx
lea rdx, [rbp + 0xa0]
call fcn.14003df40
mov byte [rbp + 0x166], 1
lea rcx, [rbp + 0x100]
lea rdx, [rbp + 0x80]
call fcn.14003df40
mov ecx, esi
mov rdx, qword [rbp + 0xf8]
cmp rdx, rcx
jbe 0x140006dfb
mov rax, qword [rbp + 0xe8]
mov rdi, qword [rax + rcx*8]
test r12, r12
je 0x140006c20
mov qword [rbp + 0xc0], rdx
mov qword [rbp + 0xb8], rcx
mov edx, 1
mov rcx, r12
call fcn.1400035f0
mov rsi, rax
test rax, rax
jne 0x140006c25
jmp 0x140006e21
mov esi, 1
mov rcx, rsi
mov rdx, r14
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], r12
mov rax, qword [rbp + 0x158]
mov qword [r15 + 0x10], rax
movups xmm0, xmmword [rbp + 0x148]
movups xmmword [r15], xmm0
movups xmm0, xmmword [rbp + 0x100]
movups xmmword [r15 + 0x18], xmm0
mov rax, qword [rbp + 0x110]
mov qword [r15 + 0x28], rax
mov dword [rbp + 0x60], 0
mov qword [rbp - 8], 0
mov qword [rbp + 0x58], rdi
mov rsi, qword [rbp + 0xe0]
cmp rsi, qword [rbp + 0xd8]
jne 0x140006ca5
lea rcx, [rbp + 0xd0]
mov rdx, rsi
call fcn.14000e940
mov rsi, qword [rbp + 0xe0]
mov rax, rsi
shl rax, 7
lea rcx, [rax + rsi*8]
add rcx, qword [rbp + 0xd0]
mov r8d, 0x88
lea rdx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memcpy
add rsi, 1
mov qword [rbp + 0xe0], rsi
mov rdx, qword [rbp + 0x138]
test rdx, rdx
je 0x140006b00
mov r8d, 1
mov rcx, r14
call fcn.140003600
jmp 0x140006b00
mov rax, qword [rbp + 0xe0]
mov rsi, qword [rbp + 0x78]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rbp + 0xd0]
movups xmmword [rsi], xmm0
mov rax, qword [rbp + 0xb0]
mov qword [rsi + 0x28], rax
movups xmm0, xmmword [rbp + 0xa0]
movups xmmword [rsi + 0x18], xmm0
mov rax, qword [rbp + 0x90]
mov qword [rsi + 0x40], rax
movaps xmm0, xmmword [rbp + 0x80]
movups xmmword [rsi + 0x30], xmm0
mov rax, qword [rbp + 0xf0]
test rax, rax
je 0x140006d62
mov rcx, qword [rbp + 0xe8]
mov edx, 8
mul rdx
mov r8d, 8
mov rdx, rax
call fcn.140003600
mov rax, rsi
movaps xmm6, xmmword [rbp + 0x170]
add rsp, 0x208
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rdi, qword [rbp - 0x18]
mov rsi, qword [rbp - 0x10]
test rsi, rsi
je 0x140006dbe
mov edx, 1
mov rcx, rsi
call fcn.1400035f0
mov rbx, rax
test rax, rax
jne 0x140006dc3
mov edx, 1
mov rcx, rsi
call fcn.140049940
jmp 0x140006ec0
mov edi, 1
jmp 0x140006914
mov ebx, 1
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0x130], rbx
mov qword [rbp + 0x138], rsi
mov qword [rbp + 0x140], rsi
mov rdx, qword [rbp + 0x108]
test rdx, rdx
jne 0x1400067a2
jmp 0x1400067b4
mov byte [rbp + 0x165], 1
lea r8, str.C:UsersEmran.cargo_registry_srcmirrors.ustc.edu.cn_61ef6e0cd06fb9b8_sysinfo_0.20.5_srcwindows_tools.rsCPU
mov qword [rbp + 0xb8], rcx
mov qword [rbp + 0xc0], rdx
call fcn.1400499b0
jmp 0x140006ec0
mov edx, 1
mov rcx, r12
call fcn.140049940
jmp 0x140006ec0
mov ecx, 0x10
mov edx, 1
call fcn.140049940
jmp 0x140006ec0
mov edx, 8
mov rcx, rsi
call fcn.140049940
jmp 0x140006ec0
mov edx, 1
mov rcx, rsi
call fcn.140049940
jmp 0x140006ec0
mov ecx, 0x50
mov edx, 4
call fcn.140049940
ud2
mov ecx, 0x30
mov edx, 1
call fcn.140049940
jmp 0x140006ec0
mov byte [rbp + 0x167], 1
mov edx, 8
mov rcx, rdi
call fcn.140049940
jmp 0x140006ec0
lea rax, str.C:UsersEmran.cargo_registry_srcmirrors.ustc.edu.cn_61ef6e0cd06fb9b8_sysinfo_0.20.5_srcwindowsprocessor.rsunknownIntel_Itanium_based_x86ARMARM_x64_Intel_or_AMD__x64MSILRISC_Alpha_x64Intel_Itanium_based_x64SHXPPCRISC_AlphaMIPSIntel_x86
mov rdx, r8
mov r8, rax
call fcn.140049bc0
jmp 0x140006ec0
lea rax, str.C:UsersEmran.cargo_registry_srcmirrors.ustc.edu.cn_61ef6e0cd06fb9b8_sysinfo_0.20.5_srcwindowsprocessor.rsunknownIntel_Itanium_based_x86ARMARM_x64_Intel_or_AMD__x64MSILRISC_Alpha_x64Intel_Itanium_based_x64SHXPPCRISC_AlphaMIPSIntel_x86
mov rdx, r8
mov r8, rax
call fcn.140049bc0
ud2