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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442ccf
mov eax, dword fs:[0]
push eax
sub esp, 0x708
mov eax, dword [0x45a024]
xor eax, ebp
mov dword [ebp - 0x14], 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 - 0x21a]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x21c], ax
call fcn.004212c0
add esp, 0xc
cmp esi, 0xff
ja 0x411796
push ebx
push esi
lea edx, [ebp - 0x634]
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, 1
jne 0x411c8c
xor eax, eax
mov word [ebp - 0x42c], ax
mov edi, edi
movzx ecx, word [ebp + eax - 0x634]
mov word [ebp + eax - 0x21c], cx
add eax, 2
cmp cx, bx
jne 0x411700
lea eax, [ebp - 0x21c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x411721
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 - 0x21c]
mov ecx, esp
mov dword [ebp - 0x704], esp
call fcn.004091a0
sub esp, 0x1c
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x634]
mov ecx, esp
mov dword [ebp - 0x700], esp
call fcn.004091a0
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.00411f50
jmp 0x411c8c
push 0x206
lea edx, [ebp - 0x422]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x424], cx
call fcn.004212c0
mov edi, 7
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x708], ebx
mov dword [ebp - 0x6fc], ebx
mov dword [ebp - 0x674], edi
mov dword [ebp - 0x678], ebx
mov word [ebp - 0x688], ax
mov dword [ebp - 4], 1
xor ecx, ecx
push 5
mov eax, str..lnk
lea esi, [ebp - 0x650]
mov dword [ebp - 0x63c], edi
mov dword [ebp - 0x640], ebx
mov word [ebp - 0x650], cx
call fcn.00404070
xor edx, edx
mov dword [ebp - 0x690], edi
mov dword [ebp - 0x694], ebx
mov word [ebp - 0x6a4], dx
xor eax, eax
mov dword [ebp - 0x658], edi
mov dword [ebp - 0x65c], ebx
mov word [ebp - 0x66c], ax
lea ecx, [ebp - 0x708]
push ecx
push ebx
push SysReAllocString
mov byte [ebp - 4], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x411bea
mov eax, dword [ebp - 0x708]
lea edx, [ebp - 0x6fc]
push edx
push 0x20019
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x411bd6
lea ecx, [ebp - 0x70c]
push ecx
mov ecx, dword [ebp - 0x6fc]
lea edx, [ebp - 0x424]
push edx
lea eax, [ebp - 0x710]
push eax
push ebx
push str.AppData
push ecx
mov dword [ebp - 0x710], 1
mov dword [ebp - 0x70c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x411bd6
lea eax, [ebp - 0x424]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4118c5
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x424]
lea esi, [ebp - 0x688]
call fcn.00404070
push 0x2a
mov eax, str.MicrosoftInternet_ExplorerQuick_Launch_
mov ecx, esi
call fcn.00412880
mov edx, esi
push edx
lea eax, [ebp - 0x6f8]
push eax
lea ebx, [ebp - 0x650]
call fcn.00412cc0
add esp, 8
mov byte [ebp - 4], 5
cmp dword [ebp - 0x6e4], 8
mov eax, dword [ebp - 0x6f8]
jae 0x411925
lea eax, [ebp - 0x6f8]
mov esi, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411927
sub eax, esi
mov edx, eax
lea eax, [ebp - 0x21c]
add eax, 0xfffffffe
nop
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x411940
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 - 0x21c]
mov ecx, esp
mov dword [ebp - 0x700], esp
call fcn.004091a0
sub esp, 0x1c
mov byte [ebp - 4], 6
mov ecx, esp
xor edx, edx
mov dword [ebp - 0x704], esp
push edx
lea eax, [ebp - 0x688]
mov ebx, 7
push eax
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], 0
or eax, 0xffffffff
mov word [ecx], dx
call fcn.00403f70
mov ecx, dword [ebp + 8]
push ecx
mov byte [ebp - 4], 5
call fcn.00411f50
push str.User_PinnedTaskBar_
lea edx, [ebp - 0x688]
push edx
lea eax, [ebp - 0x6dc]
push eax
call fcn.00412bd0
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0x6a4]
mov byte [ebp - 4], bl
call fcn.00406150
mov byte [ebp - 4], 5
cmp dword [ebp - 0x6c8], 8
jb 0x4119f9
mov ecx, dword [ebp - 0x6dc]
push ecx
call fcn.0041afda
add esp, 4
lea edx, [ebp - 0x6a4]
push edx
lea eax, [ebp - 0x6c0]
push eax
lea ebx, [ebp - 0x650]
call fcn.00412cc0
sub esp, 0x14
mov ecx, esp
mov ebx, 8
mov byte [ebp - 4], bl
mov dword [ebp - 0x700], esp
xor esi, esi
push esi
lea eax, [ebp - 0x6c0]
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 - 0x704], esp
push esi
lea eax, [ebp - 0x6a4]
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 ecx, dword [ebp + 8]
push ecx
mov byte [ebp - 4], bl
call fcn.00411f50
push str.User_PinnedStartMenu_
lea edx, [ebp - 0x688]
push edx
lea eax, [ebp - 0x6dc]
push eax
call fcn.00412bd0
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0x66c]
mov byte [ebp - 4], 0xa
call fcn.00406150
mov byte [ebp - 4], bl
cmp dword [ebp - 0x6c8], ebx
jb 0x411ac3
mov ecx, dword [ebp - 0x6dc]
push ecx
call fcn.0041afda
add esp, 4
lea edx, [ebp - 0x66c]
push edx
lea eax, [ebp - 0x6dc]
push eax
lea ebx, [ebp - 0x650]
call fcn.00412cc0
add esp, 8
mov edi, eax
lea esi, [ebp - 0x6c0]
mov byte [ebp - 4], 0xb
call fcn.00406150
mov ebx, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x6c8], ebx
jb 0x411b0f
mov ecx, dword [ebp - 0x6dc]
push ecx
call fcn.0041afda
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x700], esp
xor edi, edi
push edi
lea eax, [ebp - 0x6c0]
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 - 0x704], esp
push edi
lea eax, [ebp - 0x66c]
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 ecx, dword [ebp + 8]
push ecx
mov byte [ebp - 4], bl
call fcn.00411f50
mov edx, dword [ebp - 0x6fc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x6ac], ebx
jb 0x411b96
mov eax, dword [ebp - 0x6c0]
push eax
call fcn.0041afda
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x6ac], esi
mov dword [ebp - 0x6b0], edi
mov word [ebp - 0x6c0], cx
cmp dword [ebp - 0x6e4], ebx
jb 0x411bc2
mov edx, dword [ebp - 0x6f8]
push edx
call fcn.0041afda
add esp, 4
mov eax, dword [ebp - 0x708]
push eax
mov edi, 7
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x411bef
mov eax, dword [ebp - 0x708]
push eax
mov ebx, 8
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x411bef
mov ebx, 8
cmp dword [ebp - 0x658], ebx
jb 0x411c06
mov ecx, dword [ebp - 0x66c]
push ecx
call fcn.0041afda
add esp, 4
xor esi, esi
xor edx, edx
mov dword [ebp - 0x658], edi
mov dword [ebp - 0x65c], esi
mov word [ebp - 0x66c], dx
cmp dword [ebp - 0x690], ebx
jb 0x411c34
mov eax, dword [ebp - 0x6a4]
push eax
call fcn.0041afda
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x690], edi
mov dword [ebp - 0x694], esi
mov word [ebp - 0x6a4], cx
cmp dword [ebp - 0x63c], ebx
jb 0x411c60
mov edx, dword [ebp - 0x650]
push edx
call fcn.0041afda
add esp, 4
xor eax, eax
mov dword [ebp - 0x63c], edi
mov dword [ebp - 0x640], esi
mov word [ebp - 0x650], ax
cmp dword [ebp - 0x674], ebx
jb 0x411c8c
mov ecx, dword [ebp - 0x688]
push ecx
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 - 0x14]
xor ecx, ebp
call fcn.0041af7a
mov esp, ebp
pop ebp
ret 4