Function at 0x455130
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5052d7
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x567e00]
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 0x16
push eax
call fcn.00417040
add esp, 8
cmp dword [eax + 0x14], 8
mov ebx, 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x90], ebx
jb 0x455192
mov eax, dword [eax]
push eax
call fcn.00416b00
add esp, 4
test al, al
jne 0x455249
lea eax, [ebp - 0x70]
push 0x17
push eax
call fcn.00417040
add esp, 8
cmp dword [eax + 0x14], 8
mov ebx, 3
mov dword [ebp - 4], 1
mov dword [ebp - 0x90], ebx
jb 0x4551cb
mov eax, dword [eax]
push eax
call fcn.00416b00
add esp, 4
test al, al
jne 0x455249
lea eax, [ebp - 0x58]
push 0x19
push eax
call fcn.00417040
add esp, 8
cmp dword [eax + 0x14], 8
mov ebx, 7
mov dword [ebp - 4], 2
mov dword [ebp - 0x90], ebx
jb 0x455200
mov eax, dword [eax]
push eax
call fcn.00416b00
add esp, 4
test al, al
jne 0x455249
lea eax, [ebp - 0x40]
push 6
push eax
call fcn.00417040
add esp, 8
cmp dword [eax + 0x14], 8
mov ebx, 0xf
mov dword [ebp - 4], 3
mov dword [ebp - 0x90], ebx
jb 0x455235
mov eax, dword [eax]
push eax
call fcn.00416b00
add esp, 4
mov byte [ebp - 0x89], 1
test al, al
je 0x455250
mov byte [ebp - 0x89], 0
mov dword [ebp - 4], 2
test bl, 8
je 0x4552ad
mov edx, dword [ebp - 0x2c]
and ebx, 0xfffffff7
cmp edx, 8
jb 0x455299
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45528f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45539e
push edx
push ecx
call fcn.004c6f6f
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 0x45530a
mov edx, dword [ebp - 0x44]
and ebx, 0xfffffffb
cmp edx, 8
jb 0x4552f6
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4552ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45539e
push edx
push ecx
call fcn.004c6f6f
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 0x455363
mov edx, dword [ebp - 0x5c]
and ebx, 0xfffffffd
cmp edx, 8
jb 0x45534f
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x455345
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45539e
push edx
push ecx
call fcn.004c6f6f
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 0x4553ae
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x4553ae
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4553a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4553a4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
cmp byte [ebp - 0x89], 0
je 0x4553dc
push str.Update_service_not_exists.
push str.kupdate::KProcessUtils::IsUpdateServiceRunning
push 0x3f4
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcutilKProcessUtils.cpp
push 5
call fcn.00412230
add esp, 0x14
xor al, al
jmp 0x4554ca
push dword [0x532a58]
call fcn.004a0c00
mov esi, eax
add esp, 4
mov dword [ebp - 0x90], esi
mov dword [ebp - 4], 4
cmp esi, 0xffffffff
jne 0x4554b6
lea eax, [ebp - 0x28]
mov bl, 1
push 6
push eax
call fcn.00417040
add esp, 8
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 5
je 0x455474
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 0x455474
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.004566b0
mov ecx, dword [ebp - 0x94]
add esp, 0xc
test cx, cx
je 0x455476
cmp ecx, esi
jne 0x455474
call fcn.00457180
mov bl, al
jmp 0x455476
xor bl, bl
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4554b2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4554a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4554a8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
test bl, bl
je 0x4554c8
mov bl, 1
test esi, esi
je 0x4554c8
cmp esi, 0xffffffff
je 0x4554c8
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.004c6f8b
mov esp, ebp
pop ebp
ret