Function at 0x140004780
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 [0x140051018]
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 0x1400047d0
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], 0x100
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 0x1400048bf
or rdi, rbx
inc esi
rol rbx, 1
cmp esi, 0x40
jb 0x1400048b0
mov ebx, dword [r14 + 0x10]
mov qword [rsp + 0x40], rdi
lea edi, [rbx + 0x38]
cmp edi, ebx
jae 0x1400048e2
lea rcx, str.____Syscall_process_dump_failed:_exceeds_the_32_bit_address_space__int_overflow__n
jmp 0x140004911
mov rdx, qword [r14 + 0x18]
mov eax, edi
cmp rdx, rax
jae 0x140004930
nop dword [rax]
add rdx, rdx
cmp rdx, rax
jb 0x1400048f0
mov rcx, qword [r14 + 8]
mov qword [r14 + 0x18], rdx
call fcn.140018b54
test rax, rax
jne 0x14000492c
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 0x140004a76
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 fcn.1400119fc
mov r15, rax
test rax, rax
jne 0x1400049bb
lea rcx, str.____Syscall_process_dump_failed:_couldnt_allocate_CSDVersion_string_n
call fcn.140001010
mov eax, 0xc0000001
jmp 0x140004a66
mov rdx, qword [rbp + 0x250]
lea rcx, [rax + 4]
mov r8, rsi
mov dword [rax], edi
call fcn.14000f7d0
mov esi, dword [r14 + 0x10]
add r12d, 4
lea edi, [rsi + r12]
cmp edi, esi
jae 0x1400049ee
lea rcx, str.____Syscall_process_dump_failed:_exceeds_the_32_bit_address_space__int_overflow__n
call fcn.140001010
jmp 0x140004a48
mov rdx, qword [r14 + 0x18]
mov eax, edi
cmp rdx, rax
jae 0x140004a2e
nop dword [rax]
add rdx, rdx
cmp rdx, rax
jb 0x140004a00
mov rcx, qword [r14 + 8]
mov qword [r14 + 0x18], rdx
call fcn.140018b54
test rax, rax
jne 0x140004a28
lea rcx, str.____Syscall_process_dump_failed:_reallocation_failed_n
call fcn.140001010
jmp 0x140004a48
mov qword [r14 + 8], rax
jmp 0x140004a32
mov rax, qword [r14 + 8]
mov ecx, dword [r14 + 0x10]
mov rdx, r15
add rcx, rax
mov r8d, r12d
call fcn.14000f7d0
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.14000d570
add rsp, 0x3c0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret