Function at 0x40d8b8
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x456ef9
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
push ebx
push esi
push edi
mov eax, dword [0x46f570]
xor eax, esp
push eax
lea eax, [esp + 0x2e0]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 8
mov dword [esp + 0x20], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call fcn.004249dc
xor ebx, ebx
push ebx
call fcn.0042610b
mov ecx, esi
mov dword [esp], str.Local_AppWizard_Generated_Applications
call fcn.00426680
push dword [esi + 0x44]
call dword [sym.imp.Duilib.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetInstance_struct_HINSTANCE____]
pop ecx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.Duilib.dll_public:_static_class_DuiLib::CDuiString___cdecl_DuiLib::CPaintManagerUI::GetInstancePath_void_]
pop ecx
mov ecx, eax
mov dword [esp + 0x2e8], ebx
call dword [sym.imp.Duilib.dll_public:_char_const____thiscall_DuiLib::CDuiString::operator_char_const__void_const]
push eax
call dword [sym.imp.Duilib.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourcePath_char_const__]
pop ecx
or edi, 0xffffffff
lea ecx, [esp + 0x20]
mov dword [esp + 0x2e8], edi
call dword [sym.imp.Duilib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
push ebx
push str.install.zip
call dword [sym.imp.Duilib.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourceZip_char_const___bool_]
pop ecx
pop ecx
call fcn.0040c393
test eax, eax
jne 0x40da60
call fcn.0040c696
test eax, eax
push 0x294
je 0x40d9eb
call fcn.00418f45
mov esi, eax
pop ecx
mov dword [esp + 0x14], esi
cmp esi, ebx
mov dword [esp + 0x2e8], 1
je 0x40d9b2
call fcn.004126e4
mov esi, eax
jmp 0x40d9b4
xor esi, esi
push ebx
mov eax, SysReAllocString
push eax
push eax
push eax
push eax
push pe_nt_image_headers32
push 0x96c80000
push str.SuInstalling
push ebx
mov ecx, esi
mov dword [esp + 0x30c], edi
call dword [sym.imp.Duilib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____char_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x45f144
jmp 0x40da46
call fcn.00418f45
mov esi, eax
pop ecx
mov dword [esp + 0x14], esi
cmp esi, ebx
mov dword [esp + 0x2e8], 2
je 0x40da0f
call fcn.004126e4
mov esi, eax
jmp 0x40da11
xor esi, esi
push ebx
mov eax, SysReAllocString
push eax
push eax
push eax
push eax
push pe_nt_image_headers32
push 0x96c80000
push str.SuInstalling
push ebx
mov ecx, esi
mov dword [esp + 0x30c], edi
call dword [sym.imp.Duilib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____char_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.Please_use_the_administrator_user_to_run_the_installation_program.
call fcn.004017bc
push 1
push esi
call fcn.00412898
mov ecx, esi
call dword [sym.imp.Duilib.dll_public:_unsigned_int___thiscall_DuiLib::CWindowWnd::ShowModal_void_]
jmp 0x40dc87
call fcn.0040d832
test al, al
jne 0x40dadb
call fcn.0040c696
test eax, eax
je 0x40dc87
push 0x294
call fcn.00418f45
mov esi, eax
pop ecx
mov dword [esp + 0x14], esi
cmp esi, ebx
mov dword [esp + 0x2e8], 3
je 0x40da9f
call fcn.004126e4
mov esi, eax
jmp 0x40daa1
xor esi, esi
push ebx
mov eax, SysReAllocString
push eax
push eax
push eax
push eax
push pe_nt_image_headers32
push 0x96c80000
push str.SuInstalling
push ebx
mov ecx, esi
mov dword [esp + 0x30c], edi
call dword [sym.imp.Duilib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____char_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x45f1a4
jmp 0x40da46
call fcn.0040c696
mov dword [esi + 0x758], eax
call fcn.0040d449
test eax, eax
jne 0x40db54
push 0x294
call fcn.00418f45
mov esi, eax
pop ecx
mov dword [esp + 0x14], esi
cmp esi, ebx
mov dword [esp + 0x2e8], 4
je 0x40db18
call fcn.004126e4
mov esi, eax
jmp 0x40db1a
xor esi, esi
push ebx
mov eax, SysReAllocString
push eax
push eax
push eax
push eax
push pe_nt_image_headers32
push 0x96c80000
push str.SuInstalling
push ebx
mov ecx, esi
mov dword [esp + 0x30c], edi
call dword [sym.imp.Duilib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____char_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.Language_information_initialization_failed
jmp 0x40da46
push str.GlobalMUTEXNAME_2A166A41_7BF7_4c45_B0AB_89E669C9FA4B
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
mov dword [esi + 0x768], eax
je 0x40dc87
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40dbef
call fcn.0040c696
test eax, eax
je 0x40dc87
push 0x294
call fcn.00418f45
mov esi, eax
pop ecx
mov dword [esp + 0x14], esi
cmp esi, ebx
mov dword [esp + 0x2e8], 5
je 0x40dbb3
call fcn.004126e4
mov esi, eax
jmp 0x40dbb5
xor esi, esi
push ebx
mov eax, SysReAllocString
push eax
push eax
push eax
push eax
push pe_nt_image_headers32
push 0x96c80000
push str.SuInstalling
push ebx
mov ecx, esi
mov dword [esp + 0x30c], edi
call dword [sym.imp.Duilib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____char_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x45f228
jmp 0x40da46
push str.C:InstallLog
call fcn.0040fb2c
pop ecx
mov ecx, esi
call fcn.0040dc9f
call fcn.0040b9ee
lea eax, [esp + 0x64]
push eax
call fcn.004093ca
push str.Cancel_silent_flag.
push ecx
push 2
mov esi, eax
pop ebx
mov dword [esp + 0x2f0], 6
call fcn.0040b3e1
pop ecx
push eax
call fcn.00409635
pop ecx
pop ecx
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x2ec], edi
call fcn.00409420
lea eax, [esp + 0x1a0]
push eax
call fcn.004093ca
push str.DoInstaller_End.
push ecx
mov esi, eax
mov dword [esp + 0x2f0], 7
call fcn.0040b3e1
pop ecx
push eax
call fcn.00409635
pop ecx
pop ecx
lea eax, [esp + 0x1a0]
push eax
mov dword [esp + 0x2ec], edi
call fcn.00409420
xor eax, eax
mov ecx, dword [esp + 0x2e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret