Function at 0x460550
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d378
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x596634]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ecx + 8]
push str.SuperApp_
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0045d020
add esp, 0xc
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4605b1
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00428460
mov edx, dword [ebp - 0x44]
or eax, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4605e9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00431260
add esp, 8
mov eax, dword [ebp - 0x54]
mov esi, dword [ebp - 0x58]
cmp esi, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
je 0x46078e
cmp dword [esi + 0x14], 8
mov edx, SysReAllocString
mov eax, dword [esi + 0x10]
mov ecx, esi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], esi
jb 0x460637
mov ecx, dword [esi]
mov dword [ebp - 0x48], ecx
cmp eax, 8
jae 0x46064a
movups xmm0, xmmword [ecx]
mov edi, 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x460681
mov edi, eax
lea ecx, [ebp - 0x28]
or edi, 7
cmp edi, 0x7ffffffe
cmova edi, edx
lea eax, [edi + 1]
push eax
call fcn.004280e0
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x48]
push eax
call fcn.004dca20
mov eax, dword [ebp - 0x44]
add esp, 0xc
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
push 1
cmp edi, 8
mov byte [ebp - 4], 4
push 0x559888
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0x5509ec
push eax
call fcn.00430f40
add esp, 0x10
test al, al
jne 0x460745
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 0x460745
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00474780
add esp, 4
test eax, eax
je 0x460745
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x460745
push str.CreateApp
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46073c
call eax
mov edi, eax
test edi, edi
je 0x46073c
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
test al, al
je 0x46073c
mov eax, dword [edi]
mov ecx, edi
push 0
push 0x559888
mov eax, dword [eax + 8]
call eax
push eax
push str.Uninstall_ret_d
call fcn.00456fb0
add esp, 8
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x460783
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460779
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460812
push edx
push ecx
call fcn.00496936
add esp, 8
add esi, 0x18
cmp esi, dword [ebp - 0x4c]
jmp 0x460608
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x1c]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call fcn.004364c0
add esp, 8
lea ecx, [ebp - 0x1c]
call fcn.004306c0
lea ecx, [ebp - 0x58]
call fcn.00430750
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4607f7
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4607ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460812
push edx
push ecx
call fcn.00496936
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00496d46
mov esp, ebp
pop ebp
ret
call fcn.004e8718
int3