Function at 0x42be80
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4d5d52
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x54d158]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54d158]
xor eax, esp
push eax
lea eax, [esp + 0x188]
mov dword fs:[0], eax
mov edi, edx
mov eax, dword [esp + 0x198]
mov ebp, dword [esp + 0x19c]
mov esi, dword [esp + 0x1a4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1a0]
xor ebx, ebx
mov dword [esp + 0x190], ebx
mov dword [esp + 0x40], ebx
mov eax, dword [eax]
sub eax, 0x10
push eax
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ecx
call fcn.0040ff10
add eax, 0x10
add esp, 4
mov dword [ebp], eax
mov dword [esp + 0x190], ebx
mov dword [esp + 0x40], 1
call fcn.004a08e6
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42bf2f
push 0x80004005
call fcn.004103e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push esi
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x198], 1
call fcn.0042ba80
mov byte [esp + 0x190], 2
call fcn.004a08e6
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42bf77
push 0x80004005
call fcn.004103e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
cmp edi, 1
mov byte [esp + 0x190], 3
jne 0x42bfa6
push 0xd
push str._ALLUSERAPP__
lea ecx, [esp + 0x24]
call fcn.0040fe70
jmp 0x42bfdb
cmp edi, 2
jne 0x42bfcd
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0x68], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x68]
cmp eax, 6
jne 0x42c01b
cmp dword [esp + 0x6c], edi
jae 0x42c01d
push str._USERAPP__
lea ecx, [esp + 0x20]
call fcn.00410090
mov bl, 4
lea ecx, [ecx]
mov eax, dword [ebp]
cmp dword [eax - 0xc], 0
jle 0x42c657
push 0x25
push eax
call fcn.004ae2db
add esp, 8
test eax, eax
je 0x42c657
mov ecx, dword [ebp]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x42c657
cmp dword [ecx - 0xc], 0
jg 0x42c024
or edi, 0xffffffff
jmp 0x42c03f
jbe 0x42bfcd
push str._USERAPPLOCAL__
jmp 0x42bfd2
push 0x25
push ecx
call fcn.004ae2db
add esp, 8
test eax, eax
jne 0x42c038
or edi, 0xffffffff
jmp 0x42c03f
sub eax, dword [ebp]
sar eax, 1
mov edi, eax
mov eax, dword [ebp]
mov ecx, dword [eax - 0xc]
lea esi, [edi + 1]
test esi, esi
jl 0x42c06d
cmp esi, ecx
jge 0x42c06d
lea edx, [eax + esi*2]
push 0x25
push edx
call fcn.004ae2db
add esp, 8
test eax, eax
je 0x42c06d
sub eax, dword [ebp]
sar eax, 1
mov dword [esp + 0x28], eax
jmp 0x42c075
mov dword [esp + 0x28], 0xffffffff
cmp edi, 0xffffffff
je 0x42c657
cmp dword [esp + 0x28], 0xffffffff
je 0x42c657
mov eax, dword [esp + 0x28]
sub eax, edi
sub eax, 1
push eax
push esi
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebp
call fcn.00431530
mov byte [esp + 0x190], bl
mov edi, dword [esp + 0x38]
push str.INSTALLROOT
push edi
call fcn.004ad47d
add esp, 8
test eax, eax
jne 0x42c150
call fcn.004a08e6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42bf25
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x194], 5
call fcn.0040fdf0
push 0x51df30
lea edx, [esp + 0x24]
push 0x5206f4
push edx
call fcn.00410070
mov esi, dword [esp + 0x2c]
mov eax, dword [esi - 0xc]
add esp, 0xc
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.0040ee60
lea eax, [esi - 0x10]
mov byte [esp + 0x190], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c585
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42c585
push str.COMPONENT
push edi
call fcn.004ad47d
add esp, 8
test eax, eax
jne 0x42c21a
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x42c181
push eax
lea ecx, [esp + 0x1c]
call fcn.0040fdf0
jmp 0x42c585
call fcn.004a08e6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42bf25
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x194], 6
call fcn.0040fdf0
mov edx, dword [esp + 0x24]
push edx
push str.XPLATFORM
push 0x51df30
lea eax, [esp + 0x2c]
push str._s_s_sComponent_
push eax
call fcn.00410070
mov esi, dword [esp + 0x34]
mov eax, dword [esi - 0xc]
add esp, 0x14
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.0040ee60
lea eax, [esi - 0x10]
mov byte [esp + 0x190], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c585
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42c585
push str.USERAPP
push edi
call fcn.004ad47d
add esp, 8
test eax, eax
jne 0x42c29f
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x50]
call fcn.0042c700
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x194], 7
call fcn.0040fdf0
mov byte [esp + 0x190], bl
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c274
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x18]
mov ecx, dword [edx - 0xc]
test ecx, ecx
jle 0x42c585
lea eax, [ecx - 1]
test eax, eax
jl 0x42c64d
cmp eax, ecx
jg 0x42c64d
movzx eax, word [edx + eax*2]
jmp 0x42c571
push 0x520760
push edi
call fcn.004ad47d
add esp, 8
test eax, eax
jne 0x42c2e3
mov ecx, dword [esp + 0x2c]
push 2
push ecx
lea ecx, [esp + 0x60]
call fcn.0042c700
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x194], 8
call fcn.0040fdf0
mov byte [esp + 0x190], bl
mov eax, dword [esp + 0x58]
jmp 0x42c258
push str.ALLUSERAPP
push edi
call fcn.004ad47d
add esp, 8
test eax, eax
jne 0x42c327
mov ecx, dword [esp + 0x2c]
push 1
push ecx
lea ecx, [esp + 0x58]
call fcn.0042c700
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x194], 9
call fcn.0040fdf0
mov byte [esp + 0x190], bl
mov eax, dword [esp + 0x50]
jmp 0x42c258
push str.THEME
push edi
call fcn.004ad47d
add esp, 8
test eax, eax
jne 0x42c3d6
call fcn.004a08e6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42bf25
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x194], 0xa
call fcn.0040fdf0
mov edx, dword [esp + 0x24]
push edx
push str.XPLATFORM
push 0x51df30
lea eax, [esp + 0x2c]
push str._s_s_sCacheTheme_
push eax
call fcn.00410070
mov esi, dword [esp + 0x34]
mov eax, dword [esi - 0xc]
add esp, 0x14
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.0040ee60
lea eax, [esi - 0x10]
mov byte [esp + 0x190], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c585
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42c585
push str.CACHE
push edi
call fcn.004ad47d
add esp, 8
test eax, eax
jne 0x42c44f
lea ecx, [esp + 0x30]
call fcn.00410110
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x194], 0xb
call fcn.0040fdf0
mov edx, dword [esp + 0x24]
push edx
push str.XPLATFORM
push 0x51df30
lea eax, [esp + 0x3c]
push str._s_s_sCache_
push eax
call fcn.00410070
mov eax, dword [esp + 0x44]
mov ecx, dword [eax - 0xc]
add esp, 0x14
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0040ee60
lea ecx, [esp + 0x30]
mov byte [esp + 0x190], bl
call fcn.00410230
jmp 0x42c585
push str.MYDOCUMENT
push edi
call fcn.004ad47d
add esp, 8
test eax, eax
je 0x42c522
push str.DOCUMENT
push edi
call fcn.004ad47d
add esp, 8
test eax, eax
je 0x42c522
push str.EXECUTE
push edi
call fcn.004ad47d
add esp, 8
test eax, eax
jne 0x42c4c2
lea esi, [esp + 0x3c]
call fcn.00431130
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x194], 0xd
call fcn.0040fdf0
mov ecx, esi
mov byte [esp + 0x190], bl
call fcn.00410230
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
jmp 0x42c556
lea ecx, [esp + 0x34]
call fcn.00410110
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x194], 0xe
call fcn.0040fdf0
mov eax, dword [esp + 0x24]
push eax
push str.XPLATFORM
push 0x51df30
lea ecx, [esp + 0x40]
push str._s_s_s_
push ecx
call fcn.00410070
add esp, 0x14
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x1c]
call fcn.0040d9e0
lea ecx, [esp + 0x34]
mov byte [esp + 0x190], bl
call fcn.00410230
jmp 0x42c585
mov ecx, dword [esp + 0x2c]
lea esi, [esp + 0x44]
call fcn.00431090
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x194], 0xc
call fcn.0040fdf0
mov ecx, esi
mov byte [esp + 0x190], bl
call fcn.00410230
mov eax, dword [esp + 0x18]
mov eax, dword [eax - 0xc]
test eax, eax
jle 0x42c585
lea ecx, [eax - 1]
test ecx, ecx
jl 0x42c64d
lea eax, [esp + 0x18]
call fcn.004318f0
movzx eax, ax
cmp ax, 0x5c
je 0x42c585
push 0x52075c
lea esi, [esp + 0x1c]
call fcn.0040da40
mov ecx, dword [ebp]
mov eax, dword [ecx - 0xc]
sub eax, dword [esp + 0x28]
lea edx, [esp + 0x4c]
sub eax, 2
push eax
push edx
mov ecx, ebp
call fcn.0040dbf0
push eax
mov ecx, ebp
mov byte [esp + 0x194], 0xf
call fcn.0040fdf0
mov byte [esp + 0x190], bl
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c5d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x5c]
push edx
call fcn.00431660
add esp, 0xc
push eax
mov ecx, ebp
mov byte [esp + 0x194], 0x10
call fcn.0040fdf0
mov byte [esp + 0x190], bl
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c620
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x190], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bfe0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42bfe0
push 0x80070057
call fcn.004103e0
mov byte [esp + 0x190], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c67f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x190], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c6a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x190], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c6cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.004ac89d
add esp, 0x180
ret 0x10