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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
push ebx
push esi
push edi
push str._game_shell_
lea ecx, [esp + 0xb4]
call fcn.00405142
xor eax, eax
mov dword [esp + 0x40], 7
xor ebx, ebx
mov word [esp + 0x2c], ax
lea edx, [esp + 0xb0]
mov dword [esp + 0x3c], ebx
lea ecx, [esp + 0x2c]
call fcn.0040287b
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
xor edi, edi
push eax
inc edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x404055
push ebx
lea eax, [esp + 0x48]
mov dword [esp + 0x4c], ebx
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x54], ebx
push eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x50], edi
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov edi, dword [ebp + 8]
lea eax, [esp + 0x6c]
xorps xmm0, xmm0
mov dword [esp + 0x6c], ebx
mov ebx, 0x442414
movlpd qword [esp + 0x74], xmm0
push eax
movlpd qword [esp + 0x84], xmm0
movlpd qword [esp + 0x8c], xmm0
mov dword [esp + 0x74], 0x40468c
mov dword [esp + 0x80], edi
mov dword [esp + 0x94], ebx
call dword [sym.imp.USER32.dll_RegisterClassW]
xor ecx, ecx
mov eax, 0x80000000
push ecx
push edi
push ecx
push ecx
push 0x217
push 0x320
push eax
push eax
push 0xc80000
push 0x441fb4
push ebx
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x40
mov ebx, eax
call fcn.0040b301
pop ecx
mov ecx, eax
call fcn.004031ea
mov dword [0x44ad90], eax
test ebx, ebx
je 0x404008
push 0xac
call fcn.0040b301
push ebx
mov ecx, eax
call fcn.004033eb
push 0x18
mov dword [0x44ad8c], eax
call fcn.0040b301
mov edx, eax
xor eax, eax
pop ecx
mov ecx, dword [0x44ad90]
mov dword [0x44ad94], edx
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
mov eax, dword [0x44ad8c]
mov dword [edx], ecx
xor ecx, ecx
mov dword [edx + 8], eax
add eax, 0x1c
mov dword [edx + 4], 0x44ad9c
xor edx, edx
mov word [esp + 0x14], cx
lea ecx, [esp + 0x54]
push eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], edx
call fcn.00405604
lea edx, [esp + 0x54]
lea ecx, [esp + 0x14]
call fcn.0040287b
lea ecx, [esp + 0x54]
call fcn.004054d7
cmp dword [esp + 0x28], 8
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x66
push edi
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 0
push 0x80
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp + 0x14]
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x7f00
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x403fee
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
push ebx
lea eax, [esp + 0xa0]
push eax
call edi
test eax, eax
jg 0x403fd2
lea ecx, [esp + 0x14]
call fcn.0040545b
call fcn.0040349a
mov ecx, dword [0x44ad94]
test ecx, ecx
je 0x40401d
push ecx
call fcn.00404075
mov ecx, dword [0x44ad8c]
test ecx, ecx
je 0x40402d
push ecx
call fcn.004040da
mov ecx, dword [0x44ad90]
test ecx, ecx
je 0x40403d
push ecx
call fcn.00404139
push dword [esp + 0x10]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x2c]
call fcn.0040545b
lea ecx, [esp + 0xb0]
call fcn.004054d7
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10