Function at 0x453480
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2292
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x53d9f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x90], 0
push 0x14
push eax
call fcn.00416f00
add esp, 8
cmp dword [eax + 0x14], 8
mov ebx, 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x90], ebx
jb 0x4534e2
mov eax, dword [eax]
push eax
call fcn.004168a0
add esp, 4
test al, al
jne 0x453599
lea eax, [ebp - 0x70]
push 0x15
push eax
call fcn.00416f00
add esp, 8
cmp dword [eax + 0x14], 8
mov ebx, 3
mov dword [ebp - 4], 1
mov dword [ebp - 0x90], ebx
jb 0x45351b
mov eax, dword [eax]
push eax
call fcn.004168a0
add esp, 4
test al, al
jne 0x453599
lea eax, [ebp - 0x58]
push 0x17
push eax
call fcn.00416f00
add esp, 8
cmp dword [eax + 0x14], 8
mov ebx, 7
mov dword [ebp - 4], 2
mov dword [ebp - 0x90], ebx
jb 0x453550
mov eax, dword [eax]
push eax
call fcn.004168a0
add esp, 4
test al, al
jne 0x453599
lea eax, [ebp - 0x40]
push 6
push eax
call fcn.00416f00
add esp, 8
cmp dword [eax + 0x14], 8
mov ebx, 0xf
mov dword [ebp - 4], 3
mov dword [ebp - 0x90], ebx
jb 0x453585
mov eax, dword [eax]
push eax
call fcn.004168a0
add esp, 4
mov byte [ebp - 0x89], 1
test al, al
je 0x4535a0
mov byte [ebp - 0x89], 0
mov dword [ebp - 4], 2
test bl, 8
je 0x4535fd
mov edx, dword [ebp - 0x2c]
and ebx, 0xfffffff7
cmp edx, 8
jb 0x4535e9
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4535df
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4536ee
push edx
push ecx
call fcn.004bee2d
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 1
test bl, 4
je 0x45365a
mov edx, dword [ebp - 0x44]
and ebx, 0xfffffffb
cmp edx, 8
jb 0x453646
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45363c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4536ee
push edx
push ecx
call fcn.004bee2d
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 0
test bl, 2
je 0x4536b3
mov edx, dword [ebp - 0x5c]
and ebx, 0xfffffffd
cmp edx, 8
jb 0x45369f
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x453695
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4536ee
push edx
push ecx
call fcn.004bee2d
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x4536fe
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x4536fe
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4536f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4536f4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
cmp byte [ebp - 0x89], 0
je 0x45372c
push str.Update_service_not_exists.
push str.kupdate::KProcessUtils::IsUpdateServiceRunning
push 0x345
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcutilKProcessUtils.cpp
push 5
call fcn.00412750
add esp, 0x14
xor al, al
jmp 0x45381a
push dword [0x50e8a0]
call fcn.0049ac90
mov esi, eax
add esp, 4
mov dword [ebp - 0x90], esi
mov dword [ebp - 4], 4
cmp esi, 0xffffffff
jne 0x453806
lea eax, [ebp - 0x28]
mov bl, 1
push 6
push eax
call fcn.00416f00
add esp, 8
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 5
je 0x4537c4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4537c4
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x94]
push ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x94], 0
cmovae eax, dword [ebp - 0x28]
push str.CheckService
push eax
call fcn.004548c0
mov ecx, dword [ebp - 0x94]
add esp, 0xc
test cx, cx
je 0x4537c6
cmp ecx, esi
jne 0x4537c4
call fcn.004551c0
mov bl, al
jmp 0x4537c6
xor bl, bl
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x453802
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4537f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4537f8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
test bl, bl
je 0x453818
mov bl, 1
test esi, esi
je 0x453818
cmp esi, 0xffffffff
je 0x453818
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bee49
mov esp, ebp
pop ebp
ret