Function at 0x14005aeac
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x110
xorps xmm1, xmm1
xor ebx, ebx
xorps xmm0, xmm0
mov qword [rsp + 0x60], rbx
movdqu xmmword [rbp - 0x20], xmm0
mov rdi, rcx
xor eax, eax
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x78], rax
movups xmmword [rbp - 0x28], xmm1
mov r14, r9
mov r12, r8
movups xmmword [rbp - 0x18], xmm1
mov r13, rdx
mov esi, ebx
mov r15d, ebx
movups xmmword [rbp - 8], xmm1
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x14005af78
lea rdx, [0x140457420]
lea rcx, [0x140429e70]
call fcn.1400f3318
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14005af4b
lea rdx, [0x140456c9c]
lea rcx, [0x1404330f8]
call fcn.1400f39cc
mov ebx, 0x80004005
jmp 0x14005af6c
movzx ebx, ax
lea rdx, [0x140459adc]
or ebx, 0x80070000
lea rcx, [0x14043efb8]
test eax, eax
cmovle ebx, eax
call fcn.1400f3670
mov ecx, ebx
call fcn.14007ac40
jmp 0x14005b08b
test r14, r14
jne 0x14005afa1
mov ebx, 0x80070057
mov ecx, ebx
call fcn.14007ac40
lea rdx, [0x14045bfe4]
lea rcx, [0x1404386fc]
call fcn.1400f3d28
jmp 0x14005b08b
mov rbx, qword [0x14045c980]
test rbx, rbx
jne 0x14005afb4
mov esi, 8
jmp 0x14005afd0
lea rdx, [0x140459f58]
lea rcx, [0x140435e38]
lea rsi, [rbx + 8]
call fcn.1400f4710
test rsi, rsi
je 0x14005afe3
mov edx, 1
mov rcx, rsi
call fcn.140073644
mov r15d, 1
lea rax, [0x14003819c]
mov qword [rbp - 8], rdi
mov qword [rbp - 0x70], rax
lea rdx, [rbp - 0x78]
lea rax, [rsp + 0x68]
mov qword [rbp], rbx
mov qword [rbp - 0x68], rax
xor r9d, r9d
lea rax, [rbp - 0x28]
mov qword [rbp - 0x78], 3
mov qword [rbp - 0x60], rax
mov ecx, 0xb9
lea rax, [rsp + 0x60]
lea r8d, [r9 + 0x28]
mov qword [rbp - 0x58], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rsp + 0x68]
test ebx, ebx
js 0x14005af6c
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x18]
mov rax, qword [0x1403d25b8]
mov rcx, rdi
call rax
mov rax, rdi
lea r9, [rsp + 0x6c]
mov r8, r12
mov rdx, r13
mov rcx, rbx
call rax
mov ebx, eax
test eax, eax
jns 0x14005b071
mov ecx, eax
jmp 0x14005af6e
mov eax, dword [rsp + 0x6c]
lea rdx, [0x1404547d0]
lea rcx, [0x14043a630]
mov dword [r14], eax
call fcn.1400f50fc
mov rcx, qword [rsp + 0x78]
call fcn.140079a88
cmp dword [0x140451890], 5
mov rdi, rax
jbe 0x14005b188
movabs rax, 0x400000000000
test qword [0x1404518a0], rax
je 0x14005b188
mov rcx, qword [0x1404518a8]
and rcx, rax
cmp rcx, qword [0x1404518a8]
jne 0x14005b188
mov eax, dword [r14]
lea rdx, [0x140459030]
lea rcx, [0x140434f9c]
mov dword [rsp + 0x74], eax
mov qword [rbp - 0x50], 0x1000000
mov dword [rsp + 0x70], ebx
call fcn.1400f4dac
lea rdx, [0x140457c18]
mov qword [rbp - 0x48], r13
lea rcx, [0x14043d638]
call fcn.1400f43c8
lea rdx, [0x140458438]
mov qword [rbp - 0x40], rdi
lea rcx, [0x14042a630]
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x80], 1
call fcn.1400f4dac
lea rax, [rbp - 0x50]
mov qword [rsp + 0x50], rax
lea r9, [rbp - 0x80]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, [0x1404451fc]
lea rax, [rsp + 0x74]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
call fcn.140001408
mov ecx, ebx
call fcn.14007ace8
and qword [rbp - 0x68], 0
lea rax, [0x1400343dc]
xor r9d, r9d
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x28]
mov qword [rbp - 0x78], 3
lea rdx, [rbp - 0x78]
mov qword [rbp - 0x60], rax
mov ecx, 0xb9
lea r8d, [r9 + 0x28]
call sub.ntdll.dll_NtQuerySystemInformation
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x14005b1e8
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
and qword [rsp + 0x60], 0
lea rdx, [0x140456110]
lea rcx, [0x1404287f8]
call fcn.1400f4080
test rsi, rsi
je 0x14005b220
test r15d, r15d
je 0x14005b220
mov rcx, rsi
call fcn.1400734c0
lea rdx, [0x140459178]
lea rcx, [0x140435078]
call fcn.1400f4a68
lea r11, [rsp + 0x110]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret