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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb7f1
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x64ef64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov esi, dword [ebp + 0xc]
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x28], cx
lea ecx, [ebp - 0x28]
push eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call fcn.004084d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x6c]
push 2
xor eax, eax
mov dword [ebp - 0x58], 7
push 0x60bff8
mov dword [ebp - 0x5c], 0
mov word [ebp - 0x6c], ax
call fcn.004088c0
lea edx, [ebp - 0x6c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004160a0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x58]
cmp eax, 8
jb 0x406c31
inc eax
lea ecx, [ebp - 0x6c]
push eax
push dword [ebp - 0x6c]
call fcn.00408aa0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x406e17
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x406e17
cmp dword [esi + 0x10], eax
je 0x406ce4
cmp dword [esi + 0x14], 8
jb 0x406c72
mov esi, dword [esi]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push str.__s___s
push eax
call fcn.00415d30
add esp, 0x10
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x406ccb
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x406cae
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00408aa0
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00408230
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x58]
cmp eax, 8
jb 0x406ce4
inc eax
lea ecx, [ebp - 0x6c]
push eax
push dword [ebp - 0x6c]
call fcn.00408aa0
push 0x2c
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.00599690
add esp, 0xc
mov dword [ebp - 0x70], 7
xor eax, eax
mov dword [ebp - 0x74], 0
lea ecx, [ebp - 0x84]
mov word [ebp - 0x84], ax
push 0x2e
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
call fcn.004088c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x54], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x84]
push eax
mov dword [ebp - 0x50], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
call fcn.004084d0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x70]
cmp eax, 8
jb 0x406d89
inc eax
lea ecx, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
call fcn.00408aa0
push 7
xor eax, eax
mov dword [ebp - 0x70], 7
push ecx
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x74], 0
mov word [ebp - 0x84], ax
call fcn.00414cc0
push 0xf
xor eax, eax
mov dword [ebp - 0x58], 7
push 0x60bcb4
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x5c], 0
mov word [ebp - 0x6c], ax
call fcn.004088c0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00415020
mov ecx, dword [ebp - 0x58]
mov esi, eax
cmp ecx, 8
jb 0x406df9
inc ecx
push ecx
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x6c]
call fcn.00408aa0
xor eax, eax
mov dword [ebp - 0x58], 7
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x5c], 0
mov word [ebp - 0x6c], ax
call fcn.00414c20
jmp 0x406e19
xor esi, esi
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x406e2e
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00408aa0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054af65
mov esp, ebp
pop ebp
ret 8