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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb0
mov eax, dword [0x5114a8]
xor eax, esp
mov dword [esp + 0xac], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0xffffffffffffffff
call fcn.00460cb0
or eax, 0x20
add esp, 4
push eax
call fcn.00460cb0
add esp, 4
push esi
call dword [sym.imp.LibDui.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetInstance_struct_HINSTANCE____]
add esp, 4
call fcn.00401230
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x401719
push str.Soft_LeiBaoJsq
push 1
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4014d8
mov esi, 1
test edi, edi
je 0x4014e3
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test esi, esi
je 0x401563
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
push 0
push str.BackHome_main
call esi
push 0
push str.BackHome_login
mov edi, eax
call esi
test eax, eax
je 0x401530
push 0
push 0xf120
push 0x112
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.0045ef20
mov esp, ebp
pop ebp
ret 0x10
test edi, edi
je 0x401719
push 0
push 0xf120
push 0x112
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.0045ef20
mov esp, ebp
pop ebp
ret 0x10
push str.d3d9.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
test eax, eax
jne 0x401588
push 0x30
push 0x4f408c
push 0x4f4098
push 0
call edi
push 0x9b
push str..App.cpp
push 1
push 8
call fcn.00461a60
add esp, 0x10
test eax, eax
je 0x4015b3
mov dword [eax], vtable.CCommon.0
mov dword [eax + 4], 0
mov esi, eax
jmp 0x4015b5
xor esi, esi
mov dword [0x51a968], esi
test esi, esi
je 0x401719
cmp dword [esi + 4], 0
jne 0x401602
push str.common.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 4], eax
test eax, eax
jne 0x401602
push 0x30
push 0x4f408c
push 0x4f40dc
push eax
call edi
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.0045ef20
mov esp, ebp
pop ebp
ret 0x10
sub esp, 0x84
mov esi, esp
mov dword [esp + 0x90], esp
call fcn.004010b0
call fcn.00425f30
lea eax, [esp + 0x94]
add esp, 0x84
push eax
call fcn.00401170
add esp, 4
mov ecx, eax
call dword [sym.imp.LibDui.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
push eax
lea ecx, [esp + 0x98]
call fcn.00453f90
add esp, 4
lea ecx, [esp + 0x10]
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
cmp dword [esp + 0xb0], 0x10
mov eax, dword [esp + 0x9c]
jae 0x40166b
lea eax, [esp + 0x9c]
push eax
call fcn.004619b0
add esp, 4
push 0xaa
push str..App.cpp
push 1
push 0x1df8
call fcn.00461a60
add esp, 0x10
test eax, eax
je 0x401699
push eax
call fcn.0040d530
jmp 0x40169b
xor eax, eax
mov dword [0x51a96c], eax
test eax, eax
je 0x40170d
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0
push 0x10
push 0x96c80000
push str.hpysoft
push 0
mov ecx, eax
call dword [sym.imp.LibDui.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____]
mov ecx, dword [0x51a96c]
push 0x71
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CWindowWnd::SetIcon_unsigned_int_]
mov ecx, dword [0x51a96c]
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CWindowWnd::CenterWindow_void_]
mov ecx, dword [0x51a96c]
push 5
call dword [sym.imp.LibDui.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.LibDui.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::MessageLoop_void_]
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.00461730
lea ecx, [esp + 0x94]
call fcn.00401740
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.0045ef20
mov esp, ebp
pop ebp
ret 0x10