Function at 0x140004530
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rcx
mov qword [rsp + 0x20], rcx
xor r12d, r12d
lea rcx, [rbp - 9]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rbp - 9]
test eax, eax
je 0x14000488f
cmp eax, 5
je 0x140004886
cmp eax, 9
je 0x1400045ca
xorps xmm0, xmm0
mov rcx, rdi
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
cmp eax, 0xc
je 0x1400045b8
lea r8d, [r12 + 0x14]
lea rdx, str.Unknown_architecture
jmp 0x1400048ad
mov r8d, 5
lea rdx, str.ARM64
jmp 0x1400048ad
movdqa xmm0, xmmword [0x140036040]
movdqu xmmword [rsp + 0x20], xmm0
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x39], xmm0
mov eax, 0x80000002
xor ecx, ecx
cpuid
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], ebx
mov dword [rsp + 0x28], ecx
mov dword [rbp - 0x7d], edx
movups xmm0, xmmword [rsp + 0x20]
movaps xmmword [rbp - 0x69], xmm0
mov eax, 0x80000003
xor ecx, ecx
cpuid
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], ebx
mov dword [rsp + 0x28], ecx
mov dword [rbp - 0x7d], edx
movups xmm0, xmmword [rsp + 0x20]
movaps xmmword [rbp - 0x59], xmm0
mov eax, 0x80000004
xor ecx, ecx
cpuid
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], ebx
mov dword [rsp + 0x28], ecx
mov dword [rbp - 0x7d], edx
movups xmm0, xmmword [rsp + 0x20]
movaps xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x29], xmm1
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x11], r12
lea rax, [rbp - 0x69]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x140004660
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x29]
call fcn.1400040c0
nop
lea r15, [rbp - 0x29]
mov rsi, qword [rbp - 0x29]
mov r14, qword [rbp - 0x11]
cmp r14, 0xf
cmova r15, rsi
mov r13, qword [rbp - 0x19]
cmp r13, 5
jb 0x14000470c
lea r12, [r15 + r13]
lea r8, [r12 - 4]
sub r8, r15
mov edx, 0x49
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140004709
lea rdx, str.Intel
nop dword [rax]
xor ecx, ecx
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1400046d9
cmp rcx, 5
jne 0x1400046c2
xor eax, eax
jmp 0x1400046de
sbb eax, eax
or eax, 1
test eax, eax
je 0x140004761
inc rbx
lea r8, [r12 - 4]
sub r8, rbx
mov edx, 0x49
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
lea rdx, str.Intel
jne 0x1400046c0
xor r12d, r12d
lea rbx, [rbp - 0x29]
cmp r14, 0xf
cmova rbx, rsi
cmp r13, 3
jb 0x1400047ff
lea r15, [rbx + r13]
lea r8, [r15 - 2]
sub r8, rbx
mov edx, 0x41
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400047ff
cmp byte [rax], 0x41
jne 0x1400047d6
cmp byte [rax + 1], 0x4d
jne 0x1400047d6
cmp byte [rax + 2], 0x44
jne 0x1400047d6
mov ecx, r12d
jmp 0x1400047db
sub rbx, r15
cmp rbx, 0xffffffffffffffff
je 0x140004709
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0
mov r8d, inet_ntoa
lea rdx, str.x64__Intel_
mov rcx, rdi
call fcn.1400040c0
nop
cmp r14, 0xf
jbe 0x1400048b2
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400047c9
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004856
mov rcx, rsi
call fcn.14002dd70
jmp 0x1400048b2
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x14000485d
inc rax
lea r8, [r15 - 2]
sub r8, rax
mov edx, 0x41
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140004743
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
mov r8d, 0x13
lea rdx, str.x64__Unknown_brand_
mov rcx, rdi
call fcn.1400040c0
nop
cmp r14, 0xf
jbe 0x1400048b2
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400047c9
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400047c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
sub rax, rbx
cmp rax, 0xffffffffffffffff
je 0x1400047ff
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
mov r8d, 9
lea rdx, str.x64__AMD_
jmp 0x14000478d
lea rdx, [0x140033174]
jmp 0x140004896
lea rdx, [0x140033180]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov rcx, rdi
mov r8d, 3
mov qword [rdi + 0x18], r12
mov qword [rdi + 0x10], r12
call fcn.1400040c0
mov rax, rdi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14002dd50
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret