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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2eb9
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4eb6b8]
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 0x478fda
cmp dword [ebx + 0x14], 8
jb 0x478fa2
mov eax, dword [ebx]
jmp 0x478fa4
mov eax, ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x478fda
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.00416830
mov dword [ebp - 4], esi
jmp 0x47918e
cmp byte [esi + 0x134], 0
je 0x47902f
cmp dword [esi + 0x128], 0
je 0x47902f
call fcn.0047d110
test eax, eax
je 0x479168
push 9
mov eax, str.C:Users_
mov ecx, ebx
call fcn.00416700
mov ecx, eax
push 0
add esi, 0x118
push esi
or eax, 0xffffffff
mov esi, ecx
call fcn.00416610
mov ecx, eax
push 0x11
mov eax, str.AppDataLocalLow
call fcn.00416700
jmp 0x479168
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.00419690
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.00419690
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], SysReAllocString
call fcn.004798c0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x68]
mov edi, eax
call fcn.004165a0
mov byte [ebp - 4], 2
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x4790bd
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0049ca60
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 0x4790e5
mov eax, dword [ebp - 0x48]
push eax
call fcn.0049ca60
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 0x479105
mov edx, dword [ebp - 0x64]
push edx
call fcn.0049ca60
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 0x479162
mov ecx, 0x4ca448
lea ebx, [ebp - 0x2c]
call fcn.00479a50
mov dword [ebp - 4], 4
mov esi, dword [ebp - 0x68]
mov edi, eax
call fcn.004165a0
xor ebx, ebx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x47914e
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0049ca60
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 0x479165
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.00416830
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.0049ca6b
mov esp, ebp
pop ebp
ret