Function at 0x41e490
Capabilities:
Check if file exists
Delete file
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445b11
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x467060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
xor eax, eax
push 0x3fe
push eax
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push eax
call sub.MSVCR110.dll_memset
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x414], 7
mov dword [ebp - 0x418], 0
mov word [ebp - 0x428], ax
xor edx, edx
lea ecx, [ebp - 0x450]
mov dword [ebp - 4], eax
call fcn.004202d0
xor esi, esi
call fcn.0041ff50
test al, al
mov ecx, 0x200
cmovne esi, ecx
lea eax, [ebp - 0x44c]
push eax
or esi, 0x20019
push esi
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41e599
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x430]
push eax
push 0
push str.Common_Start_Menu
push dword [ebp - 0x44c]
mov dword [ebp - 0x42c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x44c]
test eax, eax
je 0x41e5b4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44c], 0
xor eax, eax
mov dword [ebp - 0x434], 7
mov dword [ebp - 0x438], 0
mov word [ebp - 0x448], ax
cmp word [ebp - 0x410], ax
jne 0x41e5de
xor ecx, ecx
jmp 0x41e5f6
lea ecx, [ebp - 0x410]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e5e7
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x448]
call fcn.00405570
push 0x44aca8
lea edx, [ebp - 0x448]
lea ecx, [ebp - 0x480]
mov byte [ebp - 4], 1
call fcn.0040d130
push edi
mov edx, eax
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 2
call fcn.0040d2d0
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov edi, eax
lea eax, [ebp - 0x428]
add esp, 8
cmp eax, edi
je 0x41e687
cmp dword [ebp - 0x414], 8
jb 0x41e65e
push dword [ebp - 0x428]
call esi
add esp, 4
xor eax, eax
push edi
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x414], 7
mov dword [ebp - 0x418], 0
mov word [ebp - 0x428], ax
call fcn.004053a0
cmp dword [ebp - 0x454], 8
jb 0x41e69b
push dword [ebp - 0x468]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x46c], 8
mov dword [ebp - 0x454], 7
mov dword [ebp - 0x458], 0
mov word [ebp - 0x468], ax
jb 0x41e6cc
push dword [ebp - 0x480]
call esi
add esp, 4
cmp dword [ebp - 0x414], 8
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41e706
cmp dword [ebp - 0x414], 8
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x434], 8
jb 0x41e71a
push dword [ebp - 0x448]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x414], 8
mov dword [ebp - 0x434], 7
mov dword [ebp - 0x438], 0
mov word [ebp - 0x448], ax
jb 0x41e74b
push dword [ebp - 0x428]
call esi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004413e6
mov esp, ebp
pop ebp
ret