Function at 0x4610e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7fc0
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 0x46112c
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 0x4612d5
lea eax, [ebp - 0x20]
push eax
push ecx
call fcn.0045f5b0
mov eax, dword [0x5153e4]
test eax, eax
je 0x4611b3
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 0x4611ce
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 0x461242
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
push 0
push 0xffffffffffffffff
call fcn.0045aa40
add esp, 0xc
push dword [ebp - 0x14]
push str.Uninst.exe:return__d
push 0x515488
call fcn.0048d1f0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
test ecx, ecx
je 0x4612c3
cmp ecx, 0x65
je 0x4612c3
mov eax, dword [esi]
push ecx
push 0x67
mov ecx, esi
call dword [eax + 0x20]
xor esi, esi
jmp 0x4612da
mov ecx, esi
call fcn.00461060
test eax, eax
je 0x46125d
push dword [ebp - 0x14]
mov eax, dword [esi]
mov ecx, esi
push 0x68
call dword [eax + 0x20]
xor esi, esi
jmp 0x4612da
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x46128a
push ecx
mov ecx, esi
call fcn.00465030
test eax, eax
jne 0x46128a
push 0x4f6160
push 0x515488
call fcn.0048d1f0
add esp, 8
xor esi, esi
jmp 0x4612da
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00465300
test eax, eax
jne 0x4612c3
push dword [ebp - 0x14]
mov eax, dword [esi]
mov ecx, esi
push 0x69
call dword [eax + 0x20]
push 0x4f6180
push 0x515488
call fcn.0048cf90
add esp, 8
xor esi, esi
jmp 0x4612da
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4612d5
push eax
push 0x4f338c
call fcn.0045f660
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 0x4612fb
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 0x46131a
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