Function at 0x4250c0
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59558a
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x629070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x284], edx
mov edi, ecx
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x280], 0
push 0
push eax
call fcn.0056ebe0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x264], 7
mov dword [ebp - 0x268], 0
mov word [ebp - 0x278], ax
cmp word [ebp - 0x218], ax
jne 0x425152
xor ecx, ecx
jmp 0x42516f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425160
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x278]
call fcn.00401d10
push 0x3e
push str.microsoftinternet_explorerQuick_LaunchUser_PinnedTaskBar_
lea ecx, [ebp - 0x278]
mov dword [ebp - 4], 0
call fcn.0040e6d0
xor eax, eax
mov dword [ebp - 0x21c], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x230], ax
lea ecx, [ebp - 0x230]
lea eax, [ebp - 0x278]
mov dword [ebp - 0x220], 0
push eax
call fcn.004022a0
push 0x61fa28
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b4]
call fcn.0041e580
add esp, 4
mov byte [ebp - 4], 2
mov ecx, 1
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x27c], ecx
mov dword [ebp - 0x280], ecx
jb 0x425207
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42524c
push 0x61fa3c
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x29c]
call fcn.0041e580
add esp, 4
mov dword [ebp - 0x27c], 3
cmp dword [eax + 0x14], 8
jb 0x42523d
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42524c
xor bl, bl
jmp 0x42524e
mov bl, 1
test byte [ebp - 0x27c], 2
je 0x425292
mov eax, dword [ebp - 0x288]
cmp eax, 8
jb 0x425275
inc eax
lea ecx, [ebp - 0x29c]
push eax
push dword [ebp - 0x29c]
call fcn.00402170
xor eax, eax
mov dword [ebp - 0x288], 7
mov dword [ebp - 0x28c], 0
mov word [ebp - 0x29c], ax
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x2a0]
cmp eax, 8
jb 0x4252b7
inc eax
lea ecx, [ebp - 0x2b4]
push eax
push dword [ebp - 0x2b4]
call fcn.00402170
test bl, bl
je 0x4252be
mov byte [edi], 1
lea ecx, [ebp - 0x260]
call fcn.00424310
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 3
call fcn.00424460
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x280], esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x4252ff
mov eax, dword [ecx]
jmp 0x425301
mov eax, ecx
push 9
xor edx, edx
push 0x61fa28
mov word [eax], dx
call fcn.00401d10
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x425333
mov eax, dword [ecx]
jmp 0x425335
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x260]
push edx
push eax
call fcn.004022a0
mov byte [ebp - 4], 4
call fcn.00424e70
add esp, 0x30
test al, al
jne 0x425496
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x280], esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x425380
mov eax, dword [ecx]
jmp 0x425382
mov eax, ecx
push 0xb
xor edx, edx
push 0x61fa3c
mov word [eax], dx
call fcn.00401d10
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x4253b4
mov eax, dword [ecx]
jmp 0x4253b6
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x260]
push edx
push eax
call fcn.004022a0
mov byte [ebp - 4], 4
call fcn.00424e70
add esp, 0x30
test al, al
jne 0x425496
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x280], esp
push 0x61fa28
call fcn.00401ad0
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x425414
mov eax, dword [ecx]
jmp 0x425416
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x248]
push edx
push eax
call fcn.004022a0
mov byte [ebp - 4], 4
call fcn.00424e70
add esp, 0x30
test al, al
jne 0x425496
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x280], esp
push 0x61fa3c
call fcn.00401ad0
sub esp, 0x18
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x425470
mov eax, dword [ecx]
jmp 0x425472
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x248]
push edx
push eax
call fcn.004022a0
mov byte [ebp - 4], 4
call fcn.00424e70
add esp, 0x30
test al, al
je 0x425498
mov al, 1
mov ecx, dword [ebp - 0x284]
mov byte [ecx], al
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x4254be
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00402170
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x238], 0
cmp eax, 8
jb 0x4254f9
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.00402170
xor eax, eax
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x250], 0
cmp eax, 8
jb 0x425534
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00402170
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x220], 0
cmp eax, 8
jb 0x42556f
inc eax
lea ecx, [ebp - 0x278]
push eax
push dword [ebp - 0x278]
call fcn.00402170
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004387fb
mov esp, ebp
pop ebp
ret