Function at 0x42dd40
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x449926
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 0x42e001
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.0040bae0
mov dword [esp + 0x160], 0xffffffff
call fcn.00412bd0
mov edx, dword [0x45c8e4]
add edx, 0xffffb1e0
add esp, 8
cmp edx, 0x270f
ja 0x42de18
call fcn.00429440
test eax, eax
jne 0x42de18
call fcn.00413410
test eax, eax
jne 0x42de18
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push eax
mov ecx, 0x45145c
call fcn.00401e30
call fcn.00413890
add esp, 4
call fcn.00403930
test eax, eax
je 0x42e00b
mov ecx, dword [0x45c8e4]
mov dword [esp + 0x18], ecx
lea ebx, [esp + 0x18]
lea eax, [esp + 0x10]
mov ecx, 0x45ca88
call fcn.0040c470
mov edx, dword [eax]
cmp edx, dword [0x45ca8c]
je 0x42e001
push edi
call fcn.0042e030
cmp dword [0x45cb0c], 0
je 0x42de67
call fcn.00429440
test eax, eax
jne 0x42de8a
call fcn.00413410
test eax, eax
jne 0x42de8a
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push eax
mov ecx, 0x45145c
call fcn.00401e30
call fcn.00413890
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.004325ef
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add esp, 4
push 0
push 0x3e8
push edx
push eax
call fcn.0043ced0
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.004325ef
add esp, 4
lea esi, [esp + 0x14]
call fcn.0040a980
mov ebx, 0x45c9b4
mov dword [esp + 0x158], 1
call fcn.0040bc10
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 0x42df69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [0x45a118], 0
je 0x42dfb4
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.00433910
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 0x42e00b
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.00413990
add esp, 4
jmp 0x42e00b
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.00430f3e
mov esp, ebp
pop ebp
ret