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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51c0e0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x54735c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x74], edi
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x78], edi
je 0x40f00f
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x40eff5
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40f00f
push esi
mov ecx, edi
call fcn.004031b0
mov eax, edi
jmp 0x40f3fd
cmp byte [esi + 0x108], 0
je 0x40f1e1
cmp dword [esi + 0x100], 0
je 0x40f1e1
call fcn.0041be00
mov edx, dword [esi + 0x14]
cmp eax, 1
mov ecx, dword [esi + 0x10]
mov eax, edx
je 0x40f110
sub eax, ecx
cmp eax, 9
jb 0x40f078
lea eax, [ecx + 9]
mov edi, esi
mov dword [ebp - 0x74], eax
mov dword [esi + 0x10], eax
cmp edx, 8
jb 0x40f058
mov edi, dword [esi]
push 0x12
lea eax, [edi + ecx*2]
push str.C:Users_
push eax
call fcn.004f4a40
mov eax, dword [ebp - 0x74]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2], cx
mov eax, esi
jmp 0x40f08f
push 9
push str.C:Users_
mov byte [ebp - 0x74], 0
mov ecx, esi
push dword [ebp - 0x74]
push 9
call fcn.00408630
cmp dword [esi + 0x104], 8
lea edx, [esi + 0xf0]
jb 0x40f0a4
mov edx, dword [esi + 0xf0]
push dword [esi + 0x100]
mov ecx, eax
push edx
call fcn.00407f10
mov edi, eax
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
sub ecx, edx
mov dword [ebp - 0x74], edx
cmp ecx, 0xe
jb 0x40f0f4
cmp dword [edi + 0x14], 8
lea eax, [edx + 0xe]
mov dword [edi + 0x10], eax
jb 0x40f0d2
mov edi, dword [edi]
push 0x1c
lea eax, [edi + edx*2]
push str.AppDataLocal
push eax
call fcn.004f4a40
mov eax, dword [ebp - 0x74]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2 + 0x1c], cx
jmp 0x40f3f1
push 0xe
push str.AppDataLocal
mov byte [ebp - 0x74], 0
mov ecx, edi
push dword [ebp - 0x74]
push 0xe
call fcn.00408630
jmp 0x40f3f1
sub eax, ecx
cmp eax, 0x1a
jb 0x40f149
lea eax, [ecx + 0x1a]
mov edi, esi
mov dword [ebp - 0x74], eax
mov dword [esi + 0x10], eax
cmp edx, 8
jb 0x40f129
mov edi, dword [esi]
push 0x34
lea eax, [edi + ecx*2]
push str.C:Documents_and_Settings_
push eax
call fcn.004f4a40
mov eax, dword [ebp - 0x74]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2], cx
mov eax, esi
jmp 0x40f160
push 0x1a
push str.C:Documents_and_Settings_
mov byte [ebp - 0x74], 0
mov ecx, esi
push dword [ebp - 0x74]
push 0x1a
call fcn.00408630
cmp dword [esi + 0x104], 8
lea edx, [esi + 0xf0]
jb 0x40f175
mov edx, dword [esi + 0xf0]
push dword [esi + 0x100]
mov ecx, eax
push edx
call fcn.00407f10
mov edi, eax
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
sub ecx, edx
mov dword [ebp - 0x74], edx
cmp ecx, 0x20
jb 0x40f1c5
cmp dword [edi + 0x14], 8
lea eax, [edx + 0x20]
mov dword [edi + 0x10], eax
jb 0x40f1a3
mov edi, dword [edi]
push 0x40
lea eax, [edi + edx*2]
push str.Local_SettingsApplication_Data
push eax
call fcn.004f4a40
mov eax, dword [ebp - 0x74]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2 + 0x40], cx
jmp 0x40f3f1
push 0x20
push str.Local_SettingsApplication_Data
mov byte [ebp - 0x74], 0
mov ecx, edi
push dword [ebp - 0x74]
push 0x20
call fcn.00408630
jmp 0x40f3f1
push 0xd
xor eax, eax
mov dword [ebp - 0x30], 0
push str.Local_AppData
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00403ab0
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.00403ab0
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.0040f7f0
mov edi, eax
cmp esi, edi
je 0x40f27f
mov ecx, esi
call fcn.00403ca0
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 0x40f2b9
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f2af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f41a
push edx
push ecx
call fcn.004f2ead
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 0x40f30a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f300
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f41f
push edx
push ecx
call fcn.004f2ead
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 0x40f35f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f355
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f424
push edx
push ecx
call fcn.004f2ead
add esp, 8
cmp dword [esi + 0x10], 0
ja 0x40f3f1
push 0x51f00c
lea eax, [ebp - 0x70]
push eax
call fcn.004102d0
mov edi, eax
cmp esi, edi
je 0x40f3a7
mov ecx, esi
call fcn.00403ca0
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 0x40f3dd
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f3d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f429
push edx
push ecx
call fcn.004f2ead
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 - 0x78]
push esi
call fcn.004031b0
mov eax, dword [ebp - 0x78]
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.004f313b
mov esp, ebp
pop ebp
ret 4
call fcn.004f855c
call fcn.004f855c
call fcn.004f855c
call fcn.004f855c
int3