Function at 0x14005b744
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov rax, qword [0x140425b28]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov esi, edx
mov rdi, rcx
xor r15d, r15d
lea rcx, [rbp - 0x39]
xor edx, edx
xor r12d, r12d
lea r8d, [r15 + 0x54]
call sub.msvcrt.dll_memset
xor ebx, ebx
mov qword [rbp - 0x51], rbx
test rdi, rdi
jne 0x14005b7c0
lea rdx, [0x140427990]
lea rcx, [0x1404196c8]
call fcn.1400e90f0
mov r14d, 0x80070057
mov ecx, r14d
call fcn.1400790f8
jmp 0x14005b9bc
mov r15, qword [0x14042eab0]
add r15, 8
je 0x14005b7f1
lea rdx, [0x14042deb8]
lea rcx, [0x140408488]
call fcn.1400e9ac8
mov r12d, 1
mov rcx, r15
mov edx, r12d
call fcn.140071b04
lea rax, [0x140003538]
mov qword [rbp - 0x71], rdi
mov qword [rsp + 0x28], rax
lea rdx, [0x140427708]
lea rax, [rbp - 0x61]
mov r13d, 3
mov qword [rbp - 0x79], rax
lea rcx, [0x14040770c]
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], r13
mov qword [rbp - 0x69], rax
call fcn.1400e9438
lea edi, [r13 + 0x25]
xor r9d, r9d
mov r8d, edi
lea rdx, [rsp + 0x20]
mov ecx, 0xb9
call sub.ntdll.dll_NtQuerySystemInformation
mov r14d, dword [rbp - 0x61]
cmp r14d, 0xc004f012
jne 0x14005b860
mov r14d, 0xc004f015
jmp 0x14005b7b3
test r14d, r14d
jns 0x14005b87d
lea rdx, [0x1404283c8]
lea rcx, [0x14040a574]
call fcn.1400e977c
jmp 0x14005b7b3
mov eax, dword [rbp + 0x17]
and eax, 2
test al, al
je 0x14005b892
mov r14d, 0xc004f016
jmp 0x14005b7b3
lea rax, [0x1400048b8]
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
lea rax, [rbp - 0x5d]
xor r9d, r9d
mov qword [rbp - 0x79], rax
mov r8, rdi
lea rax, [rbp - 0x39]
mov ecx, 0xb9
mov qword [rbp - 0x71], rax
lea rax, [rbp - 0x59]
mov qword [rbp - 0x69], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp - 0x5d]
test ecx, ecx
jns 0x14005b8e7
cmp ecx, 0xc004d304
je 0x14005b8ec
mov r14d, ecx
jmp 0x14005b7b6
cmp dword [rbp - 0x59], ebx
jl 0x14005b8f8
test esi, esi
je 0x14005b8f8
xor r14d, r14d
jmp 0x14005b9bc
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x39]
call fcn.1400520dc
mov rbx, qword [rbp - 0x51]
test eax, eax
js 0x14005b931
mov rsi, qword [0x14042eb40]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x38]
mov rcx, rdi
call qword [0x1403af620]
mov rdx, rbx
mov rcx, rsi
call rdi
mov edi, 0x28
lea rax, [0x140004238]
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
lea rax, [rbp - 0x49]
mov esi, 0xb9
mov qword [rbp - 0x79], rax
xor r9d, r9d
lea rax, [rbp - 0x39]
mov r8, rdi
mov ecx, esi
mov qword [rbp - 0x71], rax
call sub.ntdll.dll_NtQuerySystemInformation
lea rax, [0x140003bb8]
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x28], rax
lea rdx, [0x1404272f8]
lea rax, [rbp - 0x45]
lea rcx, [0x1404158d8]
mov qword [rbp - 0x79], rax
call fcn.1400e8db8
lea rax, [rbp - 0x39]
xor r9d, r9d
mov r8, rdi
mov qword [rbp - 0x71], rax
lea rdx, [rsp + 0x20]
mov ecx, esi
call sub.ntdll.dll_NtQuerySystemInformation
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x39]
call fcn.140061260
mov ecx, r14d
call fcn.140079118
test rbx, rbx
je 0x14005b9d2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test r15, r15
je 0x14005b9e4
test r12d, r12d
je 0x14005b9e4
mov rcx, r15
call fcn.1400719a0
mov eax, r14d
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140368700
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret