Function at 0x1400d99b0
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 [0x14023a2a8]
xor rax, rbp
mov qword [rbp - 8], rax
sub rsp, 0x20
call fcn.1400dad50
add rsp, 0x20
test eax, eax
je 0x1400d9cba
sub rsp, 0x20
call fcn.1400d7bf0
add rsp, 0x20
mov rsi, rax
sub rsp, 0x20
call fcn.1400d7be0
mov rcx, rax
mov rdx, rsi
call fcn.1400db000
add rsp, 0x20
mov rdi, rax
sub rsp, 0x20
call fcn.1400d7e10
add rsp, 0x20
cdqe
add rax, 0x10
and rax, 0xfffffffffffffff0
call fcn.1401147c0
sub rsp, rax
mov rcx, rsp
sub rsp, 0x20
xor edx, edx
call fcn.1400d7ee0
add rsp, 0x20
test rax, rax
je 0x1400d9cba
mov rbx, rax
mov eax, dword [0x140252a58]
or eax, dword [0x140252a78]
jne 0x1400d9af5
sub rsp, 0x20
lea rdx, [0x1401930a4]
mov rcx, rbx
call fcn.140125f70
add rsp, 0x20
test rax, rax
je 0x1400d9cba
mov rsi, rax
sub rsp, 0x20
mov rcx, rax
call fcn.1401512e8
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 0x1400d9b7c
mov rax, r14
xor edx, edx
div r15
test rdx, rdx
je 0x1400d9b8d
sub rsp, 0x20
mov ecx, 2
call fcn.14014ef24
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.1400d77a0
jmp 0x1400d9cae
sub rsp, 0x20
mov rcx, rbx
call fcn.1400daa70
add rsp, 0x20
test rax, rax
je 0x1400d9cba
mov rsi, rax
mov qword [rbp - 0x38], 0
sub rsp, 0x20
lea rdx, [rbp - 0x38]
mov rcx, rax
call fcn.1400d9120
add rsp, 0x20
cmp eax, 0xffffffff
je 0x1400d9ca2
mov r14, qword [rbp - 0x38]
test r14, r14
je 0x1400d9c06
sub rsp, 0x20
lea r8, [rbp - 0x40]
mov rcx, rsi
mov rdx, r14
call fcn.1400d91f0
add rsp, 0x20
cmp eax, 0xffffffff
je 0x1400d9ca2
mov rcx, qword [rbp - 0x40]
sub rsp, 0x20
mov rdx, r14
call sub.KERNEL32.dll_UnmapViewOfFile
add rsp, 0x20
jmp 0x1400d9c7f
mov eax, r12d
xor edx, edx
div r15d
test rdx, rdx
jne 0x1400d9acd
mov qword [0x140252a70], rsi
sub rsp, 0x20
mov rcx, rbx
call fcn.1400d89b0
add rsp, 0x20
test eax, eax
je 0x1400d9c74
sub rsp, 0x20
call fcn.14014f0e4
add rsp, 0x20
mov ecx, dword [rax]
sub rsp, 0x20
call fcn.14014f6e8
add rsp, 0x20
mov rdi, rax
sub rsp, 0x20
mov ecx, 2
call fcn.14014ef24
lea rdx, str.LLVM_Profile_Error:_Failed_to_write_file___s_:__s_n
mov rcx, rax
mov r8, rbx
mov r9, rdi
call fcn.1400d77a0
add rsp, 0x20
mov qword [0x140252a70], 0
sub rsp, 0x20
jmp 0x1400d9cae
mov qword [0x140252a70], rsi
sub rsp, 0x20
mov rcx, rbx
call fcn.1400d89b0
add rsp, 0x20
test eax, eax
je 0x1400d9c74
sub rsp, 0x20
call fcn.14014f0e4
add rsp, 0x20
mov ecx, dword [rax]
sub rsp, 0x20
call fcn.14014f6e8
add rsp, 0x20
mov rdi, rax
sub rsp, 0x20
mov ecx, 2
call fcn.14014ef24
lea rdx, str.LLVM_Profile_Error:_Failed_to_write_file___s_:__s_n
mov rcx, rax
mov r8, rbx
mov r9, rdi
call fcn.1400d77a0
add rsp, 0x20
mov qword [0x140252a70], 0
jmp 0x1400d9ca2
mov qword [0x140252a70], 0
test rdi, rdi
je 0x1400d9c94
sub rsp, 0x20
mov rcx, rsi
call fcn.1400d92a0
add rsp, 0x20
mov eax, dword [0x140252a58]
or eax, dword [0x140252a78]
je 0x1400d9cba
sub rsp, 0x20
mov rcx, rsi
call fcn.1400daa50
mov rcx, rsi
call fcn.1401269c8
add rsp, 0x20
mov rcx, qword [rbp - 8]
xor rcx, rbp
sub rsp, 0x20
call fcn.140114790
nop
mov rsp, rbp
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret