Function at 0x576d60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fc885
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push str.Restoring_drivers_from_backup...
push 0xffffffffffffffff
call fcn.0057b610
push 0
push 1
mov ecx, ebx
call fcn.005494d0
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push 0
lea ecx, [ebp - 0x24]
movq qword [ebp - 0x24], xmm0
call fcn.005dc570
push 0
push 0
push 0x62439c
push 0x624388
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.005da270
mov ecx, eax
call fcn.005dbeb0
test al, al
je 0x576e35
mov ecx, dword [ebx + 0xcc]
test ecx, ecx
je 0x576e0e
call fcn.005b6bd0
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x576e0e
mov ecx, dword [ebx + 0xcc]
call fcn.005b6bd0
jmp 0x576e16
push ecx
mov ecx, ebx
call fcn.0057c7a0
push eax
push 0
push 1
push ecx
mov edx, str.Indicate_the_folder_containing_the_drivers_to_install
lea ecx, [ebp - 0x24]
call fcn.005e1b00
test al, al
jne 0x576e35
or edi, 0xffffffff
jmp 0x576f78
push 1
mov ecx, ebx
call fcn.00554030
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x15], 0
call fcn.005dc190
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x15]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 0x4c]
push 0
add eax, 4
push 0
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x40]
push eax
push 0x57dc40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
or eax, 0xffffffff
test esi, esi
cmove esi, eax
mov dword [ebp - 0x44], esi
xor edx, edx
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.005cca30
test al, al
je 0x576eb6
mov eax, dword [ebx + 0x4c]
cmp byte [eax + 5], 0
je 0x576e9e
mov byte [eax + 4], 1
push 0
push 0
mov ecx, ebx
call fcn.005494d0
xor edx, edx
mov ecx, esi
call fcn.005cca30
test al, al
jne 0x576e91
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [ebx + 0x4c]
cmp byte [eax + 4], 0
je 0x576ed9
or edi, 0xffffffff
jmp 0x576f68
mov edi, dword [ebp - 0x34]
lea ecx, [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x28], 0
test edi, edi
xorps xmm0, xmm0
movq qword [ebp - 0x30], xmm0
sete al
mov dword [ebp - 0x50], eax
call fcn.005dc5e0
push edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.005db290
cmp dword [ebp - 0x34], 0
lea ecx, [ebp - 0x24]
jne 0x576f25
mov dword [ebp - 0x48], str.Failed_to_restore_drivers_from
call fcn.005dc190
xor edi, edi
xor ecx, ecx
jmp 0x576f50
call fcn.005dc190
cmp dword [ebp - 0x34], 1
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x4c], eax
mov edi, str._driver_from
mov eax, str._drivers_from
mov dword [ebp - 0x48], 0x6388ac
cmovne edi, eax
call fcn.005dc190
mov ecx, dword [ebp - 0x4c]
push ecx
push edi
push eax
push dword [ebp - 0x48]
mov ecx, ebx
call fcn.0057b7e0
lea ecx, [ebp - 0x30]
call fcn.005dc430
mov edi, dword [ebp - 0x50]
cmp esi, 0xffffffff
je 0x576f78
test esi, esi
je 0x576f78
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x24]
call fcn.005dc430
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 4