Function at 0x14008a6a0
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 - 0x49]
mov qword [rbp - 0x49], rax
mov edi, eax
mov qword [rbp - 0x29], rax
mov r14d, eax
mov qword [rbp - 0x51], rax
mov ebx, eax
mov qword [rbp - 0x59], rax
mov r12d, r9d
mov qword [rbp - 0x31], rax
mov r15, r8
mov qword [rbp - 0x39], rax
mov r13d, edx
call fcn.140160fc8
mov esi, eax
test eax, eax
jns 0x14008a70c
mov ecx, eax
call fcn.1400790f8
jmp 0x14008a922
test r15, r15
je 0x14008a775
mov rdx, qword [rbp - 0x49]
lea rcx, [rbp - 0x29]
mov dword [rsp + 0x30], r13d
mov r9d, 0x2040
and dword [rsp + 0x28], ebx
mov r8d, 0x30000
mov qword [rsp + 0x20], r15
call fcn.140161224
mov esi, eax
test eax, eax
js 0x14008a700
mov r8, qword [rbp + 0x6f]
lea rax, [rbp - 0x59]
mov rcx, qword [rbp - 0x29]
lea r9, [rbp - 0x61]
mov edx, r12d
mov qword [rsp + 0x20], rax
call fcn.14008cae4
mov esi, eax
test eax, eax
jns 0x14008a808
mov ecx, eax
call fcn.1400790f8
mov rdi, qword [rbp - 0x59]
jmp 0x14008a922
lea rax, [0x140001e78]
mov qword [rbp - 0x21], 3
mov qword [rbp - 0x19], rax
lea rdx, [rbp - 0x21]
lea rax, [rbp - 0x41]
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 esi, dword [rbp - 0x41]
test esi, esi
jns 0x14008a7cf
mov ecx, esi
jmp 0x14008a702
mov r8d, dword [rbp - 0x61]
lea rcx, [rbp - 0x59]
mov rdx, qword [rbp - 0x51]
call fcn.14008c924
mov esi, eax
test eax, eax
js 0x14008a765
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 0x14008a808
call qword [sym.imp.KERNEL32.dll_LocalFree]
and qword [rbp - 0x51], rbx
mov eax, dword [rbp - 0x61]
lea rcx, [rbp - 0x31]
mov rdi, qword [rbp - 0x59]
mov r9d, 0x20040
mov rdx, qword [rbp - 0x49]
mov r8d, 0x30001
mov dword [rsp + 0x30], eax
and dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
call fcn.140161224
mov esi, eax
test eax, eax
js 0x14008a700
mov eax, dword [rbp + 0x77]
cmp eax, 0xc
ja 0x14008a851
mov esi, 0x8007000d
jmp 0x14008a7c8
lea esi, [rax - 0xc]
mov ecx, 0x40
mov edx, esi
mov r15d, esi
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r14, rax
test rax, rax
jne 0x14008a876
mov esi, 0x8007000e
jmp 0x14008a7c8
mov rdx, qword [rbp + 0x7f]
mov r8, r15
add rdx, 0xc
mov rcx, r14
call sub.msvcrt.dll_memcpy
mov r10d, esi
mov r9d, ebx
shr r10d, 1
je 0x14008a8b9
mov r8, r14
mov eax, esi
sub eax, r9d
inc r9d
dec eax
mov edx, eax
mov cl, byte [rax + r14]
mov al, byte [r8]
mov byte [rdx + r14], al
mov byte [r8], cl
inc r8
cmp r9d, r10d
jb 0x14008a897
xor ecx, ecx
call fcn.140079118
mov rcx, qword [rbp - 0x31]
lea rax, [rbp - 0x39]
lea r9, [rbp - 0x59]
mov qword [rsp + 0x20], rax
mov r8, r14
mov edx, esi
call fcn.14008c9c8
mov esi, eax
test eax, eax
jns 0x14008a8ee
mov ecx, eax
call fcn.1400790f8
mov rbx, qword [rbp - 0x39]
jmp 0x14008a922
mov r12, qword [rbp + 0x4f]
mov r15, qword [rbp - 0x39]
mov rcx, qword [r12 + 8]
test rcx, rcx
je 0x14008a90d
cmp dword [0x14042f560], ebx
je 0x14008a90d
call fcn.14017f0ac
xor eax, eax
test r15, r15
cmovne rax, r15
mov qword [r12 + 8], rax
mov eax, dword [rbp - 0x59]
mov dword [r12], eax
mov ecx, esi
call fcn.140079118
test rbx, rbx
je 0x14008a93f
cmp dword [0x14042f560], 0
je 0x14008a93f
mov rcx, rbx
call fcn.14017f0ac
test r14, r14
je 0x14008a94d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, [rbp - 0x31]
call fcn.140055a64
test rdi, rdi
je 0x14008a96c
cmp dword [0x14042f560], 0
je 0x14008a96c
mov rcx, rdi
call fcn.14017f0ac
lea rcx, [rbp - 0x51]
call fcn.14005a598
lea rcx, [rbp - 0x29]
call fcn.140055a64
lea rcx, [rbp - 0x49]
call fcn.140055a64
lea r11, [rsp + 0xc0]
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