Function at 0x567550
Capabilities:
Check if file exists
Get file attributes
Set file attributes

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 0x5fb5d6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
movsd xmm0, qword [0x6edab8]
comisd xmm0, xmmword [edi]
jbe 0x5675a5
xor eax, eax
jmp 0x5677c8
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x38]
movq qword [ebp - 0x38], xmm0
call fcn.005dc5e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x2c]
movq qword [ebp - 0x2c], xmm0
call fcn.005dc5e0
push ecx
push str.Internet_Exploreriexplore.exe
push 0x62428c
push 0x62439c
push ecx
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.0057c120
lea edx, [ebp - 0x38]
mov ecx, eax
call fcn.0053fbc0
lea ecx, [ebp - 0x38]
call fcn.005dafe0
cmp eax, 0xa
jb 0x5677ac
push ecx
mov ecx, edi
call fcn.0057bb70
mov ecx, eax
call fcn.005d8c40
test eax, eax
je 0x5677ac
push str.Repairing_Internet_Explorers_history...
push 0xffffffffffffffff
mov ecx, edi
call fcn.0057b610
push 0
push 1
mov ecx, edi
call fcn.005494d0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x6476a4
push ecx
mov ecx, edi
call fcn.0057bb70
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc200
xorps xmm0, xmm0
lea ecx, [ebp - 0x20]
push 0
push 0
movups xmmword [ebp - 0x58], xmm0
movups xmmword [ebp - 0x48], xmm0
call fcn.005dc190
push eax
lea ecx, [ebp - 0x58]
call fcn.005e4770
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
xor esi, esi
call fcn.005dc190
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x58]
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.005e3f60
test eax, eax
je 0x5676e9
push esi
push 1
push 1
push esi
push str._.ShellClassInfo__r_nConfirmFileOp0_r_nDefaultToFS0_r_nCLSIDFF393560_C2A7_11CF_BFF4_444553540000_r_nUICLSID7BD29E00_76C1_11CF_9DD0_00A0C9034933
lea ecx, [ebp - 0x2c]
call fcn.005daa70
test eax, eax
je 0x5676e9
mov esi, 1
jmp 0x567731
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x20]
and eax, 0xfffffff8
push eax
call fcn.005dc190
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 0xa
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x58]
call fcn.005e4120
test eax, eax
je 0x567731
push 0
push str._.ShellClassInfo__r_nConfirmFileOp0_r_nDefaultToFS0_r_nCLSIDFF393560_C2A7_11CF_BFF4_444553540000_r_nUICLSID7BD29E00_76C1_11CF_9DD0_00A0C9034933
lea ecx, [ebp - 0x58]
call fcn.005e37e0
test eax, eax
mov ecx, 1
cmovne esi, ecx
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x20]
or eax, 7
push eax
call fcn.005dc190
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ecx
lea ecx, [ebp - 0x58]
call fcn.005e36a0
push ecx
mov ecx, edi
call fcn.0057bb70
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or eax, 6
push eax
push ecx
mov ecx, edi
call fcn.0057bb70
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 0
mov ecx, str.Failed_to_repair_Internet_explorers_history.
test esi, esi
mov eax, str.Successfully_repaired_Internet_explorers_history.
cmove eax, ecx
mov ecx, edi
push 0
push eax
call fcn.0057b7e0
lea ecx, [ebp - 0x50]
call fcn.005d9280
mov eax, dword [ebp - 0x58]
cmp eax, 0xffffffff
je 0x5677ae
test eax, eax
je 0x5677ae
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x5677ae
xor esi, esi
lea ecx, [ebp - 0x2c]
call fcn.005dc430
lea ecx, [ebp - 0x20]
call fcn.005dc430
lea ecx, [ebp - 0x38]
call fcn.005dc430
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.0041e1b5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret