Function at 0x405f30
Capabilities:
Delete file
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
mov eax, dword [0x5b0050]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x620], ecx
mov ecx, dword [ebp - 0x620]
call fcn.00405290
push 0x5bde08
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
cmp dword [0x5bdd04], 0x40
jne 0x405f81
push 0x5be010
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
movzx edx, word [0x5bbdd4]
cmp edx, 0x804
je 0x405f9e
movzx eax, word [0x5bbdd4]
cmp eax, 0x404
jne 0x405fb9
push str.ck_WxS
push 0xffffffffffffffff
call fcn.00403120
mov ecx, dword [eax + 0x20]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
jmp 0x405fd2
push str.Start_to_uninstall_the_old_driver...
push 0xffffffffffffffff
call fcn.00403120
mov eax, dword [eax + 0x20]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x2710
call fcn.00401b80
add esp, 4
mov ecx, dword [ebp - 0x620]
call fcn.004053d0
test eax, eax
je 0x406158
push 0x1388
call fcn.00401b80
add esp, 4
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push 0x58f6fc
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x624], 0
jmp 0x40604d
mov eax, dword [ebp - 0x624]
add eax, 1
mov dword [ebp - 0x624], eax
cmp dword [ebp - 0x624], 0x14
jge 0x4060a9
mov ecx, dword [ebp - 0x624]
push ecx
push 0x58f694
lea edx, [ebp - 0x61c]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea edx, [ebp - 0x61c]
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x40603e
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push 0x58f71c
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x628], 0
jmp 0x4060f7
mov eax, dword [ebp - 0x628]
add eax, 1
mov dword [ebp - 0x628], eax
cmp dword [ebp - 0x628], 0x14
jge 0x406153
mov ecx, dword [ebp - 0x628]
push ecx
push 0x58f73c
lea edx, [ebp - 0x61c]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea edx, [ebp - 0x61c]
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4060e8
jmp 0x405fdf
push 0x64
call fcn.00401b80
add esp, 4
mov ecx, dword [ebp - 0x620]
call fcn.00405150
test eax, eax
jne 0x4061df
push 0
call fcn.00403120
mov edx, dword [eax + 0x20]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_EndDialog]
movzx ecx, word [0x5bbdd4]
cmp ecx, 0x804
je 0x4061a3
movzx edx, word [0x5bbdd4]
cmp edx, 0x404
jne 0x4061b9
push 0
push 0x58f758
push 0x58f770
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4061cd
push 0
push str.ERROR
push str.The_Print_Spooler_failed_to_start._r_n_Please_open_it_manually_if_it_has_been_forbidden.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x620]
call fcn.00406250
push 0
call fcn.00531f31
movzx eax, word [0x5bbdd4]
cmp eax, 0x804
je 0x4061fc
movzx ecx, word [0x5bbdd4]
cmp ecx, 0x404
jne 0x406217
push 0x58f884
push 0xffffffffffffffff
call fcn.00403120
mov edx, dword [eax + 0x20]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
jmp 0x406230
push str.Begin_to_install_the_driver_we_will_complete_as_soon_as_possible.
push 0xffffffffffffffff
call fcn.00403120
mov ecx, dword [eax + 0x20]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x64
call fcn.00401b80
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00531c35
mov esp, ebp
pop ebp
ret