Function at 0x140102c40
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 [0x1401e8680]
xor rax, rbp
mov qword [rbp - 8], rax
sub rsp, 0x20
call fcn.140104000
add rsp, 0x20
test eax, eax
je 0x140102f4a
sub rsp, 0x20
call fcn.140105ef0
add rsp, 0x20
mov rsi, rax
sub rsp, 0x20
call fcn.140105ee0
mov rcx, rax
mov rdx, rsi
call fcn.1401042b0
add rsp, 0x20
mov rdi, rax
sub rsp, 0x20
call fcn.140100ef0
add rsp, 0x20
cdqe
add rax, 0x10
and rax, 0xfffffffffffffff0
call fcn.1401091a0
sub rsp, rax
mov rcx, rsp
sub rsp, 0x20
xor edx, edx
call fcn.140100fd0
add rsp, 0x20
test rax, rax
je 0x140102f4a
mov rbx, rax
mov eax, dword [0x1401fb660]
or eax, dword [0x1401fb688]
jne 0x140102d85
sub rsp, 0x20
lea rdx, [0x140176b2c]
mov rcx, rbx
call fcn.14011aca0
add rsp, 0x20
test rax, rax
je 0x140102f4a
mov rsi, rax
sub rsp, 0x20
mov rcx, rax
call fcn.140137ad8
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 0x140102e0c
mov rax, r14
xor edx, edx
div r15
test rdx, rdx
je 0x140102e1d
sub rsp, 0x20
mov ecx, 2
call fcn.14011c158
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.1401012f0
jmp 0x140102f3e
sub rsp, 0x20
mov rcx, rbx
call fcn.140103d20
add rsp, 0x20
test rax, rax
je 0x140102f4a
mov rsi, rax
mov qword [rbp - 0x38], 0
sub rsp, 0x20
lea rdx, [rbp - 0x38]
mov rcx, rax
call fcn.140102310
add rsp, 0x20
cmp eax, 0xffffffff
je 0x140102f32
mov r14, qword [rbp - 0x38]
test r14, r14
je 0x140102e96
sub rsp, 0x20
lea r8, [rbp - 0x40]
mov rcx, rsi
mov rdx, r14
call fcn.1401023e0
add rsp, 0x20
cmp eax, 0xffffffff
je 0x140102f32
mov rcx, qword [rbp - 0x40]
sub rsp, 0x20
mov rdx, r14
call sub.KERNEL32.dll_UnmapViewOfFile
add rsp, 0x20
jmp 0x140102f0f
mov eax, r12d
xor edx, edx
div r15d
test rdx, rdx
jne 0x140102d5d
mov qword [0x1401fb680], rsi
sub rsp, 0x20
mov rcx, rbx
call fcn.140101bc0
add rsp, 0x20
test eax, eax
je 0x140102f04
sub rsp, 0x20
call fcn.140133fec
add rsp, 0x20
mov ecx, dword [rax]
sub rsp, 0x20
call fcn.1401347b0
add rsp, 0x20
mov rdi, rax
sub rsp, 0x20
mov ecx, 2
call fcn.14011c158
lea rdx, str.LLVM_Profile_Error:_Failed_to_write_file___s_:__s_n
mov rcx, rax
mov r8, rbx
mov r9, rdi
call fcn.1401012f0
add rsp, 0x20
mov qword [0x1401fb680], 0
sub rsp, 0x20
jmp 0x140102f3e
mov qword [0x1401fb680], rsi
sub rsp, 0x20
mov rcx, rbx
call fcn.140101bc0
add rsp, 0x20
test eax, eax
je 0x140102f04
sub rsp, 0x20
call fcn.140133fec
add rsp, 0x20
mov ecx, dword [rax]
sub rsp, 0x20
call fcn.1401347b0
add rsp, 0x20
mov rdi, rax
sub rsp, 0x20
mov ecx, 2
call fcn.14011c158
lea rdx, str.LLVM_Profile_Error:_Failed_to_write_file___s_:__s_n
mov rcx, rax
mov r8, rbx
mov r9, rdi
call fcn.1401012f0
add rsp, 0x20
mov qword [0x1401fb680], 0
jmp 0x140102f32
mov qword [0x1401fb680], 0
test rdi, rdi
je 0x140102f24
sub rsp, 0x20
mov rcx, rsi
call fcn.140102490
add rsp, 0x20
mov eax, dword [0x1401fb660]
or eax, dword [0x1401fb688]
je 0x140102f4a
sub rsp, 0x20
mov rcx, rsi
call fcn.140103d00
mov rcx, rsi
call fcn.14011b170
add rsp, 0x20
mov rcx, qword [rbp - 8]
xor rcx, rbp
sub rsp, 0x20
call fcn.140109200
nop
mov rsp, rbp
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret