Function at 0x49c120
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x686211
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.0049ca30
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.0049c3d0
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 4]
cmp dword [ebx + 8], ecx
je 0x49c1eb
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 0x49c200
lea eax, [ebp - 0x138]
push eax
push ecx
mov ecx, ebx
call fcn.0049c8a0
mov esi, dword [ebp - 0x12c]
or edi, 0xffffffff
mov dword [ebp - 4], 1
test esi, esi
je 0x49c22d
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x49c22d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x49c22d
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.0064cc00
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x49c2e9
cmp dword [ebp - 0x124], 6
jb 0x49c2e9
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.0049c3d0
lea eax, [ebp - 0x138]
mov dword [ebp - 4], 2
push eax
mov ecx, ebx
call fcn.0049c840
mov dword [ebp - 4], 3
mov esi, dword [ebp - 0x12c]
test esi, esi
je 0x49c2e2
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x49c2e2
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x49c2e2
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.0049c3d0
mov dword [ebp - 4], 4
mov ecx, dword [ebx + 4]
cmp dword [ebx + 8], ecx
je 0x49c36c
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 0x49c381
lea eax, [ebp - 0x14c]
push eax
push ecx
mov ecx, ebx
call fcn.0049c8a0
mov esi, dword [ebp - 0x140]
mov dword [ebp - 4], 5
test esi, esi
je 0x49c3aa
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x49c3aa
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x49c3aa
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.00611399
mov esp, ebp
pop ebp
ret