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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509e70
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x53307c]
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, ecx
mov dword [ebp - 0x78], edi
mov eax, dword [ebp + 8]
lea esi, [edi + 0x18]
mov dword [ebp - 0x74], eax
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x7c], eax
je 0x40aa9a
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x40aa8b
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40adb7
cmp byte [edi + 0x108], 0
je 0x40aba4
cmp dword [edi + 0x100], 0
je 0x40aba4
call fcn.0040e830
cmp eax, 1
je 0x40adb7
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 9
jb 0x40ab0c
mov dword [ebp - 0x78], esi
lea eax, [ecx + 9]
mov dword [ebp - 0x74], eax
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 8
jb 0x40aae9
mov eax, dword [esi]
mov dword [ebp - 0x78], eax
push 0x12
lea eax, [eax + ecx*2]
push str.C:Users_
push eax
call fcn.004e6f70
mov eax, dword [ebp - 0x78]
add esp, 0xc
mov ecx, dword [ebp - 0x74]
xor edx, edx
mov word [eax + ecx*2], dx
mov eax, esi
jmp 0x40ab23
push 9
push str.C:Users_
mov byte [ebp - 0x74], 0
mov ecx, esi
push dword [ebp - 0x74]
push 9
call fcn.00408280
cmp dword [edi + 0x104], 8
lea ecx, [edi + 0xf0]
jb 0x40ab38
mov ecx, dword [edi + 0xf0]
push dword [edi + 0x100]
push ecx
mov ecx, eax
call fcn.00407db0
mov edi, eax
mov edx, dword [edi + 0x14]
mov ecx, edx
mov eax, dword [edi + 0x10]
sub ecx, eax
cmp ecx, 0x11
jb 0x40ab88
lea ecx, [eax + 0x11]
mov dword [ebp - 0x74], ecx
mov dword [edi + 0x10], ecx
cmp edx, 8
jb 0x40ab67
mov edi, dword [edi]
push 0x22
lea eax, [edi + eax*2]
push str.AppDataLocalLow
push eax
call fcn.004e6f70
mov eax, dword [ebp - 0x74]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2], cx
jmp 0x40adb7
push 0x11
push str.AppDataLocalLow
mov byte [ebp - 0x74], 0
mov ecx, edi
push dword [ebp - 0x74]
push 0x11
call fcn.00408280
jmp 0x40adb7
push 0x26
xor eax, eax
mov dword [ebp - 0x30], 0
push str.A520A1A4_1780_4FF6_BD18_167343C5AF16
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00405140
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 0x40
xor eax, eax
mov dword [ebp - 0x18], 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00405140
push ecx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x74], reloc.WS2_32.dll_accept
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040b720
mov edi, eax
cmp esi, edi
je 0x40ac42
mov ecx, esi
call fcn.00405280
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x40ac7c
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ac72
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ade0
push edx
push ecx
call fcn.0049e956
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x40accd
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40acc3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ade5
push edx
push ecx
call fcn.0049e956
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x40ad22
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ad18
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40adea
push edx
push ecx
call fcn.0049e956
add esp, 8
mov eax, dword [ebp - 0x78]
cmp dword [eax + 0x28], 0
ja 0x40adb7
push 0x50ca60
lea eax, [ebp - 0x70]
push eax
call fcn.0040c210
mov edi, eax
cmp esi, edi
je 0x40ad6d
mov ecx, esi
call fcn.00405280
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x40ada3
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ad99
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40adef
push edx
push ecx
call fcn.0049e956
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov ecx, dword [ebp - 0x7c]
push esi
call fcn.00405b70
mov eax, dword [ebp - 0x7c]
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.0049e964
mov esp, ebp
pop ebp
ret 4
call fcn.004e9a8c
call fcn.004e9a8c
call fcn.004e9a8c
call fcn.004e9a8c
int3