Function at 0x418900
Capabilities:
Check mutex on windows
Extract resource via kernel32 functions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8e4
mov eax, dword [0x4c0760]
xor eax, esp
mov dword [esp + 0x8e0], eax
push ebx
push esi
push edi
push 5
xor eax, eax
mov dword [esp + 0x28], 7
push str.APPID
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.0040e3a0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.0041b750
mov ecx, eax
call fcn.0041b9e0
cmp dword [esp + 0x24], 8
jb 0x418970
push dword [esp + 0x10]
call fcn.0046080a
add esp, 4
cmp dword [esp + 0x9c], 8
lea eax, [esp + 0x88]
cmovae eax, dword [esp + 0x88]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
je 0x418dfe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x418dfe
push 0x4aac48
lea ecx, [esp + 0x2c]
call fcn.0040e040
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.0041b750
mov ecx, eax
call fcn.0041b9e0
push eax
push str.InstallAssist
lea ecx, [esp + 0x18]
call fcn.0040e040
mov edx, eax
lea ecx, [esp + 0x44]
call fcn.004107f0
add esp, 4
lea eax, [esp + 0x40]
mov ecx, 0x4c16cc
push 0xffffffffffffffff
push 0
push eax
call fcn.0040e1b0
cmp dword [esp + 0x54], 8
jb 0x418a12
push dword [esp + 0x40]
call fcn.0046080a
add esp, 4
xor eax, eax
mov dword [esp + 0x54], 7
cmp dword [esp + 0x24], 8
mov dword [esp + 0x50], 0
mov word [esp + 0x40], ax
jb 0x418a3c
push dword [esp + 0x10]
call fcn.0046080a
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
cmp dword [esp + 0x70], 8
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
jb 0x418a66
push dword [esp + 0x5c]
call fcn.0046080a
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
cmp dword [esp + 0x3c], 8
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
jb 0x418a90
push dword [esp + 0x28]
call fcn.0046080a
add esp, 4
call fcn.0041f9f0
lea ecx, [esp + 0x28]
mov dword [0x4c7560], eax
call fcn.0041f630
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x418aad
mov edx, dword [edx]
cmp word [edx], 0
jne 0x418ab7
xor ecx, ecx
jmp 0x418acf
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418ac0
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x4c16b4
call fcn.0040e3a0
cmp dword [esp + 0x3c], 8
jb 0x418aee
push dword [esp + 0x28]
call fcn.0046080a
add esp, 4
push 0x41e400
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 2
push 0
call fcn.0046230a
push 0x41e7a0
call fcn.00462504
add esp, 0xc
push 0x41e7a0
call fcn.004607e5
add esp, 4
call fcn.0041e720
call fcn.0041b130
mov edi, dword [0x4c7560]
mov ebx, dword [eax]
lea esi, [edi + 4]
test esi, esi
je 0x418b3c
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [edi], ebx
test esi, esi
je 0x418b49
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x418b73
push str.SetProcessDPIAware
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x418b6c
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x418e12
call fcn.00418550
push 0
lea eax, [esp + 0x78]
mov dword [esp + 0x78], 1
push eax
lea eax, [esp + 0x8c]
mov dword [esp + 0x80], 0
push eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
call fcn.00418310
mov eax, dword [ebp + 8]
mov dword [0x4c7594], eax
call fcn.0041b130
cmp byte [eax + 4], 0
je 0x418c6b
push 0
mov esi, 0x82
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 0xb40
mov ecx, 0x8a
push 0x4ab1e0
cmovge esi, ecx
movzx eax, si
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x418c6b
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x418c64
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x418c64
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, ebx
mov ecx, eax
call fcn.00421fa8
mov eax, dword [0x4c7560]
test eax, eax
je 0x418c64
push str.successful_to_set_ui_zip_resource
push 2
push 0xee
push str.installer.cpp
push eax
call fcn.0041fb10
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
call fcn.004112f0
cmp byte [eax + 0x2c], 0
jne 0x418d86
push 0x2c8
lea eax, [esp + 0xa4]
push 0
push eax
call fcn.00462c70
add esp, 0xc
lea ecx, [esp + 0xa0]
call fcn.00419a80
push ecx
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0x40000
push 0x10cf0000
push 0
push 0
lea ecx, [esp + 0xc4]
call fcn.004264c4
lea ecx, [esp + 0xa0]
call fcn.0042669f
lea ecx, [esp + 0xa0]
call fcn.0042659e
cmp eax, 1
jne 0x418d64
push 0x2c0
lea eax, [esp + 0x36c]
push 0
push eax
call fcn.00462c70
add esp, 0xc
lea ecx, [esp + 0x368]
call fcn.0040ec90
push ecx
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0x40000
push 0x10cf0000
push 0
push 0
lea ecx, [esp + 0x38c]
call fcn.004264c4
lea ecx, [esp + 0x368]
call fcn.0042669f
lea ecx, [esp + 0x368]
call fcn.0042659e
lea ecx, [esp + 0x368]
cmp eax, 1
je 0x418d75
call fcn.0040ed70
lea ecx, [esp + 0xa0]
call fcn.00419b80
jmp 0x418e12
call fcn.0040ed70
lea ecx, [esp + 0xa0]
call fcn.00419b80
push 0x2bc
lea eax, [esp + 0x62c]
push 0
push eax
call fcn.00462c70
add esp, 0xc
lea ecx, [esp + 0x628]
call fcn.00418fc0
push ecx
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0x40000
push 0x10cf0000
push 0
push 0
lea ecx, [esp + 0x64c]
call fcn.004264c4
lea ecx, [esp + 0x628]
call fcn.0042669f
lea ecx, [esp + 0x628]
call fcn.0042659e
lea ecx, [esp + 0x628]
call fcn.004190a0
jmp 0x418e12
push 0
push 0x4ab198
push 0x4ab1a0
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [esp + 0x9c], 8
jb 0x418e2b
push dword [esp + 0x88]
call fcn.0046080a
add esp, 4
mov ecx, dword [esp + 0x8ec]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045fbcc
mov esp, ebp
pop ebp
ret 0x10