Function at 0x1400a808c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14017d140]
xor rax, rsp
mov qword [rbp - 0x10], rax
and qword [rbp - 0x50], 0
mov r13d, ecx
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x30]
mov ebx, edx
xor edx, edx
mov qword [rbp - 0x30], r8
lea r8d, [rdx + 0x6a]
xor r14b, r14b
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor r15d, r15d
xor r12d, r12d
mov rsi, rax
test rax, rax
jne 0x1400a80fe
mov ebx, 0xc0000017
jmp 0x1400a82e1
test bl, 1
je 0x1400a8182
and qword [rbp - 0x40], r12
lea r9, [rbp - 0x48]
lea r8, [rbp - 0x40]
lea rdx, [0x140169c10]
lea rcx, [0x140169c90]
call fcn.1400a7684
mov rdi, qword [rbp - 0x40]
mov ebx, eax
test eax, eax
js 0x1400a8157
cmp dword [rbp - 0x48], 4
jae 0x1400a8139
mov ebx, 0xc0000001
jmp 0x1400a8157
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x34]
mov rcx, rdi
call fcn.1400a79ac
mov ebx, eax
test eax, eax
js 0x1400a8157
mov r15d, dword [rbp - 0x34]
mov r12d, dword [rbp - 0x38]
test rdi, rdi
je 0x1400a8175
mov rcx, qword gs:[0x60]
mov r8, qword [rbp - 0x40]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
test ebx, ebx
js 0x1400a8182
mov rdi, qword [rbp - 0x50]
jmp 0x1400a826e
xor r9d, r9d
lea rdx, [rbp - 0x28]
lea r8d, [r9 + 0x18]
lea ecx, [r9 + 7]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
test eax, eax
js 0x1400a82a7
xor ebx, ebx
cmp dword [rbp - 0x28], ebx
jbe 0x1400a82a2
mov rdi, qword [rbp - 0x50]
and qword [rsp + 0x20], 0
lea r8, [0x1401696b0]
mov r9d, ebx
mov edx, UnregisterTraceGuids
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_swprintf_s]
test rdi, rdi
je 0x1400a81f1
mov rcx, qword gs:[0x60]
mov r8, qword [rbp - 0x50]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
and qword [rbp - 0x50], 0
lea rdx, [rbp - 0x50]
mov rcx, rsi
call fcn.1400a7b58
mov rdi, qword [rbp - 0x50]
test eax, eax
js 0x1400a825c
cmp dword [rdi], 1
jne 0x1400a825c
xor r9d, r9d
cmp dword [rdi + 4], r9d
jbe 0x1400a825c
lea rdx, [rdi + 0x48]
mov r8, qword [rdx + 8]
lea rcx, [0x1400094a8]
cmp r8, qword [rcx]
jne 0x1400a8235
mov r8, qword [rdx + 0x10]
cmp r8, qword [rcx + 8]
jne 0x1400a8235
xor eax, eax
jmp 0x1400a823a
sbb eax, eax
sbb eax, reloc.ADVAPI32.dll_TraceEvent
test eax, eax
jne 0x1400a824c
test r14b, r14b
jne 0x1400a829b
mov r12d, dword [rdx]
mov r14b, 1
mov r15d, ebx
inc r9d
add rdx, 0x90
cmp r9d, dword [rdi + 4]
jb 0x1400a8217
inc ebx
cmp ebx, dword [rbp - 0x28]
jb 0x1400a81b0
test r14b, r14b
je 0x1400a82a2
xor ebx, ebx
neg r13d
lea r8, [0x1401696b0]
mov r9d, r15d
sbb eax, eax
mov edx, UnregisterTraceGuids
mov rcx, rsi
and eax, r12d
mov dword [rsp + 0x20], eax
call qword [sym.imp.msvcrt.dll_swprintf_s]
mov r11, qword [rbp - 0x30]
mov qword [r11], rsi
jmp 0x1400a82c3
mov ebx, 0xc0000451
jmp 0x1400a82a7
mov ebx, 0xc0000452
mov rcx, qword gs:[0x60]
mov r8, rsi
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rdi, qword [rbp - 0x50]
test rdi, rdi
je 0x1400a82e1
mov rcx, qword gs:[0x60]
mov r8, qword [rbp - 0x50]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140168920
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret