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

Disassembly:
push 0xc4
mov eax, 0x56808d
call fcn.0054ad73
mov ebx, ecx
mov dword [ebp - 0xcc], ebx
call fcn.0041e4a9
push 0x5a9038
mov ecx, ebx
call fcn.0041d929
push 0
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.00428554
mov edi, eax
mov dword [ebp - 0xd0], edi
test edi, edi
je 0x4054e0
lea ecx, [ebp - 0xc8]
call fcn.00402934
and dword [ebp - 4], 0
lea ecx, [ebp - 0xc8]
push 0x65
call fcn.00404976
mov esi, dword [ebp - 0xc8]
xor ecx, ecx
lea eax, [esi - 0x10]
mov dword [ebp - 0xc8], eax
cmp dword [eax + 4], ecx
je 0x4054d5
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.0040235c
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 0x405532
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40582c
xor eax, eax
lea ecx, [ebx + 0x480]
push eax
mov word [ebx + 0xdc], ax
mov byte [ebx + 0xde], al
call fcn.0041d97b
lea ecx, [ebx + 0x600]
push 0
call fcn.0041d97b
lea ecx, [ebx + 0x500]
push 0
call fcn.0041d97b
lea ecx, [ebx + 0x580]
push 0
call fcn.0041d97b
lea ecx, [ebx + 0x128]
push 0
call fcn.0041d97b
lea ecx, [ebx + 0x688]
push 0
call fcn.0041d97b
push 1
push 0xfbfbfb
mov ecx, ebx
call fcn.00427a6c
movaps xmm0, xmmword [0x5a9570]
lea edi, [ebp - 0x30]
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0x64
xor eax, eax
mov dword [ebp - 0x34], eax
mov esi, 0x5a9090
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.004064d2
test edi, edi
jne 0x4055f0
xor eax, eax
jmp 0x4055f3
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 0x40560e
xor eax, eax
jmp 0x405611
mov eax, dword [edi + 4]
push 1
push eax
push 0x30
push dword [ebx + 0x5a0]
call esi
movaps xmm0, xmmword [0x5a9580]
lea edi, [ebp - 0x6c]
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x78], 0x64
xor eax, eax
mov dword [ebp - 0x70], eax
mov esi, 0x5a9090
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.004064d2
test esi, esi
jne 0x405678
xor eax, eax
jmp 0x40567b
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 [0x5a9590]
lea edi, [ebp - 0xa8]
movups xmmword [ebp - 0xc4], xmm0
mov dword [ebp - 0xb4], 0x64
xor eax, eax
mov dword [ebp - 0xac], eax
mov esi, 0x5a9090
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.004064d2
test esi, esi
jne 0x4056f5
xor eax, eax
jmp 0x4056f8
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.0040336d
lea eax, [ebx + 0x1a8]
mov ecx, 0x87
push eax
call fcn.0040336d
lea eax, [ebx + 0x680]
mov ecx, 0x8a
push eax
call fcn.0040336d
lea eax, [ebx + 0x708]
mov ecx, 0x88
push eax
call fcn.0040336d
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.0041d529
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.00404932
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.0040514b
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.004059aa
push 0x5a90a0
lea ecx, [ebp - 0xc8]
call fcn.004049ab
lea ecx, [ebp - 0xc8]
mov dword [ebp - 4], 1
push ecx
mov ecx, ebx
call fcn.004059ed
mov ecx, dword [ebp - 0xc8]
add ecx, 0xfffffff0
call fcn.0040235c
xor eax, eax
inc eax
call fcn.0054ad1d
ret
push 0
push 0
push 0x5a9060
call fcn.004156ba
push 0xffffffffffffffff
call fcn.00552314
int3