Function at 0x1401697b4
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
xor edi, edi
mov r15, r9
mov qword [rbp - 0x38], rdi
mov esi, edi
mov qword [rbp - 0x30], rdi
mov r12, r8
mov qword [rbp - 0x40], rdi
mov r13, rdx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
lea r8d, [rdi + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rax, rax
je 0x140169833
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
lea rax, [0x1403b5238]
mov qword [r14], rax
mov dword [r14 + 0x18], 1
lock inc dword [0x1404515d4]
jmp 0x140169836
mov r14, rdi
mov rbx, qword [rbp - 0x40]
test rbx, rbx
je 0x14016985c
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [0x1403cf6d0]
mov rcx, rdi
call rax
mov rax, rdi
mov rcx, rbx
call rax
xor edi, edi
mov qword [rbp - 0x40], r14
test r14, r14
jne 0x140169873
mov esi, 0x8007000e
mov ecx, esi
call fcn.140082a8c
jmp 0x14016987b
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x30], r14
mov ecx, esi
call fcn.140082b34
xor r9d, r9d
mov qword [rbp - 0x28], 3
lea rax, [0x1400342dc]
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x28]
lea rax, [rbp - 0x40]
mov ecx, 0xb9
lea r14d, [r9 + 0x20]
mov qword [rbp - 0x10], rax
mov r8d, r14d
call sub.ntdll.dll_NtQuerySystemInformation
test esi, esi
jns 0x1401698c1
mov ecx, esi
jmp 0x1401698f4
mov rbx, qword [rbp - 0x30]
mov rax, qword [rbx]
mov rdi, qword [rax]
mov rax, qword [0x1403cf6d0]
mov rcx, rdi
call rax
mov rax, rdi
lea r8, [rbp - 0x38]
lea rdx, [0x1403d7040]
mov rcx, rbx
call rax
xor edi, edi
mov esi, eax
test eax, eax
jns 0x1401698f9
mov ecx, eax
call fcn.140082a8c
mov ecx, esi
call fcn.140082b34
lea rax, [0x1400342dc]
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x28]
lea rax, [rbp - 0x30]
mov ebx, 3
xor r9d, r9d
mov qword [rbp - 0x10], rax
mov r8, r14
mov qword [rbp - 0x28], rbx
mov ecx, 0xb9
call sub.ntdll.dll_NtQuerySystemInformation
test esi, esi
jns 0x140169941
mov ecx, esi
call fcn.140082a8c
jmp 0x140169996
mov rax, qword [rbp + 0x68]
mov r8, r12
mov r9, qword [rbp - 0x38]
mov rdx, r13
mov rcx, qword [rbp + 0x30]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x20], rax
call fcn.14016cf3c
mov esi, eax
test eax, eax
jns 0x140169979
mov ecx, eax
jmp 0x14016993a
mov rax, qword [rbp - 0x38]
mov rcx, qword [rbp + 0x50]
mov edx, dword [rax + 0x10]
mov dword [rcx], edx
mov rdx, qword [rax + 8]
mov qword [rax + 8], rdi
and qword [rax + 0x10], 0
mov qword [r15], rdx
mov ecx, esi
call fcn.140082b34
lea rax, [0x14003259c]
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x28]
lea rax, [rbp - 0x38]
mov qword [rbp - 0x18], rdi
xor r9d, r9d
mov qword [rbp - 0x10], rax
mov r8, r14
mov ecx, 0xb9
call sub.ntdll.dll_NtQuerySystemInformation
lea r11, [rsp + 0x80]
mov eax, esi
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret