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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov ecx, 0x536e57
call fcn.004c6d76
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0xc]
call fcn.00407890
lea ecx, [ebp - 0x64]
call fcn.0042a9c0
call fcn.0042d0b0
movzx ecx, al
test ecx, ecx
je 0x42d18f
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x64]
call fcn.0042abc0
lea ecx, [ebp - 0xc]
call fcn.00408170
mov eax, dword [ebp - 0x20]
jmp 0x42d46b
call fcn.0040d190
mov byte [ebp - 0x5e], 1
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x14]
call fcn.00407890
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00418800
add esp, 8
lea ecx, [ebp - 0x14]
call fcn.00408170
push str.GCMainWnd
lea ecx, [ebp - 4]
call fcn.00407890
movzx edx, byte [ebp - 0x63]
test edx, edx
jne 0x42d2da
movzx eax, byte [ebp - 0x5d]
test eax, eax
jne 0x42d29d
lea ecx, [ebp - 4]
push ecx
push 0x502444
lea edx, [ebp - 0x24]
push edx
call fcn.00408720
add esp, 0xc
mov ecx, eax
call fcn.004085c0
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x24]
call fcn.00408170
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x42d226
cmp dword [ebp - 0x28], 0
jne 0x42d29b
lea ecx, [ebp - 4]
call fcn.004085c0
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42d274
movzx eax, byte [ebp - 0x62]
test eax, eax
jne 0x42d274
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.00408170
lea ecx, [ebp - 0x64]
call fcn.0042abc0
lea ecx, [ebp - 0xc]
call fcn.00408170
mov eax, dword [ebp - 0x2c]
jmp 0x42d46b
jmp 0x42d2da
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.00408720
add esp, 0xc
mov ecx, eax
call fcn.004085c0
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x30]
call fcn.00408170
movzx edx, byte [ebp - 0x64]
test edx, edx
jne 0x42d2f6
movzx eax, byte [ebp - 0x5d]
test eax, eax
jne 0x42d2f6
lea ecx, [ebp - 0x64]
push ecx
call fcn.00418ad0
add esp, 4
movzx edx, byte [ebp - 0x63]
test edx, edx
jne 0x42d348
movzx eax, byte [ebp - 0x62]
test eax, eax
jne 0x42d348
movzx ecx, byte [ebp - 0x5d]
test ecx, ecx
jne 0x42d348
lea edx, [ebp - 0x64]
push edx
call fcn.00419880
add esp, 4
movzx eax, al
test eax, eax
jne 0x42d348
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 4]
call fcn.00408170
lea ecx, [ebp - 0x64]
call fcn.0042abc0
lea ecx, [ebp - 0xc]
call fcn.00408170
mov eax, dword [ebp - 0x34]
jmp 0x42d46b
mov ecx, dword [ebp + 8]
push ecx
call fcn.0047e35f
add esp, 4
call fcn.0042d000
lea ecx, [ebp - 0x54]
call fcn.00477979
push 2
lea ecx, [ebp - 0x54]
call fcn.00477c4c
push 0x7e0
call fcn.004c6dcb
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42d392
lea edx, [ebp - 0x64]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.0042a720
mov dword [ebp - 0x1c], eax
jmp 0x42d399
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 0x42d418
push 0
push 0
push 0
push 0
push 0xfffffc18
push 0
push 0x96ca0000
lea ecx, [ebp - 4]
call fcn.004085c0
push eax
push 0
mov ecx, dword [ebp - 8]
call fcn.0047ed4e
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.00477274
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 8]
call fcn.0047ebf8
push 5
mov ecx, dword [ebp - 8]
call fcn.00477274
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42d444
mov ecx, dword [ebp - 8]
call fcn.0042b760
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 4]
call fcn.00408170
lea ecx, [ebp - 0x64]
call fcn.0042abc0
lea ecx, [ebp - 0xc]
call fcn.00408170
mov eax, dword [ebp - 0x40]
jmp 0x42d46b
call fcn.0047c440
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 4]
call fcn.00408170
lea ecx, [ebp - 0x64]
call fcn.0042abc0
lea ecx, [ebp - 0xc]
call fcn.00408170
mov eax, dword [ebp - 0x44]
mov esp, ebp
pop ebp
ret 0x10