Function at 0x407940
Capabilities:
Check if file exists
Copy file
Create a process with modified i/o handles and window
Create process on windows
Delete directory
Get common file path
Get file attributes
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534f7f
mov eax, dword fs:[0]
push eax
sub esp, 0xe60
mov eax, dword [0x5a6a30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xe08], ebx
call fcn.0042aa6c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407990
push 0x80004005
call fcn.004010e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xe10], eax
mov dword [ebp - 4], 0
call fcn.0042aa6c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4079c3
push 0x80004005
call fcn.004010e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xe0c], eax
mov byte [ebp - 4], 1
call fcn.0042aa6c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4079f3
push 0x80004005
call fcn.004010e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0xe14], esi
lea ecx, [ebp - 0xa6c]
mov byte [ebp - 4], 2
call fcn.004237a0
lea ecx, [ebp - 0xab0]
mov byte [ebp - 4], 3
call fcn.004237a0
lea ecx, [ebp - 0xb2c]
mov byte [ebp - 4], 4
call fcn.00424bd0
lea ecx, [ebp - 0xe00]
mov byte [ebp - 4], 5
call fcn.00429620
mov edi, dword [ebp + 8]
push edi
push str.CDelDrvApp::UnregisterUninstaller_bCleanupShortcutOnly___1_d__n
push 5
mov byte [ebp - 4], 6
call fcn.00403750
mov ecx, dword [ebx + 0xbc]
add esp, 0xc
cmp dword [ecx - 0xc], 0
jne 0x407ac8
push str.CDelDrvApp::UnregisterUninstaller_Uninstaller_GUID_is_not_defined._Exit._n
push 5
call fcn.00403750
add esp, 8
lea ecx, [ebp - 0xe00]
mov byte [ebp - 4], 5
call fcn.00429500
lea ecx, [ebp - 0xb2c]
mov byte [ebp - 4], 4
call fcn.00424b10
lea ecx, [ebp - 0xab0]
mov byte [ebp - 4], 3
call fcn.004237d0
lea ecx, [ebp - 0xa6c]
mov byte [ebp - 4], 2
call fcn.004237d0
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x408813
push 0x33
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
lea ecx, [ebp - 0xe10]
call fcn.00401bc0
push 1
push 0x5457b4
lea ecx, [ebp - 0xe10]
call fcn.004049b0
mov eax, dword [ebx + 0xbc]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0xe10]
call fcn.004049b0
mov esi, dword [ebp - 0xe10]
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
or ecx, eax
jge 0x407b2a
push 0
lea ecx, [ebp - 0xe10]
call fcn.004015a0
mov esi, dword [ebp - 0xe10]
push esi
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xa6c]
call fcn.004230f0
test eax, eax
jne 0x407be2
push str.CDelDrvApp::UnregisterUninstaller_Uninstaller_GUID_is_not_registered._Exit._n
push 5
call fcn.00403750
add esp, 8
lea ecx, [ebp - 0xe00]
mov byte [ebp - 4], 5
call fcn.00429500
lea ecx, [ebp - 0xb2c]
mov byte [ebp - 4], 4
call fcn.00424b10
lea ecx, [ebp - 0xab0]
mov byte [ebp - 4], 3
call fcn.004237d0
lea ecx, [ebp - 0xa6c]
mov byte [ebp - 4], 2
call fcn.004237d0
mov eax, dword [ebp - 0xe14]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407bb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xe0c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407bda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
jmp 0x40884e
push str.Shortcut
push eax
lea ecx, [ebp - 0xb2c]
call fcn.00424e60
push 1
lea ecx, [ebp - 0xb2c]
call fcn.00425a70
test edi, edi
je 0x407c18
push str.CDelDrvApp::UnregisterUninstaller_Cleanup_shortcut_only._Done._n
push 5
call fcn.00403750
add esp, 8
jmp 0x4087b2
push str.Version
lea ecx, [ebp - 0xa6c]
call fcn.004234f0
push eax
lea ecx, [ebp - 0xe14]
call fcn.004020d0
mov ecx, dword [ebp - 0xe14]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x407cf0
push 0x105
lea edx, [ebp - 0x424]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0xa38]
push eax
lea ecx, [ebp - 0xa3c]
push ecx
mov ecx, dword [ebp - 0xe14]
lea edx, [ebp - 0xa40]
push edx
lea eax, [ebp - 0xa44]
push eax
push str._d._d._d._d
push ecx
call fcn.0051f314
mov esi, dword [ebp - 0xa44]
mov edi, dword [ebp - 0xa3c]
lea edx, [ebp - 0xe04]
push edx
lea eax, [ebp - 0xe18]
push eax
lea ecx, [ebp - 0x424]
shl esi, 0x10
add esi, dword [ebp - 0xa40]
shl edi, 0x10
add edi, dword [ebp - 0xa38]
push ecx
call fcn.00411c70
mov edx, dword [ebp - 0xe04]
mov eax, dword [ebp - 0xe18]
push 1
push edx
push eax
push edi
push esi
call fcn.004113b0
add esp, 0x38
test eax, eax
jne 0x407cf0
push str.CDelDrvApp::UnregisterUninstaller_Exist_a_newer_version_uninstaller.
push 4
call fcn.00403750
add esp, 8
jmp 0x4087b2
mov edi, dword [ebp - 0xe08]
mov ecx, dword [edi + 0x130]
cmp dword [ecx - 0xc], 0
jne 0x4083e0
push str.CDelDrvApp::UnregisterUninstaller:_Entered..._Create_duplicate_executable._n
push 5
xor esi, esi
call fcn.00403750
push 0x208
lea edx, [ebp - 0x218]
push esi
push edx
call fcn.0051eb70
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
push 0x208
lea ecx, [ebp - 0x62c]
push 0
push ecx
call fcn.0051eb70
push esi
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x62c]
push str._sMFDD_04d.exe
push eax
call edi
add esp, 0x1c
lea ecx, [ebp - 0x62c]
push ecx
inc esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x407d8d
cmp esi, 0x270f
jle 0x407d41
jmp 0x40867a
cmp esi, 0x270f
jg 0x40867a
lea edx, [ebp - 0x62c]
push edx
push str.CDelDrvApp::UnregisterUninstaller:_szFileName___1_s_._n
push 5
call fcn.00403750
add esp, 0xc
push 0x104
lea eax, [ebp - 0x424]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x424]
push ecx
push str.CDelDrvApp::UnregisterUninstaller:_szFileNameMyself___1_s_._n
push 5
call fcn.00403750
add esp, 0xc
push 1
lea edx, [ebp - 0x62c]
push edx
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x40867a
lea ecx, [ebp - 0x62c]
push ecx
push str.CDelDrvApp::UnregisterUninstaller_set___1_s___file_attribute_to_normal._n
push 5
call fcn.00403750
add esp, 0xc
push 0x80
lea edx, [ebp - 0x62c]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0051eb70
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x424]
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x424]
push 0x104
push ecx
call fcn.0051e2ba
push 0x208
lea edx, [ebp - 0x218]
push 0
push edx
call fcn.0051eb70
add esp, 0x18
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x101
lea ecx, [ebp - 0xa34]
push ecx
push 0x101
lea edx, [ebp - 0x830]
push edx
push 0
push 0
push 0
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0051e95e
lea ecx, [ebp - 0xa34]
push ecx
lea edx, [ebp - 0x830]
push 0x101
push edx
call fcn.0051f22b
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0051eb70
mov edx, dword [ebp - 0xe08]
mov eax, dword [edx + 0xc0]
mov edx, dword [edx + 0x124]
mov ecx, dword [ebx + 0xbc]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
add esp, 0x3c
push edx
push eax
push ecx
lea eax, [ebp - 0x830]
push eax
call esi
push eax
lea ecx, [ebp - 0x218]
push str.__S:_lu__s__s___s___d
push ecx
call edi
add esp, 0x1c
call esi
push eax
push str.CDelDrvApp::UnregisterUninstaller_ProcessId__0x_1_lx__n
push 5
call fcn.00403750
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x62c]
push 0x104
push eax
call fcn.0051f22b
lea ecx, [ebp - 0x62c]
push ecx
push str.CDelDrvApp::UnregisterUninstaller:_Launch_the_duplicated_executable._CommandLine____1_s__._n
push 5
call fcn.00403750
push 0x44
lea edx, [ebp - 0xe6c]
push 0
push edx
call fcn.0051eb70
xor eax, eax
add esp, 0x30
push str.UninstallString
lea ecx, [ebp - 0xa6c]
mov dword [ebp - 0xe28], eax
mov dword [ebp - 0xe24], eax
mov dword [ebp - 0xe20], eax
mov dword [ebp - 0xe1c], eax
mov dword [ebp - 0xe6c], 0x44
call fcn.004231e0
test eax, eax
je 0x407fce
push str.UninstallString
lea ecx, [ebp - 0xa6c]
call fcn.00423250
test eax, eax
jne 0x407fce
push str.CDelDrvApp::UnregisterUninstaller_DeleteValue__UninstallString__error._n
push 2
call fcn.00403750
add esp, 8
lea eax, [ebp - 0xe28]
push eax
lea ecx, [ebp - 0xe6c]
push ecx
push 0
push 0
push 0x20
push 1
push 0
push 0
lea edx, [ebp - 0x62c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40867a
push str.CDelDrvApp::UnregisterUninstaller:_Wait_and_close_the_duplicated_file._n
push 5
call fcn.00403750
add esp, 8
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0xe24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [ebp - 0xe28]
push ecx
call esi
lea edx, [ebp - 0xe10]
push edx
lea ecx, [ebp - 0xe0c]
call fcn.00404a70
push 0x5457b4
lea ecx, [ebp - 0xe0c]
call fcn.00405650
push str.DriverStore
lea ecx, [ebp - 0xe0c]
call fcn.00405650
push str.CDelDrvApp::UnregisterUninstaller_Delete_DriverStore_n
push 5
call fcn.00403750
mov edx, dword [ebp - 0xe0c]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
add esp, 8
or ecx, eax
jge 0x408097
push 0
lea ecx, [ebp - 0xe0c]
call fcn.004015a0
mov edx, dword [ebp - 0xe0c]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xab0]
call fcn.004230f0
test eax, eax
je 0x4087b2
xor esi, esi
mov dword [ebp - 0xa44], esi
mov dword [ebp - 0xa40], esi
mov dword [ebp - 0xa3c], esi
xor eax, eax
mov dword [ebp - 0xa74], 7
mov dword [ebp - 0xa78], esi
mov word [ebp - 0xa88], ax
push 0x5450a0
lea ecx, [ebp - 0xab0]
mov byte [ebp - 4], 8
call fcn.004234f0
mov ebx, eax
mov dword [ebp - 0xe08], ebx
cmp ebx, esi
je 0x4083c1
lea ecx, [ebp - 0xa44]
push ecx
lea ecx, [ebp - 0xab0]
call fcn.00423a40
mov esi, dword [ebp - 0xa44]
cmp esi, dword [ebp - 0xa40]
je 0x40823a
mov ebx, dword [esi + 0x14]
mov edi, 8
cmp ebx, edi
jb 0x408135
mov eax, dword [esi]
jmp 0x408137
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408140
sub eax, edx
sar eax, 1
je 0x408225
cmp ebx, edi
jb 0x40815d
mov eax, dword [esi]
jmp 0x40815f
mov eax, esi
push eax
push str.CDelDrvApp::UnregisterUninstaller_Delete_DriverStore_1_s__n
push 5
call fcn.00403750
mov edx, dword [ebp - 0xe08]
add esp, 0xc
push edx
lea ecx, [ebp - 0xa88]
call fcn.004036f0
cmp dword [esi + 0x14], edi
jb 0x40818a
mov eax, dword [esi]
jmp 0x40818c
mov eax, esi
push eax
lea ecx, [ebp - 0xa88]
call fcn.00403720
mov eax, dword [ebp - 0xa88]
cmp dword [ebp - 0xa74], edi
jae 0x4081ac
lea eax, [ebp - 0xa88]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebx
cmp eax, 0xffffffff
je 0x4081ff
mov eax, dword [ebp - 0xa88]
cmp dword [ebp - 0xa74], edi
jae 0x4081ce
lea eax, [ebp - 0xa88]
push eax
call ebx
test al, 0x10
je 0x4081ff
mov eax, dword [ebp - 0xa88]
cmp dword [ebp - 0xa74], edi
jae 0x4081e9
lea eax, [ebp - 0xa88]
push 1
push eax
call fcn.00410110
add esp, 8
test eax, eax
je 0x408225
push str.CDelDrvApp::UnregisterUninstaller___Delete_succeeded._n
jmp 0x408204
push str.CDelDrvApp::UnregisterUninstaller___The_directory_is_not_found._n
push 5
call fcn.00403750
add esp, 8
cmp dword [esi + 0x14], edi
jb 0x408217
mov eax, dword [esi]
jmp 0x408219
mov eax, esi
push eax
lea ecx, [ebp - 0xab0]
call fcn.00423250
add esi, 0x1c
cmp esi, dword [ebp - 0xa40]
jne 0x408125
mov ebx, dword [ebp - 0xe08]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [ebp - 0xa44]
push eax
lea ecx, [ebp - 0xab0]
call fcn.00423a40
mov ecx, dword [ebp - 0xa40]
sub ecx, dword [ebp - 0xa44]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
jne 0x4083c1
push ebx
push str.CDelDrvApp::UnregisterUninstaller_Delete_DriverStore_Root___1_s_._n
push 5
call fcn.00403750
add esp, 0xc
push ebx
call edi
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp eax, 0xffffffff
je 0x4082b4
push ebx
call edi
test al, 0x10
je 0x4082b4
push ebx
call esi
test eax, eax
je 0x4082ad
push str.CDelDrvApp::UnregisterUninstaller___Delete_succeeded._n
jmp 0x4082b9
push str.CDelDrvApp::UnregisterUninstaller___Used_by_other_device__._n
jmp 0x4082b9
push str.CDelDrvApp::UnregisterUninstaller___The_directory_is_not_found._n
push 5
call fcn.00403750
add esp, 8
cmp dword [ebp - 0xd8c], 0
je 0x408396
push ebx
lea ecx, [ebp - 0xe04]
call fcn.004022a0
mov bl, 9
push 0x5c
lea ecx, [ebp - 0xe04]
mov byte [ebp - 4], bl
call fcn.00403e50
push eax
lea edx, [ebp - 0xe18]
push edx
lea ecx, [ebp - 0xe04]
call fcn.004048c0
push eax
lea ecx, [ebp - 0xe04]
mov byte [ebp - 4], 0xa
call fcn.00404a70
lea ecx, [ebp - 0xe18]
mov byte [ebp - 4], bl
call fcn.00401510
mov edx, dword [ebp - 0xe04]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x408347
push 0
lea ecx, [ebp - 0xe04]
call fcn.004015a0
mov edx, dword [ebp - 0xe04]
push edx
call edi
cmp eax, 0xffffffff
je 0x408387
mov edx, dword [ebp - 0xe04]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x408377
push 0
lea ecx, [ebp - 0xe04]
call fcn.004015a0
mov edx, dword [ebp - 0xe04]
push edx
call edi
test al, 0x10
je 0x408387
mov eax, dword [ebp - 0xe04]
push eax
call esi
lea ecx, [ebp - 0xe04]
mov byte [ebp - 4], 8
call fcn.00401510
push 0x5450a0
lea ecx, [ebp - 0xab0]
call fcn.00423250
lea ecx, [ebp - 0xab0]
call fcn.00423320
push str.DriverStore
lea ecx, [ebp - 0xa6c]
call fcn.00423210
lea ecx, [ebp - 0xa88]
call fcn.00401880
lea ecx, [ebp - 0xa44]
mov byte [ebp - 4], 6
call fcn.00402430
jmp 0x4087b2
push str.UninstallerCommonDir
lea ecx, [ebp - 0xa6c]
call fcn.004231e0
test eax, eax
je 0x4085ab
lea ecx, [ebp - 0xe08]
call fcn.00404290
lea ecx, [ebp - 0xe04]
call fcn.00404290
push str.UninstallerCommonDir
lea ecx, [ebp - 0xa6c]
mov byte [ebp - 4], 0xc
call fcn.004234f0
push eax
lea ecx, [ebp - 0xe08]
call fcn.004020d0
push 0x5457b4
lea ecx, [ebp - 0xe08]
call fcn.00405650
lea ecx, [ebp - 0xe08]
push ecx
lea ecx, [ebp - 0xe04]
call fcn.00404a70
mov eax, dword [ebx + 0xbc]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0xe04]
call fcn.004049b0
push 0x5457b4
lea ecx, [ebp - 0xe04]
call fcn.00405650
mov esi, dword [ebp - 0xe04]
push esi
push str.CDelDrvApp::UnregisterUninstaller_strGuidDir___1_s_._n
push 4
call fcn.00403750
add esp, 0xc
push str.UninstallerCommonDir
lea ecx, [ebp - 0xa6c]
call fcn.00423250
test eax, eax
jne 0x4084ce
push str.CDelDrvApp::UnregisterUninstaller_DeleteValue__UninstallerCommonDir__error._n
push 2
call fcn.00403750
add esp, 8
lea ecx, [ebp - 0xe04]
call fcn.00401510
lea ecx, [ebp - 0xe08]
mov byte [ebp - 4], 6
call fcn.00401510
jmp 0x40867a
cmp dword [edi + 0x11c], 0
je 0x4084fb
mov edx, dword [edi + 0x44]
mov dword [ebp - 0xe18], edx
call fcn.0042cb3b
mov ecx, dword [ebp - 0xe18]
mov dword [eax + 0xc], ecx
mov edx, dword [edi + 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x20a
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.0051eb70
add esp, 0xc
push 0x105
lea ecx, [ebp - 0x424]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [ebp - 0x424]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
or ecx, eax
jge 0x408552
push 0
lea ecx, [ebp - 0xe04]
call fcn.004015a0
mov esi, dword [ebp - 0xe04]
push 1
push esi
call fcn.00410110
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
add esp, 8
push esi
call edi
push eax
push esi
push str.CDelDrvApp::UnregisterUninstaller:_RemoveDirectory___1_s_____d__n
push 5
call fcn.00403750
mov esi, dword [ebp - 0xe08]
add esp, 0x10
push esi
call edi
push eax
push esi
push str.CDelDrvApp::UnregisterUninstaller:_RemoveDirectory___1_s_____d__n
push 5
call fcn.00403750
add esp, 0x10
lea ecx, [ebp - 0xe04]
call fcn.00401510
lea ecx, [ebp - 0xe08]
mov byte [ebp - 4], 6
call fcn.00401510
push str.Version
lea ecx, [ebp - 0xa6c]
call fcn.004231e0
test eax, eax
je 0x4085dd
push str.Version
lea ecx, [ebp - 0xa6c]
call fcn.00423250
test eax, eax
jne 0x4085dd
push str.CDelDrvApp::UnregisterUninstaller_DeleteValue__Version__error._n
jmp 0x408670
push str.DisplayName
lea ecx, [ebp - 0xa6c]
call fcn.004231e0
test eax, eax
je 0x40860c
push str.DisplayName
lea ecx, [ebp - 0xa6c]
call fcn.00423250
test eax, eax
jne 0x40860c
push str.CDelDrvApp::UnregisterUninstaller_DeleteValue__DisplayName__error._n
jmp 0x408670
push str.DisplayIcon
lea ecx, [ebp - 0xa6c]
call fcn.004231e0
test eax, eax
je 0x40863b
push str.DisplayIcon
lea ecx, [ebp - 0xa6c]
call fcn.00423250
test eax, eax
jne 0x40863b
push str.CDelDrvApp::UnregisterUninstaller_DeleteValue__DisplayIcon__error._n
jmp 0x408670
push str.UninstallString
lea ecx, [ebp - 0xa6c]
call fcn.004231e0
test eax, eax
je 0x40873d
push str.UninstallString
lea ecx, [ebp - 0xa6c]
call fcn.00423250
test eax, eax
jne 0x40873d
push str.CDelDrvApp::UnregisterUninstaller_DeleteValue__UninstallString__error._n
push 2
call fcn.00403750
add esp, 8
lea ecx, [ebp - 0xa6c]
call fcn.00423320
lea ecx, [ebp - 0xe00]
mov byte [ebp - 4], 5
call fcn.00429500
lea ecx, [ebp - 0xb2c]
mov byte [ebp - 4], 4
call fcn.00424b10
lea ecx, [ebp - 0xab0]
mov byte [ebp - 4], 3
call fcn.004237d0
lea ecx, [ebp - 0xa6c]
mov byte [ebp - 4], 2
call fcn.004237d0
mov eax, dword [ebp - 0xe14]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4086e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xe0c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40870d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xe10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408736
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x408873
push 0
lea ecx, [ebp - 0xb2c]
call fcn.00425a70
push str.Shortcut
lea ecx, [ebp - 0xa6c]
call fcn.00423210
lea ecx, [ebp - 0xa6c]
call fcn.00423320
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xa6c]
call fcn.004230f0
test eax, eax
je 0x4087b2
mov eax, dword [ebx + 0xbc]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
or eax, ecx
jge 0x4087a0
push 0
lea ecx, [ebx + 0xbc]
call fcn.004015a0
mov ebx, dword [ebx + 0xbc]
push ebx
lea ecx, [ebp - 0xa6c]
call fcn.00423210
lea ecx, [ebp - 0xa6c]
call fcn.00423320
lea ecx, [ebp - 0xe00]
mov byte [ebp - 4], 5
call fcn.00429500
lea ecx, [ebp - 0xb2c]
mov byte [ebp - 4], 4
call fcn.00424b10
lea ecx, [ebp - 0xab0]
mov byte [ebp - 4], 3
call fcn.004237d0
lea ecx, [ebp - 0xa6c]
mov byte [ebp - 4], 2
call fcn.004237d0
mov eax, dword [ebp - 0xe14]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40881f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xe0c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408845
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xe10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40886e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051e701
mov esp, ebp
pop ebp
ret 4