Function at 0x405a05
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
push 0xc4
mov eax, 0x580452
call fcn.0054b5f9
mov ebx, ecx
mov dword [ebp - 0xcc], ebx
call fcn.0041ed26
push 0x5c4160
mov ecx, ebx
call fcn.0041e1a6
push 0
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.00428dcc
mov edi, eax
mov dword [ebp - 0xd0], edi
test edi, edi
je 0x405aaf
lea ecx, [ebp - 0xc8]
call fcn.00402bda
and dword [ebp - 4], 0
lea ecx, [ebp - 0xc8]
push 0x65
call fcn.00404efd
mov esi, dword [ebp - 0xc8]
xor ecx, ecx
lea eax, [esi - 0x10]
mov dword [ebp - 0xc8], eax
cmp dword [eax + 4], ecx
je 0x405aa4
push ecx
push ecx
push 0x800
push dword [edi + 4]
mov edi, dword [sym.imp.USER32.dll_AppendMenuA]
call edi
mov eax, dword [ebp - 0xd0]
push esi
push 0x10
push 0
push dword [eax + 4]
call edi
mov eax, dword [ebp - 0xc8]
or dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.00402602
push dword [ebx + 0xd0]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, 0x80
push 1
push edi
push dword [ebx + 0x20]
mov byte [ebx + 0xdc], 0
call esi
push dword [ebx + 0xd0]
push 0
push edi
push dword [ebx + 0x20]
call esi
push str.JiSu_Installer_Ysk
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
je 0x405b01
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x405e6f
xor eax, eax
lea ecx, [ebx + 0x480]
push eax
mov dword [ebx + 0xd8], eax
mov word [ebx + 0xdc], ax
mov byte [ebx + 0xde], al
call fcn.0041e1f8
lea ecx, [ebx + 0x600]
push 0
call fcn.0041e1f8
lea ecx, [ebx + 0x500]
push 0
call fcn.0041e1f8
lea ecx, [ebx + 0x580]
push 0
call fcn.0041e1f8
lea ecx, [ebx + 0x128]
push 0
call fcn.0041e1f8
lea ecx, [ebx + 0x688]
push 0
call fcn.0041e1f8
push 1
push 0xfbfbfb
mov ecx, ebx
call fcn.004266a1
movaps xmm0, xmmword [0x5c43a0]
lea edi, [ebp - 0x30]
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0x64
xor eax, eax
mov dword [ebp - 0x34], eax
mov esi, 0x5c41b8
mov dword [ebp - 0x38], 0x1000000
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x27]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x4c]
push eax
lea edi, [ebx + 0x110]
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, edi
call fcn.00406d57
test edi, edi
jne 0x405bc5
xor eax, eax
jmp 0x405bc8
mov eax, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push eax
push 0x30
push dword [ebx + 0x520]
call esi
test edi, edi
jne 0x405be3
xor eax, eax
jmp 0x405be6
mov eax, dword [edi + 4]
push 1
push eax
push 0x30
push dword [ebx + 0x5a0]
call esi
movaps xmm0, xmmword [0x5c43b0]
lea edi, [ebp - 0x6c]
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x78], 0x64
xor eax, eax
mov dword [ebp - 0x70], eax
mov esi, 0x5c41b8
mov dword [ebp - 0x74], 0x1000000
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x63]
stosd dword es:[edi], eax
lea esi, [ebx + 0x118]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, esi
call fcn.00406d57
test esi, esi
jne 0x405c4d
xor eax, eax
jmp 0x405c50
mov eax, dword [esi + 4]
push 1
push eax
push 0x30
push dword [ebx + 0x4a0]
call dword [sym.imp.USER32.dll_SendMessageA]
movaps xmm0, xmmword [0x5c43c0]
lea edi, [ebp - 0xa8]
movups xmmword [ebp - 0xc4], xmm0
mov dword [ebp - 0xb4], 0x64
xor eax, eax
mov dword [ebp - 0xac], eax
mov esi, 0x5c41b8
mov dword [ebp - 0xb0], 0x1000000
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x9f]
stosd dword es:[edi], eax
lea esi, [ebx + 0x120]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xc4]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, esi
call fcn.00406d57
test esi, esi
jne 0x405cca
xor eax, eax
jmp 0x405ccd
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push eax
push 0x30
push dword [ebx + 0x258]
call edi
lea eax, [ebx + 0x230]
mov ecx, 0x89
push eax
call fcn.004038f4
lea eax, [ebx + 0x1a8]
mov ecx, 0x87
push eax
call fcn.004038f4
lea eax, [ebx + 0x680]
mov ecx, 0x8a
push eax
call fcn.004038f4
lea eax, [ebx + 0x708]
mov ecx, 0x88
push eax
call fcn.004038f4
add esp, 0x10
push 0xb6b6b6
push 0
push 0x2001
push dword [ebx + 0x2d8]
call edi
mov esi, dword [ebp - 0xcc]
push 0xfd9245
push 0
push 0x409
push dword [esi + 0x2d8]
call edi
push 0
push 0
push 0x20000
lea ecx, [ebx + 0x2b8]
call fcn.0041dda6
lea edi, [esi + 0x338]
and dword [edi + 0x60], 0
push ecx
push dword [edi + 0x8c]
mov ecx, edi
mov dword [edi + 0x64], 0x64
call fcn.00404eb9
push 1
push 0
push dword [esi + 0x2d8]
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
call esi
push ecx
lea ecx, [ebx + 0x2b8]
call fcn.0040571a
mov ebx, dword [ebp - 0xcc]
xor eax, eax
inc eax
push eax
push 0
mov dword [edi + 0x5c], eax
push dword [ebx + 0x2d8]
call esi
push ecx
mov ecx, ebx
call fcn.00406075
push 0x5c41c8
lea ecx, [ebp - 0xcc]
call fcn.00404f32
lea eax, [ebp - 0xcc]
mov dword [ebp - 4], 1
push eax
mov ecx, ebx
call fcn.004060b8
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xcc]
lea ecx, [ecx - 0x10]
call fcn.00402602
push 8
call fcn.004062f5
pop ecx
mov esi, eax
mov dword [ebp - 0xd0], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x405e5e
push 4
call fcn.004062f5
pop ecx
test eax, eax
je 0x405e2b
mov dword [eax], fcn.0040203c
jmp 0x405e2d
xor eax, eax
mov dword [ebp - 0xc8], eax
lea edx, [ebp - 0xc8]
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.00406147
cmp dword [ebp - 0xc8], 0
je 0x405e60
push 4
push dword [ebp - 0xc8]
call fcn.0054b214
pop ecx
pop ecx
jmp 0x405e60
xor esi, esi
xor eax, eax
mov dword [ebx + 0xd4], esi
inc eax
call fcn.0054b5a3
ret
push 0
push 0
push 0x5c4188
call fcn.00415f37
push 0xffffffffffffffff
call fcn.00553f50
int3