Function at 0x4104e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x735414
mov eax, dword fs:[0]
push eax
sub esp, 0x32c
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.005796b0
add esp, 0xc
mov dword [ebp - 0x248], 0x104
push 0xc
lea ecx, [ebp - 0x238]
call fcn.0040e4d0
push 0
lea ecx, [ebp - 0x238]
call fcn.0040e0d0
mov dword [ebp - 4], 0
push 0xc
lea ecx, [ebp - 0x244]
call fcn.0040e4d0
push 0
lea ecx, [ebp - 0x244]
call fcn.0040e0d0
mov byte [ebp - 4], 1
push 0xc
lea ecx, [ebp - 0x22c]
call fcn.0040e4d0
push 0
lea ecx, [ebp - 0x22c]
call fcn.0040e0d0
mov byte [ebp - 4], 2
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x26c], 0
push 4
lea ecx, [ebp - 0x220]
call fcn.0040dab0
lea ecx, [ebp - 0x220]
call fcn.0040da00
mov byte [ebp - 4], 3
push 4
lea ecx, [ebp - 0x21c]
call fcn.0040dab0
lea ecx, [ebp - 0x21c]
call fcn.0040da00
mov byte [ebp - 4], 4
mov dword [ebp - 0x270], 0
lea edx, [ebp - 0x338]
push edx
call fcn.00410270
add esp, 4
mov dword [ebp - 0x280], eax
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 5
push str.User_PinnedTaskBar_
mov ecx, dword [ebp - 0x284]
push ecx
lea edx, [ebp - 0x320]
push edx
call fcn.00417080
add esp, 0xc
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x2cc], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x2cc]
push edx
lea eax, [ebp - 0x308]
push eax
call fcn.00416f80
add esp, 0xc
mov dword [ebp - 0x2a8], eax
mov ecx, dword [ebp - 0x2a8]
mov dword [ebp - 0x2a4], ecx
mov byte [ebp - 4], 7
push str..lnk
mov edx, dword [ebp - 0x2a4]
push edx
lea eax, [ebp - 0x260]
push eax
call fcn.00417080
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x308]
call fcn.00405650
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x320]
call fcn.00405650
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x338]
call fcn.00405650
push 0x2001f
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStore_shellWindows.taskbarpin
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x238]
call fcn.0040e350
mov ecx, 0x20019
test ecx, ecx
je 0x4106e7
jmp 0x410a64
lea edx, [ebp - 0x248]
push edx
lea eax, [ebp - 0x218]
push eax
push 0x7ecffc
lea ecx, [ebp - 0x238]
call fcn.0040e400
test eax, eax
je 0x41070e
jmp 0x410a64
push 0
push 0
push 0x2001f
push 0
push 0
push str.SOFTWAREClasses_shell:
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x244]
call fcn.0040e280
test eax, eax
je 0x410739
jmp 0x410a64
push 1
lea ecx, [ebp - 0x218]
push ecx
push str.ExplorerCommandHandler
lea ecx, [ebp - 0x244]
call fcn.0040e520
test eax, eax
je 0x41075b
jmp 0x410a64
lea edx, [ebp - 0x264]
push edx
push 0x75e230
push 0x15
push 0
push 0x75e280
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0
jl 0x410a34
cmp dword [ebp - 0x264], 0
je 0x410a34
mov ecx, dword [ebp + 0xc]
call fcn.00405580
push eax
lea ecx, [ebp - 0x2e0]
call fcn.0040db10
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x2d0], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x2d0]
mov edx, dword [ecx]
mov dword [ebp - 0x2b8], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x2b4], eax
mov edx, dword [ecx + 8]
mov dword [ebp - 0x2b0], edx
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x2ac], eax
lea ecx, [ebp - 0x268]
push ecx
sub esp, 0x10
mov edx, esp
mov eax, dword [ebp - 0x2b8]
mov dword [edx], eax
mov ecx, dword [ebp - 0x2b4]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x2b0]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x2ac]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x264]
push edx
mov eax, dword [ebp - 0x264]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
call edx
mov dword [ebp - 0x270], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2e0]
call fcn.0040daf0
cmp dword [ebp - 0x270], 0
jl 0x410a10
cmp dword [ebp - 0x268], 0
je 0x410a10
mov ecx, dword [ebp + 0x10]
call fcn.00405580
push eax
lea ecx, [ebp - 0x294]
call fcn.0040da20
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x26c]
push ecx
mov ecx, dword [ebp - 0x290]
call fcn.0040da70
push eax
mov edx, dword [ebp - 0x268]
push edx
mov eax, dword [ebp - 0x268]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
call edx
mov dword [ebp - 0x270], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x294]
call fcn.0040dad0
cmp dword [ebp - 0x270], 0
jl 0x410a10
cmp dword [ebp - 0x26c], 0
je 0x410a10
mov dword [ebp - 0x278], 0
push 0x7ed05c
lea ecx, [ebp - 0x2f0]
call fcn.0040db10
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0x29c], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx]
mov dword [ebp - 0x2c8], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x2c4], eax
mov edx, dword [ecx + 8]
mov dword [ebp - 0x2c0], edx
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x2bc], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x2c8]
mov dword [ecx], edx
mov eax, dword [ebp - 0x2c4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x2c0]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x2bc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x26c]
push eax
mov ecx, dword [edx + 0x5c]
call ecx
test eax, eax
jne 0x410980
mov dword [ebp - 0x27c], 1
jmp 0x41098a
mov dword [ebp - 0x27c], 0
mov dl, byte [ebp - 0x27c]
mov byte [ebp - 0x271], dl
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2f0]
call fcn.0040daf0
movzx eax, byte [ebp - 0x271]
test eax, eax
je 0x410a10
movzx ecx, byte [ebp + 8]
test ecx, ecx
je 0x4109d1
lea ecx, [ebp - 0x260]
call fcn.00405580
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x4109d1
jmp 0x410a10
movzx edx, byte [ebp + 8]
test edx, edx
jne 0x4109f1
lea ecx, [ebp - 0x260]
call fcn.00405580
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4109f1
jmp 0x410a10
cmp dword [ebp - 0x278], 2
jbe 0x4109fc
jmp 0x410a10
mov eax, dword [ebp - 0x278]
add eax, 1
mov dword [ebp - 0x278], eax
jmp 0x4108e5
mov ecx, dword [ebp - 0x264]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x264]
push eax
mov ecx, dword [edx + 8]
call ecx
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x264], 0
push 0x2001f
push str.SOFTWAREClasses_shell
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x22c]
call fcn.0040e350
test eax, eax
je 0x410a54
jmp 0x410a64
push 0x7ed098
lea ecx, [ebp - 0x22c]
call fcn.0040e5c0
lea ecx, [ebp - 0x238]
call fcn.0040e1d0
lea ecx, [ebp - 0x244]
call fcn.0040e1d0
lea ecx, [ebp - 0x22c]
call fcn.0040e1d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x260]
call fcn.00405650
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x21c]
call fcn.0040dad0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x220]
call fcn.0040dad0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.0040e100
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x244]
call fcn.0040e100
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.0040e100
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fb522
mov esp, ebp
pop ebp
ret