Function at 0x4c4110
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd04
push ebx
mov bl, byte [ebp + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
push edi
push 0x6bc140
push str.NCHSoftware_InstanceInst
call esi
test eax, eax
jne 0x4c414c
test bl, bl
jne 0x4c416a
push 0x6bc140
push str.NCHSoftware_InstanceBoot
call esi
test eax, eax
je 0x4c416a
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 4
call fcn.0069e704
add esp, 4
test eax, eax
jne 0x4c42e6
call fcn.004b05b0
mov dword [esp + 0x10], 0
mov edi, dword [esp + 0x10]
test bl, bl
mov dword [esp + 0x28], edi
jne 0x4c41a4
push str.InstallerDomain
mov eax, str.Software
call fcn.004a54a0
push 0x104
lea eax, [esp + 0x484]
push eax
push str.LQUIET
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne byte [esp + 0xf]
xor esi, esi
test bl, bl
mov dword [esp + 0x1c], esi
je 0x4c421c
lea ecx, [esp + 0x480]
push ecx
push str._bootstrap
call fcn.004af660
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x484]
push 0x6fc978
push eax
mov dword [esp + 0x38], esi
call fcn.0069d13f
add esp, 0xc
cmp eax, 1
jne 0x4c420c
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], ecx
mov esi, ecx
test edi, edi
je 0x4c421c
mov edx, dword [edi]
push esi
push 0xffffffffffffffeb
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push str.SVar
mov eax, str.Software
call fcn.004a54a0
call fcn.004a1a20
call fcn.004a51d0
push 0
push 0x6c69bc
mov eax, str.Registration
call fcn.004811b0
lea ecx, [eax - 1]
cmp ecx, 0x6d2bd7
ja 0x4c427a
cmp eax, 0x72f742
jae 0x4c427a
push str.Install_Overwrite
push str.Are_you_sure_you_want_to_install_this_version_over_the_top_of_a_previous_installation__r_n_r_nWe_recommend_you_back_up_the_old_installation_first_in_case_you_want_to_revert._The_features_may_not_be_identical_and_old_licenses_may_not_be_able_to_register_this_version.
push esi
mov ecx, str.Cancel
mov eax, str.Install
call fcn.004f39e0
test al, al
je 0x4c4574
lea esi, [esp + 0x30]
call fcn.004c3c30
test bl, bl
jne 0x4c4291
cmp byte [esp + 0xf], bl
je 0x4c4324
lea esi, [esp + 0x30]
call fcn.004c40b0
mov edx, dword [esp + 0x34]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x59]
test eax, eax
mov esi, eax
je 0x4c42ff
test bl, bl
jne 0x4c42bc
push 0
call fcn.004c3580
lea eax, [esp + 0x30]
call fcn.0049d8a0
test edi, edi
je 0x4c42db
mov eax, dword [edi]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
push edi
call fcn.0069d0cc
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
mov ecx, str.NCHSoftware_InstanceInst
mov esi, eax
call fcn.004977a0
mov edi, eax
mov dword [esp + 0x10], edi
jmp 0x4c418d
call fcn.0050d560
cmp byte [esp + 0xf], 0
je 0x4c4324
lea eax, [esp + 0x30]
call fcn.0049d8a0
test edi, edi
je 0x4c47aa
mov ecx, dword [edi]
push ecx
jmp 0x4c479b
or esi, 0xffffffff
test bl, bl
mov dword [esp + 0x24], esi
jne 0x4c46c5
call fcn.004c3510
lea edx, [esp + 0x140]
push edx
mov dword [esp + 0xd0c], 0
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], 0x145
mov dword [esp + 0x18], 0xa6
call fcn.004c2520
cmp dword [esp + 0x211], 0
mov byte [esp + 0xf], bl
je 0x4c43a3
push 0xa6
push 0x145
lea eax, [esp + 0x690]
push eax
mov eax, 0x6bc0cc
mov ecx, str.Language_Selection
lea edi, [esp + 0x14c]
call fcn.0049c7a0
mov byte [esp + 0xf], 1
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x1c]
push edx
lea esi, [esp + 0x68]
call fcn.004c2d90
lea esi, [esp + 0x218]
call fcn.004c33c0
lea eax, [esp + 0x14]
push eax
lea esi, [esp + 0x24]
call fcn.004b7020
call fcn.00407790
test al, al
mov edi, str.Debut_Video_Capture_Software_by_NCH_Software
jne 0x4c43e3
mov edi, 0x6bc140
call fcn.00407790
test al, al
mov eax, 0x6bc0cc
jne 0x4c43f6
mov eax, str.by_NCH_Software
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
push ebx
push esi
lea ecx, [esp + 0x690]
push ecx
mov ecx, edi
lea edi, [esp + 0x6c]
call fcn.0049c7a0
push str.DEBUTRelatedprogramspaidoff
push str.DEBUTRelatedprogramspaidon
call fcn.004bf000
test al, al
je 0x4c4457
call fcn.004b6fc0
test eax, eax
jle 0x4c4457
push ebx
push esi
lea edx, [esp + 0x690]
push edx
mov eax, str.Optional_useful_programs_and_utilities
mov ecx, str.Optional_Programs_and_Extras
lea edi, [esp + 0x224]
mov byte [esp + 0x13e], 1
call fcn.0049c7a0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea esi, [esp + 0x3a0]
call fcn.004c3620
mov esi, dword [esp + 0xd08]
mov ecx, dword [esp + 0x20]
imul esi, esi, 0x34
push 0x3000
push 0x6bc0cc
push str.Installing_Debut
lea esi, [esp + esi + 0x694]
mov eax, ebx
lea edi, [esp + 0x3a4]
call fcn.00420f70
add dword [esp + 0xd08], 1
cmp byte [esp + 0xf], 0
je 0x4c44c3
mov edx, dword [esp + 0x10]
mov byte [esp + 0x20c], 1
mov dword [esp + 0x20d], edx
jmp 0x4c44d6
mov eax, dword [esp + 0x10]
mov byte [esp + 0x138], 1
mov dword [esp + 0x139], eax
mov edi, dword [esp + 0xd08]
push str.Installing_Debut_v_10.25
lea ecx, [esp + 0x68c]
push ecx
push 0
call fcn.00421000
cmp byte [esp + 0x12c], 0
jne 0x4c458b
call fcn.004c3550
lea edi, [esp + 0x398]
call fcn.004c4800
lea edi, [esp + 0x218]
call fcn.004c47c0
mov eax, dword [esp + 0x125]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
je 0x4c4530
push eax
call edi
lea esi, [esp + 0x96]
call fcn.004817b0
lea eax, [esp + 0x60]
call fcn.005174b0
mov eax, dword [esp + 0x205]
test eax, eax
je 0x4c4553
push eax
call edi
lea esi, [esp + 0x176]
call fcn.004817b0
lea eax, [esp + 0x140]
call fcn.005174b0
lea eax, [esp + 0x30]
call fcn.0049d8a0
lea eax, [esp + 0x28]
call fcn.00485230
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea esi, [esp + 0x14]
call fcn.00498590
mov edx, dword [esp + 0x34]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
cmp dword [esp + 0x18], 0
je 0x4c4644
call fcn.004c3550
mov ebx, dword [esp + 0x18]
lea edi, [esp + 0x398]
call fcn.004c4800
lea edi, [esp + 0x218]
call fcn.004c47c0
mov eax, dword [esp + 0x125]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
je 0x4c45ec
push eax
call edi
lea esi, [esp + 0x96]
call fcn.004817b0
lea eax, [esp + 0x60]
call fcn.005174b0
mov eax, dword [esp + 0x205]
test eax, eax
je 0x4c460f
push eax
call edi
lea esi, [esp + 0x176]
call fcn.004817b0
lea eax, [esp + 0x140]
call fcn.005174b0
lea eax, [esp + 0x30]
call fcn.0049d8a0
lea eax, [esp + 0x28]
call fcn.00485230
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [0x735bac], 0
je 0x4c4656
call fcn.004b95d0
mov dword [esp + 0x24], eax
lea edi, [esp + 0x398]
call fcn.004c4800
lea edi, [esp + 0x218]
call fcn.004c47c0
mov eax, dword [esp + 0x125]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
je 0x4c4682
push eax
call edi
lea esi, [esp + 0x96]
call fcn.004817b0
lea eax, [esp + 0x60]
call fcn.005174b0
mov eax, dword [esp + 0x205]
test eax, eax
je 0x4c46a5
push eax
call edi
lea esi, [esp + 0x176]
call fcn.004817b0
lea eax, [esp + 0x140]
call fcn.005174b0
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
xor bl, bl
cmp byte [0x735b72], bl
je 0x4c4704
mov ecx, dword [esp + 0x1c]
push str.Reboot_Required
push str.Debut_Video_Capture_Software_requires_a_restart_to_finish_the_installation._Would_you_like_to_restart_now_
push ecx
mov ecx, str.Restart_Later
mov eax, str.Restart_Now
call fcn.004f38c0
mov bl, al
test bl, bl
je 0x4c4704
mov ecx, 0x735900
call fcn.004c5190
call fcn.004a4700
jmp 0x4c4713
mov ecx, 0x735900
call fcn.004c5190
call fcn.004a46a0
call fcn.0050d560
test bl, bl
je 0x4c478b
cmp esi, 0xffffffff
je 0x4c4786
push 0
mov eax, str.Installing_Related_Programs
lea ecx, [esp + 0x21c]
call fcn.004155b0
mov edx, dword [esp + 0x307]
mov eax, dword [edx + 0x20]
push 0
push str.The_computer_will_reboot_once_installation_is_complete.
lea ecx, [esp + 0x30f]
call eax
lea ecx, [esp + 0x307]
call fcn.00511410
push ecx
mov eax, esp
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x30f]
mov dword [eax], esi
call fcn.00401b30
cmp dword [eax], 1
lea eax, [esp + 0x218]
sete bl
call fcn.004156d0
test bl, bl
jne 0x4c478b
call fcn.004b0280
lea eax, [esp + 0x30]
call fcn.0049d8a0
test edi, edi
je 0x4c47aa
mov edx, dword [edi]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
push edi
call fcn.0069d0cc
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4