Function at 0x42dd30
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x449906
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x4590c0]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push esi
push edi
mov eax, dword [0x4590c0]
xor eax, esp
push eax
lea eax, [esp + 0x150]
mov dword fs:[0], eax
cmp dword [0x45c8e4], 0x2710
mov edi, ecx
mov dword [esp + 0x14], edi
jl 0x42dff1
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push eax
mov ecx, str.XXM_Calendare_
call fcn.00401e30
push ecx
mov dword [esp + 0x160], 0
mov ecx, esp
mov dword [esp + 0x18], esp
push ecx
mov esi, str.XXM_Software
call fcn.0040bba0
mov dword [esp + 0x160], 0xffffffff
call fcn.00412cb0
mov edx, dword [0x45c8e4]
add edx, 0xffffb1e0
add esp, 8
cmp edx, 0x270f
ja 0x42de08
call fcn.00429410
test eax, eax
jne 0x42de08
call fcn.004134f0
test eax, eax
jne 0x42de08
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push eax
mov ecx, 0x45145c
call fcn.00401e30
call fcn.00413970
add esp, 4
call fcn.004039b0
test eax, eax
je 0x42dffb
mov ecx, dword [0x45c8e4]
mov dword [esp + 0x18], ecx
lea ebx, [esp + 0x18]
lea eax, [esp + 0x10]
mov ecx, 0x45ca88
call fcn.0040c4d0
mov edx, dword [eax]
cmp edx, dword [0x45ca8c]
je 0x42dff1
push edi
call fcn.0042e020
cmp dword [0x45cb0c], 0
je 0x42de57
call fcn.00429410
test eax, eax
jne 0x42de7a
call fcn.004134f0
test eax, eax
jne 0x42de7a
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push eax
mov ecx, 0x45145c
call fcn.00401e30
call fcn.00413970
add esp, 4
xor eax, eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call fcn.004325af
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add esp, 4
push 0
push 0x3e8
push edx
push eax
call fcn.0043cea0
mov ecx, eax
movzx eax, word [esp + 0x24]
mov esi, edx
cdq
add ecx, eax
mov eax, dword [0x45cbb8]
adc esi, edx
imul eax, eax, 0x36ee80
cdq
mov edi, eax
mov eax, dword [0x45cbb4]
imul eax, eax, 0xea60
mov ebx, edx
cdq
sub eax, edi
mov edi, dword [esp + 0x14]
sbb edx, ebx
add eax, ecx
adc edx, esi
mov dword [edi + 0xa8], eax
xor eax, eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [edi + 0xac], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call fcn.004325af
add esp, 4
lea esi, [esp + 0x14]
call fcn.0040aa40
mov ebx, 0x45c9b4
mov dword [esp + 0x158], 1
call fcn.0040bcd0
mov dword [esp + 0x158], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42df59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [0x45a118], 0
je 0x42dfa4
mov ecx, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x2710
push 2
push ecx
call esi
mov edx, dword [edi + 4]
push 0
push 0x7d0
push 1
push edx
call esi
mov eax, dword [edi + 4]
push 0
push 0xea60
push 0
push eax
call esi
mov ecx, dword [edi + 4]
push 0
push 0x7530
push 3
push ecx
call esi
push 0x114
lea edx, [esp + 0x30]
push 0
push edx
call fcn.004338d0
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x30], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x30], 6
jb 0x42dffb
fldz
push ecx
fstp dword [esp]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov edi, eax
call fcn.00413a70
add esp, 4
jmp 0x42dffb
mov dword [0x45c8d0], 1
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.00430efe
mov esp, ebp
pop ebp
ret