Function at 0x42c4d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df586
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x53d9f8]
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.004da1e0
test eax, eax
jne 0x42c5e9
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 0x42c59a
call fcn.0042c930
test al, al
je 0x42c5e9
push 0
push 0
push 0xa
call fcn.00417780
add esp, 0xc
test al, al
jne 0x42c5e9
call fcn.004da360
mov esi, eax
call fcn.004da3b0
mov edi, eax
call fcn.0042c930
cmp esi, 6
jne 0x42c5cd
cmp edi, 1
jbe 0x42c5cd
mov cl, 1
jmp 0x42c5cf
xor cl, cl
test al, al
je 0x42c5dc
test cl, cl
jne 0x42c5e9
cmp esi, 0xa
jae 0x42c5e9
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp dword [ecx + 4], 4
je 0x42c5fa
jmp 0x42c5ec
mov eax, dword [ebp + 8]
mov edi, dword [eax]
cmp dword [edi + 0x38], 0xffffffff
jne 0x42c65e
cmp dword [edi + 0x30], 0
jne 0x42c601
mov al, 1
jmp 0x42c8f0
mov ebx, dword [edi + 0x34]
lea esi, [edi + 0x20]
mov eax, esi
cmp ebx, 8
jb 0x42c610
mov eax, dword [esi]
push 1
push 0x4f6058
push 0
push dword [esi + 0x10]
push eax
call fcn.00422b10
add esp, 0x14
cmp eax, 0xffffffff
je 0x42c665
push 0
push 0x4ee53c
mov ecx, esi
call fcn.004148a0
cmp eax, 0xffffffff
je 0x42c665
push dword [edi + 8]
push str.KWpsUpdateImpl::IsActionNeedExecute_configure_error_the_index_d_is_not_excute
push str.kupdate::KWpsUpdateImpl::IsActionNeedExecute
push 0x48e
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 0
call fcn.00412750
add esp, 0x18
xor al, al
jmp 0x42c8f0
mov eax, esi
cmp ebx, 8
jb 0x42c66e
mov eax, dword [esi]
push 1
push 0x4f6058
push 0
push dword [esi + 0x10]
push eax
call fcn.00422b10
add esp, 0x14
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
cmp eax, 0xffffffff
jne 0x42c7cc
lea eax, [ebp - 0x13c]
mov dword [ebp - 4], 0
push eax
push 0x4ee53c
push esi
call fcn.00450930
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 0x42c722
mov esi, dword [ebp - 0x140]
test bl, bl
jne 0x42c71c
lea eax, [ebp + 8]
mov ecx, esi
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.0043a6d0
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 0x42c6e4
mov esi, dword [ebp - 0x13c]
test esi, esi
je 0x42c8ee
cmp esi, edi
je 0x42c785
mov edi, edi
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x42c765
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x42c75b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c7c6
mov eax, edx
push ecx
push eax
call fcn.004bee2d
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 0x42c730
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 0x42c8e4
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42c8e4
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 0x4f6058
push esi
call fcn.00450930
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 0x42c844
mov esi, dword [ebp - 0x140]
test bl, bl
je 0x42c83e
lea eax, [ebp + 8]
mov ecx, esi
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.0043a6d0
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 0x42c806
mov esi, dword [ebp - 0x13c]
test esi, esi
je 0x42c8ee
cmp esi, edi
je 0x42c8a5
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x42c885
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x42c87b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c8de
mov eax, edx
push ecx
push eax
call fcn.004bee2d
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 0x42c850
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 0x42c8e4
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42c8e4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.004bee2d
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.004bee49
mov esp, ebp
pop ebp
ret 8