Function at 0x1400d91b0
Capabilities:
Get system information on windows

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov rax, qword [0x14023a308]
xor rax, rbp
mov qword [rbp - 8], rax
sub rsp, 0x20
call fcn.1400da550
add rsp, 0x20
test eax, eax
je 0x1400d94ba
sub rsp, 0x20
call fcn.1400d73f0
add rsp, 0x20
mov rsi, rax
sub rsp, 0x20
call fcn.1400d73e0
mov rcx, rax
mov rdx, rsi
call fcn.1400da800
add rsp, 0x20
mov rdi, rax
sub rsp, 0x20
call fcn.1400d7610
add rsp, 0x20
cdqe
add rax, 0x10
and rax, 0xfffffffffffffff0
call fcn.140113fc0
sub rsp, rax
mov rcx, rsp
sub rsp, 0x20
xor edx, edx
call fcn.1400d76e0
add rsp, 0x20
test rax, rax
je 0x1400d94ba
mov rbx, rax
mov eax, dword [0x140252798]
or eax, dword [0x1402527b8]
jne 0x1400d92f5
sub rsp, 0x20
lea rdx, [0x140193144]
mov rcx, rbx
call fcn.140125770
add rsp, 0x20
test rax, rax
je 0x1400d94ba
mov rsi, rax
sub rsp, 0x20
mov rcx, rax
call fcn.140150ae8
add rsp, 0x20
mov r12d, eax
movsxd r14, eax
sub rsp, 0x20
lea rcx, [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
add rsp, 0x20
mov r15d, dword [rbp - 0x34]
mov rax, r14
shr rax, 0x20
je 0x1400d937c
mov rax, r14
xor edx, edx
div r15
test rdx, rdx
je 0x1400d938d
sub rsp, 0x20
mov ecx, 2
call fcn.14014e724
lea rdx, str.LLVM_Profile_Error:_Continuous_counter_sync_mode_is_enabled__but_raw_profile_is_notpage_aligned._CurrentFileOffset___llu__pagesz___u._n
mov rcx, rax
mov r8, r14
mov r9d, r15d
call fcn.1400d6fa0
jmp 0x1400d94ae
sub rsp, 0x20
mov rcx, rbx
call fcn.1400da270
add rsp, 0x20
test rax, rax
je 0x1400d94ba
mov rsi, rax
mov qword [rbp - 0x38], 0
sub rsp, 0x20
lea rdx, [rbp - 0x38]
mov rcx, rax
call fcn.1400d8920
add rsp, 0x20
cmp eax, 0xffffffff
je 0x1400d94a2
mov r14, qword [rbp - 0x38]
test r14, r14
je 0x1400d9406
sub rsp, 0x20
lea r8, [rbp - 0x40]
mov rcx, rsi
mov rdx, r14
call fcn.1400d89f0
add rsp, 0x20
cmp eax, 0xffffffff
je 0x1400d94a2
mov rcx, qword [rbp - 0x40]
sub rsp, 0x20
mov rdx, r14
call sub.KERNEL32.dll_UnmapViewOfFile
add rsp, 0x20
jmp 0x1400d947f
mov eax, r12d
xor edx, edx
div r15d
test rdx, rdx
jne 0x1400d92cd
mov qword [0x1402527b0], rsi
sub rsp, 0x20
mov rcx, rbx
call fcn.1400d81b0
add rsp, 0x20
test eax, eax
je 0x1400d9474
sub rsp, 0x20
call fcn.14014e8e4
add rsp, 0x20
mov ecx, dword [rax]
sub rsp, 0x20
call fcn.14014eee8
add rsp, 0x20
mov rdi, rax
sub rsp, 0x20
mov ecx, 2
call fcn.14014e724
lea rdx, str.LLVM_Profile_Error:_Failed_to_write_file___s_:__s_n
mov rcx, rax
mov r8, rbx
mov r9, rdi
call fcn.1400d6fa0
add rsp, 0x20
mov qword [0x1402527b0], 0
sub rsp, 0x20
jmp 0x1400d94ae
mov qword [0x1402527b0], rsi
sub rsp, 0x20
mov rcx, rbx
call fcn.1400d81b0
add rsp, 0x20
test eax, eax
je 0x1400d9474
sub rsp, 0x20
call fcn.14014e8e4
add rsp, 0x20
mov ecx, dword [rax]
sub rsp, 0x20
call fcn.14014eee8
add rsp, 0x20
mov rdi, rax
sub rsp, 0x20
mov ecx, 2
call fcn.14014e724
lea rdx, str.LLVM_Profile_Error:_Failed_to_write_file___s_:__s_n
mov rcx, rax
mov r8, rbx
mov r9, rdi
call fcn.1400d6fa0
add rsp, 0x20
mov qword [0x1402527b0], 0
jmp 0x1400d94a2
mov qword [0x1402527b0], 0
test rdi, rdi
je 0x1400d9494
sub rsp, 0x20
mov rcx, rsi
call fcn.1400d8aa0
add rsp, 0x20
mov eax, dword [0x140252798]
or eax, dword [0x1402527b8]
je 0x1400d94ba
sub rsp, 0x20
mov rcx, rsi
call fcn.1400da250
mov rcx, rsi
call fcn.1401261c8
add rsp, 0x20
mov rcx, qword [rbp - 8]
xor rcx, rbp
sub rsp, 0x20
call fcn.140113f90
nop
mov rsp, rbp
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret