Function at 0x408230
Capabilities:
Get common file path
Get startup folder
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4554e0
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x47f060]
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
push 0xc
xor eax, eax
push str.YACYAC.lnk
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
call fcn.00406c00
xor dl, dl
lea ecx, [ebp - 0x250]
mov dword [ebp - 4], 0
call fcn.0042d560
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x23c], 8
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x4082c2
push dword [ebp - 0x250]
call esi
add esp, 4
xor eax, eax
push eax
push 0x45ec1c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00406c00
lea edx, [ebp - 0x230]
mov dword [ebp - 4], 1
call fcn.0042b430
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x218], 0
jne 0x408341
xor ecx, ecx
jmp 0x40835f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408350
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00406c00
push 0x3d
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar
lea ecx, [ebp - 0x230]
call fcn.00405270
push 7
xor eax, eax
push 0x45ee4c
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
call fcn.00406c00
xor eax, eax
mov byte [ebp - 4], 2
push eax
push 0x45ec1c
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x254], 7
mov dword [ebp - 0x258], 0
mov word [ebp - 0x268], ax
call fcn.00406c00
lea eax, [ebp - 0x234]
push eax
push 0x20019
push 0
mov byte [ebp - 4], 3
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x234], 0
call edi
push dword [ebp - 0x234]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
lea edx, [ebp - 0x250]
lea ecx, [ebp - 0x230]
call fcn.0042c4f0
cmp dword [ebp - 0x254], 8
jb 0x408446
push dword [ebp - 0x268]
call esi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x23c], 8
mov dword [ebp - 0x254], 7
mov dword [ebp - 0x258], 0
mov word [ebp - 0x268], ax
jb 0x40847b
push dword [ebp - 0x250]
call esi
add esp, 4
xor eax, eax
push eax
push 0x45ec1c
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x26c], 7
mov dword [ebp - 0x270], 0
mov word [ebp - 0x280], ax
call fcn.00406c00
xor eax, eax
mov byte [ebp - 4], 4
push eax
push 0x45ec1c
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
call fcn.00406c00
xor eax, eax
mov byte [ebp - 4], 5
push eax
push 0x45ec1c
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x254], 7
mov dword [ebp - 0x258], 0
mov word [ebp - 0x268], ax
call fcn.00406c00
lea eax, [ebp - 0x234]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov byte [ebp - 4], 6
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x234], 0
call edi
push dword [ebp - 0x234]
call ebx
sub esp, 0x18
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x268]
push eax
call fcn.00406870
call fcn.0042c850
add esp, 0x18
cmp dword [ebp - 0x254], 8
jb 0x408580
push dword [ebp - 0x268]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x23c], 8
mov dword [ebp - 0x254], 7
mov dword [ebp - 0x258], 0
mov word [ebp - 0x268], ax
jb 0x4085b1
push dword [ebp - 0x250]
call esi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x26c], 8
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
jb 0x4085e6
push dword [ebp - 0x280]
call esi
add esp, 4
push 7
xor eax, eax
push 0x45ee4c
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x26c], 7
mov dword [ebp - 0x270], 0
mov word [ebp - 0x280], ax
call fcn.00406c00
xor eax, eax
mov byte [ebp - 4], 7
push eax
push 0x45ec1c
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x254], 7
mov dword [ebp - 0x258], 0
mov word [ebp - 0x268], ax
call fcn.00406c00
xor eax, eax
mov byte [ebp - 4], 8
push eax
push 0x45ec1c
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
call fcn.00406c00
lea eax, [ebp - 0x234]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov byte [ebp - 4], 9
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x234], 0
call edi
push dword [ebp - 0x234]
call ebx
lea edx, [ebp - 0x280]
call fcn.0042be40
cmp dword [ebp - 0x23c], 8
jb 0x4086c8
push dword [ebp - 0x250]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x254], 8
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
jb 0x4086f9
push dword [ebp - 0x268]
call esi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x26c], 8
mov dword [ebp - 0x254], 7
mov dword [ebp - 0x258], 0
mov word [ebp - 0x268], ax
jb 0x40872e
push dword [ebp - 0x280]
call esi
add esp, 4
push 7
xor eax, eax
push 0x45ee4c
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x26c], 7
mov dword [ebp - 0x270], 0
mov word [ebp - 0x280], ax
call fcn.00406c00
xor eax, eax
mov byte [ebp - 4], 0xa
push eax
push 0x45ec1c
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x254], 7
mov dword [ebp - 0x258], 0
mov word [ebp - 0x268], ax
call fcn.00406c00
xor eax, eax
mov byte [ebp - 4], 0xb
push eax
push 0x45ec1c
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
call fcn.00406c00
lea eax, [ebp - 0x234]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov byte [ebp - 4], 0xc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x234], 0
call edi
push dword [ebp - 0x234]
call ebx
lea ecx, [ebp - 0x280]
call fcn.0042c300
cmp dword [ebp - 0x23c], 8
jb 0x408810
push dword [ebp - 0x250]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x254], 8
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
jb 0x408841
push dword [ebp - 0x268]
call esi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x26c], 8
mov dword [ebp - 0x254], 7
mov dword [ebp - 0x258], 0
mov word [ebp - 0x268], ax
jb 0x408876
push dword [ebp - 0x280]
call esi
add esp, 4
push 7
xor eax, eax
push 0x45ee4c
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x26c], 7
mov dword [ebp - 0x270], 0
mov word [ebp - 0x280], ax
call fcn.00406c00
xor eax, eax
mov byte [ebp - 4], 0xd
push eax
push 0x45ec1c
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x254], 7
mov dword [ebp - 0x258], 0
mov word [ebp - 0x268], ax
call fcn.00406c00
xor eax, eax
mov byte [ebp - 4], 0xe
push eax
push 0x45ec1c
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
call fcn.00406c00
lea eax, [ebp - 0x234]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov byte [ebp - 4], 0xf
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x234], 0
call edi
push dword [ebp - 0x234]
call ebx
lea ecx, [ebp - 0x280]
call fcn.0042b8e0
cmp dword [ebp - 0x23c], 8
jb 0x408958
push dword [ebp - 0x250]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x254], 8
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
jb 0x408989
push dword [ebp - 0x268]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x26c], 8
mov dword [ebp - 0x254], 7
mov dword [ebp - 0x258], 0
mov word [ebp - 0x268], ax
jb 0x4089ba
push dword [ebp - 0x280]
call esi
add esp, 4
cmp dword [ebp - 0x21c], 8
jb 0x4089ce
push dword [ebp - 0x230]
call esi
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.00452076
mov esp, ebp
pop ebp
ret