Function at 0x140002e10
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 [0x140098028]
xor rax, rbp
mov qword [rbp - 8], rax
sub rsp, 0x20
call fcn.1400041c0
add rsp, 0x20
test eax, eax
je 0x14000311a
sub rsp, 0x20
call fcn.140005df0
add rsp, 0x20
mov rsi, rax
sub rsp, 0x20
call fcn.140005de0
mov rcx, rax
mov rdx, rsi
call fcn.140004470
add rsp, 0x20
mov rdi, rax
sub rsp, 0x20
call fcn.1400011f0
add rsp, 0x20
cdqe
add rax, 0x10
and rax, 0xfffffffffffffff0
call fcn.140015330
sub rsp, rax
mov rcx, rsp
sub rsp, 0x20
xor edx, edx
call fcn.1400012c0
add rsp, 0x20
test rax, rax
je 0x14000311a
mov rbx, rax
mov eax, dword [0x1400fe420]
or eax, dword [0x1400fe440]
jne 0x140002f55
sub rsp, 0x20
lea rdx, [0x140076e0f]
mov rcx, rbx
call fcn.140043d0c
add rsp, 0x20
test rax, rax
je 0x14000311a
mov rsi, rax
sub rsp, 0x20
mov rcx, rax
call fcn.14004776c
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 0x140002fdc
mov rax, r14
xor edx, edx
div r15
test rdx, rdx
je 0x140002fed
sub rsp, 0x20
mov ecx, 2
call fcn.140018548
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.140001540
jmp 0x14000310e
sub rsp, 0x20
mov rcx, rbx
call fcn.140003ee0
add rsp, 0x20
test rax, rax
je 0x14000311a
mov rsi, rax
mov qword [rbp - 0x38], 0
sub rsp, 0x20
lea rdx, [rbp - 0x38]
mov rcx, rax
call fcn.140002570
add rsp, 0x20
cmp eax, 0xffffffff
je 0x140003102
mov r14, qword [rbp - 0x38]
test r14, r14
je 0x140003066
sub rsp, 0x20
lea r8, [rbp - 0x40]
mov rcx, rsi
mov rdx, r14
call fcn.140002640
add rsp, 0x20
cmp eax, 0xffffffff
je 0x140003102
mov rcx, qword [rbp - 0x40]
sub rsp, 0x20
mov rdx, r14
call sub.KERNEL32.dll_UnmapViewOfFile
add rsp, 0x20
jmp 0x1400030df
mov eax, r12d
xor edx, edx
div r15d
test rdx, rdx
jne 0x140002f2d
mov qword [0x1400fe438], rsi
sub rsp, 0x20
mov rcx, rbx
call fcn.140001e00
add rsp, 0x20
test eax, eax
je 0x1400030d4
sub rsp, 0x20
call fcn.14003fe08
add rsp, 0x20
mov ecx, dword [rax]
sub rsp, 0x20
call fcn.140049344
add rsp, 0x20
mov rdi, rax
sub rsp, 0x20
mov ecx, 2
call fcn.140018548
lea rdx, str.LLVM_Profile_Error:_Failed_to_write_file___s_:__s_n
mov rcx, rax
mov r8, rbx
mov r9, rdi
call fcn.140001540
add rsp, 0x20
mov qword [0x1400fe438], 0
sub rsp, 0x20
jmp 0x14000310e
mov qword [0x1400fe438], rsi
sub rsp, 0x20
mov rcx, rbx
call fcn.140001e00
add rsp, 0x20
test eax, eax
je 0x1400030d4
sub rsp, 0x20
call fcn.14003fe08
add rsp, 0x20
mov ecx, dword [rax]
sub rsp, 0x20
call fcn.140049344
add rsp, 0x20
mov rdi, rax
sub rsp, 0x20
mov ecx, 2
call fcn.140018548
lea rdx, str.LLVM_Profile_Error:_Failed_to_write_file___s_:__s_n
mov rcx, rax
mov r8, rbx
mov r9, rdi
call fcn.140001540
add rsp, 0x20
mov qword [0x1400fe438], 0
jmp 0x140003102
mov qword [0x1400fe438], 0
test rdi, rdi
je 0x1400030f4
sub rsp, 0x20
mov rcx, rsi
call fcn.1400026f0
add rsp, 0x20
mov eax, dword [0x1400fe420]
or eax, dword [0x1400fe440]
je 0x14000311a
sub rsp, 0x20
mov rcx, rsi
call fcn.140003ec0
mov rcx, rsi
call fcn.140046464
add rsp, 0x20
mov rcx, qword [rbp - 8]
xor rcx, rbp
sub rsp, 0x20
call fcn.140015300
nop
mov rsp, rbp
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret