Function at 0x1400f1d10
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, 0x78
test dl, dl
je 0x1400f1e42
mov r14, r8
mov r13d, edx
mov r12, rcx
mov al, 1
xchg byte [rcx + 0xc], al
test al, al
jne 0x1400f1f98
mov al, byte [r12 + 0xd]
add al, 0xff
cmp al, 2
jb 0x1400f1e38
mov r15, qword [r12]
test r15, r15
je 0x1400f1e38
mfence
mov eax, dword [r12 + 8]
cmp eax, 0x100000
jne 0x1400f1e38
lock add qword [r14 + 8], 0x800000
mov edx, 0x800000
xor ecx, ecx
mov r8d, 0x3000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1400f1fcb
mov rbx, rax
cmp r13b, 2
je 0x1400f1e58
cmp r13b, 1
jne 0x1400f1ff1
mov edi, 9
xor r9d, r9d
xor r8d, r8d
nop word [rax + rax]
mov rcx, r8
mov r8, qword [r15 + r9*8]
mov rsi, r8
sub rsi, rcx
mov rax, rsi
sar rax, 7
cmp rsi, 0x40
jb 0x1400f1df1
mov ecx, esi
or cl, 0x80
xor ebp, ebp
cmp rax, 0xffffffffffffffff
jne 0x1400f1dfa
mov edx, esi
and edx, 0x40
test rdx, rdx
je 0x1400f1dfa
and sil, 0x7f
mov bpl, 1
mov ecx, esi
cmp rdi, 0x800000
je 0x1400f1e21
mov byte [rbx + rdi], cl
add rdi, 1
mov rsi, rax
test bpl, bpl
je 0x1400f1dd0
add r9, 1
cmp r9, 0x100000
jne 0x1400f1dc0
jmp 0x1400f1e33
mov edi, 0x800000
add r9, 1
cmp r9, 0x100000
jne 0x1400f1dc0
add rdi, rbx
jmp 0x1400f1e97
xor edi, edi
mov byte [r12 + 0xc], 0
jmp 0x1400f1e44
xor edi, edi
mov rax, rdi
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, [r15 + 0x800000]
movq xmm0, rbx
pshufd xmm0, xmm0, 0x44
paddq xmm0, xmmword [0x1402815d0]
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x48]
lea r9, [rsp + 0x30]
mov rdx, r15
call method.__sanitizer::SLeb128Encoder___sanitizer::LzwEncode_unsigned_long_long__unsigned_long_long_const____sanitizer.SLeb128Encoder__unsigned_long_long_const__unsigned_long_long_const____sanitizer::SLeb128Encoder_
mov rdi, qword [rsp + 0x48]
mov byte [rbx + 8], r13b
sub rdi, rbx
mov qword [rbx], rdi
cmp dword [0x140d81494], 0
je 0x1400f1ec5
shr rdi, 0xa
lea rcx, str.Packed_block_of__zu_KiB_to__zu_KiB_n
mov edx, 0x2000
mov r8, rdi
call method.__sanitizer.Printf_char_const__..._
mov rdi, qword [rbx]
lea rax, [rdi - 0x700001]
cmp rax, 0xfffff
ja 0x1400f1f09
cmp dword [0x140d81494], 0
je 0x1400f1ee9
lea rcx, str.Undo_and_keep_block_unpacked_n
call method.__sanitizer.Printf_char_const__..._
lea r9, [rsp + 0x48]
mov edx, 0x800000
mov rcx, r15
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov sil, 2
xor edi, edi
jmp 0x1400f1f78
mov rdx, qword [0x140d81498]
test rdx, rdx
jne 0x1400f1f2b
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [rsp + 0x4c]
mov qword [0x140d81498], rdx
mov rcx, rdi
call method.__sanitizer.RoundUpTo_unsigned_long_long__unsigned_long_long_
mov rbp, rax
mov rcx, rbx
add rcx, rax
add rax, 0xffffffffff800000
mov edi, 0x800000
sub rdi, rbp
lock add qword [r14 + 8], rax
mov rdx, rdi
call method.__sanitizer.UnmapOrDie_void__unsigned_long_long_
lea r9, [rsp + 0x48]
mov rcx, rbx
mov rdx, rbp
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov qword [r12], rbx
mov sil, 1
mov rbx, r15
lock add qword [r14 + 8], 0xffffffffff800000
mov edx, 0x800000
mov rcx, rbx
call method.__sanitizer.UnmapOrDie_void__unsigned_long_long_
mov byte [r12 + 0xd], sil
jmp 0x1400f1e3a
xor esi, esi
mov rdi, qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x1400f1fa6
add esi, 1
cmp esi, 0x63
ja 0x1400f1faf
pause
jmp 0x1400f1fb3
xor ecx, ecx
call rdi
cmp byte [r12 + 0xc], 0
jne 0x1400f1fa3
mov al, 1
xchg byte [r12 + 0xc], al
test al, al
jne 0x1400f1fa3
jmp 0x1400f1d3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsp + 0x20], 0
lea rdx, str.StackStorePack
lea r8, str.allocate
mov ecx, 0x800000
mov r9d, eax
call method.__sanitizer.ReportMmapFailureAndDie_unsigned_long_long__char_const__char_const__unsigned_int__bool_
mov qword [rsp + 0x20], 0
lea rcx, str.gotsan.cpp
lea r8, str.__0___Unexpected_type_______0_
mov edx, 0x284b
xor r9d, r9d
call method.__sanitizer.CheckFailed_char_const__int__char_const__unsigned_long_long__unsigned_long_long_
int3