Function at 0x1400059f0
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 [0x14001c008]
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 ecx, [rdi + 6]
nop word [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 rcx, 1
jne 0x140005a40
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 0x140005b2f
or rdi, rbx
inc esi
rol rbx, 1
cmp esi, 0x40
jb 0x140005b20
mov ebx, dword [r14 + 0x10]
mov qword [rsp + 0x40], rdi
lea edi, [rbx + 0x38]
cmp edi, ebx
jae 0x140005b52
lea rcx, str.____Syscall_process_dump_failed:_exceeds_the_32_bit_address_space__int_overflow__n
jmp 0x140005b82
mov rdx, qword [r14 + 0x18]
mov eax, edi
cmp rdx, rax
jae 0x140005ba1
nop dword [rax]
add rdx, rdx
cmp rdx, rax
jb 0x140005b60
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 0x140005b9d
lea rcx, str.____Syscall_process_dump_failed:_reallocation_failed_n
call fcn.140001430
lea rcx, str.____Syscall_process_dump_failed:_couldnt_write_the_SystemInfoStream__stream_rva__n
call fcn.140001430
mov eax, 0xc0000001
jmp 0x140005ce7
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 [rcx + rax], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx + rax + 0x10], xmm1
movsd xmm1, qword [rsp + 0x50]
movups xmmword [rcx + rax + 0x20], xmm0
movsd qword [rcx + rax + 0x30], xmm1
mov rax, 0xffffffffffffffff
mov dword [r14 + 0x10], edi
movzx edi, word [rbp + 0x248]
lea ecx, [rax + 2]
lea r12d, [rdi + 2]
mov edx, r12d
add rdx, 4
mov esi, r12d
cmovb rdx, rax
call sub.api_ms_win_crt_heap_l1_1_0.dll_calloc
mov r15, rax
test rax, rax
jne 0x140005c2c
lea rcx, str.____Syscall_process_dump_failed:_couldnt_allocate_CSDVersion_string_n
call fcn.140001430
mov eax, 0xc0000001
jmp 0x140005cd7
mov rdx, qword [rbp + 0x250]
lea rcx, [rax + 4]
mov r8, rsi
mov dword [rax], edi
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [r14 + 0x10]
add r12d, 4
lea edi, [rsi + r12]
cmp edi, esi
jae 0x140005c5f
lea rcx, str.____Syscall_process_dump_failed:_exceeds_the_32_bit_address_space__int_overflow__n
call fcn.140001430
jmp 0x140005cb9
mov rdx, qword [r14 + 0x18]
mov eax, edi
cmp rdx, rax
jae 0x140005c9f
nop word [rax + rax]
add rdx, rdx
cmp rdx, rax
jb 0x140005c70
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 0x140005c99
lea rcx, str.____Syscall_process_dump_failed:_reallocation_failed_n
call fcn.140001430
jmp 0x140005cb9
mov qword [r14 + 8], rax
jmp 0x140005ca3
mov rax, qword [r14 + 8]
mov ecx, dword [r14 + 0x10]
mov rdx, r15
add rcx, rax
mov r8d, r12d
call sub.VCRUNTIME140.dll_memcpy
mov dword [r14 + 0x10], edi
mov rax, qword [r14 + 8]
lea ecx, [rbx + 0x18]
mov dword [rax + 0x24], 0x38
mov rax, qword [r14 + 8]
mov dword [rax + 0x28], ebx
mov rax, qword [r14 + 8]
mov dword [rcx + rax], esi
xor eax, eax
mov r12, qword [rsp + 0x3f8]
mov r15, qword [rsp + 0x400]
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.1400085d0
add rsp, 0x3c0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret