Function at 0x418933
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45d71b
mov eax, dword fs:[0]
push eax
sub esp, 0x4f4
mov eax, dword [0x47f180]
xor eax, esp
mov dword [esp + 0x4ec], eax
push esi
push edi
mov eax, dword [0x47f180]
xor eax, esp
push eax
lea eax, [esp + 0x500]
mov dword fs:[0], eax
lea edi, [ebx + 0xc8]
push str.Bootstrapper::forceUninstallMFCStudio
mov esi, edi
mov dword [esp + 0x20], edi
call fcn.00408201
sub esp, 0x18
mov eax, esp
mov dword [esp + 0x2c], esp
call fcn.0042239e
push ebx
call fcn.004135ae
test al, al
jne 0x4189b7
mov ecx, ebx
call fcn.00418cc4
push str.Bootstrapper::forceUninstallMFCStudio___not_installed
call fcn.00408201
pop ecx
jmp 0x418ca1
xor esi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
lea eax, [esp + 0xbc]
mov dword [esp + 0x508], esi
call fcn.0042239e
cmp dword [eax + 0x18], 8
jb 0x4189df
mov eax, dword [eax + 4]
jmp 0x4189e2
add eax, 4
push eax
xor eax, eax
cmp byte [ebx + 0x61], al
lea ecx, [esp + 0x18]
sete al
add eax, 0x80000001
push eax
mov eax, 0x20019
call fcn.0040bce6
push esi
test eax, eax
push 1
lea esi, [esp + 0xc4]
setne byte [esp + 0x17]
call fcn.00408971
cmp byte [esp + 0xf], 0
je 0x418a2e
push str.Bootstrapper::forceUninstallMFCStudio___failed_to_find_install_key
mov esi, edi
call fcn.00408201
pop ecx
jmp 0x418c90
push str.UninstallString
lea eax, [esp + 0x18]
push eax
lea esi, [esp + 0x18]
lea edi, [esp + 0xfc]
mov dword [esp + 0x18], 0x200
call fcn.0040bc7e
test eax, eax
je 0x418a5f
mov esi, dword [esp + 0x1c]
push str.Bootstrapper::forceUninstallMFCStudio___failed_to_find_uninstall_string
jmp 0x418a23
lea eax, [esp + 0xf4]
push eax
lea esi, [esp + 0x6c]
call fcn.004074dc
mov byte [esp + 0x508], 1
cmp dword [esp + 0x7c], 0
je 0x418c7c
cmp dword [esp + 0x80], 8
mov eax, dword [esp + 0x6c]
jae 0x418a95
lea eax, [esp + 0x6c]
mov esi, dword [esp + 0x1c]
push eax
push str.Bootstrapper::forceUninstallMFCStudio___path:__S
call fcn.00408201
lea eax, [esp + 0x54]
push eax
call fcn.00422428
add esp, 0xc
push ebx
mov ecx, eax
lea edi, [esp + 0xc0]
mov byte [esp + 0x50c], 2
call fcn.00415d29
xor edi, edi
push edi
push 1
lea esi, [esp + 0x54]
mov byte [esp + 0x510], 4
call fcn.00408971
lea eax, [esp + 0x30]
push eax
call fcn.00422428
pop ecx
push ebx
mov edx, eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x50c], 5
call fcn.004159bf
push edi
push 1
lea esi, [esp + 0x38]
call fcn.00408971
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
mov byte [esp + 0x508], 8
cmp dword [esp + 0x80], 8
mov edi, dword [esp + 0x6c]
jae 0x418b2e
lea edi, [esp + 0x6c]
push ebx
lea edx, [esp + 0x24]
mov ecx, 0x465714
call fcn.00410a24
cmp dword [esp + 0x9c], 8
mov eax, dword [esp + 0x88]
jae 0x418b55
lea eax, [esp + 0x88]
mov esi, dword [esp + 0x1c]
push eax
push str.Bootstrapper::forceUninstallMFCStudio___deleting_studio_stub:__S
call fcn.00408201
cmp dword [esp + 0xa4], 8
mov eax, dword [esp + 0x90]
pop ecx
pop ecx
jae 0x418b7e
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, byte [ebx + 0x61]
mov byte [esp + 0x10], al
push dword [esp + 0x10]
lea eax, [esp + 0xdc]
push eax
call fcn.004142f2
lea edx, [esp + 0xbc]
lea ecx, [esp + 0x30]
mov byte [esp + 0x508], 9
call fcn.0042502b
push eax
lea eax, [esp + 0xdc]
push eax
lea eax, [esp + 0xa8]
push eax
mov byte [esp + 0x514], 0xa
call fcn.0040a766
add esp, 0xc
xor edi, edi
push edi
push 1
lea esi, [esp + 0x38]
mov byte [esp + 0x510], 0xc
call fcn.00408971
cmp dword [esp + 0xb8], 8
mov eax, dword [esp + 0xa4]
jae 0x418c04
lea eax, [esp + 0xa4]
mov esi, dword [esp + 0x1c]
push eax
push str.Bootstrapper::forceUninstallMFCStudio___deleting_studio_directory:__S
call fcn.00408201
sub esp, 0x14
lea edx, [esp + 0xbc]
mov ecx, esp
mov dword [esp + 0x2c], esp
call fcn.00424fb8
mov ecx, ebx
call fcn.004178e2
push edi
push 1
lea esi, [esp + 0xa8]
call fcn.00408971
push edi
push 1
lea esi, [esp + 0xe0]
call fcn.00408971
lea esi, [esp + 0x20]
call fcn.00401f78
push edi
push 1
lea esi, [esp + 0x8c]
call fcn.00408971
push edi
push 1
lea ecx, [esp + 0xc4]
mov byte [esp + 0x510], 1
call fcn.00408639
mov ecx, ebx
call fcn.00418cc4
push 0
push 1
lea esi, [esp + 0x70]
call fcn.00408971
cmp dword [esp + 0x14], 0
je 0x418ca1
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x500]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x4ec]
xor ecx, esp
call fcn.0043e40d
mov esp, ebp
pop ebp
ret