Function at 0x49c3f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6865a1
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x79cac4]
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 - 0x13c], esi
mov edx, dword [esi + 0x34]
lea ebx, [esi + 0x30]
push ecx
mov ecx, dword [ebx]
call fcn.0049cd00
mov eax, dword [ebx]
add esp, 4
mov dword [ebx + 4], eax
mov ecx, esi
lea eax, [ebp - 0x130]
mov dword [ebp - 0x138], 0x642
mov dword [ebp - 0x134], 0x641
push 0x4b0
push eax
call fcn.0049c6a0
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 4]
cmp dword [ebx + 8], ecx
je 0x49c4bb
mov eax, dword [ebp - 0x138]
xor esi, esi
mov dword [ecx], eax
mov eax, dword [ebp - 0x134]
mov dword [ecx + 4], eax
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov eax, dword [ebp - 0x130]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x12c]
mov dword [ecx + 0xc], eax
add dword [ebx + 4], 0x10
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], esi
jmp 0x49c4d0
lea eax, [ebp - 0x138]
push eax
push ecx
mov ecx, ebx
call fcn.0049cb70
mov esi, dword [ebp - 0x12c]
or edi, 0xffffffff
mov dword [ebp - 4], 1
test esi, esi
je 0x49c4fd
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x49c4fd
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x49c4fd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 0x110
lea eax, [ebp - 0x124]
mov dword [ebp - 4], 0xffffffff
push 0
push eax
mov dword [ebp - 0x128], 0x114
call fcn.0064cf50
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x49c5b9
cmp dword [ebp - 0x124], 6
jb 0x49c5b9
mov ecx, dword [ebp - 0x13c]
lea eax, [ebp - 0x130]
push 0x4b2
push eax
mov dword [ebp - 0x138], 0x644
mov dword [ebp - 0x134], 0x643
call fcn.0049c6a0
lea eax, [ebp - 0x138]
mov dword [ebp - 4], 2
push eax
mov ecx, ebx
call fcn.0049cb10
mov dword [ebp - 4], 3
mov esi, dword [ebp - 0x12c]
test esi, esi
je 0x49c5b2
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x49c5b2
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x49c5b2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x13c]
lea eax, [ebp - 0x144]
push 0x4b1
push eax
mov dword [ebp - 0x14c], 0x646
mov dword [ebp - 0x148], 0x645
call fcn.0049c6a0
mov dword [ebp - 4], 4
mov ecx, dword [ebx + 4]
cmp dword [ebx + 8], ecx
je 0x49c63c
mov eax, dword [ebp - 0x14c]
xor esi, esi
mov dword [ecx], eax
mov eax, dword [ebp - 0x148]
mov dword [ecx + 4], eax
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov eax, dword [ebp - 0x144]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x140]
mov dword [ecx + 0xc], eax
add dword [ebx + 4], 0x10
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], esi
jmp 0x49c651
lea eax, [ebp - 0x14c]
push eax
push ecx
mov ecx, ebx
call fcn.0049cb70
mov esi, dword [ebp - 0x140]
mov dword [ebp - 4], 5
test esi, esi
je 0x49c67a
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x49c67a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x49c67a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
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.006116c3
mov esp, ebp
pop ebp
ret