Function at 0x41f780
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49caf6
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4cf500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x1a
lea esi, [ebp - 0x18]
mov dword [ebp - 0x1c], 1
call fcn.0040cf10
mov edi, dword [ebp + 8]
lea eax, [edi + 4]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov ebx, 0x4aaf74
mov dword [ebp - 4], 0
call fcn.004066b0
lea edx, [ebp - 0x28]
push 0x4da384
push edx
mov ebx, eax
mov byte [ebp - 4], 1
call fcn.0040b4f0
add esp, 0x14
mov bl, 3
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f810
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], al
jne 0x41f83c
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], eax
mov byte [ebp - 4], 4
call fcn.00418090
push 0x4a2ae0
call fcn.00472e64
add esp, 4
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
push ecx
push sym.Install.exe__t__1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_4V__singleton_wrapp
call fcn.00419360
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x14]
push eax
mov ebx, 0x4ab0ac
mov byte [ebp - 4], 5
call fcn.004066b0
add esp, 8
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
cmp dword [eax - 4], 1
jle 0x41f87f
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004019d0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41f893
test al, 0x10
je 0x41f938
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f8b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f8d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f8fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f922
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x10]
push edx
mov ebx, str.MicrosoftInternet_ExplorerQuick_Launch
call fcn.004066b0
add esp, 8
push 0x4aef74
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00401c90
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 4], 8
call fcn.00420a40
test eax, eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x24]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f997
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41f9a2
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x24]
push edx
mov ebx, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar
call fcn.004066b0
add esp, 8
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.00404dc0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f9e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x24]
push edx
mov ebx, 0x4ab0ac
call fcn.004066b0
mov eax, dword [eax]
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
add esp, 8
push 5
push 0
push 0
push eax
push str.TaskBarUnPin
push 0
call esi
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fa32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x14]
push 5
push 0
push 0
push ecx
push str.TaskBarPin
push 0
call esi
push 0x4aef74
lea ecx, [ebp - 0x24]
call fcn.00401c90
mov edi, dword [ebp + 8]
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 0xa
call fcn.00420a40
test eax, eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x24]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fa8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41fa99
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x24]
push edx
mov ebx, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedStartMenu
call fcn.004066b0
add esp, 8
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 0xb
call fcn.00404dc0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fadd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x24]
push edx
mov ebx, 0x4ab0ac
call fcn.004066b0
mov eax, dword [eax]
add esp, 8
push 5
push 0
push 0
push eax
push str.StartUnPin
push 0
call esi
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fb23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x14]
push 5
push 0
push 0
push ecx
push str.StartPin
push 0
call esi
push 0x4aef74
lea ecx, [ebp - 0x24]
call fcn.00401c90
mov edi, dword [ebp + 8]
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 0xc
call fcn.00420a40
test eax, eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x24]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fb7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41fb8a
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fbad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fbd0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fbf3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fc16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fc3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4