Function at 0x483260
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x634426
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x140], esi
push 0x110
lea eax, [ebp - 0x124]
mov dword [ebp - 0x144], esi
push 0
push eax
mov dword [ebp - 0x138], 0
call fcn.005feb40
add esp, 0xc
mov dword [ebp - 0x128], 0x114
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x124], 5
ja 0x4832e8
mov ecx, esi
call fcn.00482f40
jmp 0x4834db
push 0x6ac668
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4834a1
push str.SHGetKnownFolderPath
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x4834a1
mov dword [ebp - 0x134], 0
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0
push ecx
push eax
call dword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
mov ebx, eax
call fcn.00484a70
test eax, eax
je 0x48338c
test ebx, ebx
je 0x483352
mov eax, dword [ebp - 0x12c]
test eax, eax
jne 0x48336b
lea ecx, [ebp - 0x12c]
call fcn.00481030
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x4834a1
lea ecx, [ebp - 0x134]
push ecx
push eax
push 0
push 0x68a98c
call edi
push dword [ebp - 0x12c]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4833a0
lea eax, [ebp - 0x134]
push eax
push 0
push 0
push 0x68a98c
call edi
mov edi, eax
test edi, edi
jne 0x4834a1
push dword [ebp - 0x134]
lea ecx, [ebp - 0x130]
call fcn.004178d0
mov dword [ebp - 4], edi
push dword [ebp - 0x134]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x130]
cmp dword [eax - 0xc], edi
je 0x48342b
push 1
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x130]
call fcn.00411f40
mov dword [ebp - 0x138], 2
mov ecx, 0x6a2f8c
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48341e
test dx, dx
je 0x48341a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48341e
add eax, 4
add ecx, 4
test dx, dx
jne 0x4833f8
xor eax, eax
jmp 0x483423
sbb eax, eax
or eax, 1
test eax, eax
je 0x48342b
mov bl, 1
jmp 0x48342d
xor bl, bl
or edi, 0xffffffff
test byte [ebp - 0x138], 2
je 0x483456
mov edx, dword [ebp - 0x13c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x483456
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x483466
push ecx
lea ecx, [ebp - 0x130]
call fcn.00486450
mov eax, dword [ebp - 0x130]
add eax, 0xfffffff0
push eax
call fcn.00401b80
mov dword [ebp - 4], 0xffffffff
add eax, 0x10
mov edx, dword [ebp - 0x130]
add esp, 4
mov dword [esi], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4834db
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4834db
call fcn.004021b0
mov ecx, eax
test ecx, ecx
je 0x4834f9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0x69fdb8
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00417800
test al, al
jne 0x4834db
push 0
push 0x69fdb8
mov ecx, esi
call fcn.00401e40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c358e
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00401f90
int3