Function at 0x45f460
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6a70
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], 0xc8
mov dword [ebp - 0x20], 0
call fcn.0041bef0
mov ecx, eax
test ecx, ecx
jne 0x45f4ac
push 0x80004005
call fcn.0041ce60
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push str.Uninst.exe
lea edx, [esi + 0x58]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041c030
add esp, 4
mov byte [ebp - 4], 1
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45f655
lea eax, [ebp - 0x20]
push eax
push ecx
call fcn.0045d8e0
mov eax, dword [0x515364]
test eax, eax
je 0x45f533
push 0
push 0x1388
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0x32
push 0
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x34]
push ecx
push 0
push 0x4a
push eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x34], 0x2711
mov dword [ebp - 0x30], 8
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x45f54e
push dword [esi + 0x78]
push str.ck_WxS
push 0
push 0x32
call eax
add esp, 0x10
push 0x25
push str._S_skiprtpprotect1setupover1___
lea ecx, [ebp - 0x18]
call fcn.0041cd40
mov eax, dword [esi + 0x58]
lea ecx, [ebp - 0x18]
push dword [eax - 0xc]
push eax
call fcn.0041c4b0
cmp dword [esi + 0x38], 0
lea eax, [ebp - 0x14]
push eax
jne 0x45f5c2
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
push 0
push 0xffffffffffffffff
call fcn.00458a10
add esp, 0xc
push dword [ebp - 0x14]
push str.Uninst.exe:return__d
push 0x515408
call fcn.0048c0f0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
test ecx, ecx
je 0x45f643
cmp ecx, 0x65
je 0x45f643
mov eax, dword [esi]
push ecx
push 0x67
mov ecx, esi
call dword [eax + 0x20]
xor esi, esi
jmp 0x45f65a
mov ecx, esi
call fcn.0045f3e0
test eax, eax
je 0x45f5dd
push dword [ebp - 0x14]
mov eax, dword [esi]
mov ecx, esi
push 0x68
call dword [eax + 0x20]
xor esi, esi
jmp 0x45f65a
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x45f60a
push ecx
mov ecx, esi
call fcn.00464100
test eax, eax
jne 0x45f60a
push 0x4f5900
push 0x515408
call fcn.0048c0f0
add esp, 8
xor esi, esi
jmp 0x45f65a
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004643d0
test eax, eax
jne 0x45f643
push dword [ebp - 0x14]
mov eax, dword [esi]
mov ecx, esi
push 0x69
call dword [eax + 0x20]
push 0x4f5920
push 0x515408
call fcn.0048be90
add esp, 8
xor esi, esi
jmp 0x45f65a
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x45f655
push eax
push 0x4f27c4
call fcn.0045d990
mov esi, 1
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x1c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45f67b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x45f69a
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4