Function at 0x5766a0
Capabilities:
Create thread
Shutdown system
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fc807
mov eax, dword fs:[0]
push eax
sub esp, 0x40
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
test byte [ebp + 8], 1
je 0x5766e7
sub esp, 0xc
call fcn.00576fa0
cmp eax, 0xffffffff
jne 0x5766e7
or eax, eax
jmp 0x576902
push str.Uninstalling_all_devices...
push 0xffffffffffffffff
mov ecx, ebx
call fcn.0057b610
push ecx
mov ecx, ebx
call fcn.0057c7a0
push 1
mov ecx, ebx
mov esi, eax
call fcn.00554030
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x4c]
add eax, 4
mov dword [ebp - 0x4c], esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x15]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
and eax, 6
mov byte [ebp - 0x15], 0
push 0
or eax, 1
push 0
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x4c]
push eax
push 0x57cfa0
push 0
push 0
call esi
mov edi, eax
or eax, 0xffffffff
test edi, edi
cmove edi, eax
mov dword [ebp - 0x38], edi
xor edx, edx
mov dword [ebp - 4], 0
mov ecx, edi
call fcn.005cca30
test al, al
je 0x576795
nop dword [eax]
mov eax, dword [ebx + 0x4c]
cmp byte [eax + 5], 0
je 0x57677d
mov byte [eax + 4], 1
push 0
push 0
mov ecx, ebx
call fcn.005494d0
xor edx, edx
mov ecx, edi
call fcn.005cca30
test al, al
jne 0x576770
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push str.Reinstalling_all_devices...
push 0xffffffffffffffff
mov ecx, ebx
call fcn.0057b610
push 0
push 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push 0x57dc60
push 0
push 0
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x28], 0
call esi
mov esi, eax
cmp edi, 0xffffffff
je 0x5767ef
test edi, edi
je 0x5767ef
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
mov eax, 0xffffffff
cmove esi, eax
xor edx, edx
mov ecx, esi
mov dword [ebp - 0x38], esi
call fcn.005cca30
test al, al
je 0x576835
nop dword [eax]
mov eax, dword [ebx + 0x4c]
cmp byte [eax + 5], 0
je 0x57681d
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 0x576810
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x24]
movq qword [ebp - 0x24], xmm0
call fcn.005dc5e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
push dword [ebp - 0x34]
call fcn.005db290
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x57686f
xor ecx, ecx
xor edi, edi
mov eax, str.Reset_all_device_drivers_failed._No_devices_were_reset.
xor edx, edx
jmp 0x5768b0
cmp byte [ebp - 0x15], 0
mov edi, str._device
mov ecx, str._devices
je 0x576896
cmp eax, 1
cmovne edi, ecx
lea ecx, [ebp - 0x24]
call fcn.005dc190
mov ecx, eax
mov eax, str.Reset_all_device_drivers_succeeded__reboot_required_.
jmp 0x5768ab
cmp eax, 1
cmovne edi, ecx
lea ecx, [ebp - 0x24]
call fcn.005dc190
mov ecx, eax
mov eax, str.Reset_all_device_drivers_succeeded.
mov edx, str._were_reset
push edx
push edi
push ecx
push eax
mov ecx, ebx
call fcn.0057b7e0
test byte [ebp + 8], 8
je 0x5768e5
cmp byte [ebp - 0x15], 0
je 0x5768e5
push 0x10000
push 4
push 0xa
push str.This_computer_will_reboot_in_less_than_10_seconds
push 0
call dword [sym.imp.ADVAPI32.dll_InitiateShutdownW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edi, dword [ebp - 0x34]
lea ecx, [ebp - 0x24]
call fcn.005dc430
cmp esi, 0xffffffff
je 0x576900
test esi, esi
je 0x576900
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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