Function at 0x14001e220
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 [0x1400c5518]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r13, rdx
mov r15, rcx
mov qword [rbp + 0x1f], rcx
lea rcx, [0x14009c5d0]
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 r14d, r14d
test rax, rax
je 0x14001e5b1
mov dword [rbp - 0x35], r14d
mov qword [rbp - 0x31], r14
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x21], r14
lea r8, [rbp - 0x35]
xor edx, edx
lea ecx, [rdx + 3]
call rsi
test eax, eax
jne 0x14001e32c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14001e32c
mov ecx, dword [rbp - 0x35]
mov byte [rbp - 0x39], 0
mov r9, qword [rbp - 0x29]
mov rbx, r9
mov rdx, qword [rbp - 0x31]
sub rbx, rdx
cmp rcx, rbx
jae 0x14001e2e1
lea rax, [rdx + rcx]
mov qword [rbp - 0x29], rax
jmp 0x14001e31d
jbe 0x14001e31d
mov rax, qword [rbp - 0x21]
sub rax, rdx
cmp rcx, rax
jbe 0x14001e301
lea r8, [rbp - 0x39]
mov rdx, rcx
lea rcx, [rbp - 0x31]
call fcn.14001de20
jmp 0x14001e319
sub rcx, rbx
lea rbx, [r9 + rcx]
mov r8, rcx
xor edx, edx
mov rcx, r9
call fcn.14006a130
mov qword [rbp - 0x29], rbx
mov rdx, qword [rbp - 0x31]
lea r8, [rbp - 0x35]
mov ecx, 3
call rsi
test eax, eax
je 0x14001e2b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, qword [rbp - 0x31]
cmp eax, 0x7a
jne 0x14001e578
mov qword [r15], r14
mov ecx, r14d
mov dword [rbp - 0x35], ecx
mov rdx, qword [rbp - 0x29]
sub rdx, rdi
je 0x14001e361
inc qword [r15]
add ecx, dword [rdi + 4]
mov dword [rbp - 0x35], ecx
mov eax, ecx
cmp rax, rdx
jb 0x14001e351
lea rax, [r13 + 0x70]
cmp qword [r13 + 0x68], 0
je 0x14001e376
cmp qword [rax], 0
jne 0x14001e529
mov r12, rax
mov qword [r13 + 0x68], r14
mov qword [rax], r14
mov ecx, r14d
movzx eax, word [rdi + 0x1e]
cmp r14w, ax
jae 0x14001e3ba
lea rbx, [rdi + 0x20]
mov r8d, eax
mov rdx, qword [rbx]
test rdx, rdx
je 0x14001e3b0
nop dword [rax]
test dl, 1
lea eax, [rcx + 1]
cmove eax, ecx
mov ecx, eax
shr rdx, 1
jne 0x14001e3a0
add rbx, 0x10
sub r8, 1
jne 0x14001e394
mov eax, ecx
mov qword [r12], rax
mov dword [rbp - 0x35], r14d
mov qword [rbp - 0x19], r14
mov qword [rbp - 0x11], r14
mov qword [rbp - 9], r14
lea r8, [rbp - 0x35]
xor edx, edx
xor ecx, ecx
call rsi
test eax, eax
jne 0x14001e457
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14001e457
mov ecx, dword [rbp - 0x35]
mov byte [rbp - 0x39], 0
mov r9, qword [rbp - 0x11]
mov rbx, r9
mov rdx, qword [rbp - 0x19]
sub rbx, rdx
cmp rcx, rbx
jae 0x14001e40f
lea rax, [rdx + rcx]
mov qword [rbp - 0x11], rax
jmp 0x14001e44b
jbe 0x14001e44b
mov rax, qword [rbp - 9]
sub rax, rdx
cmp rcx, rax
jbe 0x14001e42f
lea r8, [rbp - 0x39]
mov rdx, rcx
lea rcx, [rbp - 0x19]
call fcn.14001de20
jmp 0x14001e447
sub rcx, rbx
lea rbx, [r9 + rcx]
mov r8, rcx
xor edx, edx
mov rcx, r9
call fcn.14006a130
mov qword [rbp - 0x11], rbx
mov rdx, qword [rbp - 0x19]
lea r8, [rbp - 0x35]
xor ecx, ecx
call rsi
test eax, eax
je 0x14001e3e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, qword [rbp - 0x19]
cmp eax, 0x7a
jne 0x14001e4e2
mov r11d, r14d
mov esi, r14d
mov dword [rbp - 0x35], r14d
mov r15, qword [rbp - 0x11]
sub r15, r9
je 0x14001e4d7
mov eax, r14d
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 0x14001e4ba
movzx r8d, word [rbx + r9 + 0x28]
nop dword [rax + rax]
cmp word [rcx + 8], r8w
jne 0x14001e4b1
mov rax, qword [rbx + r9 + 0x20]
test qword [rcx], rax
jne 0x14001e4ba
add rcx, 0x10
cmp rcx, rdx
jne 0x14001e4a0
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 - 0x35], esi
cmp rax, r15
jb 0x14001e480
mov eax, r11d
mov qword [r13 + 0x68], rax
mov r15, qword [rbp + 0x1f]
mov rax, r12
test r9, r9
je 0x14001e521
mov rdx, qword [rbp - 9]
sub rdx, r9
mov rax, r9
cmp rdx, 0x1000
jb 0x14001e516
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e850
mov rcx, r9
call fcn.1400676f4
mov rax, r12
mov r12, qword [rbp + 0x17]
mov rdi, qword [rbp - 0x31]
cmp qword [r13 + 0x68], 0
jbe 0x14001e578
cmp qword [rax], 0
jbe 0x14001e578
test rdi, rdi
je 0x14001e744
mov rdx, qword [rbp - 0x21]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x14001e56b
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e856
mov rcx, rdi
call fcn.1400676f4
jmp 0x14001e744
test rdi, rdi
je 0x14001e5b1
mov rdx, qword [rbp - 0x21]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x14001e5a9
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e856
mov rcx, rdi
call fcn.1400676f4
lea rdx, str.GetLogicalProcessorInformation
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x14001e701
mov dword [rbp - 0x35], r14d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r14
lea rdx, [rbp - 0x35]
xor ecx, ecx
call rsi
test eax, eax
jne 0x14001e68c
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14001e68c
mov ebx, dword [rbp - 0x35]
shr rbx, 5
mov byte [rbp - 0x39], 0
mov rdi, qword [rbp - 0x11]
mov rcx, rdi
mov r8, qword [rbp - 0x19]
sub rcx, r8
sar rcx, 5
cmp rbx, rcx
jae 0x14001e62e
shl rbx, 5
add rbx, r8
mov qword [rbp - 0x11], rbx
jmp 0x14001e67b
jbe 0x14001e67b
mov rax, qword [rbp - 9]
sub rax, r8
sar rax, 5
cmp rbx, rax
jbe 0x14001e656
lea r8, [rbp - 0x39]
mov rdx, rbx
lea rcx, [rbp - 0x19]
call fcn.14001df50
mov r8, qword [rbp - 0x19]
jmp 0x14001e67b
sub rbx, rcx
je 0x14001e677
mov r8, rbx
shl r8, 5
xor edx, edx
mov rcx, rdi
call fcn.14006a130
shl rbx, 5
add rdi, rbx
mov r8, qword [rbp - 0x19]
mov qword [rbp - 0x11], rdi
lea rdx, [rbp - 0x35]
mov rcx, r8
call rsi
test eax, eax
je 0x14001e5f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, qword [rbp - 0x19]
cmp eax, 0x7a
jne 0x14001e6c4
mov r8, r9
mov r10, qword [rbp - 0x11]
cmp r9, r10
je 0x14001e6c4
nop word [rax + rax]
cmp dword [r8 + 8], 3
je 0x14001e771
add r8, 0x20
cmp r8, r10
jne 0x14001e6b0
test r9, r9
je 0x14001e701
mov rdx, qword [rbp - 9]
sub rdx, r9
and rdx, 0xffffffffffffffe0
mov rax, r9
cmp rdx, 0x1000
jb 0x14001e6f9
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e84a
mov rcx, r9
call fcn.1400676f4
mov qword [r15], 1
cmp qword [r13 + 0x68], 0
je 0x14001e716
cmp qword [r13 + 0x70], 0
jne 0x14001e744
lea rcx, [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov r8d, dword [rbp + 7]
mov qword [r13 + 0x70], r8
mov eax, 1
xor ecx, ecx
cpuid
bt edx, 0x1c
jae 0x14001e740
cmp r8, 2
jb 0x14001e740
shr r8, 1
mov qword [r13 + 0x68], r8
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140067810
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, r10
je 0x14001e6c4
mov rcx, r9
mov rdx, r14
lea rax, [rdx + 1]
cmp dword [rcx + 8], 3
cmovne rax, rdx
mov rdx, rax
add rcx, 0x20
cmp rcx, r10
jne 0x14001e780
mov qword [r15], rax
mov rax, qword [r13 + 0x68]
test rax, rax
je 0x14001e7ad
mov rcx, qword [r13 + 0x70]
test rcx, rcx
jne 0x14001e7f6
mov ebx, r14d
mov rax, r9
cmp dword [rax + 8], 0
jne 0x14001e7e0
mov rdx, qword [rax]
test qword [r8], rdx
je 0x14001e7e0
inc r14d
test rdx, rdx
je 0x14001e7e0
nop dword [rax]
test dl, 1
lea ecx, [rbx + 1]
cmove ecx, ebx
mov ebx, ecx
shr rdx, 1
jne 0x14001e7d0
add rax, 0x20
cmp rax, r10
jne 0x14001e7b3
mov ecx, ebx
mov qword [r13 + 0x70], rcx
mov eax, r14d
mov qword [r13 + 0x68], rax
test rax, rax
je 0x14001e6c4
test rcx, rcx
je 0x14001e6c4
test r9, r9
je 0x14001e744
mov rdx, qword [rbp - 9]
sub rdx, r9
and rdx, 0xffffffffffffffe0
mov rax, r9
cmp rdx, 0x1000
jb 0x14001e83d
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e84a
mov rcx, r9
call fcn.1400676f4
jmp 0x14001e744
call fcn.14006e3dc
nop
call fcn.14006e3dc
nop
call fcn.14006e3dc
int3