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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0a59
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4bf6bc]
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
mov esi, ecx
lea ebx, [esi + 0x1c]
mov edi, edx
mov dword [ebp - 0x6c], 0
cmp dword [ebx + 0x10], 0
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x68], ebx
je 0x46c6fa
cmp dword [ebx + 0x14], 8
jb 0x46c6c2
mov eax, dword [ebx]
jmp 0x46c6c4
mov eax, ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x46c6fa
xor esi, esi
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], esi
push esi
mov word [edi], ax
push ebx
or eax, 0xffffffff
mov ecx, edi
call fcn.00407860
mov dword [ebp - 4], esi
jmp 0x46c8ae
cmp byte [esi + 0x134], 0
je 0x46c74f
cmp dword [esi + 0x128], 0
je 0x46c74f
call fcn.00460cf0
test eax, eax
je 0x46c888
push 9
mov eax, str.C:Users_
mov ecx, ebx
call fcn.00409c50
mov ecx, eax
push 0
add esi, 0x118
push esi
or eax, 0xffffffff
mov esi, ecx
call fcn.00409b60
mov ecx, eax
push 0x11
mov eax, str.AppDataLocalLow
call fcn.00409c50
jmp 0x46c888
xor ecx, ecx
mov edi, 7
push 0x26
mov eax, str.A520A1A4_1780_4FF6_BD18_167343C5AF16
lea esi, [ebp - 0x64]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], cx
call fcn.00408600
mov dword [ebp - 4], 1
xor edx, edx
push 0x40
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea esi, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], dx
call fcn.00408600
mov byte [ebp - 4], 2
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x64]
mov ecx, esi
lea ebx, [ebp - 0x2c]
mov dword [ebp - 0x74], SysStringLen
call fcn.0046cde0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x68]
mov edi, eax
call fcn.00408590
mov byte [ebp - 4], 2
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x46c7dd
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0047bd91
add esp, 4
mov edi, 7
xor ebx, ebx
xor edx, edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], esi
jb 0x46c805
mov eax, dword [ebp - 0x48]
push eax
call fcn.0047bd91
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x50], esi
jb 0x46c825
mov edx, dword [ebp - 0x64]
push edx
call fcn.0047bd91
add esp, 4
mov ecx, dword [ebp - 0x78]
xor eax, eax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
cmp dword [ecx + 0x2c], ebx
ja 0x46c882
mov ecx, 0x4a4380
lea ebx, [ebp - 0x2c]
call fcn.0046cf70
mov dword [ebp - 4], 4
mov esi, dword [ebp - 0x68]
mov edi, eax
call fcn.00408590
xor ebx, ebx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x46c86e
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0047bd91
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov ebx, esi
jmp 0x46c885
mov ebx, dword [ebp - 0x68]
mov edi, dword [ebp - 0x70]
xor ecx, ecx
push ecx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], cx
push ebx
or eax, 0xffffffff
mov ecx, edi
call fcn.00407860
mov dword [ebp - 4], 0
mov dword [ebp - 0x6c], 1
mov eax, edi
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.0047bd9c
mov esp, ebp
pop ebp
ret