Function at 0x40b5f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68c1a9
mov eax, dword fs:[0]
push eax
sub esp, 0x32c
mov eax, dword [0x737100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.004ded70
add esp, 0xc
mov dword [ebp - 0x2f0], 0x104
push 0
lea ecx, [ebp - 0x318]
call fcn.00408a00
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x30c]
call fcn.00408a00
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x300]
call fcn.00408a00
mov byte [ebp - 4], 2
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x28c], 0
lea ecx, [ebp - 0x2c0]
call fcn.00408350
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2bc]
call fcn.00408350
mov byte [ebp - 4], 4
mov dword [ebp - 0x27c], 0
lea ecx, [ebp - 0x248]
push ecx
call fcn.0040b210
add esp, 4
mov dword [ebp - 0x298], eax
mov edx, dword [ebp - 0x298]
mov dword [ebp - 0x29c], edx
mov byte [ebp - 4], 5
push str.User_PinnedTaskBar_
mov eax, dword [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x260]
push ecx
call fcn.0040db20
add esp, 0xc
mov dword [ebp - 0x2a0], eax
mov edx, dword [ebp - 0x2a0]
mov dword [ebp - 0x2a4], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x2a4]
push ecx
lea edx, [ebp - 0x278]
push edx
call fcn.0040dcc0
add esp, 0xc
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 7
push str..lnk
mov ecx, dword [ebp - 0x2ac]
push ecx
lea edx, [ebp - 0x230]
push edx
call fcn.0040db20
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x278]
call fcn.00403030
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x260]
call fcn.00403030
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x248]
call fcn.00403030
push 0x20019
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStore_shellWindows.taskbarpin
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x318]
call fcn.00408c60
test eax, eax
je 0x40b7a8
jmp 0x40bb25
lea eax, [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0x218]
push ecx
push 0x71cd0c
lea ecx, [ebp - 0x318]
call fcn.00408d00
test eax, eax
je 0x40b7cf
jmp 0x40bb25
push 0
push 0
push 0x2001f
push 0
push 0
push str.SOFTWAREClasses_shell:
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x30c]
call fcn.00408ba0
test eax, eax
je 0x40b7fa
jmp 0x40bb25
push 1
lea edx, [ebp - 0x218]
push edx
push str.ExplorerCommandHandler
lea ecx, [ebp - 0x30c]
call fcn.00408df0
test eax, eax
je 0x40b81c
jmp 0x40bb25
lea eax, [ebp - 0x280]
push eax
push 0x69ba60
push 0x15
push 0
push 0x69bac0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0
jl 0x40baf5
cmp dword [ebp - 0x280], 0
je 0x40baf5
mov ecx, dword [ebp + 0xc]
call fcn.00403020
push eax
lea ecx, [ebp - 0x328]
call fcn.00408440
mov dword [ebp - 0x2ec], eax
mov ecx, dword [ebp - 0x2ec]
mov dword [ebp - 0x2e8], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x2e8]
mov eax, dword [edx]
mov dword [ebp - 0x2d0], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x2cc], ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x2c8], eax
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x2c4], ecx
lea edx, [ebp - 0x288]
push edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x2d0]
mov dword [eax], ecx
mov edx, dword [ebp - 0x2cc]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x2c8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x2c4]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x280]
push eax
mov ecx, dword [ebp - 0x280]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
call eax
mov dword [ebp - 0x27c], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x328]
call fcn.00408420
cmp dword [ebp - 0x27c], 0
jl 0x40bad1
cmp dword [ebp - 0x288], 0
je 0x40bad1
mov ecx, dword [ebp + 0x10]
call fcn.00403020
push eax
lea ecx, [ebp - 0x2b0]
call fcn.00408370
mov dword [ebp - 0x2e4], eax
mov ecx, dword [ebp - 0x2e4]
mov dword [ebp - 0x2f4], ecx
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x28c]
push edx
mov ecx, dword [ebp - 0x2f4]
call fcn.004083c0
push eax
mov eax, dword [ebp - 0x288]
push eax
mov ecx, dword [ebp - 0x288]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
call eax
mov dword [ebp - 0x27c], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2b0]
call fcn.00408400
cmp dword [ebp - 0x27c], 0
jl 0x40bad1
cmp dword [ebp - 0x28c], 0
je 0x40bad1
mov dword [ebp - 0x290], 0
push 0x71cda8
lea ecx, [ebp - 0x338]
call fcn.00408440
mov dword [ebp - 0x2b4], eax
mov ecx, dword [ebp - 0x2b4]
mov dword [ebp - 0x2b8], ecx
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x2b8]
mov eax, dword [edx]
mov dword [ebp - 0x2e0], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x2dc], ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x2d8], eax
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x2d4], ecx
sub esp, 0x10
mov edx, esp
mov eax, dword [ebp - 0x2e0]
mov dword [edx], eax
mov ecx, dword [ebp - 0x2dc]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x2d8]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x2d4]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x28c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28c]
push ecx
mov edx, dword [eax + 0x5c]
call edx
test eax, eax
jne 0x40ba41
mov dword [ebp - 0x294], 1
jmp 0x40ba4b
mov dword [ebp - 0x294], 0
mov al, byte [ebp - 0x294]
mov byte [ebp - 0x281], al
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x338]
call fcn.00408420
movzx ecx, byte [ebp - 0x281]
test ecx, ecx
je 0x40bad1
movzx edx, byte [ebp + 8]
test edx, edx
je 0x40ba92
lea ecx, [ebp - 0x230]
call fcn.00403020
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x40ba92
jmp 0x40bad1
movzx eax, byte [ebp + 8]
test eax, eax
jne 0x40bab2
lea ecx, [ebp - 0x230]
call fcn.00403020
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40bab2
jmp 0x40bad1
cmp dword [ebp - 0x290], 2
jbe 0x40babd
jmp 0x40bad1
mov ecx, dword [ebp - 0x290]
add ecx, 1
mov dword [ebp - 0x290], ecx
jmp 0x40b9a6
mov edx, dword [ebp - 0x280]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x280]
push ecx
mov edx, dword [eax + 8]
call edx
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x280], 0
push 0x2001f
push str.SOFTWAREClasses_shell
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x300]
call fcn.00408c60
test eax, eax
je 0x40bb15
jmp 0x40bb25
push 0x71cde4
lea ecx, [ebp - 0x300]
call fcn.00408e90
lea ecx, [ebp - 0x318]
call fcn.00408b00
lea ecx, [ebp - 0x30c]
call fcn.00408b00
lea ecx, [ebp - 0x300]
call fcn.00408b00
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x230]
call fcn.00403030
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2bc]
call fcn.00408400
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c0]
call fcn.00408400
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x300]
call fcn.00408a30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30c]
call fcn.00408a30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x318]
call fcn.00408a30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004815ec
mov esp, ebp
pop ebp
ret