Function at 0x14001f500
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x1400c8718]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, rcx
mov qword [rcx + 0xd0], 1
lea rcx, [0x1400a0928]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r12, rax
mov qword [rbp + 0x17], rax
lea rdx, str.GetLogicalProcessorInformationEx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
xor r15d, r15d
test rax, rax
je 0x14001f8cc
mov dword [rbp - 0x39], r15d
mov qword [rbp - 0x31], r15
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], r15
lea r8, [rbp - 0x39]
xor edx, edx
lea ecx, [rdx + 3]
call rsi
test eax, eax
jne 0x14001f608
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14001f608
mov ecx, dword [rbp - 0x39]
mov r9, qword [rbp - 0x29]
mov rbx, r9
mov rdx, qword [rbp - 0x31]
sub rbx, rdx
cmp rcx, rbx
jae 0x14001f5bd
lea rax, [rcx + rdx]
mov qword [rbp - 0x29], rax
jmp 0x14001f5f9
jbe 0x14001f5f9
mov rax, qword [rbp - 0x21]
sub rax, rdx
cmp rcx, rax
jbe 0x14001f5dd
lea r8, [rbp - 0x35]
mov rdx, rcx
lea rcx, [rbp - 0x31]
call fcn.14001ee80
jmp 0x14001f5f5
sub rcx, rbx
lea rbx, [r9 + rcx]
mov r8, rcx
xor edx, edx
mov rcx, r9
call fcn.14006daf0
mov qword [rbp - 0x29], rbx
mov rdx, qword [rbp - 0x31]
lea r8, [rbp - 0x39]
mov ecx, 3
call rsi
test eax, eax
je 0x14001f592
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, qword [rbp - 0x31]
cmp eax, 0x7a
jne 0x14001f893
mov qword [r14 + 0xd0], r15
mov ecx, r15d
mov dword [rbp - 0x39], ecx
mov rbx, qword [rbp - 0x29]
sub rbx, rdi
je 0x14001f657
mov rdx, r15
nop dword [rax]
nop dword [rax + rax]
inc rdx
mov qword [r14 + 0xd0], rdx
add ecx, dword [rdi + 4]
mov dword [rbp - 0x39], ecx
mov eax, ecx
cmp rax, rbx
jb 0x14001f640
lea r13, [r14 + 0xe0]
cmp qword [r14 + 0xd8], 0
je 0x14001f673
cmp qword [r13], 0
jne 0x14001f822
mov qword [r14 + 0xd8], r15
mov qword [r13], r15
mov ecx, r15d
movzx eax, word [rdi + 0x1e]
cmp r15w, ax
jae 0x14001f6ba
lea rbx, [rdi + 0x20]
mov r8d, eax
mov rdx, qword [rbx]
test rdx, rdx
je 0x14001f6b0
nop word [rax + rax]
test dl, 1
lea eax, [rcx + 1]
cmove eax, ecx
mov ecx, eax
shr rdx, 1
jne 0x14001f6a0
add rbx, 0x10
sub r8, 1
jne 0x14001f692
mov eax, ecx
mov qword [r13], rax
mov dword [rbp - 0x39], r15d
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
lea r8, [rbp - 0x39]
xor edx, edx
xor ecx, ecx
call rsi
test eax, eax
jne 0x14001f753
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14001f753
mov ecx, dword [rbp - 0x39]
mov r9, qword [rbp - 0x11]
mov rbx, r9
mov rdx, qword [rbp - 0x19]
sub rbx, rdx
cmp rcx, rbx
jae 0x14001f70b
lea rax, [rcx + rdx]
mov qword [rbp - 0x11], rax
jmp 0x14001f747
jbe 0x14001f747
mov rax, qword [rbp - 9]
sub rax, rdx
cmp rcx, rax
jbe 0x14001f72b
lea r8, [rbp - 0x35]
mov rdx, rcx
lea rcx, [rbp - 0x19]
call fcn.14001ee80
jmp 0x14001f743
sub rcx, rbx
lea rbx, [r9 + rcx]
mov r8, rcx
xor edx, edx
mov rcx, r9
call fcn.14006daf0
mov qword [rbp - 0x11], rbx
mov rdx, qword [rbp - 0x19]
lea r8, [rbp - 0x39]
xor ecx, ecx
call rsi
test eax, eax
je 0x14001f6e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, qword [rbp - 0x19]
cmp eax, 0x7a
jne 0x14001f7e5
mov r11d, r15d
mov esi, r15d
mov dword [rbp - 0x39], r15d
mov r12, qword [rbp - 0x11]
sub r12, r9
je 0x14001f7d7
mov eax, r15d
lea r10, [rdi + 0x20]
mov ebx, eax
movzx edx, word [rdi + 0x1e]
shl rdx, 4
add rdx, r10
mov rcx, r10
cmp r10, rdx
je 0x14001f7ba
movzx r8d, word [rbx + r9 + 0x28]
nop dword [rax + rax]
cmp word [rcx + 8], r8w
jne 0x14001f7b1
mov rax, qword [rcx]
test qword [rbx + r9 + 0x20], rax
jne 0x14001f7ba
add rcx, 0x10
cmp rcx, rdx
jne 0x14001f7a0
lea eax, [r11 + 1]
cmp rcx, rdx
cmove eax, r11d
mov r11d, eax
add esi, dword [rbx + r9 + 4]
mov eax, esi
mov dword [rbp - 0x39], esi
cmp rax, r12
jb 0x14001f780
mov eax, r11d
mov qword [r14 + 0xd8], rax
mov r12, qword [rbp + 0x17]
test r9, r9
je 0x14001f81e
mov rdx, qword [rbp - 9]
sub rdx, r9
mov rax, r9
cmp rdx, 0x1000
jb 0x14001f816
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001fb9f
mov rcx, r9
call fcn.14006b080
mov rdi, qword [rbp - 0x31]
mov rcx, qword [r14 + 0xd8]
test rcx, rcx
je 0x14001f893
mov rdx, qword [r13]
test rdx, rdx
je 0x14001f893
mov rax, qword [r14 + 0xd0]
imul rcx, rax
mov qword [r14 + 0xd8], rcx
imul rdx, rax
mov qword [r13], rdx
test rdi, rdi
je 0x14001fa64
mov rdx, qword [rbp - 0x21]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x14001f886
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001fba5
mov rcx, rdi
call fcn.14006b080
jmp 0x14001fa64
test rdi, rdi
je 0x14001f8cc
mov rdx, qword [rbp - 0x21]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x14001f8c4
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001fba5
mov rcx, rdi
call fcn.14006b080
lea rdx, str.GetLogicalProcessorInformation
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x14001fa11
mov dword [rbp - 0x39], r15d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r15
lea rdx, [rbp - 0x39]
xor ecx, ecx
call rsi
test eax, eax
jne 0x14001f9a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14001f9a0
mov ebx, dword [rbp - 0x39]
shr rbx, 5
mov rdi, qword [rbp - 0x11]
mov rcx, rdi
mov r8, qword [rbp - 0x19]
sub rcx, r8
sar rcx, 5
cmp rbx, rcx
jae 0x14001f942
shl rbx, 5
add rbx, r8
mov qword [rbp - 0x11], rbx
jmp 0x14001f98f
jbe 0x14001f98f
mov rax, qword [rbp - 9]
sub rax, r8
sar rax, 5
cmp rbx, rax
jbe 0x14001f96a
lea r8, [rbp - 0x35]
mov rdx, rbx
lea rcx, [rbp - 0x19]
call fcn.14001efd0
mov r8, qword [rbp - 0x19]
jmp 0x14001f98f
sub rbx, rcx
je 0x14001f98b
mov r8, rbx
shl r8, 5
xor edx, edx
mov rcx, rdi
call fcn.14006daf0
shl rbx, 5
add rdi, rbx
mov r8, qword [rbp - 0x19]
mov qword [rbp - 0x11], rdi
lea rdx, [rbp - 0x39]
mov rcx, r8
call rsi
test eax, eax
je 0x14001f908
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, qword [rbp - 0x19]
cmp eax, 0x7a
jne 0x14001f9d4
mov r8, r9
mov r11, qword [rbp - 0x11]
cmp r9, r11
je 0x14001f9d4
nop dword [rax + rax]
cmp dword [r8 + 8], 3
je 0x14001fa91
add r8, 0x20
cmp r8, r11
jne 0x14001f9c0
test r9, r9
je 0x14001fa11
mov rdx, qword [rbp - 9]
sub rdx, r9
and rdx, 0xffffffffffffffe0
mov rax, r9
cmp rdx, 0x1000
jb 0x14001fa09
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001fb99
mov rcx, r9
call fcn.14006b080
mov qword [r14 + 0xd0], 1
cmp qword [r14 + 0xd8], 0
je 0x14001fa30
cmp qword [r14 + 0xe0], 0
jne 0x14001fa64
lea rcx, [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov r8d, dword [rbp + 7]
mov qword [r14 + 0xe0], r8
mov eax, 1
xor ecx, ecx
cpuid
bt edx, 0x1c
jae 0x14001fa5d
cmp r8, 2
jb 0x14001fa5d
shr r8, 1
mov qword [r14 + 0xd8], r8
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14006b1a0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
cmp r8, r11
je 0x14001f9d4
mov rcx, r9
mov r10, r15
lea rax, [r10 + 1]
cmp dword [rcx + 8], 3
cmovne rax, r10
mov r10, rax
add rcx, 0x20
cmp rcx, r11
jne 0x14001faa0
mov qword [r14 + 0xd0], rax
mov rcx, qword [r14 + 0xd8]
test rcx, rcx
je 0x14001fad7
mov rdx, qword [r14 + 0xe0]
test rdx, rdx
jne 0x14001fb2c
mov ebx, r15d
mov rax, r9
nop dword [rax]
cmp dword [rax + 8], 0
jne 0x14001fb10
mov rdx, qword [rax]
test qword [r8], rdx
je 0x14001fb10
inc r15d
test rdx, rdx
je 0x14001fb10
nop word [rax + rax]
test dl, 1
lea ecx, [rbx + 1]
cmove ecx, ebx
mov ebx, ecx
shr rdx, 1
jne 0x14001fb00
add rax, 0x20
cmp rax, r11
jne 0x14001fae0
mov edx, ebx
mov qword [r14 + 0xe0], rdx
mov ecx, r15d
mov qword [r14 + 0xd8], rcx
test rcx, rcx
je 0x14001f9d4
test rdx, rdx
je 0x14001f9d4
mov rax, r10
imul rax, rcx
mov qword [r14 + 0xd8], rax
imul r10, rdx
mov qword [r14 + 0xe0], r10
test r9, r9
je 0x14001fa64
mov rdx, qword [rbp - 9]
sub rdx, r9
and rdx, 0xffffffffffffffe0
mov rax, r9
cmp rdx, 0x1000
jb 0x14001fb8c
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001fb99
mov rcx, r9
call fcn.14006b080
jmp 0x14001fa64
call fcn.140071dac
nop
call fcn.140071dac
nop
call fcn.140071dac
int3