Function at 0x18004e2d0
Capabilities:
Check os version

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x18012c3a8]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rax, qword [rbp + 0x188]
xorps xmm0, xmm0
mov r15, qword [rbp + 0x190]
mov r14, r9
mov r13, qword [rbp + 0x198]
mov rbx, r8
mov qword [rbp - 0x70], rax
mov rsi, rdx
movdqu xmmword [rbp - 0x38], xmm0
mov rdi, rcx
mov dword [rbp - 0x28], 0xaac56b
mov dword [rbp - 0x24], 0x11d0cd44
mov dword [rbp - 0x20], 0xc000c28c
mov dword [rbp - 0x1c], 0xee95c24f
call fcn.18004ecb0
test eax, eax
jne 0x18004e352
jmp 0x18004e76e
mov rax, qword [rdi + 0x1d0]
lea rcx, [rsp + 0x20]
mov qword [rbp - 0x78], rax
xor edx, edx
mov rax, qword [rdi + 0x1d8]
mov qword [rsp + 0x268], r12
xor r12d, r12d
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x68], 0x20
mov qword [rbp - 0x50], r12
lea r8d, [r12 + 0x58]
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rsi
call fcn.1800abaa0
mov esi, dword [rbp + 0x180]
lea rax, [rbp - 0x68]
mov qword [rsp + 0x48], rax
mov ebx, 1
mov eax, dword [rdi + 0x98]
mov dword [rbp - 0x44], eax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x20], 0x58
mov qword [rsp + 0x38], 2
mov dword [rsp + 0x40], ebx
mov dword [rbp - 0x48], 0x20
mov qword [rbp - 0x40], 3
test esi, esi
jne 0x18004e3f9
test r13, r13
jne 0x18004e3f9
call fcn.18004e250
mov dword [rsp + 0x50], r12d
test eax, eax
je 0x18004e3fd
mov dword [rsp + 0x50], ebx
cmp dword [rdi + 0x1f8], r12d
je 0x18004e410
mov dword [rsp + 0x68], 0x40
jmp 0x18004e45f
cmp dword [0x18013236c], r12d
jne 0x18004e447
lea rcx, [rbp - 0x10]
mov dword [rbp - 0x10], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x18004e441
mov eax, dword [0x180132368]
cmp dword [rbp - 0xc], 5
cmove eax, ebx
mov dword [0x180132368], eax
mov dword [0x18013236c], ebx
cmp dword [0x180132368], r12d
mov eax, 0x10
mov ecx, 0x1000
cmove eax, ecx
mov dword [rsp + 0x68], eax
lea r9, [rsp + 0x20]
mov rcx, rdi
lea r8, [rbp - 0x28]
call fcn.180050a90
test eax, eax
je 0x18004e4f2
mov rcx, qword [rsp + 0x70]
cmp dword [rcx + 0xc], r12d
jbe 0x18004e4f2
mov ebx, dword [rdi + 0x98]
cmp eax, 0x800b0100
je 0x18004e4ed
lea r9, [rsp + 0x20]
mov dword [rsp + 0x50], 2
lea r8, [rbp - 0x28]
mov rcx, rdi
call fcn.180050a90
test eax, eax
jne 0x18004e4ed
mov rax, qword [rsp + 0x70]
lea r9, [rsp + 0x20]
mov qword [rsp + 0x58], r12
lea r8, [rbp - 0x28]
mov dword [rsp + 0x50], 1
inc ebx
mov rcx, rdi
mov dword [rax + 4], ebx
call fcn.180050a90
test eax, eax
je 0x18004e4e7
cmp ebx, 0xa
jae 0x18004e4ed
cmp eax, 0x800b0100
jne 0x18004e490
jmp 0x18004e4ed
mov dword [rdi + 0x98], ebx
mov ebx, 1
test r15, r15
je 0x18004e4fa
mov dword [r15], eax
cmp eax, 0x8009200d
je 0x18004e52e
cmp eax, 0x800b0100
je 0x18004e52e
mov ecx, dword [r14 + 4]
cmp eax, 0x800b0101
je 0x18004e524
test eax, eax
je 0x18004e51f
and ecx, 0xfffffffd
or ecx, 1
jmp 0x18004e52a
or ecx, 3
jmp 0x18004e52a
and ecx, 0xfffffffe
or ecx, 2
mov dword [r14 + 4], ecx
test r13, r13
jne 0x18004e544
test esi, esi
jne 0x18004e544
call fcn.18004e250
test eax, eax
je 0x18004e71f
test byte [r14 + 4], 3
je 0x18004e71f
mov rcx, qword [rsp + 0x58]
call qword [rbp - 0x80]
test rax, rax
je 0x18004e71f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [rbp - 0x78]
mov r15, rax
test rax, rax
je 0x18004e71f
test r13, r13
je 0x18004e5ec
xor eax, eax
mov qword [r13 + 8], rax
mov qword [r13 + 0x10], rax
mov ecx, dword [rdi + 0x98]
mov dword [r13], ecx
mov ecx, dword [r14 + 4]
and cl, 3
cmp cl, 2
jb 0x18004e6fa
mov rdx, qword [r15 + 0x20]
call fcn.18004e790
mov qword [r13 + 8], rax
mov rax, qword [rdi + 0x1e0]
test rax, rax
je 0x18004e6fa
xor edx, edx
mov rcx, r15
call rax
test rax, rax
je 0x18004e6fa
mov rdx, qword [rdi + 0x1e8]
test rdx, rdx
je 0x18004e6fa
mov rcx, qword [rax + 8]
call rdx
mov qword [r13 + 0x10], rax
jmp 0x18004e640
call fcn.18004e250
test eax, eax
je 0x18004e6fa
mov eax, dword [r14 + 4]
and al, 3
cmp al, 2
jb 0x18004e6fa
mov rax, qword [rdi + 0x1e0]
test rax, rax
je 0x18004e6fa
xor edx, edx
mov rcx, r15
call rax
test rax, rax
je 0x18004e6fa
mov rdx, qword [rdi + 0x1e8]
test rdx, rdx
je 0x18004e6fa
mov rcx, qword [rax + 8]
call rdx
mov r12d, ebx
mov rsi, rax
test rax, rax
je 0x18004e6f4
call fcn.18004e250
test eax, eax
je 0x18004e6e6
mov rbx, qword [rsi + 0x18]
test rbx, rbx
je 0x18004e6e6
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x18004e6d6
lea rdx, [0x1800fd698]
call fcn.1800bb04c
test eax, eax
je 0x18004e6cf
mov rcx, qword [rbx + 0x18]
lea rdx, str.1.2.840.10045.4.1
call fcn.1800bb04c
test eax, eax
je 0x18004e6cf
mov rcx, qword [rbx + 0x18]
lea rdx, str.1.2.840.10045.4.3.1
call fcn.1800bb04c
test eax, eax
je 0x18004e6cf
mov rcx, qword [rbx + 0x18]
lea rdx, str.1.2.840.10045.4.3.3
call fcn.1800bb04c
test eax, eax
je 0x18004e6cf
mov rcx, qword [rbx + 0x18]
lea rdx, str.1.2.840.10045.4.3.4
call fcn.1800bb04c
test eax, eax
jne 0x18004e6d6
mov eax, 1
jmp 0x18004e6d8
xor eax, eax
test eax, eax
je 0x18004e6e6
and dword [r14 + 4], 0xfffffffd
or dword [r14 + 4], 1
test r12d, r12d
je 0x18004e6f4
mov rcx, rsi
call qword [rdi + 0x1a8]
mov esi, dword [rbp + 0x180]
mov eax, dword [r14 + 4]
and al, 3
cmp al, 2
jb 0x18004e71f
test esi, esi
je 0x18004e71f
mov rcx, qword [r15 + 0x38]
test rcx, rcx
je 0x18004e71f
mov r8, qword [rbp - 0x70]
mov edx, 1
call fcn.180052370
mov rbx, qword [rsp + 0x58]
lea rcx, [rsp + 0x20]
xor edx, edx
lea r8d, [rdx + 0x58]
call fcn.1800abaa0
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 0x58
lea r8, [rbp - 0x28]
mov qword [rsp + 0x58], rbx
mov rcx, rdi
mov dword [rsp + 0x50], 2
call fcn.180050a90
mov r12, qword [rsp + 0x268]
mov eax, 1
mov dword [r14], 3
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.18008f850
add rsp, 0x220
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret