Function at 0x411060
Capabilities:
Get common file path
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44250f
mov eax, dword fs:[0]
push eax
sub esp, 0x704
mov eax, dword [0x45a024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x206
xor ebx, ebx
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x218], ax
call fcn.004212c0
add esp, 0xc
cmp esi, 0xff
ja 0x411172
push ebx
push esi
lea edx, [ebp - 0x630]
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, 1
jne 0x411660
xor eax, eax
mov word [ebp - 0x428], ax
mov edi, edi
movzx ecx, word [ebp + eax - 0x630]
mov word [ebp + eax - 0x218], cx
add eax, 2
cmp cx, bx
jne 0x4110e0
lea eax, [ebp - 0x218]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x411101
mov ecx, dword [0x450e80]
mov edx, dword [0x450e84]
mov dword [eax], ecx
mov ecx, dword [0x450e88]
mov dword [eax + 4], edx
mov dx, word [0x450e8c]
mov dword [eax + 8], ecx
sub esp, 0x1c
mov word [eax + 0xc], dx
lea eax, [ebp - 0x218]
mov ecx, esp
mov dword [ebp - 0x700], esp
call fcn.004091a0
sub esp, 0x1c
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x630]
mov ecx, esp
mov dword [ebp - 0x6fc], esp
call fcn.004091a0
mov dword [ebp - 4], 0xffffffff
call fcn.00411cb0
jmp 0x411660
push 0x206
lea ecx, [ebp - 0x41e]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x420], ax
call fcn.004212c0
mov edi, 7
xor edx, edx
add esp, 0xc
mov dword [ebp - 0x704], ebx
mov dword [ebp - 0x6f8], ebx
mov dword [ebp - 0x670], edi
mov dword [ebp - 0x674], ebx
mov word [ebp - 0x684], dx
mov dword [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x64c], ax
push 5
mov eax, str..lnk
lea esi, [ebp - 0x64c]
mov dword [ebp - 0x638], edi
mov dword [ebp - 0x63c], ebx
call fcn.00404070
xor ecx, ecx
mov dword [ebp - 0x68c], edi
mov dword [ebp - 0x690], ebx
mov word [ebp - 0x6a0], cx
xor edx, edx
mov dword [ebp - 0x654], edi
mov dword [ebp - 0x658], ebx
mov word [ebp - 0x668], dx
lea eax, [ebp - 0x704]
push eax
push ebx
push SysReAllocString
mov byte [ebp - 4], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4115be
mov edx, dword [ebp - 0x704]
lea ecx, [ebp - 0x6f8]
push ecx
push 0x20019
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4115aa
lea eax, [ebp - 0x708]
push eax
mov eax, dword [ebp - 0x6f8]
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0x70c]
push edx
push ebx
push str.AppData
push eax
mov dword [ebp - 0x70c], 1
mov dword [ebp - 0x708], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4115aa
lea eax, [ebp - 0x420]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4112a1
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x420]
lea esi, [ebp - 0x684]
call fcn.00404070
push 0x2a
mov eax, str.MicrosoftInternet_ExplorerQuick_Launch_
mov ecx, esi
call fcn.00412880
mov ecx, esi
push ecx
lea edx, [ebp - 0x6f4]
push edx
lea ebx, [ebp - 0x64c]
call fcn.00412cc0
add esp, 8
mov byte [ebp - 4], 5
cmp dword [ebp - 0x6e0], 8
mov eax, dword [ebp - 0x6f4]
jae 0x411301
lea eax, [ebp - 0x6f4]
mov esi, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411303
sub eax, esi
mov edx, eax
lea eax, [ebp - 0x218]
add eax, 0xfffffffe
jmp 0x411320
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x411320
mov ecx, edx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
sub esp, 0x1c
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x218]
mov ecx, esp
mov dword [ebp - 0x6fc], esp
call fcn.004091a0
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 6
xor eax, eax
mov dword [ebp - 0x700], esp
mov ebx, 7
push eax
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], 0
lea edx, [ebp - 0x684]
mov word [ecx], ax
push edx
or eax, 0xffffffff
call fcn.00403f70
mov byte [ebp - 4], 5
call fcn.00411cb0
push str.User_PinnedTaskBar_
lea eax, [ebp - 0x684]
push eax
lea ecx, [ebp - 0x6d8]
push ecx
call fcn.00412bd0
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0x6a0]
mov byte [ebp - 4], bl
call fcn.00406150
mov byte [ebp - 4], 5
cmp dword [ebp - 0x6c4], 8
jb 0x4113d5
mov edx, dword [ebp - 0x6d8]
push edx
call fcn.0041afda
add esp, 4
lea eax, [ebp - 0x6a0]
push eax
lea ecx, [ebp - 0x6bc]
push ecx
lea ebx, [ebp - 0x64c]
call fcn.00412cc0
sub esp, 0x14
mov ecx, esp
mov ebx, 8
mov byte [ebp - 4], bl
mov dword [ebp - 0x6fc], esp
xor esi, esi
push esi
lea eax, [ebp - 0x6bc]
mov edi, 7
xor edx, edx
push eax
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], esi
or eax, 0xffffffff
mov word [ecx], dx
call fcn.00403f70
sub esp, 0x1c
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x700], esp
push esi
lea eax, [ebp - 0x6a0]
xor edx, edx
push eax
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], esi
or eax, 0xffffffff
mov word [ecx], dx
call fcn.00403f70
mov byte [ebp - 4], bl
call fcn.00411cb0
push str.User_PinnedStartMenu_
lea ecx, [ebp - 0x684]
push ecx
lea edx, [ebp - 0x6d8]
push edx
call fcn.00412bd0
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0x668]
mov byte [ebp - 4], 0xa
call fcn.00406150
mov byte [ebp - 4], bl
cmp dword [ebp - 0x6c4], ebx
jb 0x41149b
mov eax, dword [ebp - 0x6d8]
push eax
call fcn.0041afda
add esp, 4
lea ecx, [ebp - 0x668]
push ecx
lea edx, [ebp - 0x6d8]
push edx
lea ebx, [ebp - 0x64c]
call fcn.00412cc0
add esp, 8
mov edi, eax
lea esi, [ebp - 0x6bc]
mov byte [ebp - 4], 0xb
call fcn.00406150
mov ebx, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x6c4], ebx
jb 0x4114e7
mov eax, dword [ebp - 0x6d8]
push eax
call fcn.0041afda
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6fc], esp
xor edi, edi
push edi
lea eax, [ebp - 0x6bc]
mov esi, 7
xor edx, edx
push eax
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], edi
or eax, 0xffffffff
mov word [ecx], dx
call fcn.00403f70
sub esp, 0x1c
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x700], esp
push edi
lea eax, [ebp - 0x668]
xor edx, edx
push eax
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], edi
or eax, 0xffffffff
mov word [ecx], dx
call fcn.00403f70
mov byte [ebp - 4], bl
call fcn.00411cb0
mov ecx, dword [ebp - 0x6f8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x6a8], ebx
jb 0x41156a
mov edx, dword [ebp - 0x6bc]
push edx
call fcn.0041afda
add esp, 4
xor eax, eax
mov dword [ebp - 0x6a8], esi
mov dword [ebp - 0x6ac], edi
mov word [ebp - 0x6bc], ax
cmp dword [ebp - 0x6e0], ebx
jb 0x411596
mov ecx, dword [ebp - 0x6f4]
push ecx
call fcn.0041afda
add esp, 4
mov edx, dword [ebp - 0x704]
push edx
mov edi, 7
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4115c3
mov edx, dword [ebp - 0x704]
push edx
mov ebx, 8
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4115c3
mov ebx, 8
cmp dword [ebp - 0x654], ebx
jb 0x4115da
mov eax, dword [ebp - 0x668]
push eax
call fcn.0041afda
add esp, 4
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x654], edi
mov dword [ebp - 0x658], esi
mov word [ebp - 0x668], cx
cmp dword [ebp - 0x68c], ebx
jb 0x411608
mov edx, dword [ebp - 0x6a0]
push edx
call fcn.0041afda
add esp, 4
xor eax, eax
mov dword [ebp - 0x68c], edi
mov dword [ebp - 0x690], esi
mov word [ebp - 0x6a0], ax
cmp dword [ebp - 0x638], ebx
jb 0x411634
mov ecx, dword [ebp - 0x64c]
push ecx
call fcn.0041afda
add esp, 4
xor edx, edx
mov dword [ebp - 0x638], edi
mov dword [ebp - 0x63c], esi
mov word [ebp - 0x64c], dx
cmp dword [ebp - 0x670], ebx
jb 0x411660
mov eax, dword [ebp - 0x684]
push eax
call fcn.0041afda
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041af7a
mov esp, ebp
pop ebp
ret