Function at 0x4353b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4537e6
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x4650c0]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push esi
push edi
mov eax, dword [0x4650c0]
xor eax, esp
push eax
lea eax, [esp + 0x150]
mov dword fs:[0], eax
push ecx
mov eax, esp
mov edi, ecx
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 + 0x24], esp
push ecx
mov esi, str.XXM_Software
call fcn.0040d930
mov dword [esp + 0x160], 0xffffffff
call fcn.00416440
add esp, 8
call fcn.0042c520
test eax, eax
jne 0x435442
call fcn.00416c80
call fcn.00403a20
test eax, eax
je 0x435601
mov edx, dword [0x4689c8]
lea ebx, [esp + 0x14]
lea eax, [esp + 0x1c]
mov ecx, 0x468b78
mov dword [esp + 0x14], edx
call fcn.0040e260
mov eax, dword [eax]
cmp eax, dword [0x468b7c]
jne 0x435484
mov dword [0x4689b4], 1
jmp 0x435601
push edi
call fcn.00435630
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.0043aefb
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add esp, 4
push 0
push 0x3e8
push edx
push eax
call fcn.00446060
mov ecx, eax
movzx eax, word [esp + 0x24]
mov esi, edx
cdq
add ecx, eax
mov eax, dword [0x468cc0]
adc esi, edx
imul eax, eax, 0x36ee80
cdq
mov dword [esp + 0x20], esi
mov esi, eax
mov eax, dword [0x468cbc]
imul eax, eax, 0xea60
mov ebx, edx
cdq
sub eax, esi
sbb edx, ebx
add eax, ecx
adc edx, dword [esp + 0x20]
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.0043aefb
add esp, 4
lea esi, [esp + 0x14]
call fcn.0040c7d0
mov ebx, 0x468aa4
mov dword [esp + 0x158], 1
call fcn.0040da60
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 0x43556b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [0x466450], 0
je 0x4355b6
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.0043c440
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 0x435601
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.004171d0
add esp, 4
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.004397ee
mov esp, ebp
pop ebp
ret