Function at 0x1401021c0
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, 0x198
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x110], 0xfffffffffffffffe
cmp qword [rcx + 0x80], 0
jne 0x1401029c0
mov r13d, edx
mov qword [rbp + 0xb0], rcx
xorps xmm0, xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm0
movaps xmmword [rbp - 0x60], xmm0
lea rcx, [rbp - 0x60]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
movzx r14d, word [rbp - 0x60]
mov eax, 0x80000000
xor ecx, ecx
mov r8, rbx
cpuid
xchg rbx, r8
mov dword [rbp + 0x100], eax
cmp eax, 0x80000004
mov byte [rbp + 0x10f], r13b
jb 0x140102307
mov word [rbp + 0xf8], r14w
movzx eax, byte [0x14016031c]
xor r14d, r14d
mov edx, 0x50
xor ecx, ecx
call fcn.1400fd810
test rax, rax
je 0x140102aef
mov r8, rax
mov qword [rbp + 0xc8], 5
mov qword [rbp + 0xd0], rax
mov eax, 0x80000000
xor r13d, r13d
jmp 0x1401022bd
mov r8, qword [rbp + 0xd0]
mov r14, qword [rbp + 0xd8]
mov rax, r14
shl rax, 4
mov dword [r8 + rax], r12d
mov dword [r8 + rax + 4], esi
mov dword [r8 + rax + 8], ebx
mov dword [r8 + rax + 0xc], r15d
inc r14
mov eax, edi
mov qword [rbp + 0xd8], r14
test r13b, 1
jne 0x140102321
cmp eax, dword [rbp + 0x100]
ja 0x140102321
setae r13b
mov edi, eax
adc edi, 0
xor ecx, ecx
mov rsi, rbx
cpuid
xchg rbx, rsi
mov ebx, ecx
mov r15d, edx
mov r12d, eax
cmp r14, qword [rbp + 0xc8]
jne 0x14010229e
lea rcx, [rbp + 0xc8]
mov rdx, r14
call fcn.1401099a0
jmp 0x140102290
mov eax, 1
mov qword [rbp + 0xc0], rax
xor eax, eax
mov qword [rbp + 0x100], rax
jmp 0x1401024b0
movzx eax, byte [0x14016031c]
mov edx, 0x30
xor ecx, ecx
call fcn.1400fd810
test rax, rax
je 0x140102afe
mov qword [rbp + 0xe0], 0x30
mov qword [rbp + 0xe8], rax
mov qword [rbp + 0xf0], 0
mov rdi, qword [rbp + 0xd0]
shl r14, 4
add r14, rdi
mov ebx, 5
mov eax, 2
xor r12d, r12d
lea rsi, [rbp + 0xe0]
mov r15, rdi
movzx r13d, byte [rbp + 0x10f]
nop word [rax + rax]
test r12b, 1
je 0x1401023b0
test rbx, rbx
je 0x14010240e
cmp r15, r14
je 0x14010240e
dec rbx
jmp 0x1401023d4
cmp rbx, rax
jbe 0x14010240e
mov rcx, r14
sub rcx, r15
shr rcx, 4
cmp rcx, rax
jbe 0x14010240e
mov rcx, rax
not rcx
add rbx, rcx
shl rax, 4
add r15, rax
mov edx, dword [r15]
mov rcx, rsi
call fcn.140109a50
mov edx, dword [r15 + 4]
mov rcx, rsi
call fcn.140109a50
mov edx, dword [r15 + 8]
mov rcx, rsi
call fcn.140109a50
mov edx, dword [r15 + 0xc]
add r15, 0x10
mov r12b, 1
mov rcx, rsi
call fcn.140109a50
xor eax, eax
jmp 0x140102390
mov rsi, qword [rbp + 0xe8]
mov r8, qword [rbp + 0xf0]
test r8, r8
movzx r14d, word [rbp + 0xf8]
je 0x14010244c
xor ecx, ecx
nop dword [rax + rax]
cmp byte [rsi + rcx], 0
je 0x140102440
inc rcx
cmp r8, rcx
jne 0x140102430
jmp 0x14010244c
cmp rcx, r8
ja 0x140102b2a
mov r8, rcx
lea rcx, [rbp + 0x10]
mov rdx, rsi
call fcn.140040190
cmp qword [rbp + 0x10], 0
je 0x1401029d4
mov eax, 1
mov qword [rbp + 0xc0], rax
xor eax, eax
mov qword [rbp + 0x100], rax
cmp qword [rbp + 0xe0], 0
je 0x140102494
mov rcx, qword [0x1401602a0]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rbp + 0xc8], 0
je 0x1401024b0
mov rcx, qword [0x1401602a0]
xor edx, edx
mov r8, rdi
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
movzx eax, byte [0x14016031c]
mov edx, 0xc
xor ecx, ecx
call fcn.1400fd810
test rax, rax
je 0x140102abd
mov qword [rbp + 0xe0], 0xc
mov qword [rbp + 0xe8], rax
mov qword [rbp + 0xf0], 0
lea rcx, [rbp + 0xe0]
mov edx, ebx
call fcn.140109a50
lea rcx, [rbp + 0xe0]
mov edx, edi
call fcn.140109a50
lea rcx, [rbp + 0xe0]
mov edx, esi
call fcn.140109a50
mov rsi, qword [rbp + 0xe8]
mov r8, qword [rbp + 0xf0]
test r8, r8
je 0x14010255c
xor ecx, ecx
nop dword [rax + rax]
cmp byte [rsi + rcx], 0
je 0x140102550
inc rcx
cmp r8, rcx
jne 0x140102540
jmp 0x14010255c
cmp rcx, r8
ja 0x140102b0f
mov r8, rcx
lea rcx, [rbp + 0x10]
mov rdx, rsi
call fcn.140040190
cmp qword [rbp + 0x10], 0
je 0x140102592
cmp r14w, 0xe
ja 0x1401025e4
movzx eax, r14w
lea rcx, [0x14013beb0]
mov rbx, qword [rcx + rax*8]
lea rcx, str.Intel_x86MIPSRISC_AlphaPPCSHXARMIntel_Itanium_based_x64RISC_Alpha_x64MSIL_Intel_or_AMD__x64Intel_Itanium_based_x86unknownARM_x64C:Usersdajla.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.30.7_srcwindowscpu.rs
mov rdi, qword [rcx + rax*8]
jmp 0x1401025f0
mov rdi, qword [rbp + 0x18]
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0xf8], rax
test rax, rax
je 0x140102a14
js 0x140102b23
movzx eax, byte [0x14016031c]
xor ecx, ecx
mov rdx, qword [rbp + 0xf8]
call fcn.1400fd810
test rax, rax
jne 0x140102a19
mov ecx, 1
mov rdx, qword [rbp + 0xf8]
call fcn.140118500
jmp 0x140102b56
lea rdi, [0x14013a36a]
mov ebx, 7
movzx eax, byte [0x14016031c]
xor ecx, ecx
mov rdx, rbx
call fcn.1400fd810
test rax, rax
je 0x140102ae0
mov qword [rbp + 0xb8], rax
mov rcx, rax
mov rdx, rdi
mov qword [rbp + 0xf8], rbx
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
cmp qword [rbp + 0xe0], 0
je 0x140102642
mov rcx, qword [0x1401602a0]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [rbp - 0x40]
test r13b, r13b
je 0x14010265b
lea rcx, [rbp + 0x88]
mov rdx, rsi
call fcn.140109b10
jmp 0x1401026a5
test esi, esi
je 0x14010268b
lea rdi, [rsi*8]
mov ecx, 8
mov rdx, rdi
call fcn.1400fd810
test rax, rax
jne 0x140102690
mov ecx, 8
mov rdx, rdi
call fcn.140118500
jmp 0x140102b56
mov eax, 8
mov qword [rbp + 0x88], rsi
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rsi
lea rdi, [rsi + 1]
imul rsi, rdi, 0x70
movzx eax, byte [0x14016031c]
xor ecx, ecx
mov rdx, rsi
call fcn.1400fd810
test rax, rax
je 0x140102ad1
mov r15, rax
mov rax, qword [rbp + 0xb0]
add rax, 0x70
mov qword [rbp], rax
mov qword [rbp + 0xc8], rdi
mov qword [rbp + 0xd0], r15
mov qword [rbp + 0xd8], 0
mov r12, qword [rbp + 0x90]
mov rax, qword [rbp + 0x98]
lea rax, [r12 + rax*8]
mov qword [rbp - 8], rax
xor r13d, r13d
mov qword [rbp + 8], r12
xor ebx, ebx
jmp 0x140102785
mov r15, qword [rbp + 0xd0]
mov r13, qword [rbp + 0xd8]
add r12, 8
imul rax, r13, 0x70
movups xmm0, xmmword [rbp + 0x70]
movups xmmword [r15 + rax + 0x60], xmm0
movups xmm0, xmmword [rbp + 0x60]
movups xmmword [r15 + rax + 0x50], xmm0
movups xmm0, xmmword [rbp + 0x50]
movups xmmword [r15 + rax + 0x40], xmm0
movups xmm0, xmmword [rbp + 0x10]
movups xmm1, xmmword [rbp + 0x20]
movups xmm2, xmmword [rbp + 0x30]
movups xmm3, xmmword [rbp + 0x40]
movups xmmword [r15 + rax + 0x30], xmm3
movups xmmword [r15 + rax + 0x20], xmm2
movups xmmword [r15 + rax + 0x10], xmm1
movups xmmword [r15 + rax], xmm0
inc r13
mov qword [rbp + 0xd8], r13
cmp r12, qword [rbp - 8]
je 0x14010291c
inc rbx
mov qword [rbp - 0x18], rbx
lea rax, [rbp - 0x18]
mov qword [rbp - 0x28], rax
lea rax, [fcn.14003ee70]
mov qword [rbp - 0x20], rax
lea rax, str.CPU
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], 1
mov qword [rbp + 0x30], 0
lea rax, [rbp - 0x28]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], 1
lea rcx, [rbp + 0xe0]
lea rdx, [rbp + 0x10]
call fcn.14003aca0
mov rax, qword [rbp + 0xe0]
mov qword [rbp + 0xa0], rax
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xf0]
mov qword [rbp - 0x10], rax
mov edi, 1
mov r14d, 1
mov rsi, qword [rbp + 0xf8]
test rsi, rsi
je 0x140102845
js 0x140102aa1
movzx eax, byte [0x14016031c]
xor ecx, ecx
mov rdx, rsi
call fcn.1400fd810
test rax, rax
je 0x140102aab
mov r14, rax
mov rcx, r14
mov rdx, qword [rbp + 0xb8]
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
cmp qword [rbp + 0x100], 0
je 0x140102888
js 0x140102a73
movzx eax, byte [0x14016031c]
xor ecx, ecx
mov rdx, qword [rbp + 0x100]
call fcn.1400fd810
test rax, rax
je 0x140102a84
mov rdi, rax
mov rcx, rdi
mov rdx, qword [rbp + 0xc0]
mov rsi, qword [rbp + 0x100]
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [r12]
mov rcx, qword [rbp + 0xf8]
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x38], rcx
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x48], rdi
mov qword [rbp + 0x50], rsi
mov rcx, qword [rbp + 0xa0]
mov qword [rbp + 0x10], rcx
mov rcx, qword [rbp + 0xa8]
mov qword [rbp + 0x18], rcx
mov rcx, qword [rbp - 0x10]
mov qword [rbp + 0x20], rcx
movabs rcx, 0x8000000000000000
mov qword [rbp + 0x58], rcx
mov qword [rbp + 0x70], rax
mov dword [rbp + 0x78], 0
cmp r13, qword [rbp + 0xc8]
jne 0x14010272e
lea rcx, [rbp + 0xc8]
mov rdx, r13
call fcn.140109d90
jmp 0x140102720
mov rax, qword [rbp + 0xd8]
mov qword [rbp + 0x20], rax
movups xmm0, xmmword [rbp + 0xc8]
movaps xmmword [rbp + 0x10], xmm0
cmp qword [rbp + 0x88], 0
je 0x14010294f
mov rcx, qword [0x1401602a0]
xor edx, edx
mov r8, qword [rbp + 8]
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rbp + 0x100], 0
movzx ebx, byte [rbp + 0x10f]
mov rsi, qword [rbp + 0xf8]
je 0x14010297d
mov rcx, qword [0x1401602a0]
xor edx, edx
mov r8, qword [rbp + 0xc0]
call qword [sym.imp.kernel32.dll_HeapFree]
test rsi, rsi
je 0x140102998
mov rcx, qword [0x1401602a0]
xor edx, edx
mov r8, qword [rbp + 0xb8]
call qword [sym.imp.kernel32.dll_HeapFree]
mov rsi, qword [rbp]
mov rcx, rsi
call fcn.1401020e0
mov rax, qword [rbp + 0x20]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rbp + 0x10]
movups xmmword [rsi], xmm0
mov rax, qword [rbp + 0xb0]
mov byte [rax + 0x88], bl
add rsp, 0x198
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rbx, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
mov qword [rbp + 0x100], rcx
test rcx, rcx
je 0x140102a45
js 0x140102b3e
movzx eax, byte [0x14016031c]
xor ecx, ecx
mov rdx, qword [rbp + 0x100]
call fcn.1400fd810
test rax, rax
je 0x140102b45
mov rcx, rax
jmp 0x140102a4a
mov eax, 1
mov qword [rbp + 0xb8], rax
mov rcx, rax
mov rdx, rdi
mov r8, qword [rbp + 0xf8]
call sub.VCRUNTIME140.dll_memcpy
cmp qword [rbp + 0xe0], 0
jne 0x140102630
jmp 0x140102642
mov ecx, 1
mov qword [rbp + 0xc0], rcx
mov rdx, rbx
mov r8, qword [rbp + 0x100]
call sub.VCRUNTIME140.dll_memcpy
cmp qword [rbp + 0xe0], 0
jne 0x140102482
jmp 0x140102494
mov qword [rbp + 0x80], r14
call fcn.14003a690
jmp 0x140102b56
mov qword [rbp + 0x80], r14
mov ecx, 1
mov rdx, qword [rbp + 0x100]
call fcn.140118500
jmp 0x140102b56
call fcn.14003a690
jmp 0x140102b56
mov ecx, 1
mov rdx, rsi
call fcn.140118500
jmp 0x140102b56
mov ecx, 1
mov edx, 0xc
call fcn.140118500
jmp 0x140102b56
mov ecx, 8
mov rdx, rsi
call fcn.140118500
jmp 0x140102b56
mov ecx, 1
mov rdx, rbx
call fcn.140118500
jmp 0x140102b56
mov ecx, 4
mov edx, 0x50
call fcn.140118500
mov ecx, 1
mov edx, 0x30
call fcn.140118500
jmp 0x140102b56
lea rax, [0x14013a3f8]
mov rdx, r8
mov r8, rax
call fcn.140118960
jmp 0x140102b56
call fcn.14003a690
jmp 0x140102b56
lea rax, [0x14013a3e0]
mov rdx, r8
mov r8, rax
call fcn.140118960
jmp 0x140102b56
call fcn.14003a690
jmp 0x140102b56
mov ecx, 1
mov rdx, qword [rbp + 0x100]
call fcn.140118500
ud2