Function at 0x461360
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d85c0
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.0041bed0
mov ecx, eax
test ecx, ecx
jne 0x4613ac
push 0x80004005
call fcn.0041cdf0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push str.Uninst.exe
lea edx, [esi + 0x4c]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041c010
add esp, 4
mov byte [ebp - 4], 1
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x461555
lea eax, [ebp - 0x20]
push eax
push ecx
call fcn.0045f820
mov eax, dword [0x5153e4]
test eax, eax
je 0x461433
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 + 0xec]
test eax, eax
je 0x46144e
push dword [esi + 0x6c]
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.0041ccd0
mov eax, dword [esi + 0x4c]
lea ecx, [ebp - 0x18]
push dword [eax - 0xc]
push eax
call fcn.0041c490
cmp dword [esi + 0x38], 0
lea eax, [ebp - 0x14]
push eax
jne 0x4614c2
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
push 0
push 0xffffffffffffffff
call fcn.0045ac80
add esp, 0xc
push dword [ebp - 0x14]
push str.Uninst.exe:return__d
push 0x515488
call fcn.0048d710
mov ecx, dword [ebp - 0x14]
add esp, 0xc
test ecx, ecx
je 0x461543
cmp ecx, 0x65
je 0x461543
mov eax, dword [esi]
push ecx
push 0x67
mov ecx, esi
call dword [eax + 0x20]
xor esi, esi
jmp 0x46155a
mov ecx, esi
call fcn.004612e0
test eax, eax
je 0x4614dd
push dword [ebp - 0x14]
mov eax, dword [esi]
mov ecx, esi
push 0x68
call dword [eax + 0x20]
xor esi, esi
jmp 0x46155a
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x46150a
push ecx
mov ecx, esi
call fcn.00465320
test eax, eax
jne 0x46150a
push 0x4f6278
push 0x515488
call fcn.0048d710
add esp, 8
xor esi, esi
jmp 0x46155a
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004655f0
test eax, eax
jne 0x461543
push dword [ebp - 0x14]
mov eax, dword [esi]
mov ecx, esi
push 0x69
call dword [eax + 0x20]
push 0x4f6298
push 0x515488
call fcn.0048d4b0
add esp, 8
xor esi, esi
jmp 0x46155a
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x461555
push eax
push 0x4f338c
call fcn.0045f8d0
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 0x46157b
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 0x46159a
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