Function at 0x14008cd50
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
lea rbp, [rax - 0x47]
sub rsp, 0xc0
xor eax, eax
lea rcx, [rbp - 0x39]
mov qword [rbp - 0x39], rax
mov edi, eax
mov qword [rbp - 0x41], rax
mov esi, eax
mov qword [rbp - 0x51], rax
mov r14d, eax
mov qword [rbp - 0x59], rax
mov r12d, r9d
mov qword [rbp - 0x49], rax
mov r15, r8
mov qword [rbp - 0x29], rax
mov r13d, edx
call fcn.14016f944
mov ebx, eax
test eax, eax
jns 0x14008cdbf
mov ecx, eax
call fcn.14007ac40
xor r13d, r13d
jmp 0x14008cff6
test r15, r15
je 0x14008ce38
mov rdx, qword [rbp - 0x39]
lea rcx, [rbp - 0x41]
mov dword [rsp + 0x30], r13d
mov r9d, 0x2040
xor r13d, r13d
mov r8d, 0x30000
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r15
call fcn.14016fb10
mov ebx, eax
test eax, eax
jns 0x14008ce01
mov ecx, eax
call fcn.14007ac40
jmp 0x14008cff6
mov r8, qword [rbp + 0x6f]
lea rax, [rbp - 0x59]
mov rcx, qword [rbp - 0x41]
lea r9, [rbp - 0x61]
mov edx, r12d
mov qword [rsp + 0x20], rax
call fcn.14008eca4
mov ebx, eax
test eax, eax
jns 0x14008cece
mov ecx, eax
call fcn.14007ac40
mov rdi, qword [rbp - 0x59]
jmp 0x14008cff6
lea rax, [0x14000ca1c]
mov qword [rbp - 0x21], 3
mov qword [rbp - 0x19], rax
lea rdx, [rbp - 0x21]
lea rax, [rbp - 0x31]
mov dword [rbp - 1], r12d
mov qword [rbp - 0x11], rax
xor r9d, r9d
mov rax, qword [rbp + 0x6f]
mov ecx, 0xb9
mov qword [rbp - 9], rax
lea rax, [rbp - 0x51]
mov qword [rbp + 3], rax
lea rax, [rbp - 0x61]
lea r8d, [r9 + 0x34]
mov qword [rbp + 0xb], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp - 0x31]
xor r13d, r13d
test ebx, ebx
jns 0x14008ce95
mov ecx, ebx
jmp 0x14008cdf7
mov r8d, dword [rbp - 0x61]
lea rcx, [rbp - 0x59]
mov rdx, qword [rbp - 0x51]
call fcn.14008eb04
mov ebx, eax
test eax, eax
js 0x14008ce28
mov ecx, dword [rbp - 0x61]
xor eax, eax
mov rdi, qword [rbp - 0x51]
rep stosb byte [rdi], al
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x14008cece
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rbp - 0x51], r13
mov eax, dword [rbp - 0x61]
lea rcx, [rbp - 0x49]
mov rdi, qword [rbp - 0x59]
mov r9d, 0x20040
mov rdx, qword [rbp - 0x39]
mov r8d, 0x30001
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rdi
call fcn.14016fb10
mov ebx, eax
test eax, eax
js 0x14008cdf5
mov eax, dword [rbp + 0x77]
cmp eax, 0xc
ja 0x14008cf18
mov ebx, 0x8007000d
jmp 0x14008ce8e
lea r12d, [rax - 0xc]
mov ecx, 0x40
mov edx, r12d
mov r13d, r12d
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x14008cfb3
mov rdx, qword [rbp + 0x7f]
mov r8d, r13d
add rdx, 0xc
mov rcx, rax
mov rsi, rax
call sub.msvcrt.dll_memcpy
mov r10d, r12d
mov r13, r14
shr r10d, 1
mov r9d, r13d
je 0x14008cf7d
mov r8, rbx
mov eax, r12d
sub eax, r9d
inc r9d
dec eax
mov edx, eax
mov cl, byte [rax + rbx]
mov al, byte [r8]
mov byte [rdx + rbx], al
mov byte [r8], cl
inc r8
cmp r9d, r10d
jb 0x14008cf5c
xor ecx, ecx
call fcn.14007ace8
mov rcx, qword [rbp - 0x49]
lea rax, [rbp - 0x29]
lea r9, [rbp - 0x59]
mov qword [rsp + 0x20], rax
mov r8, rbx
mov edx, r12d
call fcn.14008eb90
mov ebx, eax
test eax, eax
jns 0x14008cfc0
mov ecx, eax
call fcn.14007ac40
mov r14, qword [rbp - 0x29]
jmp 0x14008cff6
xor r13d, r13d
mov ebx, 0x8007000e
jmp 0x14008ce8e
mov r12, qword [rbp + 0x4f]
mov r15, qword [rbp - 0x29]
mov rcx, qword [r12 + 8]
test rcx, rcx
je 0x14008cfe0
cmp dword [0x14045d4e0], r13d
je 0x14008cfe0
call fcn.14018d8f0
test r15, r15
mov rax, r13
cmovne rax, r15
mov qword [r12 + 8], rax
mov eax, dword [rbp - 0x59]
mov dword [r12], eax
mov ecx, ebx
call fcn.14007ace8
test r14, r14
je 0x14008d013
cmp dword [0x14045d4e0], r13d
je 0x14008d013
mov rcx, r14
call fcn.14018d8f0
test rsi, rsi
je 0x14008d021
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x14008d033
call fcn.14016f53c
mov qword [rbp - 0x49], r13
test rdi, rdi
je 0x14008d049
cmp dword [0x14045d4e0], r13d
je 0x14008d049
mov rcx, rdi
call fcn.14018d8f0
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x14008d05c
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rbp - 0x51], r13
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x14008d06e
call fcn.14016f53c
mov qword [rbp - 0x41], r13
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x14008d07c
call fcn.14016f53c
lea r11, [rsp + 0xc0]
mov eax, ebx
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