Function at 0x4183c0
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 0x453296
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x530
mov eax, dword [0x47d00c]
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
mov dword [ebp - 0x58], 0
push str.HKLM64SOFTWAREUVK___Ultra_virus_killer_backupsRegistry_backups
lea ecx, [ebp - 0x60]
movq qword [ebp - 0x60], xmm0
call fcn.00409a00
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
movq qword [ebp - 0x54], xmm0
call fcn.004099b0
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x30], xmm0
call fcn.004099b0
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 0x6c]
movq qword [ebp - 0x6c], xmm0
call fcn.004099b0
push 0
push 0x104
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.00409f00
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x418497
xor esi, esi
jmp 0x418ab7
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 - 0x54]
call fcn.0040aa90
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.0040c050
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x534]
xorps xmm0, xmm0
mov dword [ebp - 0x52c], 0
movq qword [ebp - 0x534], xmm0
call fcn.0040c5a0
xorps xmm0, xmm0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x84]
movq qword [ebp - 0x74], xmm0
movups xmmword [ebp - 0x84], xmm0
call fcn.0040b610
push ecx
xor esi, esi
mov byte [ebp - 4], 6
push 0x2001f
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x538], esi
call fcn.00409c40
push eax
lea ecx, [ebp - 0x18]
call fcn.0040c690
test al, al
je 0x41871b
xor edi, edi
lea eax, [ebp - 0x3c]
push edi
push eax
lea ecx, [ebp - 0x18]
call fcn.0040ca60
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 - 0x534]
call fcn.0040c620
cmp dword [ebp - 0x530], 0xffffffff
je 0x41871b
nop
mov esi, dword [ebp - 0x534]
lea eax, [ebp - 0x6c]
push eax
push esi
lea ecx, [ebp - 0x18]
call fcn.0040c800
push esi
lea ecx, [ebp - 0x18]
call fcn.0040cd10
lea ecx, [ebp - 0x6c]
call fcn.00409b70
test eax, eax
je 0x4186dc
push ecx
push 0x46e608
lea ecx, [ebp - 0x6c]
call fcn.00409c40
push eax
lea ecx, [ebp - 0x84]
call fcn.0040b7f0
lea ecx, [ebp - 0x84]
call fcn.0040b790
cmp eax, 3
jb 0x4186dc
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0x46d668
lea ecx, [ebp - 0x54]
call fcn.00409c40
push eax
lea ecx, [ebp - 0x30]
call fcn.00409be0
lea ecx, [ebp - 0x30]
call fcn.00409c40
mov ecx, eax
call fcn.00411030
test al, al
je 0x4186dc
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 - 0x30]
call fcn.0040aa90
lea ecx, [ebp - 0x30]
call fcn.00409c40
push eax
push 0
lea ecx, [ebp - 0x84]
call fcn.0040b780
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
push str.Date
push str.BackupInfo
call esi
lea ecx, [ebp - 0x30]
call fcn.00409c40
push eax
push 1
lea ecx, [ebp - 0x84]
call fcn.0040b780
push eax
push str.Size
push str.BackupInfo
call esi
lea ecx, [ebp - 0x30]
call fcn.00409c40
push eax
push 2
lea ecx, [ebp - 0x84]
call fcn.0040b780
push eax
push str.Type
push str.BackupInfo
call esi
lea ecx, [ebp - 0x84]
call fcn.0040b790
cmp eax, 4
jbe 0x4186cd
lea ecx, [ebp - 0x30]
call fcn.00409c40
push eax
push 4
lea ecx, [ebp - 0x84]
call fcn.0040b780
push eax
push str.Name
push str.BackupInfo
call esi
mov esi, dword [ebp - 0x538]
inc esi
mov dword [ebp - 0x538], esi
jmp 0x4186e2
mov esi, dword [ebp - 0x538]
inc edi
lea eax, [ebp - 0x3c]
push edi
push eax
lea ecx, [ebp - 0x18]
call fcn.0040ca60
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 - 0x534]
call fcn.0040c620
cmp dword [ebp - 0x530], 0xffffffff
jne 0x418570
lea ecx, [ebp - 0x60]
call fcn.00409c40
push eax
lea ecx, [ebp - 0x18]
call fcn.0040cd80
push 0
lea ecx, [ebp - 0x60]
call fcn.00409d80
lea ecx, [ebp - 0x60]
call fcn.00409c40
mov ecx, eax
call fcn.0040d410
test al, al
jne 0x41875a
lea ecx, [ebp - 0x60]
call fcn.00409c40
push eax
lea ecx, [ebp - 0x18]
call fcn.0040cd80
sub esp, 0x1c
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x54]
movq qword [ebp - 0x24], xmm0
push 0
push 0
push 0
push 0x46db24
call fcn.00409c40
push eax
lea ecx, [ebp - 0x24]
call fcn.00409a30
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x3c]
movq qword [ebp - 0x3c], xmm0
call fcn.004099b0
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x48]
movq qword [ebp - 0x48], xmm0
call fcn.004099b0
lea eax, [ebp - 0x2d8]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x24]
call fcn.00409c40
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x53c], eax
cmp eax, 0xffffffff
je 0x418a81
mov edi, eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2ac]
push eax
push 0x46d668
lea ecx, [ebp - 0x54]
call fcn.00409c40
push eax
lea ecx, [ebp - 0x3c]
call fcn.00409be0
test byte [ebp - 0x2d8], 0x10
jne 0x418831
lea ecx, [ebp - 0x3c]
call fcn.00409c40
mov edx, 2
mov ecx, eax
call fcn.0040fc40
jmp 0x418a64
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 - 0x3c]
call fcn.00409c40
push eax
lea ecx, [ebp - 0x30]
call fcn.00409be0
lea ecx, [ebp - 0x30]
call fcn.00409c40
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x418a64
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 - 0x3c]
call fcn.00409c40
push eax
lea ecx, [ebp - 0x24]
call fcn.00409be0
lea ecx, [ebp - 0x24]
call fcn.00409c40
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, str.System
mov eax, 0x46c60c
cmove ecx, eax
push ecx
lea ecx, [ebp - 0x48]
call fcn.00409a70
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 - 0x3c]
call fcn.00409c40
push eax
lea ecx, [ebp - 0x24]
call fcn.00409be0
lea eax, [ebp - 0x528]
push eax
lea ecx, [ebp - 0x24]
call fcn.00409c40
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
xor esi, esi
cmp edi, 0xffffffff
jne 0x418930
lea ecx, [ebp - 0x48]
call fcn.00409b70
test eax, eax
jne 0x4189bf
lea ecx, [ebp - 0x3c]
call fcn.00409c40
lea edx, [esi + 2]
mov ecx, eax
call fcn.0040fc40
mov esi, dword [ebp - 0x538]
jmp 0x418a5e
test byte [ebp - 0x528], 0x10
jne 0x41893a
inc esi
lea eax, [ebp - 0x528]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x418930
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x48]
call fcn.00409b70
test eax, eax
je 0x418981
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x46e6a0
lea ecx, [ebp - 0x48]
call fcn.0040aa90
push esi
lea ecx, [ebp - 0x24]
call fcn.0040a390
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 - 0x24]
push 0
push eax
call fcn.00409c40
push eax
lea ecx, [ebp - 0x48]
call fcn.0040aa90
lea ecx, [ebp - 0x24]
call fcn.00409b00
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x2d4]
call fcn.00418120
lea ecx, [ebp - 0x30]
call fcn.00409c40
push eax
lea ecx, [ebp - 0x24]
call fcn.00409c40
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
push str.Date
push str.BackupInfo
call edi
lea ecx, [ebp - 0x3c]
call fcn.00409c40
mov ecx, eax
call fcn.0040f9d0
sub esp, 8
lea ecx, [ebp - 0x24]
push edx
push eax
call fcn.0040a5e0
lea ecx, [ebp - 0x30]
call fcn.00409c40
push eax
lea ecx, [ebp - 0x24]
call fcn.00409c40
push eax
push str.Size
push str.BackupInfo
call edi
lea ecx, [ebp - 0x30]
call fcn.00409c40
push eax
lea ecx, [ebp - 0x48]
call fcn.00409c40
push eax
push str.Type
push str.BackupInfo
call edi
mov esi, dword [ebp - 0x538]
inc esi
mov dword [ebp - 0x538], esi
mov edi, dword [ebp - 0x53c]
lea eax, [ebp - 0x2d8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4187e1
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x48]
call fcn.00409af0
lea ecx, [ebp - 0x3c]
call fcn.00409af0
lea ecx, [ebp - 0x24]
call fcn.00409af0
lea ecx, [ebp - 0x84]
call fcn.0040b700
lea ecx, [ebp - 0x534]
call fcn.00409af0
lea ecx, [ebp - 0x18]
call fcn.0040c6c0
lea ecx, [ebp - 0x6c]
call fcn.00409af0
lea ecx, [ebp - 0x30]
call fcn.00409af0
lea ecx, [ebp - 0x54]
call fcn.00409af0
lea ecx, [ebp - 0x60]
call fcn.00409af0
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.0042520b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret