Function at 0x42c477
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x446e73
mov eax, dword fs:[0]
push eax
sub esp, 0x4d8
mov eax, dword [0x46a034]
xor eax, esp
mov dword [esp + 0x4d0], eax
push ebx
push esi
push edi
mov eax, dword [0x46a034]
xor eax, esp
push eax
lea eax, [esp + 0x4e8]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x150]
push str.Bootstrapper::forceUninstallMFCStudio
push edi
call fcn.00402357
sub esp, 0x10
mov ecx, esp
call fcn.00434ff6
mov ecx, esi
call fcn.00425a07
test al, al
jne 0x42c4f8
mov ecx, esi
call fcn.0042c7cf
push str.Bootstrapper::forceUninstallMFCStudio___not_installed
push edi
call fcn.00402357
pop ecx
pop ecx
jmp 0x42c7ab
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x4f0], eax
call fcn.00434ff6
cmp dword [eax + 0x14], 8
jb 0x42c51e
mov eax, dword [eax]
push 0x20019
push eax
xor eax, eax
cmp byte [esi + 0x4d], al
lea ecx, [esp + 0x20]
sete al
add eax, 0x80000001
push eax
call fcn.0040f08f
push 0
test eax, eax
push 1
lea ecx, [esp + 0x84]
setne bl
call fcn.0040253d
test bl, bl
je 0x42c55b
push str.Bootstrapper::forceUninstallMFCStudio___failed_to_find_install_key
jmp 0x42c587
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0xe0]
push eax
push str.UninstallString
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], 0x200
call fcn.0040efbb
test eax, eax
je 0x42c594
push str.Bootstrapper::forceUninstallMFCStudio___failed_to_find_uninstall_string
push edi
call fcn.00402357
pop ecx
pop ecx
jmp 0x42c79a
xor eax, eax
mov word [esp + 0x34], ax
lea eax, [esp + 0xdc]
xor ebx, ebx
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
call fcn.0040cf95
mov byte [esp + 0x4f0], 1
cmp dword [esp + 0x44], ebx
je 0x42c787
cmp dword [esp + 0x48], 8
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
push eax
push str.Bootstrapper::forceUninstallMFCStudio___path:__S
push edi
call fcn.00402357
add esp, 0xc
lea ecx, [esp + 0xc4]
call fcn.004351c9
push eax
lea eax, [esp + 0x80]
push eax
mov ecx, esi
mov byte [esp + 0x4f8], 2
call fcn.00429359
push ebx
push 1
lea ecx, [esp + 0xcc]
mov byte [esp + 0x4f8], 4
call fcn.0040253d
lea ecx, [esp + 0x94]
call fcn.004351c9
push eax
lea eax, [esp + 0x50]
push eax
mov ecx, esi
mov byte [esp + 0x4f8], 5
call fcn.00429013
push ebx
push 1
lea ecx, [esp + 0x9c]
call fcn.0040253d
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x4f0], 8
cmp dword [esp + 0x48], 8
lea ecx, [esp + 0x24]
push ecx
lea eax, [esp + 0x38]
cmovae eax, dword [esp + 0x38]
push 0x44b168
push eax
mov ecx, esi
call fcn.00421908
cmp dword [esp + 0x60], 8
lea eax, [esp + 0x4c]
cmovae eax, dword [esp + 0x4c]
push eax
push str.Bootstrapper::forceUninstallMFCStudio___deleting_studio_stub:__S
push edi
call fcn.00402357
add esp, 0xc
cmp dword [esp + 0x60], 8
lea eax, [esp + 0x4c]
cmovae eax, dword [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, byte [esi + 0x4d]
mov byte [esp + 0x14], al
push dword [esp + 0x14]
lea eax, [esp + 0xb0]
push eax
call fcn.00427614
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x94]
mov byte [esp + 0x4f0], 9
call fcn.0041002b
mov byte [esp + 0x4f0], 0xa
push eax
lea edx, [esp + 0xb0]
lea ecx, [esp + 0x68]
call fcn.0042edf1
pop ecx
push ebx
push 1
lea ecx, [esp + 0x9c]
mov byte [esp + 0x4f8], 0xc
call fcn.0040253d
cmp dword [esp + 0x78], 8
lea eax, [esp + 0x64]
cmovae eax, dword [esp + 0x64]
push eax
push str.Bootstrapper::forceUninstallMFCStudio___deleting_studio_directory:__S
push edi
call fcn.00402357
sub esp, 0xc
lea edx, [esp + 0x7c]
mov ecx, esp
call fcn.0040ffb3
mov ecx, esi
call fcn.0042b069
push ebx
push 1
lea ecx, [esp + 0x6c]
call fcn.0040253d
push ebx
push 1
lea ecx, [esp + 0xb4]
call fcn.0040253d
lea ecx, [esp + 0x24]
call fcn.00406855
push ebx
push 1
lea ecx, [esp + 0x54]
call fcn.0040253d
lea ecx, [esp + 0x7c]
mov byte [esp + 0x4f0], 1
call fcn.00402286
mov ecx, esi
call fcn.0042c7cf
push ebx
push 1
lea ecx, [esp + 0x3c]
call fcn.0040253d
cmp dword [esp + 0x18], 0
je 0x42c7ab
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x4e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4d0]
xor ecx, esp
call fcn.0043dfee
mov esp, ebp
pop ebp
ret