Function at 0x140005260
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 [0x14006a040]
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 0x1400055bf
cmp eax, 5
je 0x1400055b6
cmp eax, 9
je 0x1400052fa
xorps xmm0, xmm0
mov rcx, rdi
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
cmp eax, 0xc
je 0x1400052e8
lea r8d, [r12 + 0x14]
lea rdx, str.Unknown_architecture
jmp 0x1400055dd
mov r8d, 5
lea rdx, str.ARM64
jmp 0x1400055dd
movdqa xmm0, xmmword [0x14005ce40]
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 0x140005390
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x29]
call fcn.140004c00
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 0x14000543c
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 0x140005439
lea rdx, str.Intel
nop dword [rax]
xor ecx, ecx
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140005409
cmp rcx, 5
jne 0x1400053f2
xor eax, eax
jmp 0x14000540e
sbb eax, eax
or eax, 1
test eax, eax
je 0x140005491
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 0x1400053f0
xor r12d, r12d
lea rbx, [rbp - 0x29]
cmp r14, 0xf
cmova rbx, rsi
cmp r13, 3
jb 0x14000552f
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 0x14000552f
cmp byte [rax], 0x41
jne 0x140005506
cmp byte [rax + 1], 0x4d
jne 0x140005506
cmp byte [rax + 2], 0x44
jne 0x140005506
mov ecx, r12d
jmp 0x14000550b
sub rbx, r15
cmp rbx, 0xffffffffffffffff
je 0x140005439
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.140004c00
nop
cmp r14, 0xf
jbe 0x1400055e2
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400054f9
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005586
mov rcx, rsi
call fcn.14004de50
jmp 0x1400055e2
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x14000558d
inc rax
lea r8, [r15 - 2]
sub r8, rax
mov edx, 0x41
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140005473
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.140004c00
nop
cmp r14, 0xf
jbe 0x1400055e2
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400054f9
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400054f9
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 0x14000552f
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 0x1400054bd
lea rdx, [0x1400555fc]
jmp 0x1400055c6
lea rdx, [0x140055608]
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.140004c00
mov rax, rdi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14004de30
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