Function at 0x4d7e10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58d530
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x603320]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [sym.imp.dnutility.dll_void___cdecl_utility_log_char_const___int__wchar_t_const__]
push str.player__create_root_window...
push 0x176
push str.CPlayerImpl::_createMainFrame
call ebx
add esp, 0xc
push 0x728
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], 0
test eax, eax
je 0x4d7e9f
test edi, edi
je 0x4d7e8d
push dword [edi + 0x190]
lea ecx, [edi + 4]
push ecx
mov ecx, eax
call fcn.004e17e0
jmp 0x4d7ea1
push dword [edi + 0x190]
xor ecx, ecx
push ecx
mov ecx, eax
call fcn.004e17e0
jmp 0x4d7ea1
xor eax, eax
mov dword [esp + 0x28], 0xffffffff
mov esi, 0x86030000
mov dword [edi + 0x194], eax
call dword [sym.imp.dnutility.dll_public:_static_bool___cdecl_utility::usystem::greaterVista_void_]
test al, al
mov ecx, 0x860f0000
push 0x10
cmove esi, ecx
mov ecx, dword [edi + 0x194]
push esi
push 0
push 0
call fcn.00537f10
mov ecx, dword [edi + 0x194]
push 0x68
call fcn.00538460
push str.init_tray_icon
push 0x17f
push str.CPlayerImpl::_createMainFrame
call ebx
add esp, 0xc
push 0x40
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], 1
test eax, eax
je 0x4d7f1f
lea ecx, [edi + 4]
push ecx
mov ecx, eax
call fcn.00503e30
jmp 0x4d7f21
xor eax, eax
mov dword [esp + 0x28], 0xffffffff
mov ecx, dword [edi + 0x194]
mov dword [edi + 0x198], eax
call fcn.004e3170
push str.show_root_window
push 0x183
push str.CPlayerImpl::_createMainFrame
call ebx
mov eax, dword [edi + 0x198]
add esp, 0xc
mov ecx, dword [edi + 0x194]
mov dword [esp + 0x18], eax
call fcn.0052dd20
movzx ecx, byte [edi + 0x171]
lea esi, [edi + 0x10]
push ecx
push 0
push str.showMainFrame__force___d__showFlag___d
push 0x12b
push str.CCmdLineMgr::showMainFrame
mov dword [esp + 0x28], eax
call ebx
add esp, 0x14
cmp byte [esi + 0x161], 0
je 0x4d7fb4
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00504100
mov ebx, dword [esp + 0x14]
push 1
push ebx
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
push ebx
call dword [sym.imp.dnutility.dll_public:_static_void___cdecl_utility::usystem::showWndOnTop_struct_HWND____]
add esp, 4
jmp 0x4d7fd5
push str.mainframe_hide
push 0x13e
push str.CCmdLineMgr::showMainFrame
call ebx
mov ebx, dword [esp + 0x20]
add esp, 0xc
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4d7ff1
mov edx, dword [ecx]
cmp ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi], 0x5c0da8
mov dword [esi + 4], edi
mov dword [esi + 0x10], esi
lea esi, [edi + 0x28]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4d801c
mov edx, dword [ecx]
cmp ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi], 0x5c0d88
mov dword [esi + 4], edi
mov dword [esi + 0x10], esi
lea esi, [edi + 0x70]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4d8047
mov edx, dword [ecx]
cmp ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi], 0x5c0d68
mov dword [esi + 4], edi
mov dword [esi + 0x10], esi
lea esi, [edi + 0x40]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4d8072
mov edx, dword [ecx]
cmp ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi], 0x5c0d48
mov dword [esi + 4], edi
mov dword [esi + 0x10], esi
lea esi, [edi + 0x58]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4d809d
mov edx, dword [ecx]
cmp ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esi + 0x10], 0
push 7
mov dword [esi], 0x5c0d28
lea ecx, [edi + 0x158]
mov dword [esi + 4], edi
push str.install
mov dword [esi + 0x10], esi
push dword [ecx + 0x10]
push ecx
call fcn.0040d2c0
test eax, eax
je 0x4d80d2
mov ecx, dword [0x61e5bc]
call fcn.004b2dc0
test al, al
je 0x4d8112
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x5a9f50
call fcn.0040de10
sub esp, 0x18
mov dword [esp + 0x58], 2
mov ecx, esp
push str.AndroidStartFirst
call fcn.0040de10
mov ecx, dword [edi + 0x190]
mov eax, dword [ecx]
mov dword [esp + 0x58], 0xffffffff
call dword [eax + 0xa8]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret