Function at 0x140027fc0
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r14d, dword [rsp + 0xa0]
xor r15d, r15d
lea esi, [r9 + 0xf]
add r14d, 0xf
sar esi, 4
xor bpl, bpl
sar r14d, 4
mov r12d, r8d
mov rbx, rdx
mov edi, r14d
mov r13, rcx
mov dword [rax + 0x20], r15d
mov dword [rdx + 0x94], r15d
imul edi, esi
cmp dword [rdx + 4], r15d
jne 0x140028043
lea rcx, [rax + 0x20]
call fcn.140037a80
mov r11d, dword [rsp + 0x98]
test r11d, r11d
jne 0x14002803f
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r11d, dword [rsp + 0x40]
mov dword [rbx + 4], r11d
mov r9d, dword [rbx + 4]
cmp r9d, 1
ja 0x140028064
lea r8, str.SliceArgumentValidationFixedSliceMode____uiSliceNum__d__you_set_for_SM_FIXEDSLCNUM_SLICE__now_turn_to_SM_SINGLE_SLICE_type_
mov edx, 4
mov rcx, r13
call fcn.1400279c0
mov bpl, 1
cmp edi, 0x30
jg 0x14002808a
mov r9d, dword [rbx + 4]
lea r8, str.SliceArgumentValidationFixedSliceMode____uiSliceNum__d__you_set_for_SM_FIXEDSLCNUM_SLICE__now_turn_to_SM_SINGLE_SLICE_type_as_CountMbNum_less_than_MIN_NUM_MB_PER_SLICE_
mov edx, 4
mov rcx, r13
call fcn.1400279c0
lea rcx, [rbx + 8]
jmp 0x1400281cd
test bpl, bpl
je 0x140028098
lea rcx, [rbx + 8]
jmp 0x1400281cd
cmp dword [rbx + 4], 0x23
jbe 0x1400280be
mov r9d, 0x23
lea r8, str.SliceArgumentValidationFixedSliceMode____uiSliceNum_exceed_MAX_SLICES_NUM__So_setting_slice_num_eqaul_to_MAX_SLICES_NUM__d__
mov rcx, r13
lea edx, [r9 - 0x21]
mov dword [rbx + 4], 0x23
call fcn.1400279c0
cmp r12d, 0xffffffff
je 0x14002816a
cmp esi, 0xf
mov r8d, dword [rbx + 4]
lea edx, [rsi + rsi]
mov ecx, r8d
jle 0x1400280e3
cmp esi, 0x1e
jle 0x1400280e3
lea edx, [rsi*4]
mov eax, edx
imul eax, ecx
cmp edi, eax
jge 0x140028107
nop dword [rax]
dec ecx
mov eax, ecx
and eax, 1
sub ecx, eax
cmp ecx, 2
jb 0x140028107
mov eax, edx
imul eax, ecx
cmp edi, eax
jl 0x1400280f0
cmp r8d, ecx
je 0x140028130
test ecx, ecx
mov eax, 1
lea r8, str.SliceArgumentValidationFixedSliceMode____unsupported_setting_with_Resolution_and_uiSliceNum_combination_under_RC_on__So_uiSliceNum_is_changed_to__d_
cmovne eax, ecx
mov edx, 2
mov rcx, r13
mov r9d, eax
mov dword [rbx + 4], eax
call fcn.1400279c0
cmp dword [rbx + 4], 1
jbe 0x14002814b
mov r8, rbx
mov edx, r14d
mov ecx, esi
call fcn.140040ff0
test al, al
jne 0x1400281e4
mov r9d, dword [rbx + 4]
lea r8, str.SliceArgumentValidationFixedSliceMode____unsupported_setting_with_Resolution_and_uiSliceNum___d__combination__under_RC_on__Consider_setting_single_slice_with_this_resolution_
mov edx, 1
mov rcx, r13
call fcn.1400279c0
mov eax, 2
jmp 0x1400281e6
mov r10d, dword [rbx + 4]
xor edx, edx
mov eax, edi
div r10d
lea rsi, [rbx + 8]
mov r9d, r15d
mov r8d, eax
test rsi, rsi
je 0x1400281b3
cmp r10d, 1
jbe 0x1400281a4
mov ecx, 1
mov rdx, rsi
inc ecx
mov dword [rdx], eax
sub edi, eax
inc r9d
add rdx, 4
cmp ecx, r10d
jb 0x140028192
mov eax, r9d
mov dword [rsi + rax*4], edi
test edi, edi
jle 0x1400281b3
test r8d, r8d
jg 0x1400281e4
mov r9d, dword [rsi]
lea r8, str.SliceArgumentValidationFixedSliceMode____invalid_uiSliceMbNum___d__settings__now_turn_to_SM_SINGLE_SLICE_type
mov edx, 1
mov rcx, r13
call fcn.1400279c0
mov rcx, rsi
mov r8d, 0x8c
xor edx, edx
mov dword [rbx], r15d
mov dword [rbx + 4], 1
call fcn.1401e6750
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret