Function at 0x42bc50
Capabilities:
Check mutex on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov ecx, 0x51cd32
call fcn.004c108d
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0xc]
call fcn.00407470
lea ecx, [ebp - 0x64]
call fcn.004294d0
call fcn.0042bbc0
movzx ecx, al
test ecx, ecx
je 0x42bc9f
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x64]
call fcn.004296d0
lea ecx, [ebp - 0xc]
call fcn.00407d20
mov eax, dword [ebp - 0x20]
jmp 0x42bf77
call fcn.0040d620
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x14]
call fcn.00407470
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00417360
add esp, 8
lea ecx, [ebp - 0x14]
call fcn.00407d20
push str.GCMainWnd
lea ecx, [ebp - 4]
call fcn.00407470
movzx edx, byte [ebp - 0x63]
test edx, edx
jne 0x42bde6
movzx eax, byte [ebp - 0x5d]
test eax, eax
jne 0x42bda9
lea ecx, [ebp - 4]
push ecx
push 0x4f1eb4
lea edx, [ebp - 0x24]
push edx
call fcn.004082d0
add esp, 0xc
mov ecx, eax
call fcn.00408170
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x24]
call fcn.00407d20
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x42bd32
cmp dword [ebp - 0x28], 0
jne 0x42bda7
lea ecx, [ebp - 4]
call fcn.00408170
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42bd80
movzx eax, byte [ebp - 0x62]
test eax, eax
jne 0x42bd80
push 0
push 0xf020
push 0x112
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0xf120
push 0x112
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 4]
call fcn.00407d20
lea ecx, [ebp - 0x64]
call fcn.004296d0
lea ecx, [ebp - 0xc]
call fcn.00407d20
mov eax, dword [ebp - 0x2c]
jmp 0x42bf77
jmp 0x42bde6
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 4]
push eax
push str.Global_
lea ecx, [ebp - 0x30]
push ecx
call fcn.004082d0
add esp, 0xc
mov ecx, eax
call fcn.00408170
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x30]
call fcn.00407d20
movzx edx, byte [ebp - 0x64]
test edx, edx
jne 0x42be02
movzx eax, byte [ebp - 0x5d]
test eax, eax
jne 0x42be02
lea ecx, [ebp - 0x64]
push ecx
call fcn.00417630
add esp, 4
movzx edx, byte [ebp - 0x63]
test edx, edx
jne 0x42be54
movzx eax, byte [ebp - 0x62]
test eax, eax
jne 0x42be54
movzx ecx, byte [ebp - 0x5d]
test ecx, ecx
jne 0x42be54
lea edx, [ebp - 0x64]
push edx
call fcn.004183e0
add esp, 4
movzx eax, al
test eax, eax
jne 0x42be54
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 4]
call fcn.00407d20
lea ecx, [ebp - 0x64]
call fcn.004296d0
lea ecx, [ebp - 0xc]
call fcn.00407d20
mov eax, dword [ebp - 0x34]
jmp 0x42bf77
mov ecx, dword [ebp + 8]
push ecx
call fcn.00439810
add esp, 4
call fcn.0042bb10
lea ecx, [ebp - 0x54]
call fcn.0042dd40
push 2
lea ecx, [ebp - 0x54]
call fcn.0042e230
push 0x7e0
call fcn.004c10e2
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42be9e
lea edx, [ebp - 0x64]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00429230
mov dword [ebp - 0x1c], eax
jmp 0x42bea5
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 8], ecx
movzx edx, byte [ebp - 0x62]
test edx, edx
jne 0x42bf24
push 0
push 0
push 0
push 0
push 0xfffffc18
push 0
push 0x96ca0000
lea ecx, [ebp - 4]
call fcn.00408170
push eax
push 0
mov ecx, dword [ebp - 8]
call fcn.0043aa10
push 0x6b
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
push 1
push 0x80
mov ecx, dword [ebp - 8]
call fcn.0042cf20
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 8]
call fcn.0043a810
push 5
mov ecx, dword [ebp - 8]
call fcn.0042cf20
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42bf50
mov ecx, dword [ebp - 8]
call fcn.0042a270
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 4]
call fcn.00407d20
lea ecx, [ebp - 0x64]
call fcn.004296d0
lea ecx, [ebp - 0xc]
call fcn.00407d20
mov eax, dword [ebp - 0x40]
jmp 0x42bf77
call fcn.00436680
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 4]
call fcn.00407d20
lea ecx, [ebp - 0x64]
call fcn.004296d0
lea ecx, [ebp - 0xc]
call fcn.00407d20
mov eax, dword [ebp - 0x44]
mov esp, ebp
pop ebp
ret 0x10