Function at 0x140006d70
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov rdx, qword gs:[0x60]
lea rax, [rsp + 0x60]
xor edi, edi
mov r14, rcx
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], rdi
lea r8d, [rdi + 6]
nop dword [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
lea rdx, [rdx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub r8, 1
jne 0x140006dc0
movups xmm0, xmmword [rdx]
lea rcx, [rbp + 0x280]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [rbp + 0x2ac]
mov esi, edi
mov word [rsp + 0x22], ax
movzx eax, word [rbp + 0x2ae]
mov word [rsp + 0x24], ax
movzx eax, byte [rbp + 0x2a0]
mov byte [rsp + 0x26], al
mov eax, dword [rbp + 0x78]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x7c]
mov dword [rsp + 0x2c], eax
movzx eax, word [rbp + 0x80]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x84]
mov dword [rsp + 0x34], eax
mov eax, 9
mov byte [rsp + 0x27], 1
mov word [rsp + 0x20], ax
mov dword [rsp + 0x38], edi
lea ebx, [rax - 8]
mov dword [rsp + 0x3c], pe_nt_image_headers64
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
nop
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x140006eaf
or rdi, rbx
inc esi
rol rbx, 1
cmp esi, 0x40
jb 0x140006ea0
mov qword [rsp + 0x40], rdi
mov edi, dword [r14 + 0x10]
lea ebx, [rdi + 0x38]
cmp ebx, edi
jae 0x140006ed2
lea rcx, str.____Syscall_process_dump_failed:_exceeds_the_32_bit_address_space__int_overflow__n
jmp 0x140006f02
mov rdx, qword [r14 + 0x18]
mov eax, ebx
cmp rdx, rax
jae 0x140006f21
nop dword [rax]
add rdx, rdx
cmp rdx, rax
jb 0x140006ee0
mov rcx, qword [r14 + 8]
mov qword [r14 + 0x18], rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
jne 0x140006f1d
lea rcx, str.____Syscall_process_dump_failed:_reallocation_failed_n
call fcn.140001480
lea rcx, str.____Syscall_process_dump_failed:_couldnt_write_the_SystemInfoStream__stream_rva__n
call fcn.140001480
mov eax, 0xc0000001
jmp 0x140006fff
mov qword [r14 + 8], rax
mov ecx, dword [r14 + 0x10]
mov rax, qword [r14 + 8]
movups xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x3f8], r12
movups xmm1, xmmword [rsp + 0x30]
mov qword [rsp + 0x400], r15
movups xmmword [rax + rcx], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx + 0x10], xmm1
movsd xmm1, qword [rsp + 0x50]
movups xmmword [rax + rcx + 0x20], xmm0
movsd qword [rax + rcx + 0x30], xmm1
mov rax, 0xffffffffffffffff
mov dword [r14 + 0x10], ebx
movzx ebx, word [rbp + 0x248]
lea ecx, [rax + 2]
lea r15d, [rbx + 2]
mov edx, r15d
add rdx, 4
mov r12d, r15d
cmovb rdx, rax
call sub.api_ms_win_crt_heap_l1_1_0.dll_calloc
mov rsi, rax
test rax, rax
jne 0x140006fa9
lea rcx, str.____Syscall_process_dump_failed:_couldnt_allocate_CSDVersion_string_n
call fcn.140001480
mov eax, 0xc0000001
jmp 0x140006fef
mov rdx, qword [rbp + 0x250]
lea rcx, [rax + 4]
mov r8, r12
mov dword [rax], ebx
call sub.VCRUNTIME140.dll_memcpy
mov ebx, dword [r14 + 0x10]
lea r8d, [r15 + 4]
mov rdx, rsi
mov rcx, r14
call fcn.140006a30
mov rax, qword [r14 + 8]
lea ecx, [rdi + 0x18]
mov dword [rax + 0x24], 0x38
mov rax, qword [r14 + 8]
mov dword [rax + 0x28], edi
mov rax, qword [r14 + 8]
mov dword [rcx + rax], ebx
xor eax, eax
mov r12, qword [rsp + 0x3f8]
mov r15, qword [rsp + 0x400]
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.140009ae0
add rsp, 0x3c0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret