Function at 0x42cb20
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x5108bc
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x53a1a4]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53a1a4]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
mov eax, dword [0x544fac]
mov edx, dword [eax + 0xc]
mov ecx, 0x544fac
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
xor ebx, ebx
mov dword [esp + 0x258], ebx
mov eax, dword [0x544fac]
mov edx, dword [eax + 0xc]
mov ecx, 0x544fac
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x258], 1
call fcn.0042c640
test eax, eax
jne 0x42cc0e
push str.ProcessCommandLine_return_false
mov ecx, 0x546980
call fcn.004df340
add esp, 4
mov dword [0x542984], 0x3e9
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x258], bl
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cbe0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x258], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cc07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x42cda5
mov ecx, dword [0x542964]
push ecx
call fcn.00434060
test eax, eax
jne 0x42cc37
lea eax, [esi - 0x10]
mov byte [esp + 0x258], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x42cbd4
push str.g_Install.Init_...
mov ecx, 0x546980
call fcn.004df340
add esp, 4
call fcn.0042e910
mov edi, eax
push edi
push str.g_Install.Init_return:_d
mov ecx, 0x546980
call fcn.004df340
add esp, 8
cmp edi, ebx
je 0x42cbbd
push 0x208
lea edx, [esp + 0x42]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x48], cx
call fcn.004f0190
add esp, 0xc
push 0x104
lea eax, [esp + 0x40]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.0042ce30
test eax, eax
jne 0x42ccf4
lea edx, [eax + 8]
lea ecx, [eax + 0x64]
call fcn.00421510
push 0x516226
lea ecx, [esp + 0x24]
call fcn.00401910
push ebx
push ebx
push 8
push 0x5467c0
lea ecx, [esp + 0x30]
mov byte [esp + 0x268], 2
call fcn.00430ad0
lea ecx, [esp + 0x20]
call fcn.00401e70
lea ecx, [esp + 0x1c]
call fcn.00406cf0
lea ecx, [esp + 0x18]
call fcn.00406cf0
xor eax, eax
jmp 0x42cda5
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
shr eax, 8
movzx eax, al
cmp ecx, 5
ja 0x42cd8e
jb 0x42cd12
cmp eax, ebx
ja 0x42cd8e
push 0x516227
lea ecx, [esp + 0x24]
call fcn.00401910
push ebx
push ebx
push 5
push 0x5467c0
lea ecx, [esp + 0x30]
mov byte [esp + 0x268], 3
call fcn.00430ad0
lea ecx, [esp + 0x20]
mov byte [esp + 0x258], 1
call fcn.00401e70
mov edx, 5
lea ecx, [edx + 0x5f]
call fcn.00421510
push str.IsWinXPAndLater_return_false
mov ecx, 0x546980
call fcn.004df340
add esp, 4
cmp dword [0x542964], ebx
jne 0x42ccdb
push 0x40
push 0x51df40
push 0x51df4c
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x42ccdb
lea ecx, [esp + 0x1c]
call fcn.00406cf0
lea ecx, [esp + 0x18]
call fcn.00406cf0
mov eax, 1
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.004ea10a
add esp, 0x248
ret