Function at 0x1400b1cdc
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
and qword [rbp - 0x38], 0
lea rax, [rbp + 0x58]
and qword [rbp + 0x58], 0
xor esi, esi
mov qword [rbp - 8], rax
mov r13, rdx
lea rax, [rbp - 0x38]
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x30]
lea rax, [0x1400384dc]
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x28], rax
lea r8d, [rsi + 0x30]
lea rax, [rbp + 0x40]
mov qword [rbp - 0x30], 3
xor ebx, ebx
mov qword [rbp - 0x20], rax
and qword [rbp + 0x50], rbx
xor edi, edi
xor r9d, r9d
mov qword [rbp - 0x48], rdi
mov ecx, 0xb9
mov qword [rbp - 0x40], rbx
call sub.ntdll.dll_NtQuerySystemInformation
mov r14d, dword [rbp + 0x40]
test r14d, r14d
jns 0x1400b1d69
mov ecx, r14d
jmp 0x1400b1f3e
mov r8, qword [rbp + 0x58]
lea r9, str.serverproperties
lea rdx, str._s:_s
lea rcx, [rbp - 0x50]
call fcn.140079e68
mov r14d, eax
test eax, eax
jns 0x1400b1d9b
mov ecx, eax
call fcn.14007ac40
mov rsi, qword [rbp - 0x50]
jmp 0x1400b1f43
mov r15, qword [0x14045c9f0]
mov rsi, qword [rbp - 0x50]
mov rax, qword [r15]
mov r14, qword [rax + 0x70]
mov rax, qword [0x1403d25b8]
mov rcx, r14
call rax
lea rcx, [rbp + 0x50]
mov rax, r14
mov qword [rsp + 0x20], rcx
lea r8, [0x1403dcd54]
mov rcx, r15
mov r9, rsi
mov edx, 1
call rax
mov r14d, eax
test eax, eax
js 0x1400b1f3c
mov rcx, qword [rbp + 0x50]
mov rdx, r13
call fcn.14007ab14
mov r14d, eax
test eax, eax
js 0x1400b1f3c
mov r8, qword [rbp + 0x58]
lea r9, [0x1403dccdc]
lea rdx, str._s:_s
lea rcx, [rbp - 0x48]
call fcn.140079e68
mov r14d, eax
test eax, eax
jns 0x1400b1e2d
mov ecx, eax
call fcn.14007ac40
mov rdi, qword [rbp - 0x48]
jmp 0x1400b1f43
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x1400b1e40
call qword [sym.imp.KERNEL32.dll_LocalFree]
and qword [rbp + 0x50], rbx
mov r15, qword [0x14045c9f0]
mov rdi, qword [rbp - 0x48]
mov rax, qword [r15]
mov r14, qword [rax + 0x70]
mov rax, qword [0x1403d25b8]
mov rcx, r14
call rax
lea rcx, [rbp + 0x50]
mov rax, r14
mov qword [rsp + 0x20], rcx
lea r8, [0x1403dcd54]
mov rcx, r15
mov r9, rdi
mov edx, 1
call rax
mov r14d, eax
test eax, eax
js 0x1400b1f3c
mov rcx, qword [rbp + 0x50]
lea rdx, [r13 + 8]
call fcn.14007ab14
mov r14d, eax
test eax, eax
js 0x1400b1f3c
mov r8, qword [rbp + 0x58]
lea r9, str.avskey
lea rdx, str._s:_s
lea rcx, [rbp - 0x40]
call fcn.140079e68
mov r14d, eax
test eax, eax
jns 0x1400b1ed0
mov ecx, eax
call fcn.14007ac40
mov rbx, qword [rbp - 0x40]
jmp 0x1400b1f43
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x1400b1ee3
call qword [sym.imp.KERNEL32.dll_LocalFree]
and qword [rbp + 0x50], rbx
mov r15, qword [0x14045c9f0]
mov rbx, qword [rbp - 0x40]
mov rax, qword [r15]
mov r14, qword [rax + 0x70]
mov rax, qword [0x1403d25b8]
mov rcx, r14
call rax
lea rcx, [rbp + 0x50]
mov rax, r14
mov qword [rsp + 0x20], rcx
lea r8, [0x1403dcd54]
mov rcx, r15
mov r9, rbx
mov edx, 1
call rax
mov r14d, eax
test eax, eax
js 0x1400b1f3c
mov rcx, qword [rbp + 0x50]
lea rdx, [r13 + 0x10]
call fcn.14007ab14
mov r14d, eax
test eax, eax
jns 0x1400b1f43
mov ecx, eax
call fcn.14007ac40
mov ecx, r14d
call fcn.14007ace8
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x1400b1f5f
call qword [sym.imp.KERNEL32.dll_LocalFree]
and qword [rbp + 0x50], 0
test rbx, rbx
je 0x1400b1f80
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.14007ace8
test rdi, rdi
je 0x1400b1fa1
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.14007ace8
test rsi, rsi
je 0x1400b1fc2
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.14007ace8
mov rax, qword [rbp + 0x58]
test rax, rax
je 0x1400b1fef
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.14007ace8
and qword [rbp + 0x58], 0
mov rax, qword [rbp - 0x38]
test rax, rax
je 0x1400b2017
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.14007ace8
mov eax, r14d
add rsp, 0x80
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret