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

Disassembly:
push 0xc4
mov eax, 0x5803bd
call fcn.0054b215
mov ebx, ecx
mov dword [ebp - 0xcc], ebx
call fcn.0041e93c
push 0x5c4280
mov ecx, ebx
call fcn.0041ddbc
push 0
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.004289e2
mov edi, eax
mov dword [ebp - 0xd0], edi
test edi, edi
je 0x4056d3
lea ecx, [ebp - 0xc8]
call fcn.00402a40
and dword [ebp - 4], 0
lea ecx, [ebp - 0xc8]
push 0x65
call fcn.00404b21
mov esi, dword [ebp - 0xc8]
xor ecx, ecx
lea eax, [esi - 0x10]
mov dword [ebp - 0xc8], eax
cmp dword [eax + 4], ecx
je 0x4056c8
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.00402468
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 0x405725
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x405a93
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.0041de0e
lea ecx, [ebx + 0x600]
push 0
call fcn.0041de0e
lea ecx, [ebx + 0x500]
push 0
call fcn.0041de0e
lea ecx, [ebx + 0x580]
push 0
call fcn.0041de0e
lea ecx, [ebx + 0x128]
push 0
call fcn.0041de0e
lea ecx, [ebx + 0x688]
push 0
call fcn.0041de0e
push 1
push 0xfbfbfb
mov ecx, ebx
call fcn.004262b7
movaps xmm0, xmmword [0x5c4310]
lea edi, [ebp - 0x30]
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0x64
xor eax, eax
mov dword [ebp - 0x34], eax
mov esi, 0x5c42d8
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.00406965
test edi, edi
jne 0x4057e9
xor eax, eax
jmp 0x4057ec
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 0x405807
xor eax, eax
jmp 0x40580a
mov eax, dword [edi + 4]
push 1
push eax
push 0x30
push dword [ebx + 0x5a0]
call esi
movaps xmm0, xmmword [0x5c4320]
lea edi, [ebp - 0x6c]
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x78], 0x64
xor eax, eax
mov dword [ebp - 0x70], eax
mov esi, 0x5c42d8
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.00406965
test esi, esi
jne 0x405871
xor eax, eax
jmp 0x405874
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 [0x5c4330]
lea edi, [ebp - 0xa8]
movups xmmword [ebp - 0xc4], xmm0
mov dword [ebp - 0xb4], 0x64
xor eax, eax
mov dword [ebp - 0xac], eax
mov esi, 0x5c42d8
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.00406965
test esi, esi
jne 0x4058ee
xor eax, eax
jmp 0x4058f1
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.00403518
lea eax, [ebx + 0x1a8]
mov ecx, 0x87
push eax
call fcn.00403518
lea eax, [ebx + 0x680]
mov ecx, 0x8a
push eax
call fcn.00403518
lea eax, [ebx + 0x708]
mov ecx, 0x88
push eax
call fcn.00403518
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.0041d9bc
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.00404add
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.0040533e
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.00405c83
push 0x5c42e8
lea ecx, [ebp - 0xcc]
call fcn.00404b56
lea eax, [ebp - 0xcc]
mov dword [ebp - 4], 1
push eax
mov ecx, ebx
call fcn.00405cc6
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xcc]
lea ecx, [ecx - 0x10]
call fcn.00402468
push 8
call fcn.00405f03
pop ecx
mov esi, eax
mov dword [ebp - 0xd0], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x405a82
push 4
call fcn.00405f03
pop ecx
test eax, eax
je 0x405a4f
mov dword [eax], fcn.00402019
jmp 0x405a51
xor eax, eax
mov dword [ebp - 0xc8], eax
lea edx, [ebp - 0xc8]
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.00405d55
cmp dword [ebp - 0xc8], 0
je 0x405a84
push 4
push dword [ebp - 0xc8]
call fcn.0054ae30
pop ecx
pop ecx
jmp 0x405a84
xor esi, esi
xor eax, eax
mov dword [ebx + 0xd4], esi
inc eax
call fcn.0054b1bf
ret
push 0
push 0
push 0x5c42a8
call fcn.00415b4d
push 0xffffffffffffffff
call fcn.00553ec4
int3