Function at 0x460ff0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53dde8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x597644]
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.0045d880
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 0x461051
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.004282d0
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 0x461089
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.004310e0
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 0x46122e
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 0x4610d7
mov ecx, dword [esi]
mov dword [ebp - 0x48], ecx
cmp eax, 8
jae 0x4610ea
movups xmm0, xmmword [ecx]
mov edi, 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x461121
mov edi, eax
lea ecx, [ebp - 0x28]
or edi, 7
cmp edi, 0x7ffffffe
cmova edi, edx
lea eax, [edi + 1]
push eax
call fcn.00427f50
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.004dd480
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 0x55a958
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0x551a04
push eax
call fcn.00430dc0
add esp, 0x10
test al, al
jne 0x4611e5
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 0x4611e5
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00475cd0
add esp, 4
test eax, eax
je 0x4611e5
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 0x4611e5
push str.CreateApp
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4611dc
call eax
mov edi, eax
test edi, edi
je 0x4611dc
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
test al, al
je 0x4611dc
mov eax, dword [edi]
mov ecx, edi
push 0
push 0x55a958
mov eax, dword [eax + 8]
call eax
push eax
push str.Uninstall_ret_d
call fcn.00456ec0
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 0x461223
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x461219
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4612b2
push edx
push ecx
call fcn.00497eef
add esp, 8
add esi, 0x18
cmp esi, dword [ebp - 0x4c]
jmp 0x4610a8
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.00436340
add esp, 8
lea ecx, [ebp - 0x1c]
call fcn.00430540
lea ecx, [ebp - 0x58]
call fcn.004305d0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x461297
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46128d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4612b2
push edx
push ecx
call fcn.00497eef
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.004982ff
mov esp, ebp
pop ebp
ret
call fcn.004e9178
int3