Function at 0x140069708
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
and qword [rbp + 0x7f], 0
lea rax, [rbp + 0x77]
and qword [rbp + 0x77], 0
xor ebx, ebx
mov qword [rbp + 0x17], rax
mov r13, rdx
lea rax, [rbp + 0x7f]
mov qword [rbp + 7], rcx
mov qword [rbp + 0xf], rax
lea rdx, [rbp - 0x11]
lea rax, [0x140014e5c]
mov qword [rbp - 0x29], rbx
mov qword [rbp - 9], rax
lea r8d, [rbx + 0x30]
lea rax, [rbp + 0x67]
mov qword [rbp - 0x11], 3
xor esi, esi
mov qword [rbp - 1], rax
xor edi, edi
mov qword [rbp - 0x21], rsi
xor r9d, r9d
mov qword [rbp - 0x19], rdi
mov ecx, 0xb9
call sub.ntdll.dll_NtQuerySystemInformation
mov r14d, dword [rbp + 0x67]
test r14d, r14d
jns 0x140069798
mov ecx, r14d
jmp 0x1400699da
mov r12, qword [0x1404517e0]
mov r14, qword [rbp + 0x7f]
mov rax, qword [r12]
mov r15, qword [rax + 0xb0]
mov rax, qword [0x1403cf6d0]
mov rcx, r15
call rax
mov rax, r15
mov qword [rsp + 0x20], r14
lea r9, str.SERVER_PROPS_NAME_SPACE
mov edx, 1
lea r8, [0x1403d9eb4]
mov rcx, r12
call rax
mov r14d, eax
test eax, eax
js 0x1400699d8
mov r12, qword [0x1404517e0]
mov r14, qword [rbp + 0x77]
mov rax, qword [r12]
mov r15, qword [rax + 0xb0]
mov rax, qword [0x1403cf6d0]
mov rcx, r15
call rax
mov r9, qword [rbp + 0x7f]
lea r8, [0x1403d9eb4]
mov rax, r15
mov qword [rsp + 0x20], r14
mov edx, 1
mov rcx, r12
call rax
mov r14d, eax
test eax, eax
js 0x1400699d8
mov r8, qword [rbp + 0x77]
lea r9, str.serverproperties
lea rdx, str._s:_s
lea rcx, [rbp - 0x29]
call fcn.140081d18
mov r14d, eax
test eax, eax
jns 0x140069861
mov ecx, eax
call fcn.140082a8c
mov rbx, qword [rbp - 0x29]
jmp 0x1400699df
mov r12, qword [0x1404517e0]
mov r15, qword [r13]
mov rbx, qword [rbp - 0x29]
mov rax, qword [r12]
mov r14, qword [rax + 0x48]
mov rax, qword [0x1403cf6d0]
mov rcx, r14
call rax
xor ecx, ecx
lea r8, [0x1403d9eb4]
mov qword [rsp + 0x40], rcx
mov rax, r14
mov qword [rsp + 0x38], rcx
mov r9, rbx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
lea edx, [rcx + 1]
mov rcx, r12
mov qword [rsp + 0x20], r15
call rax
mov r14d, eax
test eax, eax
js 0x1400699d8
mov r8, qword [rbp + 0x77]
lea r9, [0x1403d9e3c]
lea rdx, str._s:_s
lea rcx, [rbp - 0x21]
call fcn.140081d18
mov r14d, eax
test eax, eax
jns 0x1400698f1
mov ecx, eax
call fcn.140082a8c
mov rsi, qword [rbp - 0x21]
jmp 0x1400699df
mov r12, qword [0x1404517e0]
mov r15, qword [r13 + 8]
mov rsi, qword [rbp - 0x21]
mov rax, qword [r12]
mov r14, qword [rax + 0x48]
mov rax, qword [0x1403cf6d0]
mov rcx, r14
call rax
xor ecx, ecx
lea r8, [0x1403d9eb4]
mov qword [rsp + 0x40], rcx
mov rax, r14
mov qword [rsp + 0x38], rcx
mov r9, rsi
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
lea edx, [rcx + 1]
mov rcx, r12
mov qword [rsp + 0x20], r15
call rax
mov r14d, eax
test eax, eax
js 0x1400699d8
mov r8, qword [rbp + 0x77]
lea r9, str.avskey
lea rdx, str._s:_s
lea rcx, [rbp - 0x19]
call fcn.140081d18
mov r14d, eax
test eax, eax
jns 0x14006997e
mov ecx, eax
call fcn.140082a8c
mov rdi, qword [rbp - 0x19]
jmp 0x1400699df
mov r12, qword [0x1404517e0]
mov r15, qword [r13 + 0x10]
mov rdi, qword [rbp - 0x19]
mov rax, qword [r12]
mov r14, qword [rax + 0x48]
mov rax, qword [0x1403cf6d0]
mov rcx, r14
call rax
xor ecx, ecx
lea r8, [0x1403d9eb4]
mov qword [rsp + 0x40], rcx
mov rax, r14
mov qword [rsp + 0x38], rcx
mov r9, rdi
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
lea edx, [rcx + 1]
mov rcx, r12
mov qword [rsp + 0x20], r15
call rax
mov r14d, eax
test eax, eax
jns 0x1400699df
mov ecx, eax
call fcn.140082a8c
mov ecx, r14d
call fcn.140082b34
test rdi, rdi
je 0x140069a08
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rdi - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140082b34
test rsi, rsi
je 0x140069a29
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rsi - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140082b34
test rbx, rbx
je 0x140069a4a
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rbx - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140082b34
mov rax, qword [rbp + 0x77]
test rax, rax
je 0x140069a77
lea rbx, [rax - 4]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140082b34
and qword [rbp + 0x77], 0
mov rax, qword [rbp + 0x7f]
test rax, rax
je 0x140069a9f
lea rbx, [rax - 4]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140082b34
mov rbx, qword [rsp + 0xe8]
mov eax, r14d
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret