Function at 0x413380
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x43f8d8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44ef30]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x20], ebp
call fcn.00417947
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x4133ca
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
push ebp
mov dword [esp + 0x8c], ebp
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.004189b9
test eax, eax
jne 0x41342c
push str.Fatal_Error:_MFC_initialization_failed
push 0x452e90
call fcn.0040e2b0
add esp, 8
mov edi, eax
push 0xa
mov ecx, edi
call fcn.0040e500
mov ecx, edi
call fcn.0040ca10
mov dword [esp + 0x20], 1
jmp 0x413be8
push ebp
push str.SDD_DEBUG_INSTALL
call fcn.00401280
add esp, 8
test eax, eax
jne 0x413451
push 1
push str.SDD_DEBUG_INSTALL
call fcn.00401280
add esp, 8
test eax, eax
je 0x41347e
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x441769
call fcn.004087b0
mov byte [esp + 0x8c], 1
call fcn.004038f0
mov ecx, eax
mov byte [esp + 0x8c], 0
call fcn.0040a1a0
mov eax, dword [esp + 0x90]
sub eax, 1
je 0x413999
sub eax, 1
je 0x4136f9
sub eax, 1
jne 0x413bdc
mov edi, dword [esp + 0x94]
mov ecx, dword [edi + 4]
push ecx
lea ecx, [esp + 0x20]
call fcn.004087b0
mov edx, dword [edi + 8]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8c], 0x12
call fcn.004087b0
mov eax, dword [esp + 0x1c]
push str._post
mov bl, 0x13
push eax
mov byte [esp + 0x90], bl
call fcn.00424ab2
add esp, 8
cmp eax, ebp
jne 0x413526
push ebp
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00403510
lea ecx, [esp + 0x3c]
call fcn.00407590
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], 0x14
call fcn.004120c0
test al, al
jne 0x4136ca
push str._post__target__failed_to_execute_commands
jmp 0x413664
mov eax, dword [esp + 0x1c]
push str._post_viewer
push eax
call fcn.00424ab2
add esp, 8
cmp eax, ebp
jne 0x41357b
push 1
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00403510
lea ecx, [esp + 0x3c]
call fcn.00407590
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], 0x15
call fcn.004120c0
test al, al
jne 0x4136ca
push str._post_viewer__target__failed_to_execute_commands
jmp 0x413664
push str._reg
lea ecx, [esp + 0x20]
call fcn.004019c0
test eax, eax
jne 0x4135cb
push ebp
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00403510
lea ecx, [esp + 0x3c]
call fcn.00407590
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], 0x16
call fcn.00408a10
test al, al
jne 0x4136ca
push str._reg__target__failed_to_execute_commands
jmp 0x413664
push str._remove
lea ecx, [esp + 0x20]
call fcn.004019c0
test eax, eax
jne 0x413618
push ebp
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00403510
lea ecx, [esp + 0x3c]
call fcn.00407590
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], 0x17
call fcn.00412370
test al, al
jne 0x4136ca
push str._remove__target__failed_to_execute_commands
jmp 0x413664
push str._remove_viewer
lea ecx, [esp + 0x20]
call fcn.004019c0
test eax, eax
jne 0x4136da
push 1
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00403510
lea ecx, [esp + 0x3c]
call fcn.00407590
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], 0x18
call fcn.00412370
test al, al
jne 0x4136ca
push str._remove_viewer__target__failed_to_execute_commands
push 0x452e90
call fcn.0040e2b0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.0040e500
mov ecx, esi
call fcn.0040ca10
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], bl
call fcn.00402f80
lea ecx, [esp + 0x18]
call fcn.00402ba0
lea ecx, [esp + 0x1c]
call fcn.00402ba0
lea ecx, [esp + 0x14]
call fcn.00402ba0
mov eax, 1
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], bl
call fcn.00402f80
lea ecx, [esp + 0x18]
call fcn.00402ba0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x88], 0
call fcn.00402ba0
jmp 0x413bdc
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx + 4]
push edx
lea ecx, [esp + 0x28]
call fcn.004087b0
mov eax, dword [esp + 0x24]
push str._licutil
mov bl, 8
push eax
mov byte [esp + 0x90], bl
call fcn.00424ab2
add esp, 8
cmp eax, ebp
jne 0x4138ce
push str.SDD_HOME
call fcn.00426e27
add esp, 4
push eax
lea ecx, [esp + 0x1c]
call fcn.004087b0
mov bl, 9
push str.padswin32
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8c], bl
call fcn.00407a20
lea ecx, [esp + 0x28]
push ecx
call fcn.00408870
add esp, 4
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 0xa
call fcn.00404ac0
lea ecx, [esp + 0x28]
mov byte [esp + 0x88], bl
call fcn.00402ba0
mov edx, dword [esp + 0x14]
cmp dword [edx - 0xc], ebp
lea ecx, [esp + 0x14]
jle 0x4137a6
push str.JRE_binjava.exe
call fcn.00407a20
jmp 0x4137b0
push str.C:mentorgraphicsInstallJRE_binjava.exe
call fcn.004073c0
push ecx
mov eax, esp
mov dword [esp + 0x24], esp
lea ecx, [esp + 0x18]
push ecx
push str.Java:
push eax
call fcn.004052c0
add esp, 0xc
mov byte [esp + 0x8c], 0xb
call fcn.004038f0
mov ecx, eax
mov byte [esp + 0x8c], bl
call fcn.00404f60
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.Running_license_utility___licutil_
call fcn.004087b0
mov byte [esp + 0x8c], 0xc
call fcn.004038f0
mov ecx, eax
mov byte [esp + 0x8c], bl
call fcn.00404f60
push 1
push 1
push str._jar_PadsInstall.jar__licutil
push ebp
lea ecx, [esp + 0x28]
call fcn.00403530
push eax
push 0x10
lea ecx, [esp + 0x28]
call fcn.00403530
push eax
call fcn.00404d60
mov esi, dword [esp + 0x28]
mov edi, eax
mov eax, dword [esi - 8]
push eax
push esi
mov dword [esp + 0x3c], edi
call fcn.004254fa
add esp, 0x1c
cmp eax, ebp
jl 0x4138c4
cmp eax, dword [esi - 8]
jg 0x4138c4
mov dword [esi - 0xc], eax
lea ecx, [esp + 0x1c]
mov byte [eax + esi], 0
call fcn.00402b70
push edi
lea edx, [esp + 0x20]
push str....finished:__d
mov bl, 0xd
push edx
mov byte [esp + 0x94], bl
call fcn.00404d40
add esp, 8
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00403510
mov byte [esp + 0x8c], 0xe
call fcn.004038f0
mov ecx, eax
mov byte [esp + 0x8c], bl
call fcn.00404f60
lea ecx, [esp + 0x1c]
call fcn.00402ba0
lea ecx, [esp + 0x18]
call fcn.00402ba0
jmp 0x413978
push 0x80070057
call fcn.004010a0
mov ecx, dword [esp + 0x24]
push str._purge
push ecx
call fcn.00424ab2
add esp, 8
cmp eax, ebp
jne 0x413978
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.Starting_cleaning_process...
call fcn.004087b0
mov byte [esp + 0x8c], 0xf
call fcn.004038f0
mov ecx, eax
mov byte [esp + 0x8c], bl
call fcn.00404f60
lea ecx, [esp + 0x34]
call fcn.00417340
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], 0x10
call fcn.00415a10
test al, al
je 0x413968
lea ecx, [esp + 0x34]
call fcn.00416990
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.Cleaning_process_has_finished.
call fcn.004087b0
mov byte [esp + 0x8c], 0x11
call fcn.004038f0
mov ecx, eax
mov byte [esp + 0x8c], 0x10
call fcn.00404f60
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], bl
call fcn.0040ee40
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x88], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x413bd0
push str.SDD_HOME
call fcn.00426e27
add esp, 4
push eax
lea ecx, [esp + 0x20]
call fcn.004087b0
push str.padswin32
lea ecx, [esp + 0x20]
mov byte [esp + 0x8c], 2
call fcn.00407a20
lea ecx, [esp + 0x2c]
push ecx
call fcn.00408870
add esp, 4
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 3
call fcn.00404ac0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x88], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413a0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], ebp
lea ecx, [esp + 0x14]
jle 0x413a26
push str.JRE_binjava.exe
call fcn.00407a20
jmp 0x413a30
push str.C:mentorgraphicsInstallJRE_binjava.exe
call fcn.004073c0
push ecx
mov edx, esp
mov dword [esp + 0x34], esp
lea eax, [esp + 0x18]
push eax
push str.Java:
push edx
call fcn.004052c0
add esp, 0xc
mov byte [esp + 0x8c], 4
call fcn.004038f0
mov ecx, eax
mov byte [esp + 0x8c], 2
call fcn.00404f60
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.Running_license_utility
call fcn.004087b0
mov byte [esp + 0x8c], 5
call fcn.004038f0
mov ecx, eax
mov byte [esp + 0x8c], 2
call fcn.00404f60
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x413ab4
push ebp
lea ecx, [esp + 0x20]
call fcn.00402830
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x10
or eax, ecx
mov edi, edx
jge 0x413adb
push 0x10
lea ecx, [esp + 0x18]
call fcn.00402830
mov esi, dword [esp + 0x14]
push 1
push 1
push str._jar_PadsInstall.jar
push edi
push esi
call fcn.00404d60
mov edi, eax
mov eax, dword [esi - 8]
push eax
push esi
mov dword [esp + 0x3c], edi
call fcn.004254fa
add esp, 0x1c
cmp eax, ebp
jl 0x4138c4
cmp eax, dword [esi - 8]
jg 0x4138c4
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
call fcn.00417947
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x413b30
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
push edi
lea ecx, [esp + 0x28]
push str....finished:__d
mov bl, 6
push ecx
mov byte [esp + 0x94], bl
call fcn.00404d40
mov edi, dword [esp + 0x30]
add esp, 8
add edi, 0xfffffff0
mov dword [esp + 0x34], esp
mov ebp, esp
push edi
call fcn.00402880
add eax, 0x10
add esp, 4
mov dword [ebp], eax
mov byte [esp + 0x8c], 7
call fcn.004038f0
mov ecx, eax
mov byte [esp + 0x8c], bl
call fcn.00404f60
mov byte [esp + 0x88], 2
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x413bb4
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x88], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413bdc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004038f0
mov ecx, eax
call fcn.0040a4c0
add esi, 0xfffffff0
mov dword [esp + 0x88], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413c0f
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret