Function at 0x47abe0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f067a
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
sub esp, 8
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
movsd qword [ebp - 0x54], xmm0
movq qword [ebp - 0x28], xmm0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.WindowsSystem32configSOFTWARE
push esi
call fcn.005dc520
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
movq qword [ebp - 0x40], xmm0
call fcn.005dc5e0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.005cf450
lea ecx, [ebp - 0x28]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47ad7d
lea ecx, [ebp - 0x28]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x40]
call fcn.005dc190
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
test eax, eax
jne 0x47ad7d
sub esp, 8
mov dword [ebp - 0x44], eax
xorps xmm0, xmm0
lea ecx, [ebp - 0x40]
movq qword [ebp - 0x4c], xmm0
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push str.MicrosoftWindows_NTCurrentVersion
call fcn.005dc190
push eax
push str.HKLM_
lea ecx, [ebp - 0x4c]
call fcn.005dc520
push 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
push 0x20019
mov dword [ebp - 0x18], 0
call fcn.005dc190
push eax
lea ecx, [ebp - 0x18]
call fcn.005d6a80
lea eax, [ebp - 0x1c]
push eax
push str.CurrentMinorVersionNumber
lea ecx, [ebp - 0x18]
call fcn.005d66b0
lea ecx, [ebp - 0x18]
test al, al
je 0x47ad6c
mov eax, dword [ebp - 0x1c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6ede90]
lea eax, [ebp - 0x1c]
push eax
push str.CurrentMajorVersionNumber
divsd xmm0, qword [0x6edb08]
movsd qword [ebp - 0x54], xmm0
call fcn.005d66b0
lea ecx, [ebp - 0x18]
test al, al
je 0x47ad6c
mov eax, dword [ebp - 0x1c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6ede90]
addsd xmm0, qword [ebp - 0x54]
movsd qword [ebp - 0x54], xmm0
call fcn.005d69e0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.005dc430
lea ecx, [ebp - 0x40]
call fcn.005dc190
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
movsd xmm1, qword [ebp - 0x54]
comisd xmm1, xmmword [0x6eda88]
ja 0x47aee0
push ecx
push 1
push esi
lea ecx, [ebp - 0x28]
call fcn.005dc260
mov ecx, eax
call fcn.005da0a0
sub esp, 8
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x34], xmm0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.ProgramDataMicrosoftWindows
call fcn.005dc190
push eax
lea ecx, [ebp - 0x34]
call fcn.005dc520
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.005dc190
mov ecx, eax
call fcn.005e1200
lea ecx, [ebp - 0x28]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
test al, al
jne 0x47ae9b
push str.Documents_and_Settings
call fcn.005dc190
push eax
lea ecx, [ebp - 0x34]
call fcn.005dc200
lea ecx, [ebp - 0x34]
call fcn.005dc190
mov ecx, eax
call fcn.005e1200
test al, al
je 0x47ae50
movsd xmm0, qword [0x6eda98]
jmp 0x47aed3
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x65c3f4
lea ecx, [ebp - 0x28]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x34]
call fcn.005dc200
mov ecx, eax
call fcn.005dc190
mov ecx, eax
call fcn.005e1200
test al, al
je 0x47ae96
movsd xmm0, qword [0x6edac0]
jmp 0x47aed3
xorps xmm0, xmm0
jmp 0x47aed3
push str.ProgramDataMicrosoftWindowsAppRepository
call fcn.005dc190
push eax
lea ecx, [ebp - 0x34]
call fcn.005dc200
lea ecx, [ebp - 0x34]
call fcn.005dc190
mov ecx, eax
call fcn.005e1200
test al, al
je 0x47aecb
movsd xmm0, qword [0x6edb08]
jmp 0x47aed3
movsd xmm0, qword [0x6edac8]
lea ecx, [ebp - 0x34]
movsd qword [ebp - 0x54], xmm0
call fcn.005dc430
lea ecx, [ebp - 0x40]
call fcn.005dc430
lea ecx, [ebp - 0x28]
call fcn.005dc430
movsd xmm0, qword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 4