Function at 0x42cdf0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50214b
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x567e00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x140], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x144], eax
call fcn.004e6d70
test eax, eax
jne 0x42cf09
push 0x100
push eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x12c], 0x11c
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
add esp, 0xc
xor eax, eax
mov word [ebp - 0x18], ax
mov dword [ebp - 0x16], eax
push 1
push 1
push 1
push 2
push eax
push eax
mov word [ebp - 0x12], ax
call esi
push edx
push eax
call esi
push edx
push eax
push 3
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x128], 6
push eax
mov dword [ebp - 0x124], 1
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x42ceba
call fcn.0042d240
test al, al
je 0x42cf09
push 0
push 0
push 0xa
call fcn.00417990
add esp, 0xc
test al, al
jne 0x42cf09
call fcn.004e6f00
mov esi, eax
call fcn.004e6f50
mov edi, eax
call fcn.0042d240
cmp esi, 6
jne 0x42ceed
cmp edi, 1
jbe 0x42ceed
mov cl, 1
jmp 0x42ceef
xor cl, cl
test al, al
je 0x42cefc
test cl, cl
jne 0x42cf09
cmp esi, 0xa
jae 0x42cf09
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp dword [ecx + 4], 4
je 0x42cf1a
jmp 0x42cf0c
mov eax, dword [ebp + 8]
mov edi, dword [eax]
cmp dword [edi + 0x38], 0xffffffff
jne 0x42cf7c
cmp dword [edi + 0x30], 0
jne 0x42cf21
mov al, 1
jmp 0x42d200
cmp dword [edi + 0x34], 8
lea esi, [edi + 0x20]
mov eax, esi
jb 0x42cf2e
mov eax, dword [esi]
push 1
push 0x519950
push 0
push dword [esi + 0x10]
push eax
call fcn.00422e50
add esp, 0x14
cmp eax, 0xffffffff
je 0x42cf83
push 0
push 0x514694
mov ecx, esi
call fcn.004144f0
cmp eax, 0xffffffff
je 0x42cf83
push dword [edi + 8]
push str.KWpsUpdateImpl::IsActionNeedExecute_configure_error_the_index_d_is_not_excute
push str.kupdate::KWpsUpdateImpl::IsActionNeedExecute
push 0x46f
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 0
call fcn.00412230
add esp, 0x18
xor al, al
jmp 0x42d200
push 0
push 0x519950
mov ecx, esi
call fcn.004144f0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
cmp eax, 0xffffffff
jne 0x42d0dc
lea eax, [ebp - 0x13c]
mov dword [ebp - 4], 0
push eax
push 0x514694
push esi
call fcn.00451ca0
mov esi, dword [ebp - 0x13c]
add esp, 0xc
mov edi, dword [ebp - 0x138]
xor bl, bl
mov dword [ebp - 0x130], esi
cmp esi, edi
je 0x42d030
mov esi, dword [ebp - 0x140]
test bl, bl
jne 0x42d02a
lea eax, [ebp + 8]
mov ecx, esi
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.0043b260
mov ecx, dword [ebp - 0x130]
mov bl, al
mov edi, dword [ebp - 0x138]
add ecx, 0x18
mov dword [ebp - 0x130], ecx
cmp ecx, edi
jne 0x42cff2
mov esi, dword [ebp - 0x13c]
test esi, esi
je 0x42d1fe
cmp esi, edi
je 0x42d095
lea esp, [esp]
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x42d075
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x42d06b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d0d6
mov eax, edx
push ecx
push eax
call fcn.004c6f6f
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x42d040
mov esi, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x134]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x42d1f4
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42d1f4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea eax, [ebp - 0x13c]
mov dword [ebp - 4], 1
push eax
push 0x519950
push esi
call fcn.00451ca0
mov esi, dword [ebp - 0x13c]
add esp, 0xc
mov edi, dword [ebp - 0x138]
mov bl, 1
mov dword [ebp - 0x130], esi
cmp esi, edi
je 0x42d154
mov esi, dword [ebp - 0x140]
test bl, bl
je 0x42d14e
lea eax, [ebp + 8]
mov ecx, esi
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.0043b260
mov ecx, dword [ebp - 0x130]
mov bl, al
mov edi, dword [ebp - 0x138]
add ecx, 0x18
mov dword [ebp - 0x130], ecx
cmp ecx, edi
jne 0x42d116
mov esi, dword [ebp - 0x13c]
test esi, esi
je 0x42d1fe
cmp esi, edi
je 0x42d1b5
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x42d195
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x42d18b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d1ee
mov eax, edx
push ecx
push eax
call fcn.004c6f6f
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x42d160
mov esi, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x134]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x42d1f4
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42d1f4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.004c6f6f
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c6f8b
mov esp, ebp
pop ebp
ret 8