Function at 0x42d010
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x5110ac
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x53c1a4]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53c1a4]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
mov eax, dword [0x546fac]
mov edx, dword [eax + 0xc]
mov ecx, 0x546fac
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
xor ebx, ebx
mov dword [esp + 0x258], ebx
mov eax, dword [0x546fac]
mov edx, dword [eax + 0xc]
mov ecx, 0x546fac
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x258], 1
call fcn.0042cb50
test eax, eax
jne 0x42d0fe
push str.ProcessCommandLine_return_false
mov ecx, 0x548980
call fcn.004dfa90
add esp, 4
mov dword [0x544984], 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 0x42d0d0
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 0x42d0f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x42d295
mov ecx, dword [0x544964]
push ecx
call fcn.004347b0
test eax, eax
jne 0x42d127
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 0x42d0c4
push str.g_Install.Init_...
mov ecx, 0x548980
call fcn.004dfa90
add esp, 4
call fcn.0042ef00
mov edi, eax
push edi
push str.g_Install.Init_return:_d
mov ecx, 0x548980
call fcn.004dfa90
add esp, 8
cmp edi, ebx
je 0x42d0ad
push 0x208
lea edx, [esp + 0x42]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x48], cx
call fcn.004f08c0
add esp, 0xc
push 0x104
lea eax, [esp + 0x40]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.0042d320
test eax, eax
jne 0x42d1e4
lea edx, [eax + 8]
lea ecx, [eax + 0x64]
call fcn.00421b60
push 0x517226
lea ecx, [esp + 0x24]
call fcn.00401900
push ebx
push ebx
push 8
push 0x5487c0
lea ecx, [esp + 0x30]
mov byte [esp + 0x268], 2
call fcn.004310c0
lea ecx, [esp + 0x20]
call fcn.00401e10
lea ecx, [esp + 0x1c]
call fcn.00406e40
lea ecx, [esp + 0x18]
call fcn.00406e40
xor eax, eax
jmp 0x42d295
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
shr eax, 8
movzx eax, al
cmp ecx, 5
ja 0x42d27e
jb 0x42d202
cmp eax, ebx
ja 0x42d27e
push 0x517227
lea ecx, [esp + 0x24]
call fcn.00401900
push ebx
push ebx
push 5
push 0x5487c0
lea ecx, [esp + 0x30]
mov byte [esp + 0x268], 3
call fcn.004310c0
lea ecx, [esp + 0x20]
mov byte [esp + 0x258], 1
call fcn.00401e10
mov edx, 5
lea ecx, [edx + 0x5f]
call fcn.00421b60
push str.IsWinXPAndLater_return_false
mov ecx, 0x548980
call fcn.004dfa90
add esp, 4
cmp dword [0x544964], ebx
jne 0x42d1cb
push 0x40
push 0x51ef70
push 0x51ef7c
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x42d1cb
lea ecx, [esp + 0x1c]
call fcn.00406e40
lea ecx, [esp + 0x18]
call fcn.00406e40
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.004ea83a
add esp, 0x248
ret