Function at 0x1401722cc
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], r9
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
and qword [rbp - 0x50], 0
xor edi, edi
mov rcx, qword [rcx + 0x18]
xor esi, esi
xor ebx, ebx
mov qword [rbp - 0x48], rdi
xor r12d, r12d
mov qword [rbp - 0x38], rsi
xor r15d, r15d
mov qword [rbp - 0x30], rbx
xor r14d, r14d
xor eax, eax
cmp r8d, 0x20
je 0x14017236d
cmp dword [0x1404230f8], 1
mov qword [rbp - 0x38], rcx
cmove rax, qword [0x140422810]
mov qword [rbp - 0x30], rax
mov rax, qword [rcx]
mov r13, qword [rax + 0x178]
mov rcx, r13
call qword [0x1403a2250]
mov rdx, qword [rbp - 0x30]
lea r8, [rbp - 0x50]
mov rcx, qword [rbp - 0x38]
call r13
mov r13d, eax
test eax, eax
jns 0x14017261e
mov ecx, eax
call fcn.140078308
jmp 0x14017262b
cmp dword [0x1404230f8], 1
mov qword [rbp - 0x28], rcx
cmove rax, qword [0x1404227b0]
mov qword [rbp - 0x40], rax
mov rax, qword [rcx]
mov r13, qword [rax + 0x178]
mov rcx, r13
call qword [0x1403a2250]
mov rdx, qword [rbp - 0x40]
lea r8, [rbp - 0x50]
mov rcx, qword [rbp - 0x28]
call r13
mov r13d, eax
test eax, eax
js 0x140172361
mov rax, qword [rbp + 0x48]
xor r8d, r8d
cmp dword [0x1404230f8], 1
mov rcx, qword [rbp + 0x40]
cmove r8, qword [0x140422908]
mov r9d, dword [rax]
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rcx + 0x18]
call fcn.1401750e8
mov r13d, eax
test eax, eax
js 0x140172361
mov rax, qword [rbp + 0x48]
xor r8d, r8d
cmp dword [0x1404230f8], 1
mov rdx, qword [rbp - 0x50]
cmove r8, qword [0x140422910]
mov r9, qword [rax + 0x10]
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax + 0x18]
call fcn.140174f50
mov r13d, eax
test eax, eax
js 0x140172361
mov rax, qword [rbp + 0x48]
imul rax, qword [rax + 0x10], 0x2710
mov rcx, rax
mov dword [rbp - 0x40], eax
shr rcx, 0x20
mov dword [rbp - 0x3c], ecx
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x40], rax
xor ecx, ecx
call fcn.140078324
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x40]
call fcn.140174248
mov r13d, eax
test eax, eax
jns 0x140172460
mov ecx, eax
call fcn.140078308
mov rdi, qword [rbp - 0x48]
jmp 0x14017262b
mov rdi, qword [rbp - 0x48]
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r12, rax
test rax, rax
jne 0x140172482
mov ecx, 0x8007000e
mov r13d, ecx
jmp 0x140172363
mov rdx, qword [rbp - 0x50]
xor r8d, r8d
cmp dword [0x1404230f8], 1
mov r9, rax
mov rax, qword [rbp + 0x40]
cmove r8, qword [0x140422918]
mov rcx, qword [rax + 0x18]
call fcn.1401584f8
mov r13d, eax
test eax, eax
js 0x140172361
mov rax, qword [rbp + 0x48]
xor r8d, r8d
cmp dword [0x1404230f8], 1
mov rdx, qword [rbp - 0x50]
cmove r8, qword [0x140422920]
mov r9, qword [rax + 8]
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax + 0x18]
call fcn.140174f50
mov r13d, eax
test eax, eax
js 0x140172361
mov rax, qword [rbp + 0x48]
imul rax, qword [rax + 8], 0x2710
mov rcx, rax
mov dword [rbp - 0x40], eax
shr rcx, 0x20
mov dword [rbp - 0x3c], ecx
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x40], rax
xor ecx, ecx
call fcn.140078324
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x40]
call fcn.140174248
mov r13d, eax
test eax, eax
jns 0x140172535
mov ecx, eax
call fcn.140078308
mov rsi, qword [rbp - 0x38]
jmp 0x14017262b
mov rsi, qword [rbp - 0x38]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r15, rax
test rax, rax
je 0x140172475
mov rdx, qword [rbp - 0x50]
xor r8d, r8d
cmp dword [0x1404230f8], 1
mov r9, rax
mov rax, qword [rbp + 0x40]
cmove r8, qword [0x140422928]
mov rcx, qword [rax + 0x18]
call fcn.1401584f8
mov r13d, eax
test eax, eax
js 0x140172361
mov rax, qword [rbp + 0x48]
xor r8d, r8d
cmp dword [0x1404230f8], 1
mov rdx, qword [rbp - 0x50]
cmove r8, qword [0x140422930]
mov r9, qword [rax + 0x18]
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax + 0x18]
call fcn.140174f50
mov r13d, eax
test eax, eax
js 0x140172361
mov rax, qword [rbp + 0x48]
lea rdx, [rbp - 0x30]
mov rcx, qword [rax + 0x18]
call fcn.140174010
mov r13d, eax
test eax, eax
jns 0x1401725da
mov ecx, eax
call fcn.140078308
mov rbx, qword [rbp - 0x30]
jmp 0x14017262b
mov rbx, qword [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r14, rax
test rax, rax
je 0x140172475
mov rdx, qword [rbp - 0x50]
xor r8d, r8d
cmp dword [0x1404230f8], 1
mov r9, rax
mov rax, qword [rbp + 0x40]
cmove r8, qword [0x140422938]
mov rcx, qword [rax + 0x18]
call fcn.1401584f8
jmp 0x140172356
mov rdx, qword [rbp + 0x58]
mov rcx, qword [rbp - 0x50]
call fcn.1400753a4
mov ecx, r13d
call fcn.140078324
test r14, r14
je 0x140172641
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rbx, rbx
je 0x140172662
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.140078324
test r15, r15
je 0x140172670
mov rcx, r15
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rsi, rsi
je 0x140172691
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.140078324
test r12, r12
je 0x14017269f
mov rcx, r12
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rdi, rdi
je 0x1401726c0
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.140078324
and qword [rbp - 0x10], 0
lea rax, [0x140033aa0]
xor r9d, r9d
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x20], 3
lea rdx, [rbp - 0x20]
mov qword [rbp - 8], rax
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
mov rbx, qword [rsp + 0xc0]
mov eax, r13d
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret