Function at 0x41f590
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x49fdbc
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x4c02a0]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c02a0]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
mov eax, dword [0x4c45ac]
mov edx, dword [eax + 0xc]
mov ecx, 0x4c45ac
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
xor ebx, ebx
mov dword [esp + 0x258], ebx
mov eax, dword [0x4c45ac]
mov edx, dword [eax + 0xc]
mov ecx, 0x4c45ac
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x258], 1
call fcn.0041f0b0
test eax, eax
jne 0x41f67e
push str.ProcessCommandLine_return_false
mov ecx, 0x4c5908
call fcn.00472890
add esp, 4
mov dword [0x4c2298], 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 0x41f650
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 0x41f677
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x41f815
mov ecx, dword [0x4c2278]
push ecx
call fcn.00425300
test eax, eax
jne 0x41f6a7
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 0x41f644
push str.g_Install.Init_...
mov ecx, 0x4c5908
call fcn.00472890
add esp, 4
call fcn.004213c0
mov edi, eax
push edi
push str.g_Install.Init_return:_d
mov ecx, 0x4c5908
call fcn.00472890
add esp, 8
cmp edi, ebx
je 0x41f62d
push 0x208
lea edx, [esp + 0x42]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x48], cx
call fcn.004820f0
add esp, 0xc
push 0x104
lea eax, [esp + 0x40]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.0041f8a0
test eax, eax
jne 0x41f764
lea edx, [eax + 8]
lea ecx, [eax + 0x64]
call fcn.0041a0d0
push 0x4a5042
lea ecx, [esp + 0x24]
call fcn.004018a0
push ebx
push ebx
push 8
push 0x4c57c0
lea ecx, [esp + 0x30]
mov byte [esp + 0x268], 2
call fcn.00422020
lea ecx, [esp + 0x20]
call fcn.00401d30
lea ecx, [esp + 0x1c]
call fcn.00406e10
lea ecx, [esp + 0x18]
call fcn.00406e10
xor eax, eax
jmp 0x41f815
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
shr eax, 8
movzx eax, al
cmp ecx, 5
ja 0x41f7fe
jb 0x41f782
cmp eax, ebx
ja 0x41f7fe
push 0x4a5043
lea ecx, [esp + 0x24]
call fcn.004018a0
push ebx
push ebx
push 5
push 0x4c57c0
lea ecx, [esp + 0x30]
mov byte [esp + 0x268], 3
call fcn.00422020
lea ecx, [esp + 0x20]
mov byte [esp + 0x258], 1
call fcn.00401d30
mov edx, 5
lea ecx, [edx + 0x5f]
call fcn.0041a0d0
push str.IsWinXPAndLater_return_false
mov ecx, 0x4c5908
call fcn.00472890
add esp, 4
cmp dword [0x4c2278], ebx
jne 0x41f74b
push 0x40
push 0x4a8b00
push 0x4a8b0c
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x41f74b
lea ecx, [esp + 0x1c]
call fcn.00406e10
lea ecx, [esp + 0x18]
call fcn.00406e10
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.0047cee5
add esp, 0x248
ret