Function at 0x14001fbb0
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x680]
sub rsp, 0x780
mov rax, qword [0x14004e3b8]
xor rax, rsp
mov qword [rbp + 0x670], rax
mov r14, rcx
lea rcx, vtable.AMFFactoryHelper.0
call fcn.1400205d0
test eax, eax
je 0x14001fc07
lea rcx, str.amf_init_failed:__d
jmp 0x14001ff55
movabs rdx, 0x1000400170000
lea rcx, str.AMF_version__header_:___I64X_n
call fcn.140008850
lea rcx, vtable.AMFFactoryHelper.0
call fcn.1400205b0
mov rdx, rax
lea rcx, str.AMF_version__runtime_:__I64X_n
call fcn.140008850
lea rcx, vtable.AMFFactoryHelper.0
call fcn.1400205c0
mov rcx, qword [rax]
mov r8, qword [rcx + 0x10]
xor edx, edx
mov rcx, rax
call r8
xor r15d, r15d
nop word [rax + rax]
lea rcx, vtable.AMFFactoryHelper.0
call fcn.14000e450
mov rbx, rax
mov rcx, qword [rax]
mov rdi, qword [rcx]
mov rcx, qword [r14 + 0x100]
test rcx, rcx
je 0x14001fc87
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
mov qword [r14 + 0x100], 0
lea rdx, [r14 + 0x100]
mov rcx, rbx
call rdi
test eax, eax
jne 0x14001ff4e
xorps xmm0, xmm0
movups xmmword [rsp + 0x44], xmm0
movups xmmword [rsp + 0x54], xmm0
movups xmmword [rsp + 0x64], xmm0
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rbp - 0x7c], xmm0
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
mov dword [rsp + 0x40], 0x94
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x44], 6
jb 0x14001ff2c
cmp dword [rsp + 0x48], 2
jb 0x14001fe3c
lea rcx, [rbp - 0x20]
call fcn.140021090
nop
xor r8d, r8d
mov edx, r15d
lea rcx, [rbp - 0x20]
call fcn.140021420
test eax, eax
jne 0x14001ff34
mov rdi, qword [r14 + 0x100]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x90]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1400213f0
nop
mov r8d, 0x6e
mov rdx, qword [rax]
mov rcx, rdi
call rbx
test eax, eax
sete r13b
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14001fd60
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov eax, dword [rbp + 0x328]
mov dword [r14 + 0xd8], eax
mov eax, dword [rbp + 0x32c]
mov dword [r14 + 0xdc], eax
lea rdi, [r14 + 0xe0]
lea rcx, [rbp + 0x228]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x14001fd90
mov rdx, qword [rdi + 0x10]
cmp rax, rdx
ja 0x14001fdba
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14001fdb0
mov rcx, qword [rdi]
mov qword [rdi + 0x10], rax
mov byte [rcx + rax], 0
jmp 0x14001fe0c
mov rsi, rax
sub rsi, rdx
mov r8, qword [rdi + 0x18]
mov rcx, r8
sub rcx, rdx
cmp rsi, rcx
ja 0x14001fdf6
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp r8, 0x10
jb 0x14001fddf
mov rax, qword [rdi]
lea rbx, [rax + rdx]
mov r8, rsi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + rsi], 0
jmp 0x14001fe0c
mov byte [rsp + 0x20], 0
mov r9, rsi
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call fcn.140008ef0
cmp qword [rdi + 0x18], 0x10
jb 0x14001fe16
mov rdi, qword [rdi]
mov r8, qword [r14 + 0xf0]
lea rdx, [rbp + 0x228]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
nop
lea rcx, [rbp - 0x20]
call fcn.1400211a0
jmp 0x14001ff27
lea rcx, [rbp - 0x20]
call fcn.140020700
nop
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov r8d, r15d
mov dl, 1
lea rcx, [rbp - 0x20]
call fcn.140020c10
test eax, eax
je 0x14001fe94
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov r8d, r15d
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.140020c10
test eax, eax
jne 0x14001ff3f
mov rdi, qword [r14 + 0x100]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x70]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x20]
call fcn.140020be0
nop
mov rdx, qword [rax]
mov rcx, rdi
call rbx
test eax, eax
sete r13b
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14001fed0
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov eax, dword [rbp + 0x648]
mov dword [r14 + 0xd8], eax
mov eax, dword [rbp + 0x64c]
mov dword [r14 + 0xdc], eax
lea rax, [rbp + 0x420]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14001ff00
lea rcx, [r14 + 0xe0]
lea rdx, [rbp + 0x420]
call fcn.140004a60
nop
lea rcx, [rbp - 0x20]
call fcn.140020890
test r13b, r13b
jne 0x14001ff4a
inc r15d
jmp 0x14001fc60
lea rcx, [rbp - 0x20]
call fcn.1400211a0
jmp 0x14001ff5c
lea rcx, [rbp - 0x20]
call fcn.140020890
jmp 0x14001ff5c
mov al, 1
jmp 0x14001ff5e
lea rcx, str.failed_to_create_context:__d_n
mov edx, eax
call fcn.140008850
xor al, al
mov rcx, qword [rbp + 0x670]
xor rcx, rsp
call fcn.140035fc0
lea r11, [rsp + 0x780]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret