Function at 0x140062e68
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 - 0x38]
sub rsp, 0x110
mov rax, qword [0x140448b38]
xor rax, rsp
mov qword [rbp], rax
mov r13d, edx
mov rsi, rcx
lea rdx, [0x14044b338]
xor r15d, r15d
lea rcx, [0x14042beb0]
xor r12d, r12d
call fcn.1400f74d8
xor edx, edx
lea r8d, [r15 + 0x54]
lea rcx, [rbp - 0x60]
call sub.msvcrt.dll_memset
xor eax, eax
lea rcx, [rbp - 0x80]
xor ebx, ebx
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x40], rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rdx, [0x14044a958]
mov edi, eax
lea rcx, [0x14043a278]
call fcn.1400f6e28
test edi, edi
jne 0x140062f27
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140062f09
mov r14d, 0x80004005
jmp 0x140062f1a
movzx r14d, ax
or r14d, 0x80070000
test eax, eax
cmovle r14d, eax
mov ecx, r14d
call fcn.140082a8c
jmp 0x14006311d
test rsi, rsi
jne 0x140062f34
mov r14d, 0x80070057
jmp 0x140062f1a
mov r15, qword [0x140451770]
test r15, r15
jne 0x140062f48
mov r15d, 8
jmp 0x140062f4e
add r15, 8
je 0x140062f5f
mov r12d, 1
mov rcx, r15
mov edx, r12d
call fcn.14007afcc
mov edi, 3
mov qword [rsp + 0x60], rsi
lea rax, [0x14001109c]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x58], rax
lea esi, [rdi + 0x25]
lea rax, [rbp - 0x60]
mov r8d, esi
mov ecx, 0xb9
mov qword [rsp + 0x68], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov r14d, dword [rsp + 0x70]
cmp r14d, 0xc004f012
jne 0x140062fbe
mov r14d, 0xc004f015
jmp 0x140062f1a
test r14d, r14d
js 0x140062f1a
mov eax, dword [rbp - 0x10]
test al, 2
je 0x140062fd9
mov r14d, 0xc004f016
jmp 0x140062f1a
lea rax, [0x140010d5c]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
lea rax, [rsp + 0x74]
xor r9d, r9d
mov qword [rsp + 0x58], rax
mov r8, rsi
lea rax, [rbp - 0x60]
mov ecx, 0xb9
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x68], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rsp + 0x74]
test ecx, ecx
jns 0x140063034
cmp ecx, 0xc004d304
je 0x14006303a
mov r14d, ecx
jmp 0x140062f1d
cmp dword [rsp + 0x78], ebx
jl 0x140063047
test r13d, r13d
je 0x140063047
xor r14d, r14d
jmp 0x14006311d
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.1400574ec
mov rbx, qword [rsp + 0x40]
test eax, eax
js 0x14006308b
mov rsi, qword [0x140451800]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x38]
mov rax, qword [0x1403cf6d0]
mov rcx, rdi
call rax
mov rax, rdi
mov rdx, rbx
mov rcx, rsi
call rax
mov edi, 3
lea esi, [rdi + 0x25]
lea rax, [0x1400106dc]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rax
lea rdx, [0x140450b58]
lea rax, [rbp - 0x78]
lea rcx, [0x140429f28]
mov qword [rsp + 0x58], rax
call fcn.1400f7830
lea rax, [rbp - 0x60]
mov r13d, 0xb9
mov ecx, r13d
mov qword [rsp + 0x60], rax
xor r9d, r9d
lea rdx, [rsp + 0x48]
mov r8, rsi
call sub.ntdll.dll_NtQuerySystemInformation
lea rax, [0x14001005c]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
lea rax, [rbp - 0x74]
xor r9d, r9d
mov qword [rsp + 0x58], rax
mov r8, rsi
lea rax, [rbp - 0x60]
mov ecx, r13d
mov qword [rsp + 0x60], rax
call sub.ntdll.dll_NtQuerySystemInformation
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x60]
call fcn.140069588
cmp dword [0x140448890], 5
jbe 0x1400631a1
movabs rdi, 0x400000000000
test qword [0x1404488a0], rdi
je 0x1400631a1
lea rdx, [0x14044a360]
lea rcx, [0x1404368d0]
call fcn.1400f6ac8
mov rax, qword [0x1404488a8]
and rax, rdi
cmp rax, qword [0x1404488a8]
jne 0x1400631a1
mov rcx, qword [rbp - 0x80]
call fcn.140081938
mov qword [rbp - 0x70], rax
lea rdx, [0x14043c62c]
lea rax, [rbp - 0x70]
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x68], 0x1000000
call fcn.1400014e0
mov ecx, r14d
call fcn.140082b34
test rbx, rbx
je 0x1400631b7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test r15, r15
je 0x1400631dc
lea rdx, [0x14044a70c]
lea rcx, [0x140429244]
call fcn.1400f7184
test r12d, r12d
je 0x1400631dc
mov rcx, r15
call fcn.14007ae68
mov eax, r14d
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140389660
lea r11, [rsp + 0x110]
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