Function at 0x412820
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52f783
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
mov eax, dword [0x57c06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x110
lea eax, [ebp - 0x1e8]
push 0
push eax
call fcn.004e5200
add esp, 0xc
mov dword [ebp - 0x1ec], 0x114
lea eax, [ebp - 0x1ec]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x412887
mov byte [esi + 4], al
jmp 0x412987
cmp dword [ebp - 0x1e8], 5
ja 0x412899
mov byte [esi + 4], 0
jmp 0x412987
xor eax, eax
mov dword [ebp - 0xd8], vtable.t_cuObject.0
mov dword [ebp - 0xd4], 0xffffffff
mov dword [ebp - 0xd0], 1
mov dword [ebp - 0xd8], vtable.t_cuFont.0
mov word [ebp - 0xcc], ax
mov dword [ebp - 0x8c], eax
mov word [ebp - 0x88], ax
mov byte [ebp - 0x86], al
mov dword [ebp - 0x84], eax
mov word [ebp - 0x80], 1
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
sub esp, 0x10
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xd8]
push 0xc
push 0x55b344
call fcn.004a1870
xor eax, eax
mov dword [ebp - 0x74], vtable.t_cuObject.0
mov dword [ebp - 0x70], 0xffffffff
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x74], vtable.t_cuFont.0
mov word [ebp - 0x68], ax
mov dword [ebp - 0x28], eax
mov word [ebp - 0x24], ax
mov byte [ebp - 0x22], al
mov dword [ebp - 0x20], eax
mov word [ebp - 0x1c], 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
sub esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
push 0xc
push 0x55b350
call fcn.004a1870
cmp byte [ebp - 0x80], 0
jne 0x412968
cmp byte [ebp - 0x1c], 0
jne 0x412968
mov al, 1
jmp 0x41296a
xor al, al
lea ecx, [ebp - 0x74]
mov byte [esi + 4], al
call fcn.004a17b0
lea ecx, [ebp - 0xd8]
mov dword [ebp - 4], 0xffffffff
call fcn.004a17b0
cmp byte [esi + 4], 0
push 0x64
je 0x412a30
mov dword [esi + 8], 3
call fcn.004e24e8
movss xmm1, dword [0x57e03c]
xor ecx, ecx
cvtps2pd xmm0, xmm1
add esp, 4
mov dword [ebp - 0x1f0], eax
mov dword [eax], vtable.t_cuObject.0
mov dword [eax + 4], 0xffffffff
mov dword [eax + 8], 1
mov dword [eax], vtable.t_cuFont.0
mov word [eax + 0xc], cx
comisd xmm0, xmmword [0x565408]
mov dword [eax + 0x4c], ecx
mov word [eax + 0x50], cx
mov byte [eax + 0x52], cl
mov dword [eax + 0x54], ecx
mov word [eax + 0x58], 1
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x60], ecx
mov dword [esi], eax
jbe 0x412a1d
mulss xmm1, dword [0x56549c]
sub esp, 0x10
cvtps2pd xmm0, xmm1
addsd xmm0, qword [0x5653b8]
cvttsd2si ecx, xmm0
push ecx
push 0x55b344
jmp 0x412abc
sub esp, 0x10
mov ecx, 0xc
push ecx
push 0x55b344
jmp 0x412abc
mov dword [esi + 8], 0
call fcn.004e24e8
movss xmm1, dword [0x57e03c]
xor ecx, ecx
cvtps2pd xmm0, xmm1
add esp, 4
mov dword [ebp - 0x1f0], eax
mov dword [eax], vtable.t_cuObject.0
mov dword [eax + 4], 0xffffffff
mov dword [eax + 8], 1
mov dword [eax], vtable.t_cuFont.0
mov word [eax + 0xc], cx
comisd xmm0, xmmword [0x565408]
mov dword [eax + 0x4c], ecx
mov word [eax + 0x50], cx
mov byte [eax + 0x52], cl
mov dword [eax + 0x54], ecx
mov word [eax + 0x58], 1
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x60], ecx
mov dword [esi], eax
jbe 0x412aae
mulss xmm1, dword [0x56549c]
cvtps2pd xmm0, xmm1
addsd xmm0, qword [0x5653b8]
cvttsd2si ecx, xmm0
jmp 0x412ab3
mov ecx, 0xc
sub esp, 0x10
push ecx
push 0x55b364
mov ecx, eax
call fcn.004a1870
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e24d7
mov esp, ebp
pop ebp
ret