Function at 0x402fd0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43c656
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
mov eax, dword [0x44f318]
push esi
push edi
mov dword [esp + 0xb4], eax
xor eax, eax
mov ecx, 0x27
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0x9c
call fcn.0042fbf3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
mov dword [esp + 0xc4], 0
call fcn.0042fbf3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov byte [esp + 0xc4], 1
call fcn.0042f5c5
test eax, eax
je 0x40305f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x403061
xor eax, eax
mov ecx, eax
call fcn.00406d60
mov esi, eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4031d1
cmp dword [esp + 0x20], 2
jne 0x4031d1
mov eax, dword [esp + 0x14]
cmp eax, 5
jb 0x4031d1
ja 0x403178
mov eax, dword [esp + 0x18]
cmp eax, 1
ja 0x403178
sub eax, 0
je 0x4030f0
dec eax
jne 0x40315c
cmp word [esp + 0xa4], 1
jae 0x40315c
mov eax, dword [esi + 8]
test eax, eax
lea ecx, [esp + 0xc]
je 0x4030df
push 0x43ecdc
call fcn.00402bf0
push str.WindowsXP
jmp 0x403126
push str.error
call fcn.00402bf0
push str.The_WindowsXP_ServicePack2_is_needed_
jmp 0x403126
cmp word [esp + 0xa4], 4
jae 0x40315c
mov eax, dword [esi + 8]
test eax, eax
lea ecx, [esp + 0xc]
je 0x403117
push 0x43ecdc
call fcn.00402bf0
push str.Windows2000
jmp 0x403126
push str.error
call fcn.00402bf0
push str.The_Windows2000_ServicePack4_is_needed_.
lea ecx, [esp + 0xc]
call fcn.00402bf0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, dword [ebp + 8]
push 0
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0xc]
call fcn.00401f50
lea ecx, [esp + 8]
call fcn.00401f50
jmp 0x40326a
lea ecx, [esp + 0xc]
call fcn.00401f50
lea ecx, [esp + 8]
call fcn.00401f50
mov eax, 1
jmp 0x40326c
mov eax, dword [esi + 8]
test eax, eax
lea ecx, [esp + 0xc]
je 0x403194
push 0x43ec34
call fcn.00402bf0
push 0x43ebf4
jmp 0x4031a3
push str.warning
call fcn.00402bf0
push str.The_Windows_server_may_not_compatible_with_this_tools__nContinue_
lea ecx, [esp + 0xc]
call fcn.00402bf0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, dword [ebp + 8]
push 1
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 1
lea ecx, [esp + 0xc]
jne 0x403149
jmp 0x403160
mov eax, dword [esi + 8]
test eax, eax
lea ecx, [esp + 0xc]
je 0x4031f1
push 4
push 0x43ecdc
call fcn.004020c0
push 0x1f
push 0x43eb88
jmp 0x403204
push 5
push str.error
call fcn.004020c0
push 0x2b
push str.The_before_Windows2000_cannot_be_supported_
lea ecx, [esp + 0x10]
call fcn.004020c0
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 8]
mov ecx, dword [ebp + 8]
push 0
push esi
push edi
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [esi - 0x10]
mov byte [esp + 0xc4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403245
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0xc4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40326a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xb4]
call fcn.0042005d
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4