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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov ecx, 0x4d5d35
call fcn.0047b83a
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0xc]
call fcn.004067e0
lea ecx, [ebp - 0x64]
call fcn.004280a0
call fcn.0042a7c0
movzx ecx, al
test ecx, ecx
je 0x42a89f
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x64]
call fcn.004282b0
lea ecx, [ebp - 0xc]
call fcn.00407090
mov eax, dword [ebp - 0x20]
jmp 0x42ab5b
call fcn.0040ce80
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x14]
call fcn.004067e0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.004162a0
add esp, 8
lea ecx, [ebp - 0x14]
call fcn.00407090
push str.GCMainWnd
lea ecx, [ebp - 4]
call fcn.004067e0
movzx edx, byte [ebp - 0x63]
test edx, edx
jne 0x42a9e6
movzx eax, byte [ebp - 0x5d]
test eax, eax
jne 0x42a9a9
lea ecx, [ebp - 4]
push ecx
push 0x4abea4
lea edx, [ebp - 0x24]
push edx
call fcn.00407640
add esp, 0xc
mov ecx, eax
call fcn.004074e0
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x24]
call fcn.00407090
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x42a932
cmp dword [ebp - 0x28], 0
jne 0x42a9a7
lea ecx, [ebp - 4]
call fcn.004074e0
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42a980
movzx eax, byte [ebp - 0x62]
test eax, eax
jne 0x42a980
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.00407090
lea ecx, [ebp - 0x64]
call fcn.004282b0
lea ecx, [ebp - 0xc]
call fcn.00407090
mov eax, dword [ebp - 0x2c]
jmp 0x42ab5b
jmp 0x42a9e6
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.00407640
add esp, 0xc
mov ecx, eax
call fcn.004074e0
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x30]
call fcn.00407090
movzx edx, byte [ebp - 0x63]
test edx, edx
jne 0x42aa38
movzx eax, byte [ebp - 0x62]
test eax, eax
jne 0x42aa38
movzx ecx, byte [ebp - 0x5d]
test ecx, ecx
jne 0x42aa38
lea edx, [ebp - 0x64]
push edx
call fcn.00417190
add esp, 4
movzx eax, al
test eax, eax
jne 0x42aa38
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 4]
call fcn.00407090
lea ecx, [ebp - 0x64]
call fcn.004282b0
lea ecx, [ebp - 0xc]
call fcn.00407090
mov eax, dword [ebp - 0x34]
jmp 0x42ab5b
mov ecx, dword [ebp + 8]
push ecx
call fcn.004324ae
add esp, 4
call fcn.0042a710
lea ecx, [ebp - 0x54]
call fcn.0042ba84
push 2
lea ecx, [ebp - 0x54]
call fcn.0042bd57
push 0x7e0
call fcn.0047b88f
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42aa82
lea edx, [ebp - 0x64]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00427dd0
mov dword [ebp - 0x1c], eax
jmp 0x42aa89
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 0x42ab08
push 0
push 0
push 0
push 0
push 0xfffffc18
push 0
push 0x96ca0000
lea ecx, [ebp - 4]
call fcn.004074e0
push eax
push 0
mov ecx, dword [ebp - 8]
call fcn.00432f3b
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.0042b346
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 8]
call fcn.00432de5
push 5
mov ecx, dword [ebp - 8]
call fcn.0042b346
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42ab34
mov ecx, dword [ebp - 8]
call fcn.00428e50
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 4]
call fcn.00407090
lea ecx, [ebp - 0x64]
call fcn.004282b0
lea ecx, [ebp - 0xc]
call fcn.00407090
mov eax, dword [ebp - 0x40]
jmp 0x42ab5b
call fcn.0043054d
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 4]
call fcn.00407090
lea ecx, [ebp - 0x64]
call fcn.004282b0
lea ecx, [ebp - 0xc]
call fcn.00407090
mov eax, dword [ebp - 0x44]
mov esp, ebp
pop ebp
ret 0x10