Function at 0x4017bd
Capabilities:
Check mutex on windows
Enumerate gui resources
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x394
mov eax, dword [0x45d06c]
xor eax, esp
mov dword [esp + 0x390], eax
and dword [esp + 8], 0
push ebx
push esi
push edi
push 0x452868
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
push str.SetSearchPathMode
mov edi, str.kernel32.dll
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetDefaultDllDirectories
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x401834
test esi, esi
je 0x401834
push 0x8001
call esi
push 0x800
call edi
push 2
pop esi
jmp 0x40183f
lea ecx, [esp + 0x14]
call fcn.0041ef0d
mov esi, eax
push str.lite_installer.log
lea ecx, [esp + 0x1cc]
call fcn.0040c76e
mov ecx, eax
call fcn.00402462
xor edi, edi
mov edx, eax
inc edi
mov ebx, 0x45eca8
mov ecx, edi
xor eax, eax
lock cmpxchg dword [ebx], ecx
test eax, eax
jne 0x401878
push edx
mov ecx, 0x45ecac
call fcn.004069ec
lea ecx, [esp + 0x1c8]
call fcn.00402561
xor ebx, ebx
mov dword [esp + 0x1dc], 7
xor eax, eax
mov dword [esp + 0x1d8], ebx
push str._______________________________________Start_install.
lea ecx, [esp + 0x1cc]
mov word [esp + 0x1cc], ax
mov byte [esp + 0x1e4], bl
call fcn.004011fd
lea eax, [esp + 0x1c8]
push eax
push eax
push 0x83
push str.wWinMain
push ebx
call fcn.00415c43
add esp, 0x14
lea ecx, [esp + 0x1c8]
call fcn.00402561
push 0x13
push str.check_the_interface
lea ecx, [esp + 0x1d0]
mov dword [esp + 0x1e0], ebx
mov dword [esp + 0x1e4], 0xf
mov byte [esp + 0x1d0], bl
call fcn.00402637
lea eax, [esp + 0x1c8]
push eax
push ecx
call fcn.004206e4
pop ecx
mov ecx, eax
call fcn.0042083d
lea ecx, [esp + 0x1c8]
mov bl, al
call fcn.004025ed
test bl, bl
je 0x4019b5
call fcn.0042376f
movzx esi, al
lea ecx, [esp + 0x1c8]
neg esi
mov dword [esp + 0x1dc], 7
sbb esi, esi
xor ebx, ebx
add esi, 0x2bd
mov dword [esp + 0x1d8], ebx
push esi
xor eax, eax
mov byte [esp + 0x1e4], bl
push str.Handled_non_install_cmd_line_option_by_win10_default_browser_helper__ret_code:
mov word [esp + 0x1d0], ax
call fcn.004011fd
mov ecx, eax
call fcn.004012a9
lea eax, [esp + 0x1c8]
push eax
push eax
push 0x89
push str.wWinMain
push ebx
call fcn.00415c43
add esp, 0x14
lea ecx, [esp + 0x1c8]
call fcn.00402561
mov eax, esi
jmp 0x40240f
xor ebx, ebx
sub esi, ebx
je 0x4023af
sub esi, 1
je 0x401b09
sub esi, 1
je 0x401aa9
sub esi, 1
je 0x401a43
sub esi, 1
je 0x40240b
push 7
pop esi
push 0xf
pop ecx
push 0xc
mov dword [esp + 0x1e0], ecx
lea ecx, [esp + 0x1cc]
push str.run_as_admin
mov dword [esp + 0x1e0], ebx
mov byte [esp + 0x1d0], bl
call fcn.00402637
lea eax, [esp + 0x1c8]
push eax
push ecx
call fcn.004206e4
pop ecx
mov ecx, eax
call fcn.0042083d
lea ecx, [esp + 0x1c8]
mov bl, al
call fcn.004025ed
test bl, bl
je 0x401b4c
call fcn.004013d3
jmp 0x40240f
xor eax, eax
mov dword [esp + 0x1d8], ebx
push str.Exiting__DLL_files_found_in_working_directory
lea ecx, [esp + 0x1cc]
mov dword [esp + 0x1e0], 7
mov word [esp + 0x1cc], ax
mov byte [esp + 0x1e4], bl
call fcn.004011fd
lea eax, [esp + 0x1c8]
push eax
push eax
push 0x9a
push str.wWinMain
push ebx
call fcn.00415c43
add esp, 0x14
lea ecx, [esp + 0x1c8]
call fcn.00402561
mov eax, 0xffffff38
jmp 0x40240f
push 7
pop esi
xor eax, eax
mov dword [esp + 0x1d8], ebx
push str.Runned_in_secure_environment.
lea ecx, [esp + 0x1cc]
mov dword [esp + 0x1e0], esi
mov word [esp + 0x1cc], ax
mov byte [esp + 0x1e4], bl
call fcn.004011fd
lea eax, [esp + 0x1c8]
push eax
push eax
push 0x97
push str.wWinMain
push ebx
call fcn.00415c43
add esp, 0x14
lea ecx, [esp + 0x1c8]
call fcn.00402561
jmp 0x4019e2
push 7
pop esi
xor eax, eax
mov dword [esp + 0x1d8], ebx
push str.Cant_find_secure_environment.
lea ecx, [esp + 0x1cc]
mov dword [esp + 0x1e0], esi
mov word [esp + 0x1cc], ax
mov byte [esp + 0x1e4], bl
call fcn.004011fd
lea eax, [esp + 0x1c8]
push eax
push eax
push 0x92
jmp 0x401aea
lea ecx, [esp + 0x1c]
call fcn.0040e615
xor ebx, ebx
mov dword [esp + 0x1dc], esi
xor eax, eax
mov dword [esp + 0x1d8], ebx
push str.Lite_installer_mode.
lea ecx, [esp + 0x1cc]
mov word [esp + 0x1cc], ax
mov byte [esp + 0x1e4], bl
call fcn.004011fd
lea eax, [esp + 0x1c8]
push eax
push eax
push 0xa9
push str.wWinMain
push ebx
call fcn.00415c43
add esp, 0x14
lea ecx, [esp + 0x1c8]
call fcn.00402561
push str.LocalYandexBrowserLiteInstallerMutex_E523E369_4A72_4B13_AD57_5B956174172A
push ebx
push ebx
mov byte [esp + 0x1e], bl
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esp + 0x18], eax
test eax, eax
je 0x40229d
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
sete byte [esp + 0x12]
test eax, eax
jne 0x40229d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
mov dword [esp + 0x1d8], ebx
xor eax, eax
mov dword [section.SHARED], esi
push str.Installer_process_id:
lea ecx, [esp + 0x1cc]
mov dword [esp + 0x1e0], 7
mov word [esp + 0x1cc], ax
mov byte [esp + 0x1e4], bl
call fcn.004011fd
push esi
mov ecx, eax
call fcn.004012f9
lea eax, [esp + 0x1c8]
push eax
push eax
push 0xb5
push str.wWinMain
push ebx
call fcn.00415c43
add esp, 0x14
lea ecx, [esp + 0x1c8]
call fcn.00402561
push 0xf
pop esi
push 6
push str.silent
lea ecx, [esp + 0x1d0]
mov dword [esp + 0x1e0], ebx
mov dword [esp + 0x1e4], esi
mov byte [esp + 0x1d0], bl
call fcn.00402637
lea eax, [esp + 0x1c8]
push eax
push ecx
call fcn.004206e4
pop ecx
mov ecx, eax
call fcn.0042083d
lea ecx, [esp + 0x1c8]
mov bh, al
call fcn.004025ed
and dword [esp + 0x1d8], 0
lea ecx, [esp + 0x1c8]
push 0xc
push str.system_level
mov dword [esp + 0x1e4], esi
mov byte [esp + 0x1d0], 0
call fcn.00402637
lea eax, [esp + 0x1c8]
push eax
push ecx
call fcn.004206e4
pop ecx
mov ecx, eax
call fcn.0042083d
lea ecx, [esp + 0x1c8]
mov byte [esp + 0x13], al
call fcn.004025ed
and dword [esp + 0x1d8], 0
lea ecx, [esp + 0x1c8]
push 0xa
push 0x455cd4
mov dword [esp + 0x1e4], esi
mov byte [esp + 0x1d0], 0
call fcn.00402637
lea eax, [esp + 0x1c8]
push eax
lea eax, [esp + 0x23c]
push eax
call fcn.004206e4
mov ecx, eax
call fcn.004208ad
lea ecx, [esp + 0x1c8]
call fcn.004025ed
lea ecx, [esp + 0x1e4]
call fcn.0040c76e
and dword [esp + 0x1d8], 0
push 7
pop esi
xor eax, eax
mov dword [esp + 0x1dc], esi
push str.Temporary_path_is:
lea ecx, [esp + 0x1cc]
mov word [esp + 0x1cc], ax
mov byte [esp + 0x1e4], al
call fcn.004011fd
cmp dword [esp + 0x1f8], 8
lea ecx, [esp + 0x1e4]
push dword [esp + 0x1f4]
cmovae ecx, dword [esp + 0x1e8]
push ecx
mov ecx, eax
call fcn.0040258c
lea eax, [esp + 0x1c8]
push eax
push eax
push 0xc0
push str.wWinMain
push 0
call fcn.00415c43
add esp, 0x14
lea ecx, [esp + 0x1c8]
call fcn.00402561
and dword [esp + 0x210], 0
lea ecx, [esp + 0x218]
xor eax, eax
mov dword [esp + 0x1fc], 0x4597c0
mov dword [esp + 0x214], esi
mov word [esp + 0x200], ax
call fcn.004033ed
lea ecx, [esp + 0x1fc]
call fcn.004067b2
lea eax, [esp + 0x1e4]
push eax
lea ecx, [esp + 0x8c]
call fcn.00404c14
lea eax, [esp + 0x238]
push eax
lea ecx, [esp + 0x8c]
call fcn.00404f37
push 0xf
pop ecx
xor eax, eax
mov dword [esp + 0x234], ecx
push 4
mov dword [esp + 0x1e0], ecx
lea ecx, [esp + 0x1cc]
push 0x453b90
mov dword [esp + 0x238], eax
mov byte [esp + 0x228], al
mov dword [esp + 0x1e0], eax
mov byte [esp + 0x1d0], al
call fcn.00402637
lea eax, [esp + 0x220]
push eax
lea eax, [esp + 0x1cc]
push eax
lea ecx, [esp + 0x204]
call fcn.00406915
lea ecx, [esp + 0x1c8]
mov bl, al
call fcn.004025ed
test bl, bl
je 0x401ebd
lea eax, [esp + 0x220]
push eax
lea ecx, [esp + 0xd8]
call fcn.004024e4
lea ecx, [esp + 0x88]
call fcn.004056f5
call fcn.00419ea0
push 0xa
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
jne 0x401f4f
and dword [esp + 0x1d8], eax
lea ecx, [esp + 0x1c8]
push str.CPU_is_not_supported
mov dword [esp + 0x1e0], esi
mov word [esp + 0x1cc], ax
mov byte [esp + 0x1e4], al
call fcn.004011fd
lea eax, [esp + 0x1c8]
push eax
push eax
push 0xda
push str.wWinMain
push edi
call fcn.00415c43
add esp, 0x14
lea ecx, [esp + 0x1c8]
call fcn.00402561
test bh, bh
jne 0x401f45
mov ecx, dword [esp + 0xec]
mov edx, 0x1b1
call fcn.0040d53e
mov ebx, 0x194
jmp 0x40225c
mov cl, byte [esp + 0x13]
call fcn.0041fb23
test bh, bh
jne 0x402071
test al, al
jne 0x401fc4
push dword [esp + 0xec]
mov ebx, 0x193
mov dword [esp + 0x1cc], 0x19b
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1d0], ebx
mov dword [esp + 0x1d4], 0x1a6
call fcn.004125b6
mov dword [esp + 0x38], 0x459930
lea esi, [esp + 0x1c8]
lea edi, [esp + 0x78]
movsd dword es:[edi], dword [esi]
push ecx
lea ecx, [esp + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00414043
lea ecx, [esp + 0x38]
call fcn.004126ff
jmp 0x40225c
push ecx
lea eax, [esp + 0x200]
push eax
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x25c]
call fcn.0040ece6
push ecx
lea ecx, [esp + 0x254]
call fcn.00414043
cmp eax, edi
jne 0x402001
mov eax, dword [esp + 0x2d0]
mov ebx, dword [eax + 0x98]
jmp 0x402060
xor ebx, ebx
mov dword [esp + 0x1dc], esi
xor eax, eax
mov dword [esp + 0x1d8], ebx
push str.User_cancelled_installation.
lea ecx, [esp + 0x1cc]
mov word [esp + 0x1cc], ax
mov byte [esp + 0x1e4], bl
call fcn.004011fd
lea eax, [esp + 0x1c8]
push eax
push eax
push 0xef
push str.wWinMain
push ebx
call fcn.00415c43
add esp, 0x14
lea ecx, [esp + 0x1c8]
call fcn.00402561
mov ebx, 0x1f4
lea ecx, [esp + 0x250]
call fcn.0040eeef
jmp 0x4021fa
xor ebx, ebx
mov dword [esp + 0x1dc], esi
xor eax, eax
mov dword [esp + 0x1d8], ebx
push str.Installing_in_silent_mode.
lea ecx, [esp + 0x1cc]
mov word [esp + 0x1cc], ax
mov byte [esp + 0x1e4], bl
call fcn.004011fd
lea eax, [esp + 0x1c8]
push eax
push eax
push 0xf3
push str.wWinMain
push ebx
call fcn.00415c43
add esp, 0x14
lea ecx, [esp + 0x1c8]
call fcn.00402561
call fcn.004206e4
mov esi, eax
lea ecx, [esp + 0x250]
lea eax, [esp + 0x1fc]
push eax
lea eax, [esp + 0x8c]
push eax
push ebx
call fcn.004072c1
push 0xf
pop edi
push 0x21
push str.make_browser_default_after_import
lea ecx, [esp + 0x1d0]
mov dword [esp + 0x1e0], ebx
mov dword [esp + 0x1e4], edi
mov byte [esp + 0x1d0], bl
call fcn.00402637
lea eax, [esp + 0x1c8]
mov ecx, esi
push eax
call fcn.0042083d
mov bl, al
call fcn.00419ea0
cmp dword [eax], 5
jl 0x40213f
call fcn.00419ea0
cmp dword [eax], 7
jl 0x402146
mov byte [esp + 0x26c], bl
lea ecx, [esp + 0x1c8]
call fcn.004025ed
and dword [esp + 0x1d8], 0
lea ecx, [esp + 0x1c8]
push edi
push str.send_statistics
mov dword [esp + 0x1e4], edi
mov byte [esp + 0x1d0], 0
call fcn.00402637
lea eax, [esp + 0x1c8]
mov ecx, esi
push eax
call fcn.0042083d
test al, al
jne 0x4021a8
xor eax, eax
inc eax
cmp dword [esp + 0x1b8], 0
je 0x4021ab
cmp dword [esp + 0x1b8], eax
je 0x4021ab
xor al, al
jmp 0x4021ab
xor eax, eax
inc eax
lea ecx, [esp + 0x1c8]
mov byte [esp + 0x26d], al
call fcn.004025ed
push dword [esp + 0x2f0]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [esp + 0x2f4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [esp + 0x250]
call fcn.00408725
mov ebx, dword [esp + 0x2e8]
lea ecx, [esp + 0x250]
call fcn.0040780a
push 7
pop esi
and dword [esp + 0x1d8], 0
lea ecx, [esp + 0x1c8]
xor eax, eax
mov dword [esp + 0x1dc], esi
push ebx
push str.Installer_exit_with_code:
mov word [esp + 0x1d0], ax
mov byte [esp + 0x1e8], al
call fcn.004011fd
mov ecx, eax
call fcn.004012a9
lea eax, [esp + 0x1c8]
push eax
push eax
push 0x100
push str.wWinMain
push 0
call fcn.00415c43
add esp, 0x14
lea ecx, [esp + 0x1c8]
call fcn.00402561
lea ecx, [esp + 0x220]
call fcn.004025ed
lea ecx, [esp + 0x88]
call fcn.00404d2f
lea ecx, [esp + 0x1fc]
call fcn.0040667f
lea ecx, [esp + 0x1e4]
call fcn.00402561
lea ecx, [esp + 0x238]
call fcn.004025ed
jmp 0x402379
xor eax, eax
mov dword [esp + 0x1d8], ebx
push str.Another_installer_instance_is_already_running.
lea ecx, [esp + 0x1cc]
mov dword [esp + 0x1e0], esi
mov word [esp + 0x1cc], ax
mov byte [esp + 0x1e4], bl
call fcn.004011fd
lea eax, [esp + 0x1c8]
mov edi, str.wWinMain
push eax
push eax
push 0xad
push edi
push ebx
call fcn.00415c43
add esp, 0x14
lea ecx, [esp + 0x1c8]
call fcn.00402561
xor eax, eax
mov dword [esp + 0x1dc], esi
mov esi, dword [section.SHARED]
lea ecx, [esp + 0x1c8]
push str.Master_installer_process_id:
mov dword [esp + 0x1dc], ebx
mov word [esp + 0x1cc], ax
mov byte [esp + 0x1e4], bl
call fcn.004011fd
push esi
mov ecx, eax
call fcn.004012f9
lea eax, [esp + 0x1c8]
push eax
push eax
push 0xae
push edi
push ebx
call fcn.00415c43
add esp, 0x14
lea ecx, [esp + 0x1c8]
call fcn.00402561
mov eax, dword [section.SHARED]
test eax, eax
jne 0x402368
call fcn.0040d5e9
jmp 0x402374
push eax
push 0x40c000
call dword [sym.imp.USER32.dll_EnumWindows]
mov ebx, 0x258
cmp byte [esp + 0x12], 0
mov esi, dword [esp + 0x18]
je 0x40238b
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test esi, esi
je 0x402396
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x34]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
and dword [esp + 0x34], 0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
jmp 0x40240f
xor eax, eax
mov dword [esp + 0x1d8], ebx
push str.Exiting__because_of_insecure_environment.
lea ecx, [esp + 0x1cc]
mov dword [esp + 0x1e0], 7
mov word [esp + 0x1cc], ax
mov byte [esp + 0x1e4], bl
call fcn.004011fd
lea eax, [esp + 0x1c8]
push eax
push eax
push 0x8f
push str.wWinMain
push ebx
call fcn.00415c43
add esp, 0x14
lea ecx, [esp + 0x1c8]
call fcn.00402561
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x39c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00429462
mov esp, ebp
pop ebp
ret 0x10