Function at 0x140025b30
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 0x140025bb3
lea rcx, [rax + 0x20]
call fcn.140035600
mov r11d, dword [rsp + 0x98]
test r11d, r11d
jne 0x140025baf
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 0x140025bd4
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.1400254a0
mov bpl, 1
cmp edi, 0x30
jg 0x140025bfa
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.1400254a0
lea rcx, [rbx + 8]
jmp 0x140025d3d
test bpl, bpl
je 0x140025c08
lea rcx, [rbx + 8]
jmp 0x140025d3d
cmp dword [rbx + 4], 0x23
jbe 0x140025c2e
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.1400254a0
cmp r12d, 0xffffffff
je 0x140025cda
cmp esi, 0xf
mov r8d, dword [rbx + 4]
lea edx, [rsi + rsi]
mov ecx, r8d
jle 0x140025c53
cmp esi, 0x1e
jle 0x140025c53
lea edx, [rsi*4]
mov eax, edx
imul eax, ecx
cmp edi, eax
jge 0x140025c77
nop dword [rax]
dec ecx
mov eax, ecx
and eax, 1
sub ecx, eax
cmp ecx, 2
jb 0x140025c77
mov eax, edx
imul eax, ecx
cmp edi, eax
jl 0x140025c60
cmp r8d, ecx
je 0x140025ca0
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.1400254a0
cmp dword [rbx + 4], 1
jbe 0x140025cbb
mov r8, rbx
mov edx, r14d
mov ecx, esi
call fcn.14003eb50
test al, al
jne 0x140025d54
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.1400254a0
mov eax, 2
jmp 0x140025d56
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 0x140025d23
cmp r10d, 1
jbe 0x140025d14
mov ecx, 1
mov rdx, rsi
inc ecx
mov dword [rdx], eax
sub edi, eax
inc r9d
add rdx, 4
cmp ecx, r10d
jb 0x140025d02
mov eax, r9d
mov dword [rsi + rax*4], edi
test edi, edi
jle 0x140025d23
test r8d, r8d
jg 0x140025d54
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.1400254a0
mov rcx, rsi
mov r8d, 0x8c
xor edx, edx
mov dword [rbx], r15d
mov dword [rbx + 4], 1
call fcn.1401e42d0
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