Function at 0x4139c0
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454d5b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x278
mov eax, dword [0x46c018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x413e43
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call edi
test eax, eax
je 0x413e43
push str.CreatePCMgrInstallDirShortCut
push 0x46cca0
call fcn.00415860
mov ecx, esi
mov dword [ebp - 0x44], 0
add esp, 8
mov dword [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413a50
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x44]
call fcn.004029b0
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0
call fcn.00412710
push 0x462a28
lea ecx, [ebp - 0x44]
call fcn.00412b30
mov ecx, esi
mov dword [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413aa5
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.004029b0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00412710
push 0x4638d0
lea ecx, [ebp - 0x2c]
call fcn.00412b30
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call edi
test eax, eax
jne 0x413af0
xor esi, esi
jmp 0x413dbf
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call edi
test eax, eax
je 0x413b0c
mov esi, 1
jmp 0x413dbf
push 6
push 0
mov dword [ebp - method.QMTShortCut.virtual_0], vtable.QMTShortCut.0
mov dword [ebp - method.CQMTInitializeCOMThread.virtual_0], vtable.CQMTInitializeCOMThread.0
mov dword [ebp - 0x268], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov ecx, dword [ebp - 0x268]
mov edx, 1
test eax, eax
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 0
cmove ecx, edx
mov dword [ebp - 0x25c], edx
mov dword [ebp - 0x268], ecx
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x30], 8
lea esi, [ebp - 0x44]
push eax
cmovae esi, dword [ebp - 0x44]
push 0x457380
push edx
push 0
push 0x4573c0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x413d42
mov ecx, dword [ebp - 0x264]
test ecx, ecx
je 0x413bb0
mov eax, dword [ecx]
lea edx, [ebp - 0x260]
push edx
push 0x4573d0
push ecx
call dword [eax]
push esi
lea eax, [ebp - 0x258]
mov dword [ebp - 0x25c], 2
push 0x104
push eax
call fcn.0043b794
add esp, 0xc
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x270]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00415eb0
test eax, eax
js 0x413d42
push 0x463f78
lea ecx, [ebp - 0x270]
call fcn.00415da0
test eax, eax
js 0x413d42
push str._showui
lea ecx, [ebp - 0x270]
call fcn.00415c90
test eax, eax
js 0x413d42
mov eax, dword [ebp - 0x264]
xor ecx, ecx
mov dword [ebp - 0x274], ecx
test eax, eax
je 0x413c54
mov ecx, dword [eax]
lea edx, [ebp - 0x274]
push edx
push 0x46405c
push eax
call dword [ecx]
mov ecx, dword [ebp - 0x274]
xor edx, edx
test eax, eax
cmovs ecx, edx
mov dword [ebp - 0x274], ecx
mov byte [ebp - 4], 3
test ecx, ecx
je 0x413c8e
mov eax, 0x1f
mov word [ebp - 0x288], ax
lea eax, [ebp - 0x280]
push eax
push 0x463960
call dword [sym.imp.SHLWAPI.dll_SHStrDupW]
test eax, eax
jns 0x413ca7
xorps xmm0, xmm0
movups xmmword [ebp - 0x288], xmm0
mov ecx, dword [ebp - 0x274]
xor esi, esi
mov byte [ebp - 4], 2
test ecx, ecx
je 0x413d44
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x413d44
mov eax, dword [ebp - 0x274]
lea edx, [ebp - 0x288]
push edx
push 0x46406c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
js 0x413c88
mov eax, dword [ebp - 0x274]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x413c88
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
cmp dword [ebp - 0x25c], 2
jne 0x413cfe
mov eax, dword [ebp - 0x260]
lea edx, [ebp - 0x258]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x260]
test eax, eax
je 0x413d18
mov dword [ebp - 0x260], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x264]
test eax, eax
je 0x413d32
mov dword [ebp - 0x264], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x274]
mov esi, 1
jmp 0x413c90
xor esi, esi
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x260]
mov dword [ebp - method.QMTShortCut.virtual_0], vtable.QMTShortCut.0
test eax, eax
je 0x413d6c
mov dword [ebp - 0x260], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x264]
test eax, eax
je 0x413d86
mov dword [ebp - 0x264], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x260]
test eax, eax
je 0x413d96
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x264]
test eax, eax
je 0x413da6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x268], 0
mov dword [ebp - method.CQMTInitializeCOMThread.virtual_0], vtable.CQMTInitializeCOMThread.0
je 0x413dbf
call dword [sym.imp.ole32.dll_CoUninitialize]
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x413df5
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413deb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413e63
push edx
push ecx
call fcn.0042cd10
add esp, 8
mov edx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x413e3f
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413e35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413e63
push edx
push ecx
call fcn.0042cd10
add esp, 8
mov eax, esi
jmp 0x413e45
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042cd02
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0043182f
int3