Function at 0x140004850
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 [0x14004c018]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov rdx, qword gs:[0x60]
lea rax, [rsp + 0x60]
xor esi, esi
mov r14, rcx
mov qword [rsp + 0x50], rsi
lea ecx, [rsi + 6]
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 0x140004892
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 edi, esi
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], esi
lea ebx, [rax - 8]
mov dword [rsp + 0x3c], 0x100
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x140004984
or rsi, rbx
mov qword [rsp + 0x40], rsi
inc edi
rol rbx, 1
cmp edi, 0x40
jb 0x140004970
mov ebx, dword [r14 + 0x10]
lea edi, [rbx + 0x38]
cmp edi, ebx
jae 0x1400049a2
lea rcx, str.____Syscall_process_dump_failed:_exceeds_the_32_bit_address_space__int_overflow__n
jmp 0x1400049d1
mov rdx, qword [r14 + 0x18]
mov rcx, rbx
mov eax, edi
cmp rdx, rax
jae 0x1400049f4
add rdx, rdx
cmp rdx, rax
jb 0x1400049b0
mov rcx, qword [r14 + 8]
mov qword [r14 + 0x18], rdx
call fcn.1400144d8
test rax, rax
jne 0x1400049ec
lea rcx, str.____Syscall_process_dump_failed:_reallocation_failed_n
call fcn.140001010
lea rcx, str.____Syscall_process_dump_failed:_couldnt_write_the_SystemInfoStream__stream_rva__n
call fcn.140001010
mov eax, 0xc0000001
jmp 0x140004b36
mov ecx, dword [r14 + 0x10]
mov qword [r14 + 8], rax
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 fcn.14000ef50
mov r15, rax
test rax, rax
jne 0x140004a7b
lea rcx, str.____Syscall_process_dump_failed:_couldnt_allocate_CSDVersion_string_n
call fcn.140001010
mov eax, 0xc0000001
jmp 0x140004b26
mov rdx, qword [rbp + 0x250]
lea rcx, [rax + 4]
mov r8, rsi
mov dword [rax], edi
call fcn.14000e4e0
mov edi, dword [r14 + 0x10]
add r12d, 4
lea esi, [rdi + r12]
cmp esi, edi
jae 0x140004aae
lea rcx, str.____Syscall_process_dump_failed:_exceeds_the_32_bit_address_space__int_overflow__n
call fcn.140001010
jmp 0x140004b08
mov rdx, qword [r14 + 0x18]
mov rcx, rdi
mov eax, esi
cmp rdx, rax
jae 0x140004af2
nop dword [rax]
add rdx, rdx
cmp rdx, rax
jb 0x140004ac0
mov rcx, qword [r14 + 8]
mov qword [r14 + 0x18], rdx
call fcn.1400144d8
test rax, rax
jne 0x140004ae8
lea rcx, str.____Syscall_process_dump_failed:_reallocation_failed_n
call fcn.140001010
jmp 0x140004b08
mov ecx, dword [r14 + 0x10]
mov qword [r14 + 8], rax
jmp 0x140004af6
mov rax, qword [r14 + 8]
mov r8d, r12d
add rcx, rax
mov rdx, r15
call fcn.14000e4e0
mov dword [r14 + 0x10], esi
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], edi
xor eax, eax
mov r12, qword [rsp + 0x3f8]
mov r15, qword [rsp + 0x400]
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.14000cb50
add rsp, 0x3c0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret