Function at 0x412340
Capabilities:
Check if file exists
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b69a9
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4ff1a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
lea edi, [eax + 0x8c]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x74], ebx
cmp dword [edi + 0x10], esi
je 0x4123c2
cmp dword [edi + 0x14], 8
jb 0x41238d
mov eax, dword [edi]
jmp 0x41238f
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x4123bf
push 0xffffffffffffffff
push esi
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], esi
push edi
mov ecx, ebx
mov word [ebx], ax
call fcn.0040f1f0
jmp 0x412570
mov eax, dword [ebp - 0x68]
cmp byte [eax + 0x134], 0
je 0x412415
cmp dword [eax + 0x128], esi
je 0x412415
call fcn.0042c710
cmp eax, esi
je 0x412556
push 9
push str.C:Users_
mov ecx, edi
call fcn.00410dc0
mov ecx, dword [ebp - 0x68]
push 0xffffffffffffffff
add ecx, 0x118
push esi
push ecx
mov ecx, eax
call fcn.00410cb0
push 0x36
push str.AppDataRoamingMicrosoftWindowsStart_MenuPrograms
mov ecx, eax
call fcn.00410dc0
jmp 0x412556
push 8
xor edx, edx
push str.Programs
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], dx
call fcn.0040e680
mov dword [ebp - 4], 1
push 0x40
xor eax, eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], esi
mov word [ebp - 0x64], ax
call fcn.0040e680
mov byte [ebp - 4], 2
push esi
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x48]
lea edx, [ebp - 0x64]
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x70], SysReAllocStringLen
call fcn.00412810
mov byte [ebp - 4], 3
push eax
mov ecx, edi
call fcn.00409ad0
mov byte [ebp - 4], 2
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x41249e
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x50], esi
jb 0x4124c7
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00490458
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], dx
mov byte [ebp - 4], dl
cmp dword [ebp - 0x34], esi
jb 0x4124ef
mov eax, dword [ebp - 0x48]
push eax
call fcn.00490458
add esp, 4
mov edx, dword [ebp - 0x68]
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], cx
cmp dword [edx + 0x9c], ecx
jne 0x412554
mov ecx, 0x4c0a30
lea esi, [ebp - 0x2c]
call fcn.004134a0
mov dword [ebp - 4], 4
push eax
mov ecx, edi
call fcn.00409ad0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], 8
jb 0x412540
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00490458
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
xor esi, esi
push 0xffffffffffffffff
push esi
xor edx, edx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], esi
push edi
mov ecx, ebx
mov word [ebx], dx
call fcn.0040f1f0
mov dword [ebp - 4], esi
mov dword [ebp - 0x6c], 1
mov eax, ebx
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.004911d1
mov esp, ebp
pop ebp
ret 4