Function at 0x54d0b5
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x180
push ebx
push esi
push edi
mov esi, ecx
lea ecx, [ebp - 0x3c]
push 0x605890
call fcn.00408981
mov eax, dword [esi + 0x24]
xor ebx, ebx
sub eax, ebx
je 0x54d0e8
sub eax, 1
jne 0x54d11d
push 1
lea eax, [esi + 0x40]
push eax
push 0x11
jmp 0x54d0f0
push 1
lea eax, [esi + 0x40]
push eax
push 0xd
lea eax, [ebp - 0x54]
push eax
call fcn.004ca5a0
mov edi, eax
add esp, 0x10
lea eax, [ebp - 0x3c]
cmp eax, edi
je 0x54d115
mov ecx, eax
call fcn.00403730
push edi
lea ecx, [ebp - 0x3c]
call fcn.00444b1d
lea ecx, [ebp - 0x54]
call fcn.00403730
mov byte [ebp - 1], bl
cmp dword [ebp - 0x2c], ebx
je 0x54d141
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x54d141
mov byte [ebp - 1], 1
jmp 0x54d176
push 1
lea eax, [esi + 0x40]
push eax
lea eax, [ebp - 0x54]
push 4
push eax
call fcn.004ca5a0
mov edi, eax
add esp, 0x10
lea eax, [ebp - 0x3c]
cmp eax, edi
je 0x54d16e
mov ecx, eax
call fcn.00403730
push edi
lea ecx, [ebp - 0x3c]
call fcn.00444b1d
lea ecx, [ebp - 0x54]
call fcn.00403730
cmp dword [ebp - 0x2c], ebx
je 0x54d477
lea ecx, [ebp - 0x180]
call fcn.0054cabe
mov edi, 0x605890
lea ecx, [ebp - 0x24]
push edi
call fcn.00408981
lea eax, [ebp - 0x54]
push eax
lea ecx, [esi + 0x70]
call fcn.0054dc1c
push eax
push 0x6341fc
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x28]
push eax
lea eax, [ebp - 0x3c]
push eax
push ebx
lea ecx, [ebp - 0x180]
call fcn.0054df4c
lea ecx, [ebp - 0x54]
call fcn.00403730
lea ecx, [ebp - 0x24]
call fcn.00403730
mov eax, dword [ebp - 0x180]
lea ecx, [ebp - 0x180]
call dword [eax + 4]
test eax, eax
je 0x54d46c
cmp byte [ebp - 1], bl
jne 0x54d469
call fcn.004dc3c0
cmp eax, 0xb
jl 0x54d312
cmp dword [0x634224], ebx
je 0x54d469
cmp dword [0x634228], 8
mov edi, 0x634214
mov eax, edi
cmovae eax, dword [0x634214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x54d469
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 7
test eax, eax
jne 0x54d24b
mov esi, str.pin_start
jmp 0x54d259
cmp eax, 1
jne 0x54d469
mov esi, 0x5e0b08
mov eax, esi
push eax
call fcn.0057bbea
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.00407684
cmp dword [ebp - 0x14], ebx
je 0x54d42c
mov esi, 0x60b624
push esi
call fcn.0057bbea
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.004092f8
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
push dword [ebp - 0x2c]
cmovae eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x24]
push eax
call fcn.004092f8
mov esi, 0x60a05c
push esi
call fcn.0057bbea
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.004092f8
lea eax, [ebp - 0x24]
push eax
push 0x1388
push edi
call fcn.004e7490
mov ebx, eax
add esp, 0xc
mov eax, dword [ebp - 0x10]
cmp eax, 8
jb 0x54d46c
mov ecx, dword [ebp - 0x24]
lea eax, [eax*2 + 2]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
cmp eax, 0x1000
jb 0x54d304
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040379f
mov eax, dword [ebp - 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
push eax
push ecx
call fcn.0056d0c8
pop ecx
pop ecx
jmp 0x54d46c
call fcn.004dc3c0
mov ecx, dword [esi + 0x24]
cmp eax, 5
jge 0x54d3c4
test ecx, ecx
jne 0x54d36b
push edi
lea ecx, [ebp - 0x54]
call fcn.00408981
push 0x5e0b08
lea ecx, [ebp - 0x24]
call fcn.00408981
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
push 0x1388
push eax
call fcn.004e66e0
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.00403730
lea ecx, [ebp - 0x54]
call fcn.00403730
jmp 0x54d46c
cmp ecx, 1
jne 0x54d46c
lea ecx, [ebp - 0x8c]
call fcn.004cf8b0
push 1
sub esp, 0x18
lea eax, [esi + 0x40]
mov ecx, esp
push 1
push eax
push 0x10
push ecx
call fcn.004ca5a0
push ecx
push ecx
mov ecx, esp
lea eax, [ebp - 0x3c]
push eax
mov dword [ecx], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00407eca
lea ecx, [ebp - 0x8c]
call fcn.004d5a80
lea ecx, [ebp - 0x8c]
call fcn.004cf960
jmp 0x54d46c
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 7
sub ecx, ebx
je 0x54d3e5
sub ecx, 1
jne 0x54d469
mov esi, str.TaskbarPin
jmp 0x54d3ea
mov esi, str.StartPin
mov eax, esi
push eax
call fcn.0057bbea
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.00407684
cmp dword [ebp - 0x14], ebx
je 0x54d42c
push edi
lea ecx, [ebp - 0x54]
call fcn.00408981
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
push 0x1388
push eax
call fcn.004e66e0
add esp, 0x10
lea ecx, [ebp - 0x54]
call fcn.00403730
mov eax, dword [ebp - 0x10]
cmp eax, 8
jb 0x54d469
mov ecx, dword [ebp - 0x24]
lea eax, [eax*2 + 2]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
cmp eax, 0x1000
jb 0x54d460
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0040379f
mov eax, dword [ebp - 0xc]
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
push eax
push ecx
call fcn.0056d0c8
pop ecx
pop ecx
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x180]
call fcn.0054cdd9
lea ecx, [ebp - 0x3c]
call fcn.00403730
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret