Function at 0x1400d6050
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 [0x1401d5b48]
xor rax, rbp
mov qword [rbp - 8], rax
sub rsp, 0x20
call fcn.1400d73f0
add rsp, 0x20
test eax, eax
je 0x1400d635a
sub rsp, 0x20
call fcn.1400d4290
add rsp, 0x20
mov rsi, rax
sub rsp, 0x20
call fcn.1400d4280
mov rcx, rax
mov rdx, rsi
call fcn.1400d76a0
add rsp, 0x20
mov rdi, rax
sub rsp, 0x20
call fcn.1400d44b0
add rsp, 0x20
cdqe
add rax, 0x10
and rax, 0xfffffffffffffff0
call fcn.140110e60
sub rsp, rax
mov rcx, rsp
sub rsp, 0x20
xor edx, edx
call fcn.1400d4580
add rsp, 0x20
test rax, rax
je 0x1400d635a
mov rbx, rax
mov eax, dword [0x1401edb58]
or eax, dword [0x1401edb78]
jne 0x1400d6195
sub rsp, 0x20
lea rdx, [0x14018fff4]
mov rcx, rbx
call fcn.140122610
add rsp, 0x20
test rax, rax
je 0x1400d635a
mov rsi, rax
sub rsp, 0x20
mov rcx, rax
call fcn.14014d988
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 0x1400d621c
mov rax, r14
xor edx, edx
div r15
test rdx, rdx
je 0x1400d622d
sub rsp, 0x20
mov ecx, 2
call fcn.14014b5c4
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.1400d3e40
jmp 0x1400d634e
sub rsp, 0x20
mov rcx, rbx
call fcn.1400d7110
add rsp, 0x20
test rax, rax
je 0x1400d635a
mov rsi, rax
mov qword [rbp - 0x38], 0
sub rsp, 0x20
lea rdx, [rbp - 0x38]
mov rcx, rax
call fcn.1400d57c0
add rsp, 0x20
cmp eax, 0xffffffff
je 0x1400d6342
mov r14, qword [rbp - 0x38]
test r14, r14
je 0x1400d62a6
sub rsp, 0x20
lea r8, [rbp - 0x40]
mov rcx, rsi
mov rdx, r14
call fcn.1400d5890
add rsp, 0x20
cmp eax, 0xffffffff
je 0x1400d6342
mov rcx, qword [rbp - 0x40]
sub rsp, 0x20
mov rdx, r14
call sub.KERNEL32.dll_UnmapViewOfFile
add rsp, 0x20
jmp 0x1400d631f
mov eax, r12d
xor edx, edx
div r15d
test rdx, rdx
jne 0x1400d616d
mov qword [0x1401edb70], rsi
sub rsp, 0x20
mov rcx, rbx
call fcn.1400d5050
add rsp, 0x20
test eax, eax
je 0x1400d6314
sub rsp, 0x20
call fcn.14014b784
add rsp, 0x20
mov ecx, dword [rax]
sub rsp, 0x20
call fcn.14014bd88
add rsp, 0x20
mov rdi, rax
sub rsp, 0x20
mov ecx, 2
call fcn.14014b5c4
lea rdx, str.LLVM_Profile_Error:_Failed_to_write_file___s_:__s_n
mov rcx, rax
mov r8, rbx
mov r9, rdi
call fcn.1400d3e40
add rsp, 0x20
mov qword [0x1401edb70], 0
sub rsp, 0x20
jmp 0x1400d634e
mov qword [0x1401edb70], rsi
sub rsp, 0x20
mov rcx, rbx
call fcn.1400d5050
add rsp, 0x20
test eax, eax
je 0x1400d6314
sub rsp, 0x20
call fcn.14014b784
add rsp, 0x20
mov ecx, dword [rax]
sub rsp, 0x20
call fcn.14014bd88
add rsp, 0x20
mov rdi, rax
sub rsp, 0x20
mov ecx, 2
call fcn.14014b5c4
lea rdx, str.LLVM_Profile_Error:_Failed_to_write_file___s_:__s_n
mov rcx, rax
mov r8, rbx
mov r9, rdi
call fcn.1400d3e40
add rsp, 0x20
mov qword [0x1401edb70], 0
jmp 0x1400d6342
mov qword [0x1401edb70], 0
test rdi, rdi
je 0x1400d6334
sub rsp, 0x20
mov rcx, rsi
call fcn.1400d5940
add rsp, 0x20
mov eax, dword [0x1401edb58]
or eax, dword [0x1401edb78]
je 0x1400d635a
sub rsp, 0x20
mov rcx, rsi
call fcn.1400d70f0
mov rcx, rsi
call fcn.140123068
add rsp, 0x20
mov rcx, qword [rbp - 8]
xor rcx, rbp
sub rsp, 0x20
call fcn.140110e30
nop
mov rsp, rbp
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret