Function at 0x140002890
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x14003c060]
xor rax, rsp
mov qword [rbp + 0xc8], rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea r9, [rbp + 0xc5]
mov r8d, dword [rsp + 0x70]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x1400028e0
xor r12d, r12d
mov qword [rbp - 0x80], r12
mov r8d, r12d
mov qword [rbp - 0x70], r12
mov ebx, 0xf
mov eax, ebx
mov qword [rbp - 0x68], rbx
mov byte [rbp - 0x80], r8b
lea rcx, [rbp + 0xc5]
cmp r9, rcx
je 0x140002951
lea r8, [rbp + 0xc5]
sub r8, r9
mov rdx, r9
lea rcx, [rbp - 0x80]
call fcn.140005600
mov rax, qword [rbp - 0x68]
mov r8, qword [rbp - 0x70]
lea rdx, [rbp - 0x80]
cmp rax, 0x10
cmovae rdx, qword [rbp - 0x80]
call fcn.140006e60
mov rcx, rax
call fcn.140005c90
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x60]
call fcn.14000c660
mov r15, qword [rbp - 0x70]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 0xa
jb 0x140002bc4
lea r14, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae r14, qword [rbp - 0x80]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
lea rsi, [r15 + 0xa]
lea rdi, [rsp + 0x30]
cmp rsi, 0xf
jbe 0x140002a41
mov rbx, rsi
or rbx, 0xf
cmp rbx, rcx
jbe 0x1400029d7
mov rbx, rcx
jmp 0x1400029e3
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
mov rcx, rbx
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x140002a2a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002bca
mov rcx, rax
call fcn.14000a168
test rax, rax
je 0x140002bd0
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140002a3c
test rcx, rcx
je 0x140002a39
call fcn.14000a168
mov rdi, rax
jmp 0x140002a3c
mov rdi, r12
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rbx
mov r8, r15
mov rdx, r14
mov rcx, rdi
call fcn.14000bfb0
movsd xmm0, qword [str._CORES.txt]
movsd qword [rdi + r15], xmm0
movzx eax, word [0x1400366c0]
mov word [rdi + r15 + 8], ax
mov byte [rdi + rsi], 0
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.1400051b0
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x60], rbx
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x64], edx
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140002af5
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002af0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002bd0
call fcn.14000a160
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x60], rbx
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x64], edx
lea rcx, [rbp - 0x58]
call fcn.1400047a0
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x60], rax
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx - 0x64], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x48], rax
lea rcx, [rbp + 0x48]
call fcn.140009574
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140002b8c
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002bbe
call fcn.14000a160
mov al, 1
mov rcx, qword [rbp + 0xc8]
xor rcx, rsp
call fcn.14000a140
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140011a5c
nop
call fcn.140001430
nop
call fcn.140001390
int3
call fcn.140011a5c
int3