Function at 0x14017554c
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
mov qword [rbp - 0x40], rcx
xor eax, eax
cmp r8d, 0x20
je 0x1401755ed
cmp dword [0x14042fef8], 1
cmove rax, qword [0x14042f610]
mov qword [rbp - 0x30], rax
mov rax, qword [rcx]
mov r13, qword [rax + 0x178]
mov rcx, r13
call qword [0x1403af620]
mov rdx, qword [rbp - 0x30]
lea r8, [rbp - 0x50]
mov rcx, qword [rbp - 0x40]
call r13
mov r13d, eax
test eax, eax
jns 0x14017589a
mov ecx, eax
call fcn.1400790f8
jmp 0x1401758a7
cmp dword [0x14042fef8], 1
cmove rax, qword [0x14042f5b0]
mov qword [rbp - 0x28], rax
mov rax, qword [rcx]
mov r13, qword [rax + 0x178]
mov rcx, r13
call qword [0x1403af620]
mov rdx, qword [rbp - 0x28]
lea r8, [rbp - 0x50]
mov rcx, qword [rbp - 0x40]
call r13
mov r13d, eax
test eax, eax
js 0x1401755e1
mov rax, qword [rbp + 0x48]
xor r8d, r8d
cmp dword [0x14042fef8], 1
mov rcx, qword [rbp + 0x40]
cmove r8, qword [0x14042f708]
mov r9d, dword [rax]
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rcx + 0x18]
call fcn.1401783b8
mov r13d, eax
test eax, eax
js 0x1401755e1
mov rax, qword [rbp + 0x48]
xor r8d, r8d
cmp dword [0x14042fef8], 1
mov rdx, qword [rbp - 0x50]
cmove r8, qword [0x14042f710]
mov r9, qword [rax + 0x10]
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax + 0x18]
call fcn.14017821c
mov r13d, eax
test eax, eax
js 0x1401755e1
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.140079118
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x40]
call fcn.140177504
mov r13d, eax
test eax, eax
jns 0x1401756dc
mov ecx, eax
call fcn.1400790f8
mov rdi, qword [rbp - 0x48]
jmp 0x1401758a7
mov rdi, qword [rbp - 0x48]
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r12, rax
test rax, rax
jne 0x1401756fe
mov ecx, 0x8007000e
mov r13d, ecx
jmp 0x1401755e3
mov rdx, qword [rbp - 0x50]
xor r8d, r8d
cmp dword [0x14042fef8], 1
mov r9, rax
mov rax, qword [rbp + 0x40]
cmove r8, qword [0x14042f718]
mov rcx, qword [rax + 0x18]
call fcn.14015acfc
mov r13d, eax
test eax, eax
js 0x1401755e1
mov rax, qword [rbp + 0x48]
xor r8d, r8d
cmp dword [0x14042fef8], 1
mov rdx, qword [rbp - 0x50]
cmove r8, qword [0x14042f720]
mov r9, qword [rax + 8]
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax + 0x18]
call fcn.14017821c
mov r13d, eax
test eax, eax
js 0x1401755e1
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.140079118
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x40]
call fcn.140177504
mov r13d, eax
test eax, eax
jns 0x1401757b1
mov ecx, eax
call fcn.1400790f8
mov rsi, qword [rbp - 0x38]
jmp 0x1401758a7
mov rsi, qword [rbp - 0x38]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r15, rax
test rax, rax
je 0x1401756f1
mov rdx, qword [rbp - 0x50]
xor r8d, r8d
cmp dword [0x14042fef8], 1
mov r9, rax
mov rax, qword [rbp + 0x40]
cmove r8, qword [0x14042f728]
mov rcx, qword [rax + 0x18]
call fcn.14015acfc
mov r13d, eax
test eax, eax
js 0x1401755e1
mov rax, qword [rbp + 0x48]
xor r8d, r8d
cmp dword [0x14042fef8], 1
mov rdx, qword [rbp - 0x50]
cmove r8, qword [0x14042f730]
mov r9, qword [rax + 0x18]
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax + 0x18]
call fcn.14017821c
mov r13d, eax
test eax, eax
js 0x1401755e1
mov rax, qword [rbp + 0x48]
lea rdx, [rbp - 0x30]
mov rcx, qword [rax + 0x18]
call fcn.1401772c4
mov r13d, eax
test eax, eax
jns 0x140175856
mov ecx, eax
call fcn.1400790f8
mov rbx, qword [rbp - 0x30]
jmp 0x1401758a7
mov rbx, qword [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r14, rax
test rax, rax
je 0x1401756f1
mov rdx, qword [rbp - 0x50]
xor r8d, r8d
cmp dword [0x14042fef8], 1
mov r9, rax
mov rax, qword [rbp + 0x40]
cmove r8, qword [0x14042f738]
mov rcx, qword [rax + 0x18]
call fcn.14015acfc
jmp 0x1401755d6
mov rdx, qword [rbp + 0x58]
mov rcx, qword [rbp - 0x50]
call fcn.14007613c
mov ecx, r13d
call fcn.140079118
test r14, r14
je 0x1401758bd
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rbx, rbx
je 0x1401758de
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.140079118
test r15, r15
je 0x1401758ec
mov rcx, r15
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rsi, rsi
je 0x14017590d
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.140079118
test r12, r12
je 0x14017591b
mov rcx, r12
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rdi, rdi
je 0x14017593c
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.140079118
and qword [rbp - 0x10], 0
lea rax, [0x140011f38]
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