Function at 0x42c138
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x446a73
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.00434cb5
mov ecx, esi
call fcn.004256c8
test al, al
jne 0x42c1b9
mov ecx, esi
call fcn.0042c490
push str.Bootstrapper::forceUninstallMFCStudio___not_installed
push edi
call fcn.00402357
pop ecx
pop ecx
jmp 0x42c46c
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.00434cb5
cmp dword [eax + 0x14], 8
jb 0x42c1df
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.0040eddc
push 0
test eax, eax
push 1
lea ecx, [esp + 0x84]
setne bl
call fcn.0040253d
test bl, bl
je 0x42c21c
push str.Bootstrapper::forceUninstallMFCStudio___failed_to_find_install_key
jmp 0x42c248
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.0040ed08
test eax, eax
je 0x42c255
push str.Bootstrapper::forceUninstallMFCStudio___failed_to_find_uninstall_string
push edi
call fcn.00402357
pop ecx
pop ecx
jmp 0x42c45b
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.0040cce0
mov byte [esp + 0x4f0], 1
cmp dword [esp + 0x44], ebx
je 0x42c448
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.00434e88
push eax
lea eax, [esp + 0x80]
push eax
mov ecx, esi
mov byte [esp + 0x4f8], 2
call fcn.0042901a
push ebx
push 1
lea ecx, [esp + 0xcc]
mov byte [esp + 0x4f8], 4
call fcn.0040253d
lea ecx, [esp + 0x94]
call fcn.00434e88
push eax
lea eax, [esp + 0x50]
push eax
mov ecx, esi
mov byte [esp + 0x4f8], 5
call fcn.00428cd4
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.004215c9
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.004272d5
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x94]
mov byte [esp + 0x4f0], 9
call fcn.0040fd78
mov byte [esp + 0x4f0], 0xa
push eax
lea edx, [esp + 0xb0]
lea ecx, [esp + 0x68]
call fcn.0042eab2
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.0040fd00
mov ecx, esi
call fcn.0042ad2a
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.0042c490
push ebx
push 1
lea ecx, [esp + 0x3c]
call fcn.0040253d
cmp dword [esp + 0x18], 0
je 0x42c46c
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.0043dcae
mov esp, ebp
pop ebp
ret