Function at 0x411220
Capabilities:
Check if file exists
Enumerate files on windows
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c7e3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x510
mov eax, dword [0x46400c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x40]
push str.HKLM64SOFTWAREUVK___Ultra_virus_killer_backupsRegistry_backups
movq qword [ebp - 0x40], xmm0
call fcn.0040ab20
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
movq qword [ebp - 0x38], xmm0
call fcn.0040aae0
xorps xmm0, xmm0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
call fcn.0040aae0
xorps xmm0, xmm0
lea ecx, [ebp - 0x54]
movq qword [ebp - 0x54], xmm0
call fcn.0040aae0
push 0
push 0x104
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.0040afa0
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x4112db
xor esi, esi
jmp 0x4118db
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.UVKRegistry_backups
lea ecx, [ebp - 0x38]
call fcn.0040b970
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.0040ceb0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x514]
xorps xmm0, xmm0
mov dword [ebp - 0x50c], 0
movq qword [ebp - 0x514], xmm0
call fcn.0040d3f0
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x68]
movups xmmword [ebp - 0x68], xmm0
call fcn.0040c510
xor esi, esi
mov byte [ebp - 4], 6
push 0x2001f
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x518], esi
call fcn.0040ad30
push eax
lea ecx, [ebp - 0x18]
call fcn.0040d4f0
test al, al
je 0x411548
xor edi, edi
lea eax, [ebp - 0x4c]
push edi
push eax
lea ecx, [ebp - 0x18]
call fcn.0040d8c0
sub esp, 0xc
mov ecx, esp
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x514]
call fcn.0040d470
cmp dword [ebp - 0x510], 0xffffffff
je 0x411548
nop word [eax + eax]
mov esi, dword [ebp - 0x514]
lea eax, [ebp - 0x54]
push eax
push esi
lea ecx, [ebp - 0x18]
call fcn.0040d660
push esi
lea ecx, [ebp - 0x18]
call fcn.0040db20
lea ecx, [ebp - 0x54]
call fcn.0040ac70
test eax, eax
je 0x411509
push ecx
push 0x4594f8
lea ecx, [ebp - 0x54]
call fcn.0040ad30
push eax
lea ecx, [ebp - 0x68]
call fcn.0040c700
lea ecx, [ebp - 0x68]
call fcn.0040c660
mov dword [ebp - 0x51c], eax
cmp eax, 3
jb 0x411509
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0x45876c
lea ecx, [ebp - 0x38]
call fcn.0040ad30
push eax
lea ecx, [ebp - 0x28]
call fcn.0040acd0
lea ecx, [ebp - 0x28]
call fcn.0040ad30
mov ecx, eax
call fcn.00410cc0
test al, al
je 0x411509
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.BackupInfo.ini
lea ecx, [ebp - 0x28]
call fcn.0040b970
lea ecx, [ebp - 0x28]
call fcn.0040ad30
push eax
push 0
lea ecx, [ebp - 0x68]
call fcn.0040c650
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
push str.Date
push str.BackupInfo
call esi
lea ecx, [ebp - 0x28]
call fcn.0040ad30
push eax
push 1
lea ecx, [ebp - 0x68]
call fcn.0040c650
push eax
push str.Size
push str.BackupInfo
call esi
lea ecx, [ebp - 0x28]
call fcn.0040ad30
push eax
push 2
lea ecx, [ebp - 0x68]
call fcn.0040c650
push eax
push str.Type
push str.BackupInfo
call esi
cmp dword [ebp - 0x51c], 4
jbe 0x4114fa
lea ecx, [ebp - 0x28]
call fcn.0040ad30
push eax
push 4
lea ecx, [ebp - 0x68]
call fcn.0040c650
push eax
push str.Name
push str.BackupInfo
call esi
mov esi, dword [ebp - 0x518]
inc esi
mov dword [ebp - 0x518], esi
jmp 0x41150f
mov esi, dword [ebp - 0x518]
inc edi
lea eax, [ebp - 0x4c]
push edi
push eax
lea ecx, [ebp - 0x18]
call fcn.0040d8c0
sub esp, 0xc
mov ecx, esp
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x514]
call fcn.0040d470
cmp dword [ebp - 0x510], 0xffffffff
jne 0x4113b0
lea ecx, [ebp - 0x40]
call fcn.0040ad30
push eax
lea ecx, [ebp - 0x18]
call fcn.0040db90
push 0
lea ecx, [ebp - 0x40]
call fcn.0040ae30
lea ecx, [ebp - 0x40]
call fcn.0040ad30
mov ecx, eax
call fcn.0040e1f0
test al, al
jne 0x411587
lea ecx, [ebp - 0x40]
call fcn.0040ad30
push eax
lea ecx, [ebp - 0x18]
call fcn.0040db90
sub esp, 0x1c
lea ecx, [ebp - 0x38]
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
push 0
push 0
push 0
push 0x458c2c
call fcn.0040ad30
push eax
lea ecx, [ebp - 0x20]
call fcn.0040ab50
xorps xmm0, xmm0
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x30], xmm0
call fcn.0040aae0
xorps xmm0, xmm0
lea ecx, [ebp - 0x48]
movq qword [ebp - 0x48], xmm0
call fcn.0040aae0
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x20]
call fcn.0040ad30
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x51c], eax
cmp eax, 0xffffffff
je 0x4118a8
mov edi, eax
nop dword [eax]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x28c]
push eax
push 0x45876c
lea ecx, [ebp - 0x38]
call fcn.0040ad30
push eax
lea ecx, [ebp - 0x30]
call fcn.0040acd0
test byte [ebp - 0x2b8], 0x10
jne 0x411650
lea ecx, [ebp - 0x30]
call fcn.0040ad30
mov edx, 2
mov ecx, eax
call fcn.0040f990
jmp 0x41188b
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.BackupInfo.ini
lea ecx, [ebp - 0x30]
call fcn.0040ad30
push eax
lea ecx, [ebp - 0x28]
call fcn.0040acd0
lea ecx, [ebp - 0x28]
call fcn.0040ad30
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41188b
push ecx
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push str.SOFTWARE
lea ecx, [ebp - 0x30]
call fcn.0040ad30
push eax
lea ecx, [ebp - 0x20]
call fcn.0040acd0
lea ecx, [ebp - 0x20]
call fcn.0040ad30
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, str.System
mov eax, 0x455d58
cmove ecx, eax
push ecx
lea ecx, [ebp - 0x48]
call fcn.0040ab90
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.UsersS_
lea ecx, [ebp - 0x30]
call fcn.0040ad30
push eax
lea ecx, [ebp - 0x20]
call fcn.0040acd0
lea eax, [ebp - 0x508]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040ad30
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
xor esi, esi
cmp edi, 0xffffffff
jne 0x411750
lea ecx, [ebp - 0x48]
call fcn.0040ac70
test eax, eax
jne 0x4117e6
lea ecx, [ebp - 0x30]
call fcn.0040ad30
lea edx, [esi + 2]
mov ecx, eax
call fcn.0040f990
mov esi, dword [ebp - 0x518]
jmp 0x411885
test byte [ebp - 0x508], 0x10
jne 0x41175a
inc esi
lea eax, [ebp - 0x508]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x411750
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x48]
call fcn.0040ac70
test eax, eax
je 0x4117a1
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x459590
lea ecx, [ebp - 0x48]
call fcn.0040b970
movd xmm0, esi
lea ecx, [ebp - 0x20]
cvtdq2pd xmm1, xmm0
call fcn.0040b0d0
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
cmp esi, 1
mov ecx, str._users
mov eax, str._user
cmovne eax, ecx
lea ecx, [ebp - 0x20]
push 0
push eax
call fcn.0040ad30
push eax
lea ecx, [ebp - 0x48]
call fcn.0040b970
lea ecx, [ebp - 0x20]
call fcn.0040ac20
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x2b4]
call fcn.0040e820
lea ecx, [ebp - 0x28]
call fcn.0040ad30
push eax
lea ecx, [ebp - 0x20]
call fcn.0040ad30
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
push str.Date
push str.BackupInfo
call edi
lea ecx, [ebp - 0x30]
call fcn.0040ad30
mov ecx, eax
call fcn.0040f730
sub esp, 8
lea ecx, [ebp - 0x20]
push edx
push eax
call fcn.0040b4d0
lea ecx, [ebp - 0x28]
call fcn.0040ad30
push eax
lea ecx, [ebp - 0x20]
call fcn.0040ad30
push eax
push str.Size
push str.BackupInfo
call edi
lea ecx, [ebp - 0x28]
call fcn.0040ad30
push eax
lea ecx, [ebp - 0x48]
call fcn.0040ad30
push eax
push str.Type
push str.BackupInfo
call edi
mov esi, dword [ebp - 0x518]
inc esi
mov dword [ebp - 0x518], esi
mov edi, dword [ebp - 0x51c]
lea eax, [ebp - 0x2b8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x411600
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x48]
call fcn.0040ac10
lea ecx, [ebp - 0x30]
call fcn.0040ac10
lea ecx, [ebp - 0x20]
call fcn.0040ac10
lea ecx, [ebp - 0x68]
call fcn.0040c5b0
lea ecx, [ebp - 0x514]
call fcn.0040ac10
lea ecx, [ebp - 0x18]
call fcn.0040d530
lea ecx, [ebp - 0x54]
call fcn.0040ac10
lea ecx, [ebp - 0x28]
call fcn.0040ac10
lea ecx, [ebp - 0x38]
call fcn.0040ac10
lea ecx, [ebp - 0x40]
call fcn.0040ac10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042cf3b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret