Function at 0x465e90
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x124]
sub esp, 0x124
push 0xffffffffffffffff
push 0x4f258f
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x538074]
xor eax, ebp
mov dword [ebp + 0x120], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 0x12c]
xorps xmm0, xmm0
mov eax, dword [ebp + 0x130]
movq qword [ebp + 0x114], xmm0
mov dword [ebp + 0x11c], 0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], eax
mov dword [ebp + 0x114], 0
mov dword [ebp + 0x118], 0
mov dword [ebp + 0x11c], 0
mov dword [ebp - 4], 0
lea eax, [ebp + 4]
push 0x110
push 0
push eax
mov dword [ebp], 0x114
call fcn.004c0fa0
add esp, 0xc
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x465f56
cmp dword [ebp + 4], 6
jb 0x465f56
lea eax, [ebp + 0x114]
push eax
push ecx
mov ecx, esi
call fcn.00466240
jmp 0x465f61
lea ecx, [ebp + 0x114]
call fcn.004669c0
mov eax, dword [ebp + 0x114]
cmp eax, dword [ebp + 0x118]
jne 0x465f76
xor bl, bl
jmp 0x466184
mov ecx, dword [ebp + 0x118]
mov eax, 0x4ec4ec4f
sub ecx, dword [ebp + 0x114]
imul ecx
mov dword [ebp - 0x20], 0
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x466182
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov esi, dword [ebx]
cmp esi, dword [ebx + 4]
je 0x46614d
lea edi, [esi + 0x50]
mov ebx, dword [ebp + 0x114]
add ebx, ecx
mov dword [ebp - 0x18], ebx
lea eax, [ebx + 0x38]
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.004659f0
test al, al
je 0x466091
lea ecx, [edi - 0x18]
call fcn.00403260
mov ecx, dword [ebp - 0x14]
mov ebx, eax
call fcn.00403260
cmp eax, ebx
jne 0x466097
lea ecx, [edi - 0x18]
call fcn.00402f50
mov ecx, dword [ebp - 0x14]
mov ebx, eax
call fcn.00402f50
mov edx, ebx
mov ecx, eax
call fcn.00474bc0
test al, al
je 0x466097
mov eax, dword [ebp - 0x18]
mov ecx, edi
add eax, 0x50
mov dword [ebp - 0x14], eax
call fcn.00403260
mov ecx, dword [ebp - 0x14]
mov ebx, eax
call fcn.00403260
cmp eax, ebx
jne 0x466097
mov ecx, edi
call fcn.00402f50
mov ecx, dword [ebp - 0x14]
mov ebx, eax
call fcn.00402f50
mov edx, ebx
mov ecx, eax
call fcn.00474bc0
test al, al
je 0x466097
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx + 4]
cmp dword [ebx + 8], eax
je 0x4660b1
push eax
push 0x34
call fcn.00402080
mov ecx, dword [esi]
mov edi, eax
add esp, 8
mov dword [ebp - 0x18], edi
mov dword [edi], ecx
lea ecx, [esi + 4]
push ecx
lea ecx, [edi + 4]
call fcn.00403080
mov byte [ebp - 4], 1
lea eax, [esi + 0x1c]
push eax
lea ecx, [edi + 0x1c]
call fcn.00403080
mov byte [ebp - 4], 0
add dword [ebx + 4], 0x34
jmp 0x4660ba
mov eax, dword [ebx]
cmp eax, dword [esi]
je 0x46604c
mov ebx, dword [ebp - 0x1c]
add esi, 0x68
mov ecx, dword [ebp - 0x10]
add edi, 0x68
cmp esi, dword [ebx + 4]
jne 0x465fb3
jmp 0x46614a
push esi
push eax
mov ecx, ebx
call fcn.00467230
mov ebx, dword [ebp - 0x1c]
lea edi, [esi + 0x68]
mov eax, dword [ebx + 4]
cmp edi, eax
je 0x46611d
add edi, 0x34
mov ebx, eax
add esi, 0x1c
nop
mov eax, dword [edi - 0x34]
lea ecx, [esi - 0x18]
mov dword [esi - 0x1c], eax
lea eax, [edi - 0x30]
push eax
call fcn.00404670
lea eax, [esi + 0x68]
mov ecx, esi
push eax
call fcn.00404670
mov eax, dword [edi]
lea ecx, [esi + 0x1c]
mov dword [esi + 0x18], eax
lea eax, [edi + 4]
push eax
call fcn.00404670
lea eax, [edi + 0x1c]
push eax
lea ecx, [esi + 0x34]
call fcn.00404670
lea edi, [edi + 0x68]
add esi, 0x68
lea eax, [edi - 0x34]
cmp eax, ebx
jne 0x4660d0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx + 4]
lea esi, [eax - 0x68]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 4
lea ecx, [esi + 0x50]
call fcn.00402fc0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x38]
call fcn.00402fc0
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.00432510
add dword [ebx + 4], 0xffffff98
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
add ecx, 0x68
mov dword [ebp - 0x10], ecx
mov eax, 0x4ec4ec4f
mov ecx, dword [ebp + 0x118]
inc esi
sub ecx, dword [ebp + 0x114]
imul ecx
mov ecx, dword [ebp - 0x10]
sar edx, 5
mov eax, edx
mov dword [ebp - 0x20], esi
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x465fa5
mov bl, 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x114]
test ecx, ecx
je 0x46620c
mov edx, dword [ebp + 0x118]
push ecx
call fcn.00467490
mov ecx, dword [ebp + 0x11c]
mov eax, 0x4ec4ec4f
mov esi, dword [ebp + 0x114]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x68
mov eax, esi
cmp ecx, 0x1000
jb 0x4661e4
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x466233
push ecx
push esi
call fcn.004be541
add esp, 8
mov dword [ebp + 0x114], 0
mov dword [ebp + 0x118], 0
mov dword [ebp + 0x11c], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x120]
xor ecx, ebp
call fcn.004be500
lea esp, [ebp + 0x124]
pop ebp
ret 8
call fcn.004c40d9
int3