Function at 0x431ad0
Capabilities:
Check mutex on windows
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x581af1
mov eax, dword fs:[0]
push eax
sub esp, 0x5c8
push ebx
push esi
push edi
mov eax, dword [0x5eb6e0]
xor eax, esp
push eax
lea eax, [esp + 0x5d8]
mov dword fs:[0], eax
mov esi, ecx
push 0x58c390
call fcn.0046ca6b
mov edi, 1
push edi
call fcn.004722b9
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], 8
mov dword [esp + 0x38], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call fcn.004686e3
xor ebx, ebx
push ebx
call fcn.004746a4
add esp, 4
call fcn.00460c32
call fcn.00437f90
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], edi
call sub.gdiplus.dll_GdiplusStartup
lea ecx, [esp + 0x20]
push ecx
call dword [esp + 0x2c]
lea edx, [esi + 0x1f8]
push edx
mov ecx, esi
call fcn.0046830e
call fcn.00433990
test eax, eax
jne 0x431bbe
push 0x5baf44
mov eax, 0x5f38b8
call fcn.004053d0
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x5d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.00435010
test eax, eax
jne 0x431bf2
push str.lang.ini_Error__r_n
mov eax, 0x5f38b8
call fcn.004053d0
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x5d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edi, [esp + 0x6c]
call fcn.00401eb0
lea eax, [esi + 0xd4]
mov dword [esp + 0x5e0], ebx
push eax
mov ebx, edi
call fcn.00401000
cmp dword [esp + 0x6c], 0
jne 0x431c22
cmp dword [esp + 0x7c], 0
jne 0x431c22
xor edi, edi
jmp 0x431c27
mov edi, 1
push 8
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.00432310
push str.E_PRLGR7.dll
push eax
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x5ec], 1
call fcn.004024e0
add esp, 0xc
mov byte [esp + 0x5e0], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431c78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.InstallNavi.xml
call fcn.00403320
mov byte [esp + 0x5e8], 4
mov eax, dword [esp + 0x9c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x60], esp
mov edi, esp
push eax
call fcn.00403760
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x5f0], 5
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov edi, esp
push eax
call fcn.00403760
add eax, 0x10
mov dword [edi], eax
lea edi, [esi + 0x244]
add esp, 4
mov ecx, edi
mov byte [esp + 0x5f0], 3
call fcn.00403c70
cmp dword [esp + 0xb4], 0
je 0x431cfa
mov dword [esi + 0x250], 1
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx ecx, ax
push 1
lea edx, [esp + 0x5c]
push edx
mov dword [esi + 0x2dc], ecx
xor ebx, ebx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x431d4b
push ebx
push ebx
push 1
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x431d4b
lea ecx, [esp + 0x58]
mov dword [esp + 0x38], 0xc
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], 1
lea ebx, [esp + 0x38]
push str.GlobalInstallNavi.epson.co.jp
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp dword [esi + 0x22c], 0
mov dword [esp + 0x14], eax
jne 0x431e1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x431e1f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.00457553
mov edx, dword [eax + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push edx
call edi
push eax
call fcn.00457553
mov esi, eax
test esi, esi
je 0x431e11
mov ebx, dword [sym.imp.USER32.dll_GetPropW]
mov eax, dword [esi + 0x20]
push str.GlobalInstallNavi.epson.co.jp
push eax
call ebx
test eax, eax
jne 0x431dd8
mov eax, dword [esi + 0x20]
push 2
push eax
call edi
push eax
call fcn.00457553
mov esi, eax
test esi, esi
jne 0x431da7
lea ecx, [esp + 0x10]
call fcn.00403860
jmp 0x431fab
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x431def
push 9
mov ecx, esi
call fcn.0045abb2
mov edx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SetForegroundWindow]
push edx
call edi
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetLastActivePopup]
push eax
call fcn.00457553
mov ecx, dword [eax + 0x20]
push ecx
call edi
lea ecx, [esp + 0x10]
call fcn.00403860
jmp 0x431fab
call fcn.004117a0
test eax, eax
je 0x431e48
push 0
push 0x40004
push str.Sift_to_debug_mode_
call fcn.0045e837
cmp eax, 6
jne 0x431e48
mov dword [esi + 0xcc], 1
push 0xc
call fcn.0045337b
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x5e0], 6
test eax, eax
je 0x431e6d
mov ecx, eax
call fcn.00474bc9
mov ebx, eax
jmp 0x431e6f
xor ebx, ebx
lea edx, [esp + 0xf4]
push edx
mov byte [esp + 0x5e4], 3
call fcn.0043ae20
lea eax, [esp + 0xf4]
mov byte [esp + 0x5e0], 7
mov ecx, eax
mov dword [esi + 0x20], eax
call fcn.0045e2d7
cmp dword [esp + 0x14], 0
je 0x431ede
push str.ReleaseMutex_r_n
mov eax, 0x5f38b8
call fcn.004053d0
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push str.CloseMutexHandle_r_n
mov eax, 0x5f38b8
call fcn.004053d0
mov edx, dword [esp + 0x18]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x20]
push eax
call dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
push ecx
call sub.gdiplus.dll_GdiplusShutdown
test ebx, ebx
je 0x431f12
push str.Delete_Shell_Manager_r_n
mov eax, 0x5f38b8
call fcn.004053d0
mov edx, dword [ebx]
mov eax, dword [edx + 4]
add esp, 4
push 1
mov ecx, ebx
call eax
push str.DestroyInstance_r_n
mov eax, 0x5f38b8
call fcn.004053d0
add esp, 4
push 0
call fcn.0046997d
push str.Return_Exit_Instalnce_r_n
mov eax, 0x5f38b8
call fcn.004053d0
add esp, 4
cmp dword [esi + 0xcc], 0
jne 0x431f4f
call fcn.004117a0
test eax, eax
je 0x431f54
mov eax, 1
mov dword [esi + 0x254], eax
mov eax, edi
call fcn.0040b210
mov dword [esi + 0x2ac], eax
mov eax, edi
call fcn.00403fc0
lea ecx, [esp + 0xf4]
push ecx
mov byte [esp + 0x5e4], 3
call fcn.00431fd0
mov byte [esp + 0x5e0], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x431fab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x6c]
call fcn.00401f50
xor eax, eax
mov ecx, dword [esp + 0x5d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret