Function at 0x1400b0b68
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x250
mov rax, qword [0x14017d140]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rsi, rcx
mov rcx, qword [0x14017d3a8]
lea r15, [0x14017d3a8]
cmp rcx, r15
je 0x1400b0bd5
test dword [rcx + 0x1c], reloc.ADVAPI32.dll_TraceEvent
je 0x1400b0bd5
cmp byte [rcx + 0x19], 4
jb 0x1400b0bd5
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000a328]
mov edx, reloc.ADVAPI32.dll_RegisterTraceGuidsW
call fcn.14001dd24
xor r14d, r14d
mov dword [rsp + 0x20], r14d
test rsi, rsi
jne 0x1400b0bfa
lea r8, [0x140009fa8]
lea rcx, [0x140009f80]
mov edx, 0xbf
call fcn.1400a8be8
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x208
mov qword [rsi], r14
call sub.msvcrt.dll_memset
xor edx, edx
lea r9, [rsp + 0x20]
lea ecx, [rdx + 0x62]
xor r8d, r8d
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, 0xc0000023
test eax, eax
jns 0x1400b0c87
cmp eax, ebx
je 0x1400b0c87
cmp eax, 0x80000005
je 0x1400b0c87
cmp eax, 0xc0000004
je 0x1400b0c87
mov ecx, eax
call fcn.14005246c
mov ebx, eax
mov rcx, qword [0x14017d3a8]
cmp rcx, r15
je 0x1400b0e1f
test byte [rcx + 0x1c], 8
je 0x1400b0df6
cmp byte [rcx + 0x19], 2
jb 0x1400b0df6
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000a328]
mov edx, CoRevokeClassObject
mov r9d, eax
call fcn.14001de24
jmp 0x1400b0def
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov rdi, rax
test rax, rax
jne 0x1400b0ca3
mov ebx, 0x8007000e
jmp 0x1400b0def
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rdi
mov ecx, 0x62
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jns 0x1400b0d18
mov ecx, eax
call fcn.14005246c
mov ebx, eax
mov rcx, qword [0x14017d3a8]
cmp rcx, r15
je 0x1400b0de6
test byte [rcx + 0x1c], 8
je 0x1400b0de6
cmp byte [rcx + 0x19], 2
jb 0x1400b0de6
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000a328]
mov edx, reloc.ole32.dll_CoRevokeClassObject
mov r9d, eax
call fcn.14001de24
jmp 0x1400b0de6
movzx edx, word [rdi]
lea rax, [rdx + 2]
cmp rax, 0x208
jbe 0x1400b0d33
mov ecx, ebx
call fcn.14005246c
jmp 0x1400b0de4
test dl, 1
je 0x1400b0d50
lea r8, [0x140009fc0]
lea rcx, [0x140009f80]
mov edx, 0xf0
call fcn.1400a8be8
movzx ecx, word [rdi]
lea eax, [rcx + 8]
cmp eax, dword [rsp + 0x20]
jbe 0x1400b0d66
mov ebx, 0x8000ffff
jmp 0x1400b0de6
mov rdx, rcx
shr rdx, 1
cmp rdx, 0x7ffffffe
jbe 0x1400b0d82
mov ebx, 0x80070057
mov word [rsp + 0x30], r14w
jmp 0x1400b0dd0
mov r9, qword [rdi + 8]
lea rax, [rsp + 0x30]
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov ebx, r14d
sub r9, rax
lea rax, [rdx - 0x104]
add rax, r8
je 0x1400b0dbe
movzx eax, word [r9 + rcx]
test ax, ax
je 0x1400b0dbe
mov word [rcx], ax
add rcx, 2
dec r8
jne 0x1400b0d9c
test r8, r8
jne 0x1400b0dcc
sub rcx, 2
mov ebx, 0x8007007a
mov word [rcx], r14w
test ebx, ebx
js 0x1400b0de6
lea rcx, [rsp + 0x30]
xor r8d, r8d
mov rdx, rsi
call fcn.1400a99e4
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x14017d3a8]
cmp rcx, r15
je 0x1400b0e1f
test dword [rcx + 0x1c], reloc.ADVAPI32.dll_TraceEvent
je 0x1400b0e1f
cmp byte [rcx + 0x19], 4
jb 0x1400b0e1f
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000a328]
mov edx, CoDisconnectObject
call fcn.14001dd24
mov eax, ebx
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140168920
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret