Function at 0x42c395
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x446d28
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.00434f12
mov ecx, esi
call fcn.00425924
test al, al
jne 0x42c416
mov ecx, esi
call fcn.0042c6ed
push str.Bootstrapper::forceUninstallMFCStudio___not_installed
push edi
call fcn.00402357
pop ecx
pop ecx
jmp 0x42c6c9
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.00434f12
cmp dword [eax + 0x14], 8
jb 0x42c43c
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.0040f038
push 0
test eax, eax
push 1
lea ecx, [esp + 0x84]
setne bl
call fcn.0040253d
test bl, bl
je 0x42c479
push str.Bootstrapper::forceUninstallMFCStudio___failed_to_find_install_key
jmp 0x42c4a5
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.0040ef64
test eax, eax
je 0x42c4b2
push str.Bootstrapper::forceUninstallMFCStudio___failed_to_find_uninstall_string
push edi
call fcn.00402357
pop ecx
pop ecx
jmp 0x42c6b8
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.0040cf3c
mov byte [esp + 0x4f0], 1
cmp dword [esp + 0x44], ebx
je 0x42c6a5
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.004350e5
push eax
lea eax, [esp + 0x80]
push eax
mov ecx, esi
mov byte [esp + 0x4f8], 2
call fcn.00429277
push ebx
push 1
lea ecx, [esp + 0xcc]
mov byte [esp + 0x4f8], 4
call fcn.0040253d
lea ecx, [esp + 0x94]
call fcn.004350e5
push eax
lea eax, [esp + 0x50]
push eax
mov ecx, esi
mov byte [esp + 0x4f8], 5
call fcn.00428f31
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.00421824
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.00427531
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x94]
mov byte [esp + 0x4f0], 9
call fcn.0040ffd4
mov byte [esp + 0x4f0], 0xa
push eax
lea edx, [esp + 0xb0]
lea ecx, [esp + 0x68]
call fcn.0042ed0f
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.0040ff5c
mov ecx, esi
call fcn.0042af87
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.004067fb
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.0042c6ed
push ebx
push 1
lea ecx, [esp + 0x3c]
call fcn.0040253d
cmp dword [esp + 0x18], 0
je 0x42c6c9
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.0043df0a
mov esp, ebp
pop ebp
ret