Function at 0x14017a3a4
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 0x14017a445
cmp dword [0x140438e08], 1
cmove rax, qword [0x140438510]
mov qword [rbp - 0x30], rax
mov rax, qword [rcx]
mov r13, qword [rax + 0x178]
mov rcx, r13
call qword [0x1403b8660]
mov rdx, qword [rbp - 0x30]
lea r8, [rbp - 0x50]
mov rcx, qword [rbp - 0x40]
call r13
mov r13d, eax
test eax, eax
jns 0x14017a6f2
mov ecx, eax
call fcn.14007ab24
jmp 0x14017a6ff
cmp dword [0x140438e08], 1
cmove rax, qword [0x1404384b0]
mov qword [rbp - 0x28], rax
mov rax, qword [rcx]
mov r13, qword [rax + 0x178]
mov rcx, r13
call qword [0x1403b8660]
mov rdx, qword [rbp - 0x28]
lea r8, [rbp - 0x50]
mov rcx, qword [rbp - 0x40]
call r13
mov r13d, eax
test eax, eax
js 0x14017a439
mov rax, qword [rbp + 0x48]
xor r8d, r8d
cmp dword [0x140438e08], 1
mov rcx, qword [rbp + 0x40]
cmove r8, qword [0x140438608]
mov r9d, dword [rax]
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rcx + 0x18]
call fcn.14017d220
mov r13d, eax
test eax, eax
js 0x14017a439
mov rax, qword [rbp + 0x48]
xor r8d, r8d
cmp dword [0x140438e08], 1
mov rdx, qword [rbp - 0x50]
cmove r8, qword [0x140438610]
mov r9, qword [rax + 0x10]
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax + 0x18]
call fcn.14017d084
mov r13d, eax
test eax, eax
js 0x14017a439
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.14007ab44
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x40]
call fcn.14017c364
mov r13d, eax
test eax, eax
jns 0x14017a534
mov ecx, eax
call fcn.14007ab24
mov rdi, qword [rbp - 0x48]
jmp 0x14017a6ff
mov rdi, qword [rbp - 0x48]
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r12, rax
test rax, rax
jne 0x14017a556
mov ecx, 0x8007000e
mov r13d, ecx
jmp 0x14017a43b
mov rdx, qword [rbp - 0x50]
xor r8d, r8d
cmp dword [0x140438e08], 1
mov r9, rax
mov rax, qword [rbp + 0x40]
cmove r8, qword [0x140438618]
mov rcx, qword [rax + 0x18]
call fcn.14015fd2c
mov r13d, eax
test eax, eax
js 0x14017a439
mov rax, qword [rbp + 0x48]
xor r8d, r8d
cmp dword [0x140438e08], 1
mov rdx, qword [rbp - 0x50]
cmove r8, qword [0x140438620]
mov r9, qword [rax + 8]
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax + 0x18]
call fcn.14017d084
mov r13d, eax
test eax, eax
js 0x14017a439
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.14007ab44
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x40]
call fcn.14017c364
mov r13d, eax
test eax, eax
jns 0x14017a609
mov ecx, eax
call fcn.14007ab24
mov rsi, qword [rbp - 0x38]
jmp 0x14017a6ff
mov rsi, qword [rbp - 0x38]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r15, rax
test rax, rax
je 0x14017a549
mov rdx, qword [rbp - 0x50]
xor r8d, r8d
cmp dword [0x140438e08], 1
mov r9, rax
mov rax, qword [rbp + 0x40]
cmove r8, qword [0x140438628]
mov rcx, qword [rax + 0x18]
call fcn.14015fd2c
mov r13d, eax
test eax, eax
js 0x14017a439
mov rax, qword [rbp + 0x48]
xor r8d, r8d
cmp dword [0x140438e08], 1
mov rdx, qword [rbp - 0x50]
cmove r8, qword [0x140438630]
mov r9, qword [rax + 0x18]
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax + 0x18]
call fcn.14017d084
mov r13d, eax
test eax, eax
js 0x14017a439
mov rax, qword [rbp + 0x48]
lea rdx, [rbp - 0x30]
mov rcx, qword [rax + 0x18]
call fcn.14017c124
mov r13d, eax
test eax, eax
jns 0x14017a6ae
mov ecx, eax
call fcn.14007ab24
mov rbx, qword [rbp - 0x30]
jmp 0x14017a6ff
mov rbx, qword [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r14, rax
test rax, rax
je 0x14017a549
mov rdx, qword [rbp - 0x50]
xor r8d, r8d
cmp dword [0x140438e08], 1
mov r9, rax
mov rax, qword [rbp + 0x40]
cmove r8, qword [0x140438638]
mov rcx, qword [rax + 0x18]
call fcn.14015fd2c
jmp 0x14017a42e
mov rdx, qword [rbp + 0x58]
mov rcx, qword [rbp - 0x50]
call fcn.140077a84
mov ecx, r13d
call fcn.14007ab44
test r14, r14
je 0x14017a715
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rbx, rbx
je 0x14017a736
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.14007ab44
test r15, r15
je 0x14017a744
mov rcx, r15
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rsi, rsi
je 0x14017a765
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.14007ab44
test r12, r12
je 0x14017a773
mov rcx, r12
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rdi, rdi
je 0x14017a794
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.14007ab44
and qword [rbp - 0x10], 0
lea rax, [0x14001cb78]
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