Function at 0x1400ee0b0
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
lea rax, [rcx - 1]
test rcx, rax
jne 0x1400ee5c8
mov rsi, rdx
lea rax, [rdx - 1]
test rdx, rax
jne 0x1400ee5ec
mov r14, r8
mov r13, rcx
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, dword [rsp + 0x50]
cmp rbx, rsi
cmovb rbx, rsi
xor ecx, ecx
mov rdx, r13
mov r8d, 0x3000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1400ee5aa
lea rbp, [rbx - 1]
test rbp, rax
je 0x1400ee5b7
mov rcx, rax
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x1400ee610
lea r15, [rbx + r13]
xor ecx, ecx
mov rdx, r15
mov r8d, 0x2000
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1400ee5aa
mov rdi, rax
mov rcx, rax
mov rdx, rbx
call method.__sanitizer.RoundUpTo_unsigned_long_long__unsigned_long_long_
mov rsi, rax
mov rcx, rdi
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x1400ee610
mov rcx, rsi
mov rdx, r13
mov r8d, 0x3000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1400ee1b6
mov rcx, rax
and rcx, rbp
je 0x1400ee5b7
xor ecx, ecx
mov rdx, r15
mov r8d, 0x2000
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1400ee5aa
mov rsi, rax
mov rcx, rax
mov rdx, rbx
call method.__sanitizer.RoundUpTo_unsigned_long_long__unsigned_long_long_
mov r12, rax
mov rcx, rsi
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x1400ee610
mov rcx, r12
mov rdx, r13
mov r8d, 0x3000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1400ee229
mov rcx, rax
and rcx, rbp
je 0x1400ee5b7
xor ecx, ecx
mov rdx, r15
mov r8d, 0x2000
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1400ee5aa
mov rsi, rax
mov rcx, rax
mov rdx, rbx
call method.__sanitizer.RoundUpTo_unsigned_long_long__unsigned_long_long_
mov r12, rax
mov rcx, rsi
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x1400ee610
mov rcx, r12
mov rdx, r13
mov r8d, 0x3000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1400ee29c
mov rcx, rax
and rcx, rbp
je 0x1400ee5b7
xor ecx, ecx
mov rdx, r15
mov r8d, 0x2000
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1400ee5aa
mov rsi, rax
mov rcx, rax
mov rdx, rbx
call method.__sanitizer.RoundUpTo_unsigned_long_long__unsigned_long_long_
mov r12, rax
mov rcx, rsi
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x1400ee610
mov rcx, r12
mov rdx, r13
mov r8d, 0x3000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1400ee30f
mov rcx, rax
and rcx, rbp
je 0x1400ee5b7
xor ecx, ecx
mov rdx, r15
mov r8d, 0x2000
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1400ee5aa
mov rsi, rax
mov rcx, rax
mov rdx, rbx
call method.__sanitizer.RoundUpTo_unsigned_long_long__unsigned_long_long_
mov r12, rax
mov rcx, rsi
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x1400ee610
mov rcx, r12
mov rdx, r13
mov r8d, 0x3000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1400ee382
mov rcx, rax
and rcx, rbp
je 0x1400ee5b7
xor ecx, ecx
mov rdx, r15
mov r8d, 0x2000
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1400ee5aa
mov rsi, rax
mov rcx, rax
mov rdx, rbx
call method.__sanitizer.RoundUpTo_unsigned_long_long__unsigned_long_long_
mov r12, rax
mov rcx, rsi
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x1400ee610
mov rcx, r12
mov rdx, r13
mov r8d, 0x3000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1400ee3f5
mov rcx, rax
and rcx, rbp
je 0x1400ee5b7
xor ecx, ecx
mov rdx, r15
mov r8d, 0x2000
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1400ee5aa
mov rsi, rax
mov rcx, rax
mov rdx, rbx
call method.__sanitizer.RoundUpTo_unsigned_long_long__unsigned_long_long_
mov r12, rax
mov rcx, rsi
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x1400ee610
mov rcx, r12
mov rdx, r13
mov r8d, 0x3000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1400ee468
mov rcx, rax
and rcx, rbp
je 0x1400ee5b7
xor ecx, ecx
mov rdx, r15
mov r8d, 0x2000
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1400ee5aa
mov rsi, rax
mov rcx, rax
mov rdx, rbx
call method.__sanitizer.RoundUpTo_unsigned_long_long__unsigned_long_long_
mov r12, rax
mov rcx, rsi
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x1400ee610
mov rcx, r12
mov rdx, r13
mov r8d, 0x3000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1400ee4db
mov rcx, rax
and rcx, rbp
je 0x1400ee5b7
xor ecx, ecx
mov rdx, r15
mov r8d, 0x2000
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1400ee5aa
mov rsi, rax
mov rcx, rax
mov rdx, rbx
call method.__sanitizer.RoundUpTo_unsigned_long_long__unsigned_long_long_
mov r12, rax
mov rcx, rsi
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x1400ee610
mov rcx, r12
mov rdx, r13
mov r8d, 0x3000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1400ee547
and rbp, rax
je 0x1400ee5b7
xor ecx, ecx
mov rdx, r15
mov r8d, 0x2000
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1400ee5aa
mov rsi, rax
mov rcx, rax
mov rdx, rbx
call method.__sanitizer.RoundUpTo_unsigned_long_long__unsigned_long_long_
mov rbx, rax
mov rcx, rsi
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x1400ee610
mov rcx, rbx
mov rdx, r13
mov r8d, 0x3000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x1400ee5b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
jne 0x1400ee624
xor eax, eax
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x20], 0
lea rcx, str.gotsan.cpp
lea r8, str.__IsPowerOfTwo_size_______0_
mov edx, 0x224d
xor r9d, r9d
call method.__sanitizer.CheckFailed_char_const__int__char_const__unsigned_long_long__unsigned_long_long_
mov qword [rsp + 0x20], 0
lea rcx, str.gotsan.cpp
lea r8, str.__IsPowerOfTwo_alignment_______0_
mov edx, 0x224e
xor r9d, r9d
call method.__sanitizer.CheckFailed_char_const__int__char_const__unsigned_long_long__unsigned_long_long_
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsp + 0x20], 0
lea r8, str.deallocate
jmp 0x1400ee630
mov byte [rsp + 0x20], 0
lea r8, str.allocate_aligned
mov rcx, r13
mov rdx, r14
mov r9d, eax
call method.__sanitizer.ReportMmapFailureAndDie_unsigned_long_long__char_const__char_const__unsigned_int__bool_
int3