Function at 0x140002b20
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 [0x140048060]
xor rax, rsp
mov qword [rbp + 0xc8], rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, dword [rsp + 0x70]
lea r9, [rbp + 0xc5]
mov r8d, ebx
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 0x140002b72
xor r12d, r12d
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x70], r12
mov edi, 0xf
mov qword [rbp - 0x68], rdi
mov byte [rbp - 0x80], r12b
lea rax, [rbp + 0xc5]
cmp r9, rax
je 0x140002bd7
lea r8, [rbp + 0xc5]
sub r8, r9
mov rdx, r9
lea rcx, [rbp - 0x80]
call fcn.140007080
nop
cmp ebx, 3
jg 0x140002bf9
mov ecx, 2
call fcn.1400175e8
mov rbx, rax
mov rcx, rax
call fcn.140016b38
mov rcx, rbx
call fcn.140016b38
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
call fcn.14000a280
mov rcx, rax
call fcn.140008660
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x60]
call fcn.14000fac0
mov r15, qword [rbp - 0x70]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 0xa
jb 0x140002e71
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 rbx, [rsp + 0x30]
cmp rsi, 0xf
jbe 0x140002cee
mov rdi, rsi
or rdi, 0xf
cmp rdi, rcx
jbe 0x140002c84
mov rdi, rcx
jmp 0x140002c90
mov eax, 0x16
cmp rdi, rax
cmovb rdi, rax
mov rcx, rdi
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x140002cd7
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002e77
mov rcx, rax
call fcn.14000d518
test rax, rax
je 0x140002e7d
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140002ce9
test rcx, rcx
je 0x140002ce6
call fcn.14000d518
mov rbx, rax
jmp 0x140002ce9
mov rbx, r12
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov r8, r15
mov rdx, r14
mov rcx, rbx
call fcn.14000f410
movsd xmm0, qword [str._CORES.txt]
movsd qword [rbx + r15], xmm0
movzx eax, word [0x140041da0]
mov word [rbx + r15 + 8], ax
mov byte [rbx + rsi], 0
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.140006a90
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 0x140002da2
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d9d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e7d
call fcn.14000d510
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.1400051c0
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.14000c92c
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140002e39
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e6b
call fcn.14000d510
mov al, 1
mov rcx, qword [rbp + 0xc8]
xor rcx, rsp
call fcn.14000d4f0
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.140017570
nop
call fcn.1400015a0
nop
call fcn.140001500
int3
call fcn.140017570
int3