Function at 0x419ef0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4b7bd6
mov eax, dword fs:[0]
push eax
sub esp, 0x640
mov eax, dword [0x4eb86c]
xor eax, esp
mov dword [esp + 0x63c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4eb86c]
xor eax, esp
push eax
lea eax, [esp + 0x654]
mov dword fs:[0], eax
mov esi, ecx
push str.CUninstallCtrl::DeleteDriverPackage
lea ecx, [esp + 0x2c]
call fcn.00405a40
xor ebx, ebx
cmp dword [0x4ed04c], 5
mov dword [esp + 0x65c], ebx
jb 0x41a300
mov eax, dword [0x4c3b34]
mov ecx, dword [0x4c3b38]
push 0x208
lea edx, [esp + 0x244]
push edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jbe 0x41a300
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x244]
push ecx
push str._s_s
lea edx, [esp + 0x44]
push 0x208
push edx
call fcn.004032e0
add esp, 0x14
xor ebp, ebp
xor edi, edi
mov eax, dword [esi + 0x4a0]
cmp eax, ebx
mov dword [esp + 0x24], edi
je 0x41a300
mov ecx, dword [esi + 0x4a4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jae 0x41a300
mov eax, dword [esi + 0x4a0]
cmp eax, ebx
je 0x419fff
mov ecx, dword [esi + 0x4a4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x41a004
call fcn.00488c34
mov eax, dword [esi + 0x4a0]
cmp dword [edi + eax + 8], ebx
jne 0x41a060
cmp eax, ebx
je 0x41a030
mov ecx, dword [esi + 0x4a4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x41a035
call fcn.00488c34
mov eax, dword [esi + 0x4a0]
mov ecx, dword [eax + edi + 4]
add eax, edi
push ecx
push str.Skipped:_s
call fcn.0044f300
push eax
call fcn.0044fb20
add esp, 0xc
add ebp, 1
add edi, 0xc
jmp 0x419fa7
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
cmp eax, ebx
mov byte [esp + 0x65c], 1
je 0x41a094
mov ecx, dword [esi + 0x4a4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x41a099
call fcn.00488c34
mov eax, dword [esi + 0x4a0]
add eax, edi
mov eax, dword [eax + 4]
lea edx, [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x40]
push eax
call fcn.0044eff0
add esp, 0xc
test eax, eax
jbe 0x41a225
xor edi, edi
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x41a22b
mov eax, dword [esp + 0x1c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x41a22b
mov ecx, dword [ecx + edi*4]
push ecx
push str._INFO_Deleting_INF_File_:_s
call fcn.0044f300
push eax
call fcn.0044fb20
add esp, 0xc
mov ecx, esi
call fcn.00419bf0
test al, al
mov ecx, dword [esp + 0x18]
je 0x41a1be
cmp ecx, ebx
mov dword [esp + 0x2c], ebx
je 0x41a11d
mov eax, dword [esp + 0x1c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x41a126
call fcn.00488c34
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + edi*4]
push edx
push str._UNINST:
push str._s__s_
lea eax, [esp + 0x454]
push 0x208
push eax
call fcn.004032e0
lea ecx, [esp + 0x40]
push ecx
push 1
lea edx, [esp + 0x464]
push edx
lea eax, [esi + 0x200]
push eax
call fcn.00458390
add esp, 0x24
test al, al
je 0x41a2ae
mov ecx, dword [esp + 0x2c]
push ecx
push str._INFO_Unregister_Driver_ExitCode__x_
call fcn.0044f300
push eax
call fcn.0044fb20
mov eax, dword [esp + 0x38]
add esp, 0xc
test eax, eax
js 0x41a273
cmp eax, 1
jne 0x41a21d
push str._INFO_Restart_is_required_for_Unregister_Driver
call fcn.0044f300
push eax
call fcn.0044fb20
add esp, 8
mov dword [0x4ed0f8], 1
add edi, 1
jmp 0x41a0c1
cmp ecx, ebx
je 0x41a1cf
mov eax, dword [esp + 0x1c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x41a1d8
call fcn.00488c34
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + edi*4]
push ecx
call fcn.0044e870
add esp, 4
test al, al
jne 0x41a21d
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x41a1fd
mov eax, dword [esp + 0x1c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x41a206
call fcn.00488c34
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + edi*4]
push edx
push str._ERROR_Failed_to_remove_INF_File_:_s
call fcn.0044f300
push eax
call fcn.0044fb20
add esp, 0xc
add edi, 1
jmp 0x41a0c1
mov ecx, dword [esp + 0x18]
jmp 0x41a22f
mov edi, dword [esp + 0x24]
cmp ecx, ebx
mov byte [esp + 0x65c], bl
je 0x41a25c
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
push eax
push ecx
call fcn.0040d020
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00458aee
add esp, 0x14
add ebp, 1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
add edi, 0xc
jmp 0x419fa7
push str._ERROR_Failed_to_Unregister_Driver
call fcn.0044f300
push eax
call fcn.0044fb20
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x65c], bl
call fcn.004127c0
lea ecx, [esp + 0x28]
mov dword [esp + 0x65c], 0xffffffff
call fcn.00403f90
xor al, al
jmp 0x41a316
push str._ERROR_Failed_to_execute_extension
call fcn.0044f300
push eax
call fcn.0044fb20
mov eax, dword [esp + 0x20]
add esp, 8
cmp eax, ebx
mov byte [esp + 0x65c], bl
je 0x41a2f2
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
push edx
push eax
call fcn.0040d020
mov eax, dword [esp + 0x28]
push eax
call fcn.00458aee
add esp, 0x14
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
jmp 0x41a296
lea ecx, [esp + 0x28]
mov dword [esp + 0x65c], 0xffffffff
call fcn.00403f90
mov al, 1
mov ecx, dword [esp + 0x654]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x63c]
xor ecx, esp
call fcn.004888ae
add esp, 0x64c
ret