Function at 0x418230
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 0x452a26
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.00409a90
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
movq qword [ebp - 0x54], xmm0
call fcn.00409a40
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x30], xmm0
call fcn.00409a40
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 0x6c]
movq qword [ebp - 0x6c], xmm0
call fcn.00409a40
push 0
push 0x104
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.00409f90
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x418307
xor esi, esi
jmp 0x418927
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.0040aaf0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.0040c0c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x534]
xorps xmm0, xmm0
mov dword [ebp - 0x52c], 0
movq qword [ebp - 0x534], xmm0
call fcn.0040c610
xorps xmm0, xmm0
lea ecx, [ebp - 0x84]
movups xmmword [ebp - 0x84], xmm0
movq qword [ebp - 0x74], xmm0
call fcn.0040b670
push ecx
xor esi, esi
mov byte [ebp - 4], 6
push 0x2001f
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x538], esi
call fcn.00409cd0
push eax
lea ecx, [ebp - 0x18]
call fcn.0040c700
test al, al
je 0x41858b
xor edi, edi
lea eax, [ebp - 0x3c]
push edi
push eax
lea ecx, [ebp - 0x18]
call fcn.0040cae0
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.0040c690
cmp dword [ebp - 0x530], 0xffffffff
je 0x41858b
nop dword [eax + eax]
mov esi, dword [ebp - 0x534]
lea eax, [ebp - 0x6c]
push eax
push esi
lea ecx, [ebp - 0x18]
call fcn.0040c880
push esi
lea ecx, [ebp - 0x18]
call fcn.0040cd90
lea ecx, [ebp - 0x6c]
call fcn.00409c00
test eax, eax
je 0x41854c
push ecx
push 0x46e5f8
lea ecx, [ebp - 0x6c]
call fcn.00409cd0
push eax
lea ecx, [ebp - 0x84]
call fcn.0040b860
lea ecx, [ebp - 0x84]
call fcn.0040b7c0
cmp eax, 3
jb 0x41854c
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0x46d658
lea ecx, [ebp - 0x54]
call fcn.00409cd0
push eax
lea ecx, [ebp - 0x30]
call fcn.00409c70
lea ecx, [ebp - 0x30]
call fcn.00409cd0
mov ecx, eax
call fcn.00410f40
test al, al
je 0x41854c
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.0040aaf0
lea ecx, [ebp - 0x30]
call fcn.00409cd0
push eax
push 0
lea ecx, [ebp - 0x84]
call fcn.0040b7b0
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
push str.Date
push str.BackupInfo
call esi
lea ecx, [ebp - 0x30]
call fcn.00409cd0
push eax
push 1
lea ecx, [ebp - 0x84]
call fcn.0040b7b0
push eax
push str.Size
push str.BackupInfo
call esi
lea ecx, [ebp - 0x30]
call fcn.00409cd0
push eax
push 2
lea ecx, [ebp - 0x84]
call fcn.0040b7b0
push eax
push str.Type
push str.BackupInfo
call esi
lea ecx, [ebp - 0x84]
call fcn.0040b7c0
cmp eax, 4
jbe 0x41853d
lea ecx, [ebp - 0x30]
call fcn.00409cd0
push eax
push 4
lea ecx, [ebp - 0x84]
call fcn.0040b7b0
push eax
push str.Name
push str.BackupInfo
call esi
mov esi, dword [ebp - 0x538]
inc esi
mov dword [ebp - 0x538], esi
jmp 0x418552
mov esi, dword [ebp - 0x538]
inc edi
lea eax, [ebp - 0x3c]
push edi
push eax
lea ecx, [ebp - 0x18]
call fcn.0040cae0
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.0040c690
cmp dword [ebp - 0x530], 0xffffffff
jne 0x4183e0
lea ecx, [ebp - 0x60]
call fcn.00409cd0
push eax
lea ecx, [ebp - 0x18]
call fcn.0040ce00
push 0
lea ecx, [ebp - 0x60]
call fcn.00409e10
lea ecx, [ebp - 0x60]
call fcn.00409cd0
mov ecx, eax
call fcn.0040d490
test al, al
jne 0x4185ca
lea ecx, [ebp - 0x60]
call fcn.00409cd0
push eax
lea ecx, [ebp - 0x18]
call fcn.0040ce00
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 0x46db14
call fcn.00409cd0
push eax
lea ecx, [ebp - 0x24]
call fcn.00409ac0
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x3c]
movq qword [ebp - 0x3c], xmm0
call fcn.00409a40
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x48]
movq qword [ebp - 0x48], xmm0
call fcn.00409a40
lea eax, [ebp - 0x2d8]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x24]
call fcn.00409cd0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x53c], eax
cmp eax, 0xffffffff
je 0x4188f1
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 0x46d658
lea ecx, [ebp - 0x54]
call fcn.00409cd0
push eax
lea ecx, [ebp - 0x3c]
call fcn.00409c70
test byte [ebp - 0x2d8], 0x10
jne 0x4186a1
lea ecx, [ebp - 0x3c]
call fcn.00409cd0
mov edx, 2
mov ecx, eax
call fcn.0040fbd0
jmp 0x4188d4
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.00409cd0
push eax
lea ecx, [ebp - 0x30]
call fcn.00409c70
lea ecx, [ebp - 0x30]
call fcn.00409cd0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4188d4
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.00409cd0
push eax
lea ecx, [ebp - 0x24]
call fcn.00409c70
lea ecx, [ebp - 0x24]
call fcn.00409cd0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, str.System
mov eax, 0x46c5fc
cmove ecx, eax
push ecx
lea ecx, [ebp - 0x48]
call fcn.00409b00
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.00409cd0
push eax
lea ecx, [ebp - 0x24]
call fcn.00409c70
lea eax, [ebp - 0x528]
push eax
lea ecx, [ebp - 0x24]
call fcn.00409cd0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
xor esi, esi
cmp edi, 0xffffffff
jne 0x4187a0
lea ecx, [ebp - 0x48]
call fcn.00409c00
test eax, eax
jne 0x41882f
lea ecx, [ebp - 0x3c]
call fcn.00409cd0
lea edx, [esi + 2]
mov ecx, eax
call fcn.0040fbd0
mov esi, dword [ebp - 0x538]
jmp 0x4188ce
test byte [ebp - 0x528], 0x10
jne 0x4187aa
inc esi
lea eax, [ebp - 0x528]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4187a0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x48]
call fcn.00409c00
test eax, eax
je 0x4187f1
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x46e690
lea ecx, [ebp - 0x48]
call fcn.0040aaf0
push esi
lea ecx, [ebp - 0x24]
call fcn.0040a420
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.00409cd0
push eax
lea ecx, [ebp - 0x48]
call fcn.0040aaf0
lea ecx, [ebp - 0x24]
call fcn.00409b90
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x2d4]
call fcn.00417f90
lea ecx, [ebp - 0x30]
call fcn.00409cd0
push eax
lea ecx, [ebp - 0x24]
call fcn.00409cd0
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
push str.Date
push str.BackupInfo
call edi
lea ecx, [ebp - 0x3c]
call fcn.00409cd0
mov ecx, eax
call fcn.0040f960
sub esp, 8
lea ecx, [ebp - 0x24]
push edx
push eax
call fcn.0040a640
lea ecx, [ebp - 0x30]
call fcn.00409cd0
push eax
lea ecx, [ebp - 0x24]
call fcn.00409cd0
push eax
push str.Size
push str.BackupInfo
call edi
lea ecx, [ebp - 0x30]
call fcn.00409cd0
push eax
lea ecx, [ebp - 0x48]
call fcn.00409cd0
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 0x418651
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x48]
call fcn.00409b80
lea ecx, [ebp - 0x3c]
call fcn.00409b80
lea ecx, [ebp - 0x24]
call fcn.00409b80
lea ecx, [ebp - 0x84]
call fcn.0040b710
lea ecx, [ebp - 0x534]
call fcn.00409b80
lea ecx, [ebp - 0x18]
call fcn.0040c740
lea ecx, [ebp - 0x6c]
call fcn.00409b80
lea ecx, [ebp - 0x30]
call fcn.00409b80
lea ecx, [ebp - 0x54]
call fcn.00409b80
lea ecx, [ebp - 0x60]
call fcn.00409b80
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.00424a0b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret