Function at 0x14012d4e0
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x60
test rdx, rdx
je 0x14012d6e0
mov rdi, rdx
mov r15, rcx
mov r9, qword [rcx + 0x10]
cmp r9, rdx
ja 0x14012d704
shl rdi, 3
mov rdx, qword [0x140dc0558]
test rdx, rdx
jne 0x14012d52d
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [rsp + 0x34]
mov qword [0x140dc0558], rdx
mov rcx, rdi
call fcn.1401314f0
mov r14, rax
xor ecx, ecx
mov rdx, rax
mov r8d, 0x3000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x14012d721
mov rbx, rax
mov rcx, qword [r15]
mov r8, qword [r15 + 0x10]
lea r10, [r8*8]
test r10, r10
je 0x14012d6c4
lea rax, [rcx + r10]
cmp rbx, rax
jae 0x14012d5c0
lea rax, [rbx + r10]
cmp rcx, rax
jae 0x14012d5c0
xor edx, edx
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
mov byte [rbx + rdx], al
movzx eax, byte [rcx + rdx + 1]
mov byte [rbx + rdx + 1], al
movzx eax, byte [rcx + rdx + 2]
mov byte [rbx + rdx + 2], al
movzx eax, byte [rcx + rdx + 3]
mov byte [rbx + rdx + 3], al
add rdx, 4
cmp r10, rdx
jne 0x14012d590
jmp 0x14012d6c1
cmp r10, 0x20
jae 0x14012d5cd
xor edx, edx
jmp 0x14012d6b0
mov rdx, r10
and rdx, 0xffffffffffffffe0
lea rax, [rdx - 0x20]
mov rdi, rax
shr rdi, 5
add rdi, 1
mov r9d, edi
and r9d, 3
cmp rax, 0x60
jae 0x14012d5f4
xor esi, esi
jmp 0x14012d658
and rdi, 0xfffffffffffffffc
xor esi, esi
nop word [rax + rax]
movups xmm0, xmmword [rcx + rsi]
movups xmm1, xmmword [rcx + rsi + 0x10]
movups xmmword [rbx + rsi], xmm0
movups xmmword [rbx + rsi + 0x10], xmm1
movups xmm0, xmmword [rcx + rsi + 0x20]
movups xmm1, xmmword [rcx + rsi + 0x30]
movups xmmword [rbx + rsi + 0x20], xmm0
movups xmmword [rbx + rsi + 0x30], xmm1
movups xmm0, xmmword [rcx + rsi + 0x40]
movups xmm1, xmmword [rcx + rsi + 0x50]
movups xmmword [rbx + rsi + 0x40], xmm0
movups xmmword [rbx + rsi + 0x50], xmm1
movups xmm0, xmmword [rcx + rsi + 0x60]
movups xmm1, xmmword [rcx + rsi + 0x70]
movups xmmword [rbx + rsi + 0x60], xmm0
movups xmmword [rbx + rsi + 0x70], xmm1
sub rsi, 0xffffffffffffff80
add rdi, 0xfffffffffffffffc
jne 0x14012d600
test r9, r9
je 0x14012d69b
lea rdi, [rbx + rsi]
add rdi, 0x10
add rsi, rcx
add rsi, 0x10
shl r9, 5
xor eax, eax
nop word cs:[rax + rax]
nop dword [rax]
movups xmm0, xmmword [rsi + rax - 0x10]
movups xmm1, xmmword [rsi + rax]
movups xmmword [rdi + rax - 0x10], xmm0
movups xmmword [rdi + rax], xmm1
add rax, 0x20
cmp r9, rax
jne 0x14012d680
cmp r10, rdx
je 0x14012d6c1
test r8b, 3
je 0x14012d590
nop word [rax + rax]
mov rax, qword [rcx + rdx]
mov qword [rbx + rdx], rax
add rdx, 8
cmp r10, rdx
jne 0x14012d6b0
mov rcx, qword [r15]
mov rdx, qword [r15 + 8]
call fcn.1400ef340
mov qword [r15], rbx
mov qword [r15 + 8], r14
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov qword [rsp + 0x20], 0
lea rcx, str....._sanitizer_common_sanitizer_common.h
lea r8, str.__new_capacity_______0__
mov edx, 0x245
xor r9d, r9d
call fcn.1400d9910
mov qword [rsp + 0x20], rdi
lea rcx, str....._sanitizer_common_sanitizer_common.h
lea r8, str.__size________new_capacity__
mov edx, 0x246
call fcn.1400d9910
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsp + 0x20], 0
lea rdx, str.InternalMmapVector
lea r8, str.allocate
mov rcx, r14
mov r9d, eax
call fcn.1401061c0
int3