Function at 0x14005aa8c
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
mov rax, qword [0x140451b38]
xor rax, rsp
mov qword [rbp], rax
mov r13d, edx
mov rdi, rcx
xor r15d, r15d
lea rcx, [rbp - 0x60]
xor edx, edx
xor r12d, r12d
lea r8d, [r15 + 0x54]
call sub.msvcrt.dll_memset
xor eax, eax
lea rcx, [rbp - 0x80]
xor ebx, ebx
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x40], rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x14005ab36
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14005ab18
lea rdx, [0x1404536b8]
mov r14d, 0x80004005
lea rcx, [0x1404303b8]
call fcn.1400f50f4
jmp 0x14005ab29
movzx r14d, ax
or r14d, 0x80070000
test eax, eax
cmovle r14d, eax
mov ecx, r14d
call fcn.14007ac40
jmp 0x14005adb5
test rdi, rdi
jne 0x14005ab43
mov r14d, 0x80070057
jmp 0x14005ab29
mov r15, qword [0x14045c980]
test r15, r15
jne 0x14005ab6a
lea rdx, [0x140454228]
mov r15d, 8
lea rcx, [0x140442d80]
call fcn.1400f406c
jmp 0x14005ab70
add r15, 8
je 0x14005ab81
mov r12d, 1
mov rcx, r15
mov edx, r12d
call fcn.140073644
lea rax, [0x140047bdc]
mov qword [rsp + 0x48], 3
mov qword [rsp + 0x50], rax
lea rdx, [0x1404552ec]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], rax
lea rcx, [0x140443c1c]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x68], rax
call fcn.1400f3670
xor r9d, r9d
lea rdx, [rsp + 0x48]
mov ecx, 0xb9
lea edi, [r9 + 0x28]
mov r8d, edi
call sub.ntdll.dll_NtQuerySystemInformation
mov r14d, dword [rsp + 0x70]
cmp r14d, 0xc004f012
jne 0x14005abf3
mov r14d, 0xc004f015
jmp 0x14005ab29
test r14d, r14d
js 0x14005ab29
mov eax, dword [rbp - 0x10]
test al, 2
je 0x14005ac0e
mov r14d, 0xc004f016
jmp 0x14005ab29
lea rax, [0x14004789c]
mov qword [rsp + 0x48], 3
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
lea rax, [rsp + 0x74]
xor r9d, r9d
mov qword [rsp + 0x58], rax
mov r8, rdi
lea rax, [rbp - 0x60]
mov ecx, 0xb9
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x68], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov edi, dword [rsp + 0x74]
test edi, edi
jns 0x14005ac82
cmp edi, 0xc004d304
je 0x14005ac88
lea rdx, [0x140459c34]
mov r14d, edi
lea rcx, [0x14043f0c8]
call fcn.1400f3318
mov ecx, edi
jmp 0x14005ab2c
cmp dword [rsp + 0x78], ebx
jl 0x14005aca8
test r13d, r13d
je 0x14005aca8
lea rdx, [0x14045afb0]
lea rcx, [0x140440214]
call fcn.1400f39c8
xor r14d, r14d
jmp 0x14005adb5
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.14004e06c
mov rbx, qword [rsp + 0x40]
test eax, eax
js 0x14005ad08
mov rsi, qword [0x14045ca10]
lea rdx, [0x140455edc]
lea rcx, [0x1404327c0]
mov rdi, qword [rsi]
call fcn.1400f4a64
mov rax, qword [0x1403d25b8]
mov rcx, qword [rdi + 0x38]
call rax
lea rdx, [0x14045bc44]
lea rcx, [0x14042f030]
call fcn.1400f4a64
mov rax, qword [rdi + 0x38]
mov rdx, rbx
mov rcx, rsi
call rax
mov edi, 3
lea rax, [0x14004721c]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], rax
mov r13d, 0xb9
lea rax, [rbp - 0x60]
xor r9d, r9d
lea esi, [rdi + 0x25]
mov qword [rsp + 0x60], rax
mov r8d, esi
mov ecx, r13d
call sub.ntdll.dll_NtQuerySystemInformation
lea rdx, [0x140453e4c]
lea rcx, [0x14042e224]
call fcn.1400f43c0
lea rax, [0x140046b9c]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
lea rax, [rbp - 0x74]
xor r9d, r9d
mov qword [rsp + 0x58], rax
mov r8d, esi
lea rax, [rbp - 0x60]
mov ecx, r13d
mov qword [rsp + 0x60], rax
call sub.ntdll.dll_NtQuerySystemInformation
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x60]
call fcn.140062194
lea rdx, [0x140454e60]
lea rcx, [0x140431a14]
call fcn.1400f470c
cmp dword [0x140451890], 5
jbe 0x14005ae26
movabs rdx, 0x400000000000
test qword [0x1404518a0], rdx
je 0x14005ae26
mov rax, qword [0x1404518a8]
and rax, rdx
cmp rax, qword [0x1404518a8]
jne 0x14005ae26
mov rcx, qword [rbp - 0x80]
call fcn.140079a88
mov qword [rbp - 0x70], rax
lea rdx, [0x14044528c]
lea rax, [rbp - 0x70]
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x68], 0x1000000
call fcn.1400014e0
mov ecx, r14d
call fcn.14007ace8
test rbx, rbx
je 0x14005ae3c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rdx, [0x140453920]
lea rcx, [0x14043e4c0]
call fcn.1400f3d14
test r15, r15
je 0x14005ae74
lea rdx, [0x1404556b0]
lea rcx, [0x14043b5a0]
call fcn.1400f4dac
test r12d, r12d
je 0x14005ae74
mov rcx, r15
call fcn.1400734c0
mov eax, r14d
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140388a40
lea r11, [rsp + 0x110]
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